From 9938ec67b18d97182121602a0e0311ee9c248aad Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Mon, 2 Dec 2024 21:59:28 +0100 Subject: [PATCH] Upgrade to v2.4.0. --- ...10a8a053fc6.js => 1033.910a0dc08ce8318d.js | 2 +- 1118.3ab8e4b8552c0171.js | 1 + 1118.b5a4af53a44d7dd6.js | 1 - 1217.3da5b6d542c52398.js | 1 - 1217.c1a65013184f7441.js | 1 + ...d3d726e810e.js => 1536.b496f43a95670730.js | 2 +- ...45c12f6202e.js => 1709.2e5186348c16e379.js | 2 +- 2073.1550887c6e4ed9bc.js | 1 - 2073.e38a9980dd36649f.js | 1 + 2349.0f2f0c16e7c243e7.js | 1 + 2349.5e24a7b190a17a67.js | 1 - ...ff95ab58e61.js => 2773.8e8e2e3b657d9c11.js | 2 +- 2933.b44a82976b2b3c2f.js | 1 + 2933.bce0c7f48482e495.js | 1 - ...0cf2e3464e2.js => 3326.266a5c13af0cb48e.js | 2 +- ...6c75eaab352.js => 3583.b3b4eb40c2ce239a.js | 2 +- 3648.698f4e5be9f133c0.js | 1 + 3648.6faea5eaa70b4f10.js | 1 - ...e937d9b7ced.js => 3804.ab701045223f512e.js | 2 +- ...b665064a31c4.js => 388.49bf6520ed21777d.js | 2 +- ...13b3e8d39b5.js => 4174.a2c2c730c94bf11d.js | 2 +- ...23b956a2e04.js => 4330.b69bca90c7366064.js | 2 +- 4376.2688505d3f070692.js | 1 - 4376.d30652ab150075e8.js | 1 + 438.bb63b63129023b72.js | 1 - 438.f140c2797d5f414d.js | 1 + ...e7a2df0f8b0.js => 4432.1271cd50c95b74b6.js | 2 +- 4711.6ffdcd6a980e7f3a.js | 1 + 4711.9764fdba012c43bf.js | 1 - ...f9be88e8111.js => 4753.fd6e30580f2f0bc8.js | 2 +- ...052845645b4.js => 4908.388fa7d3b6b0b98e.js | 2 +- ...cebd1ca3211.js => 4959.5dc3a9939fe0f324.js | 2 +- ...05297f0daa0.js => 5168.af2b0f08220166b5.js | 2 +- 53.33a7c44905acc703.js | 1 + 53.89e93d4e85a41b7a.js | 1 - ...9566b42eeeb.js => 5349.e28e58b0df6246bc.js | 2 +- 5652.221d55618ffa083a.js | 1 - 5652.7ef16a32cd56ec42.js | 1 + 5733.e0b7596ff3dd7c8d.js | 1 + 5836.14294a00ddc7331d.js | 1 + 5836.9d9177a2f14062f5.js | 1 - 6120.3c95d80ea1c26c15.js | 1 + 6120.bf9e34a35e5b1e95.js | 1 - ...0507ffcc3ff.js => 6560.02dd0a02f1f1e231.js | 2 +- 657.344c8cb4e3aa160e.js | 1 + 657.f376cf1439c08bb6.js | 1 - 7011.4d31bb8ae0bcb818.js | 1 - 7544.54a9193a99de1fd0.js | 1 - 7544.980463cd88be4044.js | 1 + ...441c23607b2.js => 7602.b4f472adcedd22c1.js | 2 +- 8034.221491c6a7f86c6d.js | 1 + 8034.85ee8398add6a750.js | 1 - 8136.28e99921932bfb7b.js | 1 - 8136.3ee745146a680b50.js | 1 + 8628.6891ab7e2db50789.js | 1 - 8628.862cf0bd6211ebd2.js | 1 + ...620c7813872.js => 8939.161cab4e573063c8.js | 2 +- ...689313d929e.js => 9016.5096b518c907d596.js | 2 +- ...31b7e9d76a3.js => 9230.3965478050903c1e.js | 2 +- 9325.6c31291c6f3a6e1f.js | 1 + 9325.d836b747c6cb9521.js | 1 - 9434.7a55c6707979e529.js | 1 + 9434.dfefbe3c4dc4585d.js | 1 - ...7caca7d1ac9.js => 9536.07c8aff388dd8f0f.js | 2 +- ...2121cd5357f.js => 9590.cc09d408e257b2f9.js | 2 +- ...3c9a482d5e9.js => 9654.3029b9c3c7da8863.js | 2 +- ...d02aa886fdb.js => 9824.8beae4328afbc659.js | 2 +- ...a4f5c8feebf.js => 9922.2a34b5d8ec43d5d9.js | 2 +- ...f6bbb62a839.js => 9958.d7c737839985b5f9.js | 2 +- assets/i18n/pt.json | 128 +++++++++++ ...47a885780.js => common.87519601aff3a93a.js | 2 +- index.html | 4 +- main.227f8d170de07f4a.js | 1 + main.ce9293cd76812a2f.js | 1 - ngsw.json | 214 +++++++++--------- runtime.7529eb1f117b8255.js | 1 - runtime.c7152c634304e86f.js | 1 + styles.ff7e220835382aaf.css | 1 + svg/logo-x.svg | 1 + svg/server-outline.svg | 2 +- svg/server-sharp.svg | 2 +- svg/server.svg | 2 +- 82 files changed, 294 insertions(+), 162 deletions(-) rename 1033.167ef10a8a053fc6.js => 1033.910a0dc08ce8318d.js (82%) create mode 100644 1118.3ab8e4b8552c0171.js delete mode 100644 1118.b5a4af53a44d7dd6.js delete mode 100644 1217.3da5b6d542c52398.js create mode 100644 1217.c1a65013184f7441.js rename 1536.02fe8d3d726e810e.js => 1536.b496f43a95670730.js (80%) rename 1709.209a245c12f6202e.js => 1709.2e5186348c16e379.js (99%) delete mode 100644 2073.1550887c6e4ed9bc.js create mode 100644 2073.e38a9980dd36649f.js create mode 100644 2349.0f2f0c16e7c243e7.js delete mode 100644 2349.5e24a7b190a17a67.js rename 2773.a1b20ff95ab58e61.js => 2773.8e8e2e3b657d9c11.js (93%) create mode 100644 2933.b44a82976b2b3c2f.js delete mode 100644 2933.bce0c7f48482e495.js rename 3326.1b9da0cf2e3464e2.js => 3326.266a5c13af0cb48e.js (85%) rename 3583.4ced66c75eaab352.js => 3583.b3b4eb40c2ce239a.js (88%) create mode 100644 3648.698f4e5be9f133c0.js delete mode 100644 3648.6faea5eaa70b4f10.js rename 3804.c8924e937d9b7ced.js => 3804.ab701045223f512e.js (59%) rename 388.4a65b665064a31c4.js => 388.49bf6520ed21777d.js (88%) rename 4174.d738213b3e8d39b5.js => 4174.a2c2c730c94bf11d.js (99%) rename 4330.592c723b956a2e04.js => 4330.b69bca90c7366064.js (85%) delete mode 100644 4376.2688505d3f070692.js create mode 100644 4376.d30652ab150075e8.js delete mode 100644 438.bb63b63129023b72.js create mode 100644 438.f140c2797d5f414d.js rename 4432.67d7fe7a2df0f8b0.js => 4432.1271cd50c95b74b6.js (99%) create mode 100644 4711.6ffdcd6a980e7f3a.js delete mode 100644 4711.9764fdba012c43bf.js rename 4753.0c7c8f9be88e8111.js => 4753.fd6e30580f2f0bc8.js (84%) rename 4908.9cabf052845645b4.js => 4908.388fa7d3b6b0b98e.js (90%) rename 4959.d6984cebd1ca3211.js => 4959.5dc3a9939fe0f324.js (91%) rename 5168.74b5105297f0daa0.js => 5168.af2b0f08220166b5.js (99%) create mode 100644 53.33a7c44905acc703.js delete mode 100644 53.89e93d4e85a41b7a.js rename 5349.d02be9566b42eeeb.js => 5349.e28e58b0df6246bc.js (96%) delete mode 100644 5652.221d55618ffa083a.js create mode 100644 5652.7ef16a32cd56ec42.js create mode 100644 5733.e0b7596ff3dd7c8d.js create mode 100644 5836.14294a00ddc7331d.js delete mode 100644 5836.9d9177a2f14062f5.js create mode 100644 6120.3c95d80ea1c26c15.js delete mode 100644 6120.bf9e34a35e5b1e95.js rename 6560.0b7cb0507ffcc3ff.js => 6560.02dd0a02f1f1e231.js (99%) create mode 100644 657.344c8cb4e3aa160e.js delete mode 100644 657.f376cf1439c08bb6.js delete mode 100644 7011.4d31bb8ae0bcb818.js delete mode 100644 7544.54a9193a99de1fd0.js create mode 100644 7544.980463cd88be4044.js rename 7602.f0ef3441c23607b2.js => 7602.b4f472adcedd22c1.js (88%) create mode 100644 8034.221491c6a7f86c6d.js delete mode 100644 8034.85ee8398add6a750.js delete mode 100644 8136.28e99921932bfb7b.js create mode 100644 8136.3ee745146a680b50.js delete mode 100644 8628.6891ab7e2db50789.js create mode 100644 8628.862cf0bd6211ebd2.js rename 8939.aac6b620c7813872.js => 8939.161cab4e573063c8.js (87%) rename 9016.7a02c689313d929e.js => 9016.5096b518c907d596.js (93%) rename 9230.55b2631b7e9d76a3.js => 9230.3965478050903c1e.js (56%) create mode 100644 9325.6c31291c6f3a6e1f.js delete mode 100644 9325.d836b747c6cb9521.js create mode 100644 9434.7a55c6707979e529.js delete mode 100644 9434.dfefbe3c4dc4585d.js rename 9536.239147caca7d1ac9.js => 9536.07c8aff388dd8f0f.js (95%) rename 4899.470542121cd5357f.js => 9590.cc09d408e257b2f9.js (75%) rename 9654.e8c1c3c9a482d5e9.js => 9654.3029b9c3c7da8863.js (93%) rename 9824.eec6ad02aa886fdb.js => 9824.8beae4328afbc659.js (91%) rename 9922.62563a4f5c8feebf.js => 9922.2a34b5d8ec43d5d9.js (99%) rename 9958.c6588f6bbb62a839.js => 9958.d7c737839985b5f9.js (95%) create mode 100644 assets/i18n/pt.json rename common.76046d847a885780.js => common.87519601aff3a93a.js (99%) create mode 100644 main.227f8d170de07f4a.js delete mode 100644 main.ce9293cd76812a2f.js delete mode 100644 runtime.7529eb1f117b8255.js create mode 100644 runtime.c7152c634304e86f.js create mode 100644 styles.ff7e220835382aaf.css create mode 100644 svg/logo-x.svg diff --git a/1033.167ef10a8a053fc6.js b/1033.910a0dc08ce8318d.js similarity index 82% rename from 1033.167ef10a8a053fc6.js rename to 1033.910a0dc08ce8318d.js index 14675890..ef7471ac 100644 --- a/1033.167ef10a8a053fc6.js +++ b/1033.910a0dc08ce8318d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1033],{1033:(b,s,e)=>{e.r(s),e.d(s,{ion_img:()=>o});var i=e(6541),n=e(8635),r=e(4700);const o=class{constructor(t){(0,i.r)(this,t),this.ionImgWillLoad=(0,i.d)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,i.d)(this,"ionImgDidLoad",7),this.ionError=(0,i.d)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()},this.loadSrc=void 0,this.loadError=void 0,this.alt=void 0,this.src=void 0}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,n.k)(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&(typeof window<"u"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):setTimeout(()=>this.load(),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:a,onLoad:c,loadError:l,inheritedAttributes:g}=this,{draggable:f}=g;return(0,i.h)(i.H,{key:"212cb19b83defa47a677e44659eccc5e7e1bc5a2",class:(0,r.b)(this)},(0,i.h)("img",{key:"975230d5ef5f262c8e5f040eb59cd1033241f3c8",decoding:"async",src:t,alt:a,onLoad:c,onError:l,part:"image",draggable:h(f)}))}get el(){return(0,i.f)(this)}static get watchers(){return{src:["srcChanged"]}}},h=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};o.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1033],{1033:(b,s,e)=>{e.r(s),e.d(s,{ion_img:()=>o});var i=e(2477),n=e(8635),r=e(7943);const o=class{constructor(t){(0,i.r)(this,t),this.ionImgWillLoad=(0,i.d)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,i.d)(this,"ionImgDidLoad",7),this.ionError=(0,i.d)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()},this.loadSrc=void 0,this.loadError=void 0,this.alt=void 0,this.src=void 0}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,n.k)(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&(typeof window<"u"&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):setTimeout(()=>this.load(),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:a,onLoad:c,loadError:l,inheritedAttributes:f}=this,{draggable:g}=f;return(0,i.h)(i.H,{key:"efff4d1bd0e54dbeff140c137eb50b803a9f6f60",class:(0,r.b)(this)},(0,i.h)("img",{key:"3a1e0276ae67a7e40ec8c4ecd0061634573b2094",decoding:"async",src:t,alt:a,onLoad:c,onError:l,part:"image",draggable:h(g)}))}get el(){return(0,i.f)(this)}static get watchers(){return{src:["srcChanged"]}}},h=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};o.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}"}}]); \ No newline at end of file diff --git a/1118.3ab8e4b8552c0171.js b/1118.3ab8e4b8552c0171.js new file mode 100644 index 00000000..7d4c1506 --- /dev/null +++ b/1118.3ab8e4b8552c0171.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1118],{1118:(A,m,l)=>{l.r(m),l.d(m,{ion_alert:()=>_});var u=l(5861),i=l(2477),g=l(7036),f=l(5853),k=l(8635),v=l(7389),h=l(7346),d=l(3814),c=l(7943),a=l(4963);l(1765),l(6319),l(2972),l(5067),l(2889),l(3006);const D=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},I=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},z=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},O=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},_=class{constructor(t){(0,i.r)(this,t),this.didPresent=(0,i.d)(this,"ionAlertDidPresent",7),this.willPresent=(0,i.d)(this,"ionAlertWillPresent",7),this.willDismiss=(0,i.d)(this,"ionAlertWillDismiss",7),this.didDismiss=(0,i.d)(this,"ionAlertDidDismiss",7),this.didPresentShorthand=(0,i.d)(this,"didPresent",7),this.willPresentShorthand=(0,i.d)(this,"willPresent",7),this.willDismissShorthand=(0,i.d)(this,"willDismiss",7),this.didDismissShorthand=(0,i.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,v.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",g.E),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,h.B)},this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.processedButtons.find(s=>"cancel"===s.role);this.callButtonHandler(o)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.header=void 0,this.subHeader=void 0,this.message=void 0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:r}=this;t&&r.addClickListener(e,t)}onKeydown(t){const e=new Set(this.processedInputs.map(p=>p.type));if(e.has("checkbox")&&"Enter"===t.key)return void t.preventDefault();if(!e.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const r=this.el.querySelectorAll(".alert-radio"),o=Array.from(r).filter(p=>!p.disabled),s=o.findIndex(p=>p.id===t.target.id);let n;if(["ArrowDown","ArrowRight"].includes(t.key)&&(n=s===o.length-1?o[0]:o[s+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(n=0===s?o[o.length-1]:o[s-1]),n&&o.includes(n)){const p=this.processedInputs.find(b=>b.id===n?.id);p&&(this.rbClick(p),n.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map(e=>"string"==typeof e?{text:e,role:"cancel"===e.toLowerCase()?"cancel":void 0}:e)}inputsChanged(){const t=this.inputs,e=t.find(n=>!n.disabled),o=t.find(n=>n.checked&&!n.disabled)||e,s=new Set(t.map(n=>n.type));s.has("checkbox")&&s.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(s.values()).join("/")}. Please see alert docs for more info.`),this.inputType=s.values().next().value,this.processedInputs=t.map((n,p)=>{var b;return{type:n.type||"text",name:n.name||`${p}`,placeholder:n.placeholder||"",value:n.value,label:n.label,checked:!!n.checked,disabled:!!n.disabled,id:n.id||`alert-input-${this.overlayIndex}-${p}`,handler:n.handler,min:n.min,max:n.max,cssClass:null!==(b=n.cssClass)&&void 0!==b?b:"",attributes:n.attributes||{},tabindex:"radio"===n.type&&n!==o?-1:0}})}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}componentWillLoad(){(0,h.k)(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&"ios"===(0,c.b)(this)&&this.wrapperEl&&(this.gesture=(0,f.c)(this.wrapperEl,t=>t.classList.contains("alert-button")),this.gesture.enable(!0)),!0===this.isOpen&&(0,k.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,u.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,h.f)(t,"alertEnter",D,z),e()})()}dismiss(t,e){var r=this;return(0,u.Z)(function*(){const o=yield r.lockController.lock(),s=yield(0,h.g)(r,t,e,"alertLeave",I,O);return s&&r.delegateController.removeViewFromDom(),o(),s})()}onDidDismiss(){return(0,h.h)(this.el,"ionAlertDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs)e.checked=e===t,e.tabindex=e===t?0:-1;this.activeId=t.id,(0,h.s)(t.handler,t),(0,i.i)(this)}cbClick(t){t.checked=!t.checked,(0,h.s)(t.handler,t),(0,i.i)(this)}buttonClick(t){var e=this;return(0,u.Z)(function*(){const r=t.role,o=e.getValues();if((0,h.i)(r))return e.dismiss({values:o},r);const s=yield e.callButtonHandler(t,o);return!1!==s&&e.dismiss(Object.assign({values:o},s),t.role)})()}callButtonHandler(t,e){return(0,u.Z)(function*(){if(t?.handler){const r=yield(0,h.s)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}})()}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const e=this.processedInputs.find(r=>!!r.checked);return e?e.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(e=>e.checked).map(e=>e.value);const t={};return this.processedInputs.forEach(e=>{t[e.name]=e.value||""}),t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs,e=(0,c.b)(this);return 0===t.length?null:(0,i.h)("div",{class:"alert-checkbox-group"},t.map(r=>(0,i.h)("button",{type:"button",onClick:()=>this.cbClick(r),"aria-checked":`${r.checked}`,id:r.id,disabled:r.disabled,tabIndex:r.tabindex,role:"checkbox",class:Object.assign(Object.assign({},(0,d.g)(r.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":r.disabled||!1})},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-checkbox-icon"},(0,i.h)("div",{class:"alert-checkbox-inner"})),(0,i.h)("div",{class:"alert-checkbox-label"},r.label)),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderRadio(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map(e=>(0,i.h)("button",{type:"button",onClick:()=>this.rbClick(e),"aria-checked":`${e.checked}`,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},(0,d.g)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-radio-icon"},(0,i.h)("div",{class:"alert-radio-inner"})),(0,i.h)("div",{class:"alert-radio-label"},e.label)))))}renderInput(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-input-group"},t.map(e=>{var r,o,s,n;return(0,i.h)("div",{class:"alert-input-wrapper"},"textarea"===e.type?(0,i.h)("textarea",Object.assign({placeholder:e.placeholder,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(o=null===(r=e.attributes)||void 0===r?void 0:r.disabled)&&void 0!==o?o:e.disabled,class:C(e),onInput:p=>{var b;e.value=p.target.value,null!==(b=e.attributes)&&void 0!==b&&b.onInput&&e.attributes.onInput(p)}})):(0,i.h)("input",Object.assign({placeholder:e.placeholder,type:e.type,min:e.min,max:e.max,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(n=null===(s=e.attributes)||void 0===s?void 0:s.disabled)&&void 0!==n?n:e.disabled,class:C(e),onInput:p=>{var b;e.value=p.target.value,null!==(b=e.attributes)&&void 0!==b&&b.onInput&&e.attributes.onInput(p)}})))}))}renderAlertButtons(){const t=this.processedButtons,e=(0,c.b)(this);return(0,i.h)("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":t.length>2}},t.map(o=>(0,i.h)("button",Object.assign({},o.htmlAttributes,{type:"button",id:o.id,class:j(o),tabIndex:0,onClick:()=>this.buttonClick(o)}),(0,i.h)("span",{class:"alert-button-inner"},o.text),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:r}=this;return e?(0,i.h)("div",{id:t,class:"alert-message",innerHTML:(0,g.a)(r)}):(0,i.h)("div",{id:t,class:"alert-message"},r)}render(){const{overlayIndex:t,header:e,subHeader:r,message:o,htmlAttributes:s}=this,n=(0,c.b)(this),p=`alert-${t}-hdr`,b=`alert-${t}-sub-hdr`,E=`alert-${t}-msg`;return(0,i.h)(i.H,Object.assign({key:"d623baf94bddc6b1932f128f6a605c6232b37fb5",role:this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert","aria-modal":"true","aria-labelledby":e?p:r?b:null,"aria-describedby":void 0!==o?E:null,tabindex:"-1"},s,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},(0,d.g)(this.cssClass)),{[n]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,i.h)("ion-backdrop",{key:"a594ba787a73a33ba10e7a32ca863bd610730cb6",tappable:this.backdropDismiss}),(0,i.h)("div",{key:"c95ef8332f46ce93fb8d3b7f0168ae5b939c52fd",tabindex:"0"}),(0,i.h)("div",{key:"1895ea338a8e446d01c6151552af658e1e1c841d",class:"alert-wrapper ion-overlay-wrapper",ref:B=>this.wrapperEl=B},(0,i.h)("div",{key:"5156393eb8a8f3e60e7d4bce20b0b85196141b0e",class:"alert-head"},e&&(0,i.h)("h2",{key:"72ba8253644adfeeb8472531234d3572af28b473",id:p,class:"alert-title"},e),r&&(0,i.h)("h2",{key:"eb8d2443170fbea182199bb3b3f5446c98f1c17e",id:b,class:"alert-sub-title"},r)),this.renderAlertMessage(E),this.renderAlertInputs(),this.renderAlertButtons()),(0,i.h)("div",{key:"13c6fac1a58574156951ae2dfdd24790c0812e11",tabindex:"0"}))}get el(){return(0,i.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}},C=t=>{var e,r,o;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},(0,d.g)(t.cssClass)),(0,d.g)(t.attributes?null===(o=t.attributes.class)||void 0===o?void 0:o.toString():""))},j=t=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${t.role}`]:void 0!==t.role},(0,d.g)(t.cssClass));_.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.5rem, 66px);height:min(1.5rem, 66px);border-width:0.0625rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.5rem, 66px) / 6);position:absolute;width:calc(min(1.5rem, 66px) / 6 + 1px);height:calc(min(1.5rem, 66px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.0625rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.5rem, 66px) / 3 + 1px)}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios{border-right:none}[dir=rtl].sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}[dir=rtl].sc-ion-alert-ios .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}@supports selector(:dir(rtl)){.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:none}}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}"}},3814:(A,m,l)=>{l.d(m,{c:()=>g,g:()=>k,h:()=>i,o:()=>h});var u=l(5861);const i=(d,c)=>null!==c.closest(d),g=(d,c)=>"string"==typeof d&&d.length>0?Object.assign({"ion-color":!0,[`ion-color-${d}`]:!0},c):c,k=d=>{const c={};return(d=>void 0!==d?(Array.isArray(d)?d:d.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(d).forEach(a=>c[a]=!0),c},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var d=(0,u.Z)(function*(c,a,w,y){if(null!=c&&"#"!==c[0]&&!v.test(c)){const x=document.querySelector("ion-router");if(x)return a?.preventDefault(),x.push(c,w,y)}return!1});return function(a,w,y,x){return d.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1118.b5a4af53a44d7dd6.js b/1118.b5a4af53a44d7dd6.js deleted file mode 100644 index dbc7143a..00000000 --- a/1118.b5a4af53a44d7dd6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1118],{1118:(A,m,l)=>{l.r(m),l.d(m,{ion_alert:()=>_});var b=l(5861),i=l(6541),g=l(7036),f=l(6086),k=l(8635),v=l(7389),h=l(4393),d=l(3814),c=l(4700),a=l(4963);l(1765),l(6319),l(2972),l(5067),l(2889),l(9019);const D=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},I=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([r,o])},z=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},O=t=>{const e=(0,a.c)(),r=(0,a.c)(),o=(0,a.c)();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),e.addElement(t).easing("ease-in-out").duration(150).addAnimation([r,o])},_=class{constructor(t){(0,i.r)(this,t),this.didPresent=(0,i.d)(this,"ionAlertDidPresent",7),this.willPresent=(0,i.d)(this,"ionAlertWillPresent",7),this.willDismiss=(0,i.d)(this,"ionAlertWillDismiss",7),this.didDismiss=(0,i.d)(this,"ionAlertDidDismiss",7),this.didPresentShorthand=(0,i.d)(this,"didPresent",7),this.willPresentShorthand=(0,i.d)(this,"willPresent",7),this.willDismissShorthand=(0,i.d)(this,"willDismiss",7),this.didDismissShorthand=(0,i.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,v.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",g.E),this.processedInputs=[],this.processedButtons=[],this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,h.B)},this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.processedButtons.find(s=>"cancel"===s.role);this.callButtonHandler(o)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.header=void 0,this.subHeader=void 0,this.message=void 0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:r}=this;t&&r.addClickListener(e,t)}onKeydown(t){const e=new Set(this.processedInputs.map(p=>p.type));if(e.has("checkbox")&&"Enter"===t.key)return void t.preventDefault();if(!e.has("radio")||t.target&&!this.el.contains(t.target)||t.target.classList.contains("alert-button"))return;const r=this.el.querySelectorAll(".alert-radio"),o=Array.from(r).filter(p=>!p.disabled),s=o.findIndex(p=>p.id===t.target.id);let n;if(["ArrowDown","ArrowRight"].includes(t.key)&&(n=s===o.length-1?o[0]:o[s+1]),["ArrowUp","ArrowLeft"].includes(t.key)&&(n=0===s?o[o.length-1]:o[s-1]),n&&o.includes(n)){const p=this.processedInputs.find(u=>u.id===n?.id);p&&(this.rbClick(p),n.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map(e=>"string"==typeof e?{text:e,role:"cancel"===e.toLowerCase()?"cancel":void 0}:e)}inputsChanged(){const t=this.inputs,e=t.find(n=>!n.disabled),o=t.find(n=>n.checked&&!n.disabled)||e,s=new Set(t.map(n=>n.type));s.has("checkbox")&&s.has("radio")&&console.warn(`Alert cannot mix input types: ${Array.from(s.values()).join("/")}. Please see alert docs for more info.`),this.inputType=s.values().next().value,this.processedInputs=t.map((n,p)=>{var u;return{type:n.type||"text",name:n.name||`${p}`,placeholder:n.placeholder||"",value:n.value,label:n.label,checked:!!n.checked,disabled:!!n.disabled,id:n.id||`alert-input-${this.overlayIndex}-${p}`,handler:n.handler,min:n.min,max:n.max,cssClass:null!==(u=n.cssClass)&&void 0!==u?u:"",attributes:n.attributes||{},tabindex:"radio"===n.type&&n!==o?-1:0}})}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}componentWillLoad(){(0,h.k)(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){!this.gesture&&"ios"===(0,c.b)(this)&&this.wrapperEl&&(this.gesture=(0,f.c)(this.wrapperEl,t=>t.classList.contains("alert-button")),this.gesture.enable(!0)),!0===this.isOpen&&(0,k.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,b.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,h.f)(t,"alertEnter",D,z),e()})()}dismiss(t,e){var r=this;return(0,b.Z)(function*(){const o=yield r.lockController.lock(),s=yield(0,h.g)(r,t,e,"alertLeave",I,O);return s&&r.delegateController.removeViewFromDom(),o(),s})()}onDidDismiss(){return(0,h.h)(this.el,"ionAlertDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionAlertWillDismiss")}rbClick(t){for(const e of this.processedInputs)e.checked=e===t,e.tabindex=e===t?0:-1;this.activeId=t.id,(0,h.s)(t.handler,t),(0,i.i)(this)}cbClick(t){t.checked=!t.checked,(0,h.s)(t.handler,t),(0,i.i)(this)}buttonClick(t){var e=this;return(0,b.Z)(function*(){const r=t.role,o=e.getValues();if((0,h.i)(r))return e.dismiss({values:o},r);const s=yield e.callButtonHandler(t,o);return!1!==s&&e.dismiss(Object.assign({values:o},s),t.role)})()}callButtonHandler(t,e){return(0,b.Z)(function*(){if(t?.handler){const r=yield(0,h.s)(t.handler,e);if(!1===r)return!1;if("object"==typeof r)return r}return{}})()}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const e=this.processedInputs.find(r=>!!r.checked);return e?e.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(e=>e.checked).map(e=>e.value);const t={};return this.processedInputs.forEach(e=>{t[e.name]=e.value||""}),t}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const t=this.processedInputs,e=(0,c.b)(this);return 0===t.length?null:(0,i.h)("div",{class:"alert-checkbox-group"},t.map(r=>(0,i.h)("button",{type:"button",onClick:()=>this.cbClick(r),"aria-checked":`${r.checked}`,id:r.id,disabled:r.disabled,tabIndex:r.tabindex,role:"checkbox",class:Object.assign(Object.assign({},(0,d.g)(r.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":r.disabled||!1})},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-checkbox-icon"},(0,i.h)("div",{class:"alert-checkbox-inner"})),(0,i.h)("div",{class:"alert-checkbox-label"},r.label)),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderRadio(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},t.map(e=>(0,i.h)("button",{type:"button",onClick:()=>this.rbClick(e),"aria-checked":`${e.checked}`,disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},(0,d.g)(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"ion-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},(0,i.h)("div",{class:"alert-button-inner"},(0,i.h)("div",{class:"alert-radio-icon"},(0,i.h)("div",{class:"alert-radio-inner"})),(0,i.h)("div",{class:"alert-radio-label"},e.label)))))}renderInput(){const t=this.processedInputs;return 0===t.length?null:(0,i.h)("div",{class:"alert-input-group"},t.map(e=>{var r,o,s,n;return(0,i.h)("div",{class:"alert-input-wrapper"},"textarea"===e.type?(0,i.h)("textarea",Object.assign({placeholder:e.placeholder,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(o=null===(r=e.attributes)||void 0===r?void 0:r.disabled)&&void 0!==o?o:e.disabled,class:C(e),onInput:p=>{var u;e.value=p.target.value,null!==(u=e.attributes)&&void 0!==u&&u.onInput&&e.attributes.onInput(p)}})):(0,i.h)("input",Object.assign({placeholder:e.placeholder,type:e.type,min:e.min,max:e.max,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(n=null===(s=e.attributes)||void 0===s?void 0:s.disabled)&&void 0!==n?n:e.disabled,class:C(e),onInput:p=>{var u;e.value=p.target.value,null!==(u=e.attributes)&&void 0!==u&&u.onInput&&e.attributes.onInput(p)}})))}))}renderAlertButtons(){const t=this.processedButtons,e=(0,c.b)(this);return(0,i.h)("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":t.length>2}},t.map(o=>(0,i.h)("button",Object.assign({},o.htmlAttributes,{type:"button",id:o.id,class:j(o),tabIndex:0,onClick:()=>this.buttonClick(o)}),(0,i.h)("span",{class:"alert-button-inner"},o.text),"md"===e&&(0,i.h)("ion-ripple-effect",null))))}renderAlertMessage(t){const{customHTMLEnabled:e,message:r}=this;return e?(0,i.h)("div",{id:t,class:"alert-message",innerHTML:(0,g.a)(r)}):(0,i.h)("div",{id:t,class:"alert-message"},r)}render(){const{overlayIndex:t,header:e,subHeader:r,message:o,htmlAttributes:s}=this,n=(0,c.b)(this),p=`alert-${t}-hdr`,u=`alert-${t}-sub-hdr`,E=`alert-${t}-msg`;return(0,i.h)(i.H,Object.assign({key:"4b7f7880dc5f39aa9b61981af0a821ac0350af7f",role:this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert","aria-modal":"true","aria-labelledby":e?p:r?u:null,"aria-describedby":void 0!==o?E:null,tabindex:"-1"},s,{style:{zIndex:`${2e4+t}`},class:Object.assign(Object.assign({},(0,d.g)(this.cssClass)),{[n]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,i.h)("ion-backdrop",{key:"961a2684013ac61d59882914fd8d759ddb542fe7",tappable:this.backdropDismiss}),(0,i.h)("div",{key:"2ec08c3719b3cd8a4cae09d2c6ac778ffad5f940",tabindex:"0"}),(0,i.h)("div",{key:"ee543683d20693c9a9497aca4d41f032aa580c9c",class:"alert-wrapper ion-overlay-wrapper",ref:B=>this.wrapperEl=B},(0,i.h)("div",{key:"55015102b67d080249a8859fc8788f3a82d5ead9",class:"alert-head"},e&&(0,i.h)("h2",{id:p,class:"alert-title"},e),r&&(0,i.h)("h2",{id:u,class:"alert-sub-title"},r)),this.renderAlertMessage(E),this.renderAlertInputs(),this.renderAlertButtons()),(0,i.h)("div",{key:"df7bcfb0cb41965f169de05edd631a050d5ce648",tabindex:"0"}))}get el(){return(0,i.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"],buttons:["buttonsChanged"],inputs:["inputsChanged"]}}},C=t=>{var e,r,o;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(r=null===(e=t.attributes)||void 0===e?void 0:e.disabled)&&void 0!==r?r:t.disabled)||!1},(0,d.g)(t.cssClass)),(0,d.g)(t.attributes?null===(o=t.attributes.class)||void 0===o?void 0:o.toString():""))},j=t=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,[`alert-button-role-${t.role}`]:void 0!==t.role},(0,d.g)(t.cssClass));_.style={ios:".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, #666666);font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:4px;margin-top:10px;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:6px;padding-bottom:6px;border:0.55px solid var(--ion-color-step-250, #bfbfbf);background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #3880ff)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:7px}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{left:unset;right:unset;right:7px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:7px}}}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.5rem, 66px);height:min(1.5rem, 66px);border-width:0.0625rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.5rem, 66px) / 6);position:absolute;width:calc(min(1.5rem, 66px) / 6 + 1px);height:calc(min(1.5rem, 66px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.0625rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.5rem, 66px) / 3 + 1px)}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios,[dir=rtl] .sc-ion-alert-ios-h [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}[dir=rtl].sc-ion-alert-ios [aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios:dir(rtl){left:unset;right:unset;right:calc(min(1.5rem, 66px) / 3 + 1px)}}}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios{border-right:none}[dir=rtl].sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}[dir=rtl].sc-ion-alert-ios .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}@supports selector(:dir(rtl)){.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:none}}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #3880ff);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #eb445a)}",md:".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, #e6e6e6)}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, #737373)}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, #999999));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #3880ff)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, #d9d9d9);border-bottom:1px solid var(--ion-color-step-150, #d9d9d9);overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373)}@supports (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-radio-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-radio-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #3880ff)}@supports (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.alert-radio-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.alert-radio-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, #262626)}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, #262626);font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, #737373);contain:strict}@supports (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}}@supports not (inset-inline-start: 0){.alert-checkbox-icon.sc-ion-alert-md{left:26px}[dir=rtl].sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}[dir=rtl].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{left:unset;right:unset;right:26px}@supports selector(:dir(rtl)){.alert-checkbox-icon.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:26px}}}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #3880ff);background-color:var(--ion-color-primary, #3880ff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}@supports (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}}@supports not (inset-inline-start: 0){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:3px}[dir=rtl].sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md,[dir=rtl] .sc-ion-alert-md-h [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}[dir=rtl].sc-ion-alert-md [aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md:dir(rtl){left:unset;right:unset;right:3px}}}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #3880ff);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}"}},3814:(A,m,l)=>{l.d(m,{c:()=>g,g:()=>k,h:()=>i,o:()=>h});var b=l(5861);const i=(d,c)=>null!==c.closest(d),g=(d,c)=>"string"==typeof d&&d.length>0?Object.assign({"ion-color":!0,[`ion-color-${d}`]:!0},c):c,k=d=>{const c={};return(d=>void 0!==d?(Array.isArray(d)?d:d.split(" ")).filter(a=>null!=a).map(a=>a.trim()).filter(a=>""!==a):[])(d).forEach(a=>c[a]=!0),c},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var d=(0,b.Z)(function*(c,a,w,y){if(null!=c&&"#"!==c[0]&&!v.test(c)){const x=document.querySelector("ion-router");if(x)return a?.preventDefault(),x.push(c,w,y)}return!1});return function(a,w,y,x){return d.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1217.3da5b6d542c52398.js b/1217.3da5b6d542c52398.js deleted file mode 100644 index 88e92862..00000000 --- a/1217.3da5b6d542c52398.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1217],{1217:(z,c,a)=>{a.r(c),a.d(c,{ion_input:()=>C});var h=a(5861),n=a(6541),f=a(5437),v=a(9980),p=a(8635),m=a(8909),b=a(118),o=a(3814),r=a(4896),l=a(4700);a(2972);const C=class{constructor(i){(0,n.r)(this,i),this.ionInput=(0,n.d)(this,"ionInput",7),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.inputId="ion-input-"+D++,this.inheritedAttributes={},this.isComposing=!1,this.hasLoggedDeprecationWarning=!1,this.didInputClearOnEdit=!1,this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.emitInputChange(t)},this.onChange=t=>{this.emitValueChange(t)},this.onBlur=t=>{this.hasFocus=!1,this.emitStyle(),this.focusedValue!==this.value&&this.emitValueChange(t),this.didInputClearOnEdit=!1,this.ionBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusedValue=this.value,this.emitStyle(),this.ionFocus.emit(t)},this.onKeydown=t=>{this.checkClearOnEdit(t)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(t)},this.hasFocus=!1,this.color=void 0,this.accept=void 0,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.clearOnEdit=void 0,this.counter=!1,this.counterFormatter=void 0,this.debounce=void 0,this.disabled=!1,this.enterkeyhint=void 0,this.errorText=void 0,this.fill=void 0,this.inputmode=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.multiple=void 0,this.name=this.inputId,this.pattern=void 0,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.shape=void 0,this.spellcheck=!1,this.step=void 0,this.size=void 0,this.type="text",this.value=""}debounceChanged(){const{ionInput:i,debounce:t,originalIonInput:e}=this;this.ionInput=void 0===t?e??i:(0,p.j)(i,t)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const i=this.nativeInput,t=this.getValue();i&&i.value!==t&&!this.isComposing&&(i.value=t),this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,p.i)(this.el)),(0,p.k)(this.el,["tabindex","title","data-form-type"]))}connectedCallback(){const{el:i}=this;this.legacyFormController=(0,f.c)(i),this.slotMutationController=(0,b.c)(i,["label","start","end"],()=>(0,n.i)(this)),this.notchController=(0,v.c)(i,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput}componentDidRender(){var i;null===(i=this.notchController)||void 0===i||i.calculateNotchWidth()}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}setFocus(){var i=this;return(0,h.Z)(function*(){i.nativeInput&&i.nativeInput.focus()})()}getInputElement(){var i=this;return(0,h.Z)(function*(){return i.nativeInput||(yield new Promise(t=>(0,p.c)(i.el,t))),Promise.resolve(i.nativeInput)})()}emitValueChange(i){const{value:t}=this,e=null==t?t:t.toString();this.focusedValue=e,this.ionChange.emit({value:e,event:i})}emitInputChange(i){const{value:t}=this,e=null==t?t:t.toString();this.ionInput.emit({value:e,event:i})}shouldClearOnEdit(){const{type:i,clearOnEdit:t}=this;return void 0===t?"password"===i:t}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled,legacy:!!this.legacy})}checkClearOnEdit(i){if(!this.shouldClearOnEdit())return;const e=["Enter","Tab","Shift","Meta","Alt","Control"].includes(i.key);!this.didInputClearOnEdit&&this.hasValue()&&!e&&(this.value="",this.emitInputChange(i)),e||(this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:i,errorText:t}=this;return[(0,n.h)("div",{class:"helper-text"},i),(0,n.h)("div",{class:"error-text"},t)]}renderCounter(){const{counter:i,maxlength:t,counterFormatter:e,value:s}=this;if(!0===i&&void 0!==t)return(0,n.h)("div",{class:"counter"},(0,b.g)(s,t,e))}renderBottomContent(){const{counter:i,helperText:t,errorText:e,maxlength:s}=this;if(t||e||!0===i&&void 0!==s)return(0,n.h)("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:i}=this;return(0,n.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===i?(0,n.h)("slot",{name:"label"}):(0,n.h)("div",{class:"label-text"},i))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,l.b)(this)&&"outline"===this.fill?[(0,n.h)("div",{class:"input-outline-container"},(0,n.h)("div",{class:"input-outline-start"}),(0,n.h)("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},(0,n.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),(0,n.h)("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}renderInput(){const{disabled:i,fill:t,readonly:e,shape:s,inputId:d,labelPlacement:g,el:L,hasFocus:_}=this,y=(0,l.b)(this),M=this.getValue(),I=(0,o.h)("ion-item",this.el),S="md"===y&&"outline"!==t&&!I,E=this.hasValue(),P=null!==L.querySelector('[slot="start"], [slot="end"]');return(0,n.h)(n.H,{class:(0,o.c)(this.color,{[y]:!0,"has-value":E,"has-focus":_,"label-floating":"stacked"===g||"floating"===g&&(E||_||P),[`input-fill-${t}`]:void 0!==t,[`input-shape-${s}`]:void 0!==s,[`input-label-placement-${g}`]:!0,"in-item":I,"in-item-color":(0,o.h)("ion-item.ion-color",this.el),"input-disabled":i})},(0,n.h)("label",{class:"input-wrapper",htmlFor:d},this.renderLabelContainer(),(0,n.h)("div",{class:"native-wrapper"},(0,n.h)("slot",{name:"start"}),(0,n.h)("input",Object.assign({class:"native-input",ref:k=>this.nativeInput=k,id:d,disabled:i,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:e,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:M,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd},this.inheritedAttributes)),this.clearInput&&!e&&!i&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:k=>{k.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===y?r.b:r.d})),(0,n.h)("slot",{name:"end"})),S&&(0,n.h)("div",{class:"input-highlight"})),this.renderBottomContent())}renderLegacyInput(){this.hasLoggedDeprecationWarning||((0,m.p)('ion-input now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,m.p)('ion-input is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new input syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const i=(0,l.b)(this),t=this.getValue(),e=this.inputId+"-lbl",s=(0,p.h)(this.el);return s&&(s.id=e),(0,n.h)(n.H,{"aria-disabled":this.disabled?"true":null,class:(0,o.c)(this.color,{[i]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,"legacy-input":!0,"in-item-color":(0,o.h)("ion-item.ion-color",this.el)})},(0,n.h)("input",Object.assign({class:"native-input",ref:d=>this.nativeInput=d,"aria-labelledby":s?s.id:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:d=>{d.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===i?r.b:r.d})))}render(){const{legacyFormController:i}=this;return i.hasLegacyControl()?this.renderLegacyInput():this.renderInput()}get el(){return(0,n.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}};let D=0;C.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-ios-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-ios-h .native-input.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-ios-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.legacy-input.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-ios-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{left:0}[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.legacy-input.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.legacy-input.sc-ion-input-ios-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.legacy-input.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.legacy-input.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.label-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));font-size:inherit}.legacy-input.sc-ion-input-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.legacy-input.sc-ion-input-ios-h .native-input[disabled].sc-ion-input-ios,.input-disabled.sc-ion-input-ios-h{opacity:0.3}.sc-ion-input-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-md-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-md-h .native-input.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-md-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-md-h{--padding-start:0}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.legacy-input.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-md-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-md-h,.input-label-placement-stacked.sc-ion-input-md-h{min-height:56px}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-md:disabled{opacity:1}.legacy-input.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.legacy-input.sc-ion-input-md-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.legacy-input.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.legacy-input.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.label-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl].input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-solid.sc-ion-input-md-h:dir(rtl) .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:2px;--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.label-floating.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:inherit}.legacy-input.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.legacy-input.sc-ion-input-md-h .native-input[disabled].sc-ion-input-md,.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl].in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-input-md-h:dir(rtl) .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}}}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}.sc-ion-input-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"}},3814:(z,c,a)=>{a.d(c,{c:()=>f,g:()=>p,h:()=>n,o:()=>b});var h=a(5861);const n=(o,r)=>null!==r.closest(o),f=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,p=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(o).forEach(l=>r[l]=!0),r},m=/^[a-z][a-z0-9+\-.]*:/,b=function(){var o=(0,h.Z)(function*(r,l,x,w){if(null!=r&&"#"!==r[0]&&!m.test(r)){const u=document.querySelector("ion-router");if(u)return l?.preventDefault(),u.push(r,x,w)}return!1});return function(l,x,w,u){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1217.c1a65013184f7441.js b/1217.c1a65013184f7441.js new file mode 100644 index 00000000..2f9d650f --- /dev/null +++ b/1217.c1a65013184f7441.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1217],{1217:(z,h,a)=>{a.r(h),a.d(h,{ion_input:()=>C});var m=a(5861),n=a(2477),v=a(5437),x=a(9980),p=a(8635),b=a(8909),g=a(118),o=a(3814),r=a(4896),l=a(7943);a(2972);const C=class{constructor(i){(0,n.r)(this,i),this.ionInput=(0,n.d)(this,"ionInput",7),this.ionChange=(0,n.d)(this,"ionChange",7),this.ionBlur=(0,n.d)(this,"ionBlur",7),this.ionFocus=(0,n.d)(this,"ionFocus",7),this.ionStyle=(0,n.d)(this,"ionStyle",7),this.inputId="ion-input-"+D++,this.inheritedAttributes={},this.isComposing=!1,this.hasLoggedDeprecationWarning=!1,this.didInputClearOnEdit=!1,this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.emitInputChange(t)},this.onChange=t=>{this.emitValueChange(t)},this.onBlur=t=>{this.hasFocus=!1,this.emitStyle(),this.focusedValue!==this.value&&this.emitValueChange(t),this.didInputClearOnEdit=!1,this.ionBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusedValue=this.value,this.emitStyle(),this.ionFocus.emit(t)},this.onKeydown=t=>{this.checkClearOnEdit(t)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(t)},this.hasFocus=!1,this.color=void 0,this.accept=void 0,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.clearOnEdit=void 0,this.counter=!1,this.counterFormatter=void 0,this.debounce=void 0,this.disabled=!1,this.enterkeyhint=void 0,this.errorText=void 0,this.fill=void 0,this.inputmode=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.multiple=void 0,this.name=this.inputId,this.pattern=void 0,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.shape=void 0,this.spellcheck=!1,this.step=void 0,this.size=void 0,this.type="text",this.value=""}debounceChanged(){const{ionInput:i,debounce:t,originalIonInput:e}=this;this.ionInput=void 0===t?e??i:(0,p.j)(i,t)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const i=this.nativeInput,t=this.getValue();i&&i.value!==t&&!this.isComposing&&(i.value=t),this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,p.i)(this.el)),(0,p.k)(this.el,["tabindex","title","data-form-type"]))}connectedCallback(){const{el:i}=this;this.legacyFormController=(0,v.c)(i),this.slotMutationController=(0,g.c)(i,["label","start","end"],()=>(0,n.i)(this)),this.notchController=(0,x.c)(i,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput}componentDidRender(){var i;null===(i=this.notchController)||void 0===i||i.calculateNotchWidth()}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}setFocus(){var i=this;return(0,m.Z)(function*(){i.nativeInput&&i.nativeInput.focus()})()}getInputElement(){var i=this;return(0,m.Z)(function*(){return i.nativeInput||(yield new Promise(t=>(0,p.c)(i.el,t))),Promise.resolve(i.nativeInput)})()}emitValueChange(i){const{value:t}=this,e=null==t?t:t.toString();this.focusedValue=e,this.ionChange.emit({value:e,event:i})}emitInputChange(i){const{value:t}=this,e=null==t?t:t.toString();this.ionInput.emit({value:e,event:i})}shouldClearOnEdit(){const{type:i,clearOnEdit:t}=this;return void 0===t?"password"===i:t}getValue(){return"number"==typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled,legacy:!!this.legacy})}checkClearOnEdit(i){if(!this.shouldClearOnEdit())return;const e=["Enter","Tab","Shift","Meta","Alt","Control"].includes(i.key);!this.didInputClearOnEdit&&this.hasValue()&&!e&&(this.value="",this.emitInputChange(i)),e||(this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:i,errorText:t}=this;return[(0,n.h)("div",{class:"helper-text"},i),(0,n.h)("div",{class:"error-text"},t)]}renderCounter(){const{counter:i,maxlength:t,counterFormatter:e,value:s}=this;if(!0===i&&void 0!==t)return(0,n.h)("div",{class:"counter"},(0,g.g)(s,t,e))}renderBottomContent(){const{counter:i,helperText:t,errorText:e,maxlength:s}=this;if(t||e||!0===i&&void 0!==s)return(0,n.h)("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:i}=this;return(0,n.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===i?(0,n.h)("slot",{name:"label"}):(0,n.h)("div",{class:"label-text"},i))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,l.b)(this)&&"outline"===this.fill?[(0,n.h)("div",{class:"input-outline-container"},(0,n.h)("div",{class:"input-outline-start"}),(0,n.h)("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},(0,n.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),(0,n.h)("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}renderInput(){const{disabled:i,fill:t,readonly:e,shape:s,inputId:d,labelPlacement:f,el:L,hasFocus:_}=this,k=(0,l.b)(this),M=this.getValue(),I=(0,o.h)("ion-item",this.el),S="md"===k&&"outline"!==t&&!I,E=this.hasValue(),P=null!==L.querySelector('[slot="start"], [slot="end"]');return(0,n.h)(n.H,{class:(0,o.c)(this.color,{[k]:!0,"has-value":E,"has-focus":_,"label-floating":"stacked"===f||"floating"===f&&(E||_||P),[`input-fill-${t}`]:void 0!==t,[`input-shape-${s}`]:void 0!==s,[`input-label-placement-${f}`]:!0,"in-item":I,"in-item-color":(0,o.h)("ion-item.ion-color",this.el),"input-disabled":i})},(0,n.h)("label",{class:"input-wrapper",htmlFor:d},this.renderLabelContainer(),(0,n.h)("div",{class:"native-wrapper"},(0,n.h)("slot",{name:"start"}),(0,n.h)("input",Object.assign({class:"native-input",ref:c=>this.nativeInput=c,id:d,disabled:i,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:e,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:M,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd},this.inheritedAttributes)),this.clearInput&&!e&&!i&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:c=>{c.preventDefault()},onFocusin:c=>{c.stopPropagation()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===k?r.b:r.d})),(0,n.h)("slot",{name:"end"})),S&&(0,n.h)("div",{class:"input-highlight"})),this.renderBottomContent())}renderLegacyInput(){this.hasLoggedDeprecationWarning||((0,b.p)('ion-input now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor inputs that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the input by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,b.p)('ion-input is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new input syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const i=(0,l.b)(this),t=this.getValue(),e=this.inputId+"-lbl",s=(0,p.h)(this.el);return s&&(s.id=e),(0,n.h)(n.H,{"aria-disabled":this.disabled?"true":null,class:(0,o.c)(this.color,{[i]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus,"legacy-input":!0,"in-item-color":(0,o.h)("ion-item.ion-color",this.el)})},(0,n.h)("input",Object.assign({class:"native-input",ref:d=>this.nativeInput=d,"aria-labelledby":s?s.id:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:t,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&(0,n.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:d=>{d.preventDefault()},onClick:this.clearTextInput},(0,n.h)("ion-icon",{"aria-hidden":"true",icon:"ios"===i?r.b:r.d})))}render(){const{legacyFormController:i}=this;return i.hasLegacyControl()?this.renderLegacyInput():this.renderInput()}get el(){return(0,n.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}};let D=0;C.style={ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-ios-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-ios-h .native-input.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-ios-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.legacy-input.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-ios-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-ios{left:0}[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.legacy-input.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.legacy-input.sc-ion-input-ios-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.legacy-input.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.legacy-input.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.label-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));font-size:inherit}.legacy-input.sc-ion-input-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.legacy-input.sc-ion-input-ios-h .native-input[disabled].sc-ion-input-ios,.input-disabled.sc-ion-input-ios-h{opacity:0.3}.sc-ion-input-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}.legacy-input.sc-ion-input-md-h{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;background:var(--background)}.legacy-input.sc-ion-input-md-h .native-input.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}ion-item.sc-ion-input-md-h:not(.item-label):not(.item-has-modern-input),ion-item:not(.item-label):not(.item-has-modern-input) .sc-ion-input-md-h{--padding-start:0}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.legacy-input.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.sc-ion-input-md-h:not(.legacy-input){min-height:44px}.input-label-placement-floating.sc-ion-input-md-h,.input-label-placement-stacked.sc-ion-input-md-h{min-height:56px}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-input-md:disabled{opacity:1}.legacy-input.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, #666666);visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.legacy-input.sc-ion-input-md-h{pointer-events:none}.has-focus.legacy-input.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.legacy-input.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.legacy-input.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.input-wrapper.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.label-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl].input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-solid.sc-ion-input-md-h:dir(rtl) .input-wrapper.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:2px;--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.label-floating.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-start.sc-ion-input-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl].input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md,[dir=rtl] .input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.input-fill-outline.sc-ion-input-md-h:dir(rtl) .input-outline-end.sc-ion-input-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:inherit}.legacy-input.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.legacy-input.sc-ion-input-md-h .native-input[disabled].sc-ion-input-md,.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-input-md .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.input-highlight.sc-ion-input-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:0}[dir=rtl].sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl].in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md,[dir=rtl] .in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-input-md-h:dir(rtl) .input-highlight.sc-ion-input-md{left:unset;right:unset;right:0}}}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}.sc-ion-input-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"}},3814:(z,h,a)=>{a.d(h,{c:()=>v,g:()=>p,h:()=>n,o:()=>g});var m=a(5861);const n=(o,r)=>null!==r.closest(o),v=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,p=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(o).forEach(l=>r[l]=!0),r},b=/^[a-z][a-z0-9+\-.]*:/,g=function(){var o=(0,m.Z)(function*(r,l,w,y){if(null!=r&&"#"!==r[0]&&!b.test(r)){const u=document.querySelector("ion-router");if(u)return l?.preventDefault(),u.push(r,w,y)}return!1});return function(l,w,y,u){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/1536.02fe8d3d726e810e.js b/1536.b496f43a95670730.js similarity index 80% rename from 1536.02fe8d3d726e810e.js rename to 1536.b496f43a95670730.js index 3ce19433..d00a1ad8 100644 --- a/1536.02fe8d3d726e810e.js +++ b/1536.b496f43a95670730.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1536],{1536:(v,l,a)=>{a.r(l),a.d(l,{ion_tab:()=>d,ion_tabs:()=>c});var n=a(5861),s=a(6541),b=a(5030);const d=class{constructor(e){(0,s.r)(this,e),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}componentWillLoad(){var e=this;return(0,n.Z)(function*(){e.active&&(yield e.setActive())})()}setActive(){var e=this;return(0,n.Z)(function*(){yield e.prepareLazyLoaded(),e.active=!0})()}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return(0,b.a)(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){const{tab:e,active:t,component:i}=this;return(0,s.h)(s.H,{key:"fa5c567bf59eb8bd46a7d2b85a560e43c43563fe",role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":void 0===i,"tab-hidden":!t}},(0,s.h)("slot",{key:"133871ad0bafa16539dfec4a6bd640367c998039"}))}get el(){return(0,s.f)(this)}static get watchers(){return{active:["changeActive"]}}};d.style=":host(.tab-hidden){display:none !important}";const c=class{constructor(e){(0,s.r)(this,e),this.ionNavWillLoad=(0,s.d)(this,"ionNavWillLoad",7),this.ionTabsWillChange=(0,s.d)(this,"ionTabsWillChange",3),this.ionTabsDidChange=(0,s.d)(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:r}=t.detail;if(this.useRouter&&void 0!==i){const h=document.querySelector("ion-router");h&&h.push(i)}else this.select(r)},this.selectedTab=void 0,this.useRouter=!1}componentWillLoad(){var e=this;return(0,n.Z)(function*(){if(e.useRouter||(e.useRouter=!!document.querySelector("ion-router")&&!e.el.closest("[no-router]")),!e.useRouter){const t=e.tabs;t.length>0&&(yield e.select(t[0]))}e.ionNavWillLoad.emit()})()}componentWillRender(){const e=this.el.querySelector("ion-tab-bar");e&&(e.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}select(e){var t=this;return(0,n.Z)(function*(){const i=o(t.tabs,e);return!!t.shouldSwitch(i)&&(yield t.setActive(i),yield t.notifyRouter(),t.tabSwitch(),!0)})()}getTab(e){var t=this;return(0,n.Z)(function*(){return o(t.tabs,e)})()}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}setRouteId(e){var t=this;return(0,n.Z)(function*(){const i=o(t.tabs,e);return t.shouldSwitch(i)?(yield t.setActive(i),{changed:!0,element:t.selectedTab,markVisible:()=>t.tabSwitch()}):{changed:!1,element:t.selectedTab}})()}getRouteId(){var e=this;return(0,n.Z)(function*(){var t;const i=null===(t=e.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:e.selectedTab}:void 0})()}setActive(e){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=e,this.ionTabsWillChange.emit({tab:e.tab}),e.active=!0,Promise.resolve())}tabSwitch(){const e=this.selectedTab,t=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,e&&t!==e&&(t&&(t.active=!1),this.ionTabsDidChange.emit({tab:e.tab}))}notifyRouter(){if(this.useRouter){const e=document.querySelector("ion-router");if(e)return e.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(e){return void 0!==e&&e!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return(0,s.h)(s.H,{key:"5c76b077d508b1379a985503618dade63a9db514",onIonTabButtonClick:this.onTabClicked},(0,s.h)("slot",{key:"357ba85e01de10d3c0e52adcb1977bbc0dbbf587",name:"top"}),(0,s.h)("div",{key:"c8c59aac4e1394a1a7505f201cbf609b9b0c6ea9",class:"tabs-inner"},(0,s.h)("slot",{key:"00951068088580ab408f9c24ede39144b212b0d6"})),(0,s.h)("slot",{key:"a1118402fbd5995b07f7676f216b2efbc6052f12",name:"bottom"}))}get el(){return(0,s.f)(this)}},o=(e,t)=>{const i="string"==typeof t?e.find(r=>r.tab===t):t;return i||console.error(`tab with id: "${i}" does not exist`),i};c.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1536],{1536:(v,l,a)=>{a.r(l),a.d(l,{ion_tab:()=>d,ion_tabs:()=>c});var n=a(5861),s=a(2477),u=a(5030);const d=class{constructor(e){(0,s.r)(this,e),this.loaded=!1,this.active=!1,this.delegate=void 0,this.tab=void 0,this.component=void 0}componentWillLoad(){var e=this;return(0,n.Z)(function*(){e.active&&(yield e.setActive())})()}setActive(){var e=this;return(0,n.Z)(function*(){yield e.prepareLazyLoaded(),e.active=!0})()}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return(0,u.a)(this.delegate,this.el,this.component,["ion-page"])}catch(e){console.error(e)}}return Promise.resolve(void 0)}render(){const{tab:e,active:t,component:i}=this;return(0,s.h)(s.H,{key:"4fe50fa809503794be2ef91383e49b72cad6fa82",role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":`tab-button-${e}`,class:{"ion-page":void 0===i,"tab-hidden":!t}},(0,s.h)("slot",{key:"937777a826936d6b399329a926a704008339803e"}))}get el(){return(0,s.f)(this)}static get watchers(){return{active:["changeActive"]}}};d.style=":host(.tab-hidden){display:none !important}";const c=class{constructor(e){(0,s.r)(this,e),this.ionNavWillLoad=(0,s.d)(this,"ionNavWillLoad",7),this.ionTabsWillChange=(0,s.d)(this,"ionTabsWillChange",3),this.ionTabsDidChange=(0,s.d)(this,"ionTabsDidChange",3),this.transitioning=!1,this.onTabClicked=t=>{const{href:i,tab:r}=t.detail;if(this.useRouter&&void 0!==i){const h=document.querySelector("ion-router");h&&h.push(i)}else this.select(r)},this.selectedTab=void 0,this.useRouter=!1}componentWillLoad(){var e=this;return(0,n.Z)(function*(){if(e.useRouter||(e.useRouter=!!document.querySelector("ion-router")&&!e.el.closest("[no-router]")),!e.useRouter){const t=e.tabs;t.length>0&&(yield e.select(t[0]))}e.ionNavWillLoad.emit()})()}componentWillRender(){const e=this.el.querySelector("ion-tab-bar");e&&(e.selectedTab=this.selectedTab?this.selectedTab.tab:void 0)}select(e){var t=this;return(0,n.Z)(function*(){const i=o(t.tabs,e);return!!t.shouldSwitch(i)&&(yield t.setActive(i),yield t.notifyRouter(),t.tabSwitch(),!0)})()}getTab(e){var t=this;return(0,n.Z)(function*(){return o(t.tabs,e)})()}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}setRouteId(e){var t=this;return(0,n.Z)(function*(){const i=o(t.tabs,e);return t.shouldSwitch(i)?(yield t.setActive(i),{changed:!0,element:t.selectedTab,markVisible:()=>t.tabSwitch()}):{changed:!1,element:t.selectedTab}})()}getRouteId(){var e=this;return(0,n.Z)(function*(){var t;const i=null===(t=e.selectedTab)||void 0===t?void 0:t.tab;return void 0!==i?{id:i,element:e.selectedTab}:void 0})()}setActive(e){return this.transitioning?Promise.reject("transitioning already happening"):(this.transitioning=!0,this.leavingTab=this.selectedTab,this.selectedTab=e,this.ionTabsWillChange.emit({tab:e.tab}),e.active=!0,Promise.resolve())}tabSwitch(){const e=this.selectedTab,t=this.leavingTab;this.leavingTab=void 0,this.transitioning=!1,e&&t!==e&&(t&&(t.active=!1),this.ionTabsDidChange.emit({tab:e.tab}))}notifyRouter(){if(this.useRouter){const e=document.querySelector("ion-router");if(e)return e.navChanged("forward")}return Promise.resolve(!1)}shouldSwitch(e){return void 0!==e&&e!==this.selectedTab&&!this.transitioning}get tabs(){return Array.from(this.el.querySelectorAll("ion-tab"))}render(){return(0,s.h)(s.H,{key:"5102fdd8ae80408811312631f0739c356d913840",onIonTabButtonClick:this.onTabClicked},(0,s.h)("slot",{key:"55f781cd010dcebf9675f2a0b4eab9f4271b780e",name:"top"}),(0,s.h)("div",{key:"2da0ee7b8c82e4bfa42f8bc5873e23e50a88c405",class:"tabs-inner"},(0,s.h)("slot",{key:"6335a62a10398c008c91f87f15b4a940a95e175d"})),(0,s.h)("slot",{key:"9b6f08a21c703cc7fdebd48eb746d0fde6a8454d",name:"bottom"}))}get el(){return(0,s.f)(this)}},o=(e,t)=>{const i="string"==typeof t?e.find(r=>r.tab===t):t;return i||console.error(`tab with id: "${i}" does not exist`),i};c.style=":host{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;contain:layout size style;z-index:0}.tabs-inner{position:relative;-ms-flex:1;flex:1;contain:layout size style}"}}]); \ No newline at end of file diff --git a/1709.209a245c12f6202e.js b/1709.2e5186348c16e379.js similarity index 99% rename from 1709.209a245c12f6202e.js rename to 1709.2e5186348c16e379.js index d4f5bf39..72652404 100644 --- a/1709.209a245c12f6202e.js +++ b/1709.2e5186348c16e379.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1709],{1709:($,M,l)=>{l.r(M),l.d(M,{ion_range:()=>U});var D=l(5861),r=l(6541),S=l(7003),P=l(5437),h=l(8635),y=l(8909),z=l(6879),s=l(3814),o=l(4700);const U=class{constructor(n){var e=this;(0,r.r)(this,n),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionInput=(0,r.d)(this,"ionInput",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.ionKnobMoveStart=(0,r.d)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,r.d)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+G++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.hasLoggedDeprecationWarning=!1,this.clampBounds=t=>(0,h.l)(this.min,t,this.max),this.ensureValueInBounds=t=>this.dualKnobs?{lower:this.clampBounds(t.lower),upper:this.clampBounds(t.upper)}:this.clampBounds(t),this.setupGesture=(0,D.Z)(function*(){const t=e.rangeSlider;t&&(e.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:t,gestureName:"range",gesturePriority:100,threshold:10,onStart:()=>e.onStart(),onMove:a=>e.onMove(a),onEnd:a=>e.onEnd(a)}),e.gesture.enable(!e.disabled))}),this.handleKeyboard=(t,a)=>{const{ensureValueInBounds:d}=this;let i=this.step;i=i>0?i:1,i/=this.max-this.min,a||(i*=-1),"A"===t?this.ratioA=(0,h.l)(0,this.ratioA+i,1):this.ratioB=(0,h.l)(0,this.ratioB+i,1),this.ionKnobMoveStart.emit({value:d(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:d(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.ionBlur.emit(),this.emitStyle())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit(),this.emitStyle())},this.ratioA=0,this.ratioB=0,this.pressedKnob=void 0,this.color=void 0,this.debounce=void 0,this.name=this.rangeId,this.label=void 0,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=t=>Math.round(t),this.snaps=!1,this.step=1,this.ticks=!0,this.activeBarStart=void 0,this.disabled=!1,this.value=0,this.labelPlacement="start",this.legacy=void 0}debounceChanged(){const{ionInput:n,debounce:e,originalIonInput:t}=this;this.ionInput=void 0===e?t??n:(0,h.j)(n,e)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:n}=this;void 0!==n&&(n>this.max?((0,y.p)(`Range: The value of activeBarStart (${n}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`,this.el),this.activeBarStart=this.max):n
Volume
\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,y.p)('ion-range is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new range syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{el:n,pressedKnob:e,disabled:t,pin:a,rangeId:d}=this,i=(0,o.b)(this);return(0,h.d)(!0,n,this.name,JSON.stringify(this.getValue()),t),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:d,class:(0,s.c)(this.color,{[i]:!0,"in-item":(0,s.h)("ion-item",n),"range-disabled":t,"range-pressed":void 0!==e,"range-has-pin":a,"legacy-range":!0})},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))}get hasStartSlotContent(){return null!==this.el.querySelector('[slot="start"]')}get hasEndSlotContent(){return null!==this.el.querySelector('[slot="end"]')}renderRange(){const{disabled:n,el:e,hasLabel:t,rangeId:a,pin:d,pressedKnob:i,labelPlacement:p,label:k}=this,f=(0,s.h)("ion-item",e),m=f&&!(t&&("start"===p||"fixed"===p)||this.hasStartSlotContent),E=f&&!(t&&"end"===p||this.hasEndSlotContent),C=(0,o.b)(this);return(0,h.d)(!0,e,this.name,JSON.stringify(this.getValue()),n),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:a,class:(0,s.c)(this.color,{[C]:!0,"in-item":f,"range-disabled":n,"range-pressed":void 0!==i,"range-has-pin":d,[`range-label-placement-${p}`]:!0,"range-item-start-adjustment":m,"range-item-end-adjustment":E})},(0,r.h)("label",{class:"range-wrapper",id:"range-label"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!t},part:"label"},void 0!==k?(0,r.h)("div",{class:"label-text"},k):(0,r.h)("slot",{name:"label"})),(0,r.h)("div",{class:"native-wrapper"},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))))}get hasLabel(){return void 0!==this.label||null!==this.el.querySelector('[slot="label"]')}renderRangeSlider(){var n;const{min:e,max:t,step:a,el:d,handleKeyboard:i,pressedKnob:p,disabled:k,pin:f,ratioLower:u,ratioUpper:m,inheritedAttributes:v,rangeId:E,pinFormatter:C}=this;let{labelText:w}=(0,h.e)(d,E);null==w&&(w=v["aria-label"]);let c=100*u+"%",x=100-100*m+"%";const K=(0,z.i)(this.el),I=K?"right":"left",N=b=>({[I]:b[I]});!1===this.dualKnobs&&(this.valA<(null!==(n=this.activeBarStart)&&void 0!==n?n:this.min)?(c=100*m+"%",x=100-100*u+"%"):(c=100*u+"%",x=100-100*m+"%"));const Y={[I]:c,[K?"left":"right"]:x},F=[];if(this.snaps&&this.ticks)for(let b=e;b<=t;b+=a){const R=_(b,e,t),H=Math.min(u,m),J=Math.max(u,m),V={ratio:R,active:R>=H&&R<=J};V[I]=100*R+"%",F.push(V)}let O;return!this.legacyFormController.hasLegacyControl()&&this.hasLabel&&(O="range-label"),(0,r.h)("div",{class:"range-slider",ref:b=>this.rangeSlider=b,onPointerUp:b=>{void 0===this.pressedKnob&&(this.onStart(),this.onEnd(b))}},F.map(b=>(0,r.h)("div",{style:N(b),role:"presentation",class:{"range-tick":!0,"range-tick-active":b.active},part:b.active?"tick-active":"tick"})),(0,r.h)("div",{class:"range-bar-container"},(0,r.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,r.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":F.length>0},role:"presentation",style:Y,part:"bar-active"})),T(K,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:f,pinFormatter:C,disabled:k,handleKeyboard:i,min:e,max:t,labelText:w,labelledBy:O}),this.dualKnobs&&T(K,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:f,pinFormatter:C,disabled:k,handleKeyboard:i,min:e,max:t,labelText:w,labelledBy:O}))}render(){const{legacyFormController:n}=this;return n.hasLegacyControl()?this.renderLegacyRange():this.renderRange()}get el(){return(0,r.f)(this)}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}},T=(n,{knob:e,value:t,ratio:a,min:d,max:i,disabled:p,pressed:k,pin:f,handleKeyboard:u,labelText:m,labelledBy:v,pinFormatter:E})=>{const C=n?"right":"left";return(0,r.h)("div",{onKeyDown:c=>{const x=c.key;"ArrowLeft"===x||"ArrowDown"===x?(u(e,!1),c.preventDefault(),c.stopPropagation()):("ArrowRight"===x||"ArrowUp"===x)&&(u(e,!0),c.preventDefault(),c.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===e,"range-knob-b":"B"===e,"range-knob-pressed":k,"range-knob-min":t===d,"range-knob-max":t===i,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const c={};return c[C]=100*a+"%",c})(),role:"slider",tabindex:p?-1:0,"aria-label":void 0===v?m:null,"aria-labelledby":void 0!==v?v:null,"aria-valuemin":d,"aria-valuemax":i,"aria-disabled":p?"true":null,"aria-valuenow":t},f&&(0,r.h)("div",{class:"range-pin",role:"presentation",part:"pin"},E(t)),(0,r.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},j=(n,e,t,a)=>{let d=(t-e)*n;return a>0&&(d=Math.round(d/a)*a+e),function A(n,...e){const t=Math.max(...e.map(a=>function g(n){return n%1==0?0:n.toString().split(".")[1].length}(a)));return Number(n.toFixed(t))}((0,h.l)(e,d,t),e,t,a)},_=(n,e,t)=>(0,h.l)(0,(n-e)/(t-e),1);let G=0;U.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, #e6e6e6);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:2px;--height:42px}:host(.legacy-range){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, #e6e6e6);pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 100%, 0) scale(0.01);transform:translate3d(0, 100%, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff)}:host(.legacy-range) ::slotted([slot=label]){font-size:initial}:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=start]),:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=end]),:host(:not(.legacy-range)) .native-wrapper{font-size:0.75rem}:host(.legacy-range){-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:8px;padding-bottom:8px;font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}@supports (inset-inline-start: 0){.range-knob::before{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob::before{left:0}:host-context([dir=rtl]) .range-knob::before{left:unset;right:unset;right:0}[dir=rtl] .range-knob::before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob::before:dir(rtl){left:unset;right:unset;right:0}}}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}@supports (inset-inline-start: 0){.range-pin::before{inset-inline-start:50%}}@supports not (inset-inline-start: 0){.range-pin::before{left:50%}:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}[dir=rtl] .range-pin::before{left:unset;right:unset;right:50%}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset;right:unset;right:50%}}}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}'}},3814:($,M,l)=>{l.d(M,{c:()=>S,g:()=>h,h:()=>r,o:()=>z});var D=l(5861);const r=(s,o)=>null!==o.closest(s),S=(s,o)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},o):o,h=s=>{const o={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(s).forEach(g=>o[g]=!0),o},y=/^[a-z][a-z0-9+\-.]*:/,z=function(){var s=(0,D.Z)(function*(o,g,A,L){if(null!=o&&"#"!==o[0]&&!y.test(o)){const B=document.querySelector("ion-router");if(B)return g?.preventDefault(),B.push(o,A,L)}return!1});return function(g,A,L,B){return s.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1709],{1709:($,M,l)=>{l.r(M),l.d(M,{ion_range:()=>U});var D=l(5861),r=l(2477),S=l(7003),P=l(5437),h=l(8635),y=l(8909),z=l(6879),s=l(3814),o=l(7943);const U=class{constructor(n){var e=this;(0,r.r)(this,n),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionInput=(0,r.d)(this,"ionInput",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.ionKnobMoveStart=(0,r.d)(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=(0,r.d)(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+G++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.hasLoggedDeprecationWarning=!1,this.clampBounds=t=>(0,h.l)(this.min,t,this.max),this.ensureValueInBounds=t=>this.dualKnobs?{lower:this.clampBounds(t.lower),upper:this.clampBounds(t.upper)}:this.clampBounds(t),this.setupGesture=(0,D.Z)(function*(){const t=e.rangeSlider;t&&(e.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:t,gestureName:"range",gesturePriority:100,threshold:10,onStart:()=>e.onStart(),onMove:a=>e.onMove(a),onEnd:a=>e.onEnd(a)}),e.gesture.enable(!e.disabled))}),this.handleKeyboard=(t,a)=>{const{ensureValueInBounds:d}=this;let i=this.step;i=i>0?i:1,i/=this.max-this.min,a||(i*=-1),"A"===t?this.ratioA=(0,h.l)(0,this.ratioA+i,1):this.ratioB=(0,h.l)(0,this.ratioB+i,1),this.ionKnobMoveStart.emit({value:d(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:d(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.ionBlur.emit(),this.emitStyle())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit(),this.emitStyle())},this.ratioA=0,this.ratioB=0,this.pressedKnob=void 0,this.color=void 0,this.debounce=void 0,this.name=this.rangeId,this.label=void 0,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=t=>Math.round(t),this.snaps=!1,this.step=1,this.ticks=!0,this.activeBarStart=void 0,this.disabled=!1,this.value=0,this.labelPlacement="start",this.legacy=void 0}debounceChanged(){const{ionInput:n,debounce:e,originalIonInput:t}=this;this.ionInput=void 0===e?t??n:(0,h.j)(n,e)}minChanged(){this.noUpdate||this.updateRatio()}maxChanged(){this.noUpdate||this.updateRatio()}activeBarStartChanged(){const{activeBarStart:n}=this;void 0!==n&&(n>this.max?((0,y.p)(`Range: The value of activeBarStart (${n}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`,this.el),this.activeBarStart=this.max):n
Volume
\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,y.p)('ion-range is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new range syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{el:n,pressedKnob:e,disabled:t,pin:a,rangeId:d}=this,i=(0,o.b)(this);return(0,h.d)(!0,n,this.name,JSON.stringify(this.getValue()),t),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:d,class:(0,s.c)(this.color,{[i]:!0,"in-item":(0,s.h)("ion-item",n),"range-disabled":t,"range-pressed":void 0!==e,"range-has-pin":a,"legacy-range":!0})},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))}get hasStartSlotContent(){return null!==this.el.querySelector('[slot="start"]')}get hasEndSlotContent(){return null!==this.el.querySelector('[slot="end"]')}renderRange(){const{disabled:n,el:e,hasLabel:t,rangeId:a,pin:d,pressedKnob:i,labelPlacement:p,label:k}=this,f=(0,s.h)("ion-item",e),m=f&&!(t&&("start"===p||"fixed"===p)||this.hasStartSlotContent),E=f&&!(t&&"end"===p||this.hasEndSlotContent),C=(0,o.b)(this);return(0,h.d)(!0,e,this.name,JSON.stringify(this.getValue()),n),(0,r.h)(r.H,{onFocusin:this.onFocus,onFocusout:this.onBlur,id:a,class:(0,s.c)(this.color,{[C]:!0,"in-item":f,"range-disabled":n,"range-pressed":void 0!==i,"range-has-pin":d,[`range-label-placement-${p}`]:!0,"range-item-start-adjustment":m,"range-item-end-adjustment":E})},(0,r.h)("label",{class:"range-wrapper",id:"range-label"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!t},part:"label"},void 0!==k?(0,r.h)("div",{class:"label-text"},k):(0,r.h)("slot",{name:"label"})),(0,r.h)("div",{class:"native-wrapper"},(0,r.h)("slot",{name:"start"}),this.renderRangeSlider(),(0,r.h)("slot",{name:"end"}))))}get hasLabel(){return void 0!==this.label||null!==this.el.querySelector('[slot="label"]')}renderRangeSlider(){var n;const{min:e,max:t,step:a,el:d,handleKeyboard:i,pressedKnob:p,disabled:k,pin:f,ratioLower:u,ratioUpper:m,inheritedAttributes:v,rangeId:E,pinFormatter:C}=this;let{labelText:w}=(0,h.e)(d,E);null==w&&(w=v["aria-label"]);let c=100*u+"%",x=100-100*m+"%";const K=(0,z.i)(this.el),I=K?"right":"left",N=b=>({[I]:b[I]});!1===this.dualKnobs&&(this.valA<(null!==(n=this.activeBarStart)&&void 0!==n?n:this.min)?(c=100*m+"%",x=100-100*u+"%"):(c=100*u+"%",x=100-100*m+"%"));const Y={[I]:c,[K?"left":"right"]:x},F=[];if(this.snaps&&this.ticks)for(let b=e;b<=t;b+=a){const R=_(b,e,t),H=Math.min(u,m),J=Math.max(u,m),V={ratio:R,active:R>=H&&R<=J};V[I]=100*R+"%",F.push(V)}let O;return!this.legacyFormController.hasLegacyControl()&&this.hasLabel&&(O="range-label"),(0,r.h)("div",{class:"range-slider",ref:b=>this.rangeSlider=b,onPointerUp:b=>{void 0===this.pressedKnob&&(this.onStart(),this.onEnd(b))}},F.map(b=>(0,r.h)("div",{style:N(b),role:"presentation",class:{"range-tick":!0,"range-tick-active":b.active},part:b.active?"tick-active":"tick"})),(0,r.h)("div",{class:"range-bar-container"},(0,r.h)("div",{class:"range-bar",role:"presentation",part:"bar"}),(0,r.h)("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":F.length>0},role:"presentation",style:Y,part:"bar-active"})),T(K,{knob:"A",pressed:"A"===p,value:this.valA,ratio:this.ratioA,pin:f,pinFormatter:C,disabled:k,handleKeyboard:i,min:e,max:t,labelText:w,labelledBy:O}),this.dualKnobs&&T(K,{knob:"B",pressed:"B"===p,value:this.valB,ratio:this.ratioB,pin:f,pinFormatter:C,disabled:k,handleKeyboard:i,min:e,max:t,labelText:w,labelledBy:O}))}render(){const{legacyFormController:n}=this;return n.hasLegacyControl()?this.renderLegacyRange():this.renderRange()}get el(){return(0,r.f)(this)}static get watchers(){return{debounce:["debounceChanged"],min:["minChanged"],max:["maxChanged"],activeBarStart:["activeBarStartChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}},T=(n,{knob:e,value:t,ratio:a,min:d,max:i,disabled:p,pressed:k,pin:f,handleKeyboard:u,labelText:m,labelledBy:v,pinFormatter:E})=>{const C=n?"right":"left";return(0,r.h)("div",{onKeyDown:c=>{const x=c.key;"ArrowLeft"===x||"ArrowDown"===x?(u(e,!1),c.preventDefault(),c.stopPropagation()):("ArrowRight"===x||"ArrowUp"===x)&&(u(e,!0),c.preventDefault(),c.stopPropagation())},class:{"range-knob-handle":!0,"range-knob-a":"A"===e,"range-knob-b":"B"===e,"range-knob-pressed":k,"range-knob-min":t===d,"range-knob-max":t===i,"ion-activatable":!0,"ion-focusable":!0},style:(()=>{const c={};return c[C]=100*a+"%",c})(),role:"slider",tabindex:p?-1:0,"aria-label":void 0===v?m:null,"aria-labelledby":void 0!==v?v:null,"aria-valuemin":d,"aria-valuemax":i,"aria-disabled":p?"true":null,"aria-valuenow":t},f&&(0,r.h)("div",{class:"range-pin",role:"presentation",part:"pin"},E(t)),(0,r.h)("div",{class:"range-knob",role:"presentation",part:"knob"}))},j=(n,e,t,a)=>{let d=(t-e)*n;return a>0&&(d=Math.round(d/a)*a+e),function A(n,...e){const t=Math.max(...e.map(a=>function g(n){return n%1==0?0:n.toString().split(".")[1].length}(a)));return Number(n.toFixed(t))}((0,h.l)(e,d,t),e,t,a)},_=(n,e,t)=>(0,h.l)(0,(n-e)/(t-e),1);let G=0;U.style={ios:":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, #e6e6e6);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:2px;--height:42px}:host(.legacy-range){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, #e6e6e6);pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0, 100%, 0) scale(0.01);transform:translate3d(0, 100%, 0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}",md:':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}@supports (inset-inline-start: 0){.range-knob-handle{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob-handle{left:0}:host-context([dir=rtl]) .range-knob-handle{left:unset;right:unset;right:0}[dir=rtl] .range-knob-handle{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}@supports (inset-inline-start: 0){.range-bar-container{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-bar-container{left:0}:host-context([dir=rtl]) .range-bar-container{left:unset;right:unset;right:0}[dir=rtl] .range-bar-container{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset;right:unset;right:0}}}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}@supports (inset-inline-start: 0){.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}}@supports not (inset-inline-start: 0){.range-knob{left:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}[dir=rtl] .range-knob{left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset;right:unset;right:calc(50% - var(--knob-size) / 2)}}}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.26);--bar-background-active:var(--ion-color-primary, #3880ff);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #3880ff);--pin-color:var(--ion-color-primary-contrast, #fff)}:host(.legacy-range) ::slotted([slot=label]){font-size:initial}:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=start]),:host(:not(.legacy-range)) ::slotted(:not(ion-icon)[slot=end]),:host(:not(.legacy-range)) .native-wrapper{font-size:0.75rem}:host(.legacy-range){-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:8px;padding-bottom:8px;font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}@supports (inset-inline-start: 0){.range-knob::before{inset-inline-start:0}}@supports not (inset-inline-start: 0){.range-knob::before{left:0}:host-context([dir=rtl]) .range-knob::before{left:unset;right:unset;right:0}[dir=rtl] .range-knob::before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.range-knob::before:dir(rtl){left:unset;right:unset;right:0}}}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0, 0, 0) scale(0.01);transform:translate3d(0, 0, 0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}@supports (inset-inline-start: 0){.range-pin::before{inset-inline-start:50%}}@supports not (inset-inline-start: 0){.range-pin::before{left:50%}:host-context([dir=rtl]) .range-pin::before{left:unset;right:unset;right:50%}[dir=rtl] .range-pin::before{left:unset;right:unset;right:50%}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset;right:unset;right:50%}}}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, #bfbfbf)}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}'}},3814:($,M,l)=>{l.d(M,{c:()=>S,g:()=>h,h:()=>r,o:()=>z});var D=l(5861);const r=(s,o)=>null!==o.closest(s),S=(s,o)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},o):o,h=s=>{const o={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(s).forEach(g=>o[g]=!0),o},y=/^[a-z][a-z0-9+\-.]*:/,z=function(){var s=(0,D.Z)(function*(o,g,A,L){if(null!=o&&"#"!==o[0]&&!y.test(o)){const B=document.querySelector("ion-router");if(B)return g?.preventDefault(),B.push(o,A,L)}return!1});return function(g,A,L,B){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2073.1550887c6e4ed9bc.js b/2073.1550887c6e4ed9bc.js deleted file mode 100644 index 92cec506..00000000 --- a/2073.1550887c6e4ed9bc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2073],{2073:(x,u,i)=>{i.r(u),i.d(u,{ion_back_button:()=>c});var b=i(5861),e=i(6541),m=i(8635),d=i(3814),g=i(4896),s=i(4700);const c=class{constructor(r){var a=this;(0,e.r)(this,r),this.inheritedAttributes={},this.onClick=function(){var h=(0,b.Z)(function*(l){const p=a.el.closest("ion-nav");return l.preventDefault(),p&&(yield p.canGoBack())?p.pop({animationBuilder:a.routerAnimation,skipIfBusy:!0}):(0,d.o)(a.defaultHref,l,"back",a.routerAnimation)});return function(l){return h.apply(this,arguments)}}(),this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,m.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=s.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,s.b)(this)?s.c.get("backButtonIcon",g.c):s.c.get("backButtonIcon",g.a))}get backButtonText(){const r="ios"===(0,s.b)(this)?"Back":null;return null!=this.text?this.text:s.c.get("backButtonText",r)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:r,defaultHref:a,disabled:h,type:l,hasIconOnly:p,backButtonIcon:k,backButtonText:v,icon:w,inheritedAttributes:_}=this,B=void 0!==a,y=(0,s.b)(this),C=_["aria-label"]||v||"back";return(0,e.h)(e.H,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:(0,d.c)(r,{[y]:!0,button:!0,"back-button-disabled":h,"back-button-has-icon-only":p,"in-toolbar":(0,d.h)("ion-toolbar",this.el),"in-toolbar-color":(0,d.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":B})},(0,e.h)("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:l,disabled:h,class:"button-native",part:"native","aria-label":C},(0,e.h)("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},k&&(0,e.h)("ion-icon",{part:"icon",icon:k,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===w}),v&&(0,e.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},v)),"md"===y&&(0,e.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,e.f)(this)}};c.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}},3814:(x,u,i)=>{i.d(u,{c:()=>m,g:()=>g,h:()=>e,o:()=>f});var b=i(5861);const e=(n,t)=>null!==t.closest(n),m=(n,t)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},t):t,g=n=>{const t={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(o=>null!=o).map(o=>o.trim()).filter(o=>""!==o):[])(n).forEach(o=>t[o]=!0),t},s=/^[a-z][a-z0-9+\-.]*:/,f=function(){var n=(0,b.Z)(function*(t,o,c,r){if(null!=t&&"#"!==t[0]&&!s.test(t)){const a=document.querySelector("ion-router");if(a)return o?.preventDefault(),a.push(t,c,r)}return!1});return function(o,c,r,a){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2073.e38a9980dd36649f.js b/2073.e38a9980dd36649f.js new file mode 100644 index 00000000..b1e45c89 --- /dev/null +++ b/2073.e38a9980dd36649f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2073],{2073:(x,u,i)=>{i.r(u),i.d(u,{ion_back_button:()=>c});var b=i(5861),e=i(2477),m=i(8635),d=i(3814),g=i(4896),s=i(7943);const c=class{constructor(r){var a=this;(0,e.r)(this,r),this.inheritedAttributes={},this.onClick=function(){var h=(0,b.Z)(function*(l){const p=a.el.closest("ion-nav");return l.preventDefault(),p&&(yield p.canGoBack())?p.pop({animationBuilder:a.routerAnimation,skipIfBusy:!0}):(0,d.o)(a.defaultHref,l,"back",a.routerAnimation)});return function(l){return h.apply(this,arguments)}}(),this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,m.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=s.c.get("backButtonDefaultHref"))}get backButtonIcon(){return this.icon??("ios"===(0,s.b)(this)?s.c.get("backButtonIcon",g.c):s.c.get("backButtonIcon",g.a))}get backButtonText(){const r="ios"===(0,s.b)(this)?"Back":null;return null!=this.text?this.text:s.c.get("backButtonText",r)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:r,defaultHref:a,disabled:h,type:l,hasIconOnly:p,backButtonIcon:k,backButtonText:v,icon:w,inheritedAttributes:_}=this,B=void 0!==a,y=(0,s.b)(this),C=_["aria-label"]||v||"back";return(0,e.h)(e.H,{key:"9e837be314ee8ea487ba2771d36668ef58442faa",onClick:this.onClick,class:(0,d.c)(r,{[y]:!0,button:!0,"back-button-disabled":h,"back-button-has-icon-only":p,"in-toolbar":(0,d.h)("ion-toolbar",this.el),"in-toolbar-color":(0,d.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":B})},(0,e.h)("button",{key:"c4531348bd80cf6163931c5fb432526aa8127043",type:l,disabled:h,class:"button-native",part:"native","aria-label":C},(0,e.h)("span",{key:"aab8c6d5f0a84aed9f4e4a2532a239b28c7d5589",class:"button-inner"},k&&(0,e.h)("ion-icon",{key:"121eae10947b46a3d109709b79f4126b1c40ade4",part:"icon",icon:k,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===w}),v&&(0,e.h)("span",{key:"11c28875cc52b99470525d18c1f88f27c390a75a",part:"text","aria-hidden":"true",class:"button-text"},v)),"md"===y&&(0,e.h)("ion-ripple-effect",{key:"804bf8a06cd033c99d61ec2665c842b3b25945fa",type:this.rippleType})))}get el(){return(0,e.f)(this)}};c.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'}},3814:(x,u,i)=>{i.d(u,{c:()=>m,g:()=>g,h:()=>e,o:()=>f});var b=i(5861);const e=(n,t)=>null!==t.closest(n),m=(n,t)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},t):t,g=n=>{const t={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(o=>null!=o).map(o=>o.trim()).filter(o=>""!==o):[])(n).forEach(o=>t[o]=!0),t},s=/^[a-z][a-z0-9+\-.]*:/,f=function(){var n=(0,b.Z)(function*(t,o,c,r){if(null!=t&&"#"!==t[0]&&!s.test(t)){const a=document.querySelector("ion-router");if(a)return o?.preventDefault(),a.push(t,c,r)}return!1});return function(o,c,r,a){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2349.0f2f0c16e7c243e7.js b/2349.0f2f0c16e7c243e7.js new file mode 100644 index 00000000..f4d47309 --- /dev/null +++ b/2349.0f2f0c16e7c243e7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2349],{2349:(ke,Q,c)=>{c.r(Q),c.d(Q,{ion_modal:()=>ge});var D=c(5861),h=c(2477),A=c(7003),$=c(5030),f=c(8635),ne=c(7389),z=c(8909),b=c(6319),l=c(7346),S=c(3814),F=c(9721),Y=c(7943),U=c(922),u=c(4963),de=c(5069),le=c(5067),X=c(2972),j=(c(3006),c(3037),c(2889),(()=>{return(e=j||(j={})).Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT",j;var e})());const Z={getEngine(){const e=(0,b.g)();if(e?.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},supportsDefaultStatusBarStyle:()=>!!(0,b.g)()?.PluginHeaders,setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:(e=(0,D.Z)(function*(){const t=this.getEngine();if(!t)return j.Default;const{style:n}=yield t.getInfo();return n}),function(){return e.apply(this,arguments)})},oe=(e,t)=>{if(1===t)return 0;const n=1/(1-t);return e*n+-t*n},ce=()=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:j.Dark})},re=(e=j.Default)=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:e})},pe=function(){var e=(0,D.Z)(function*(t,n){"function"!=typeof t.canDismiss||!(yield t.canDismiss(void 0,l.G))||(n.isRunning()?n.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))});return function(n,o){return e.apply(this,arguments)}}(),ie=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,he=(e,t)=>(0,f.l)(400,e/Math.abs(1.1*t),500),fe=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=void 0===n||n{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=`calc(var(--backdrop-opacity) * ${oe(t,n)})`,i=[{offset:0,opacity:o},{offset:1,opacity:0}],r=[{offset:0,opacity:o},{offset:n,opacity:0},{offset:1,opacity:0}],s=(0,u.c)("backdropAnimation").keyframes(0!==n?r:i);return{wrapperAnimation:(0,u.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*t}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},me=(e,t)=>{const{presentingEl:n,currentBreakpoint:o}=t,i=(0,f.g)(e),{wrapperAnimation:r,backdropAnimation:s}=void 0!==o?fe(t):{backdropAnimation:(0,u.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,u.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(i.querySelector("ion-backdrop")),r.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const a=(0,u.c)("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(n){const d=window.innerWidth<768,_="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,v=(0,f.g)(n),B=(0,u.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),w=document.body;if(d){const y=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",E=`translateY(${_?"-10px":y}) scale(0.93)`;B.afterStyles({transform:E}).beforeAddWrite(()=>w.style.setProperty("background-color","black")).addElement(n).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:E,borderRadius:"10px 10px 0 0"}]),a.addAnimation(B)}else if(a.addAnimation(s),_){const k=`translateY(-10px) scale(${_?.93:1})`;B.afterStyles({transform:k}).addElement(v.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:k}]);const p=(0,u.c)().afterStyles({transform:k}).addElement(v.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:k}]);a.addAnimation([B,p])}else r.fromTo("opacity","0","1")}else a.addAnimation(s);return a},be=(e,t,n=500)=>{const{presentingEl:o,currentBreakpoint:i}=t,r=(0,f.g)(e),{wrapperAnimation:s,backdropAnimation:a}=void 0!==i?ue(t):{backdropAnimation:(0,u.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,u.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};a.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=(0,u.c)("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(s);if(o){const _=window.innerWidth<768,v="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,B=(0,f.g)(o),w=(0,u.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(k=>{1===k&&(o.style.setProperty("overflow",""),Array.from(y.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(E=>void 0!==E.presentingElement).length<=1&&y.style.setProperty("background-color",""))}),y=document.body;if(_){const k=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",N=`translateY(${v?"-10px":k}) scale(0.93)`;w.addElement(o).keyframes([{offset:0,filter:"contrast(0.85)",transform:N,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(w)}else if(d.addAnimation(a),v){const p=`translateY(-10px) scale(${v?.93:1})`;w.addElement(B.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:p},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const E=(0,u.c)().addElement(B.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:p},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([w,E])}else s.fromTo("opacity","1","0")}else d.addAnimation(a);return d},Ee=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,f.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?fe(t):{backdropAnimation:(0,u.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,u.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,u.c)().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,i])},De=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,f.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?ue(t):{backdropAnimation:(0,u.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,u.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,u.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,i])},ge=class{constructor(e){(0,h.r)(this,e),this.didPresent=(0,h.d)(this,"ionModalDidPresent",7),this.willPresent=(0,h.d)(this,"ionModalWillPresent",7),this.willDismiss=(0,h.d)(this,"ionModalWillDismiss",7),this.didDismiss=(0,h.d)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,h.d)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,h.d)(this,"didPresent",7),this.willPresentShorthand=(0,h.d)(this,"willPresent",7),this.willDismissShorthand=(0,h.d)(this,"willDismiss",7),this.didDismissShorthand=(0,h.d)(this,"didDismiss",7),this.ionMount=(0,h.d)(this,"ionMount",7),this.lockController=(0,ne.c)(),this.triggerController=(0,l.e)(),this.coreDelegate=(0,$.C)(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:n}=this;"cycle"!==n||void 0!==t||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,l.B)},this.onLifecycle=t=>{const n=this.usersElement,o=Me[t.type];if(n&&o){const i=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(i)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}triggerChanged(){const{trigger:e,el:t,triggerController:n}=this;e&&n.addClickListener(t,e)}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((t,n)=>t-n))}connectedCallback(){const{el:e}=this;(0,l.j)(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:e,initialBreakpoint:t,el:n,htmlAttributes:o}=this,i=this.isSheetModal=void 0!==e&&void 0!==t,r=["aria-label","role"];this.inheritedAttributes=(0,f.k)(n,r),void 0!==o&&r.forEach(s=>{o[s]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[s]:o[s]}),delete o[s])}),i&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==e&&void 0!==t&&!e.includes(t)&&(0,z.p)("Your breakpoints array must include the initialBreakpoint value."),(0,l.k)(n)}componentDidLoad(){!0===this.isOpen&&(0,f.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const n=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:n,delegate:this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(e,t){var n=this;return(0,D.Z)(function*(){const{canDismiss:o}=n;return"function"==typeof o?o(e,t):o})()}present(){var e=this;return(0,D.Z)(function*(){const t=yield e.lockController.lock();if(e.presented)return void t();const{presentingElement:n,el:o}=e;e.currentBreakpoint=e.initialBreakpoint;const{inline:i,delegate:r}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(r,o,e.component,["ion-page"],e.componentProps,i),(0,f.m)(o)?yield(0,F.e)(e.usersElement):e.keepContentsMounted||(yield(0,F.w)()),(0,h.w)(()=>e.el.classList.add("show-modal"));const s=void 0!==n;s&&"ios"===(0,Y.b)(e)&&(e.statusBarStyle=yield Z.getStyle(),ce()),yield(0,l.f)(e,"modalEnter",me,Ee,{presentingEl:n,currentBreakpoint:e.initialBreakpoint,backdropBreakpoint:e.backdropBreakpoint}),typeof window<"u"&&(e.keyboardOpenCallback=()=>{e.gesture&&(e.gesture.enable(!1),(0,f.r)(()=>{e.gesture&&e.gesture.enable(!0)}))},window.addEventListener(U.KEYBOARD_DID_OPEN,e.keyboardOpenCallback)),e.isSheetModal?e.initSheetGesture():s&&e.initSwipeToClose(),t()})()}initSwipeToClose(){var t,e=this;if("ios"!==(0,Y.b)(this))return;const{el:n}=this,o=this.leaveAnimation||Y.c.get("modalLeave",be),i=this.animation=o(n,{presentingEl:this.presentingElement});if(!(0,A.a)(n))return void(0,A.p)(n);const s=null!==(t=this.statusBarStyle)&&void 0!==t?t:j.Default;this.gesture=((e,t,n,o)=>{const r=e.offsetHeight;let s=!1,a=!1,d=null,_=null,B=!0,w=0;const V=(0,le.createGesture)({el:e,gestureName:"modalSwipeToClose",gesturePriority:l.O,direction:"y",threshold:10,canStart:g=>{const m=g.event.target;return null===m||!m.closest||(d=(0,A.f)(m),d?(_=(0,A.i)(d)?(0,f.g)(d).querySelector(".inner-scroll"):d,!d.querySelector("ion-refresher")&&0===_.scrollTop):null===m.closest("ion-footer"))},onStart:g=>{const{deltaY:m}=g;B=!d||!(0,A.i)(d)||d.scrollY,a=void 0!==e.canDismiss&&!0!==e.canDismiss,m>0&&d&&(0,A.d)(d),t.progressStart(!0,s?1:0)},onMove:g=>{const{deltaY:m}=g;m>0&&d&&(0,A.d)(d);const P=g.deltaY/r,I=P>=0&&a,L=I?.2:.9999,H=I?ie(P/L):P,O=(0,f.l)(1e-4,H,L);t.progressStep(O),O>=.5&&w<.5?re(n):O<.5&&w>=.5&&ce(),w=O},onEnd:g=>{const m=g.velocityY,P=g.deltaY/r,I=P>=0&&a,L=I?.2:.9999,H=I?ie(P/L):P,O=(0,f.l)(1e-4,H,L),W=!I&&(g.deltaY+1e3*m)/r>=.5;let J=W?-.001:.001;W?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),J+=(0,de.g)([0,0],[.32,.72],[0,1],[1,1],O)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),J+=(0,de.g)([0,0],[1,0],[.68,.28],[1,1],O)[0]);const ee=he(W?P*r:(1-O)*r,m);s=W,V.enable(!1),d&&(0,A.r)(d,B),t.onFinish(()=>{W||V.enable(!0)}).progressEnd(W?1:0,J,ee),I&&O>L/4?pe(e,t):W&&o()}});return V})(n,i,s,()=>{this.gestureAnimationDismissing=!0,re(this.statusBarStyle),this.animation.onFinish((0,D.Z)(function*(){yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:n}=this;if(!e||void 0===t)return;const o=this.enterAnimation||Y.c.get("modalEnter",me),i=this.animation=o(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:n});i.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:s}=((e,t,n,o,i,r,s=[],a,d,_)=>{const w={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==i?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},y=e.querySelector("ion-content"),k=n.clientHeight;let p=o,E=0,N=!1;const g=r.childAnimations.find(x=>"wrapperAnimation"===x.id),m=r.childAnimations.find(x=>"backdropAnimation"===x.id),P=s[s.length-1],I=s[0],L=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove("ion-disable-focus-trap")},H=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add("ion-disable-focus-trap")};g&&m&&(g.keyframes([...w.WRAPPER_KEYFRAMES]),m.keyframes([...w.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-p),p>i?L():H()),y&&p!==P&&(y.scrollY=!1);const ee=x=>{const{breakpoint:C,canDismiss:M,breakpointOffset:R,animated:G}=x,K=M&&0===C,T=K?p:C,ye=0!==T;return p=0,g&&m&&(g.keyframes([{offset:0,transform:`translateY(${100*R}%)`},{offset:1,transform:`translateY(${100*(1-T)}%)`}]),m.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${oe(1-R,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${oe(T,i)})`}]),r.progressStep(0)),te.enable(!1),K?pe(e,r):ye||d(),y&&T===s[s.length-1]&&(y.scrollY=!0),new Promise(ae=>{r.onFinish(()=>{ye?g&&m?(0,f.r)(()=>{g.keyframes([...w.WRAPPER_KEYFRAMES]),m.keyframes([...w.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-T),p=T,_(p),p>i?L():H(),te.enable(!0),ae()}):(te.enable(!0),ae()):ae()},{oneTimeCallback:!0}).progressEnd(1,0,G?500:0)})},te=(0,le.createGesture)({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:x=>{const C=(0,A.f)(x.event.target);if(p=a(),1===p&&C){const M=(0,A.i)(C)?(0,f.g)(C).querySelector(".inner-scroll"):C;return!C.querySelector("ion-refresher")&&0===M.scrollTop}return!0},onStart:x=>{N=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===I,x.deltaY>0&&y&&(y.scrollY=!1),(0,f.r)(()=>{e.focus()}),r.progressStart(!0,1-p)},onMove:x=>{x.deltaY>0&&y&&(y.scrollY=!1);const M=s.length>1?1-s[1]:void 0,R=1-p+x.deltaY/k,G=void 0!==M&&R>=M&&N,K=G?.95:.9999,T=G&&void 0!==M?M+ie((R-M)/(K-M)):R;E=(0,f.l)(1e-4,T,K),r.progressStep(E)},onEnd:x=>{const R=p-(x.deltaY+350*x.velocityY)/k,G=s.reduce((K,T)=>Math.abs(T-R){var a;return null!==(a=this.currentBreakpoint)&&void 0!==a?a:0},()=>this.sheetOnDismiss(),a=>{this.currentBreakpoint!==a&&(this.currentBreakpoint=a,this.ionBreakpointDidChange.emit({breakpoint:a}))});this.gesture=r,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){var e=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,D.Z)(function*(){e.currentBreakpoint=0,e.ionBreakpointDidChange.emit({breakpoint:e.currentBreakpoint}),yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}dismiss(e,t){var n=this;return(0,D.Z)(function*(){var o;if(n.gestureAnimationDismissing&&t!==l.G)return!1;const i=yield n.lockController.lock();if("handler"!==t&&!(yield n.checkCanDismiss(e,t)))return i(),!1;const{presentingElement:r}=n;void 0!==r&&"ios"===(0,Y.b)(n)&&re(n.statusBarStyle),typeof window<"u"&&n.keyboardOpenCallback&&(window.removeEventListener(U.KEYBOARD_DID_OPEN,n.keyboardOpenCallback),n.keyboardOpenCallback=void 0);const a=yield(0,l.g)(n,e,t,"modalLeave",be,De,{presentingEl:r,currentBreakpoint:null!==(o=n.currentBreakpoint)&&void 0!==o?o:n.initialBreakpoint,backdropBreakpoint:n.backdropBreakpoint});if(a){const{delegate:d}=n.getDelegate();yield(0,$.d)(d,n.usersElement),(0,h.w)(()=>n.el.classList.remove("show-modal")),n.animation&&n.animation.destroy(),n.gesture&&n.gesture.destroy()}return n.currentBreakpoint=void 0,n.animation=void 0,i(),a})()}onDidDismiss(){return(0,l.h)(this.el,"ionModalDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(e){var t=this;return(0,D.Z)(function*(){if(!t.isSheetModal)return void(0,z.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!t.breakpoints.includes(e))return void(0,z.p)(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:n,moveSheetToBreakpoint:o,canDismiss:i,breakpoints:r,animated:s}=t;n!==e&&o&&(t.sheetTransition=o({breakpoint:e,breakpointOffset:1-n,canDismiss:void 0!==i&&!0!==i&&0===r[0],animated:s}),yield t.sheetTransition,t.sheetTransition=void 0)})()}getCurrentBreakpoint(){var e=this;return(0,D.Z)(function*(){return e.currentBreakpoint})()}moveToNextBreakpoint(){var e=this;return(0,D.Z)(function*(){const{breakpoints:t,currentBreakpoint:n}=e;if(!t||null==n)return!1;const o=t.filter(a=>0!==a),r=(o.indexOf(n)+1)%o.length,s=o[r];return yield e.setCurrentBreakpoint(s),!0})()}render(){const{handle:e,isSheetModal:t,presentingElement:n,htmlAttributes:o,handleBehavior:i,inheritedAttributes:r}=this,s=!1!==e&&t,a=(0,Y.b)(this),d=void 0!==n&&"ios"===a,_="cycle"===i;return(0,h.h)(h.H,Object.assign({key:"e4ad28e6e794560d85252aebdca7f4752e4e7e99","no-router":!0,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[a]:!0,"modal-default":!d&&!t,"modal-card":d,"modal-sheet":t,"overlay-hidden":!0},(0,S.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,h.h)("ion-backdrop",{key:"6efd67361a062d15488390f9f0d6c0841e541893",ref:v=>this.backdropEl=v,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===a&&(0,h.h)("div",{key:"557b1c6b297df75acc80d1350b971e65ace6c343",class:"modal-shadow"}),(0,h.h)("div",Object.assign({key:"67f9b27b662303fbaadaee2ae89972caadfd9994",role:"dialog"},r,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:v=>this.wrapperEl=v}),s&&(0,h.h)("button",{key:"8f1eecc451b52467a8c3cfe500335cf6254bbfbc",class:"modal-handle",tabIndex:_?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:_?this.onHandleClick:void 0,part:"handle"}),(0,h.h)("slot",{key:"cdc923404f01a14b9071a434c68547da3b22c71e"})))}get el(){return(0,h.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Me={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var e;ge.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}},3814:(ke,Q,c)=>{c.d(Q,{c:()=>A,g:()=>f,h:()=>h,o:()=>z});var D=c(5861);const h=(b,l)=>null!==l.closest(b),A=(b,l)=>"string"==typeof b&&b.length>0?Object.assign({"ion-color":!0,[`ion-color-${b}`]:!0},l):l,f=b=>{const l={};return(b=>void 0!==b?(Array.isArray(b)?b:b.split(" ")).filter(S=>null!=S).map(S=>S.trim()).filter(S=>""!==S):[])(b).forEach(S=>l[S]=!0),l},ne=/^[a-z][a-z0-9+\-.]*:/,z=function(){var b=(0,D.Z)(function*(l,S,F,Y){if(null!=l&&"#"!==l[0]&&!ne.test(l)){const U=document.querySelector("ion-router");if(U)return S?.preventDefault(),U.push(l,F,Y)}return!1});return function(S,F,Y,U){return b.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2349.5e24a7b190a17a67.js b/2349.5e24a7b190a17a67.js deleted file mode 100644 index 658a8fcf..00000000 --- a/2349.5e24a7b190a17a67.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2349],{2349:(ke,Q,p)=>{p.r(Q),p.d(Q,{ion_modal:()=>ge});var D=p(5861),h=p(6541),M=p(7003),$=p(5030),u=p(8635),ne=p(7389),z=p(8909),b=p(6319),l=p(4393),E=p(3814),F=p(2005),L=p(4700),U=p(922),f=p(4963),de=p(5069),le=p(5067),X=p(2972),j=(p(9019),p(3037),p(2889),(()=>{return(e=j||(j={})).Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT",j;var e})());const Z={getEngine(){const e=(0,b.g)();if(e?.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},supportsDefaultStatusBarStyle:()=>!!(0,b.g)()?.PluginHeaders,setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:(e=(0,D.Z)(function*(){const t=this.getEngine();if(!t)return j.Default;const{style:n}=yield t.getInfo();return n}),function(){return e.apply(this,arguments)})},oe=(e,t)=>{if(1===t)return 0;const n=1/(1-t);return e*n+-t*n},ce=()=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:j.Dark})},re=(e=j.Default)=>{!X.w||X.w.innerWidth>=768||!Z.supportsDefaultStatusBarStyle()||Z.setStyle({style:e})},pe=function(){var e=(0,D.Z)(function*(t,n){"function"!=typeof t.canDismiss||!(yield t.canDismiss(void 0,l.G))||(n.isRunning()?n.onFinish(()=>{t.dismiss(void 0,"handler")},{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))});return function(n,o){return e.apply(this,arguments)}}(),ie=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,he=(e,t)=>(0,u.l)(400,e/Math.abs(1.1*t),500),fe=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=void 0===n||n{const{currentBreakpoint:t,backdropBreakpoint:n}=e,o=`calc(var(--backdrop-opacity) * ${oe(t,n)})`,i=[{offset:0,opacity:o},{offset:1,opacity:0}],r=[{offset:0,opacity:o},{offset:n,opacity:0},{offset:1,opacity:0}],s=(0,f.c)("backdropAnimation").keyframes(0!==n?r:i);return{wrapperAnimation:(0,f.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*t}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:s}},me=(e,t)=>{const{presentingEl:n,currentBreakpoint:o}=t,i=(0,u.g)(e),{wrapperAnimation:r,backdropAnimation:s}=void 0!==o?fe(t):{backdropAnimation:(0,f.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,f.c)().fromTo("transform","translateY(100vh)","translateY(0vh)")};s.addElement(i.querySelector("ion-backdrop")),r.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const a=(0,f.c)("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(n){const d=window.innerWidth<768,v="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,k=(0,u.g)(n),A=(0,f.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),x=document.body;if(d){const w=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",_=`translateY(${v?"-10px":w}) scale(0.93)`;A.afterStyles({transform:_}).beforeAddWrite(()=>x.style.setProperty("background-color","black")).addElement(n).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:_,borderRadius:"10px 10px 0 0"}]),a.addAnimation(A)}else if(a.addAnimation(s),v){const y=`translateY(-10px) scale(${v?.93:1})`;A.afterStyles({transform:y}).addElement(k.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:y}]);const c=(0,f.c)().afterStyles({transform:y}).addElement(k.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:y}]);a.addAnimation([A,c])}else r.fromTo("opacity","0","1")}else a.addAnimation(s);return a},be=(e,t,n=500)=>{const{presentingEl:o,currentBreakpoint:i}=t,r=(0,u.g)(e),{wrapperAnimation:s,backdropAnimation:a}=void 0!==i?ue(t):{backdropAnimation:(0,f.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,f.c)().fromTo("transform","translateY(0vh)","translateY(100vh)")};a.addElement(r.querySelector("ion-backdrop")),s.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const d=(0,f.c)("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(s);if(o){const v=window.innerWidth<768,k="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,A=(0,u.g)(o),x=(0,f.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(y=>{1===y&&(o.style.setProperty("overflow",""),Array.from(w.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(_=>void 0!==_.presentingElement).length<=1&&w.style.setProperty("background-color",""))}),w=document.body;if(v){const y=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",N=`translateY(${k?"-10px":y}) scale(0.93)`;x.addElement(o).keyframes([{offset:0,filter:"contrast(0.85)",transform:N,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),d.addAnimation(x)}else if(d.addAnimation(a),k){const c=`translateY(-10px) scale(${k?.93:1})`;x.addElement(A.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:c},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const _=(0,f.c)().addElement(A.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:c},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);d.addAnimation([x,_])}else s.fromTo("opacity","1","0")}else d.addAnimation(a);return d},Ee=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,u.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?fe(t):{backdropAnimation:(0,f.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:(0,f.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,f.c)().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,i])},De=(e,t)=>{const{currentBreakpoint:n}=t,o=(0,u.g)(e),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?ue(t):{backdropAnimation:(0,f.c)().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:(0,f.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,f.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,i])},ge=class{constructor(e){(0,h.r)(this,e),this.didPresent=(0,h.d)(this,"ionModalDidPresent",7),this.willPresent=(0,h.d)(this,"ionModalWillPresent",7),this.willDismiss=(0,h.d)(this,"ionModalWillDismiss",7),this.didDismiss=(0,h.d)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,h.d)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,h.d)(this,"didPresent",7),this.willPresentShorthand=(0,h.d)(this,"willPresent",7),this.willDismissShorthand=(0,h.d)(this,"willDismiss",7),this.didDismissShorthand=(0,h.d)(this,"didDismiss",7),this.ionMount=(0,h.d)(this,"ionMount",7),this.lockController=(0,ne.c)(),this.triggerController=(0,l.e)(),this.coreDelegate=(0,$.C)(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.onHandleClick=()=>{const{sheetTransition:t,handleBehavior:n}=this;"cycle"!==n||void 0!==t||this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:t}=this;void 0===t&&this.dismiss(void 0,l.B)},this.onLifecycle=t=>{const n=this.usersElement,o=Me[t.type];if(n&&o){const i=new CustomEvent(o,{bubbles:!1,cancelable:!1,detail:t.detail});n.dispatchEvent(i)}},this.presented=!1,this.hasController=!1,this.overlayIndex=void 0,this.delegate=void 0,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.breakpoints=void 0,this.initialBreakpoint=void 0,this.backdropBreakpoint=0,this.handle=void 0,this.handleBehavior="none",this.component=void 0,this.componentProps=void 0,this.cssClass=void 0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.presentingElement=void 0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0,this.keepContentsMounted=!1,this.canDismiss=!0}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}triggerChanged(){const{trigger:e,el:t,triggerController:n}=this;e&&n.addClickListener(t,e)}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((t,n)=>t-n))}connectedCallback(){const{el:e}=this;(0,l.j)(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){const{breakpoints:e,initialBreakpoint:t,el:n,htmlAttributes:o}=this,i=this.isSheetModal=void 0!==e&&void 0!==t,r=["aria-label","role"];this.inheritedAttributes=(0,u.k)(n,r),void 0!==o&&r.forEach(s=>{o[s]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[s]:o[s]}),delete o[s])}),i&&(this.currentBreakpoint=this.initialBreakpoint),void 0!==e&&void 0!==t&&!e.includes(t)&&(0,z.p)("Your breakpoints array must include the initialBreakpoint value."),(0,l.k)(n)}componentDidLoad(){!0===this.isOpen&&(0,u.r)(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const n=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:n,delegate:this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate}}checkCanDismiss(e,t){var n=this;return(0,D.Z)(function*(){const{canDismiss:o}=n;return"function"==typeof o?o(e,t):o})()}present(){var e=this;return(0,D.Z)(function*(){const t=yield e.lockController.lock();if(e.presented)return void t();const{presentingElement:n,el:o}=e;e.currentBreakpoint=e.initialBreakpoint;const{inline:i,delegate:r}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(r,o,e.component,["ion-page"],e.componentProps,i),(0,u.m)(o)?yield(0,F.e)(e.usersElement):e.keepContentsMounted||(yield(0,F.w)()),(0,h.w)(()=>e.el.classList.add("show-modal"));const s=void 0!==n;s&&"ios"===(0,L.b)(e)&&(e.statusBarStyle=yield Z.getStyle(),ce()),yield(0,l.f)(e,"modalEnter",me,Ee,{presentingEl:n,currentBreakpoint:e.initialBreakpoint,backdropBreakpoint:e.backdropBreakpoint}),typeof window<"u"&&(e.keyboardOpenCallback=()=>{e.gesture&&(e.gesture.enable(!1),(0,u.r)(()=>{e.gesture&&e.gesture.enable(!0)}))},window.addEventListener(U.KEYBOARD_DID_OPEN,e.keyboardOpenCallback)),e.isSheetModal?e.initSheetGesture():s&&e.initSwipeToClose(),t()})()}initSwipeToClose(){var t,e=this;if("ios"!==(0,L.b)(this))return;const{el:n}=this,o=this.leaveAnimation||L.c.get("modalLeave",be),i=this.animation=o(n,{presentingEl:this.presentingElement});if(!(0,M.a)(n))return void(0,M.p)(n);const s=null!==(t=this.statusBarStyle)&&void 0!==t?t:j.Default;this.gesture=((e,t,n,o)=>{const r=e.offsetHeight;let s=!1,a=!1,d=null,v=null,A=!0,x=0;const V=(0,le.createGesture)({el:e,gestureName:"modalSwipeToClose",gesturePriority:l.O,direction:"y",threshold:10,canStart:g=>{const m=g.event.target;return null===m||!m.closest||(d=(0,M.f)(m),d?(v=(0,M.i)(d)?(0,u.g)(d).querySelector(".inner-scroll"):d,!d.querySelector("ion-refresher")&&0===v.scrollTop):null===m.closest("ion-footer"))},onStart:g=>{const{deltaY:m}=g;A=!d||!(0,M.i)(d)||d.scrollY,a=void 0!==e.canDismiss&&!0!==e.canDismiss,m>0&&d&&(0,M.d)(d),t.progressStart(!0,s?1:0)},onMove:g=>{const{deltaY:m}=g;m>0&&d&&(0,M.d)(d);const B=g.deltaY/r,P=B>=0&&a,O=P?.2:.9999,H=P?ie(B/O):B,C=(0,u.l)(1e-4,H,O);t.progressStep(C),C>=.5&&x<.5?re(n):C<.5&&x>=.5&&ce(),x=C},onEnd:g=>{const m=g.velocityY,B=g.deltaY/r,P=B>=0&&a,O=P?.2:.9999,H=P?ie(B/O):B,C=(0,u.l)(1e-4,H,O),R=!P&&(g.deltaY+1e3*m)/r>=.5;let J=R?-.001:.001;R?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),J+=(0,de.g)([0,0],[.32,.72],[0,1],[1,1],C)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),J+=(0,de.g)([0,0],[1,0],[.68,.28],[1,1],C)[0]);const ee=he(R?B*r:(1-C)*r,m);s=R,V.enable(!1),d&&(0,M.r)(d,A),t.onFinish(()=>{R||V.enable(!0)}).progressEnd(R?1:0,J,ee),P&&C>O/4?pe(e,t):R&&o()}});return V})(n,i,s,()=>{this.gestureAnimationDismissing=!0,re(this.statusBarStyle),this.animation.onFinish((0,D.Z)(function*(){yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:n}=this;if(!e||void 0===t)return;const o=this.enterAnimation||L.c.get("modalEnter",me),i=this.animation=o(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:n});i.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:s}=((e,t,n,o,i,r,s=[],a,d,v)=>{const x={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==i?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}]},w=e.querySelector("ion-content"),y=n.clientHeight;let c=o,_=0,N=!1;const g=r.childAnimations.find(S=>"wrapperAnimation"===S.id),m=r.childAnimations.find(S=>"backdropAnimation"===S.id),B=s[s.length-1],P=s[0],O=()=>{e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove("ion-disable-focus-trap")},H=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add("ion-disable-focus-trap")};g&&m&&(g.keyframes([...x.WRAPPER_KEYFRAMES]),m.keyframes([...x.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-c),c>i?O():H()),w&&c!==B&&(w.scrollY=!1);const ee=S=>{const{breakpoint:W,canDismiss:T,breakpointOffset:Y,animated:G}=S,K=T&&0===W,I=K?c:W,ye=0!==I;return c=0,g&&m&&(g.keyframes([{offset:0,transform:`translateY(${100*Y}%)`},{offset:1,transform:`translateY(${100*(1-I)}%)`}]),m.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${oe(1-Y,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${oe(I,i)})`}]),r.progressStep(0)),te.enable(!1),K?pe(e,r):ye||d(),new Promise(ae=>{r.onFinish(()=>{ye?g&&m?(0,u.r)(()=>{g.keyframes([...x.WRAPPER_KEYFRAMES]),m.keyframes([...x.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-I),c=I,v(c),w&&c===s[s.length-1]&&(w.scrollY=!0),c>i?O():H(),te.enable(!0),ae()}):(te.enable(!0),ae()):ae()},{oneTimeCallback:!0}).progressEnd(1,0,G?500:0)})},te=(0,le.createGesture)({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:S=>{const W=S.event.target.closest("ion-content");return c=a(),!(1===c&&W)},onStart:()=>{N=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===P,w&&(w.scrollY=!1),(0,u.r)(()=>{e.focus()}),r.progressStart(!0,1-c)},onMove:S=>{const T=s.length>1?1-s[1]:void 0,Y=1-c+S.deltaY/y,G=void 0!==T&&Y>=T&&N,K=G?.95:.9999,I=G&&void 0!==T?T+ie((Y-T)/(K-T)):Y;_=(0,u.l)(1e-4,I,K),r.progressStep(_)},onEnd:S=>{const Y=c-(S.deltaY+350*S.velocityY)/y,G=s.reduce((K,I)=>Math.abs(I-Y){var a;return null!==(a=this.currentBreakpoint)&&void 0!==a?a:0},()=>this.sheetOnDismiss(),a=>{this.currentBreakpoint!==a&&(this.currentBreakpoint=a,this.ionBreakpointDidChange.emit({breakpoint:a}))});this.gesture=r,this.moveSheetToBreakpoint=s,this.gesture.enable(!0)}sheetOnDismiss(){var e=this;this.gestureAnimationDismissing=!0,this.animation.onFinish((0,D.Z)(function*(){e.currentBreakpoint=0,e.ionBreakpointDidChange.emit({breakpoint:e.currentBreakpoint}),yield e.dismiss(void 0,l.G),e.gestureAnimationDismissing=!1}))}dismiss(e,t){var n=this;return(0,D.Z)(function*(){var o;if(n.gestureAnimationDismissing&&t!==l.G)return!1;const i=yield n.lockController.lock();if("handler"!==t&&!(yield n.checkCanDismiss(e,t)))return i(),!1;const{presentingElement:r}=n;void 0!==r&&"ios"===(0,L.b)(n)&&re(n.statusBarStyle),typeof window<"u"&&n.keyboardOpenCallback&&(window.removeEventListener(U.KEYBOARD_DID_OPEN,n.keyboardOpenCallback),n.keyboardOpenCallback=void 0);const a=yield(0,l.g)(n,e,t,"modalLeave",be,De,{presentingEl:r,currentBreakpoint:null!==(o=n.currentBreakpoint)&&void 0!==o?o:n.initialBreakpoint,backdropBreakpoint:n.backdropBreakpoint});if(a){const{delegate:d}=n.getDelegate();yield(0,$.d)(d,n.usersElement),(0,h.w)(()=>n.el.classList.remove("show-modal")),n.animation&&n.animation.destroy(),n.gesture&&n.gesture.destroy()}return n.currentBreakpoint=void 0,n.animation=void 0,i(),a})()}onDidDismiss(){return(0,l.h)(this.el,"ionModalDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionModalWillDismiss")}setCurrentBreakpoint(e){var t=this;return(0,D.Z)(function*(){if(!t.isSheetModal)return void(0,z.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!t.breakpoints.includes(e))return void(0,z.p)(`Attempted to set invalid breakpoint value ${e}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:n,moveSheetToBreakpoint:o,canDismiss:i,breakpoints:r,animated:s}=t;n!==e&&o&&(t.sheetTransition=o({breakpoint:e,breakpointOffset:1-n,canDismiss:void 0!==i&&!0!==i&&0===r[0],animated:s}),yield t.sheetTransition,t.sheetTransition=void 0)})()}getCurrentBreakpoint(){var e=this;return(0,D.Z)(function*(){return e.currentBreakpoint})()}moveToNextBreakpoint(){var e=this;return(0,D.Z)(function*(){const{breakpoints:t,currentBreakpoint:n}=e;if(!t||null==n)return!1;const o=t.filter(a=>0!==a),r=(o.indexOf(n)+1)%o.length,s=o[r];return yield e.setCurrentBreakpoint(s),!0})()}render(){const{handle:e,isSheetModal:t,presentingElement:n,htmlAttributes:o,handleBehavior:i,inheritedAttributes:r}=this,s=!1!==e&&t,a=(0,L.b)(this),d=void 0!==n&&"ios"===a,v="cycle"===i;return(0,h.h)(h.H,Object.assign({key:"67ef0269a5e9b542d0c2acaa03a2f7f46b8cf0b5","no-router":!0,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[a]:!0,"modal-default":!d&&!t,"modal-card":d,"modal-sheet":t,"overlay-hidden":!0},(0,E.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,h.h)("ion-backdrop",{key:"edd98375e98d887dbea232adb81b74f164fa058b",ref:k=>this.backdropEl=k,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===a&&(0,h.h)("div",{class:"modal-shadow"}),(0,h.h)("div",Object.assign({key:"40437670391544b57b8a9943ef3b49de7acbd873",role:"dialog"},r,{"aria-modal":"true",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:k=>this.wrapperEl=k}),s&&(0,h.h)("button",{class:"modal-handle",tabIndex:v?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:v?this.onHandleClick:void 0,part:"handle"}),(0,h.h)("slot",{key:"dfe2095d9e1adb075dc09d1927ef24ea09ea5435"})))}get el(){return(0,h.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Me={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};var e;ge.style={ios:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-card:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.modal-sheet:dir(rtl)) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}}',md:':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, #c0c0be);cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}'}},3814:(ke,Q,p)=>{p.d(Q,{c:()=>M,g:()=>u,h:()=>h,o:()=>z});var D=p(5861);const h=(b,l)=>null!==l.closest(b),M=(b,l)=>"string"==typeof b&&b.length>0?Object.assign({"ion-color":!0,[`ion-color-${b}`]:!0},l):l,u=b=>{const l={};return(b=>void 0!==b?(Array.isArray(b)?b:b.split(" ")).filter(E=>null!=E).map(E=>E.trim()).filter(E=>""!==E):[])(b).forEach(E=>l[E]=!0),l},ne=/^[a-z][a-z0-9+\-.]*:/,z=function(){var b=(0,D.Z)(function*(l,E,F,L){if(null!=l&&"#"!==l[0]&&!ne.test(l)){const U=document.querySelector("ion-router");if(U)return E?.preventDefault(),U.push(l,F,L)}return!1});return function(E,F,L,U){return b.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2773.a1b20ff95ab58e61.js b/2773.8e8e2e3b657d9c11.js similarity index 93% rename from 2773.a1b20ff95ab58e61.js rename to 2773.8e8e2e3b657d9c11.js index 28c8aba0..c5b4ab8c 100644 --- a/2773.a1b20ff95ab58e61.js +++ b/2773.8e8e2e3b657d9c11.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2773],{2773:(F,_,r)=>{r.r(_),r.d(_,{ion_select:()=>j,ion_select_option:()=>D,ion_select_popover:()=>A});var x=r(5861),s=r(6541),I=r(5437),P=r(9980),w=r(2890),f=r(8635),O=r(8909),a=r(4393),p=r(6879),c=r(3814),C=r(2754),y=r(4896),g=r(4700);r(2972),r(9019);const j=class{constructor(e){(0,s.r)(this,e),this.ionChange=(0,s.d)(this,"ionChange",7),this.ionCancel=(0,s.d)(this,"ionCancel",7),this.ionDismiss=(0,s.d)(this,"ionDismiss",7),this.ionFocus=(0,s.d)(this,"ionFocus",7),this.ionBlur=(0,s.d)(this,"ionBlur",7),this.ionStyle=(0,s.d)(this,"ionStyle",7),this.inputId="ion-sel-"+U++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=t=>{const l=t.target,i=l.closest('[slot="start"], [slot="end"]');l===this.el||null===i?(this.setFocus(),this.open(t)):t.preventDefault()},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify="space-between",this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}componentWillLoad(){this.inheritedAttributes=(0,f.k)(this.el,["aria-label"])}connectedCallback(){var e=this;return(0,x.Z)(function*(){const{el:t}=e;e.legacyFormController=(0,I.c)(t),e.notchController=(0,P.c)(t,()=>e.notchSpacerEl,()=>e.labelSlot),e.updateOverlayOptions(),e.emitStyle(),e.mutationO=(0,C.w)(e.el,"ion-select-option",(0,x.Z)(function*(){e.updateOverlayOptions(),(0,s.i)(e)}))})()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}open(e){var t=this;return(0,x.Z)(function*(){if(t.disabled||t.isExpanded)return;t.isExpanded=!0;const l=t.overlay=yield t.createOverlay(e);if(l.onDidDismiss().then(()=>{t.overlay=void 0,t.isExpanded=!1,t.ionDismiss.emit(),t.setFocus()}),yield l.present(),"popover"===t.interface){const i=t.childOpts.map(o=>o.value).indexOf(t.value);if(i>-1){const o=l.querySelector(`.select-interface-option:nth-child(${i+1})`);if(o){(0,f.f)(o);const n=o.querySelector("ion-radio, ion-checkbox");n&&n.focus()}}else{const o=l.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");o&&((0,f.f)(o.closest("ion-item")),o.focus())}}return l})()}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"===t&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,l=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,l);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,l));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",l)}}createActionSheetButtons(e,t){const l=e.map(i=>{const o=E(i),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" "),h=`${L} ${n}`;return{role:(0,w.i)(t,o,this.compareWith)?"selected":"",text:i.textContent,cssClass:h,handler:()=>{this.setValue(o)}}});return l.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),l}createAlertInputs(e,t,l){return e.map(o=>{const n=E(o),h=Array.from(o.classList).filter(u=>"hydrated"!==u).join(" ");return{type:t,cssClass:`${L} ${h}`,label:o.textContent||"",value:n,checked:(0,w.i)(l,n,this.compareWith),disabled:o.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const o=E(i),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" ");return{text:i.textContent||"",cssClass:`${L} ${n}`,value:o,checked:(0,w.i)(t,o,this.compareWith),disabled:i.disabled,handler:d=>{this.setValue(d),this.multiple||this.close()}}})}openPopover(e){var t=this;return(0,x.Z)(function*(){const{fill:l,labelPlacement:i}=t,o=t.interfaceOptions,n=(0,g.b)(t),h="md"!==n,d=t.multiple,u=t.value;let b=e,v="auto";if(t.legacyFormController.hasLegacyControl()){const m=t.el.closest("ion-item");m&&(m.classList.contains("item-label-floating")||m.classList.contains("item-label-stacked"))&&(b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:m}}),v="cover")}else"floating"===i||"stacked"===i||"md"===n&&void 0!==l?v="cover":b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t.nativeWrapperEl}});const k=Object.assign(Object.assign({mode:n,event:b,alignment:"center",size:v,showBackdrop:h},o),{component:"ion-select-popover",cssClass:["select-popover",o.cssClass],componentProps:{header:o.header,subHeader:o.subHeader,message:o.message,multiple:d,value:u,options:t.createPopoverOptions(t.childOpts,u)}});return a.c.create(k)})()}openActionSheet(){var e=this;return(0,x.Z)(function*(){const t=(0,g.b)(e),l=e.interfaceOptions,i=Object.assign(Object.assign({mode:t},l),{buttons:e.createActionSheetButtons(e.childOpts,e.value),cssClass:["select-action-sheet",l.cssClass]});return a.b.create(i)})()}openAlert(){var e=this;return(0,x.Z)(function*(){let t,l;e.legacyFormController.hasLegacyControl()?(t=e.getLabel(),l=t?t.textContent:null):l=e.labelText;const i=e.interfaceOptions,o=e.multiple?"checkbox":"radio",n=(0,g.b)(e),h=Object.assign(Object.assign({mode:n},i),{header:i.header?i.header:l,inputs:e.createAlertInputs(e.childOpts,o,e.value),buttons:[{text:e.cancelText,role:"cancel",handler:()=>{e.ionCancel.emit()}},{text:e.okText,handler:d=>{e.setValue(d)}}],cssClass:["select-alert",i.cssClass,e.multiple?"multiple-select-alert":"single-select-alert"]});return a.a.create(h)})()}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return(0,f.h)(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:$(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this,t={"interactive-disabled":e};this.legacyFormController.hasLegacyControl()&&(t.interactive=!0,t.select=!0,t["select-disabled"]=e,t["has-placeholder"]=void 0!==this.placeholder,t["has-value"]=this.hasValue(),t["has-focus"]=this.isExpanded,t.legacy=!!this.legacy),this.ionStyle.emit(t)}renderLabel(){const{label:e}=this;return(0,s.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?(0,s.h)("slot",{name:"label"}):(0,s.h)("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,g.b)(this)&&"outline"===this.fill?[(0,s.h)("div",{class:"select-outline-container"},(0,s.h)("div",{class:"select-outline-start"}),(0,s.h)("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},(0,s.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:l=>this.notchSpacerEl=l},this.label)),(0,s.h)("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:e,el:t,isExpanded:l,expandedIcon:i,labelPlacement:o,justify:n,placeholder:h,fill:d,shape:u,name:b,value:v}=this,k=(0,g.b)(this),m="floating"===o||"stacked"===o,S=!m,Z=(0,p.i)(t)?"rtl":"ltr",M=(0,c.h)("ion-item",this.el),G="md"===k&&"outline"!==d&&!M,B=this.hasValue(),N=null!==t.querySelector('[slot="start"], [slot="end"]');(0,f.d)(!0,t,b,z(v),e);const J="stacked"===o||"floating"===o&&(B||l||N);return(0,s.h)(s.H,{onClick:this.onClick,class:(0,c.c)(this.color,{[k]:!0,"in-item":M,"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":l,"has-expanded-icon":void 0!==i,"has-value":B,"label-floating":J,"has-placeholder":void 0!==h,"ion-focusable":!0,[`select-${Z}`]:!0,[`select-fill-${d}`]:void 0!==d,[`select-justify-${n}`]:S,[`select-shape-${u}`]:void 0!==u,[`select-label-placement-${o}`]:!0})},(0,s.h)("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),(0,s.h)("div",{class:"select-wrapper-inner"},(0,s.h)("slot",{name:"start"}),(0,s.h)("div",{class:"native-wrapper",ref:Q=>this.nativeWrapperEl=Q,part:"container"},this.renderSelectText(),this.renderListbox()),(0,s.h)("slot",{name:"end"}),!m&&this.renderSelectIcon()),m&&this.renderSelectIcon(),G&&(0,s.h)("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||((0,O.p)('ion-select now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: ...\nExample with aria-label: ...\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,O.p)('ion-select is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n Developers can dismiss this warning by removing their usage of the "legacy" property and using the new select syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{disabled:e,el:t,inputId:l,isExpanded:i,expandedIcon:o,name:n,placeholder:h,value:d}=this,u=(0,g.b)(this),{labelText:b,labelId:v}=(0,f.e)(t,l);(0,f.d)(!0,t,n,z(d),e);let m=this.getText();""===m&&void 0!==h&&(m=h);const S=void 0!==b?""!==m?`${m}, ${b}`:b:m;return(0,s.h)(s.H,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":S,class:{[u]:!0,"in-item":(0,c.h)("ion-item",t),"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":i,"has-expanded-icon":void 0!==o,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),(0,s.h)("label",{id:v},S),this.renderListbox())}renderSelectText(){const{placeholder:e}=this;let l=!1,i=this.getText();return""===i&&void 0!==e&&(i=e,l=!0),(0,s.h)("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":l},part:l?"placeholder":"text"},i)}renderSelectIcon(){const e=(0,g.b)(this),{isExpanded:t,toggleIcon:l,expandedIcon:i}=this;let o;return o=t&&void 0!==i?i:l??("ios"===e?y.w:y.q),(0,s.h)("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})}get ariaLabel(){var e,t;const{placeholder:l,el:i,inputId:o,inheritedAttributes:n}=this,h=this.getText(),{labelText:d}=(0,f.e)(i,o),u=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:n["aria-label"])&&void 0!==t?t:d;let b=h;return""===b&&void 0!==l&&(b=l),void 0!==u&&(b=""===b?u:`${u}, ${b}`),b}renderListbox(){const{disabled:e,inputId:t,isExpanded:l}=this;return(0,s.h)("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${l}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:i=>this.focusEl=i})}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return(0,s.f)(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},E=e=>{const t=e.value;return void 0===t?e.textContent||"":t},z=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},$=(e,t,l)=>void 0===t?"":Array.isArray(t)?t.map(i=>T(e,i,l)).filter(i=>null!==i).join(", "):T(e,t,l)||"",T=(e,t,l)=>{const i=e.find(o=>(0,w.c)(t,E(o),l));return i?i.textContent:null};let U=0;const L="select-interface-option";j.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}:host(.select-fill-solid) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}:host-context([dir=rtl]):host(.select-fill-solid) .select-wrapper,:host-context([dir=rtl]).select-fill-solid .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){:host(.select-fill-solid:dir(rtl)) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:2px;--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-start{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-rtl.select-fill-outline) .select-outline-start{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-end{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-rtl.select-fill-outline) .select-outline-end{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}:host(.legacy-select){--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, gray)}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){.select-highlight{left:0}:host-context([dir=rtl]) .select-highlight{left:unset;right:unset;right:0}[dir=rtl] .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}@supports (inset-inline-start: 0){:host(.in-item) .select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.in-item) .select-highlight{left:0}:host-context([dir=rtl]):host(.in-item) .select-highlight,:host-context([dir=rtl]).in-item .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.in-item:dir(rtl)) .select-highlight{left:unset;right:unset;right:0}}}:host(.select-expanded:not(.legacy-select):not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"};const D=class{constructor(e){(0,s.r)(this,e),this.inputId="ion-selopt-"+V++,this.disabled=!1,this.value=void 0}render(){return(0,s.h)(s.H,{key:"69bd6a2dbbc0ab32cc607a74df10f3fb3d6e3295",role:"option",id:this.inputId,class:(0,g.b)(this)})}get el(){return(0,s.f)(this)}};let V=0;D.style=":host{display:none}";const A=class{constructor(e){(0,s.r)(this,e),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find(l=>l.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),l=this.getValues(e);t?.handler&&(0,a.s)(t.handler,l)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,l=this.findOptionFromEvent(e);t&&l&&(l.checked=e.detail.checked)}getValues(e){const{multiple:t,options:l}=this;if(t)return l.filter(o=>o.checked).map(o=>o.value);const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map(t=>(0,s.h)("ion-item",{class:Object.assign({"item-checkbox-checked":t.checked},(0,c.g)(t.cssClass))},(0,s.h)("ion-checkbox",{value:t.value,disabled:t.disabled,checked:t.checked,justify:"start",labelPlacement:"end",onIonChange:l=>{this.setChecked(l),this.callOptionHandler(l),(0,s.i)(this)}},t.text)))}renderRadioOptions(e){const t=e.filter(l=>l.checked).map(l=>l.value)[0];return(0,s.h)("ion-radio-group",{value:t,onIonChange:l=>this.callOptionHandler(l)},e.map(l=>(0,s.h)("ion-item",{class:Object.assign({"item-radio-checked":l.value===t},(0,c.g)(l.cssClass))},(0,s.h)("ion-radio",{value:l.value,disabled:l.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:i=>{" "===i.key&&this.dismissParentPopover()}},l.text))))}render(){const{header:e,message:t,options:l,subHeader:i}=this,o=void 0!==i||void 0!==t;return(0,s.h)(s.H,{key:"46e495ce7001131eb8b54073018de89401a99b81",class:(0,g.b)(this)},(0,s.h)("ion-list",{key:"afdb72359c3751c6b372af1a778398463d1da397"},void 0!==e&&(0,s.h)("ion-list-header",null,e),o&&(0,s.h)("ion-item",null,(0,s.h)("ion-label",{class:"ion-text-wrap"},void 0!==i&&(0,s.h)("h3",null,i),void 0!==t&&(0,s.h)("p",null,t))),this.renderOptions(l)))}get el(){return(0,s.f)(this)}};A.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}"}},3814:(F,_,r)=>{r.d(_,{c:()=>I,g:()=>w,h:()=>s,o:()=>O});var x=r(5861);const s=(a,p)=>null!==p.closest(a),I=(a,p)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},p):p,w=a=>{const p={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(a).forEach(c=>p[c]=!0),p},f=/^[a-z][a-z0-9+\-.]*:/,O=function(){var a=(0,x.Z)(function*(p,c,C,y){if(null!=p&&"#"!==p[0]&&!f.test(p)){const g=document.querySelector("ion-router");if(g)return c?.preventDefault(),g.push(p,C,y)}return!1});return function(c,C,y,g){return a.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2773],{2773:(F,_,r)=>{r.r(_),r.d(_,{ion_select:()=>j,ion_select_option:()=>D,ion_select_popover:()=>A});var x=r(5861),s=r(2477),I=r(5437),P=r(9980),w=r(2890),f=r(8635),O=r(8909),a=r(7346),p=r(6879),c=r(3814),C=r(2754),y=r(4896),g=r(7943);r(2972),r(3006);const j=class{constructor(e){(0,s.r)(this,e),this.ionChange=(0,s.d)(this,"ionChange",7),this.ionCancel=(0,s.d)(this,"ionCancel",7),this.ionDismiss=(0,s.d)(this,"ionDismiss",7),this.ionFocus=(0,s.d)(this,"ionFocus",7),this.ionBlur=(0,s.d)(this,"ionBlur",7),this.ionStyle=(0,s.d)(this,"ionStyle",7),this.inputId="ion-sel-"+U++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onClick=t=>{const l=t.target,i=l.closest('[slot="start"], [slot="end"]');l===this.el||null===i?(this.setFocus(),this.open(t)):t.preventDefault()},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.isExpanded=!1,this.cancelText="Cancel",this.color=void 0,this.compareWith=void 0,this.disabled=!1,this.fill=void 0,this.interface="alert",this.interfaceOptions={},this.justify="space-between",this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.multiple=!1,this.name=this.inputId,this.okText="OK",this.placeholder=void 0,this.selectedText=void 0,this.toggleIcon=void 0,this.expandedIcon=void 0,this.shape=void 0,this.value=void 0}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}componentWillLoad(){this.inheritedAttributes=(0,f.k)(this.el,["aria-label"])}connectedCallback(){var e=this;return(0,x.Z)(function*(){const{el:t}=e;e.legacyFormController=(0,I.c)(t),e.notchController=(0,P.c)(t,()=>e.notchSpacerEl,()=>e.labelSlot),e.updateOverlayOptions(),e.emitStyle(),e.mutationO=(0,C.w)(e.el,"ion-select-option",(0,x.Z)(function*(){e.updateOverlayOptions(),(0,s.i)(e)}))})()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}open(e){var t=this;return(0,x.Z)(function*(){if(t.disabled||t.isExpanded)return;t.isExpanded=!0;const l=t.overlay=yield t.createOverlay(e);if(l.onDidDismiss().then(()=>{t.overlay=void 0,t.isExpanded=!1,t.ionDismiss.emit(),t.setFocus()}),yield l.present(),"popover"===t.interface){const i=t.childOpts.map(o=>o.value).indexOf(t.value);if(i>-1){const o=l.querySelector(`.select-interface-option:nth-child(${i+1})`);if(o){(0,f.f)(o);const n=o.querySelector("ion-radio, ion-checkbox");n&&n.focus()}}else{const o=l.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");o&&((0,f.f)(o.closest("ion-item")),o.focus())}}return l})()}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(console.warn(`Select interface cannot be "${t}" with a multi-value select. Using the "alert" interface instead.`),t="alert"),"popover"===t&&!e&&(console.warn(`Select interface cannot be a "${t}" without passing an event. Using the "alert" interface instead.`),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,l=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,l);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createPopoverOptions(t,l));break;case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",l)}}createActionSheetButtons(e,t){const l=e.map(i=>{const o=E(i),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" "),h=`${L} ${n}`;return{role:(0,w.i)(t,o,this.compareWith)?"selected":"",text:i.textContent,cssClass:h,handler:()=>{this.setValue(o)}}});return l.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),l}createAlertInputs(e,t,l){return e.map(o=>{const n=E(o),h=Array.from(o.classList).filter(u=>"hydrated"!==u).join(" ");return{type:t,cssClass:`${L} ${h}`,label:o.textContent||"",value:n,checked:(0,w.i)(l,n,this.compareWith),disabled:o.disabled}})}createPopoverOptions(e,t){return e.map(i=>{const o=E(i),n=Array.from(i.classList).filter(d=>"hydrated"!==d).join(" ");return{text:i.textContent||"",cssClass:`${L} ${n}`,value:o,checked:(0,w.i)(t,o,this.compareWith),disabled:i.disabled,handler:d=>{this.setValue(d),this.multiple||this.close()}}})}openPopover(e){var t=this;return(0,x.Z)(function*(){const{fill:l,labelPlacement:i}=t,o=t.interfaceOptions,n=(0,g.b)(t),h="md"!==n,d=t.multiple,u=t.value;let b=e,v="auto";if(t.legacyFormController.hasLegacyControl()){const m=t.el.closest("ion-item");m&&(m.classList.contains("item-label-floating")||m.classList.contains("item-label-stacked"))&&(b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:m}}),v="cover")}else"floating"===i||"stacked"===i||"md"===n&&void 0!==l?v="cover":b=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:t.nativeWrapperEl}});const k=Object.assign(Object.assign({mode:n,event:b,alignment:"center",size:v,showBackdrop:h},o),{component:"ion-select-popover",cssClass:["select-popover",o.cssClass],componentProps:{header:o.header,subHeader:o.subHeader,message:o.message,multiple:d,value:u,options:t.createPopoverOptions(t.childOpts,u)}});return a.c.create(k)})()}openActionSheet(){var e=this;return(0,x.Z)(function*(){const t=(0,g.b)(e),l=e.interfaceOptions,i=Object.assign(Object.assign({mode:t},l),{buttons:e.createActionSheetButtons(e.childOpts,e.value),cssClass:["select-action-sheet",l.cssClass]});return a.b.create(i)})()}openAlert(){var e=this;return(0,x.Z)(function*(){let t,l;e.legacyFormController.hasLegacyControl()?(t=e.getLabel(),l=t?t.textContent:null):l=e.labelText;const i=e.interfaceOptions,o=e.multiple?"checkbox":"radio",n=(0,g.b)(e),h=Object.assign(Object.assign({mode:n},i),{header:i.header?i.header:l,inputs:e.createAlertInputs(e.childOpts,o,e.value),buttons:[{text:e.cancelText,role:"cancel",handler:()=>{e.ionCancel.emit()}},{text:e.okText,handler:d=>{e.setValue(d)}}],cssClass:["select-alert",i.cssClass,e.multiple?"multiple-select-alert":"single-select-alert"]});return a.a.create(h)})()}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}getLabel(){return(0,f.h)(this.el)}hasValue(){return""!==this.getText()}get childOpts(){return Array.from(this.el.querySelectorAll("ion-select-option"))}get labelText(){const{label:e}=this;if(void 0!==e)return e;const{labelSlot:t}=this;return null!==t?t.textContent:void 0}getText(){const e=this.selectedText;return null!=e&&""!==e?e:$(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this,t={"interactive-disabled":e};this.legacyFormController.hasLegacyControl()&&(t.interactive=!0,t.select=!0,t["select-disabled"]=e,t["has-placeholder"]=void 0!==this.placeholder,t["has-value"]=this.hasValue(),t["has-focus"]=this.isExpanded,t.legacy=!!this.legacy),this.ionStyle.emit(t)}renderLabel(){const{label:e}=this;return(0,s.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?(0,s.h)("slot",{name:"label"}):(0,s.h)("div",{class:"label-text"},e))}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,g.b)(this)&&"outline"===this.fill?[(0,s.h)("div",{class:"select-outline-container"},(0,s.h)("div",{class:"select-outline-start"}),(0,s.h)("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},(0,s.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:l=>this.notchSpacerEl=l},this.label)),(0,s.h)("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelect(){const{disabled:e,el:t,isExpanded:l,expandedIcon:i,labelPlacement:o,justify:n,placeholder:h,fill:d,shape:u,name:b,value:v}=this,k=(0,g.b)(this),m="floating"===o||"stacked"===o,S=!m,Z=(0,p.i)(t)?"rtl":"ltr",M=(0,c.h)("ion-item",this.el),G="md"===k&&"outline"!==d&&!M,B=this.hasValue(),N=null!==t.querySelector('[slot="start"], [slot="end"]');(0,f.d)(!0,t,b,z(v),e);const J="stacked"===o||"floating"===o&&(B||l||N);return(0,s.h)(s.H,{onClick:this.onClick,class:(0,c.c)(this.color,{[k]:!0,"in-item":M,"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":l,"has-expanded-icon":void 0!==i,"has-value":B,"label-floating":J,"has-placeholder":void 0!==h,"ion-focusable":!0,[`select-${Z}`]:!0,[`select-fill-${d}`]:void 0!==d,[`select-justify-${n}`]:S,[`select-shape-${u}`]:void 0!==u,[`select-label-placement-${o}`]:!0})},(0,s.h)("label",{class:"select-wrapper",id:"select-label"},this.renderLabelContainer(),(0,s.h)("div",{class:"select-wrapper-inner"},(0,s.h)("slot",{name:"start"}),(0,s.h)("div",{class:"native-wrapper",ref:Q=>this.nativeWrapperEl=Q,part:"container"},this.renderSelectText(),this.renderListbox()),(0,s.h)("slot",{name:"end"}),!m&&this.renderSelectIcon()),m&&this.renderSelectIcon(),G&&(0,s.h)("div",{class:"select-highlight"})))}renderLegacySelect(){this.hasLoggedDeprecationWarning||((0,O.p)('ion-select now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: ...\nExample with aria-label: ...\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,O.p)('ion-select is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n Developers can dismiss this warning by removing their usage of the "legacy" property and using the new select syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{disabled:e,el:t,inputId:l,isExpanded:i,expandedIcon:o,name:n,placeholder:h,value:d}=this,u=(0,g.b)(this),{labelText:b,labelId:v}=(0,f.e)(t,l);(0,f.d)(!0,t,n,z(d),e);let m=this.getText();""===m&&void 0!==h&&(m=h);const S=void 0!==b?""!==m?`${m}, ${b}`:b:m;return(0,s.h)(s.H,{onClick:this.onClick,role:"button","aria-haspopup":"listbox","aria-disabled":e?"true":null,"aria-label":S,class:{[u]:!0,"in-item":(0,c.h)("ion-item",t),"in-item-color":(0,c.h)("ion-item.ion-color",t),"select-disabled":e,"select-expanded":i,"has-expanded-icon":void 0!==o,"legacy-select":!0}},this.renderSelectText(),this.renderSelectIcon(),(0,s.h)("label",{id:v},S),this.renderListbox())}renderSelectText(){const{placeholder:e}=this;let l=!1,i=this.getText();return""===i&&void 0!==e&&(i=e,l=!0),(0,s.h)("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":l},part:l?"placeholder":"text"},i)}renderSelectIcon(){const e=(0,g.b)(this),{isExpanded:t,toggleIcon:l,expandedIcon:i}=this;let o;return o=t&&void 0!==i?i:l??("ios"===e?y.w:y.q),(0,s.h)("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})}get ariaLabel(){var e,t;const{placeholder:l,el:i,inputId:o,inheritedAttributes:n}=this,h=this.getText(),{labelText:d}=(0,f.e)(i,o),u=null!==(t=null!==(e=this.labelText)&&void 0!==e?e:n["aria-label"])&&void 0!==t?t:d;let b=h;return""===b&&void 0!==l&&(b=l),void 0!==u&&(b=""===b?u:`${u}, ${b}`),b}renderListbox(){const{disabled:e,inputId:t,isExpanded:l}=this;return(0,s.h)("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":`${l}`,onFocus:this.onFocus,onBlur:this.onBlur,ref:i=>this.focusEl=i})}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacySelect():this.renderSelect()}get el(){return(0,s.f)(this)}static get watchers(){return{disabled:["styleChanged"],isExpanded:["styleChanged"],placeholder:["styleChanged"],value:["styleChanged"]}}},E=e=>{const t=e.value;return void 0===t?e.textContent||"":t},z=e=>{if(null!=e)return Array.isArray(e)?e.join(","):e.toString()},$=(e,t,l)=>void 0===t?"":Array.isArray(t)?t.map(i=>T(e,i,l)).filter(i=>null!==i).join(", "):T(e,t,l)||"",T=(e,t,l)=>{const i=e.find(o=>(0,w.c)(t,E(o),l));return i?i.textContent:null};let U=0;const L="select-interface-option";j.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item:not(.legacy-select)){-ms-flex:1 1 0px;flex:1 1 0}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.ion-focused){--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}:host(.select-fill-solid) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}:host-context([dir=rtl]):host(.select-fill-solid) .select-wrapper,:host-context([dir=rtl]).select-fill-solid .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){:host(.select-fill-solid:dir(rtl)) .select-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, #404040)}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.ion-focused){--border-width:2px;--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-start{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-rtl.select-fill-outline) .select-outline-start{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-ltr.select-fill-outline) .select-outline-end{border-radius:0px var(--border-radius) var(--border-radius) 0px}:host(.select-rtl.select-fill-outline) .select-outline-end{border-radius:var(--border-radius) 0px 0px var(--border-radius)}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}:host(.legacy-select){--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:16px}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, gray)}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.ion-focused) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.ion-focused) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){.select-highlight{left:0}:host-context([dir=rtl]) .select-highlight{left:unset;right:unset;right:0}[dir=rtl] .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.select-highlight:dir(rtl){left:unset;right:unset;right:0}}}:host(.select-expanded) .select-highlight,:host(.ion-focused) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}@supports (inset-inline-start: 0){:host(.in-item) .select-highlight{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.in-item) .select-highlight{left:0}:host-context([dir=rtl]):host(.in-item) .select-highlight,:host-context([dir=rtl]).in-item .select-highlight{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.in-item:dir(rtl)) .select-highlight{left:unset;right:unset;right:0}}}:host(.select-expanded:not(.legacy-select):not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.ion-focused) .select-wrapper .select-icon{color:var(--highlight-color)}:host-context(.item-label-stacked) .select-icon,:host-context(.item-label-floating:not(.item-fill-outline)) .select-icon,:host-context(.item-label-floating.item-fill-outline){-webkit-transform:translate3d(0, -9px, 0);transform:translate3d(0, -9px, 0)}:host-context(.item-has-focus):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host-context(.item-has-focus.item-label-stacked):host(:not(.has-expanded-icon)) .select-icon,:host-context(.item-has-focus.item-label-floating:not(.item-fill-outline)):host(:not(.has-expanded-icon)) .select-icon{-webkit-transform:translate3d(0, -9px, 0) rotate(180deg);transform:translate3d(0, -9px, 0) rotate(180deg)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}"};const D=class{constructor(e){(0,s.r)(this,e),this.inputId="ion-selopt-"+V++,this.disabled=!1,this.value=void 0}render(){return(0,s.h)(s.H,{key:"abf6e85d60e815f59077910abec922826bf46eb2",role:"option",id:this.inputId,class:(0,g.b)(this)})}get el(){return(0,s.f)(this)}};let V=0;D.style=":host{display:none}";const A=class{constructor(e){(0,s.r)(this,e),this.header=void 0,this.subHeader=void 0,this.message=void 0,this.multiple=void 0,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find(l=>l.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),l=this.getValues(e);t?.handler&&(0,a.s)(t.handler,l)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,l=this.findOptionFromEvent(e);t&&l&&(l.checked=e.detail.checked)}getValues(e){const{multiple:t,options:l}=this;if(t)return l.filter(o=>o.checked).map(o=>o.value);const i=this.findOptionFromEvent(e);return i?i.value:void 0}renderOptions(e){const{multiple:t}=this;return!0===t?this.renderCheckboxOptions(e):this.renderRadioOptions(e)}renderCheckboxOptions(e){return e.map(t=>(0,s.h)("ion-item",{class:Object.assign({"item-checkbox-checked":t.checked},(0,c.g)(t.cssClass))},(0,s.h)("ion-checkbox",{value:t.value,disabled:t.disabled,checked:t.checked,justify:"start",labelPlacement:"end",onIonChange:l=>{this.setChecked(l),this.callOptionHandler(l),(0,s.i)(this)}},t.text)))}renderRadioOptions(e){const t=e.filter(l=>l.checked).map(l=>l.value)[0];return(0,s.h)("ion-radio-group",{value:t,onIonChange:l=>this.callOptionHandler(l)},e.map(l=>(0,s.h)("ion-item",{class:Object.assign({"item-radio-checked":l.value===t},(0,c.g)(l.cssClass))},(0,s.h)("ion-radio",{value:l.value,disabled:l.disabled,onClick:()=>this.dismissParentPopover(),onKeyUp:i=>{" "===i.key&&this.dismissParentPopover()}},l.text))))}render(){const{header:e,message:t,options:l,subHeader:i}=this,o=void 0!==i||void 0!==t;return(0,s.h)(s.H,{key:"ddf45e058c75aae175f8589e3539ff152a5b47ad",class:(0,g.b)(this)},(0,s.h)("ion-list",{key:"52dbf712bf6cbdcb9d2e6223b99c67ecc90977ff"},void 0!==e&&(0,s.h)("ion-list-header",{key:"692fc85c97591f09a2a9b0bccc8f71e97681cc09"},e),o&&(0,s.h)("ion-item",{key:"ecab23444eaadc3ed21e7053d50890db1012475f"},(0,s.h)("ion-label",{key:"639f08137d7066fd79316f63e850ddcc6a3b54a7",class:"ion-text-wrap"},void 0!==i&&(0,s.h)("h3",{key:"dc501101ac9d68b1d0ce80679b339a2b132d1ae9"},i),void 0!==t&&(0,s.h)("p",{key:"5ead8c1a2e90d29fe0f05e04a9fa65c7e9e62ca5"},t))),this.renderOptions(l)))}get el(){return(0,s.f)(this)}};A.style={ios:".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}",md:".sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container){opacity:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08);--background-focused:var(--ion-color-primary, #3880ff);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #3880ff);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #3880ff)}"}},3814:(F,_,r)=>{r.d(_,{c:()=>I,g:()=>w,h:()=>s,o:()=>O});var x=r(5861);const s=(a,p)=>null!==p.closest(a),I=(a,p)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},p):p,w=a=>{const p={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(c=>null!=c).map(c=>c.trim()).filter(c=>""!==c):[])(a).forEach(c=>p[c]=!0),p},f=/^[a-z][a-z0-9+\-.]*:/,O=function(){var a=(0,x.Z)(function*(p,c,C,y){if(null!=p&&"#"!==p[0]&&!f.test(p)){const g=document.querySelector("ion-router");if(g)return c?.preventDefault(),g.push(p,C,y)}return!1});return function(c,C,y,g){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2933.b44a82976b2b3c2f.js b/2933.b44a82976b2b3c2f.js new file mode 100644 index 00000000..a9cff12c --- /dev/null +++ b/2933.b44a82976b2b3c2f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2933],{2933:(W,b,l)=>{l.r(b),l.d(b,{ion_item_option:()=>g,ion_item_options:()=>_,ion_item_sliding:()=>C});var p=l(5861),n=l(2477),w=l(3814),h=l(7943),f=l(8635),u=l(7003),k=l(2754);const g=class{constructor(t){(0,n.r)(this,t),this.onClick=i=>{i.target.closest("ion-item-option")&&i.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:i,href:e}=this,o=void 0===e?"button":"a",a=(0,h.b)(this),c="button"===o?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,n.h)(n.H,{key:"763c3a7571b143d1068d85103ccab403bc48abae",onClick:this.onClick,class:(0,w.c)(this.color,{[a]:!0,"item-option-disabled":t,"item-option-expandable":i,"ion-activatable":!0})},(0,n.h)(o,Object.assign({key:"cb199c2ccd38abaad3460f184af3093bf08546cc"},c,{class:"button-native",part:"native",disabled:t}),(0,n.h)("span",{key:"f3ce9f1d343890c6f55f2609127f1e5113a2eedf",class:"button-inner"},(0,n.h)("slot",{key:"cd9434883c0bdb4129fb6f49970d49710653a09a",name:"top"}),(0,n.h)("div",{key:"764529c5f4b3d82105ce55885e8f121a91e8bc4a",class:"horizontal-wrapper"},(0,n.h)("slot",{key:"5bbd7b9ed9f35c8bf422c3134a1a097e174ad6df",name:"start"}),(0,n.h)("slot",{key:"1e70a781cdf4ffcefb1dea70abe43655d7857c4b",name:"icon-only"}),(0,n.h)("slot",{key:"c3205e9b1577a56786c10a8b5b420010b5fe53fc"}),(0,n.h)("slot",{key:"6bae6c98cd8d8526a203af47ca8e83753e1e1cb6",name:"end"})),(0,n.h)("slot",{key:"466cc32cdf9cbbdbb58e4b29144215cf2984c0d6",name:"bottom"})),"md"===a&&(0,n.h)("ion-ripple-effect",{key:"b5c54b801008b307ca8f718a41101be3e8d1d938"})))}get el(){return(0,n.f)(this)}};g.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const _=class{constructor(t){(0,n.r)(this,t),this.ionSwipe=(0,n.d)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var t=this;return(0,p.Z)(function*(){t.ionSwipe.emit({side:t.side})})()}render(){const t=(0,h.b)(this),i=(0,f.p)(this.side);return(0,n.h)(n.H,{key:"3dca0415ec2942ac8e87a057e26bcb290a892f65",class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!i,"item-options-end":i}})}get el(){return(0,n.f)(this)}};let m;_.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const C=class{constructor(t){(0,n.r)(this,t),this.ionDrag=(0,n.d)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,p.Z)(function*(){const{el:i}=t;t.item=i.querySelector("ion-item"),t.contentEl=(0,u.f)(i),t.mutationObserver=(0,k.w)(i,"ion-item-option",(0,p.Z)(function*(){yield t.updateOptions()})),yield t.updateOptions(),t.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:i,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:e=>t.canStart(e),onStart:()=>t.onStart(),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(t){var i=this;return(0,p.Z)(function*(){var e;if(null===(i.item=null!==(e=i.item)&&void 0!==e?e:i.el.querySelector("ion-item")))return;const a=i.getOptions(t);a&&(void 0===t&&(t=a===i.leftOptions?"start":"end"),t=(0,f.p)(t)?"end":"start",i.openAmount<0&&a===i.leftOptions||i.openAmount>0&&a===i.rightOptions||(i.closeOpened(),i.state=4,requestAnimationFrame(()=>{i.calculateOptsWidth(),m=i.el,i.setOpenAmount("end"===t?i.optsWidthRightSide:-i.optsWidthLeftSide,!1),i.state="end"===t?8:16})))})()}close(){var t=this;return(0,p.Z)(function*(){t.setOpenAmount(0,!0)})()}closeOpened(){return(0,p.Z)(function*(){return void 0!==m&&(m.close(),m=void 0,!0)})()}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}updateOptions(){var t=this;return(0,p.Z)(function*(){const i=t.el.querySelectorAll("ion-item-options");let e=0;t.leftOptions=t.rightOptions=void 0;for(let o=0;othis.optsWidthRightSide?(e=this.optsWidthRightSide,i=e+.55*(i-e)):i<-this.optsWidthLeftSide&&(e=-this.optsWidthLeftSide,i=e+.55*(i-e)),this.setOpenAmount(i,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&(0,u.r)(i,e);const o=t.velocityX;let a=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const c=this.openAmount>0==!(o<0),v=Math.abs(o)>.3,O=Math.abs(this.openAmount)0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")},600),m=void 0,void(o.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}o.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{key:"7f191e38bf717e6ccb246aa7b9fbd29d01e64677",class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},M=(t,i,e)=>!i&&e||t&&i;C.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}"},3814:(W,b,l)=>{l.d(b,{c:()=>w,g:()=>f,h:()=>n,o:()=>k});var p=l(5861);const n=(r,s)=>null!==s.closest(r),w=(r,s)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},s):s,f=r=>{const s={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(r).forEach(d=>s[d]=!0),s},u=/^[a-z][a-z0-9+\-.]*:/,k=function(){var r=(0,p.Z)(function*(s,d,x,g){if(null!=s&&"#"!==s[0]&&!u.test(s)){const y=document.querySelector("ion-router");if(y)return d?.preventDefault(),y.push(s,x,g)}return!1});return function(d,x,g,y){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/2933.bce0c7f48482e495.js b/2933.bce0c7f48482e495.js deleted file mode 100644 index 61b0ce73..00000000 --- a/2933.bce0c7f48482e495.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2933],{2933:(W,b,l)=>{l.r(b),l.d(b,{ion_item_option:()=>g,ion_item_options:()=>_,ion_item_sliding:()=>C});var p=l(5861),n=l(6541),w=l(3814),h=l(4700),f=l(8635),u=l(7003),k=l(2754);const g=class{constructor(t){(0,n.r)(this,t),this.onClick=i=>{i.target.closest("ion-item-option")&&i.preventDefault()},this.color=void 0,this.disabled=!1,this.download=void 0,this.expandable=!1,this.href=void 0,this.rel=void 0,this.target=void 0,this.type="button"}render(){const{disabled:t,expandable:i,href:e}=this,o=void 0===e?"button":"a",a=(0,h.b)(this),c="button"===o?{type:this.type}:{download:this.download,href:this.href,target:this.target};return(0,n.h)(n.H,{key:"7e208b463b2d36984791a7c9c1d24af88b468a03",onClick:this.onClick,class:(0,w.c)(this.color,{[a]:!0,"item-option-disabled":t,"item-option-expandable":i,"ion-activatable":!0})},(0,n.h)(o,Object.assign({key:"9f48210793e88f25b675add863453432e6d8be51"},c,{class:"button-native",part:"native",disabled:t}),(0,n.h)("span",{key:"3ebb5d9b7369f77ca49c8d700a95e4e2335a7f24",class:"button-inner"},(0,n.h)("slot",{key:"7df01a2c40554effe0e36e7fe29ac469a89ad395",name:"top"}),(0,n.h)("div",{key:"1bdc411990a89a0523dd170bf4d61c2f28af3018",class:"horizontal-wrapper"},(0,n.h)("slot",{key:"967a0cc8ff611439fddf28c20c3f197be1a314a5",name:"start"}),(0,n.h)("slot",{key:"7848ded44ce1b0e303f1c1a423fc1ae51e5997d4",name:"icon-only"}),(0,n.h)("slot",{key:"6076bb1a50cebe374ecd8507133eaccd2ee2d08b"}),(0,n.h)("slot",{key:"71505008df081744492fb22b41229ada64506834",name:"end"})),(0,n.h)("slot",{key:"c213321eafe801c1ace8573b4736c2f0ab585703",name:"bottom"})),"md"===a&&(0,n.h)("ion-ripple-effect",null)))}get el(){return(0,n.f)(this)}};g.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #3171e0)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}"};const _=class{constructor(t){(0,n.r)(this,t),this.ionSwipe=(0,n.d)(this,"ionSwipe",7),this.side="end"}fireSwipeEvent(){var t=this;return(0,p.Z)(function*(){t.ionSwipe.emit({side:t.side})})()}render(){const t=(0,h.b)(this),i=(0,f.p)(this.side);return(0,n.h)(n.H,{key:"42ec58a1a2a6a886309595103468d2c39e81f58b",class:{[t]:!0,[`item-options-${t}`]:!0,"item-options-start":!i,"item-options-end":i}})}get el(){return(0,n.f)(this)}};let m;_.style={ios:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}",md:"ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}"};const C=class{constructor(t){(0,n.r)(this,t),this.ionDrag=(0,n.d)(this,"ionDrag",7),this.item=null,this.openAmount=0,this.initialOpenAmount=0,this.optsWidthRightSide=0,this.optsWidthLeftSide=0,this.sides=0,this.optsDirty=!0,this.contentEl=null,this.initialContentScrollY=!0,this.state=2,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,p.Z)(function*(){const{el:i}=t;t.item=i.querySelector("ion-item"),t.contentEl=(0,u.f)(i),t.mutationObserver=(0,k.w)(i,"ion-item-option",(0,p.Z)(function*(){yield t.updateOptions()})),yield t.updateOptions(),t.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:i,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:e=>t.canStart(e),onStart:()=>t.onStart(),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.disabledChanged()})()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,m===this.el&&(m=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}open(t){var i=this;return(0,p.Z)(function*(){var e;if(null===(i.item=null!==(e=i.item)&&void 0!==e?e:i.el.querySelector("ion-item")))return;const a=i.getOptions(t);a&&(void 0===t&&(t=a===i.leftOptions?"start":"end"),t=(0,f.p)(t)?"end":"start",i.openAmount<0&&a===i.leftOptions||i.openAmount>0&&a===i.rightOptions||(i.closeOpened(),i.state=4,requestAnimationFrame(()=>{i.calculateOptsWidth(),m=i.el,i.setOpenAmount("end"===t?i.optsWidthRightSide:-i.optsWidthLeftSide,!1),i.state="end"===t?8:16})))})()}close(){var t=this;return(0,p.Z)(function*(){t.setOpenAmount(0,!0)})()}closeOpened(){return(0,p.Z)(function*(){return void 0!==m&&(m.close(),m=void 0,!0)})()}getOptions(t){return void 0===t?this.leftOptions||this.rightOptions:"start"===t?this.leftOptions:this.rightOptions}updateOptions(){var t=this;return(0,p.Z)(function*(){const i=t.el.querySelectorAll("ion-item-options");let e=0;t.leftOptions=t.rightOptions=void 0;for(let o=0;othis.optsWidthRightSide?(e=this.optsWidthRightSide,i=e+.55*(i-e)):i<-this.optsWidthLeftSide&&(e=-this.optsWidthLeftSide,i=e+.55*(i-e)),this.setOpenAmount(i,!1)}onEnd(t){const{contentEl:i,initialContentScrollY:e}=this;i&&(0,u.r)(i,e);const o=t.velocityX;let a=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;const c=this.openAmount>0==!(o<0),v=Math.abs(o)>.3,O=Math.abs(this.openAmount)0)this.state=t>=this.optsWidthRightSide+30?40:8;else{if(!(t<0))return e.classList.add("item-sliding-closing"),this.gesture&&this.gesture.enable(!1),this.tmr=setTimeout(()=>{this.state=2,this.tmr=void 0,this.gesture&&this.gesture.enable(!this.disabled),e.classList.remove("item-sliding-closing")},600),m=void 0,void(o.transform="");this.state=t<=-this.optsWidthLeftSide-30?80:16}o.transform=`translate3d(${-t}px,0,0)`,this.ionDrag.emit({amount:t,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{key:"83e1673fc5af892612deb9b49d5e792b8b0b6473",class:{[t]:!0,"item-sliding-active-slide":2!==this.state,"item-sliding-active-options-end":0!=(8&this.state),"item-sliding-active-options-start":0!=(16&this.state),"item-sliding-active-swipe-end":0!=(32&this.state),"item-sliding-active-swipe-start":0!=(64&this.state)}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},M=(t,i,e)=>!i&&e||t&&i;C.style="ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}"},3814:(W,b,l)=>{l.d(b,{c:()=>w,g:()=>f,h:()=>n,o:()=>k});var p=l(5861);const n=(r,s)=>null!==s.closest(r),w=(r,s)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},s):s,f=r=>{const s={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(r).forEach(d=>s[d]=!0),s},u=/^[a-z][a-z0-9+\-.]*:/,k=function(){var r=(0,p.Z)(function*(s,d,x,g){if(null!=s&&"#"!==s[0]&&!u.test(s)){const y=document.querySelector("ion-router");if(y)return d?.preventDefault(),y.push(s,x,g)}return!1});return function(d,x,g,y){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3326.1b9da0cf2e3464e2.js b/3326.266a5c13af0cb48e.js similarity index 85% rename from 3326.1b9da0cf2e3464e2.js rename to 3326.266a5c13af0cb48e.js index c69a5074..9ca4a4cd 100644 --- a/3326.1b9da0cf2e3464e2.js +++ b/3326.266a5c13af0cb48e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3326],{3326:(j,w,l)=>{l.r(w),l.d(w,{ion_refresher:()=>T,ion_refresher_content:()=>U});var d=l(5861),n=l(6541),_=l(5069),y=l(7003),h=l(8635),k=l(1765),c=l(4700),m=l(4963),x=l(7036),E=l(4896),C=l(2677);l(6319),l(2972);const S=e=>{const t=e.querySelector("ion-spinner"),r=t.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),a=e.querySelector(".arrow-container"),f=a?a.querySelector("ion-icon"):null,o=(0,m.c)().duration(1e3).easing("ease-out"),i=(0,m.c)().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),p=(0,m.c)().addElement(r).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),g=(0,m.c)().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(a&&f){const v=(0,m.c)().addElement(a).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),u=(0,m.c)().addElement(f).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([v,u])}return o.addAnimation([i,p,g])},b=(e,t,r=200)=>{if(!e)return Promise.resolve();const s=(0,h.t)(e,r);return(0,n.w)(()=>{e.style.setProperty("transition",`${r}ms all ease-out`),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform",`translate3d(0px, ${t}, 0px)`)}),s},R=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),P=function(){var e=(0,d.Z)(function*(t,r){const s=t.querySelector("ion-refresher-content");if(!s)return Promise.resolve(!1);yield new Promise(o=>(0,h.c)(s,o));const a=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),f=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==a&&null!==f&&("ios"===r&&R()||"md"===r)});return function(r,s){return e.apply(this,arguments)}}(),T=class{constructor(e){(0,n.r)(this,e),this.ionRefresh=(0,n.d)(this,"ionRefresh",7),this.ionPull=(0,n.d)(this,"ionPull",7),this.ionStart=(0,n.d)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}checkNativeRefresher(){var e=this;return(0,d.Z)(function*(){const t=yield P(e.el,(0,c.b)(e));if(t&&!e.nativeRefresher){const r=e.el.closest("ion-content");e.setupNativeRefresher(r)}else t||e.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.state=t,"ios"===(0,c.b)(r)?yield b(e,void 0,300):yield(0,h.t)(r.el.querySelector(".refresher-refreshing-icon"),200),r.didRefresh=!1,r.needsCompletion=!1,r.pointerDown=!1,r.animations.forEach(s=>s.destroy()),r.animations=[],r.progress=0,r.state=1})()}setupiOSNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.elementToTransform=r.scrollEl;const s=e.shadowRoot.querySelectorAll("svg");let a=.16*r.scrollEl.clientHeight;const f=s.length;(0,n.w)(()=>s.forEach(o=>o.style.setProperty("animation","none"))),r.scrollListenerCallback=()=>{!r.pointerDown&&1===r.state||(0,n.e)(()=>{const o=r.scrollEl.scrollTop,i=r.el.clientHeight;if(o>0){if(8===r.state){const u=(0,h.l)(0,o/(.5*i),1);return void(0,n.w)(()=>((e,t)=>{e.style.setProperty("opacity",t.toString())})(t,1-u))}return}r.pointerDown&&(r.didStart||(r.didStart=!0,r.ionStart.emit()),r.pointerDown&&r.ionPull.emit());const p=r.didStart?30:0,g=r.progress=(0,h.l)(0,(Math.abs(o)-p)/a,1);8===r.state||1===g?(r.pointerDown&&((e,t)=>{(0,n.w)(()=>{e.style.setProperty("--refreshing-rotation-duration",t>=1?"0.5s":"2s"),e.style.setProperty("opacity","1")})})(t,r.lastVelocityY),r.didRefresh||(r.beginRefresh(),r.didRefresh=!0,(0,k.d)({style:k.I.Light}),r.pointerDown||b(r.elementToTransform,`${i}px`))):(r.state=2,((e,t,r)=>{(0,n.w)(()=>{e.forEach((a,f)=>{const o=f*(1/t),g=(0,h.l)(0,(r-o)/(1-o),1);a.style.setProperty("opacity",g.toString())})})})(s,f,g))})},r.scrollEl.addEventListener("scroll",r.scrollListenerCallback),r.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:r.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{r.pointerDown=!0,r.didRefresh||b(r.elementToTransform,"0px"),0===a&&(a=.16*r.scrollEl.clientHeight)},onMove:o=>{r.lastVelocityY=o.velocityY},onEnd:()=>{r.pointerDown=!1,r.didStart=!1,r.needsCompletion?(r.resetNativeRefresher(r.elementToTransform,32),r.needsCompletion=!1):r.didRefresh&&(0,n.e)(()=>b(r.elementToTransform,`${r.el.clientHeight}px`))}}),r.disabledChanged()})()}setupMDNativeRefresher(e,t,r){var s=this;return(0,d.Z)(function*(){const a=(0,h.g)(t).querySelector("circle"),f=s.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=(0,h.g)(r).querySelector("circle");null!==a&&null!==o&&(0,n.w)(()=>{a.style.setProperty("animation","none"),r.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")}),s.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:s.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==s.state&&32!==s.state&&0===s.scrollEl.scrollTop,onStart:i=>{s.progress=0,i.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===s.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart){i.data.didStart=!0,s.state=2;const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";(0,n.w)(()=>p.style.setProperty(g,"hidden"));const v=(e=>{const t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"})(e),u=((e,t,r)=>"scale"===e?((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${r}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return S(e).addAnimation([s])})(t,r):((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`translateY(-${r}px)`},{offset:1,transform:"translateY(100px)"}]);return S(e).addAnimation([s])})(t,r))(v,f,s.el);return i.data.animation=u,u.progressStart(!1,0),s.ionStart.emit(),void s.animations.push(u)}s.progress=(0,h.l)(0,i.deltaY/180*.5,1),i.data.animation.progressStep(s.progress),s.ionPull.emit()}},onEnd:i=>{if(!i.data.didStart)return;s.gesture.enable(!1);const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";if((0,n.w)(()=>p.style.removeProperty(g)),s.progress<=.4)return void i.data.animation.progressEnd(0,s.progress,500).onFinish(()=>{s.animations.forEach(W=>W.destroy()),s.animations=[],s.gesture.enable(!0),s.state=1});const v=(0,_.g)([0,0],[0,0],[1,1],[1,1],s.progress)[0],u=(e=>(0,m.c)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(f);s.animations.push(u),(0,n.w)((0,d.Z)(function*(){f.style.setProperty("--ion-pulling-refresher-translate",100*v+"px"),i.data.animation.progressEnd(),yield u.play(),s.beginRefresh(),i.data.animation.destroy(),s.gesture.enable(!0)}))}}),s.disabledChanged()})()}setupNativeRefresher(e){var t=this;return(0,d.Z)(function*(){if(t.scrollListenerCallback||!e||t.nativeRefresher||!t.scrollEl)return;t.setCss(0,"",!1,""),t.nativeRefresher=!0;const r=t.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),s=t.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,c.b)(t)?t.setupiOSNativeRefresher(r,s):t.setupMDNativeRefresher(e,r,s)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var e=this;return(0,d.Z)(function*(){if("fixed"!==e.el.getAttribute("slot"))return void console.error('Make sure you use: ');const t=e.el.closest(y.b);t?(0,h.c)(t,(0,d.Z)(function*(){const r=t.querySelector(y.I);e.scrollEl=yield(0,y.g)(r??t),e.backgroundContentEl=yield t.getBackgroundElement(),(yield P(e.el,(0,c.b)(e)))?e.setupNativeRefresher(t):(e.gesture=(yield Promise.resolve().then(l.bind(l,5067))).createGesture({el:t,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>e.canStart(),onStart:()=>e.onStart(),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged())})):(0,y.p)(e.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?(e.needsCompletion=!0,e.pointerDown||(0,h.r)(()=>(0,h.r)(()=>e.resetNativeRefresher(e.elementToTransform,32)))):e.close(32,"120ms")})()}cancel(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?e.pointerDown||(0,h.r)(()=>(0,h.r)(()=>e.resetNativeRefresher(e.elementToTransform,16))):e.close(16,"")})()}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1,this.memoizeOverflowStyle()}onMove(e){if(!this.scrollEl)return;const t=e.event;if(void 0!==t.touches&&t.touches.length>1||56&this.state)return;const r=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*r;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(t.cancelable&&t.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const a=this.pullMin;this.progress=s/a,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),sthis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&this.restoreOverflowStyle()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,t){setTimeout(()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0)},600),this.state=e,this.setCss(0,this.closeDuration,!0,t)}setCss(e,t,r,s,a=!1){this.nativeRefresher||(this.appliedStyles=e>0,(0,n.w)(()=>{if(this.scrollEl&&this.backgroundContentEl){const f=this.scrollEl.style,o=this.backgroundContentEl.style;f.transform=o.transform=e>0?`translateY(${e}px) translateZ(0px)`:"",f.transitionDuration=o.transitionDuration=t,f.transitionDelay=o.transitionDelay=s,f.overflow=r?"hidden":""}a&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.scrollEl.style;this.overflowStyles={overflow:e??"",overflowX:t??"",overflowY:r??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.overflowStyles;this.scrollEl.style.overflow=e,this.scrollEl.style.overflowX=t,this.scrollEl.style.overflowY=r,this.overflowStyles=void 0}}render(){const e=(0,c.b)(this);return(0,n.h)(n.H,{key:"af60b9453ee4bbf61ed9651d509700fddd91f2c2",slot:"fixed",class:{[e]:!0,[`refresher-${e}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};T.style={ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}"};const U=class{constructor(e){(0,n.r)(this,e),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",x.E),this.pullingIcon=void 0,this.pullingText=void 0,this.refreshingSpinner=void 0,this.refreshingText=void 0}componentWillLoad(){if(void 0===this.pullingIcon){const e=R(),t=(0,c.b)(this);this.pullingIcon=c.c.get("refreshingIcon","ios"===t&&e?c.c.get("spinner",e?"lines":E.i):"circular")}if(void 0===this.refreshingSpinner){const e=(0,c.b)(this);this.refreshingSpinner=c.c.get("refreshingSpinner",c.c.get("spinner","ios"===e?"lines":"circular"))}}renderPullingText(){const{customHTMLEnabled:e,pullingText:t}=this;return e?(0,n.h)("div",{class:"refresher-pulling-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-pulling-text"},t)}renderRefreshingText(){const{customHTMLEnabled:e,refreshingText:t}=this;return e?(0,n.h)("div",{class:"refresher-refreshing-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-refreshing-text"},t)}render(){const e=this.pullingIcon,t=null!=e&&void 0!==C.S[e],r=(0,c.b)(this);return(0,n.h)(n.H,{key:"85e47044192d174d82e0a8cc6171e862c395f385",class:r},(0,n.h)("div",{key:"e8ce4fc1cad510da18988cb8c1e095c62a7af418",class:"refresher-pulling"},this.pullingIcon&&t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("div",{class:"spinner-arrow-container"},(0,n.h)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===r&&"circular"===this.pullingIcon&&(0,n.h)("div",{class:"arrow-container"},(0,n.h)("ion-icon",{icon:E.h,"aria-hidden":"true"})))),this.pullingIcon&&!t&&(0,n.h)("div",{class:"refresher-pulling-icon"},(0,n.h)("ion-icon",{icon:this.pullingIcon,lazy:!1,"aria-hidden":"true"})),void 0!==this.pullingText&&this.renderPullingText()),(0,n.h)("div",{key:"a55e3bd94ae381d1502da2799472b6bd1402487c",class:"refresher-refreshing"},this.refreshingSpinner&&(0,n.h)("div",{class:"refresher-refreshing-icon"},(0,n.h)("ion-spinner",{name:this.refreshingSpinner})),void 0!==this.refreshingText&&this.renderRefreshingText()))}get el(){return(0,n.f)(this)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3326],{3326:(j,w,a)=>{a.r(w),a.d(w,{ion_refresher:()=>T,ion_refresher_content:()=>U});var d=a(5861),n=a(2477),_=a(5069),y=a(7003),h=a(8635),k=a(1765),c=a(7943),m=a(4963),x=a(7036),E=a(4896),C=a(2677);a(6319),a(2972);const S=e=>{const t=e.querySelector("ion-spinner"),r=t.shadowRoot.querySelector("circle"),s=e.querySelector(".spinner-arrow-container"),l=e.querySelector(".arrow-container"),f=l?l.querySelector("ion-icon"):null,o=(0,m.c)().duration(1e3).easing("ease-out"),i=(0,m.c)().addElement(s).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),p=(0,m.c)().addElement(r).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),g=(0,m.c)().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(l&&f){const b=(0,m.c)().addElement(l).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),u=(0,m.c)().addElement(f).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);o.addAnimation([b,u])}return o.addAnimation([i,p,g])},v=(e,t,r=200)=>{if(!e)return Promise.resolve();const s=(0,h.t)(e,r);return(0,n.w)(()=>{e.style.setProperty("transition",`${r}ms all ease-out`),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform",`translate3d(0px, ${t}, 0px)`)}),s},R=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),P=function(){var e=(0,d.Z)(function*(t,r){const s=t.querySelector("ion-refresher-content");if(!s)return Promise.resolve(!1);yield new Promise(o=>(0,h.c)(s,o));const l=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),f=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==l&&null!==f&&("ios"===r&&R()||"md"===r)});return function(r,s){return e.apply(this,arguments)}}(),T=class{constructor(e){(0,n.r)(this,e),this.ionRefresh=(0,n.d)(this,"ionRefresh",7),this.ionPull=(0,n.d)(this,"ionPull",7),this.ionStart=(0,n.d)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}checkNativeRefresher(){var e=this;return(0,d.Z)(function*(){const t=yield P(e.el,(0,c.b)(e));if(t&&!e.nativeRefresher){const r=e.el.closest("ion-content");e.setupNativeRefresher(r)}else t||e.destroyNativeRefresher()})()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}resetNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.state=t,"ios"===(0,c.b)(r)?yield v(e,void 0,300):yield(0,h.t)(r.el.querySelector(".refresher-refreshing-icon"),200),r.didRefresh=!1,r.needsCompletion=!1,r.pointerDown=!1,r.animations.forEach(s=>s.destroy()),r.animations=[],r.progress=0,r.state=1})()}setupiOSNativeRefresher(e,t){var r=this;return(0,d.Z)(function*(){r.elementToTransform=r.scrollEl;const s=e.shadowRoot.querySelectorAll("svg");let l=.16*r.scrollEl.clientHeight;const f=s.length;(0,n.w)(()=>s.forEach(o=>o.style.setProperty("animation","none"))),r.scrollListenerCallback=()=>{!r.pointerDown&&1===r.state||(0,n.e)(()=>{const o=r.scrollEl.scrollTop,i=r.el.clientHeight;if(o>0){if(8===r.state){const u=(0,h.l)(0,o/(.5*i),1);return void(0,n.w)(()=>((e,t)=>{e.style.setProperty("opacity",t.toString())})(t,1-u))}return}r.pointerDown&&(r.didStart||(r.didStart=!0,r.ionStart.emit()),r.pointerDown&&r.ionPull.emit());const p=r.didStart?30:0,g=r.progress=(0,h.l)(0,(Math.abs(o)-p)/l,1);8===r.state||1===g?(r.pointerDown&&((e,t)=>{(0,n.w)(()=>{e.style.setProperty("--refreshing-rotation-duration",t>=1?"0.5s":"2s"),e.style.setProperty("opacity","1")})})(t,r.lastVelocityY),r.didRefresh||(r.beginRefresh(),r.didRefresh=!0,(0,k.d)({style:k.I.Light}),r.pointerDown||v(r.elementToTransform,`${i}px`))):(r.state=2,((e,t,r)=>{(0,n.w)(()=>{e.forEach((l,f)=>{const o=f*(1/t),g=(0,h.l)(0,(r-o)/(1-o),1);l.style.setProperty("opacity",g.toString())})})})(s,f,g))})},r.scrollEl.addEventListener("scroll",r.scrollListenerCallback),r.gesture=(yield Promise.resolve().then(a.bind(a,5067))).createGesture({el:r.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{r.pointerDown=!0,r.didRefresh||v(r.elementToTransform,"0px"),0===l&&(l=.16*r.scrollEl.clientHeight)},onMove:o=>{r.lastVelocityY=o.velocityY},onEnd:()=>{r.pointerDown=!1,r.didStart=!1,r.needsCompletion?(r.resetNativeRefresher(r.elementToTransform,32),r.needsCompletion=!1):r.didRefresh&&(0,n.e)(()=>v(r.elementToTransform,`${r.el.clientHeight}px`))}}),r.disabledChanged()})()}setupMDNativeRefresher(e,t,r){var s=this;return(0,d.Z)(function*(){const l=(0,h.g)(t).querySelector("circle"),f=s.el.querySelector("ion-refresher-content .refresher-pulling-icon"),o=(0,h.g)(r).querySelector("circle");null!==l&&null!==o&&(0,n.w)(()=>{l.style.setProperty("animation","none"),r.style.setProperty("animation-delay","-655ms"),o.style.setProperty("animation-delay","-655ms")}),s.gesture=(yield Promise.resolve().then(a.bind(a,5067))).createGesture({el:s.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==s.state&&32!==s.state&&0===s.scrollEl.scrollTop,onStart:i=>{s.progress=0,i.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:i=>{if(i.velocityY<0&&0===s.progress&&!i.data.didStart||i.data.cancelled)i.data.cancelled=!0;else{if(!i.data.didStart){i.data.didStart=!0,s.state=2;const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";(0,n.w)(()=>p.style.setProperty(g,"hidden"));const b=(e=>{const t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"})(e),u=((e,t,r)=>"scale"===e?((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`scale(0) translateY(-${r}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return S(e).addAnimation([s])})(t,r):((e,t)=>{const r=t.clientHeight,s=(0,m.c)().addElement(e).keyframes([{offset:0,transform:`translateY(-${r}px)`},{offset:1,transform:"translateY(100px)"}]);return S(e).addAnimation([s])})(t,r))(b,f,s.el);return i.data.animation=u,u.progressStart(!1,0),s.ionStart.emit(),void s.animations.push(u)}s.progress=(0,h.l)(0,i.deltaY/180*.5,1),i.data.animation.progressStep(s.progress),s.ionPull.emit()}},onEnd:i=>{if(!i.data.didStart)return;s.gesture.enable(!1);const{scrollEl:p}=s,g=p.matches(y.I)?"overflow":"--overflow";if((0,n.w)(()=>p.style.removeProperty(g)),s.progress<=.4)return void i.data.animation.progressEnd(0,s.progress,500).onFinish(()=>{s.animations.forEach(W=>W.destroy()),s.animations=[],s.gesture.enable(!0),s.state=1});const b=(0,_.g)([0,0],[0,0],[1,1],[1,1],s.progress)[0],u=(e=>(0,m.c)().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(f);s.animations.push(u),(0,n.w)((0,d.Z)(function*(){f.style.setProperty("--ion-pulling-refresher-translate",100*b+"px"),i.data.animation.progressEnd(),yield u.play(),s.beginRefresh(),i.data.animation.destroy(),s.gesture.enable(!0)}))}}),s.disabledChanged()})()}setupNativeRefresher(e){var t=this;return(0,d.Z)(function*(){if(t.scrollListenerCallback||!e||t.nativeRefresher||!t.scrollEl)return;t.setCss(0,"",!1,""),t.nativeRefresher=!0;const r=t.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),s=t.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===(0,c.b)(t)?t.setupiOSNativeRefresher(r,s):t.setupMDNativeRefresher(e,r,s)})()}componentDidUpdate(){this.checkNativeRefresher()}connectedCallback(){var e=this;return(0,d.Z)(function*(){if("fixed"!==e.el.getAttribute("slot"))return void console.error('Make sure you use: ');const t=e.el.closest(y.b);t?(0,h.c)(t,(0,d.Z)(function*(){const r=t.querySelector(y.I);e.scrollEl=yield(0,y.g)(r??t),e.backgroundContentEl=yield t.getBackgroundElement(),(yield P(e.el,(0,c.b)(e)))?e.setupNativeRefresher(t):(e.gesture=(yield Promise.resolve().then(a.bind(a,5067))).createGesture({el:t,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>e.canStart(),onStart:()=>e.onStart(),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged())})):(0,y.p)(e.el)})()}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?(e.needsCompletion=!0,e.pointerDown||(0,h.r)(()=>(0,h.r)(()=>e.resetNativeRefresher(e.elementToTransform,32)))):e.close(32,"120ms")})()}cancel(){var e=this;return(0,d.Z)(function*(){e.nativeRefresher?e.pointerDown||(0,h.r)(()=>(0,h.r)(()=>e.resetNativeRefresher(e.elementToTransform,16))):e.close(16,"")})()}getProgress(){return Promise.resolve(this.progress)}canStart(){return!(!this.scrollEl||1!==this.state||this.scrollEl.scrollTop>0)}onStart(){this.progress=0,this.state=1,this.memoizeOverflowStyle()}onMove(e){if(!this.scrollEl)return;const t=e.event;if(void 0!==t.touches&&t.touches.length>1||56&this.state)return;const r=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,s=e.deltaY*r;if(s<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){if(this.scrollEl.scrollTop>0)return void(this.progress=0);this.state=2}if(t.cancelable&&t.preventDefault(),this.setCss(s,"0ms",!0,""),0===s)return void(this.progress=0);const l=this.pullMin;this.progress=s/l,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),sthis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&this.restoreOverflowStyle()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,t){setTimeout(()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0)},600),this.state=e,this.setCss(0,this.closeDuration,!0,t)}setCss(e,t,r,s,l=!1){this.nativeRefresher||(this.appliedStyles=e>0,(0,n.w)(()=>{if(this.scrollEl&&this.backgroundContentEl){const f=this.scrollEl.style,o=this.backgroundContentEl.style;f.transform=o.transform=e>0?`translateY(${e}px) translateZ(0px)`:"",f.transitionDuration=o.transitionDuration=t,f.transitionDelay=o.transitionDelay=s,f.overflow=r?"hidden":""}l&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.scrollEl.style;this.overflowStyles={overflow:e??"",overflowX:t??"",overflowY:r??""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:e,overflowX:t,overflowY:r}=this.overflowStyles;this.scrollEl.style.overflow=e,this.scrollEl.style.overflowX=t,this.scrollEl.style.overflowY=r,this.overflowStyles=void 0}}render(){const e=(0,c.b)(this);return(0,n.h)(n.H,{key:"96f4f595ebdb92a12755b642398691bcaab9f7c1",slot:"fixed",class:{[e]:!0,[`refresher-${e}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return(0,n.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};T.style={ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",md:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}@supports (inset-inline-start: 0){ion-refresher{inset-inline-start:0}}@supports not (inset-inline-start: 0){ion-refresher{left:0}:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}[dir=rtl] ion-refresher{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){ion-refresher:dir(rtl){left:unset;right:unset;right:0}}}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}"};const U=class{constructor(e){(0,n.r)(this,e),this.customHTMLEnabled=c.c.get("innerHTMLTemplatesEnabled",x.E),this.pullingIcon=void 0,this.pullingText=void 0,this.refreshingSpinner=void 0,this.refreshingText=void 0}componentWillLoad(){if(void 0===this.pullingIcon){const e=R(),t=(0,c.b)(this);this.pullingIcon=c.c.get("refreshingIcon","ios"===t&&e?c.c.get("spinner",e?"lines":E.i):"circular")}if(void 0===this.refreshingSpinner){const e=(0,c.b)(this);this.refreshingSpinner=c.c.get("refreshingSpinner",c.c.get("spinner","ios"===e?"lines":"circular"))}}renderPullingText(){const{customHTMLEnabled:e,pullingText:t}=this;return e?(0,n.h)("div",{class:"refresher-pulling-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-pulling-text"},t)}renderRefreshingText(){const{customHTMLEnabled:e,refreshingText:t}=this;return e?(0,n.h)("div",{class:"refresher-refreshing-text",innerHTML:(0,x.a)(t)}):(0,n.h)("div",{class:"refresher-refreshing-text"},t)}render(){const e=this.pullingIcon,t=null!=e&&void 0!==C.S[e],r=(0,c.b)(this);return(0,n.h)(n.H,{key:"cf3caa51c4aba8a95622f6d32cafa90b683b9d6e",class:r},(0,n.h)("div",{key:"5ad70801104bbea873d3525206660c52e4447903",class:"refresher-pulling"},this.pullingIcon&&t&&(0,n.h)("div",{key:"0f95df169fd367528bfaa5d9ccf6690a613609c4",class:"refresher-pulling-icon"},(0,n.h)("div",{key:"4b8f0465a19f017751b207807c32e1fe00fda433",class:"spinner-arrow-container"},(0,n.h)("ion-spinner",{key:"77e60179d76f0d17f8f2dc3518f97a2a924418e6",name:this.pullingIcon,paused:!0}),"md"===r&&"circular"===this.pullingIcon&&(0,n.h)("div",{key:"f78f63f08f071bead1bfe655bae6394f8a219d91",class:"arrow-container"},(0,n.h)("ion-icon",{key:"4d833d134d2b221cae2dfb0611d4029f2d664db5",icon:E.h,"aria-hidden":"true"})))),this.pullingIcon&&!t&&(0,n.h)("div",{key:"e6db19d7fa324363d2a7c3c046510f4c8461f7e6",class:"refresher-pulling-icon"},(0,n.h)("ion-icon",{key:"66c2ef1a53c5809f49891de515da5f55d9bf8dcc",icon:this.pullingIcon,lazy:!1,"aria-hidden":"true"})),void 0!==this.pullingText&&this.renderPullingText()),(0,n.h)("div",{key:"80c413e21d362a5bb0419fcd13092453b3445cee",class:"refresher-refreshing"},this.refreshingSpinner&&(0,n.h)("div",{key:"0d5511f9644de26332a1a9ed39b160691fab74d9",class:"refresher-refreshing-icon"},(0,n.h)("ion-spinner",{key:"54e4a96b081c7b453a98e00cceea7c086268a450",name:this.refreshingSpinner})),void 0!==this.refreshingText&&this.renderRefreshingText()))}get el(){return(0,n.f)(this)}}}}]); \ No newline at end of file diff --git a/3583.4ced66c75eaab352.js b/3583.b3b4eb40c2ce239a.js similarity index 88% rename from 3583.4ced66c75eaab352.js rename to 3583.b3b4eb40c2ce239a.js index 48b1e364..419cbd12 100644 --- a/3583.4ced66c75eaab352.js +++ b/3583.b3b4eb40c2ce239a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3583],{3583:(B,f,i)=>{i.r(f),i.d(f,{ion_reorder:()=>b,ion_reorder_group:()=>g});var y=i(5861),l=i(6541),u=i(4896),E=i(4700),p=i(7003),M=i(8635),m=i(1765);i(6319),i(2972);const b=class{constructor(e){(0,l.r)(this,e)}onClick(e){const t=this.el.closest("ion-reorder-group");e.preventDefault(),(!t||!t.disabled)&&e.stopImmediatePropagation()}render(){const e=(0,E.b)(this);return(0,l.h)(l.H,{key:"811f71aa6f4b45ee8a597f504af6c43d34cc8c53",class:e},(0,l.h)("slot",{key:"78e1898b412b322053fe924db7934d5840184bfc"},(0,l.h)("ion-icon",{key:"171f86c625d64ce3c5b5ebc54372a6573fc437ef",icon:"ios"===e?u.j:u.k,lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return(0,l.f)(this)}};b.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}"};const g=class{constructor(e){(0,l.r)(this,e),this.ionItemReorder=(0,l.d)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var e=this;return(0,y.Z)(function*(){const t=(0,p.f)(e.el);t&&(e.scrollEl=yield(0,p.g)(t)),e.gesture=(yield Promise.resolve().then(i.bind(i,5067))).createGesture({el:e.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:s=>e.canStart(s),onStart:s=>e.onStart(s),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(e){return Promise.resolve(this.completeReorder(e))}canStart(e){if(this.selectedItemEl||0!==this.state)return!1;const s=e.event.target.closest("ion-reorder");if(!s)return!1;const r=v(s,this.el);return!!r&&(e.data=r,!0)}onStart(e){e.event.preventDefault();const t=this.selectedItemEl=e.data,s=this.cachedHeights;s.length=0;const r=this.el,o=r.children;if(!o||0===o.length)return;let c=0;for(let a=0;a{o===c||void 0!==e&&!0!==e||this.el.insertBefore(t,ce)return s;return t.length-1}reorderMove(e,t){const s=this.selectedItemHeight,r=this.el.children;for(let o=0;oe&&o<=t?n=`translateY(${-s}px)`:o=t&&(n=`translateY(${s}px)`),r[o].style.transform=n}}autoscroll(e){if(!this.scrollEl)return 0;let t=0;return ethis.scrollElBottom&&(t=_),0!==t&&this.scrollEl.scrollBy(0,t),this.scrollEl.scrollTop-this.scrollElInitial}render(){const e=(0,E.b)(this);return(0,l.h)(l.H,{key:"5a8c5c11fa48ff2cec319a1a07ba74427c2a42e5",class:{[e]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return(0,l.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},h=e=>e.$ionIndex,v=(e,t)=>{let s;for(;e;){if(s=e.parentElement,s===t)return e;e=s}},I=60,_=10,x="reorder-selected",P=(e,t,s)=>{const r=e[t];return e.splice(t,1),e.splice(s,0,r),e.slice()};g.style=".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3583],{3583:(B,f,i)=>{i.r(f),i.d(f,{ion_reorder:()=>p,ion_reorder_group:()=>g});var y=i(5861),l=i(2477),u=i(4896),E=i(7943),b=i(7003),M=i(8635),m=i(1765);i(6319),i(2972);const p=class{constructor(e){(0,l.r)(this,e)}onClick(e){const t=this.el.closest("ion-reorder-group");e.preventDefault(),(!t||!t.disabled)&&e.stopImmediatePropagation()}render(){const e=(0,E.b)(this);return(0,l.h)(l.H,{key:"5747b63aa64b05bfed96bbce8087186c7e14c6d5",class:e},(0,l.h)("slot",{key:"a745f29a23c905cd0bff572acb755b597a3fb3c3"},(0,l.h)("ion-icon",{key:"48f433e85a3a68c16bc426623b2b74957b4b2eb7",icon:"ios"===e?u.j:u.k,lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return(0,l.f)(this)}};p.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}"};const g=class{constructor(e){(0,l.r)(this,e),this.ionItemReorder=(0,l.d)(this,"ionItemReorder",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var e=this;return(0,y.Z)(function*(){const t=(0,b.f)(e.el);t&&(e.scrollEl=yield(0,b.g)(t)),e.gesture=(yield Promise.resolve().then(i.bind(i,5067))).createGesture({el:e.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:s=>e.canStart(s),onStart:s=>e.onStart(s),onMove:s=>e.onMove(s),onEnd:()=>e.onEnd()}),e.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(e){return Promise.resolve(this.completeReorder(e))}canStart(e){if(this.selectedItemEl||0!==this.state)return!1;const s=e.event.target.closest("ion-reorder");if(!s)return!1;const r=v(s,this.el);return!!r&&(e.data=r,!0)}onStart(e){e.event.preventDefault();const t=this.selectedItemEl=e.data,s=this.cachedHeights;s.length=0;const r=this.el,o=r.children;if(!o||0===o.length)return;let c=0;for(let a=0;a{o===c||void 0!==e&&!0!==e||this.el.insertBefore(t,ce)return s;return t.length-1}reorderMove(e,t){const s=this.selectedItemHeight,r=this.el.children;for(let o=0;oe&&o<=t?n=`translateY(${-s}px)`:o=t&&(n=`translateY(${s}px)`),r[o].style.transform=n}}autoscroll(e){if(!this.scrollEl)return 0;let t=0;return ethis.scrollElBottom&&(t=_),0!==t&&this.scrollEl.scrollBy(0,t),this.scrollEl.scrollTop-this.scrollElInitial}render(){const e=(0,E.b)(this);return(0,l.h)(l.H,{key:"68b5e5fa00a0531c74597964d84c82da8bc3252f",class:{[e]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return(0,l.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},h=e=>e.$ionIndex,v=(e,t)=>{let s;for(;e;){if(s=e.parentElement,s===t)return e;e=s}},I=60,_=10,x="reorder-selected",P=(e,t,s)=>{const r=e[t];return e.splice(t,1),e.splice(s,0,r),e.slice()};g.style=".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}"}}]); \ No newline at end of file diff --git a/3648.698f4e5be9f133c0.js b/3648.698f4e5be9f133c0.js new file mode 100644 index 00000000..21099f87 --- /dev/null +++ b/3648.698f4e5be9f133c0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3648],{3648:(E,p,r)=>{r.r(p),r.d(p,{ion_action_sheet:()=>_});var b=r(5861),e=r(2477),m=r(5853),v=r(8635),k=r(7389),d=r(7346),g=r(3814),s=r(7943),n=r(4963);r(1765),r(6319),r(2972),r(5067),r(2889),r(3006);const D=t=>{const o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},A=t=>{const o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},O=t=>{const o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},P=t=>{const o=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},_=class{constructor(t){(0,e.r)(this,t),this.didPresent=(0,e.d)(this,"ionActionSheetDidPresent",7),this.willPresent=(0,e.d)(this,"ionActionSheetWillPresent",7),this.willDismiss=(0,e.d)(this,"ionActionSheetWillDismiss",7),this.didDismiss=(0,e.d)(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=(0,e.d)(this,"didPresent",7),this.willPresentShorthand=(0,e.d)(this,"willPresent",7),this.willDismissShorthand=(0,e.d)(this,"willDismiss",7),this.didDismissShorthand=(0,e.d)(this,"didDismiss",7),this.delegateController=(0,d.d)(this),this.lockController=(0,k.c)(),this.triggerController=(0,d.e)(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,d.B)},this.dispatchCancelHandler=o=>{if((0,d.i)(o.detail.role)){const a=this.getButtons().find(h=>"cancel"===h.role);this.callButtonHandler(a)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:i}=this;t&&i.addClickListener(o,t)}present(){var t=this;return(0,b.Z)(function*(){const o=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,d.f)(t,"actionSheetEnter",D,O),o()})()}dismiss(t,o){var i=this;return(0,b.Z)(function*(){const a=yield i.lockController.lock(),h=yield(0,d.g)(i,t,o,"actionSheetLeave",A,P);return h&&i.delegateController.removeViewFromDom(),a(),h})()}onDidDismiss(){return(0,d.h)(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return(0,d.h)(this.el,"ionActionSheetWillDismiss")}buttonClick(t){var o=this;return(0,b.Z)(function*(){const i=t.role;return(0,d.i)(i)?o.dismiss(t.data,i):(yield o.callButtonHandler(t))?o.dismiss(t.data,t.role):Promise.resolve()})()}callButtonHandler(t){return(0,b.Z)(function*(){return!(t&&!1===(yield(0,d.s)(t.handler)))})()}getButtons(){return this.buttons.map(t=>"string"==typeof t?{text:t}:t)}connectedCallback(){(0,d.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){(0,d.k)(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:o}=this;!this.gesture&&"ios"===(0,s.b)(this)&&o&&t&&(0,e.e)(()=>{t.scrollHeight>t.clientHeight||(this.gesture=(0,m.c)(o,a=>a.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),!0===this.isOpen&&(0,v.r)(()=>this.present()),this.triggerChanged()}render(){const{header:t,htmlAttributes:o,overlayIndex:i}=this,a=(0,s.b)(this),h=this.getButtons(),u=h.find(c=>"cancel"===c.role),z=h.filter(c=>"cancel"!==c.role),C=`action-sheet-${i}-header`;return(0,e.h)(e.H,Object.assign({key:"49c8b5b3412b5688e44f3e3fa18abcc01c75a770",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?C:null,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},(0,g.g)(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,e.h)("ion-backdrop",{key:"80b4c279fca194c6d65bbdb8128956641387bb05",tappable:this.backdropDismiss}),(0,e.h)("div",{key:"245cde1873c07ef09267de8ab1a4d6ee51c0a83c",tabindex:"0"}),(0,e.h)("div",{key:"045109bb2118decbe633f45aa3d71b824d37c0fd",class:"action-sheet-wrapper ion-overlay-wrapper",ref:c=>this.wrapperEl=c},(0,e.h)("div",{key:"b053f3a177b6ac7f2f76f5470f7023389f06cfd8",class:"action-sheet-container"},(0,e.h)("div",{key:"88287aa180c22389747c9fec702112e29f4ec039",class:"action-sheet-group",ref:c=>this.groupEl=c},void 0!==t&&(0,e.h)("div",{key:"693e67af994a0018508a6deb867937916913eaa6",id:C,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&(0,e.h)("div",{key:"813cbb8d66e46d5a55a6c8bf52c5689882dc7002",class:"action-sheet-sub-title"},this.subHeader)),z.map(c=>(0,e.h)("button",Object.assign({},c.htmlAttributes,{type:"button",id:c.id,class:w(c),onClick:()=>this.buttonClick(c)}),(0,e.h)("span",{class:"action-sheet-button-inner"},c.icon&&(0,e.h)("ion-icon",{icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),"md"===a&&(0,e.h)("ion-ripple-effect",null)))),u&&(0,e.h)("div",{key:"f99cd10e7d91d3014edac6109c3e6dc128737f7c",class:"action-sheet-group action-sheet-group-cancel"},(0,e.h)("button",Object.assign({key:"595c6a39ba04185e80cc3b0705536f93b4f1ebf4"},u.htmlAttributes,{type:"button",class:w(u),onClick:()=>this.buttonClick(u)}),(0,e.h)("span",{key:"1f40403b907c6e925405a8b405ede9f7f9885611",class:"action-sheet-button-inner"},u.icon&&(0,e.h)("ion-icon",{key:"75d5398d889fa70b514843b9cc73b2087a0bf1a0",icon:u.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),u.text),"md"===a&&(0,e.h)("ion-ripple-effect",{key:"cda40def00755c69da9f6a67494eee4dc79550fc"}))))),(0,e.h)("div",{key:"4d9432bae550ef618ba762857144f1558e3e29e7",tabindex:"0"}))}get el(){return(0,e.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},w=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${t.role}`]:void 0!==t.role},(0,g.g)(t.cssClass));_.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}},3814:(E,p,r)=>{r.d(p,{c:()=>m,g:()=>k,h:()=>e,o:()=>g});var b=r(5861);const e=(s,n)=>null!==n.closest(s),m=(s,n)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},n):n,k=s=>{const n={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(s).forEach(l=>n[l]=!0),n},d=/^[a-z][a-z0-9+\-.]*:/,g=function(){var s=(0,b.Z)(function*(n,l,x,y){if(null!=n&&"#"!==n[0]&&!d.test(n)){const f=document.querySelector("ion-router");if(f)return l?.preventDefault(),f.push(n,x,y)}return!1});return function(l,x,y,f){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3648.6faea5eaa70b4f10.js b/3648.6faea5eaa70b4f10.js deleted file mode 100644 index fed09791..00000000 --- a/3648.6faea5eaa70b4f10.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3648],{3648:(E,p,r)=>{r.r(p),r.d(p,{ion_action_sheet:()=>_});var b=r(5861),o=r(6541),f=r(6086),v=r(8635),k=r(7389),d=r(4393),g=r(3814),s=r(4700),n=r(4963);r(1765),r(6319),r(2972),r(5067),r(2889),r(9019);const D=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},A=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},O=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([i,a])},P=t=>{const e=(0,n.c)(),i=(0,n.c)(),a=(0,n.c)();return i.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([i,a])},_=class{constructor(t){(0,o.r)(this,t),this.didPresent=(0,o.d)(this,"ionActionSheetDidPresent",7),this.willPresent=(0,o.d)(this,"ionActionSheetWillPresent",7),this.willDismiss=(0,o.d)(this,"ionActionSheetWillDismiss",7),this.didDismiss=(0,o.d)(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=(0,o.d)(this,"didPresent",7),this.willPresentShorthand=(0,o.d)(this,"willPresent",7),this.willDismissShorthand=(0,o.d)(this,"willDismiss",7),this.didDismissShorthand=(0,o.d)(this,"didDismiss",7),this.delegateController=(0,d.d)(this),this.lockController=(0,k.c)(),this.triggerController=(0,d.e)(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,d.B)},this.dispatchCancelHandler=e=>{if((0,d.i)(e.detail.role)){const a=this.getButtons().find(h=>"cancel"===h.role);this.callButtonHandler(a)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:i}=this;t&&i.addClickListener(e,t)}present(){var t=this;return(0,b.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom(),yield(0,d.f)(t,"actionSheetEnter",D,O),e()})()}dismiss(t,e){var i=this;return(0,b.Z)(function*(){const a=yield i.lockController.lock(),h=yield(0,d.g)(i,t,e,"actionSheetLeave",A,P);return h&&i.delegateController.removeViewFromDom(),a(),h})()}onDidDismiss(){return(0,d.h)(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return(0,d.h)(this.el,"ionActionSheetWillDismiss")}buttonClick(t){var e=this;return(0,b.Z)(function*(){const i=t.role;return(0,d.i)(i)?e.dismiss(t.data,i):(yield e.callButtonHandler(t))?e.dismiss(t.data,t.role):Promise.resolve()})()}callButtonHandler(t){return(0,b.Z)(function*(){return!(t&&!1===(yield(0,d.s)(t.handler)))})()}getButtons(){return this.buttons.map(t=>"string"==typeof t?{text:t}:t)}connectedCallback(){(0,d.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){(0,d.k)(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:e}=this;!this.gesture&&"ios"===(0,s.b)(this)&&e&&t&&(0,o.e)(()=>{t.scrollHeight>t.clientHeight||(this.gesture=(0,f.c)(e,a=>a.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),!0===this.isOpen&&(0,v.r)(()=>this.present()),this.triggerChanged()}render(){const{header:t,htmlAttributes:e,overlayIndex:i}=this,a=(0,s.b)(this),h=this.getButtons(),u=h.find(c=>"cancel"===c.role),z=h.filter(c=>"cancel"!==c.role),C=`action-sheet-${i}-header`;return(0,o.h)(o.H,Object.assign({key:"cd141d12d7d86d3402fd220c4afb61cdbf064c04",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?C:null,tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},(0,g.g)(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,o.h)("ion-backdrop",{key:"b6a051e2cf5e101edbf59c8a40a04d8f7107fb3c",tappable:this.backdropDismiss}),(0,o.h)("div",{key:"5bfa2b37a417aaff3776f06d92a8544dfcbf714f",tabindex:"0"}),(0,o.h)("div",{key:"77d5a217803fd7be8f8dbedcd0ef5e59f0fd9800",class:"action-sheet-wrapper ion-overlay-wrapper",ref:c=>this.wrapperEl=c},(0,o.h)("div",{key:"3901d56215f05cdab074e2ec321391281a165097",class:"action-sheet-container"},(0,o.h)("div",{key:"275f5c7981b2ee44fb632b3d137c7209cbfcf45c",class:"action-sheet-group",ref:c=>this.groupEl=c},void 0!==t&&(0,o.h)("div",{id:C,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&(0,o.h)("div",{class:"action-sheet-sub-title"},this.subHeader)),z.map(c=>(0,o.h)("button",Object.assign({},c.htmlAttributes,{type:"button",id:c.id,class:w(c),onClick:()=>this.buttonClick(c)}),(0,o.h)("span",{class:"action-sheet-button-inner"},c.icon&&(0,o.h)("ion-icon",{icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),"md"===a&&(0,o.h)("ion-ripple-effect",null)))),u&&(0,o.h)("div",{class:"action-sheet-group action-sheet-group-cancel"},(0,o.h)("button",Object.assign({},u.htmlAttributes,{type:"button",class:w(u),onClick:()=>this.buttonClick(u)}),(0,o.h)("span",{class:"action-sheet-button-inner"},u.icon&&(0,o.h)("ion-icon",{icon:u.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),u.text),"md"===a&&(0,o.h)("ion-ripple-effect",null))))),(0,o.h)("div",{key:"4285893438675be9b40838a93c2ff382a1074cd3",tabindex:"0"}))}get el(){return(0,o.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},w=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${t.role}`]:void 0!==t.role},(0,g.g)(t.cssClass));_.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;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);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'}},3814:(E,p,r)=>{r.d(p,{c:()=>f,g:()=>k,h:()=>o,o:()=>g});var b=r(5861);const o=(s,n)=>null!==n.closest(s),f=(s,n)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},n):n,k=s=>{const n={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(s).forEach(l=>n[l]=!0),n},d=/^[a-z][a-z0-9+\-.]*:/,g=function(){var s=(0,b.Z)(function*(n,l,x,y){if(null!=n&&"#"!==n[0]&&!d.test(n)){const m=document.querySelector("ion-router");if(m)return l?.preventDefault(),m.push(n,x,y)}return!1});return function(l,x,y,m){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/3804.c8924e937d9b7ced.js b/3804.ab701045223f512e.js similarity index 59% rename from 3804.c8924e937d9b7ced.js rename to 3804.ab701045223f512e.js index e0e86976..f4c4eec8 100644 --- a/3804.c8924e937d9b7ced.js +++ b/3804.ab701045223f512e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3804],{3804:(re,N,f)=>{f.r(N),f.d(N,{ion_popover:()=>ee});var S=f(5861),d=f(6541),$=f(5030),P=f(8635),V=f(7389),F=f(8909),T=f(4393),h=f(4700),g=f(3814),w=f(2005),v=f(4963);f(2972),f(9019);const q=(t,e,o)=>{const r=e.getBoundingClientRect(),i=r.height;let n=r.width;return"cover"===t&&o&&(n=o.getBoundingClientRect().width),{contentWidth:n,contentHeight:i}},se=(t,e,o)=>{let r=[];switch(e){case"hover":let i;r=[{eventName:"mouseenter",callback:(n=(0,S.Z)(function*(s){s.stopPropagation(),i&&clearTimeout(i),i=setTimeout(()=>{(0,P.r)(()=>{o.presentFromTrigger(s),i=void 0})},100)}),function(a){return n.apply(this,arguments)})},{eventName:"mouseleave",callback:n=>{i&&clearTimeout(i);const s=n.relatedTarget;s&&s.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:n=>{n.preventDefault(),o.presentFromTrigger(n)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;default:r=[{eventName:"click",callback:n=>o.presentFromTrigger(n)},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}]}var n;return r.forEach(({eventName:i,callback:n})=>t.addEventListener(i,n)),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach(({eventName:i,callback:n})=>t.removeEventListener(i,n)),t.removeAttribute("data-ion-popover-trigger")}},G=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex(o=>o===e):-1,z=t=>{const o=(0,P.g)(t).querySelector("button");o&&(0,P.r)(()=>o.focus())},de=t=>{const e=function(){var o=(0,S.Z)(function*(r){var i;const n=document.activeElement;let s=[];const a=null===(i=r.target)||void 0===i?void 0:i.tagName;if("ION-POPOVER"===a||"ION-ITEM"===a){try{s=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(r.key){case"ArrowLeft":(yield t.getParentPopover())&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":r.preventDefault();const l=((t,e)=>t[G(t,e)+1])(s,n);void 0!==l&&z(l);break;case"ArrowUp":r.preventDefault();const y=((t,e)=>t[G(t,e)-1])(s,n);void 0!==y&&z(y);break;case"Home":r.preventDefault();const u=s[0];void 0!==u&&z(u);break;case"End":r.preventDefault();const b=s[s.length-1];void 0!==b&&z(b);break;case"ArrowRight":case" ":case"Enter":if(n&&(t=>t.hasAttribute("data-ion-popover-trigger"))(n)){const m=new CustomEvent("ionPopoverActivateTrigger");n.dispatchEvent(m)}}}});return function(i){return o.apply(this,arguments)}}();return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},H=(t,e,o,r,i,n,s,a,p,l,y)=>{var u;let b={top:0,left:0,width:0,height:0};if("event"===n){if(!y)return p;b={top:y.clientY,left:y.clientX,width:1,height:1}}else{const L=l||(null===(u=y?.detail)||void 0===u?void 0:u.ionShadowTarget)||y?.target;if(!L)return p;const A=L.getBoundingClientRect();b={top:A.top,left:A.left,width:A.width,height:A.height}}const m=he(s,b,e,o,r,i,t),k=ue(a,s,b,e,o),_=m.top+k.top,E=m.left+k.left,{arrowTop:x,arrowLeft:I}=fe(s,r,i,_,E,e,o,t),{originX:D,originY:O}=le(s,a,t);return{top:_,left:E,referenceCoordinates:b,arrowTop:x,arrowLeft:I,originX:D,originY:O}},le=(t,e,o)=>{switch(t){case"top":return{originX:J(e),originY:"bottom"};case"bottom":return{originX:J(e),originY:"top"};case"left":return{originX:"right",originY:U(e)};case"right":return{originX:"left",originY:U(e)};case"start":return{originX:o?"left":"right",originY:U(e)};case"end":return{originX:o?"right":"left",originY:U(e)}}},J=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},U=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},fe=(t,e,o,r,i,n,s,a)=>{const p={arrowTop:r+s/2-e/2,arrowLeft:i+n-e/2},l={arrowTop:r+s/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+s,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return l;case"start":return a?l:p;case"end":return a?p:l;default:return{arrowTop:0,arrowLeft:0}}},he=(t,e,o,r,i,n,s)=>{const a={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return a;case"start":return s?p:a;case"end":return s?a:p}},ue=(t,e,o,r,i)=>{switch(t){case"center":return me(e,o,r,i);case"end":return ve(e,o,r,i);default:return{top:0,left:0}}},ve=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},me=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},Q=(t,e,o,r,i,n,s,a,p,l,y,u,b=0,m=0,k=0)=>{let _=b;const E=m;let D,x=o,I=e,O=l,C=y,c=!1,L=!1;const A=u?u.top+u.height:n/2-a/2,M=u?u.height:0;let R=!1;return xi&&(L=!0,x=i-s-r,O="right"),A+M+a>n&&("top"===t||"bottom"===t)&&(A-a>0?(I=Math.max(12,A-a-M-(k-1)),_=I+a,C="bottom",R=!0):D=r),{top:I,left:x,bottom:D,originX:O,originY:C,checkSafeAreaLeft:c,checkSafeAreaRight:L,arrowTop:_,arrowLeft:E,addPopoverBottomClass:R}},xe=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,l=t.ownerDocument,y="rtl"===l.dir,u=l.defaultView.innerWidth,b=l.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=m.querySelector(".popover-arrow"),E=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:x,contentHeight:I}=q(i,k,E),{arrowWidth:D,arrowHeight:O}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}})(_),c=H(y,x,I,D,O,s,a,p,{top:b/2-I/2,left:u/2-x/2,originX:y?"right":"left",originY:"top"},n,r),L="cover"===i?0:5,A="cover"===i?0:25,{originX:M,originY:R,top:j,left:W,bottom:K,checkSafeAreaLeft:X,checkSafeAreaRight:Ee,arrowTop:Ie,arrowLeft:Te,addPopoverBottomClass:Oe}=Q(a,c.top,c.left,L,u,b,x,I,A,c.originX,c.originY,c.referenceCoordinates,c.arrowTop,c.arrowLeft,O),Ce=(0,v.c)(),te=(0,v.c)(),oe=(0,v.c)();return te.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),oe.addElement(m.querySelector(".popover-arrow")).addElement(m.querySelector(".popover-content")).fromTo("opacity",.01,1),Ce.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${x}px`),Oe&&t.classList.add("popover-bottom"),void 0!==K&&k.style.setProperty("bottom",`${K}px`);let Z=`${W}px`;X&&(Z=`${W}px + var(--ion-safe-area-left, 0)`),Ee&&(Z=`${W}px - var(--ion-safe-area-right, 0)`),k.style.setProperty("top",`calc(${j}px + var(--offset-y, 0))`),k.style.setProperty("left",`calc(${Z} + var(--offset-x, 0))`),k.style.setProperty("transform-origin",`${R} ${M}`),null!==_&&(((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,c.top!==j||c.left!==W,r,n)?(_.style.setProperty("top",`calc(${Ie}px + var(--offset-y, 0))`),_.style.setProperty("left",`calc(${Te}px + var(--offset-x, 0))`)):_.style.setProperty("display","none"))}).addAnimation([te,oe])},we=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=(0,v.c)(),n=(0,v.c)(),s=(0,v.c)();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.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,s])},ke=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,l=t.ownerDocument,y="rtl"===l.dir,u=l.defaultView.innerWidth,b=l.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:E,contentHeight:x}=q(i,k,_),D=H(y,E,x,0,0,s,a,p,{top:b/2-x/2,left:u/2-E/2,originX:y?"right":"left",originY:"top"},n,r),O="cover"===i?0:12,{originX:C,originY:c,top:L,left:A,bottom:M}=Q(a,D.top,D.left,O,u,b,E,x,0,D.originX,D.originY,D.referenceCoordinates),R=(0,v.c)(),j=(0,v.c)(),W=(0,v.c)(),K=(0,v.c)(),X=(0,v.c)();return j.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),W.addElement(m.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),K.addElement(k).beforeStyles({top:`calc(${L}px + var(--offset-y, 0px))`,left:`calc(${A}px + var(--offset-x, 0px))`,"transform-origin":`${c} ${C}`}).beforeAddWrite(()=>{void 0!==M&&k.style.setProperty("bottom",`${M}px`)}).fromTo("transform","scale(0.8)","scale(1)"),X.addElement(m.querySelector(".popover-viewport")).fromTo("opacity",.01,1),R.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${E}px`),"bottom"===c&&t.classList.add("popover-bottom")}).addAnimation([j,W,K,X])},Pe=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=(0,v.c)(),i=(0,v.c)(),n=(0,v.c)();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.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])},ee=class{constructor(t){(0,d.r)(this,t),this.didPresent=(0,d.d)(this,"ionPopoverDidPresent",7),this.willPresent=(0,d.d)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,d.d)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,d.d)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,d.d)(this,"didPresent",7),this.willPresentShorthand=(0,d.d)(this,"willPresent",7),this.willDismissShorthand=(0,d.d)(this,"willDismiss",7),this.didDismissShorthand=(0,d.d)(this,"didDismiss",7),this.ionMount=(0,d.d)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=(0,$.C)(),this.lockController=(0,V.c)(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,T.B)},this.onLifecycle=e=>{const o=this.usersElement,r=Ae[e.type];if(o&&r){const i=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(i)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:o,el:r,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===e)return;const n=this.triggerEl=void 0!==e?document.getElementById(e):null;n?this.destroyTriggerInteraction=se(n,o,r):(0,F.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:o}=this;e&&e(),this.destroyKeyboardInteraction=de(o)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:o,triggerAction:r,triggerEl:i,el:n}=this;!o||!i||(e&&e(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=(0,P.g)(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:a=>{a.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):a.stopPropagation()}}],i.forEach(({eventName:a,callback:p})=>s.addEventListener(a,p)),()=>{i.forEach(({eventName:a,callback:p})=>s.removeEventListener(a,p))}})(i,r,n,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;(0,T.j)(e),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){const{el:t}=this,e=(0,T.k)(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===(0,h.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&(0,P.r)(()=>this.present()),t&&(0,P.a)(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(t,e=!1){var o=this;return(0,S.Z)(function*(){o.focusDescendantOnPresent=e,yield o.present(t),o.focusDescendantOnPresent=!1})()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}present(t){var e=this;return(0,S.Z)(function*(){const o=yield e.lockController.lock();if(e.presented)return void o();const{el:r}=e,{inline:i,delegate:n}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(n,r,e.component,["popover-viewport"],e.componentProps,i),e.keyboardEvents||e.configureKeyboardInteraction(),e.configureDismissInteraction(),(0,P.m)(r)?yield(0,w.e)(e.usersElement):e.keepContentsMounted||(yield(0,w.w)()),yield(0,T.f)(e,"popoverEnter",xe,ke,{event:t||e.event,size:e.size,trigger:e.triggerEl,reference:e.reference,side:e.side,align:e.alignment}),e.focusDescendantOnPresent&&(0,T.n)(e.el,e.el),o()})()}dismiss(t,e,o=!0){var r=this;return(0,S.Z)(function*(){const i=yield r.lockController.lock(),{destroyKeyboardInteraction:n,destroyDismissInteraction:s}=r;o&&r.parentPopover&&r.parentPopover.dismiss(t,e,o);const a=yield(0,T.g)(r,t,e,"popoverLeave",we,Pe,r.event);if(a){n&&(n(),r.destroyKeyboardInteraction=void 0),s&&(s(),r.destroyDismissInteraction=void 0);const{delegate:p}=r.getDelegate();yield(0,$.d)(p,r.usersElement)}return i(),a})()}getParentPopover(){var t=this;return(0,S.Z)(function*(){return t.parentPopover})()}onDidDismiss(){return(0,T.h)(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return(0,T.h)(this.el,"ionPopoverWillDismiss")}render(){const t=(0,h.b)(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:i,arrow:n,htmlAttributes:s}=this,a=(0,h.a)("desktop"),p=n&&!o;return(0,d.h)(d.H,Object.assign({key:"b35e04a59d2feff922709efc5045e4e9f65db80d","aria-modal":"true","no-router":!0,tabindex:"-1"},s,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},(0,g.g)(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":a,[`popover-side-${i}`]:!0,"popover-nested":!!o}),onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap}),!o&&(0,d.h)("ion-backdrop",{tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,d.h)("div",{key:"99d26b7ebd403061f4fe75c10b8106d5795cbbc0",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},p&&(0,d.h)("div",{class:"popover-arrow",part:"arrow"}),(0,d.h)("div",{key:"6179601846f042b7b3be20c93845464ec8bef98a",class:"popover-content",part:"content"},(0,d.h)("slot",{key:"2ba4f3ba26adfd3d42fa78ca6b6561d4088be8a8"}))))}get el(){return(0,d.f)(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},Ae={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};ee.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{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}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .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 selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',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{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}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}},3814:(re,N,f)=>{f.d(N,{c:()=>$,g:()=>V,h:()=>d,o:()=>T});var S=f(5861);const d=(h,g)=>null!==g.closest(h),$=(h,g)=>"string"==typeof h&&h.length>0?Object.assign({"ion-color":!0,[`ion-color-${h}`]:!0},g):g,V=h=>{const g={};return(h=>void 0!==h?(Array.isArray(h)?h:h.split(" ")).filter(w=>null!=w).map(w=>w.trim()).filter(w=>""!==w):[])(h).forEach(w=>g[w]=!0),g},F=/^[a-z][a-z0-9+\-.]*:/,T=function(){var h=(0,S.Z)(function*(g,w,v,B){if(null!=g&&"#"!==g[0]&&!F.test(g)){const Y=document.querySelector("ion-router");if(Y)return w?.preventDefault(),Y.push(g,v,B)}return!1});return function(w,v,B,Y){return h.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3804],{3804:(re,N,f)=>{f.r(N),f.d(N,{ion_popover:()=>ee});var S=f(5861),d=f(2477),$=f(5030),P=f(8635),V=f(7389),F=f(8909),T=f(7346),h=f(7943),g=f(3814),y=f(9721),v=f(4963);f(2972),f(3006);const q=(t,e,o)=>{const r=e.getBoundingClientRect(),i=r.height;let n=r.width;return"cover"===t&&o&&(n=o.getBoundingClientRect().width),{contentWidth:n,contentHeight:i}},se=(t,e,o)=>{let r=[];switch(e){case"hover":let i;r=[{eventName:"mouseenter",callback:(n=(0,S.Z)(function*(s){s.stopPropagation(),i&&clearTimeout(i),i=setTimeout(()=>{(0,P.r)(()=>{o.presentFromTrigger(s),i=void 0})},100)}),function(a){return n.apply(this,arguments)})},{eventName:"mouseleave",callback:n=>{i&&clearTimeout(i);const s=n.relatedTarget;s&&s.closest("ion-popover")!==o&&o.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;case"context-menu":r=[{eventName:"contextmenu",callback:n=>{n.preventDefault(),o.presentFromTrigger(n)}},{eventName:"click",callback:n=>n.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}];break;default:r=[{eventName:"click",callback:n=>o.presentFromTrigger(n)},{eventName:"ionPopoverActivateTrigger",callback:n=>o.presentFromTrigger(n,!0)}]}var n;return r.forEach(({eventName:i,callback:n})=>t.addEventListener(i,n)),t.setAttribute("data-ion-popover-trigger","true"),()=>{r.forEach(({eventName:i,callback:n})=>t.removeEventListener(i,n)),t.removeAttribute("data-ion-popover-trigger")}},G=(t,e)=>e&&"ION-ITEM"===e.tagName?t.findIndex(o=>o===e):-1,z=t=>{const o=(0,P.g)(t).querySelector("button");o&&(0,P.r)(()=>o.focus())},de=t=>{const e=function(){var o=(0,S.Z)(function*(r){var i;const n=document.activeElement;let s=[];const a=null===(i=r.target)||void 0===i?void 0:i.tagName;if("ION-POPOVER"===a||"ION-ITEM"===a){try{s=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch{}switch(r.key){case"ArrowLeft":(yield t.getParentPopover())&&t.dismiss(void 0,void 0,!1);break;case"ArrowDown":r.preventDefault();const l=((t,e)=>t[G(t,e)+1])(s,n);void 0!==l&&z(l);break;case"ArrowUp":r.preventDefault();const w=((t,e)=>t[G(t,e)-1])(s,n);void 0!==w&&z(w);break;case"Home":r.preventDefault();const u=s[0];void 0!==u&&z(u);break;case"End":r.preventDefault();const b=s[s.length-1];void 0!==b&&z(b);break;case"ArrowRight":case" ":case"Enter":if(n&&(t=>t.hasAttribute("data-ion-popover-trigger"))(n)){const m=new CustomEvent("ionPopoverActivateTrigger");n.dispatchEvent(m)}}}});return function(i){return o.apply(this,arguments)}}();return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},H=(t,e,o,r,i,n,s,a,p,l,w)=>{var u;let b={top:0,left:0,width:0,height:0};if("event"===n){if(!w)return p;b={top:w.clientY,left:w.clientX,width:1,height:1}}else{const L=l||(null===(u=w?.detail)||void 0===u?void 0:u.ionShadowTarget)||w?.target;if(!L)return p;const A=L.getBoundingClientRect();b={top:A.top,left:A.left,width:A.width,height:A.height}}const m=he(s,b,e,o,r,i,t),k=ue(a,s,b,e,o),_=m.top+k.top,E=m.left+k.left,{arrowTop:x,arrowLeft:I}=fe(s,r,i,_,E,e,o,t),{originX:D,originY:O}=le(s,a,t);return{top:_,left:E,referenceCoordinates:b,arrowTop:x,arrowLeft:I,originX:D,originY:O}},le=(t,e,o)=>{switch(t){case"top":return{originX:J(e),originY:"bottom"};case"bottom":return{originX:J(e),originY:"top"};case"left":return{originX:"right",originY:U(e)};case"right":return{originX:"left",originY:U(e)};case"start":return{originX:o?"left":"right",originY:U(e)};case"end":return{originX:o?"right":"left",originY:U(e)}}},J=t=>{switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}},U=t=>{switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}},fe=(t,e,o,r,i,n,s,a)=>{const p={arrowTop:r+s/2-e/2,arrowLeft:i+n-e/2},l={arrowTop:r+s/2-e/2,arrowLeft:i-1.5*e};switch(t){case"top":return{arrowTop:r+s,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:r-o,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return l;case"start":return a?l:p;case"end":return a?p:l;default:return{arrowTop:0,arrowLeft:0}}},he=(t,e,o,r,i,n,s)=>{const a={top:e.top,left:e.left-o-i},p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-r-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return a;case"start":return s?p:a;case"end":return s?a:p}},ue=(t,e,o,r,i)=>{switch(t){case"center":return me(e,o,r,i);case"end":return ve(e,o,r,i);default:return{top:0,left:0}}},ve=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r-e.height),left:0};default:return{top:0,left:-(o-e.width)}}},me=(t,e,o,r)=>{switch(t){case"start":case"end":case"left":case"right":return{top:-(r/2-e.height/2),left:0};default:return{top:0,left:-(o/2-e.width/2)}}},Q=(t,e,o,r,i,n,s,a,p,l,w,u,b=0,m=0,k=0)=>{let _=b;const E=m;let D,x=o,I=e,O=l,C=w,c=!1,L=!1;const A=u?u.top+u.height:n/2-a/2,M=u?u.height:0;let R=!1;return xi&&(L=!0,x=i-s-r,O="right"),A+M+a>n&&("top"===t||"bottom"===t)&&(A-a>0?(I=Math.max(12,A-a-M-(k-1)),_=I+a,C="bottom",R=!0):D=r),{top:I,left:x,bottom:D,originX:O,originY:C,checkSafeAreaLeft:c,checkSafeAreaRight:L,arrowTop:_,arrowLeft:E,addPopoverBottomClass:R}},xe=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,l=t.ownerDocument,w="rtl"===l.dir,u=l.defaultView.innerWidth,b=l.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=m.querySelector(".popover-arrow"),E=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:x,contentHeight:I}=q(i,k,E),{arrowWidth:D,arrowHeight:O}=(t=>{if(!t)return{arrowWidth:0,arrowHeight:0};const{width:e,height:o}=t.getBoundingClientRect();return{arrowWidth:e,arrowHeight:o}})(_),c=H(w,x,I,D,O,s,a,p,{top:b/2-I/2,left:u/2-x/2,originX:w?"right":"left",originY:"top"},n,r),L="cover"===i?0:5,A="cover"===i?0:25,{originX:M,originY:R,top:j,left:W,bottom:K,checkSafeAreaLeft:X,checkSafeAreaRight:Ee,arrowTop:Ie,arrowLeft:Te,addPopoverBottomClass:Oe}=Q(a,c.top,c.left,L,u,b,x,I,A,c.originX,c.originY,c.referenceCoordinates,c.arrowTop,c.arrowLeft,O),Ce=(0,v.c)(),te=(0,v.c)(),oe=(0,v.c)();return te.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),oe.addElement(m.querySelector(".popover-arrow")).addElement(m.querySelector(".popover-content")).fromTo("opacity",.01,1),Ce.easing("ease").duration(100).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${x}px`),Oe&&t.classList.add("popover-bottom"),void 0!==K&&k.style.setProperty("bottom",`${K}px`);let Z=`${W}px`;X&&(Z=`${W}px + var(--ion-safe-area-left, 0)`),Ee&&(Z=`${W}px - var(--ion-safe-area-right, 0)`),k.style.setProperty("top",`calc(${j}px + var(--offset-y, 0))`),k.style.setProperty("left",`calc(${Z} + var(--offset-x, 0))`),k.style.setProperty("transform-origin",`${R} ${M}`),null!==_&&(((t,e=!1,o,r)=>!(!o&&!r||"top"!==t&&"bottom"!==t&&e))(a,c.top!==j||c.left!==W,r,n)?(_.style.setProperty("top",`calc(${Ie}px + var(--offset-y, 0))`),_.style.setProperty("left",`calc(${Te}px + var(--offset-x, 0))`)):_.style.setProperty("display","none"))}).addAnimation([te,oe])},ye=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=e.querySelector(".popover-arrow"),i=(0,v.c)(),n=(0,v.c)(),s=(0,v.c)();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),s.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.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,s])},ke=(t,e)=>{var o;const{event:r,size:i,trigger:n,reference:s,side:a,align:p}=e,l=t.ownerDocument,w="rtl"===l.dir,u=l.defaultView.innerWidth,b=l.defaultView.innerHeight,m=(0,P.g)(t),k=m.querySelector(".popover-content"),_=n||(null===(o=r?.detail)||void 0===o?void 0:o.ionShadowTarget)||r?.target,{contentWidth:E,contentHeight:x}=q(i,k,_),D=H(w,E,x,0,0,s,a,p,{top:b/2-x/2,left:u/2-E/2,originX:w?"right":"left",originY:"top"},n,r),O="cover"===i?0:12,{originX:C,originY:c,top:L,left:A,bottom:M}=Q(a,D.top,D.left,O,u,b,E,x,0,D.originX,D.originY,D.referenceCoordinates),R=(0,v.c)(),j=(0,v.c)(),W=(0,v.c)(),K=(0,v.c)(),X=(0,v.c)();return j.addElement(m.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),W.addElement(m.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),K.addElement(k).beforeStyles({top:`calc(${L}px + var(--offset-y, 0px))`,left:`calc(${A}px + var(--offset-x, 0px))`,"transform-origin":`${c} ${C}`}).beforeAddWrite(()=>{void 0!==M&&k.style.setProperty("bottom",`${M}px`)}).fromTo("transform","scale(0.8)","scale(1)"),X.addElement(m.querySelector(".popover-viewport")).fromTo("opacity",.01,1),R.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===i&&t.style.setProperty("--width",`${E}px`),"bottom"===c&&t.classList.add("popover-bottom")}).addAnimation([j,W,K,X])},Pe=t=>{const e=(0,P.g)(t),o=e.querySelector(".popover-content"),r=(0,v.c)(),i=(0,v.c)(),n=(0,v.c)();return i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),r.easing("ease").afterAddWrite(()=>{t.style.removeProperty("--width"),t.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])},ee=class{constructor(t){(0,d.r)(this,t),this.didPresent=(0,d.d)(this,"ionPopoverDidPresent",7),this.willPresent=(0,d.d)(this,"ionPopoverWillPresent",7),this.willDismiss=(0,d.d)(this,"ionPopoverWillDismiss",7),this.didDismiss=(0,d.d)(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=(0,d.d)(this,"didPresent",7),this.willPresentShorthand=(0,d.d)(this,"willPresent",7),this.willDismissShorthand=(0,d.d)(this,"willDismiss",7),this.didDismissShorthand=(0,d.d)(this,"didDismiss",7),this.ionMount=(0,d.d)(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=(0,$.C)(),this.lockController=(0,V.c)(),this.inline=!1,this.focusDescendantOnPresent=!1,this.onBackdropTap=()=>{this.dismiss(void 0,T.B)},this.onLifecycle=e=>{const o=this.usersElement,r=Ae[e.type];if(o&&r){const i=new CustomEvent(r,{bubbles:!1,cancelable:!1,detail:e.detail});o.dispatchEvent(i)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:o,el:r,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===e)return;const n=this.triggerEl=void 0!==e?document.getElementById(e):null;n?this.destroyTriggerInteraction=se(n,o,r):(0,F.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:o}=this;e&&e(),this.destroyKeyboardInteraction=de(o)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:o,triggerAction:r,triggerEl:i,el:n}=this;!o||!i||(e&&e(),this.destroyDismissInteraction=((t,e,o,r)=>{let i=[];const s=(0,P.g)(r).querySelector(".popover-content");return i="hover"===e?[{eventName:"mouseenter",callback:a=>{document.elementFromPoint(a.clientX,a.clientY)!==t&&o.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:a=>{a.target.closest("[data-ion-popover-trigger]")!==t?o.dismiss(void 0,void 0,!1):a.stopPropagation()}}],i.forEach(({eventName:a,callback:p})=>s.addEventListener(a,p)),()=>{i.forEach(({eventName:a,callback:p})=>s.removeEventListener(a,p))}})(i,r,n,o))},this.presented=!1,this.hasController=!1,this.delegate=void 0,this.overlayIndex=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.component=void 0,this.componentProps=void 0,this.keyboardClose=!0,this.cssClass=void 0,this.backdropDismiss=!0,this.event=void 0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.triggerAction="click",this.trigger=void 0,this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.alignment=void 0,this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.keepContentsMounted=!1}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:t,el:e}=this;(0,T.j)(e),t()}disconnectedCallback(){const{destroyTriggerInteraction:t}=this;t&&t()}componentWillLoad(){const{el:t}=this,e=(0,T.k)(t);this.parentPopover=t.closest(`ion-popover:not(#${e})`),void 0===this.alignment&&(this.alignment="ios"===(0,h.b)(this)?"center":"start")}componentDidLoad(){const{parentPopover:t,isOpen:e}=this;!0===e&&(0,P.r)(()=>this.present()),t&&(0,P.a)(t,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}presentFromTrigger(t,e=!1){var o=this;return(0,S.Z)(function*(){o.focusDescendantOnPresent=e,yield o.present(t),o.focusDescendantOnPresent=!1})()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const o=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:o,delegate:this.workingDelegate=o?this.delegate||this.coreDelegate:this.delegate}}present(t){var e=this;return(0,S.Z)(function*(){const o=yield e.lockController.lock();if(e.presented)return void o();const{el:r}=e,{inline:i,delegate:n}=e.getDelegate(!0);e.ionMount.emit(),e.usersElement=yield(0,$.a)(n,r,e.component,["popover-viewport"],e.componentProps,i),e.keyboardEvents||e.configureKeyboardInteraction(),e.configureDismissInteraction(),(0,P.m)(r)?yield(0,y.e)(e.usersElement):e.keepContentsMounted||(yield(0,y.w)()),yield(0,T.f)(e,"popoverEnter",xe,ke,{event:t||e.event,size:e.size,trigger:e.triggerEl,reference:e.reference,side:e.side,align:e.alignment}),e.focusDescendantOnPresent&&(0,T.n)(e.el,e.el),o()})()}dismiss(t,e,o=!0){var r=this;return(0,S.Z)(function*(){const i=yield r.lockController.lock(),{destroyKeyboardInteraction:n,destroyDismissInteraction:s}=r;o&&r.parentPopover&&r.parentPopover.dismiss(t,e,o);const a=yield(0,T.g)(r,t,e,"popoverLeave",ye,Pe,r.event);if(a){n&&(n(),r.destroyKeyboardInteraction=void 0),s&&(s(),r.destroyDismissInteraction=void 0);const{delegate:p}=r.getDelegate();yield(0,$.d)(p,r.usersElement)}return i(),a})()}getParentPopover(){var t=this;return(0,S.Z)(function*(){return t.parentPopover})()}onDidDismiss(){return(0,T.h)(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return(0,T.h)(this.el,"ionPopoverWillDismiss")}render(){const t=(0,h.b)(this),{onLifecycle:e,parentPopover:o,dismissOnSelect:r,side:i,arrow:n,htmlAttributes:s}=this,a=(0,h.a)("desktop"),p=n&&!o;return(0,d.h)(d.H,Object.assign({key:"f3b86c7bc6ef6b1b27a6ac78e7ddd98e46223bd4","aria-modal":"true","no-router":!0,tabindex:"-1"},s,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({},(0,g.g)(this.cssClass)),{[t]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":a,[`popover-side-${i}`]:!0,"popover-nested":!!o}),onIonPopoverDidPresent:e,onIonPopoverWillPresent:e,onIonPopoverWillDismiss:e,onIonPopoverDidDismiss:e,onIonBackdropTap:this.onBackdropTap}),!o&&(0,d.h)("ion-backdrop",{key:"f7fbd914100838ed7d419eedd19e6b1efa691127",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),(0,d.h)("div",{key:"a651cb4daa6556e761c2e2b672306ad25e4c9429",class:"popover-wrapper ion-overlay-wrapper",onClick:r?()=>this.dismiss():void 0},p&&(0,d.h)("div",{key:"7c5c7d8d6f9530535124e3fc75a38055f68b7589",class:"popover-arrow",part:"arrow"}),(0,d.h)("div",{key:"9f92fff4f36941e8f7de9774aef7d7508ca5cfe5",class:"popover-content",part:"content"},(0,d.h)("slot",{key:"26c4e3df40a4832caff996ead3321c656eb5704f"}))))}get el(){return(0,d.f)(this)}static get watchers(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}}},Ae={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};ee.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{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}::slotted(.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}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, #e6e6e6)}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}@supports (inset-inline-start: 0){.popover-arrow::after{inset-inline-start:3px}}@supports not (inset-inline-start: 0){.popover-arrow::after{left:3px}:host-context([dir=rtl]) .popover-arrow::after{left:unset;right:unset;right:3px}[dir=rtl] .popover-arrow::after{left:unset;right:unset;right:3px}@supports selector(:dir(rtl)){.popover-arrow::after:dir(rtl){left:unset;right:unset;right:3px}}}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .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 selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}',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{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}::slotted(.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}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}"}},3814:(re,N,f)=>{f.d(N,{c:()=>$,g:()=>V,h:()=>d,o:()=>T});var S=f(5861);const d=(h,g)=>null!==g.closest(h),$=(h,g)=>"string"==typeof h&&h.length>0?Object.assign({"ion-color":!0,[`ion-color-${h}`]:!0},g):g,V=h=>{const g={};return(h=>void 0!==h?(Array.isArray(h)?h:h.split(" ")).filter(y=>null!=y).map(y=>y.trim()).filter(y=>""!==y):[])(h).forEach(y=>g[y]=!0),g},F=/^[a-z][a-z0-9+\-.]*:/,T=function(){var h=(0,S.Z)(function*(g,y,v,B){if(null!=g&&"#"!==g[0]&&!F.test(g)){const Y=document.querySelector("ion-router");if(Y)return y?.preventDefault(),Y.push(g,v,B)}return!1});return function(y,v,B,Y){return h.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/388.4a65b665064a31c4.js b/388.49bf6520ed21777d.js similarity index 88% rename from 388.4a65b665064a31c4.js rename to 388.49bf6520ed21777d.js index ed285f3b..6af4f93b 100644 --- a/388.4a65b665064a31c4.js +++ b/388.49bf6520ed21777d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[388],{388:(w,c,e)=>{e.r(c),e.d(c,{ion_card:()=>r,ion_card_content:()=>u,ion_card_header:()=>x,ion_card_subtitle:()=>v,ion_card_title:()=>k});var t=e(6541),p=e(8635),a=e(3814),s=e(4700);const r=class{constructor(o){(0,t.r)(this,o),this.inheritedAriaAttributes={},this.color=void 0,this.button=!1,this.type="button",this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}componentWillLoad(){this.inheritedAriaAttributes=(0,p.k)(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(o){const b=this.isClickable();if(!b)return[(0,t.h)("slot",null)];const{href:y,routerAnimation:A,routerDirection:T,inheritedAriaAttributes:D}=this,C=b?void 0===y?"button":"a":"div";return(0,t.h)(C,Object.assign({},"button"===C?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},D,{class:"card-native",part:"native",disabled:this.disabled,onClick:O=>(0,a.o)(y,O,T,A)}),(0,t.h)("slot",null),b&&"md"===o&&(0,t.h)("ion-ripple-effect",null))}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"9e35c114ce466623024b94dd6797118ad027417d",class:(0,a.c)(this.color,{[o]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(o))}get el(){return(0,t.f)(this)}};r.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}"};const u=class{constructor(o){(0,t.r)(this,o)}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"d4da147bb0b0b14684b54d37d04ba5a8f7a7d71d",class:{[o]:!0,[`card-content-${o}`]:!0}})}};u.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const x=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.translucent=!1}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"070294064c4b17c941961c9cccf1ae6592b385b6",class:(0,a.c)(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"adac918d5e93bf69b07c5bda329ebf8c719bd623"}))}};x.style={ios:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};const v=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"ae115cf349cd13f88d20b1fbab6b8a813a87b925",role:"heading","aria-level":"3",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"f5dd779b34b5c5c541cbbe56cc8a877e50513252"}))}};v.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}"};const k=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"432d7bf971fda63c30c748986143ec2a8be9e4af",role:"heading","aria-level":"2",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"3c5dcf6ac1bf981c6c0488f0027765269c80db5a"}))}};k.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}"}},3814:(w,c,e)=>{e.d(c,{c:()=>a,g:()=>m,h:()=>p,o:()=>f});var t=e(5861);const p=(n,r)=>null!==r.closest(n),a=(n,r)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},r):r,m=n=>{const r={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(n).forEach(i=>r[i]=!0),r},h=/^[a-z][a-z0-9+\-.]*:/,f=function(){var n=(0,t.Z)(function*(r,i,l,g){if(null!=r&&"#"!==r[0]&&!h.test(r)){const d=document.querySelector("ion-router");if(d)return i?.preventDefault(),d.push(r,l,g)}return!1});return function(i,l,g,d){return n.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[388],{388:(w,c,e)=>{e.r(c),e.d(c,{ion_card:()=>r,ion_card_content:()=>u,ion_card_header:()=>x,ion_card_subtitle:()=>v,ion_card_title:()=>k});var t=e(2477),p=e(8635),a=e(3814),s=e(7943);const r=class{constructor(o){(0,t.r)(this,o),this.inheritedAriaAttributes={},this.color=void 0,this.button=!1,this.type="button",this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}componentWillLoad(){this.inheritedAriaAttributes=(0,p.k)(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(o){const m=this.isClickable();if(!m)return[(0,t.h)("slot",null)];const{href:y,routerAnimation:A,routerDirection:T,inheritedAriaAttributes:D}=this,C=m?void 0===y?"button":"a":"div";return(0,t.h)(C,Object.assign({},"button"===C?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},D,{class:"card-native",part:"native",disabled:this.disabled,onClick:O=>(0,a.o)(y,O,T,A)}),(0,t.h)("slot",null),m&&"md"===o&&(0,t.h)("ion-ripple-effect",null))}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"b92792294360fd974324b31ed2d3db00d3e2f8cd",class:(0,a.c)(this.color,{[o]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(o))}get el(){return(0,t.f)(this)}};r.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}"};const u=class{constructor(o){(0,t.r)(this,o)}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"dd95806f042fcd124b18126679f671be6e32a021",class:{[o]:!0,[`card-content-${o}`]:!0}})}};u.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const x=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.translucent=!1}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"44077ad8e3edf7726d0f7a039046e32dc56a83c9",class:(0,a.c)(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"51b6f4048d25521ece18d79e5361c762af41cae7"}))}};x.style={ios:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};const v=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"6f94c9ced239cc945a148e0ecc7ab848fa70d8e3",role:"heading","aria-level":"3",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"445f81155799be5e81baa571bd16d57e5149df62"}))}};v.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}"};const k=class{constructor(o){(0,t.r)(this,o),this.color=void 0}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"a9e4190346e7d0a8e6089ec1fe01bca0f5f7200d",role:"heading","aria-level":"2",class:(0,a.c)(this.color,{"ion-inherit-color":!0,[o]:!0})},(0,t.h)("slot",{key:"8d87636ad703545b6d2297629205a5a8616eb94e"}))}};k.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}"}},3814:(w,c,e)=>{e.d(c,{c:()=>a,g:()=>b,h:()=>p,o:()=>f});var t=e(5861);const p=(n,r)=>null!==r.closest(n),a=(n,r)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},r):r,b=n=>{const r={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(n).forEach(i=>r[i]=!0),r},h=/^[a-z][a-z0-9+\-.]*:/,f=function(){var n=(0,t.Z)(function*(r,i,l,g){if(null!=r&&"#"!==r[0]&&!h.test(r)){const d=document.querySelector("ion-router");if(d)return i?.preventDefault(),d.push(r,l,g)}return!1});return function(i,l,g,d){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4174.d738213b3e8d39b5.js b/4174.a2c2c730c94bf11d.js similarity index 99% rename from 4174.d738213b3e8d39b5.js rename to 4174.a2c2c730c94bf11d.js index 14f0e4d9..1d58fc7b 100644 --- a/4174.d738213b3e8d39b5.js +++ b/4174.a2c2c730c94bf11d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4174],{4174:(p,c,e)=>{e.r(c),e.d(c,{ion_progress_bar:()=>i});var n=e(6541),m=e(8635),u=e(3814),b=e(4700);const i=class{constructor(s){(0,n.r)(this,s),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1,this.color=void 0}render(){const{color:s,type:a,reversed:l,value:o,buffer:w}=this,X=b.c.getBoolean("_testing"),y=(0,b.b)(this);return(0,n.h)(n.H,{key:"4dbdfe17c039ed9b2e0badec30655cb9e7dac768",role:"progressbar","aria-valuenow":"determinate"===a?o:null,"aria-valuemin":"0","aria-valuemax":"1",class:(0,u.c)(s,{[y]:!0,[`progress-bar-${a}`]:!0,"progress-paused":X,"progress-bar-reversed":"rtl"===document.dir?!l:l})},"indeterminate"===a?r():f(o,w))}},r=()=>(0,n.h)("div",{part:"track",class:"progress-buffer-bar"},(0,n.h)("div",{class:"indeterminate-bar-primary"},(0,n.h)("span",{part:"progress",class:"progress-indeterminate"})),(0,n.h)("div",{class:"indeterminate-bar-secondary"},(0,n.h)("span",{part:"progress",class:"progress-indeterminate"}))),f=(s,a)=>{const l=(0,m.l)(0,s,1),o=(0,m.l)(0,a,1);return[(0,n.h)("div",{part:"progress",class:"progress",style:{transform:`scaleX(${l})`}}),(0,n.h)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===o},style:{transform:`translateX(${100*o}%)`}},(0,n.h)("div",{class:"buffer-circles-container",style:{transform:`translateX(-${100*o}%)`}},(0,n.h)("div",{part:"stream",class:"buffer-circles"}))),(0,n.h)("div",{part:"track",class:"progress-buffer-bar",style:{transform:`scaleX(${o})`}})]};i.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}},3814:(p,c,e)=>{e.d(c,{c:()=>u,g:()=>d,h:()=>m,o:()=>k});var n=e(5861);const m=(t,i)=>null!==i.closest(t),u=(t,i)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},i):i,d=t=>{const i={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(t).forEach(r=>i[r]=!0),i},g=/^[a-z][a-z0-9+\-.]*:/,k=function(){var t=(0,n.Z)(function*(i,r,f,s){if(null!=i&&"#"!==i[0]&&!g.test(i)){const a=document.querySelector("ion-router");if(a)return r?.preventDefault(),a.push(i,f,s)}return!1});return function(r,f,s,a){return t.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4174],{4174:(p,c,e)=>{e.r(c),e.d(c,{ion_progress_bar:()=>i});var n=e(2477),m=e(8635),u=e(3814),b=e(7943);const i=class{constructor(s){(0,n.r)(this,s),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1,this.color=void 0}render(){const{color:s,type:a,reversed:l,value:o,buffer:w}=this,X=b.c.getBoolean("_testing"),y=(0,b.b)(this);return(0,n.h)(n.H,{key:"944b79ed6fce1b2c0ed48681cd8517a5abbddd80",role:"progressbar","aria-valuenow":"determinate"===a?o:null,"aria-valuemin":"0","aria-valuemax":"1",class:(0,u.c)(s,{[y]:!0,[`progress-bar-${a}`]:!0,"progress-paused":X,"progress-bar-reversed":"rtl"===document.dir?!l:l})},"indeterminate"===a?r():f(o,w))}},r=()=>(0,n.h)("div",{part:"track",class:"progress-buffer-bar"},(0,n.h)("div",{class:"indeterminate-bar-primary"},(0,n.h)("span",{part:"progress",class:"progress-indeterminate"})),(0,n.h)("div",{class:"indeterminate-bar-secondary"},(0,n.h)("span",{part:"progress",class:"progress-indeterminate"}))),f=(s,a)=>{const l=(0,m.l)(0,s,1),o=(0,m.l)(0,a,1);return[(0,n.h)("div",{part:"progress",class:"progress",style:{transform:`scaleX(${l})`}}),(0,n.h)("div",{class:{"buffer-circles-container":!0,"ion-hide":1===o},style:{transform:`translateX(${100*o}%)`}},(0,n.h)("div",{class:"buffer-circles-container",style:{transform:`translateX(-${100*o}%)`}},(0,n.h)("div",{part:"stream",class:"buffer-circles"}))),(0,n.h)("div",{part:"track",class:"progress-buffer-bar",style:{transform:`scaleX(${o})`}})]};i.style={ios:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:3px}",md:":host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.3);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--buffer-background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}"}},3814:(p,c,e)=>{e.d(c,{c:()=>u,g:()=>d,h:()=>m,o:()=>k});var n=e(5861);const m=(t,i)=>null!==i.closest(t),u=(t,i)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},i):i,d=t=>{const i={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(t).forEach(r=>i[r]=!0),i},g=/^[a-z][a-z0-9+\-.]*:/,k=function(){var t=(0,n.Z)(function*(i,r,f,s){if(null!=i&&"#"!==i[0]&&!g.test(i)){const a=document.querySelector("ion-router");if(a)return r?.preventDefault(),a.push(i,f,s)}return!1});return function(r,f,s,a){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4330.592c723b956a2e04.js b/4330.b69bca90c7366064.js similarity index 85% rename from 4330.592c723b956a2e04.js rename to 4330.b69bca90c7366064.js index 92fe2096..adeea523 100644 --- a/4330.592c723b956a2e04.js +++ b/4330.b69bca90c7366064.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4330],{4330:(A,y,p)=>{p.r(y),p.d(y,{ion_route:()=>k,ion_route_redirect:()=>L,ion_router:()=>tt,ion_router_link:()=>x});var f=p(5861),d=p(6541),v=p(8635),C=p(3814),P=p(4700);const k=class{constructor(t){(0,d.r)(this,t),this.ionRouteDataChanged=(0,d.d)(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,e){if(t===e)return;const n=t?Object.keys(t):[],r=e?Object.keys(e):[];if(n.length===r.length){for(const o of n)if(t[o]!==e[o])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},L=class{constructor(t){(0,d.r)(this,t),this.ionRouteRedirectChanged=(0,d.d)(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},l="root",h="forward",_=t=>"/"+t.filter(n=>n.length>0).join("/"),g=t=>{let n,e=[""];if(null!=t){const r=t.indexOf("?");r>-1&&(n=t.substring(r+1),t=t.substring(0,r)),e=t.split("/").map(o=>o.trim()).filter(o=>o.length>0),0===e.length&&(e=[""])}return{segments:e,queryString:n}},T=function(){var t=(0,f.Z)(function*(e,n,r,o,s=!1,i){try{const a=D(e);if(o>=n.length||!a)return s;yield new Promise(b=>(0,v.c)(a,b));const u=n[o],c=yield a.setRouteId(u.id,u.params,r,i);return c.changed&&(r=l,s=!0),s=yield T(c.element,n,r,o+1,s,i),c.markVisible&&(yield c.markVisible()),s}catch(a){return console.error(a),!1}});return function(n,r,o,s){return t.apply(this,arguments)}}(),K=function(){var t=(0,f.Z)(function*(e){const n=[];let r,o=e;for(;r=D(o);){const s=yield r.getRouteId();if(!s)break;o=s.element,s.element=void 0,n.push(s)}return{ids:n,outlet:r}});return function(n){return t.apply(this,arguments)}}(),U=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",D=t=>{if(t)return t.matches(U)?t:t.querySelector(U)??void 0},j=(t,e)=>e.find(n=>((t,e)=>{const{from:n,to:r}=e;if(void 0===r||n.length>t.length)return!1;for(let o=0;o{const n=Math.min(t.length,e.length);let r=0;for(let o=0;o`:${c}`);for(let c=0;c{const n=new Y(t);let o,r=!1;for(let i=0;i({id:i.id,segments:i.segments,params:I(i.params,o[a]),beforeEnter:i.beforeEnter,beforeLeave:i.beforeLeave})):e},I=(t,e)=>t||e?Object.assign(Object.assign({},t),e):void 0,N=(t,e)=>{let n=null,r=0;for(const o of e){const s=J(t,o);if(null!==s){const i=X(s);i>r&&(r=i,n=s)}}return n},X=t=>{let e=1,n=1;for(const r of t)for(const o of r.segments)":"===o[0]?e+=Math.pow(1,n):""!==o&&(e+=Math.pow(2,n)),n++;return e};class Y{constructor(e){this.segments=e.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const S=(t,e)=>e in t?t[e]:t.hasAttribute(e)?t.getAttribute(e):null,O=t=>Array.from(t.children).filter(e=>"ION-ROUTE-REDIRECT"===e.tagName).map(e=>{const n=S(e,"to");return{from:g(S(e,"from")).segments,to:null==n?void 0:g(n)}}),w=t=>V(M(t)),M=t=>Array.from(t.children).filter(e=>"ION-ROUTE"===e.tagName&&e.component).map(e=>{const n=S(e,"component");return{segments:g(S(e,"url")).segments,id:n.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:M(e)}}),V=t=>{const e=[];for(const n of t)W([],e,n);return e},W=(t,e,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const r of n.children)W(t,e,r);else e.push(t)},tt=class{constructor(t){(0,d.r)(this,t),this.ionRouteWillChange=(0,d.d)(this,"ionRouteWillChange",7),this.ionRouteDidChange=(0,d.d)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}componentWillLoad(){var t=this;return(0,f.Z)(function*(){yield D(document.body)?Promise.resolve():new Promise(t=>{window.addEventListener("ionNavWillLoad",()=>t(),{once:!0})});const e=yield t.runGuards(t.getSegments());if(!0!==e){if("object"==typeof e){const{redirect:n}=e,r=g(n);t.setSegments(r.segments,l,r.queryString),yield t.writeNavStateRoot(r.segments,l)}}else yield t.onRoutesChanged()})()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",(0,v.q)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",(0,v.q)(this.onRoutesChanged.bind(this),100))}onPopState(){var t=this;return(0,f.Z)(function*(){const e=t.historyDirection();let n=t.getSegments();const r=yield t.runGuards(n);if(!0!==r){if("object"!=typeof r)return!1;n=g(r.redirect).segments}return t.writeNavStateRoot(n,e)})()}onBackButton(t){t.detail.register(0,e=>{this.back(),e()})}canTransition(){var t=this;return(0,f.Z)(function*(){const e=yield t.runGuards();return!0===e||"object"==typeof e&&e.redirect})()}push(t,e="forward",n){var r=this;return(0,f.Z)(function*(){var o;if(t.startsWith(".")){const a=null!==(o=r.previousPath)&&void 0!==o?o:"/",u=new URL(t,`https://host/${a}`);t=u.pathname+u.search}let s=g(t);const i=yield r.runGuards(s.segments);if(!0!==i){if("object"!=typeof i)return!1;s=g(i.redirect)}return r.setSegments(s.segments,e,s.queryString),r.writeNavStateRoot(s.segments,e,n)})()}back(){return window.history.back(),Promise.resolve(this.waitPromise)}printDebug(){var t=this;return(0,f.Z)(function*(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const e of t){const n=[];e.forEach(o=>n.push(...o.segments));const r=e.map(o=>o.id);console.debug(`%c ${_(n)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${r.join(", ")})`)}console.groupEnd()})(w(t.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const e of t)e.to&&console.debug("FROM: ",`$c ${_(e.from)}`,"font-weight: bold"," TO: ",`$c ${_(e.to.segments)}`,"font-weight: bold");console.groupEnd()})(O(t.el))})()}navChanged(t){var e=this;return(0,f.Z)(function*(){if(e.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:n,outlet:r}=yield K(window.document.body),s=((t,e)=>{let n=null,r=0;for(const o of e){const s=q(t,o);s>r&&(n=o,r=s)}return n?n.map((o,s)=>{var i;return{id:o.id,segments:o.segments,params:I(o.params,null===(i=t[s])||void 0===i?void 0:i.params)}}):null})(n,w(e.el));if(!s)return console.warn("[ion-router] no matching URL for ",n.map(a=>a.id)),!1;const i=(t=>{const e=[];for(const n of t)for(const r of n.segments)if(":"===r[0]){const o=n.params&&n.params[r.slice(1)];if(!o)return null;e.push(o)}else""!==r&&e.push(r);return e})(s);return i?(e.setSegments(i,t),yield e.safeWriteNavState(r,s,l,i,null,n.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)})()}onRedirectChanged(){const t=this.getSegments();t&&j(t,O(this.el))&&this.writeNavStateRoot(t,l)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),l)}historyDirection(){var t;const e=window;null===e.history.state&&(this.state++,e.history.replaceState(this.state,e.document.title,null===(t=e.document.location)||void 0===t?void 0:t.href));const n=e.history.state,r=this.lastState;return this.lastState=n,n>r||n>=r&&r>0?h:nn=r),void 0!==e&&(yield e),n})()}runGuards(t=this.getSegments(),e){var n=this;return(0,f.Z)(function*(){if(void 0===e&&(e=g(n.previousPath).segments),!t||!e)return!0;const r=w(n.el),o=N(e,r),s=o&&o[o.length-1].beforeLeave,i=!s||(yield s());if(!1===i||"object"==typeof i)return i;const a=N(t,r),u=a&&a[a.length-1].beforeEnter;return!u||u()})()}writeNavState(t,e,n,r,o,s=0,i){var a=this;return(0,f.Z)(function*(){if(a.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;a.busy=!0;const u=a.routeChangeEvent(r,o);u&&a.ionRouteWillChange.emit(u);const c=yield T(t,e,n,s,!1,i);return a.busy=!1,u&&a.ionRouteDidChange.emit(u),c})()}setSegments(t,e,n){this.state++,((t,e,n,r,o,s,i)=>{const a=((t,e,n)=>{let r=_(t);return e&&(r="#"+r),void 0!==n&&(r+="?"+n),r})([...g(e).segments,...r],n,i);o===h?t.pushState(s,"",a):t.replaceState(s,"",a)})(window.history,this.root,this.useHash,t,e,this.state,n)}getSegments(){return((t,e,n)=>{const r=g(this.root).segments,o=n?t.hash.slice(1):t.pathname;return((t,e)=>{if(t.length>e.length)return null;if(t.length<=1&&""===t[0])return e;for(let n=0;n{(0,C.o)(this.href,e,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=(0,P.b)(this),e={href:this.href,rel:this.rel,target:this.target};return(0,d.h)(d.H,{key:"ca8b357234ae511a20f6a47487bb86cbaaa5f5ef",onClick:this.onClick,class:(0,C.c)(this.color,{[t]:!0,"ion-activatable":!0})},(0,d.h)("a",Object.assign({key:"f590738389776d480014f18f599d753c68840e49"},e),(0,d.h)("slot",{key:"525ff073d71ede310e9f790b49f7414bf5a0919b"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"},3814:(A,y,p)=>{p.d(y,{c:()=>v,g:()=>P,h:()=>d,o:()=>L});var f=p(5861);const d=(l,h)=>null!==h.closest(l),v=(l,h)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},h):h,P=l=>{const h={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(m=>null!=m).map(m=>m.trim()).filter(m=>""!==m):[])(l).forEach(m=>h[m]=!0),h},k=/^[a-z][a-z0-9+\-.]*:/,L=function(){var l=(0,f.Z)(function*(h,m,_,E){if(null!=h&&"#"!==h[0]&&!k.test(h)){const R=document.querySelector("ion-router");if(R)return m?.preventDefault(),R.push(h,_,E)}return!1});return function(m,_,E,R){return l.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4330],{4330:(A,y,p)=>{p.r(y),p.d(y,{ion_route:()=>k,ion_route_redirect:()=>L,ion_router:()=>tt,ion_router_link:()=>x});var f=p(5861),d=p(2477),v=p(8635),C=p(3814),P=p(7943);const k=class{constructor(t){(0,d.r)(this,t),this.ionRouteDataChanged=(0,d.d)(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,e){if(t===e)return;const n=t?Object.keys(t):[],r=e?Object.keys(e):[];if(n.length===r.length){for(const o of n)if(t[o]!==e[o])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},L=class{constructor(t){(0,d.r)(this,t),this.ionRouteRedirectChanged=(0,d.d)(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},l="root",h="forward",_=t=>"/"+t.filter(n=>n.length>0).join("/"),g=t=>{let n,e=[""];if(null!=t){const r=t.indexOf("?");r>-1&&(n=t.substring(r+1),t=t.substring(0,r)),e=t.split("/").map(o=>o.trim()).filter(o=>o.length>0),0===e.length&&(e=[""])}return{segments:e,queryString:n}},T=function(){var t=(0,f.Z)(function*(e,n,r,o,s=!1,i){try{const a=D(e);if(o>=n.length||!a)return s;yield new Promise(b=>(0,v.c)(a,b));const c=n[o],u=yield a.setRouteId(c.id,c.params,r,i);return u.changed&&(r=l,s=!0),s=yield T(u.element,n,r,o+1,s,i),u.markVisible&&(yield u.markVisible()),s}catch(a){return console.error(a),!1}});return function(n,r,o,s){return t.apply(this,arguments)}}(),K=function(){var t=(0,f.Z)(function*(e){const n=[];let r,o=e;for(;r=D(o);){const s=yield r.getRouteId();if(!s)break;o=s.element,s.element=void 0,n.push(s)}return{ids:n,outlet:r}});return function(n){return t.apply(this,arguments)}}(),U=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",D=t=>{if(t)return t.matches(U)?t:t.querySelector(U)??void 0},j=(t,e)=>e.find(n=>((t,e)=>{const{from:n,to:r}=e;if(void 0===r||n.length>t.length)return!1;for(let o=0;o{const n=Math.min(t.length,e.length);let r=0;for(let o=0;o`:${u}`);for(let u=0;u{const n=new Y(t);let o,r=!1;for(let i=0;i({id:i.id,segments:i.segments,params:I(i.params,o[a]),beforeEnter:i.beforeEnter,beforeLeave:i.beforeLeave})):e},I=(t,e)=>t||e?Object.assign(Object.assign({},t),e):void 0,N=(t,e)=>{let n=null,r=0;for(const o of e){const s=J(t,o);if(null!==s){const i=X(s);i>r&&(r=i,n=s)}}return n},X=t=>{let e=1,n=1;for(const r of t)for(const o of r.segments)":"===o[0]?e+=Math.pow(1,n):""!==o&&(e+=Math.pow(2,n)),n++;return e};class Y{constructor(e){this.segments=e.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const S=(t,e)=>e in t?t[e]:t.hasAttribute(e)?t.getAttribute(e):null,O=t=>Array.from(t.children).filter(e=>"ION-ROUTE-REDIRECT"===e.tagName).map(e=>{const n=S(e,"to");return{from:g(S(e,"from")).segments,to:null==n?void 0:g(n)}}),w=t=>V(M(t)),M=t=>Array.from(t.children).filter(e=>"ION-ROUTE"===e.tagName&&e.component).map(e=>{const n=S(e,"component");return{segments:g(S(e,"url")).segments,id:n.toLowerCase(),params:e.componentProps,beforeLeave:e.beforeLeave,beforeEnter:e.beforeEnter,children:M(e)}}),V=t=>{const e=[];for(const n of t)W([],e,n);return e},W=(t,e,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const r of n.children)W(t,e,r);else e.push(t)},tt=class{constructor(t){(0,d.r)(this,t),this.ionRouteWillChange=(0,d.d)(this,"ionRouteWillChange",7),this.ionRouteDidChange=(0,d.d)(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}componentWillLoad(){var t=this;return(0,f.Z)(function*(){yield D(document.body)?Promise.resolve():new Promise(t=>{window.addEventListener("ionNavWillLoad",()=>t(),{once:!0})});const e=yield t.runGuards(t.getSegments());if(!0!==e){if("object"==typeof e){const{redirect:n}=e,r=g(n);t.setSegments(r.segments,l,r.queryString),yield t.writeNavStateRoot(r.segments,l)}}else yield t.onRoutesChanged()})()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",(0,v.q)(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",(0,v.q)(this.onRoutesChanged.bind(this),100))}onPopState(){var t=this;return(0,f.Z)(function*(){const e=t.historyDirection();let n=t.getSegments();const r=yield t.runGuards(n);if(!0!==r){if("object"!=typeof r)return!1;n=g(r.redirect).segments}return t.writeNavStateRoot(n,e)})()}onBackButton(t){t.detail.register(0,e=>{this.back(),e()})}canTransition(){var t=this;return(0,f.Z)(function*(){const e=yield t.runGuards();return!0===e||"object"==typeof e&&e.redirect})()}push(t,e="forward",n){var r=this;return(0,f.Z)(function*(){var o;if(t.startsWith(".")){const a=null!==(o=r.previousPath)&&void 0!==o?o:"/",c=new URL(t,`https://host/${a}`);t=c.pathname+c.search}let s=g(t);const i=yield r.runGuards(s.segments);if(!0!==i){if("object"!=typeof i)return!1;s=g(i.redirect)}return r.setSegments(s.segments,e,s.queryString),r.writeNavStateRoot(s.segments,e,n)})()}back(){return window.history.back(),Promise.resolve(this.waitPromise)}printDebug(){var t=this;return(0,f.Z)(function*(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const e of t){const n=[];e.forEach(o=>n.push(...o.segments));const r=e.map(o=>o.id);console.debug(`%c ${_(n)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${r.join(", ")})`)}console.groupEnd()})(w(t.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const e of t)e.to&&console.debug("FROM: ",`$c ${_(e.from)}`,"font-weight: bold"," TO: ",`$c ${_(e.to.segments)}`,"font-weight: bold");console.groupEnd()})(O(t.el))})()}navChanged(t){var e=this;return(0,f.Z)(function*(){if(e.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:n,outlet:r}=yield K(window.document.body),s=((t,e)=>{let n=null,r=0;for(const o of e){const s=q(t,o);s>r&&(n=o,r=s)}return n?n.map((o,s)=>{var i;return{id:o.id,segments:o.segments,params:I(o.params,null===(i=t[s])||void 0===i?void 0:i.params)}}):null})(n,w(e.el));if(!s)return console.warn("[ion-router] no matching URL for ",n.map(a=>a.id)),!1;const i=(t=>{const e=[];for(const n of t)for(const r of n.segments)if(":"===r[0]){const o=n.params&&n.params[r.slice(1)];if(!o)return null;e.push(o)}else""!==r&&e.push(r);return e})(s);return i?(e.setSegments(i,t),yield e.safeWriteNavState(r,s,l,i,null,n.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)})()}onRedirectChanged(){const t=this.getSegments();t&&j(t,O(this.el))&&this.writeNavStateRoot(t,l)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),l)}historyDirection(){var t;const e=window;null===e.history.state&&(this.state++,e.history.replaceState(this.state,e.document.title,null===(t=e.document.location)||void 0===t?void 0:t.href));const n=e.history.state,r=this.lastState;return this.lastState=n,n>r||n>=r&&r>0?h:nn=r),void 0!==e&&(yield e),n})()}runGuards(t=this.getSegments(),e){var n=this;return(0,f.Z)(function*(){if(void 0===e&&(e=g(n.previousPath).segments),!t||!e)return!0;const r=w(n.el),o=N(e,r),s=o&&o[o.length-1].beforeLeave,i=!s||(yield s());if(!1===i||"object"==typeof i)return i;const a=N(t,r),c=a&&a[a.length-1].beforeEnter;return!c||c()})()}writeNavState(t,e,n,r,o,s=0,i){var a=this;return(0,f.Z)(function*(){if(a.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;a.busy=!0;const c=a.routeChangeEvent(r,o);c&&a.ionRouteWillChange.emit(c);const u=yield T(t,e,n,s,!1,i);return a.busy=!1,c&&a.ionRouteDidChange.emit(c),u})()}setSegments(t,e,n){this.state++,((t,e,n,r,o,s,i)=>{const a=((t,e,n)=>{let r=_(t);return e&&(r="#"+r),void 0!==n&&(r+="?"+n),r})([...g(e).segments,...r],n,i);o===h?t.pushState(s,"",a):t.replaceState(s,"",a)})(window.history,this.root,this.useHash,t,e,this.state,n)}getSegments(){return((t,e,n)=>{const r=g(this.root).segments,o=n?t.hash.slice(1):t.pathname;return((t,e)=>{if(t.length>e.length)return null;if(t.length<=1&&""===t[0])return e;for(let n=0;n{(0,C.o)(this.href,e,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=(0,P.b)(this),e={href:this.href,rel:this.rel,target:this.target};return(0,d.h)(d.H,{key:"e69892f4c6a6baf040a20c429afdec0e4db2dc0e",onClick:this.onClick,class:(0,C.c)(this.color,{[t]:!0,"ion-activatable":!0})},(0,d.h)("a",Object.assign({key:"648cb22526f2933abe0865c86da6f30eac3ccb87"},e),(0,d.h)("slot",{key:"d6bc2e28b7c5cc228caedffebe653bde35934b67"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}"},3814:(A,y,p)=>{p.d(y,{c:()=>v,g:()=>P,h:()=>d,o:()=>L});var f=p(5861);const d=(l,h)=>null!==h.closest(l),v=(l,h)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},h):h,P=l=>{const h={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(m=>null!=m).map(m=>m.trim()).filter(m=>""!==m):[])(l).forEach(m=>h[m]=!0),h},k=/^[a-z][a-z0-9+\-.]*:/,L=function(){var l=(0,f.Z)(function*(h,m,_,E){if(null!=h&&"#"!==h[0]&&!k.test(h)){const R=document.querySelector("ion-router");if(R)return m?.preventDefault(),R.push(h,_,E)}return!1});return function(m,_,E,R){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4376.2688505d3f070692.js b/4376.2688505d3f070692.js deleted file mode 100644 index 3d243aba..00000000 --- a/4376.2688505d3f070692.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4376],{4376:(p,c,o)=>{o.r(c),o.d(c,{ion_text:()=>a});var r=o(6541),u=o(3814),l=o(4700);const a=class{constructor(s){(0,r.r)(this,s),this.color=void 0}render(){const s=(0,l.b)(this);return(0,r.h)(r.H,{key:"66ed5ea3af47d2a4bdaee79914a2f5ae2cb54a9d",class:(0,u.c)(this.color,{[s]:!0})},(0,r.h)("slot",{key:"61239138ae5e25c2cceb839f70c50069fc42338e"}))}};a.style=":host(.ion-color){color:var(--ion-color-base)}"},3814:(p,c,o)=>{o.d(c,{c:()=>l,g:()=>_,h:()=>u,o:()=>s});var r=o(5861);const u=(t,e)=>null!==e.closest(t),l=(t,e)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,_=t=>{const e={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(n=>null!=n).map(n=>n.trim()).filter(n=>""!==n):[])(t).forEach(n=>e[n]=!0),e},a=/^[a-z][a-z0-9+\-.]*:/,s=function(){var t=(0,r.Z)(function*(e,n,d,h){if(null!=e&&"#"!==e[0]&&!a.test(e)){const i=document.querySelector("ion-router");if(i)return n?.preventDefault(),i.push(e,d,h)}return!1});return function(n,d,h,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4376.d30652ab150075e8.js b/4376.d30652ab150075e8.js new file mode 100644 index 00000000..bac6628e --- /dev/null +++ b/4376.d30652ab150075e8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4376],{4376:(p,a,o)=>{o.r(a),o.d(a,{ion_text:()=>c});var r=o(2477),u=o(3814),l=o(7943);const c=class{constructor(s){(0,r.r)(this,s),this.color=void 0}render(){const s=(0,l.b)(this);return(0,r.h)(r.H,{key:"4330b56cbc4e15953d9b3162fb40af728a8195dd",class:(0,u.c)(this.color,{[s]:!0})},(0,r.h)("slot",{key:"ec674a71d8fbb04d537fd79d617d9db4a607c340"}))}};c.style=":host(.ion-color){color:var(--ion-color-base)}"},3814:(p,a,o)=>{o.d(a,{c:()=>l,g:()=>_,h:()=>u,o:()=>s});var r=o(5861);const u=(t,n)=>null!==n.closest(t),l=(t,n)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},n):n,_=t=>{const n={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(t).forEach(e=>n[e]=!0),n},c=/^[a-z][a-z0-9+\-.]*:/,s=function(){var t=(0,r.Z)(function*(n,e,f,h){if(null!=n&&"#"!==n[0]&&!c.test(n)){const i=document.querySelector("ion-router");if(i)return e?.preventDefault(),i.push(n,f,h)}return!1});return function(e,f,h,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/438.bb63b63129023b72.js b/438.bb63b63129023b72.js deleted file mode 100644 index 4185be8a..00000000 --- a/438.bb63b63129023b72.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[438],{438:(z,c,a)=>{a.r(c),a.d(c,{ion_tab_bar:()=>v,ion_tab_button:()=>k});var h=a(5861),t=a(6541),p=a(2930),f=a(3814),d=a(4700),x=a(8635);a(2972),a(3037),a(6319);const v=class{constructor(o){(0,t.r)(this,o),this.ionTabBarChanged=(0,t.d)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,t.d)(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){var o=this;return(0,h.Z)(function*(){o.keyboardCtrl=yield(0,p.c)(function(){var e=(0,h.Z)(function*(s,l){!1===s&&void 0!==l&&(yield l),o.keyboardVisible=s});return function(s,l){return e.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:o,translucent:e,keyboardVisible:s}=this,l=(0,d.b)(this),g=s&&"top"!==this.el.getAttribute("slot");return(0,t.h)(t.H,{key:"51e4bdbce8c7107c1114a39618b4a9a941876bb1",role:"tablist","aria-hidden":g?"true":null,class:(0,f.c)(o,{[l]:!0,"tab-bar-translucent":e,"tab-bar-hidden":g})},(0,t.h)("slot",{key:"c11618f97e93deb0a56f33c904481b4811c685ec"}))}get el(){return(0,t.f)(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};v.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};const k=class{constructor(o){(0,t.r)(this,o),this.ionTabButtonClick=(0,t.d)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{("Enter"===e.key||" "===e.key)&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(o){const e=o.target,s=this.el.parentElement;(o.composedPath().includes(s)||e?.contains(this.el))&&(this.selected=this.tab===o.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.k)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=d.c.get("tabButtonLayout","icon-top"))}selectTab(o){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),o.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:o,hasIcon:e,hasLabel:s,href:l,rel:g,target:E,layout:M,selected:_,tab:w,inheritedAttributes:D}=this,C=(0,d.b)(this);return(0,t.h)(t.H,{key:"32ec1fb183523dadaaed6689add4a042d0fdd69a",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==w?`tab-button-${w}`:null,class:{[C]:!0,"tab-selected":_,"tab-disabled":o,"tab-has-label":s,"tab-has-icon":e,"tab-has-label-only":s&&!e,"tab-has-icon-only":e&&!s,[`tab-layout-${M}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,t.h)("a",Object.assign({key:"9e56304c52e30ae3a3dca434fa0b41eccc873faa"},{download:this.download,href:l,rel:g,target:E},{class:"button-native",part:"native",role:"tab","aria-selected":_?"true":null,"aria-disabled":o?"true":null,tabindex:o?"-1":void 0},D),(0,t.h)("span",{key:"34eae18c23584742a25d20b4038aa1742d9ab0d8",class:"button-inner"},(0,t.h)("slot",{key:"4bc9629861f5ce3f1ef87ac77bc027ba0dea694c"})),"md"===C&&(0,t.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,t.f)(this)}};k.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}},3814:(z,c,a)=>{a.d(c,{c:()=>p,g:()=>d,h:()=>t,o:()=>y});var h=a(5861);const t=(n,i)=>null!==i.closest(n),p=(n,i)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},i):i,d=n=>{const i={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>i[r]=!0),i},x=/^[a-z][a-z0-9+\-.]*:/,y=function(){var n=(0,h.Z)(function*(i,r,u,m){if(null!=i&&"#"!==i[0]&&!x.test(i)){const b=document.querySelector("ion-router");if(b)return r?.preventDefault(),b.push(i,u,m)}return!1});return function(r,u,m,b){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/438.f140c2797d5f414d.js b/438.f140c2797d5f414d.js new file mode 100644 index 00000000..3d778e15 --- /dev/null +++ b/438.f140c2797d5f414d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[438],{438:(z,c,a)=>{a.r(c),a.d(c,{ion_tab_bar:()=>v,ion_tab_button:()=>k});var h=a(5861),t=a(2477),p=a(2930),f=a(3814),d=a(7943),x=a(8635);a(2972),a(3037),a(6319);const v=class{constructor(o){(0,t.r)(this,o),this.ionTabBarChanged=(0,t.d)(this,"ionTabBarChanged",7),this.ionTabBarLoaded=(0,t.d)(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardVisible=!1,this.color=void 0,this.selectedTab=void 0,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){var o=this;return(0,h.Z)(function*(){o.keyboardCtrl=yield(0,p.c)(function(){var e=(0,h.Z)(function*(s,l){!1===s&&void 0!==l&&(yield l),o.keyboardVisible=s});return function(s,l){return e.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}componentDidLoad(){this.ionTabBarLoaded.emit()}render(){const{color:o,translucent:e,keyboardVisible:s}=this,l=(0,d.b)(this),g=s&&"top"!==this.el.getAttribute("slot");return(0,t.h)(t.H,{key:"5083528e7f802d2f323ce50585edc98eeb9754c6",role:"tablist","aria-hidden":g?"true":null,class:(0,f.c)(o,{[l]:!0,"tab-bar-translucent":e,"tab-bar-hidden":g})},(0,t.h)("slot",{key:"eb33cdd12da49062219d4aa17a319c3e6361c5c5"}))}get el(){return(0,t.f)(this)}static get watchers(){return{selectedTab:["selectedTabChanged"]}}};v.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, #595959));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}"};const k=class{constructor(o){(0,t.r)(this,o),this.ionTabButtonClick=(0,t.d)(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.onKeyUp=e=>{("Enter"===e.key||" "===e.key)&&this.selectTab(e)},this.onClick=e=>{this.selectTab(e)},this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.layout=void 0,this.selected=!1,this.tab=void 0,this.target=void 0}onTabBarChanged(o){const e=o.target,s=this.el.parentElement;(o.composedPath().includes(s)||e?.contains(this.el))&&(this.selected=this.tab===o.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,x.k)(this.el,["aria-label"])),void 0===this.layout&&(this.layout=d.c.get("tabButtonLayout","icon-top"))}selectTab(o){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),o.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:o,hasIcon:e,hasLabel:s,href:l,rel:g,target:E,layout:M,selected:_,tab:w,inheritedAttributes:D}=this,C=(0,d.b)(this);return(0,t.h)(t.H,{key:"c7b6a72766b71f34800137dadcf29af657bebddf",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==w?`tab-button-${w}`:null,class:{[C]:!0,"tab-selected":_,"tab-disabled":o,"tab-has-label":s,"tab-has-icon":e,"tab-has-label-only":s&&!e,"tab-has-icon-only":e&&!s,[`tab-layout-${M}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,t.h)("a",Object.assign({key:"a1eca4a5cf0dfdb55099811d03f204f7b3807a2e"},{download:this.download,href:l,rel:g,target:E},{class:"button-native",part:"native",role:"tab","aria-selected":_?"true":null,"aria-disabled":o?"true":null,tabindex:o?"-1":void 0},D),(0,t.h)("span",{key:"888a6d8b95c2f0ca8f74f492729bd28f0d3273d5",class:"button-inner"},(0,t.h)("slot",{key:"83a234af52ffce9ff0f4cc497712c962115a5813"})),"md"===C&&(0,t.h)("ion-ripple-effect",{key:"771aff1b83233411e0cf706c3e94c78bca534794",type:"unbounded"})))}get el(){return(0,t.f)(this)}};k.style={ios:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px)}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px)}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}}}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',md:':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports (inset-inline-start: 0){::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}}@supports not (inset-inline-start: 0){::slotted(ion-badge){left:calc(50% + 6px)}:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}@supports selector(:dir(rtl)){::slotted(ion-badge):dir(rtl){left:unset;right:unset;right:calc(50% + 6px)}}}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge),:host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:80%}}}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}@supports (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}}@supports not (inset-inline-start: 0){:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}@supports selector(:dir(rtl)){:host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge),:host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge){left:unset;right:unset;right:70%}}}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}'}},3814:(z,c,a)=>{a.d(c,{c:()=>p,g:()=>d,h:()=>t,o:()=>y});var h=a(5861);const t=(n,i)=>null!==i.closest(n),p=(n,i)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},i):i,d=n=>{const i={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(n).forEach(r=>i[r]=!0),i},x=/^[a-z][a-z0-9+\-.]*:/,y=function(){var n=(0,h.Z)(function*(i,r,u,m){if(null!=i&&"#"!==i[0]&&!x.test(i)){const b=document.querySelector("ion-router");if(b)return r?.preventDefault(),b.push(i,u,m)}return!1});return function(r,u,m,b){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4432.67d7fe7a2df0f8b0.js b/4432.1271cd50c95b74b6.js similarity index 99% rename from 4432.67d7fe7a2df0f8b0.js rename to 4432.1271cd50c95b74b6.js index 40501c13..740630cd 100644 --- a/4432.67d7fe7a2df0f8b0.js +++ b/4432.1271cd50c95b74b6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4432],{4432:(I,x,c)=>{c.r(x),c.d(x,{ion_radio:()=>b,ion_radio_group:()=>D});var g=c(5861),r=c(6541),k=c(5437),h=c(8635),v=c(2890),w=c(8909),m=c(3814),o=c(4700);const b=class{constructor(e){(0,r.r)(this,e),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inputId="ion-rb-"+j++,this.radioGroup=null,this.hasLoggedDeprecationWarning=!1,this.updateState=()=>{if(this.radioGroup){const{compareWith:t,value:i}=this.radioGroup;this.checked=(0,v.i)(i,this.value,t)}},this.onClick=()=>{const{radioGroup:t,checked:i,disabled:a}=this;if(!a){if(this.legacyFormController.hasLegacyControl())return void(this.checked=this.nativeInput.checked);this.checked=!i||!t?.allowEmptySelection}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.checked=!1,this.buttonTabindex=-1,this.color=void 0,this.name=this.inputId,this.disabled=!1,this.value=void 0,this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}valueChanged(){this.updateState()}setFocus(e){var t=this;return(0,g.Z)(function*(){e.stopPropagation(),e.preventDefault(),t.el.focus()})()}setButtonTabindex(e){var t=this;return(0,g.Z)(function*(){t.buttonTabindex=e})()}connectedCallback(){this.legacyFormController=(0,k.c)(this.el),void 0===this.value&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),(0,h.a)(e,"ionValueChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&((0,h.b)(e,"ionValueChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}styleChanged(){this.emitStyle()}emitStyle(){const e={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(e["radio-checked"]=this.checked),this.ionStyle.emit(e)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,r.h)("div",{class:"radio-icon",part:"container"},(0,r.h)("div",{class:"radio-inner",part:"mark"}),(0,r.h)("div",{class:"radio-ripple"}))}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()}renderRadio(){const{checked:e,disabled:t,color:i,el:a,justify:s,labelPlacement:d,hasLabel:l,buttonTabindex:u,alignment:C}=this,E=(0,o.b)(this),f=(0,m.h)("ion-item",a);return(0,r.h)(r.H,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(i,{[E]:!0,"in-item":f,"radio-checked":e,"radio-disabled":t,[`radio-justify-${s}`]:!0,[`radio-alignment-${C}`]:!0,[`radio-label-placement-${d}`]:!0,"ion-activatable":!f,"ion-focusable":!f}),role:"radio","aria-checked":e?"true":"false","aria-disabled":t?"true":null,tabindex:u},(0,r.h)("label",{class:"radio-wrapper"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!l},part:"label"},(0,r.h)("slot",null)),(0,r.h)("div",{class:"native-wrapper"},this.renderRadioControl())))}renderLegacyRadio(){this.hasLoggedDeprecationWarning||((0,w.p)('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Option Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,w.p)('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{inputId:e,disabled:t,checked:i,color:a,el:s,buttonTabindex:d}=this,l=(0,o.b)(this),{label:u,labelId:C,labelText:E}=(0,h.e)(s,e);return(0,r.h)(r.H,{"aria-checked":`${i}`,"aria-hidden":t?"true":null,"aria-labelledby":u?C:null,role:"radio",tabindex:d,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(a,{[l]:!0,"in-item":(0,m.h)("ion-item",s),interactive:!0,"radio-checked":i,"radio-disabled":t,"legacy-radio":!0})},this.renderRadioControl(),(0,r.h)("label",{htmlFor:e},E),(0,r.h)("input",{type:"radio",checked:i,disabled:t,tabindex:"-1",id:e,ref:f=>this.nativeInput=f}))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}}};let j=0;b.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}'};const D=class{constructor(e){(0,r.r)(this,e),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionValueChange=(0,r.d)(this,"ionValueChange",7),this.inputId="ion-rg-"+R++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=t=>{const i=this.getRadios(),a=i.find(l=>!l.disabled),s=i.find(l=>l.value===t&&!l.disabled);if(!a&&!s)return;const d=s||a;for(const l of i)l.setButtonTabindex(l===d?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i&&!i.disabled){const s=i.value;s!==this.value?(this.value=s,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}},this.allowEmptySelection=!1,this.compareWith=void 0,this.name=this.inputId,this.value=void 0}valueChanged(e){this.setRadioTabindex(e),this.ionValueChange.emit({value:e})}componentDidLoad(){this.valueChanged(this.value)}connectedCallback(){var e=this;return(0,g.Z)(function*(){const t=e.el.querySelector("ion-list-header")||e.el.querySelector("ion-item-divider");if(t){const i=e.label=t.querySelector("ion-label");i&&(e.labelId=i.id=e.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(e){const{value:t}=this;this.ionChange.emit({value:t,event:e})}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const i=this.getRadios().filter(a=>!a.disabled);if(e.target&&i.includes(e.target)){const a=i.findIndex(l=>l===e.target),s=i[a];let d;if(["ArrowDown","ArrowRight"].includes(e.key)&&(d=a===i.length-1?i[0]:i[a+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(d=0===a?i[i.length-1]:i[a-1]),d&&i.includes(d)&&(d.setFocus(e),t||(this.value=d.value,this.emitValueChange(e))),[" "].includes(e.key)){const l=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:s.value,(l!==this.value||this.allowEmptySelection)&&this.emitValueChange(e),e.preventDefault()}}}render(){const{label:e,labelId:t,el:i,name:a,value:s}=this,d=(0,o.b)(this);return(0,h.d)(!0,i,a,s,!1),(0,r.h)(r.H,{key:"c0784903ad0b3914f448cca4b91172ad3af3ed70",role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:d})}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let R=0},3814:(I,x,c)=>{c.d(x,{c:()=>k,g:()=>v,h:()=>r,o:()=>m});var g=c(5861);const r=(o,n)=>null!==n.closest(o),k=(o,n)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},n):n,v=o=>{const n={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(p=>null!=p).map(p=>p.trim()).filter(p=>""!==p):[])(o).forEach(p=>n[p]=!0),n},w=/^[a-z][a-z0-9+\-.]*:/,m=function(){var o=(0,g.Z)(function*(n,p,_,y){if(null!=n&&"#"!==n[0]&&!w.test(n)){const b=document.querySelector("ion-router");if(b)return p?.preventDefault(),b.push(n,_,y)}return!1});return function(p,_,y,b){return o.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4432],{4432:(I,x,c)=>{c.r(x),c.d(x,{ion_radio:()=>b,ion_radio_group:()=>D});var g=c(5861),r=c(2477),k=c(5437),h=c(8635),v=c(2890),w=c(8909),m=c(3814),o=c(7943);const b=class{constructor(e){(0,r.r)(this,e),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.ionFocus=(0,r.d)(this,"ionFocus",7),this.ionBlur=(0,r.d)(this,"ionBlur",7),this.inputId="ion-rb-"+j++,this.radioGroup=null,this.hasLoggedDeprecationWarning=!1,this.updateState=()=>{if(this.radioGroup){const{compareWith:t,value:i}=this.radioGroup;this.checked=(0,v.i)(i,this.value,t)}},this.onClick=()=>{const{radioGroup:t,checked:i,disabled:a}=this;if(!a){if(this.legacyFormController.hasLegacyControl())return void(this.checked=this.nativeInput.checked);this.checked=!i||!t?.allowEmptySelection}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.checked=!1,this.buttonTabindex=-1,this.color=void 0,this.name=this.inputId,this.disabled=!1,this.value=void 0,this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}valueChanged(){this.updateState()}setFocus(e){var t=this;return(0,g.Z)(function*(){e.stopPropagation(),e.preventDefault(),t.el.focus()})()}setButtonTabindex(e){var t=this;return(0,g.Z)(function*(){t.buttonTabindex=e})()}connectedCallback(){this.legacyFormController=(0,k.c)(this.el),void 0===this.value&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),(0,h.a)(e,"ionValueChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&((0,h.b)(e,"ionValueChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}styleChanged(){this.emitStyle()}emitStyle(){const e={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(e["radio-checked"]=this.checked),this.ionStyle.emit(e)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return(0,r.h)("div",{class:"radio-icon",part:"container"},(0,r.h)("div",{class:"radio-inner",part:"mark"}),(0,r.h)("div",{class:"radio-ripple"}))}render(){const{legacyFormController:e}=this;return e.hasLegacyControl()?this.renderLegacyRadio():this.renderRadio()}renderRadio(){const{checked:e,disabled:t,color:i,el:a,justify:s,labelPlacement:d,hasLabel:l,buttonTabindex:u,alignment:C}=this,E=(0,o.b)(this),f=(0,m.h)("ion-item",a);return(0,r.h)(r.H,{onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(i,{[E]:!0,"in-item":f,"radio-checked":e,"radio-disabled":t,[`radio-justify-${s}`]:!0,[`radio-alignment-${C}`]:!0,[`radio-label-placement-${d}`]:!0,"ion-activatable":!f,"ion-focusable":!f}),role:"radio","aria-checked":e?"true":"false","aria-disabled":t?"true":null,tabindex:u},(0,r.h)("label",{class:"radio-wrapper"},(0,r.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!l},part:"label"},(0,r.h)("slot",null)),(0,r.h)("div",{class:"native-wrapper"},this.renderRadioControl())))}renderLegacyRadio(){this.hasLoggedDeprecationWarning||((0,w.p)('ion-radio now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Option Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,w.p)('ion-radio is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new radio syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{inputId:e,disabled:t,checked:i,color:a,el:s,buttonTabindex:d}=this,l=(0,o.b)(this),{label:u,labelId:C,labelText:E}=(0,h.e)(s,e);return(0,r.h)(r.H,{"aria-checked":`${i}`,"aria-hidden":t?"true":null,"aria-labelledby":u?C:null,role:"radio",tabindex:d,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:(0,m.c)(a,{[l]:!0,"in-item":(0,m.h)("ion-item",s),interactive:!0,"radio-checked":i,"radio-disabled":t,"legacy-radio":!0})},this.renderRadioControl(),(0,r.h)("label",{htmlFor:e},E),(0,r.h)("input",{type:"radio",checked:i,disabled:t,tabindex:"-1",id:e,ref:f=>this.nativeInput=f}))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"],checked:["styleChanged"],color:["styleChanged"],disabled:["styleChanged"]}}};let j=0;b.style={ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #3880ff)}:host(.legacy-radio){width:0.9375rem;height:1.5rem}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}@supports (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}}@supports not (inset-inline-start: 0){:host(.ion-focused) .radio-icon::after{left:-9px}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}@supports selector(:dir(rtl)){:host(.ion-focused:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-9px}}}:host(.in-item.legacy-radio){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:11px;margin-inline-end:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px;margin-top:8px;margin-bottom:8px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100%;min-height:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(:not(.legacy-radio)){cursor:pointer}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-radio) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-radio) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-radio) label{left:0}:host-context([dir=rtl]):host(.legacy-radio) label,:host-context([dir=rtl]).legacy-radio label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-radio:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-radio) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item:not(.legacy-radio)){width:100%;height:100%}:host([slot=start]:not(.legacy-radio)),:host([slot=end]:not(.legacy-radio)){width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-radio)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.legacy-radio){width:1.25rem;height:1.25rem}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.legacy-radio.radio-disabled),:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused.legacy-radio) .radio-icon::after{top:-12px}@supports (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{inset-inline-start:-12px}}@supports not (inset-inline-start: 0){:host(.ion-focused.legacy-radio) .radio-icon::after{left:-12px}:host-context([dir=rtl]):host(.ion-focused.legacy-radio) .radio-icon::after,:host-context([dir=rtl]).ion-focused.legacy-radio .radio-icon::after{left:unset;right:unset;right:-12px}@supports selector(:dir(rtl)){:host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after{left:unset;right:unset;right:-12px}}}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host(.in-item.legacy-radio){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-radio[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:11px;margin-bottom:10px}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}'};const D=class{constructor(e){(0,r.r)(this,e),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionValueChange=(0,r.d)(this,"ionValueChange",7),this.inputId="ion-rg-"+R++,this.labelId=`${this.inputId}-lbl`,this.setRadioTabindex=t=>{const i=this.getRadios(),a=i.find(l=>!l.disabled),s=i.find(l=>l.value===t&&!l.disabled);if(!a&&!s)return;const d=s||a;for(const l of i)l.setButtonTabindex(l===d?0:-1)},this.onClick=t=>{t.preventDefault();const i=t.target&&t.target.closest("ion-radio");if(i&&!i.disabled){const s=i.value;s!==this.value?(this.value=s,this.emitValueChange(t)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(t))}},this.allowEmptySelection=!1,this.compareWith=void 0,this.name=this.inputId,this.value=void 0}valueChanged(e){this.setRadioTabindex(e),this.ionValueChange.emit({value:e})}componentDidLoad(){this.valueChanged(this.value)}connectedCallback(){var e=this;return(0,g.Z)(function*(){const t=e.el.querySelector("ion-list-header")||e.el.querySelector("ion-item-divider");if(t){const i=e.label=t.querySelector("ion-label");i&&(e.labelId=i.id=e.name+"-lbl")}})()}getRadios(){return Array.from(this.el.querySelectorAll("ion-radio"))}emitValueChange(e){const{value:t}=this;this.ionChange.emit({value:t,event:e})}onKeydown(e){const t=!!this.el.closest("ion-select-popover");if(e.target&&!this.el.contains(e.target))return;const i=this.getRadios().filter(a=>!a.disabled);if(e.target&&i.includes(e.target)){const a=i.findIndex(l=>l===e.target),s=i[a];let d;if(["ArrowDown","ArrowRight"].includes(e.key)&&(d=a===i.length-1?i[0]:i[a+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(d=0===a?i[i.length-1]:i[a-1]),d&&i.includes(d)&&(d.setFocus(e),t||(this.value=d.value,this.emitValueChange(e))),[" "].includes(e.key)){const l=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:s.value,(l!==this.value||this.allowEmptySelection)&&this.emitValueChange(e),e.preventDefault()}}}render(){const{label:e,labelId:t,el:i,name:a,value:s}=this,d=(0,o.b)(this);return(0,h.d)(!0,i,a,s,!1),(0,r.h)(r.H,{key:"6065674a08ac2ead25e87219b5628879a759b75a",role:"radiogroup","aria-labelledby":e?t:null,onClick:this.onClick,class:d})}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let R=0},3814:(I,x,c)=>{c.d(x,{c:()=>k,g:()=>v,h:()=>r,o:()=>m});var g=c(5861);const r=(o,n)=>null!==n.closest(o),k=(o,n)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},n):n,v=o=>{const n={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(p=>null!=p).map(p=>p.trim()).filter(p=>""!==p):[])(o).forEach(p=>n[p]=!0),n},w=/^[a-z][a-z0-9+\-.]*:/,m=function(){var o=(0,g.Z)(function*(n,p,_,y){if(null!=n&&"#"!==n[0]&&!w.test(n)){const b=document.querySelector("ion-router");if(b)return p?.preventDefault(),b.push(n,_,y)}return!1});return function(p,_,y,b){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4711.6ffdcd6a980e7f3a.js b/4711.6ffdcd6a980e7f3a.js new file mode 100644 index 00000000..3f853619 --- /dev/null +++ b/4711.6ffdcd6a980e7f3a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4711],{4711:(Y,v,a)=>{a.r(v),a.d(v,{ion_item:()=>p,ion_item_divider:()=>j,ion_item_group:()=>A,ion_label:()=>O,ion_list:()=>D,ion_list_header:()=>E,ion_note:()=>L,ion_skeleton_text:()=>T});var _=a(5861),i=a(2477),x=a(8635),m=a(8909),r=a(3814),w=a(4896),d=a(7943);const p=class{constructor(t){(0,i.r)(this,t),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.color=void 0,this.button=!1,this.detail=void 0,this.detailIcon=w.o,this.disabled=!1,this.download=void 0,this.fill=void 0,this.shape=void 0,this.href=void 0,this.rel=void 0,this.lines=void 0,this.counter=!1,this.routerAnimation=void 0,this.routerDirection="forward",this.target=void 0,this.type="button",this.counterFormatter=void 0,this.counterString=void 0}buttonChanged(){this.focusable=this.isFocusable()}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonInput(t){this.counter&&t.target===this.getFirstInput()&&this.updateCounterOutput(t.target)}labelColorChanged(t){const{color:e}=this;void 0===e&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const e=t.target.tagName,o=t.detail,g={},f=this.itemStyles.get(e)||{};let c=!1;Object.keys(o).forEach(h=>{if(o[h]){const b=`item-${h}`;f[b]||(c=!0),g[b]=!0}}),!c&&Object.keys(g).length!==Object.keys(f).length&&(c=!0),c&&(this.itemStyles.set(e,g),(0,i.i)(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,x.k)(this.el,["aria-label"])}componentDidLoad(){const{el:t,counter:e,counterFormatter:o,fill:g,shape:f}=this;null!==t.querySelector('[slot="helper"]')&&(0,m.p)('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.',t),null!==t.querySelector('[slot="error"]')&&(0,m.p)('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.',t),!0===e&&(0,m.p)('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.',t),void 0!==o&&(0,m.p)('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.',t),void 0!==g&&(0,m.p)('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.',t),void 0!==f&&(0,m.p)('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.',t),(0,x.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),e=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),o=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+e.length>1||t.length+o.length>1||t.length>0&&this.isClickable()}hasCover(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==t}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}updateCounterOutput(t){var e,o;const{counter:g,counterFormatter:f,defaultCounterFormatter:c}=this;if(g&&!this.multipleInputs&&void 0!==t?.maxlength){const h=null!==(o=null===(e=t?.value)||void 0===e?void 0:e.toString().length)&&void 0!==o?o:0;if(void 0===f)this.counterString=c(h,t.maxlength);else try{this.counterString=f(h,t.maxlength)}catch(b){(0,m.a)("Exception in provided `counterFormatter`.",b),this.counterString=c(h,t.maxlength)}}}defaultCounterFormatter(t,e){return`${t} / ${e}`}hasStartEl(){null!==this.el.querySelector('[slot="start"]')&&this.el.classList.add("item-has-start-slot")}getFirstInteractive(){return this.el.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled])")[0]}render(){const{counterString:t,detail:e,detailIcon:o,download:g,fill:f,labelColorStyles:c,lines:h,disabled:b,href:I,rel:et,shape:F,target:ot,routerAnimation:nt,routerDirection:lt,inheritedAriaAttributes:rt,multipleInputs:H}=this,S={},M=(0,d.b)(this),z=this.isClickable(),P=this.canActivate(),X=z?void 0===I?"button":"a":"div",at="button"===X?{type:this.type}:{download:g,href:I,rel:et,target:ot};let R={};const C=this.getFirstInteractive();(z||void 0!==C&&!H)&&(R={onClick:u=>{if(z&&(0,r.o)(I,u,lt,nt),void 0!==C&&!H){const ct=u.composedPath()[0];u.isTrusted&&this.el.shadowRoot.contains(ct)&&C.click()}}});const st=void 0!==e?e:"ios"===M&&z;this.itemStyles.forEach(u=>{Object.assign(S,u)});const dt=b||S["item-interactive-disabled"]?"true":null,ht=f||"none",$=(0,r.h)("ion-list",this.el)&&!(0,r.h)("ion-radio-group",this.el);return(0,i.h)(i.H,{key:"077c9ab04985292f79c30691151d2778a26285fb","aria-disabled":dt,class:Object.assign(Object.assign(Object.assign({},S),c),(0,r.c)(this.color,{item:!0,[M]:!0,"item-lines-default":void 0===h,[`item-lines-${h}`]:void 0!==h,[`item-fill-${ht}`]:!0,[`item-shape-${F}`]:void 0!==F,"item-has-interactive-control":void 0!==C,"item-disabled":b,"in-list":$,"item-multiple-inputs":this.multipleInputs,"ion-activatable":P,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:$?"listitem":null},(0,i.h)(X,Object.assign({key:"08bb75c85d0584e9fb7f461e9e06b9b651ef3515"},at,rt,{class:"item-native",part:"native",disabled:b},R),(0,i.h)("slot",{key:"3f742b07c4a58eadedf675be4878a3e00070750e",name:"start"}),(0,i.h)("div",{key:"0160b8963434f3107856a2df2fb96f1abb4fdbfe",class:"item-inner"},(0,i.h)("div",{key:"9439b21474443341f06a651d7c44aef90bd4c591",class:"input-wrapper"},(0,i.h)("slot",{key:"8034e1337a6c950b7725bc9aa46d55de980827bf"})),(0,i.h)("slot",{key:"690de6d3dd3a238ab7a2d3dfea69daa6647e5134",name:"end"}),st&&(0,i.h)("ion-icon",{key:"6f386abbde5897fca7aabc850645986e16315213",icon:o,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":o===w.o}),(0,i.h)("div",{key:"4bb8444a5097c032d79f2083f60429b9057e3a5c",class:"item-inner-highlight"})),P&&"md"===M&&(0,i.h)("ion-ripple-effect",{key:"31c319e2335efbb92d7dea110a66f347764f2b44"}),(0,i.h)("div",{key:"0fc128b44582af7c8b542c9e346ef88e40fea148",class:"item-highlight"})),(0,i.h)("div",{key:"7b84c0a74d148a7fa6af449b6bd06bb45530edf5",class:"item-bottom"},(0,i.h)("slot",{key:"97563a615efd81b21014c41a25989c71ba3ae2cd",name:"error"}),(0,i.h)("slot",{key:"d84a4bb21ed3f13af82f78104ffb06d2b079738e",name:"helper"}),t&&(0,i.h)("ion-note",{key:"34eaa7798c50d2f88afca0dcb1278df05a1800e6",class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return(0,i.f)(this)}static get watchers(){return{button:["buttonChanged"],counterFormatter:["counterFormatterChanged"]}}};p.style={ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:1rem;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}@supports (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{inset-inline-start:var(--position-offset)}}@supports not (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{left:var(--position-offset)}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}@supports selector(:dir(rtl)){:host(.item-fill-outline:dir(rtl)) .item-highlight{left:unset;right:unset;right:var(--position-offset)}}}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid:dir(rtl)){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid.item-shape-round:dir(rtl)){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{-webkit-padding-start:32px;padding-inline-start:32px}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){-webkit-transform:translateY(-14px);transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}'};const j=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.sticky=!1}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"5727179159ef2a8879f55435265003e0ec72df3f",class:(0,r.c)(this.color,{[t]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,i.h)("slot",{key:"bb7df137e60ca3fa9a50c612e30fbb3ee4c818ad",name:"start"}),(0,i.h)("div",{key:"6a25a01271957cfdd8e8dfb6ef76e1eb710380f2",class:"item-divider-inner"},(0,i.h)("div",{key:"554ba681b0f346ed0af03232f8b2e6ca399877d9",class:"item-divider-wrapper"},(0,i.h)("slot",{key:"f98e20a01f09d0a2e19b7351eb1b4028881a07ab"})),(0,i.h)("slot",{key:"755643b5b8d3463af41b3d0805871073a34386a3",name:"end"})))}get el(){return(0,i.f)(this)}};j.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}"};const A=class{constructor(t){(0,i.r)(this,t)}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"5778fb7e9c6791874b4ff14f0babdae715e322e7",role:"group",class:{[t]:!0,[`item-group-${t}`]:!0,item:!0}})}};A.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};const O=class{constructor(t){(0,i.r)(this,t),this.ionColor=(0,i.d)(this,"ionColor",7),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:e}=this;t||this.ionStyle.emit({label:!0,[`label-${e}`]:void 0!==e})}render(){const t=this.position,e=(0,d.b)(this);return(0,i.h)(i.H,{key:"72ad4ba5c1137ae0130e421346668e436ea53bf8",class:(0,r.c)(this.color,{[e]:!0,"in-item-color":(0,r.h)("ion-item.ion-color",this.el),[`label-${t}`]:void 0!==t,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return(0,i.f)(this)}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}};O.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:'.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}'};const D=class{constructor(t){(0,i.r)(this,t),this.lines=void 0,this.inset=!1}closeSlidingItems(){var t=this;return(0,_.Z)(function*(){const e=t.el.querySelector("ion-item-sliding");return!!e?.closeOpened&&e.closeOpened()})()}render(){const t=(0,d.b)(this),{lines:e,inset:o}=this;return(0,i.h)(i.H,{key:"3df401155114c7a39c81f201bf8a181d07e8d4c8",role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":o,[`list-lines-${e}`]:void 0!==e,[`list-${t}-lines-${e}`]:void 0!==e}})}get el(){return(0,i.f)(this)}};D.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};const E=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.lines=void 0}render(){const{lines:t}=this,e=(0,d.b)(this);return(0,i.h)(i.H,{key:"e5fabb3ae91e6fe47c89273d1d2dba5902f77f94",class:(0,r.c)(this.color,{[e]:!0,[`list-header-lines-${t}`]:void 0!==t})},(0,i.h)("div",{key:"a9cfdaa436267fbabb0d618c3932849c1b77fbd2",class:"list-header-inner"},(0,i.h)("slot",{key:"8ed806fd58f8f2265c5bf466886086e88ada93cc"})))}};E.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};const L=class{constructor(t){(0,i.r)(this,t),this.color=void 0}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"79a17a318ec6e8326c9741b4a9bb4598acdc225e",class:(0,r.c)(this.color,{[t]:!0})},(0,i.h)("slot",{key:"5adeaccfabb4bee7b84ea5c5de804bd255b29255"}))}};L.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6);font-size:max(14px, 1rem)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:0.875rem}"};const T=class{constructor(t){(0,i.r)(this,t),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.animated=!1}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"skeleton-text":!0})}render(){const t=this.animated&&d.c.getBoolean("animated",!0),e=(0,r.h)("ion-avatar",this.el)||(0,r.h)("ion-thumbnail",this.el),o=(0,d.b)(this);return(0,i.h)(i.H,{key:"4dab0fd2de666de12ad8f6dc6ed1e1de0be67ddd",class:{[o]:!0,"skeleton-text-animated":t,"in-media":e}},(0,i.h)("span",{key:"f8f908ec24d65e63b14d9a54640a5f18f0fa8fa5"},"\xa0"))}get el(){return(0,i.f)(this)}};T.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}"},3814:(Y,v,a)=>{a.d(v,{c:()=>x,g:()=>r,h:()=>i,o:()=>d});var _=a(5861);const i=(l,n)=>null!==n.closest(l),x=(l,n)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},n):n,r=l=>{const n={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(l).forEach(s=>n[s]=!0),n},w=/^[a-z][a-z0-9+\-.]*:/,d=function(){var l=(0,_.Z)(function*(n,s,k,p){if(null!=n&&"#"!==n[0]&&!w.test(n)){const y=document.querySelector("ion-router");if(y)return s?.preventDefault(),y.push(n,k,p)}return!1});return function(s,k,p,y){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4711.9764fdba012c43bf.js b/4711.9764fdba012c43bf.js deleted file mode 100644 index a40f89a1..00000000 --- a/4711.9764fdba012c43bf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4711],{4711:(Y,v,a)=>{a.r(v),a.d(v,{ion_item:()=>p,ion_item_divider:()=>j,ion_item_group:()=>A,ion_label:()=>O,ion_list:()=>D,ion_list_header:()=>E,ion_note:()=>L,ion_skeleton_text:()=>T});var _=a(5861),i=a(6541),x=a(8635),m=a(8909),r=a(3814),w=a(4896),d=a(4700);const p=class{constructor(t){(0,i.r)(this,t),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.color=void 0,this.button=!1,this.detail=void 0,this.detailIcon=w.o,this.disabled=!1,this.download=void 0,this.fill=void 0,this.shape=void 0,this.href=void 0,this.rel=void 0,this.lines=void 0,this.counter=!1,this.routerAnimation=void 0,this.routerDirection="forward",this.target=void 0,this.type="button",this.counterFormatter=void 0,this.counterString=void 0}buttonChanged(){this.focusable=this.isFocusable()}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonInput(t){this.counter&&t.target===this.getFirstInput()&&this.updateCounterOutput(t.target)}labelColorChanged(t){const{color:e}=this;void 0===e&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const e=t.target.tagName,o=t.detail,g={},f=this.itemStyles.get(e)||{};let c=!1;Object.keys(o).forEach(h=>{if(o[h]){const b=`item-${h}`;f[b]||(c=!0),g[b]=!0}}),!c&&Object.keys(g).length!==Object.keys(f).length&&(c=!0),c&&(this.itemStyles.set(e,g),(0,i.i)(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=(0,x.k)(this.el,["aria-label"])}componentDidLoad(){const{el:t,counter:e,counterFormatter:o,fill:g,shape:f}=this;null!==t.querySelector('[slot="helper"]')&&(0,m.p)('The "helper" slot has been deprecated in favor of using the "helperText" property on ion-input or ion-textarea.',t),null!==t.querySelector('[slot="error"]')&&(0,m.p)('The "error" slot has been deprecated in favor of using the "errorText" property on ion-input or ion-textarea.',t),!0===e&&(0,m.p)('The "counter" property has been deprecated in favor of using the "counter" property on ion-input or ion-textarea.',t),void 0!==o&&(0,m.p)('The "counterFormatter" property has been deprecated in favor of using the "counterFormatter" property on ion-input or ion-textarea.',t),void 0!==g&&(0,m.p)('The "fill" property has been deprecated in favor of using the "fill" property on ion-input or ion-textarea.',t),void 0!==f&&(0,m.p)('The "shape" property has been deprecated in favor of using the "shape" property on ion-input or ion-textarea.',t),(0,x.r)(()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()})}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),e=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),o=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+e.length>1||t.length+o.length>1||t.length>0&&this.isClickable()}hasCover(){return 1===this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==t}getFirstInput(){return this.el.querySelectorAll("ion-input, ion-textarea")[0]}updateCounterOutput(t){var e,o;const{counter:g,counterFormatter:f,defaultCounterFormatter:c}=this;if(g&&!this.multipleInputs&&void 0!==t?.maxlength){const h=null!==(o=null===(e=t?.value)||void 0===e?void 0:e.toString().length)&&void 0!==o?o:0;if(void 0===f)this.counterString=c(h,t.maxlength);else try{this.counterString=f(h,t.maxlength)}catch(b){(0,m.a)("Exception in provided `counterFormatter`.",b),this.counterString=c(h,t.maxlength)}}}defaultCounterFormatter(t,e){return`${t} / ${e}`}hasStartEl(){null!==this.el.querySelector('[slot="start"]')&&this.el.classList.add("item-has-start-slot")}getFirstInteractive(){return this.el.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled])")[0]}render(){const{counterString:t,detail:e,detailIcon:o,download:g,fill:f,labelColorStyles:c,lines:h,disabled:b,href:I,rel:et,shape:F,target:ot,routerAnimation:nt,routerDirection:lt,inheritedAriaAttributes:rt,multipleInputs:H}=this,S={},M=(0,d.b)(this),z=this.isClickable(),P=this.canActivate(),X=z?void 0===I?"button":"a":"div",at="button"===X?{type:this.type}:{download:g,href:I,rel:et,target:ot};let R={};const C=this.getFirstInteractive();(z||void 0!==C&&!H)&&(R={onClick:u=>{if(z&&(0,r.o)(I,u,lt,nt),void 0!==C&&!H){const ct=u.composedPath()[0];u.isTrusted&&this.el.shadowRoot.contains(ct)&&C.click()}}});const st=void 0!==e?e:"ios"===M&&z;this.itemStyles.forEach(u=>{Object.assign(S,u)});const dt=b||S["item-interactive-disabled"]?"true":null,ht=f||"none",$=(0,r.h)("ion-list",this.el)&&!(0,r.h)("ion-radio-group",this.el);return(0,i.h)(i.H,{key:"077c9ab04985292f79c30691151d2778a26285fb","aria-disabled":dt,class:Object.assign(Object.assign(Object.assign({},S),c),(0,r.c)(this.color,{item:!0,[M]:!0,"item-lines-default":void 0===h,[`item-lines-${h}`]:void 0!==h,[`item-fill-${ht}`]:!0,[`item-shape-${F}`]:void 0!==F,"item-has-interactive-control":void 0!==C,"item-disabled":b,"in-list":$,"item-multiple-inputs":this.multipleInputs,"ion-activatable":P,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:$?"listitem":null},(0,i.h)(X,Object.assign({key:"08bb75c85d0584e9fb7f461e9e06b9b651ef3515"},at,rt,{class:"item-native",part:"native",disabled:b},R),(0,i.h)("slot",{key:"3f742b07c4a58eadedf675be4878a3e00070750e",name:"start"}),(0,i.h)("div",{key:"0160b8963434f3107856a2df2fb96f1abb4fdbfe",class:"item-inner"},(0,i.h)("div",{key:"9439b21474443341f06a651d7c44aef90bd4c591",class:"input-wrapper"},(0,i.h)("slot",{key:"8034e1337a6c950b7725bc9aa46d55de980827bf"})),(0,i.h)("slot",{key:"690de6d3dd3a238ab7a2d3dfea69daa6647e5134",name:"end"}),st&&(0,i.h)("ion-icon",{icon:o,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":o===w.o}),(0,i.h)("div",{key:"e96885084ca845656fd4d18902528ce7de207c86",class:"item-inner-highlight"})),P&&"md"===M&&(0,i.h)("ion-ripple-effect",null),(0,i.h)("div",{key:"64e5323c380e05aa183e8dd7fbe560d084725f5e",class:"item-highlight"})),(0,i.h)("div",{key:"677132e6193981697f494b215ddc02407fdd96a5",class:"item-bottom"},(0,i.h)("slot",{key:"cda34a9208020bbb18ca5313e0bfbf270f024012",name:"error"}),(0,i.h)("slot",{key:"c1b3541b11ece13309d0e28dd3a95c048dfab43f",name:"helper"}),t&&(0,i.h)("ion-note",{class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return(0,i.f)(this)}static get watchers(){return{button:["buttonChanged"],counterFormatter:["counterFormatterChanged"]}}};p.style={ios:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',md:':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-has-interactive-control){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--inner-padding-end) + var(--ion-safe-area-right, 0px));display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host-context([dir=rtl]) .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}[dir=rtl] .item-bottom{padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}@supports selector(:dir(rtl)){.item-bottom:dir(rtl){padding-left:calc(var(--inner-padding-end) + var(--ion-safe-area-left, 0px));padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.ion-focused) .item-highlight,:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-highlight,:host(.item-has-focus) .item-inner-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.ion-focused) .item-highlight,:host(.item-has-focus) .item-highlight{border-width:var(--full-highlight-height);opacity:var(--show-full-highlight)}:host(.ion-focused) .item-inner-highlight,:host(.item-has-focus) .item-inner-highlight{border-bottom-width:var(--inset-highlight-height);opacity:var(--show-inset-highlight)}:host(.ion-focused.item-fill-solid) .item-highlight,:host(.item-has-focus.item-fill-solid) .item-highlight{border-width:calc(var(--full-highlight-height) - 1px)}:host(.ion-focused) .item-inner-highlight,:host(.ion-focused:not(.item-fill-outline)) .item-highlight,:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus:not(.item-fill-outline)) .item-highlight{border-top:none;border-right:none;border-left:none}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select.legacy-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select.legacy-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:0.75rem;z-index:1}.item-counter{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:1rem;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}@supports (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{inset-inline-start:var(--position-offset)}}@supports not (inset-inline-start: 0){:host(.item-fill-outline) .item-highlight{left:var(--position-offset)}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}@supports selector(:dir(rtl)){:host(.item-fill-outline:dir(rtl)) .item-highlight{left:unset;right:unset;right:var(--position-offset)}}}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select.legacy-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select.legacy-select),:host(.item-label-floating) ::slotted(ion-select.legacy-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid:dir(rtl)){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@supports selector(:dir(rtl)){:host(.item-fill-solid.item-shape-round:dir(rtl)){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{-webkit-padding-start:32px;padding-inline-start:32px}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){-webkit-transform:translateY(-14px);transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}'};const j=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.sticky=!1}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"d9d5993694639e8f1ed589f0e8c3f4920ce30e02",class:(0,r.c)(this.color,{[t]:!0,"item-divider-sticky":this.sticky,item:!0})},(0,i.h)("slot",{key:"1da8c38cbf07ef591ceae94b0d70bf620990e568",name:"start"}),(0,i.h)("div",{key:"349a581fd1688b01ce7c67da99ae22cb4a5a85f7",class:"item-divider-inner"},(0,i.h)("div",{key:"80e22ba4f5da2af40bb32a445b840baa59edfbcc",class:"item-divider-wrapper"},(0,i.h)("slot",{key:"6d3fb95c8eba128e56defccbcc5d4b1fa3ec4c4a"})),(0,i.h)("slot",{key:"83a97c131348c8cf840c30ccbf83c78edc125c14",name:"end"})))}get el(){return(0,i.f)(this)}};j.style={ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, #e6e6e6);--color:var(--ion-color-step-850, #262626);--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}",md:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, #999999);--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted([slot=end]){-webkit-margin-start:32px;margin-inline-start:32px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){-webkit-padding-end:16px;padding-inline-end:16px}::slotted(ion-note[slot=end]){-webkit-padding-start:16px;padding-inline-start:16px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, #666666);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}"};const A=class{constructor(t){(0,i.r)(this,t)}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"1d7de42c40d5f37324342fa7be2420bf6499705e",role:"group",class:{[t]:!0,[`item-group-${t}`]:!0,item:!0}})}};A.style={ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"};const O=class{constructor(t){(0,i.r)(this,t),this.ionColor=(0,i.d)(this,"ionColor",7),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.inRange=!1,this.color=void 0,this.position=void 0,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout(()=>{this.noAnimate=!1},1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:e}=this;t||this.ionStyle.emit({label:!0,[`label-${e}`]:void 0!==e})}render(){const t=this.position,e=(0,d.b)(this);return(0,i.h)(i.H,{key:"c80cc1b4dcd56f614efc1e63ca80bca2f20a7151",class:(0,r.c)(this.color,{[e]:!0,"in-item-color":(0,r.h)("ion-item.ion-color",this.el),[`label-${t}`]:void 0!==t,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return(0,i.f)(this)}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}};O.style={ios:".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-ios-h,.item-legacy .sc-ion-label-ios-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",md:'.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.item-legacy.sc-ion-label-md-h,.item-legacy .sc-ion-label-md-h{white-space:nowrap;overflow:hidden}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}'};const D=class{constructor(t){(0,i.r)(this,t),this.lines=void 0,this.inset=!1}closeSlidingItems(){var t=this;return(0,_.Z)(function*(){const e=t.el.querySelector("ion-item-sliding");return!!e?.closeOpened&&e.closeOpened()})()}render(){const t=(0,d.b)(this),{lines:e,inset:o}=this;return(0,i.h)(i.H,{key:"7f259d2a107807065a440cca848ececa0da60458",role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":o,[`list-lines-${e}`]:void 0!==e,[`list-${t}-lines-${e}`]:void 0!==e}})}get el(){return(0,i.f)(this)}};D.style={ios:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",md:"ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}@supports (inset-inline-start: 0){.list-md>.input:last-child::after{inset-inline-start:0}}@supports not (inset-inline-start: 0){.list-md>.input:last-child::after{left:0}:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}[dir=rtl] .list-md>.input:last-child::after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.list-md>.input:last-child::after:dir(rtl){left:unset;right:unset;right:0}}}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};const E=class{constructor(t){(0,i.r)(this,t),this.color=void 0,this.lines=void 0}render(){const{lines:t}=this,e=(0,d.b)(this);return(0,i.h)(i.H,{key:"27a08e9dc880db9377608ea262e254b0856b0d5c",class:(0,r.c)(this.color,{[e]:!0,[`list-header-lines-${t}`]:void 0!==t})},(0,i.h)("div",{key:"edd68f126ee5d815e6ae13e9662e8cedbd2d46e5",class:"list-header-inner"},(0,i.h)("slot",{key:"dae94a382ef09bb90d3ff3fbb2306515acfc2014"})))}};E.style={ios:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",md:":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}"};const L=class{constructor(t){(0,i.r)(this,t),this.color=void 0}render(){const t=(0,d.b)(this);return(0,i.h)(i.H,{key:"de9f59a3e1700776780e61def3044901e1d1bef5",class:(0,r.c)(this.color,{[t]:!0})},(0,i.h)("slot",{key:"30f98649d4d31a297ab71d23ed38fa021540a8f2"}))}};L.style={ios:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6);font-size:max(14px, 1rem)}",md:":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:0.875rem}"};const T=class{constructor(t){(0,i.r)(this,t),this.ionStyle=(0,i.d)(this,"ionStyle",7),this.animated=!1}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"skeleton-text":!0})}render(){const t=this.animated&&d.c.getBoolean("animated",!0),e=(0,r.h)("ion-avatar",this.el)||(0,r.h)("ion-thumbnail",this.el),o=(0,d.b)(this);return(0,i.h)(i.H,{key:"2d9e785d3026faf76d0e970e3bfe33258f29046b",class:{[o]:!0,"skeleton-text-animated":t,"in-media":e}},(0,i.h)("span",{key:"d1800f5fd176a8daa216e8b889e427770bf64a05"},"\xa0"))}get el(){return(0,i.f)(this)}};T.style=":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}"},3814:(Y,v,a)=>{a.d(v,{c:()=>x,g:()=>r,h:()=>i,o:()=>d});var _=a(5861);const i=(l,n)=>null!==n.closest(l),x=(l,n)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},n):n,r=l=>{const n={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(l).forEach(s=>n[s]=!0),n},w=/^[a-z][a-z0-9+\-.]*:/,d=function(){var l=(0,_.Z)(function*(n,s,k,p){if(null!=n&&"#"!==n[0]&&!w.test(n)){const y=document.querySelector("ion-router");if(y)return s?.preventDefault(),y.push(n,k,p)}return!1});return function(s,k,p,y){return l.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4753.0c7c8f9be88e8111.js b/4753.fd6e30580f2f0bc8.js similarity index 84% rename from 4753.0c7c8f9be88e8111.js rename to 4753.fd6e30580f2f0bc8.js index dd98f2f6..e4fbbc54 100644 --- a/4753.0c7c8f9be88e8111.js +++ b/4753.fd6e30580f2f0bc8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4753],{4753:(v,s,n)=>{n.r(s),n.d(s,{ion_avatar:()=>o,ion_badge:()=>i,ion_thumbnail:()=>u});var a=n(6541),d=n(4700),l=n(3814);const o=class{constructor(e){(0,a.r)(this,e)}render(){return(0,a.h)(a.H,{key:"95d7ca334f9b66e0983cbc1b782ded0b9a54eaa9",class:(0,d.b)(this)},(0,a.h)("slot",{key:"011d20189acdb03bee328aa4fa0511826a0b3a36"}))}};o.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const i=class{constructor(e){(0,a.r)(this,e),this.color=void 0}render(){const e=(0,d.b)(this);return(0,a.h)(a.H,{key:"043eea016721e53f0af1cbf1371bc08694281204",class:(0,l.c)(this.color,{[e]:!0})},(0,a.h)("slot",{key:"bd510450d6b60f2794491244e68a83049a5ef6dd"}))}};i.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const u=class{constructor(e){(0,a.r)(this,e)}render(){return(0,a.h)(a.H,{key:"a12bfff6f372b19f6890a81f93ca6137701ee360",class:(0,d.b)(this)},(0,a.h)("slot",{key:"f546320896fee05677cc30f13aa7fa7c0360d69d"}))}};u.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"},3814:(v,s,n)=>{n.d(s,{c:()=>l,g:()=>p,h:()=>d,o:()=>g});var a=n(5861);const d=(o,t)=>null!==t.closest(o),l=(o,t)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},t):t,p=o=>{const t={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(o).forEach(r=>t[r]=!0),t},f=/^[a-z][a-z0-9+\-.]*:/,g=function(){var o=(0,a.Z)(function*(t,r,b,c){if(null!=t&&"#"!==t[0]&&!f.test(t)){const i=document.querySelector("ion-router");if(i)return r?.preventDefault(),i.push(t,b,c)}return!1});return function(r,b,c,i){return o.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4753],{4753:(v,s,n)=>{n.r(s),n.d(s,{ion_avatar:()=>o,ion_badge:()=>i,ion_thumbnail:()=>u});var a=n(2477),d=n(7943),l=n(3814);const o=class{constructor(e){(0,a.r)(this,e)}render(){return(0,a.h)(a.H,{key:"f6014b524497bb18ae919ba6f6928407310d6870",class:(0,d.b)(this)},(0,a.h)("slot",{key:"192ff4a8e10c0b0a4a2ed795ff2675afa8b23449"}))}};o.style={ios:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}",md:":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}"};const i=class{constructor(e){(0,a.r)(this,e),this.color=void 0}render(){const e=(0,d.b)(this);return(0,a.h)(a.H,{key:"22d41ceefb76f40dfbf739fd71483f1272a45858",class:(0,l.c)(this.color,{[e]:!0})},(0,a.h)("slot",{key:"e7e65463bac5903971a8f9f6be55515f42b81a83"}))}};i.style={ios:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}",md:":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}"};const u=class{constructor(e){(0,a.r)(this,e)}render(){return(0,a.h)(a.H,{key:"d2667635930e4c0896805f452357e7dc9086bc72",class:(0,d.b)(this)},(0,a.h)("slot",{key:"66eb1487f3da4da2ef71b812a8d0f0fe884c7d81"}))}};u.style=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}"},3814:(v,s,n)=>{n.d(s,{c:()=>l,g:()=>p,h:()=>d,o:()=>g});var a=n(5861);const d=(o,t)=>null!==t.closest(o),l=(o,t)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},t):t,p=o=>{const t={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(r=>null!=r).map(r=>r.trim()).filter(r=>""!==r):[])(o).forEach(r=>t[r]=!0),t},f=/^[a-z][a-z0-9+\-.]*:/,g=function(){var o=(0,a.Z)(function*(t,r,b,c){if(null!=t&&"#"!==t[0]&&!f.test(t)){const i=document.querySelector("ion-router");if(i)return r?.preventDefault(),i.push(t,b,c)}return!1});return function(r,b,c,i){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4908.9cabf052845645b4.js b/4908.388fa7d3b6b0b98e.js similarity index 90% rename from 4908.9cabf052845645b4.js rename to 4908.388fa7d3b6b0b98e.js index ac4169aa..733381e3 100644 --- a/4908.9cabf052845645b4.js +++ b/4908.388fa7d3b6b0b98e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4908],{4908:(g,f,a)=>{a.r(f),a.d(f,{ion_spinner:()=>u});var o=a(6541),d=a(3814),p=a(4700),m=a(2677);const u=class{constructor(e){(0,o.r)(this,e),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const e=this.name||p.c.get("spinner"),r=(0,p.b)(this);return e||("ios"===r?"lines":"circular")}render(){var e;const r=this,l=(0,p.b)(r),i=r.getName(),n=null!==(e=m.S[i])&&void 0!==e?e:m.S.lines,k="number"==typeof r.duration&&r.duration>10?r.duration:n.dur,y=[];if(void 0!==n.circles)for(let c=0;c{const n=e.fn(r,l,i);return n.style["animation-duration"]=r+"ms",(0,o.h)("svg",{viewBox:n.viewBox||"0 0 64 64",style:n.style},(0,o.h)("circle",{transform:n.transform||"translate(32,32)",cx:n.cx,cy:n.cy,r:n.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))},s=(e,r,l,i)=>{const n=e.fn(r,l,i);return n.style["animation-duration"]=r+"ms",(0,o.h)("svg",{viewBox:n.viewBox||"0 0 64 64",style:n.style},(0,o.h)("line",{transform:"translate(32,32)",y1:n.y1,y2:n.y2}))};u.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"},3814:(g,f,a)=>{a.d(f,{c:()=>p,g:()=>b,h:()=>d,o:()=>u});var o=a(5861);const d=(t,s)=>null!==s.closest(t),p=(t,s)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},s):s,b=t=>{const s={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(t).forEach(e=>s[e]=!0),s},h=/^[a-z][a-z0-9+\-.]*:/,u=function(){var t=(0,o.Z)(function*(s,e,r,l){if(null!=s&&"#"!==s[0]&&!h.test(s)){const i=document.querySelector("ion-router");if(i)return e?.preventDefault(),i.push(s,r,l)}return!1});return function(e,r,l,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4908],{4908:(g,p,a)=>{a.r(p),a.d(p,{ion_spinner:()=>u});var o=a(2477),d=a(3814),f=a(7943),m=a(2677);const u=class{constructor(e){(0,o.r)(this,e),this.color=void 0,this.duration=void 0,this.name=void 0,this.paused=!1}getName(){const e=this.name||f.c.get("spinner"),r=(0,f.b)(this);return e||("ios"===r?"lines":"circular")}render(){var e;const r=this,l=(0,f.b)(r),i=r.getName(),n=null!==(e=m.S[i])&&void 0!==e?e:m.S.lines,k="number"==typeof r.duration&&r.duration>10?r.duration:n.dur,y=[];if(void 0!==n.circles)for(let c=0;c{const n=e.fn(r,l,i);return n.style["animation-duration"]=r+"ms",(0,o.h)("svg",{viewBox:n.viewBox||"0 0 64 64",style:n.style},(0,o.h)("circle",{transform:n.transform||"translate(32,32)",cx:n.cx,cy:n.cy,r:n.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))},s=(e,r,l,i)=>{const n=e.fn(r,l,i);return n.style["animation-duration"]=r+"ms",(0,o.h)("svg",{viewBox:n.viewBox||"0 0 64 64",style:n.style},(0,o.h)("line",{transform:"translate(32,32)",y1:n.y1,y2:n.y2}))};u.style=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}"},3814:(g,p,a)=>{a.d(p,{c:()=>f,g:()=>b,h:()=>d,o:()=>u});var o=a(5861);const d=(t,s)=>null!==s.closest(t),f=(t,s)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},s):s,b=t=>{const s={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(t).forEach(e=>s[e]=!0),s},h=/^[a-z][a-z0-9+\-.]*:/,u=function(){var t=(0,o.Z)(function*(s,e,r,l){if(null!=s&&"#"!==s[0]&&!h.test(s)){const i=document.querySelector("ion-router");if(i)return e?.preventDefault(),i.push(s,r,l)}return!1});return function(e,r,l,i){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/4959.d6984cebd1ca3211.js b/4959.5dc3a9939fe0f324.js similarity index 91% rename from 4959.d6984cebd1ca3211.js rename to 4959.5dc3a9939fe0f324.js index bfb7ac07..f34983c6 100644 --- a/4959.d6984cebd1ca3211.js +++ b/4959.5dc3a9939fe0f324.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4959],{4959:(Pe,Y,y)=>{y.r(Y),y.d(Y,{ion_datetime:()=>K,ion_picker:()=>N,ion_picker_column:()=>G});var C=y(5861),o=y(6541),te=y(6390),O=y(8635),w=y(8909),W=y(6879),L=y(3814),_=y(4896),T=y(4700),r=y(9291),ie=y(7389),P=y(4393),I=y(4963),F=y(1765);y(2972),y(9019),y(6319);const H=(e,i,t,n)=>!!(null===e.day||void 0!==n&&!n.includes(e.day)||i&&(0,r.i)(e,i)||t&&(0,r.b)(e,t)),z=(e,{minParts:i,maxParts:t})=>!!(((e,i,t)=>!!(i&&i.year>e||t&&t.year{var t,n,a,s;(null!==(t=i?.date)&&void 0!==t&&t.timeZone||null!==(n=i?.date)&&void 0!==n&&n.timeZoneName||null!==(a=i?.time)&&void 0!==a&&a.timeZone||null!==(s=i?.time)&&void 0!==s&&s.timeZoneName)&&(0,w.p)('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".',e)},R=(e,i,t)=>{if(t)switch(i){case"date":case"month-year":case"month":case"year":void 0===t.date&&(0,w.p)(`Datetime: The '${i}' presentation requires a date object in formatOptions.`,e);break;case"time":void 0===t.time&&(0,w.p)("Datetime: The 'time' presentation requires a time object in formatOptions.",e);break;case"date-time":case"time-date":void 0===t.date&&void 0===t.time&&(0,w.p)(`Datetime: The '${i}' presentation requires either a date or time object (or both) in formatOptions.`,e)}},K=class{constructor(e){var i=this;(0,o.r)(this,e),this.ionCancel=(0,o.d)(this,"ionCancel",7),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionValueChange=(0,o.d)(this,"ionValueChange",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.ionRender=(0,o.d)(this,"ionRender",7),this.inputId="ion-dt-"+ce++,this.prevPresentation=null,this.warnIfIncorrectValueUsage=()=>{const{multiple:t,value:n}=this;!t&&Array.isArray(n)&&(0,w.p)(`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: [${n.map(a=>`'${a}'`).join(", ")}]\n`,this.el)},this.setValue=t=>{this.value=t,this.ionChange.emit({value:t})},this.getActivePartsWithFallback=()=>{var t;const{defaultParts:n}=this;return null!==(t=this.getActivePart())&&void 0!==t?t:n},this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t},this.closeParentOverlay=()=>{const t=this.el.closest("ion-modal, ion-popover");t&&t.dismiss()},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,n=!1)=>{if(this.readonly)return;const{multiple:a,minParts:s,maxParts:l,activeParts:d}=this,c=(0,r.v)(t,s,l);if(this.setWorkingParts(c),a){const h=Array.isArray(d)?d:[d];this.activeParts=n?h.filter(u=>!(0,r.c)(u,c)):[...h,c]}else this.activeParts=Object.assign({},c);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t)return;const n=this.el.shadowRoot,a=t.querySelector(".calendar-month:nth-of-type(2)"),l=new MutationObserver(d=>{var c;null!==(c=d[0].oldValue)&&void 0!==c&&c.includes("ion-focused")||!t.classList.contains("ion-focused")||this.focusWorkingDay(a)});l.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{l?.disconnect()},t.addEventListener("keydown",d=>{const c=n.activeElement;if(!c||!c.classList.contains("calendar-day"))return;const p=(0,r.f)(c);let h;switch(d.key){case"ArrowDown":d.preventDefault(),h=(0,r.p)(p);break;case"ArrowUp":d.preventDefault(),h=(0,r.o)(p);break;case"ArrowRight":d.preventDefault(),h=(0,r.n)(p);break;case"ArrowLeft":d.preventDefault(),h=(0,r.m)(p);break;case"Home":d.preventDefault(),h=(0,r.l)(p);break;case"End":d.preventDefault(),h=(0,r.k)(p);break;case"PageUp":d.preventDefault(),h=d.shiftKey?(0,r.j)(p):(0,r.d)(p);break;case"PageDown":d.preventDefault(),h=d.shiftKey?(0,r.h)(p):(0,r.e)(p);break;default:return}H(h,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),h)),requestAnimationFrame(()=>this.focusWorkingDay(a)))})},this.focusWorkingDay=t=>{const n=t.querySelectorAll(".calendar-day-padding"),{day:a}=this.workingParts;if(null===a)return;const s=t.querySelector(`.calendar-day-wrapper:nth-of-type(${n.length+a}) .calendar-day`);s&&s.focus()},this.processMinParts=()=>{const{min:t,defaultParts:n}=this;this.minParts=void 0!==t?(0,r.q)(t,n):void 0},this.processMaxParts=()=>{const{max:t,defaultParts:n}=this;this.maxParts=void 0!==t?(0,r.r)(t,n):void 0},this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelectorAll(".calendar-month"),a=n[0],s=n[1],l=n[2],c="ios"===(0,T.b)(this)&&typeof navigator<"u"&&navigator.maxTouchPoints>1;(0,o.w)(()=>{t.scrollLeft=a.clientWidth*((0,W.i)(this.el)?-1:1);const p=f=>{const x=t.getBoundingClientRect(),b=t.scrollLeft<=2?a:l,k=b.getBoundingClientRect();if(Math.abs(k.x-x.x)>2)return;const{forceRenderDate:v}=this;return void 0!==v?{month:v.month,year:v.year,day:v.day}:b===a?(0,r.d)(f):b===l?(0,r.e)(f):void 0},h=()=>{c&&(t.style.removeProperty("pointer-events"),g=!1);const f=p(this.workingParts);if(!f)return;const{month:x,day:b,year:k}=f;z({month:x,year:k,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),(0,o.w)(()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:x,day:b,year:k})),t.scrollLeft=s.clientWidth*((0,W.i)(this.el)?-1:1),t.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling()}))};let u,g=!1;const m=()=>{u&&clearTimeout(u),!g&&c&&(t.style.setProperty("pointer-events","none"),g=!0),u=setTimeout(h,50)};t.addEventListener("scroll",m),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",m)}})},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:n}=this;void 0!==t&&t(),void 0!==n&&n()},this.processValue=t=>{const n=null!=t&&(!Array.isArray(t)||t.length>0),a=n?(0,r.s)(t):this.defaultParts,{minParts:s,maxParts:l,workingParts:d,el:c}=this;if(this.warnIfIncorrectValueUsage(),!a)return;n&&(0,r.w)(a,s,l);const p=Array.isArray(a)?a[0]:a,h=(0,r.P)(p,s,l),{month:u,day:g,year:m,hour:f,minute:x}=h,b=(0,r.Q)(f);this.activeParts=n?Array.isArray(a)?[...a]:{month:u,day:g,year:m,hour:f,minute:x,ampm:b}:[];const k=void 0!==u&&u!==d.month||void 0!==m&&m!==d.year,v=c.classList.contains("datetime-ready"),{isGridStyle:A,showMonthAndYear:D}=this;let M=!0;if(Array.isArray(a)){const j=a[0].month;for(const B of a)if(B.month!==j){M=!1;break}}M&&(A&&k&&v&&!D?this.animateToDate(h):this.setWorkingParts({month:u,day:g,year:m,hour:f,minute:x,ampm:b}))},this.animateToDate=function(){var t=(0,C.Z)(function*(n){const{workingParts:a}=i;i.forceRenderDate=n;const s=new Promise(d=>{i.resolveForceDateScrolling=d});(0,r.i)(n,a)?i.prevMonth():i.nextMonth(),yield s,i.resolveForceDateScrolling=void 0,i.forceRenderDate=void 0});return function(n){return t.apply(this,arguments)}}(),this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelector(".calendar-month:last-of-type");n&&t.scrollTo({top:0,left:2*n.offsetWidth*((0,W.i)(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.calendarBodyRef;!t||!t.querySelector(".calendar-month:first-of-type")||t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.forceRenderDate=void 0,this.color="primary",this.name=this.inputId,this.disabled=!1,this.formatOptions=void 0,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}formatOptionsChanged(){const{el:e,formatOptions:i,presentation:t}=this;R(e,t,i),$(e,i)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:e,formatOptions:i,presentation:t}=this;R(e,t,i)}get isGridStyle(){const{presentation:e,preferWheel:i}=this;return("date"===e||"date-time"===e||"time-date"===e)&&!i}yearValuesChanged(){this.parsedYearValues=(0,r.t)(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=(0,r.t)(this.monthValues)}dayValuesChanged(){this.parsedDayValues=(0,r.t)(this.dayValues)}hourValuesChanged(){this.parsedHourValues=(0,r.t)(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=(0,r.t)(this.minuteValues)}valueChanged(){var e=this;return(0,C.Z)(function*(){const{value:i}=e;e.hasValue()&&e.processValue(i),e.emitStyle(),e.ionValueChange.emit({value:i})})()}confirm(e=!1){var i=this;return(0,C.Z)(function*(){const{isCalendarPicker:t,activeParts:n,preferWheel:a,workingParts:s}=i;(void 0!==n||!t)&&(Array.isArray(n)&&0===n.length?i.setValue(a?(0,r.u)(s):void 0):i.setValue((0,r.u)(n))),e&&i.closeParentOverlay()})()}reset(e){var i=this;return(0,C.Z)(function*(){i.processValue(e)})()}cancel(e=!1){var i=this;return(0,C.Z)(function*(){i.ionCancel.emit(),e&&i.closeParentOverlay()})()}get isCalendarPicker(){const{presentation:e}=this;return"date"===e||"date-time"===e||"time-date"===e}connectedCallback(){this.clearFocusVisible=(0,te.startFocusVisible)(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const{el:e,intersectionTrackerRef:i}=this,n=new IntersectionObserver(d=>{d[0].isIntersecting&&(this.initializeListeners(),(0,o.w)(()=>{this.el.classList.add("datetime-ready")}))},{threshold:.01,root:e});(0,O.r)(()=>n?.observe(i));const s=new IntersectionObserver(d=>{d[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,(0,o.w)(()=>{this.el.classList.remove("datetime-ready")}))},{threshold:0,root:e});(0,O.r)(()=>s?.observe(i));const l=(0,O.g)(this.el);l.addEventListener("ionFocus",d=>d.stopPropagation()),l.addEventListener("ionBlur",d=>d.stopPropagation())}componentDidRender(){const{presentation:e,prevPresentation:i,calendarBodyRef:t,minParts:n,preferWheel:a,forceRenderDate:s}=this,l=!a&&["date-time","time-date","date"].includes(e);if(void 0!==n&&l&&t){const d=t.querySelector(".calendar-month:nth-of-type(1)");d&&void 0===s&&(t.scrollLeft=d.clientWidth*((0,W.i)(this.el)?-1:1))}null!==i?e!==i&&(this.prevPresentation=e,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,(0,O.r)(()=>{this.ionRender.emit()})):this.prevPresentation=e}componentWillLoad(){const{el:e,formatOptions:i,highlightedDates:t,multiple:n,presentation:a,preferWheel:s}=this;n&&("date"!==a&&(0,w.p)('Multiple date selection is only supported for presentation="date".',e),s&&(0,w.p)('Multiple date selection is not supported with preferWheel="true".',e)),void 0!==t&&("date"!==a&&"date-time"!==a&&"time-date"!==a&&(0,w.p)("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",e),s&&(0,w.p)('The highlightedDates property is not supported with preferWheel="true".',e)),i&&(R(e,a,i),$(e,i));const l=this.parsedHourValues=(0,r.t)(this.hourValues),d=this.parsedMinuteValues=(0,r.t)(this.minuteValues),c=this.parsedMonthValues=(0,r.t)(this.monthValues),p=this.parsedYearValues=(0,r.t)(this.yearValues),h=this.parsedDayValues=(0,r.t)(this.dayValues),u=this.todayParts=(0,r.s)((0,r.x)());this.processMinParts(),this.processMaxParts(),this.defaultParts=(0,r.y)({refParts:u,monthValues:c,dayValues:h,yearValues:p,hourValues:l,minuteValues:d,minParts:this.minParts,maxParts:this.maxParts}),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:e,readonly:i,showDefaultButtons:t,showClearButton:n}=this,a=e||i;if(null===this.el.querySelector('[slot="buttons"]')&&!t&&!n)return;const l=()=>{this.reset(),this.setValue(void 0)};return(0,o.h)("div",{class:"datetime-footer"},(0,o.h)("div",{class:"datetime-buttons"},(0,o.h)("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},(0,o.h)("slot",{name:"buttons"},(0,o.h)("ion-buttons",null,t&&(0,o.h)("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:a},this.cancelText),(0,o.h)("div",{class:"datetime-action-buttons-container"},n&&(0,o.h)("ion-button",{id:"clear-button",color:this.color,onClick:()=>l(),disabled:a},this.clearText),t&&(0,o.h)("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:a},this.doneText)))))))}renderWheelPicker(e=this.presentation){const i="time-date"===e?[this.renderTimePickerColumns(e),this.renderDatePickerColumns(e)]:[this.renderDatePickerColumns(e),this.renderTimePickerColumns(e)];return(0,o.h)("ion-picker-internal",null,i)}renderDatePickerColumns(e){return"date-time"===e||"time-date"===e?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(e)}renderCombinedDatePickerColumn(){const{defaultParts:e,disabled:i,workingParts:t,locale:n,minParts:a,maxParts:s,todayParts:l,isDateEnabled:d}=this,c=this.getActivePartsWithFallback(),p=(0,r.z)(t),h=p[p.length-1];p[0].day=1,h.day=(0,r.A)(h.month,h.year);const u=void 0!==a&&(0,r.b)(a,p[0])?a:p[0],g=void 0!==s&&(0,r.i)(s,h)?s:h,m=(0,r.B)(n,l,u,g,this.parsedDayValues,this.parsedMonthValues);let f=m.items;const x=m.parts;return d&&(f=f.map((k,v)=>{const A=x[v];let D;try{D=!d((0,r.u)(A))}catch(M){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",M)}return Object.assign(Object.assign({},k),{disabled:D})})),(0,o.h)("ion-picker-column-internal",{class:"date-column",color:this.color,disabled:i,items:f,value:null!==t.day?`${t.year}-${t.month}-${t.day}`:`${e.year}-${e.month}-${e.day}`,onIonChange:k=>{this.destroyCalendarListener&&this.destroyCalendarListener();const{value:v}=k.detail,A=x.find(({month:D,day:M,year:j})=>v===`${j}-${D}-${M}`);this.setWorkingParts(Object.assign(Object.assign({},t),A)),this.setActiveParts(Object.assign(Object.assign({},c),A)),this.initializeCalendarListener(),k.stopPropagation()}})}renderIndividualDatePickerColumns(e){const{workingParts:i,isDateEnabled:t}=this,a="year"!==e&&"time"!==e?(0,r.C)(this.locale,i,this.minParts,this.maxParts,this.parsedMonthValues):[];let l="date"===e?(0,r.D)(this.locale,i,this.minParts,this.maxParts,this.parsedDayValues):[];t&&(l=l.map(u=>{const{value:g}=u,m="string"==typeof g?parseInt(g):g,f={month:i.month,day:m,year:i.year};let x;try{x=!t((0,r.u)(f))}catch(b){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",b)}return Object.assign(Object.assign({},u),{disabled:x})}));const c="month"!==e&&"time"!==e?(0,r.E)(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let h=[];return h=(0,r.F)(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(l),this.renderYearPickerColumn(c)]:[this.renderDayPickerColumn(l),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(c)],h}renderDayPickerColumn(e){var i;if(0===e.length)return[];const{disabled:t,workingParts:n}=this,a=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"day-column",color:this.color,disabled:t,items:e,value:null!==(i=null!==n.day?n.day:this.defaultParts.day)&&void 0!==i?i:void 0,onIonChange:s=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},n),{day:s.detail.value})),this.setActiveParts(Object.assign(Object.assign({},a),{day:s.detail.value})),this.initializeCalendarListener(),s.stopPropagation()}})}renderMonthPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"month-column",color:this.color,disabled:i,items:e,value:t.month,onIonChange:a=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{month:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{month:a.detail.value})),this.initializeCalendarListener(),a.stopPropagation()}})}renderYearPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"year-column",color:this.color,disabled:i,items:e,value:t.year,onIonChange:a=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{year:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{year:a.detail.value})),this.initializeCalendarListener(),a.stopPropagation()}})}renderTimePickerColumns(e){if(["date","month","month-year","year"].includes(e))return[];const t=void 0!==this.getActivePart(),{hoursData:n,minutesData:a,dayPeriodData:s}=(0,r.G)(this.locale,this.workingParts,this.hourCycle,t?this.minParts:void 0,t?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(n),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(s)]}renderHourPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.hour,items:e,numericInput:!0,onIonChange:a=>{this.setWorkingParts(Object.assign(Object.assign({},t),{hour:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{hour:a.detail.value})),a.stopPropagation()}})}renderMinutePickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.minute,items:e,numericInput:!0,onIonChange:a=>{this.setWorkingParts(Object.assign(Object.assign({},t),{minute:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{minute:a.detail.value})),a.stopPropagation()}})}renderDayPeriodPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback(),a=(0,r.H)(this.locale);return(0,o.h)("ion-picker-column-internal",{style:a?{order:"-1"}:{},color:this.color,disabled:i,value:n.ampm,items:e,onIonChange:s=>{const l=(0,r.R)(t,s.detail.value);this.setWorkingParts(Object.assign(Object.assign({},t),{ampm:s.detail.value,hour:l})),this.setActiveParts(Object.assign(Object.assign({},n),{ampm:s.detail.value,hour:l})),s.stopPropagation()}})}renderWheelView(e){const{locale:i}=this,n=(0,r.F)(i)?"month-first":"year-first";return(0,o.h)("div",{class:{[`wheel-order-${n}`]:!0}},this.renderWheelPicker(e))}renderCalendarHeader(e){const{disabled:i}=this,t="ios"===e?_.l:_.p,n="ios"===e?_.o:_.q,a=i||((e,i,t)=>{const n=Object.assign(Object.assign({},(0,r.d)(this.workingParts)),{day:null});return z(n,{minParts:i,maxParts:t})})(0,this.minParts,this.maxParts),s=i||((e,i)=>{const t=Object.assign(Object.assign({},(0,r.e)(this.workingParts)),{day:null});return z(t,{maxParts:i})})(0,this.maxParts),l=this.el.getAttribute("dir")||void 0;return(0,o.h)("div",{class:"calendar-header"},(0,o.h)("div",{class:"calendar-action-buttons"},(0,o.h)("div",{class:"calendar-month-year"},(0,o.h)("ion-item",{part:"month-year-button",ref:d=>this.monthYearToggleItemRef=d,button:!0,"aria-label":"Show year picker",detail:!1,lines:"none",disabled:i,onClick:()=>{var d;this.toggleMonthAndYearView();const{monthYearToggleItemRef:c}=this;if(c){const p=null===(d=c.shadowRoot)||void 0===d?void 0:d.querySelector(".item-native");p&&p.setAttribute("aria-label",this.showMonthAndYear?"Hide year picker":"Show year picker")}}},(0,o.h)("ion-label",null,(0,r.J)(this.locale,this.workingParts),(0,o.h)("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?t:n,lazy:!1,flipRtl:!0})))),(0,o.h)("div",{class:"calendar-next-prev"},(0,o.h)("ion-buttons",null,(0,o.h)("ion-button",{"aria-label":"Previous month",disabled:a,onClick:()=>this.prevMonth()},(0,o.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.c,lazy:!1,flipRtl:!0})),(0,o.h)("ion-button",{"aria-label":"Next month",disabled:s,onClick:()=>this.nextMonth()},(0,o.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.o,lazy:!1,flipRtl:!0}))))),(0,o.h)("div",{class:"calendar-days-of-week","aria-hidden":"true"},(0,r.I)(this.locale,e,this.firstDayOfWeek%7).map(d=>(0,o.h)("div",{class:"day-of-week"},d))))}renderMonth(e,i){const{disabled:t,readonly:n}=this,a=void 0===this.parsedYearValues||this.parsedYearValues.includes(i),s=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(e),l=!a||!s,d=t||n,c=t||z({month:e,year:i,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),p=this.workingParts.month===e&&this.workingParts.year===i,h=this.getActivePartsWithFallback();return(0,o.h)("div",{"aria-hidden":p?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!p&&c}},(0,o.h)("div",{class:"calendar-month-grid"},(0,r.K)(e,i,this.firstDayOfWeek%7).map((u,g)=>{const{day:m,dayOfWeek:f}=u,{el:x,highlightedDates:b,isDateEnabled:k,multiple:v}=this,A={month:e,day:m,year:i},D=null===m,{isActive:M,isToday:j,ariaLabel:B,ariaSelected:ye,disabled:xe,text:ke}=((e,i,t,n,a,s,l)=>{const c=void 0!==(Array.isArray(t)?t:[t]).find(u=>(0,r.c)(i,u)),p=(0,r.c)(i,n);return{disabled:H(i,a,s,l),isActive:c,isToday:p,ariaSelected:c?"true":null,ariaLabel:(0,r.g)(e,p,i),text:null!=i.day?(0,r.a)(e,i):null}})(this.locale,A,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),Q=(0,r.u)(A);let E=l||xe;if(!E&&void 0!==k)try{E=!k(Q)}catch(S){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",x,S)}const ve=E&&d,we=E||d;let V,ee;return void 0!==b&&!M&&null!==m&&(V=((e,i,t)=>{if(Array.isArray(e)){const n=i.split("T")[0],a=e.find(s=>s.date===n);if(a)return{textColor:a.textColor,backgroundColor:a.backgroundColor}}else try{return e(i)}catch(n){(0,w.a)("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",t,n)}})(b,Q,x)),D||(ee=`calendar-day${M?" active":""}${j?" today":""}${E?" disabled":""}`),(0,o.h)("div",{class:"calendar-day-wrapper"},(0,o.h)("button",{ref:S=>{S&&(S.style.setProperty("color",`${V?V.textColor:""}`,"important"),S.style.setProperty("background-color",`${V?V.backgroundColor:""}`,"important"))},tabindex:"-1","data-day":m,"data-month":e,"data-year":i,"data-index":g,"data-day-of-week":f,disabled:we,class:{"calendar-day-padding":D,"calendar-day":!0,"calendar-day-active":M,"calendar-day-constrained":ve,"calendar-day-today":j},part:ee,"aria-hidden":D?"true":null,"aria-selected":ye,"aria-label":B,onClick:()=>{D||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:e,day:m,year:i})),v?this.setActiveParts({month:e,day:m,year:i},M):this.setActiveParts(Object.assign(Object.assign({},h),{month:e,day:m,year:i})))}},ke))})))}renderCalendarBody(){return(0,o.h)("div",{class:"calendar-body ion-focusable",ref:e=>this.calendarBodyRef=e,tabindex:"0"},(0,r.z)(this.workingParts,this.forceRenderDate).map(({month:e,year:i})=>this.renderMonth(e,i)))}renderCalendar(e){return(0,o.h)("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(e),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return(0,o.h)("slot",{name:"time-label"},"Time")}renderTimeOverlay(){var e=this;const{disabled:i,hourCycle:t,isTimePopoverOpen:n,locale:a,formatOptions:s}=this,l=(0,r.L)(a,t),d=this.getActivePartsWithFallback();return[(0,o.h)("div",{class:"time-header"},this.renderTimeLabel()),(0,o.h)("button",{class:{"time-body":!0,"time-body-active":n},part:"time-button"+(n?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:i,onClick:(c=(0,C.Z)(function*(p){const{popoverRef:h}=e;h&&(e.isTimePopoverOpen=!0,h.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:p.target}})),yield h.onWillDismiss(),e.isTimePopoverOpen=!1)}),function(h){return c.apply(this,arguments)})},(0,r.M)(a,d,l,s?.time)),(0,o.h)("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:c=>{c.target.querySelectorAll("ion-picker-column-internal").forEach(h=>h.scrollActiveItemIntoView())},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:c=>this.popoverRef=c},this.renderWheelPicker("time"))];var c}getHeaderSelectedDateText(){var e;const{activeParts:i,formatOptions:t,multiple:n,titleSelectedDatesFormatter:a}=this,s=Array.isArray(i);let l;if(n&&s&&1!==i.length){if(l=`${i.length} days`,void 0!==a)try{l=a((0,r.u)(i))}catch(d){(0,w.a)("Exception in provided `titleSelectedDatesFormatter`: ",d)}}else l=(0,r.N)(this.locale,this.getActivePartsWithFallback(),null!==(e=t?.date)&&void 0!==e?e:{weekday:"short",month:"short",day:"numeric"});return l}renderHeader(e=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return(0,o.h)("div",{class:"datetime-header"},(0,o.h)("div",{class:"datetime-title"},(0,o.h)("slot",{name:"title"},"Select Date")),e&&(0,o.h)("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:e}=this;return(0,o.h)("div",{class:"datetime-time"},"time"===e?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return(0,o.h)("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(e){const{presentation:i,preferWheel:t}=this;if(t&&("date"===i||"date-time"===i||"time-date"===i))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(i){case"date-time":return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:e,value:i,disabled:t,el:n,color:a,readonly:s,showMonthAndYear:l,preferWheel:d,presentation:c,size:p,isGridStyle:h}=this,u=(0,T.b)(this),g="year"===c||"month"===c||"month-year"===c,m=l||g,f=l&&!g,b=("date"===c||"date-time"===c||"time-date"===c)&&d;return(0,O.d)(!0,n,e,(0,r.O)(i),t),(0,o.h)(o.H,{key:"064dc72b5494a687e93e7605f7e1ec2d00f523ad","aria-disabled":t?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},(0,L.c)(a,{[u]:!0,"datetime-readonly":s,"datetime-disabled":t,"show-month-and-year":m,"month-year-picker-open":f,[`datetime-presentation-${c}`]:!0,[`datetime-size-${p}`]:!0,"datetime-prefer-wheel":b,"datetime-grid":h}))},(0,o.h)("div",{key:"b943a03c6b8a8d16ee4911996ecf97bd8a8ddaf9",class:"intersection-tracker",ref:k=>this.intersectionTrackerRef=k}),this.renderDatetime(u))}get el(){return(0,o.f)(this)}static get watchers(){return{formatOptions:["formatOptionsChanged"],disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],presentation:["presentationChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let ce=0;K.style={ios:":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%}",md:":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}"};const U=e=>{const i=(0,I.c)(),t=(0,I.c)(),n=(0,I.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},Z=e=>{const i=(0,I.c)(),t=(0,I.c)(),n=(0,I.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},N=class{constructor(e){(0,o.r)(this,e),this.didPresent=(0,o.d)(this,"ionPickerDidPresent",7),this.willPresent=(0,o.d)(this,"ionPickerWillPresent",7),this.willDismiss=(0,o.d)(this,"ionPickerWillDismiss",7),this.didDismiss=(0,o.d)(this,"ionPickerDidDismiss",7),this.didPresentShorthand=(0,o.d)(this,"didPresent",7),this.willPresentShorthand=(0,o.d)(this,"willPresent",7),this.willDismissShorthand=(0,o.d)(this,"willDismiss",7),this.didDismissShorthand=(0,o.d)(this,"didDismiss",7),this.delegateController=(0,P.d)(this),this.lockController=(0,ie.c)(),this.triggerController=(0,P.e)(),this.onBackdropTap=()=>{this.dismiss(void 0,P.B)},this.dispatchCancelHandler=i=>{if((0,P.i)(i.detail.role)){const n=this.buttons.find(a=>"cancel"===a.role);this.callButtonHandler(n)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(e,i){!0===e&&!1===i?this.present():!1===e&&!0===i&&this.dismiss()}triggerChanged(){const{trigger:e,el:i,triggerController:t}=this;e&&t.addClickListener(i,e)}connectedCallback(){(0,P.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,P.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,O.r)(()=>this.present()),this.triggerChanged()}present(){var e=this;return(0,C.Z)(function*(){const i=yield e.lockController.lock();yield e.delegateController.attachViewToDom(),yield(0,P.f)(e,"pickerEnter",U,U,void 0),e.duration>0&&(e.durationTimeout=setTimeout(()=>e.dismiss(),e.duration)),i()})()}dismiss(e,i){var t=this;return(0,C.Z)(function*(){const n=yield t.lockController.lock();t.durationTimeout&&clearTimeout(t.durationTimeout);const a=yield(0,P.g)(t,e,i,"pickerLeave",Z,Z);return a&&t.delegateController.removeViewFromDom(),n(),a})()}onDidDismiss(){return(0,P.h)(this.el,"ionPickerDidDismiss")}onWillDismiss(){return(0,P.h)(this.el,"ionPickerWillDismiss")}getColumn(e){return Promise.resolve(this.columns.find(i=>i.name===e))}buttonClick(e){var i=this;return(0,C.Z)(function*(){const t=e.role;return(0,P.i)(t)?i.dismiss(void 0,t):(yield i.callButtonHandler(e))?i.dismiss(i.getSelected(),e.role):Promise.resolve()})()}callButtonHandler(e){var i=this;return(0,C.Z)(function*(){return!(e&&!1===(yield(0,P.s)(e.handler,i.getSelected())))})()}getSelected(){const e={};return this.columns.forEach((i,t)=>{const n=void 0!==i.selectedIndex?i.options[i.selectedIndex]:void 0;e[i.name]={text:n?n.text:void 0,value:n?n.value:void 0,columnIndex:t}}),e}render(){const{htmlAttributes:e}=this,i=(0,T.b)(this);return(0,o.h)(o.H,Object.assign({key:"d2a0406625c8de0604a926a807f63c7f25bf4bab","aria-modal":"true",tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[i]:!0,[`picker-${i}`]:!0,"overlay-hidden":!0},(0,L.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),(0,o.h)("ion-backdrop",{key:"776a45c3df93ab4683727bb5c8ba0085f4336586",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,o.h)("div",{key:"fc34d3838cfc5c38097dac9e749dbf7433e1a10a",tabindex:"0"}),(0,o.h)("div",{key:"49bf9e92e301cbe12e2e683df110cccd6c9b8042",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},(0,o.h)("div",{key:"f2810a07ea067be31c169f36cbb44ca8a5dc219b",class:"picker-toolbar"},this.buttons.map(t=>(0,o.h)("div",{class:me(t)},(0,o.h)("button",{type:"button",onClick:()=>this.buttonClick(t),class:ue(t)},t.text)))),(0,o.h)("div",{key:"f2d2a4652a8e368e40d4462d2b5e4c8095001b64",class:"picker-columns"},(0,o.h)("div",{key:"143ee78c8e0543f3a2f897097ff09e18f5b68016",class:"picker-above-highlight"}),this.presented&&this.columns.map(t=>(0,o.h)("ion-picker-column",{col:t})),(0,o.h)("div",{key:"47716d2e923ca096a0bd48a07fee2deae1b1a567",class:"picker-below-highlight"}))),(0,o.h)("div",{key:"ecd3b459cae6492330c7c5847c2b4cd214c9c615",tabindex:"0"}))}get el(){return(0,o.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},me=e=>({[`picker-toolbar-${e.role}`]:void 0!==e.role,"picker-toolbar-button":!0}),ue=e=>Object.assign({"picker-button":!0,"ion-activatable":!0},(0,L.g)(e.cssClass));N.style={ios:".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}}}",md:".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}}}"};const G=class{constructor(e){(0,o.r)(this,e),this.ionPickerColChange=(0,o.d)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}connectedCallback(){var e=this;return(0,C.Z)(function*(){let i=0,t=.81;"ios"===(0,T.b)(e)&&(i=-.46,t=1),e.rotateFactor=i,e.scaleFactor=t,e.gesture=(yield Promise.resolve().then(y.bind(y,5067))).createGesture({el:e.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:a=>e.onStart(a),onMove:a=>e.onMove(a),onEnd:a=>e.onEnd(a)}),e.gesture.enable(),e.tmrId=setTimeout(()=>{e.noAnimate=!1,e.refresh(!0)},250)})()}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(e,i){const t=e>-1?-e*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(t,i,!0),this.emitColChange()}update(e,i,t){if(!this.optsEl)return;let n=0,a=0;const{col:s,rotateFactor:l}=this,d=s.selectedIndex,c=s.selectedIndex=this.indexForY(-e),p=0===i?"":i+"ms",h=`scale(${this.scaleFactor})`,u=this.optsEl.children;for(let g=0;g0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let e=this.y+this.velocity;e>this.minY?(e=this.minY,this.velocity=0):e1?this.rafId=requestAnimationFrame(()=>this.decelerate()):(this.velocity=0,this.emitColChange(),(0,F.h)())}else if(this.y%this.optHeight!=0){const e=Math.abs(this.y%this.optHeight);this.velocity=e>this.optHeight/2?1:-1,this.decelerate()}}indexForY(e){return Math.min(Math.max(Math.abs(Math.round(e/this.optHeight)),0),this.col.options.length-1)}onStart(e){e.event.cancelable&&e.event.preventDefault(),e.event.stopPropagation(),(0,F.a)(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const i=this.col.options;let t=i.length-1,n=0;for(let a=0;athis.minY?(i=Math.pow(i,.8),this.bounceFrom=i):i0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=(0,O.l)(-X,23*e.velocityY,X),0===this.velocity&&0===e.deltaY){const i=e.event.target.closest(".picker-opt");i?.hasAttribute("opt-index")&&this.setSelected(parseInt(i.getAttribute("opt-index"),10),J)}else{if(this.y+=e.deltaY,Math.abs(e.velocityY)<.05){const i=e.deltaY>0,t=Math.abs(this.y)%this.optHeight/this.optHeight;i&&t>.5?this.velocity=-1*Math.abs(this.velocity):!i&&t<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(e,i){var t;let n=this.col.options.length-1,a=0;const s=this.col.options;for(let d=0;dthis.optsEl=t},e.options.map((t,n)=>(0,o.h)("button",{"aria-label":t.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":n},t.text))),e.suffix&&(0,o.h)("div",{class:"picker-suffix",style:{width:e.suffixWidth}},e.suffix))}get el(){return(0,o.f)(this)}static get watchers(){return{col:["colChanged"]}}},q="picker-opt-selected",be=.97,X=90,J=150;G.style={ios:".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}}",md:".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)}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4959],{4959:(Pe,Y,y)=>{y.r(Y),y.d(Y,{ion_datetime:()=>K,ion_picker:()=>N,ion_picker_column:()=>G});var C=y(5861),o=y(2477),te=y(6390),O=y(8635),w=y(8909),W=y(6879),L=y(3814),_=y(4896),T=y(7943),r=y(9291),ie=y(7389),P=y(7346),I=y(4963),F=y(1765);y(2972),y(3006),y(6319);const H=(e,i,t,n)=>!!(null===e.day||void 0!==n&&!n.includes(e.day)||i&&(0,r.i)(e,i)||t&&(0,r.b)(e,t)),z=(e,{minParts:i,maxParts:t})=>!!(((e,i,t)=>!!(i&&i.year>e||t&&t.year{var t,n,a,s;(null!==(t=i?.date)&&void 0!==t&&t.timeZone||null!==(n=i?.date)&&void 0!==n&&n.timeZoneName||null!==(a=i?.time)&&void 0!==a&&a.timeZone||null!==(s=i?.time)&&void 0!==s&&s.timeZoneName)&&(0,w.p)('Datetime: "timeZone" and "timeZoneName" are not supported in "formatOptions".',e)},R=(e,i,t)=>{if(t)switch(i){case"date":case"month-year":case"month":case"year":void 0===t.date&&(0,w.p)(`Datetime: The '${i}' presentation requires a date object in formatOptions.`,e);break;case"time":void 0===t.time&&(0,w.p)("Datetime: The 'time' presentation requires a time object in formatOptions.",e);break;case"date-time":case"time-date":void 0===t.date&&void 0===t.time&&(0,w.p)(`Datetime: The '${i}' presentation requires either a date or time object (or both) in formatOptions.`,e)}},K=class{constructor(e){var i=this;(0,o.r)(this,e),this.ionCancel=(0,o.d)(this,"ionCancel",7),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionValueChange=(0,o.d)(this,"ionValueChange",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.ionRender=(0,o.d)(this,"ionRender",7),this.inputId="ion-dt-"+ce++,this.prevPresentation=null,this.warnIfIncorrectValueUsage=()=>{const{multiple:t,value:n}=this;!t&&Array.isArray(n)&&(0,w.p)(`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: [${n.map(a=>`'${a}'`).join(", ")}]\n`,this.el)},this.setValue=t=>{this.value=t,this.ionChange.emit({value:t})},this.getActivePartsWithFallback=()=>{var t;const{defaultParts:n}=this;return null!==(t=this.getActivePart())&&void 0!==t?t:n},this.getActivePart=()=>{const{activeParts:t}=this;return Array.isArray(t)?t[0]:t},this.closeParentOverlay=()=>{const t=this.el.closest("ion-modal, ion-popover");t&&t.dismiss()},this.setWorkingParts=t=>{this.workingParts=Object.assign({},t)},this.setActiveParts=(t,n=!1)=>{if(this.readonly)return;const{multiple:a,minParts:s,maxParts:l,activeParts:d}=this,c=(0,r.v)(t,s,l);if(this.setWorkingParts(c),a){const h=Array.isArray(d)?d:[d];this.activeParts=n?h.filter(u=>!(0,r.c)(u,c)):[...h,c]}else this.activeParts=Object.assign({},c);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const t=this.calendarBodyRef;if(!t)return;const n=this.el.shadowRoot,a=t.querySelector(".calendar-month:nth-of-type(2)"),l=new MutationObserver(d=>{var c;null!==(c=d[0].oldValue)&&void 0!==c&&c.includes("ion-focused")||!t.classList.contains("ion-focused")||this.focusWorkingDay(a)});l.observe(t,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{l?.disconnect()},t.addEventListener("keydown",d=>{const c=n.activeElement;if(!c||!c.classList.contains("calendar-day"))return;const p=(0,r.f)(c);let h;switch(d.key){case"ArrowDown":d.preventDefault(),h=(0,r.p)(p);break;case"ArrowUp":d.preventDefault(),h=(0,r.o)(p);break;case"ArrowRight":d.preventDefault(),h=(0,r.n)(p);break;case"ArrowLeft":d.preventDefault(),h=(0,r.m)(p);break;case"Home":d.preventDefault(),h=(0,r.l)(p);break;case"End":d.preventDefault(),h=(0,r.k)(p);break;case"PageUp":d.preventDefault(),h=d.shiftKey?(0,r.j)(p):(0,r.d)(p);break;case"PageDown":d.preventDefault(),h=d.shiftKey?(0,r.h)(p):(0,r.e)(p);break;default:return}H(h,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),h)),requestAnimationFrame(()=>this.focusWorkingDay(a)))})},this.focusWorkingDay=t=>{const n=t.querySelectorAll(".calendar-day-padding"),{day:a}=this.workingParts;if(null===a)return;const s=t.querySelector(`.calendar-day-wrapper:nth-of-type(${n.length+a}) .calendar-day`);s&&s.focus()},this.processMinParts=()=>{const{min:t,defaultParts:n}=this;this.minParts=void 0!==t?(0,r.q)(t,n):void 0},this.processMaxParts=()=>{const{max:t,defaultParts:n}=this;this.maxParts=void 0!==t?(0,r.r)(t,n):void 0},this.initializeCalendarListener=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelectorAll(".calendar-month"),a=n[0],s=n[1],l=n[2],c="ios"===(0,T.b)(this)&&typeof navigator<"u"&&navigator.maxTouchPoints>1;(0,o.w)(()=>{t.scrollLeft=a.clientWidth*((0,W.i)(this.el)?-1:1);const p=f=>{const x=t.getBoundingClientRect(),b=t.scrollLeft<=2?a:l,k=b.getBoundingClientRect();if(Math.abs(k.x-x.x)>2)return;const{forceRenderDate:v}=this;return void 0!==v?{month:v.month,year:v.year,day:v.day}:b===a?(0,r.d)(f):b===l?(0,r.e)(f):void 0},h=()=>{c&&(t.style.removeProperty("pointer-events"),g=!1);const f=p(this.workingParts);if(!f)return;const{month:x,day:b,year:k}=f;z({month:x,year:k,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(t.style.setProperty("overflow","hidden"),(0,o.w)(()=>{this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:x,day:b,year:k})),t.scrollLeft=s.clientWidth*((0,W.i)(this.el)?-1:1),t.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling()}))};let u,g=!1;const m=()=>{u&&clearTimeout(u),!g&&c&&(t.style.setProperty("pointer-events","none"),g=!0),u=setTimeout(h,50)};t.addEventListener("scroll",m),this.destroyCalendarListener=()=>{t.removeEventListener("scroll",m)}})},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:t,destroyKeyboardMO:n}=this;void 0!==t&&t(),void 0!==n&&n()},this.processValue=t=>{const n=null!=t&&(!Array.isArray(t)||t.length>0),a=n?(0,r.s)(t):this.defaultParts,{minParts:s,maxParts:l,workingParts:d,el:c}=this;if(this.warnIfIncorrectValueUsage(),!a)return;n&&(0,r.w)(a,s,l);const p=Array.isArray(a)?a[0]:a,h=(0,r.P)(p,s,l),{month:u,day:g,year:m,hour:f,minute:x}=h,b=(0,r.Q)(f);this.activeParts=n?Array.isArray(a)?[...a]:{month:u,day:g,year:m,hour:f,minute:x,ampm:b}:[];const k=void 0!==u&&u!==d.month||void 0!==m&&m!==d.year,v=c.classList.contains("datetime-ready"),{isGridStyle:A,showMonthAndYear:D}=this;let M=!0;if(Array.isArray(a)){const j=a[0].month;for(const B of a)if(B.month!==j){M=!1;break}}M&&(A&&k&&v&&!D?this.animateToDate(h):this.setWorkingParts({month:u,day:g,year:m,hour:f,minute:x,ampm:b}))},this.animateToDate=function(){var t=(0,C.Z)(function*(n){const{workingParts:a}=i;i.forceRenderDate=n;const s=new Promise(d=>{i.resolveForceDateScrolling=d});(0,r.i)(n,a)?i.prevMonth():i.nextMonth(),yield s,i.resolveForceDateScrolling=void 0,i.forceRenderDate=void 0});return function(n){return t.apply(this,arguments)}}(),this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const t=this.calendarBodyRef;if(!t)return;const n=t.querySelector(".calendar-month:last-of-type");n&&t.scrollTo({top:0,left:2*n.offsetWidth*((0,W.i)(this.el)?-1:1),behavior:"smooth"})},this.prevMonth=()=>{const t=this.calendarBodyRef;!t||!t.querySelector(".calendar-month:first-of-type")||t.scrollTo({top:0,left:0,behavior:"smooth"})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear},this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm"},this.isTimePopoverOpen=!1,this.forceRenderDate=void 0,this.color="primary",this.name=this.inputId,this.disabled=!1,this.formatOptions=void 0,this.readonly=!1,this.isDateEnabled=void 0,this.min=void 0,this.max=void 0,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.yearValues=void 0,this.monthValues=void 0,this.dayValues=void 0,this.hourValues=void 0,this.minuteValues=void 0,this.locale="default",this.firstDayOfWeek=0,this.titleSelectedDatesFormatter=void 0,this.multiple=!1,this.highlightedDates=void 0,this.value=void 0,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.hourCycle=void 0,this.size="fixed",this.preferWheel=!1}formatOptionsChanged(){const{el:e,formatOptions:i,presentation:t}=this;R(e,t,i),$(e,i)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:e,formatOptions:i,presentation:t}=this;R(e,t,i)}get isGridStyle(){const{presentation:e,preferWheel:i}=this;return("date"===e||"date-time"===e||"time-date"===e)&&!i}yearValuesChanged(){this.parsedYearValues=(0,r.t)(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=(0,r.t)(this.monthValues)}dayValuesChanged(){this.parsedDayValues=(0,r.t)(this.dayValues)}hourValuesChanged(){this.parsedHourValues=(0,r.t)(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=(0,r.t)(this.minuteValues)}valueChanged(){var e=this;return(0,C.Z)(function*(){const{value:i}=e;e.hasValue()&&e.processValue(i),e.emitStyle(),e.ionValueChange.emit({value:i})})()}confirm(e=!1){var i=this;return(0,C.Z)(function*(){const{isCalendarPicker:t,activeParts:n,preferWheel:a,workingParts:s}=i;(void 0!==n||!t)&&(Array.isArray(n)&&0===n.length?i.setValue(a?(0,r.u)(s):void 0):i.setValue((0,r.u)(n))),e&&i.closeParentOverlay()})()}reset(e){var i=this;return(0,C.Z)(function*(){i.processValue(e)})()}cancel(e=!1){var i=this;return(0,C.Z)(function*(){i.ionCancel.emit(),e&&i.closeParentOverlay()})()}get isCalendarPicker(){const{presentation:e}=this;return"date"===e||"date-time"===e||"time-date"===e}connectedCallback(){this.clearFocusVisible=(0,te.startFocusVisible)(this.el).destroy}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0)}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const{el:e,intersectionTrackerRef:i}=this,n=new IntersectionObserver(d=>{d[0].isIntersecting&&(this.initializeListeners(),(0,o.w)(()=>{this.el.classList.add("datetime-ready")}))},{threshold:.01,root:e});(0,O.r)(()=>n?.observe(i));const s=new IntersectionObserver(d=>{d[0].isIntersecting||(this.destroyInteractionListeners(),this.showMonthAndYear=!1,(0,o.w)(()=>{this.el.classList.remove("datetime-ready")}))},{threshold:0,root:e});(0,O.r)(()=>s?.observe(i));const l=(0,O.g)(this.el);l.addEventListener("ionFocus",d=>d.stopPropagation()),l.addEventListener("ionBlur",d=>d.stopPropagation())}componentDidRender(){const{presentation:e,prevPresentation:i,calendarBodyRef:t,minParts:n,preferWheel:a,forceRenderDate:s}=this,l=!a&&["date-time","time-date","date"].includes(e);if(void 0!==n&&l&&t){const d=t.querySelector(".calendar-month:nth-of-type(1)");d&&void 0===s&&(t.scrollLeft=d.clientWidth*((0,W.i)(this.el)?-1:1))}null!==i?e!==i&&(this.prevPresentation=e,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,(0,O.r)(()=>{this.ionRender.emit()})):this.prevPresentation=e}componentWillLoad(){const{el:e,formatOptions:i,highlightedDates:t,multiple:n,presentation:a,preferWheel:s}=this;n&&("date"!==a&&(0,w.p)('Multiple date selection is only supported for presentation="date".',e),s&&(0,w.p)('Multiple date selection is not supported with preferWheel="true".',e)),void 0!==t&&("date"!==a&&"date-time"!==a&&"time-date"!==a&&(0,w.p)("The highlightedDates property is only supported with the date, date-time, and time-date presentations.",e),s&&(0,w.p)('The highlightedDates property is not supported with preferWheel="true".',e)),i&&(R(e,a,i),$(e,i));const l=this.parsedHourValues=(0,r.t)(this.hourValues),d=this.parsedMinuteValues=(0,r.t)(this.minuteValues),c=this.parsedMonthValues=(0,r.t)(this.monthValues),p=this.parsedYearValues=(0,r.t)(this.yearValues),h=this.parsedDayValues=(0,r.t)(this.dayValues),u=this.todayParts=(0,r.s)((0,r.x)());this.processMinParts(),this.processMaxParts(),this.defaultParts=(0,r.y)({refParts:u,monthValues:c,dayValues:h,yearValues:p,hourValues:l,minuteValues:d,minParts:this.minParts,maxParts:this.maxParts}),this.processValue(this.value),this.emitStyle()}emitStyle(){this.ionStyle.emit({interactive:!0,datetime:!0,"interactive-disabled":this.disabled})}renderFooter(){const{disabled:e,readonly:i,showDefaultButtons:t,showClearButton:n}=this,a=e||i;if(null===this.el.querySelector('[slot="buttons"]')&&!t&&!n)return;const l=()=>{this.reset(),this.setValue(void 0)};return(0,o.h)("div",{class:"datetime-footer"},(0,o.h)("div",{class:"datetime-buttons"},(0,o.h)("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},(0,o.h)("slot",{name:"buttons"},(0,o.h)("ion-buttons",null,t&&(0,o.h)("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:a},this.cancelText),(0,o.h)("div",{class:"datetime-action-buttons-container"},n&&(0,o.h)("ion-button",{id:"clear-button",color:this.color,onClick:()=>l(),disabled:a},this.clearText),t&&(0,o.h)("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:a},this.doneText)))))))}renderWheelPicker(e=this.presentation){const i="time-date"===e?[this.renderTimePickerColumns(e),this.renderDatePickerColumns(e)]:[this.renderDatePickerColumns(e),this.renderTimePickerColumns(e)];return(0,o.h)("ion-picker-internal",null,i)}renderDatePickerColumns(e){return"date-time"===e||"time-date"===e?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(e)}renderCombinedDatePickerColumn(){const{defaultParts:e,disabled:i,workingParts:t,locale:n,minParts:a,maxParts:s,todayParts:l,isDateEnabled:d}=this,c=this.getActivePartsWithFallback(),p=(0,r.z)(t),h=p[p.length-1];p[0].day=1,h.day=(0,r.A)(h.month,h.year);const u=void 0!==a&&(0,r.b)(a,p[0])?a:p[0],g=void 0!==s&&(0,r.i)(s,h)?s:h,m=(0,r.B)(n,l,u,g,this.parsedDayValues,this.parsedMonthValues);let f=m.items;const x=m.parts;return d&&(f=f.map((k,v)=>{const A=x[v];let D;try{D=!d((0,r.u)(A))}catch(M){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",M)}return Object.assign(Object.assign({},k),{disabled:D})})),(0,o.h)("ion-picker-column-internal",{class:"date-column",color:this.color,disabled:i,items:f,value:null!==t.day?`${t.year}-${t.month}-${t.day}`:`${e.year}-${e.month}-${e.day}`,onIonChange:k=>{this.destroyCalendarListener&&this.destroyCalendarListener();const{value:v}=k.detail,A=x.find(({month:D,day:M,year:j})=>v===`${j}-${D}-${M}`);this.setWorkingParts(Object.assign(Object.assign({},t),A)),this.setActiveParts(Object.assign(Object.assign({},c),A)),this.initializeCalendarListener(),k.stopPropagation()}})}renderIndividualDatePickerColumns(e){const{workingParts:i,isDateEnabled:t}=this,a="year"!==e&&"time"!==e?(0,r.C)(this.locale,i,this.minParts,this.maxParts,this.parsedMonthValues):[];let l="date"===e?(0,r.D)(this.locale,i,this.minParts,this.maxParts,this.parsedDayValues):[];t&&(l=l.map(u=>{const{value:g}=u,m="string"==typeof g?parseInt(g):g,f={month:i.month,day:m,year:i.year};let x;try{x=!t((0,r.u)(f))}catch(b){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",b)}return Object.assign(Object.assign({},u),{disabled:x})}));const c="month"!==e&&"time"!==e?(0,r.E)(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let h=[];return h=(0,r.F)(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(a),this.renderDayPickerColumn(l),this.renderYearPickerColumn(c)]:[this.renderDayPickerColumn(l),this.renderMonthPickerColumn(a),this.renderYearPickerColumn(c)],h}renderDayPickerColumn(e){var i;if(0===e.length)return[];const{disabled:t,workingParts:n}=this,a=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"day-column",color:this.color,disabled:t,items:e,value:null!==(i=null!==n.day?n.day:this.defaultParts.day)&&void 0!==i?i:void 0,onIonChange:s=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},n),{day:s.detail.value})),this.setActiveParts(Object.assign(Object.assign({},a),{day:s.detail.value})),this.initializeCalendarListener(),s.stopPropagation()}})}renderMonthPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"month-column",color:this.color,disabled:i,items:e,value:t.month,onIonChange:a=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{month:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{month:a.detail.value})),this.initializeCalendarListener(),a.stopPropagation()}})}renderYearPickerColumn(e){if(0===e.length)return[];const{disabled:i,workingParts:t}=this,n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{class:"year-column",color:this.color,disabled:i,items:e,value:t.year,onIonChange:a=>{this.destroyCalendarListener&&this.destroyCalendarListener(),this.setWorkingParts(Object.assign(Object.assign({},t),{year:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{year:a.detail.value})),this.initializeCalendarListener(),a.stopPropagation()}})}renderTimePickerColumns(e){if(["date","month","month-year","year"].includes(e))return[];const t=void 0!==this.getActivePart(),{hoursData:n,minutesData:a,dayPeriodData:s}=(0,r.G)(this.locale,this.workingParts,this.hourCycle,t?this.minParts:void 0,t?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(n),this.renderMinutePickerColumn(a),this.renderDayPeriodPickerColumn(s)]}renderHourPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.hour,items:e,numericInput:!0,onIonChange:a=>{this.setWorkingParts(Object.assign(Object.assign({},t),{hour:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{hour:a.detail.value})),a.stopPropagation()}})}renderMinutePickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback();return(0,o.h)("ion-picker-column-internal",{color:this.color,disabled:i,value:n.minute,items:e,numericInput:!0,onIonChange:a=>{this.setWorkingParts(Object.assign(Object.assign({},t),{minute:a.detail.value})),this.setActiveParts(Object.assign(Object.assign({},n),{minute:a.detail.value})),a.stopPropagation()}})}renderDayPeriodPickerColumn(e){const{disabled:i,workingParts:t}=this;if(0===e.length)return[];const n=this.getActivePartsWithFallback(),a=(0,r.H)(this.locale);return(0,o.h)("ion-picker-column-internal",{style:a?{order:"-1"}:{},color:this.color,disabled:i,value:n.ampm,items:e,onIonChange:s=>{const l=(0,r.R)(t,s.detail.value);this.setWorkingParts(Object.assign(Object.assign({},t),{ampm:s.detail.value,hour:l})),this.setActiveParts(Object.assign(Object.assign({},n),{ampm:s.detail.value,hour:l})),s.stopPropagation()}})}renderWheelView(e){const{locale:i}=this,n=(0,r.F)(i)?"month-first":"year-first";return(0,o.h)("div",{class:{[`wheel-order-${n}`]:!0}},this.renderWheelPicker(e))}renderCalendarHeader(e){const{disabled:i}=this,t="ios"===e?_.l:_.p,n="ios"===e?_.o:_.q,a=i||((e,i,t)=>{const n=Object.assign(Object.assign({},(0,r.d)(this.workingParts)),{day:null});return z(n,{minParts:i,maxParts:t})})(0,this.minParts,this.maxParts),s=i||((e,i)=>{const t=Object.assign(Object.assign({},(0,r.e)(this.workingParts)),{day:null});return z(t,{maxParts:i})})(0,this.maxParts),l=this.el.getAttribute("dir")||void 0;return(0,o.h)("div",{class:"calendar-header"},(0,o.h)("div",{class:"calendar-action-buttons"},(0,o.h)("div",{class:"calendar-month-year"},(0,o.h)("ion-item",{part:"month-year-button",ref:d=>this.monthYearToggleItemRef=d,button:!0,"aria-label":"Show year picker",detail:!1,lines:"none",disabled:i,onClick:()=>{var d;this.toggleMonthAndYearView();const{monthYearToggleItemRef:c}=this;if(c){const p=null===(d=c.shadowRoot)||void 0===d?void 0:d.querySelector(".item-native");p&&p.setAttribute("aria-label",this.showMonthAndYear?"Hide year picker":"Show year picker")}}},(0,o.h)("ion-label",null,(0,r.J)(this.locale,this.workingParts),(0,o.h)("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?t:n,lazy:!1,flipRtl:!0})))),(0,o.h)("div",{class:"calendar-next-prev"},(0,o.h)("ion-buttons",null,(0,o.h)("ion-button",{"aria-label":"Previous month",disabled:a,onClick:()=>this.prevMonth()},(0,o.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.c,lazy:!1,flipRtl:!0})),(0,o.h)("ion-button",{"aria-label":"Next month",disabled:s,onClick:()=>this.nextMonth()},(0,o.h)("ion-icon",{dir:l,"aria-hidden":"true",slot:"icon-only",icon:_.o,lazy:!1,flipRtl:!0}))))),(0,o.h)("div",{class:"calendar-days-of-week","aria-hidden":"true"},(0,r.I)(this.locale,e,this.firstDayOfWeek%7).map(d=>(0,o.h)("div",{class:"day-of-week"},d))))}renderMonth(e,i){const{disabled:t,readonly:n}=this,a=void 0===this.parsedYearValues||this.parsedYearValues.includes(i),s=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(e),l=!a||!s,d=t||n,c=t||z({month:e,year:i,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),p=this.workingParts.month===e&&this.workingParts.year===i,h=this.getActivePartsWithFallback();return(0,o.h)("div",{"aria-hidden":p?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!p&&c}},(0,o.h)("div",{class:"calendar-month-grid"},(0,r.K)(e,i,this.firstDayOfWeek%7).map((u,g)=>{const{day:m,dayOfWeek:f}=u,{el:x,highlightedDates:b,isDateEnabled:k,multiple:v}=this,A={month:e,day:m,year:i},D=null===m,{isActive:M,isToday:j,ariaLabel:B,ariaSelected:ye,disabled:xe,text:ke}=((e,i,t,n,a,s,l)=>{const c=void 0!==(Array.isArray(t)?t:[t]).find(u=>(0,r.c)(i,u)),p=(0,r.c)(i,n);return{disabled:H(i,a,s,l),isActive:c,isToday:p,ariaSelected:c?"true":null,ariaLabel:(0,r.g)(e,p,i),text:null!=i.day?(0,r.a)(e,i):null}})(this.locale,A,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),Q=(0,r.u)(A);let E=l||xe;if(!E&&void 0!==k)try{E=!k(Q)}catch(S){(0,w.a)("Exception thrown from provided `isDateEnabled` function. Please check your function and try again.",x,S)}const ve=E&&d,we=E||d;let V,ee;return void 0!==b&&!M&&null!==m&&(V=((e,i,t)=>{if(Array.isArray(e)){const n=i.split("T")[0],a=e.find(s=>s.date===n);if(a)return{textColor:a.textColor,backgroundColor:a.backgroundColor}}else try{return e(i)}catch(n){(0,w.a)("Exception thrown from provided `highlightedDates` callback. Please check your function and try again.",t,n)}})(b,Q,x)),D||(ee=`calendar-day${M?" active":""}${j?" today":""}${E?" disabled":""}`),(0,o.h)("div",{class:"calendar-day-wrapper"},(0,o.h)("button",{ref:S=>{S&&(S.style.setProperty("color",`${V?V.textColor:""}`,"important"),S.style.setProperty("background-color",`${V?V.backgroundColor:""}`,"important"))},tabindex:"-1","data-day":m,"data-month":e,"data-year":i,"data-index":g,"data-day-of-week":f,disabled:we,class:{"calendar-day-padding":D,"calendar-day":!0,"calendar-day-active":M,"calendar-day-constrained":ve,"calendar-day-today":j},part:ee,"aria-hidden":D?"true":null,"aria-selected":ye,"aria-label":B,onClick:()=>{D||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:e,day:m,year:i})),v?this.setActiveParts({month:e,day:m,year:i},M):this.setActiveParts(Object.assign(Object.assign({},h),{month:e,day:m,year:i})))}},ke))})))}renderCalendarBody(){return(0,o.h)("div",{class:"calendar-body ion-focusable",ref:e=>this.calendarBodyRef=e,tabindex:"0"},(0,r.z)(this.workingParts,this.forceRenderDate).map(({month:e,year:i})=>this.renderMonth(e,i)))}renderCalendar(e){return(0,o.h)("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(e),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return(0,o.h)("slot",{name:"time-label"},"Time")}renderTimeOverlay(){var e=this;const{disabled:i,hourCycle:t,isTimePopoverOpen:n,locale:a,formatOptions:s}=this,l=(0,r.L)(a,t),d=this.getActivePartsWithFallback();return[(0,o.h)("div",{class:"time-header"},this.renderTimeLabel()),(0,o.h)("button",{class:{"time-body":!0,"time-body-active":n},part:"time-button"+(n?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:i,onClick:(c=(0,C.Z)(function*(p){const{popoverRef:h}=e;h&&(e.isTimePopoverOpen=!0,h.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:p.target}})),yield h.onWillDismiss(),e.isTimePopoverOpen=!1)}),function(h){return c.apply(this,arguments)})},(0,r.M)(a,d,l,s?.time)),(0,o.h)("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:c=>{c.target.querySelectorAll("ion-picker-column-internal").forEach(h=>h.scrollActiveItemIntoView())},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:c=>this.popoverRef=c},this.renderWheelPicker("time"))];var c}getHeaderSelectedDateText(){var e;const{activeParts:i,formatOptions:t,multiple:n,titleSelectedDatesFormatter:a}=this,s=Array.isArray(i);let l;if(n&&s&&1!==i.length){if(l=`${i.length} days`,void 0!==a)try{l=a((0,r.u)(i))}catch(d){(0,w.a)("Exception in provided `titleSelectedDatesFormatter`: ",d)}}else l=(0,r.N)(this.locale,this.getActivePartsWithFallback(),null!==(e=t?.date)&&void 0!==e?e:{weekday:"short",month:"short",day:"numeric"});return l}renderHeader(e=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return(0,o.h)("div",{class:"datetime-header"},(0,o.h)("div",{class:"datetime-title"},(0,o.h)("slot",{name:"title"},"Select Date")),e&&(0,o.h)("div",{class:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:e}=this;return(0,o.h)("div",{class:"datetime-time"},"time"===e?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return(0,o.h)("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(e){const{presentation:i,preferWheel:t}=this;if(t&&("date"===i||"date-time"===i||"time-date"===i))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(i){case"date-time":return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderTime(),this.renderFooter()];case"time-date":return[this.renderHeader(),this.renderTime(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()];case"time":return[this.renderHeader(!1),this.renderTime(),this.renderFooter()];case"month":case"month-year":case"year":return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];default:return[this.renderHeader(),this.renderCalendar(e),this.renderCalendarViewMonthYearPicker(),this.renderFooter()]}}render(){const{name:e,value:i,disabled:t,el:n,color:a,readonly:s,showMonthAndYear:l,preferWheel:d,presentation:c,size:p,isGridStyle:h}=this,u=(0,T.b)(this),g="year"===c||"month"===c||"month-year"===c,m=l||g,f=l&&!g,b=("date"===c||"date-time"===c||"time-date"===c)&&d;return(0,O.d)(!0,n,e,(0,r.O)(i),t),(0,o.h)(o.H,{key:"8490192beb6c5c6064ed8f2a7be2d51846f84f36","aria-disabled":t?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},(0,L.c)(a,{[u]:!0,"datetime-readonly":s,"datetime-disabled":t,"show-month-and-year":m,"month-year-picker-open":f,[`datetime-presentation-${c}`]:!0,[`datetime-size-${p}`]:!0,"datetime-prefer-wheel":b,"datetime-grid":h}))},(0,o.h)("div",{key:"a2959c07ed871f9004a2f11ab1385a5a7b5737fd",class:"intersection-tracker",ref:k=>this.intersectionTrackerRef=k}),this.renderDatetime(u))}get el(){return(0,o.f)(this)}static get watchers(){return{formatOptions:["formatOptionsChanged"],disabled:["disabledChanged"],min:["minChanged"],max:["maxChanged"],presentation:["presentationChanged"],yearValues:["yearValuesChanged"],monthValues:["monthValuesChanged"],dayValues:["dayValuesChanged"],hourValues:["hourValuesChanged"],minuteValues:["minuteValuesChanged"],value:["valueChanged"]}}};let ce=0;K.style={ios:":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%}",md:":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}"};const U=e=>{const i=(0,I.c)(),t=(0,I.c)(),n=(0,I.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},Z=e=>{const i=(0,I.c)(),t=(0,I.c)(),n=(0,I.c)();return t.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),n.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),i.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([t,n])},N=class{constructor(e){(0,o.r)(this,e),this.didPresent=(0,o.d)(this,"ionPickerDidPresent",7),this.willPresent=(0,o.d)(this,"ionPickerWillPresent",7),this.willDismiss=(0,o.d)(this,"ionPickerWillDismiss",7),this.didDismiss=(0,o.d)(this,"ionPickerDidDismiss",7),this.didPresentShorthand=(0,o.d)(this,"didPresent",7),this.willPresentShorthand=(0,o.d)(this,"willPresent",7),this.willDismissShorthand=(0,o.d)(this,"willDismiss",7),this.didDismissShorthand=(0,o.d)(this,"didDismiss",7),this.delegateController=(0,P.d)(this),this.lockController=(0,ie.c)(),this.triggerController=(0,P.e)(),this.onBackdropTap=()=>{this.dismiss(void 0,P.B)},this.dispatchCancelHandler=i=>{if((0,P.i)(i.detail.role)){const n=this.buttons.find(a=>"cancel"===a.role);this.callButtonHandler(n)}},this.presented=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.columns=[],this.cssClass=void 0,this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(e,i){!0===e&&!1===i?this.present():!1===e&&!0===i&&this.dismiss()}triggerChanged(){const{trigger:e,el:i,triggerController:t}=this;e&&t.addClickListener(i,e)}connectedCallback(){(0,P.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,P.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,O.r)(()=>this.present()),this.triggerChanged()}present(){var e=this;return(0,C.Z)(function*(){const i=yield e.lockController.lock();yield e.delegateController.attachViewToDom(),yield(0,P.f)(e,"pickerEnter",U,U,void 0),e.duration>0&&(e.durationTimeout=setTimeout(()=>e.dismiss(),e.duration)),i()})()}dismiss(e,i){var t=this;return(0,C.Z)(function*(){const n=yield t.lockController.lock();t.durationTimeout&&clearTimeout(t.durationTimeout);const a=yield(0,P.g)(t,e,i,"pickerLeave",Z,Z);return a&&t.delegateController.removeViewFromDom(),n(),a})()}onDidDismiss(){return(0,P.h)(this.el,"ionPickerDidDismiss")}onWillDismiss(){return(0,P.h)(this.el,"ionPickerWillDismiss")}getColumn(e){return Promise.resolve(this.columns.find(i=>i.name===e))}buttonClick(e){var i=this;return(0,C.Z)(function*(){const t=e.role;return(0,P.i)(t)?i.dismiss(void 0,t):(yield i.callButtonHandler(e))?i.dismiss(i.getSelected(),e.role):Promise.resolve()})()}callButtonHandler(e){var i=this;return(0,C.Z)(function*(){return!(e&&!1===(yield(0,P.s)(e.handler,i.getSelected())))})()}getSelected(){const e={};return this.columns.forEach((i,t)=>{const n=void 0!==i.selectedIndex?i.options[i.selectedIndex]:void 0;e[i.name]={text:n?n.text:void 0,value:n?n.value:void 0,columnIndex:t}}),e}render(){const{htmlAttributes:e}=this,i=(0,T.b)(this);return(0,o.h)(o.H,Object.assign({key:"eb5f91ea74fb11daa6942f779ef461742cad9ecb","aria-modal":"true",tabindex:"-1"},e,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[i]:!0,[`picker-${i}`]:!0,"overlay-hidden":!0},(0,L.g)(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),(0,o.h)("ion-backdrop",{key:"7ea872d939e62f14129fff15334b2822ad2360c9",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,o.h)("div",{key:"2d77c225091eacab0207e28c96b966122afafef0",tabindex:"0"}),(0,o.h)("div",{key:"630d21e0c60ad97b71462cdc540858bb6ced0b8f",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},(0,o.h)("div",{key:"fa8553ec8d2ce8bf93e16e02334b6475cb51b5d4",class:"picker-toolbar"},this.buttons.map(t=>(0,o.h)("div",{class:me(t)},(0,o.h)("button",{type:"button",onClick:()=>this.buttonClick(t),class:ue(t)},t.text)))),(0,o.h)("div",{key:"177d1bcbd0ce38f16d9c936295a917fb981d02d7",class:"picker-columns"},(0,o.h)("div",{key:"be99b6e0279c210ef91a88ccc81acc7d37917a53",class:"picker-above-highlight"}),this.presented&&this.columns.map(t=>(0,o.h)("ion-picker-column",{col:t})),(0,o.h)("div",{key:"b36b21e8133b59e873e1d3447a1279f1b971c854",class:"picker-below-highlight"}))),(0,o.h)("div",{key:"17cea6dd24dbb0a08073ca4a84bfe027eb24833d",tabindex:"0"}))}get el(){return(0,o.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},me=e=>({[`picker-toolbar-${e.role}`]:void 0!==e.role,"picker-toolbar-button":!0}),ue=e=>Object.assign({"picker-button":!0,"ion-activatable":!0},(0,L.g)(e.cssClass));N.style={ios:".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}}}",md:".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}}}"};const G=class{constructor(e){(0,o.r)(this,e),this.ionPickerColChange=(0,o.d)(this,"ionPickerColChange",7),this.optHeight=0,this.rotateFactor=0,this.scaleFactor=1,this.velocity=0,this.y=0,this.noAnimate=!0,this.colDidChange=!1,this.col=void 0}colChanged(){this.colDidChange=!0}connectedCallback(){var e=this;return(0,C.Z)(function*(){let i=0,t=.81;"ios"===(0,T.b)(e)&&(i=-.46,t=1),e.rotateFactor=i,e.scaleFactor=t,e.gesture=(yield Promise.resolve().then(y.bind(y,5067))).createGesture({el:e.el,gestureName:"picker-swipe",gesturePriority:100,threshold:0,passive:!1,onStart:a=>e.onStart(a),onMove:a=>e.onMove(a),onEnd:a=>e.onEnd(a)}),e.gesture.enable(),e.tmrId=setTimeout(()=>{e.noAnimate=!1,e.refresh(!0)},250)})()}componentDidLoad(){this.onDomChange()}componentDidUpdate(){this.colDidChange&&(this.onDomChange(!0,!1),this.colDidChange=!1)}disconnectedCallback(){void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.tmrId&&clearTimeout(this.tmrId),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}emitColChange(){this.ionPickerColChange.emit(this.col)}setSelected(e,i){const t=e>-1?-e*this.optHeight:0;this.velocity=0,void 0!==this.rafId&&cancelAnimationFrame(this.rafId),this.update(t,i,!0),this.emitColChange()}update(e,i,t){if(!this.optsEl)return;let n=0,a=0;const{col:s,rotateFactor:l}=this,d=s.selectedIndex,c=s.selectedIndex=this.indexForY(-e),p=0===i?"":i+"ms",h=`scale(${this.scaleFactor})`,u=this.optsEl.children;for(let g=0;g0?Math.max(this.velocity,1):Math.min(this.velocity,-1);let e=this.y+this.velocity;e>this.minY?(e=this.minY,this.velocity=0):e1?this.rafId=requestAnimationFrame(()=>this.decelerate()):(this.velocity=0,this.emitColChange(),(0,F.h)())}else if(this.y%this.optHeight!=0){const e=Math.abs(this.y%this.optHeight);this.velocity=e>this.optHeight/2?1:-1,this.decelerate()}}indexForY(e){return Math.min(Math.max(Math.abs(Math.round(e/this.optHeight)),0),this.col.options.length-1)}onStart(e){e.event.cancelable&&e.event.preventDefault(),e.event.stopPropagation(),(0,F.a)(),void 0!==this.rafId&&cancelAnimationFrame(this.rafId);const i=this.col.options;let t=i.length-1,n=0;for(let a=0;athis.minY?(i=Math.pow(i,.8),this.bounceFrom=i):i0)return this.update(this.minY,100,!0),void this.emitColChange();if(this.bounceFrom<0)return this.update(this.maxY,100,!0),void this.emitColChange();if(this.velocity=(0,O.l)(-X,23*e.velocityY,X),0===this.velocity&&0===e.deltaY){const i=e.event.target.closest(".picker-opt");i?.hasAttribute("opt-index")&&this.setSelected(parseInt(i.getAttribute("opt-index"),10),J)}else{if(this.y+=e.deltaY,Math.abs(e.velocityY)<.05){const i=e.deltaY>0,t=Math.abs(this.y)%this.optHeight/this.optHeight;i&&t>.5?this.velocity=-1*Math.abs(this.velocity):!i&&t<=.5&&(this.velocity=Math.abs(this.velocity))}this.decelerate()}}refresh(e,i){var t;let n=this.col.options.length-1,a=0;const s=this.col.options;for(let d=0;dthis.optsEl=t},e.options.map((t,n)=>(0,o.h)("button",{"aria-label":t.ariaLabel,class:{"picker-opt":!0,"picker-opt-disabled":!!t.disabled},"opt-index":n},t.text))),e.suffix&&(0,o.h)("div",{key:"c2e5a324ba95dd8832d3eb81b139e1f674d74a35",class:"picker-suffix",style:{width:e.suffixWidth}},e.suffix))}get el(){return(0,o.f)(this)}static get watchers(){return{col:["colChanged"]}}},q="picker-opt-selected",be=.97,X=90,J=150;G.style={ios:".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}}",md:".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)}"}}}]); \ No newline at end of file diff --git a/5168.74b5105297f0daa0.js b/5168.af2b0f08220166b5.js similarity index 99% rename from 5168.74b5105297f0daa0.js rename to 5168.af2b0f08220166b5.js index ca23540d..b6d58cfa 100644 --- a/5168.74b5105297f0daa0.js +++ b/5168.af2b0f08220166b5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5168],{5168:(M,p,r)=>{r.r(p),r.d(p,{ion_toggle:()=>j});var m=r(5861),o=r(6541),u=r(5437),c=r(8635),b=r(8909),x=r(1765),d=r(6879),i=r(3814),l=r(4896),s=r(4700);r(6319),r(2972);const j=class{constructor(t){var a=this;(0,o.r)(this,t),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.inputId="ion-tg-"+B++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.hasLoggedDeprecationWarning=!1,this.setupGesture=(0,m.Z)(function*(){const{toggleTrack:e}=a;e&&(a.gesture=(yield Promise.resolve().then(r.bind(r,5067))).createGesture({el:e,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>a.onStart(),onMove:n=>a.onMove(n),onEnd:n=>a.onEnd(n)}),a.disabledChanged())}),this.onClick=e=>{this.disabled||(e.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(e,n)=>"md"===e?n?l.f:l.r:n?l.r:l.g,this.activated=!1,this.color=void 0,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=s.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}disabledChanged(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:t,value:a}=this,e=!t;this.checked=e,this.ionChange.emit({checked:e,value:a})}connectedCallback(){var t=this;return(0,m.Z)(function*(){t.legacyFormController=(0,u.c)(t.el),t.didLoad&&t.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,c.i)(this.el)))}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({"interactive-disabled":this.disabled,legacy:!!this.legacy})}onStart(){this.activated=!0,this.setFocus()}onMove(t){I((0,d.i)(this.el),this.checked,t.deltaX,-10)&&(this.toggleChecked(),(0,x.c)())}onEnd(t){this.activated=!1,this.lastDrag=Date.now(),t.event.preventDefault(),t.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(t,a){const e=this.getSwitchLabelIcon(t,a);return(0,o.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":a},icon:e,"aria-hidden":"true"})}renderToggleControl(){const t=(0,s.b)(this),{enableOnOffLabels:a,checked:e}=this;return(0,o.h)("div",{class:"toggle-icon",part:"track",ref:n=>this.toggleTrack=n},a&&"ios"===t&&[this.renderOnOffSwitchLabels(t,!0),this.renderOnOffSwitchLabels(t,!1)],(0,o.h)("div",{class:"toggle-icon-wrapper"},(0,o.h)("div",{class:"toggle-inner",part:"handle"},a&&"md"===t&&this.renderOnOffSwitchLabels(t,e))))}get hasLabel(){return""!==this.el.textContent}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()}renderToggle(){const{activated:t,color:a,checked:e,disabled:n,el:g,justify:h,labelPlacement:v,inputId:y,name:_,alignment:E}=this,C=(0,s.b)(this),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,_,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,class:(0,i.c)(a,{[C]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,[`toggle-justify-${h}`]:!0,[`toggle-alignment-${E}`]:!0,[`toggle-label-placement-${v}`]:!0,[`toggle-${D}`]:!0})},(0,o.h)("label",{class:"toggle-wrapper"},(0,o.h)("input",Object.assign({type:"checkbox",role:"switch","aria-checked":`${e}`,checked:e,disabled:n,id:y,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L},this.inheritedAttributes)),(0,o.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},(0,o.h)("slot",null)),(0,o.h)("div",{class:"native-wrapper"},this.renderToggleControl())))}renderLegacyToggle(){this.hasLoggedDeprecationWarning||((0,b.p)('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Email\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,b.p)('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{activated:t,color:a,checked:e,disabled:n,el:g,inputId:h,name:v}=this,y=(0,s.b)(this),{label:_,labelId:E,labelText:C}=(0,c.e)(g,h),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,v,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,"aria-labelledby":_?E:null,"aria-checked":`${e}`,"aria-hidden":n?"true":null,role:"switch",class:(0,i.c)(a,{[y]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,"legacy-toggle":!0,interactive:!0,[`toggle-${D}`]:!0})},this.renderToggleControl(),(0,o.h)("label",{htmlFor:h},C),(0,o.h)("input",{type:"checkbox",role:"switch","aria-checked":`${e}`,disabled:n,id:h,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L}))}get el(){return(0,o.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},I=(t,a,e,n)=>a?!t&&n>e||t&&-ne;let B=0;j.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}"}},3814:(M,p,r)=>{r.d(p,{c:()=>u,g:()=>b,h:()=>o,o:()=>d});var m=r(5861);const o=(i,l)=>null!==l.closest(i),u=(i,l)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},l):l,b=i=>{const l={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(i).forEach(s=>l[s]=!0),l},x=/^[a-z][a-z0-9+\-.]*:/,d=function(){var i=(0,m.Z)(function*(l,s,w,k){if(null!=l&&"#"!==l[0]&&!x.test(l)){const f=document.querySelector("ion-router");if(f)return s?.preventDefault(),f.push(l,w,k)}return!1});return function(s,w,k,f){return i.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5168],{5168:(M,p,r)=>{r.r(p),r.d(p,{ion_toggle:()=>j});var m=r(5861),o=r(2477),u=r(5437),c=r(8635),b=r(8909),x=r(1765),d=r(6879),i=r(3814),l=r(4896),s=r(7943);r(6319),r(2972);const j=class{constructor(t){var a=this;(0,o.r)(this,t),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.inputId="ion-tg-"+B++,this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.hasLoggedDeprecationWarning=!1,this.setupGesture=(0,m.Z)(function*(){const{toggleTrack:e}=a;e&&(a.gesture=(yield Promise.resolve().then(r.bind(r,5067))).createGesture({el:e,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>a.onStart(),onMove:n=>a.onMove(n),onEnd:n=>a.onEnd(n)}),a.disabledChanged())}),this.onClick=e=>{this.disabled||(e.preventDefault(),this.lastDrag+300{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(e,n)=>"md"===e?n?l.f:l.r:n?l.r:l.g,this.activated=!1,this.color=void 0,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=s.c.get("toggleOnOffLabels"),this.labelPlacement="start",this.legacy=void 0,this.justify="space-between",this.alignment="center"}disabledChanged(){this.emitStyle(),this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:t,value:a}=this,e=!t;this.checked=e,this.ionChange.emit({checked:e,value:a})}connectedCallback(){var t=this;return(0,m.Z)(function*(){t.legacyFormController=(0,u.c)(t.el),t.didLoad&&t.setupGesture()})()}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,c.i)(this.el)))}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({"interactive-disabled":this.disabled,legacy:!!this.legacy})}onStart(){this.activated=!0,this.setFocus()}onMove(t){I((0,d.i)(this.el),this.checked,t.deltaX,-10)&&(this.toggleChecked(),(0,x.c)())}onEnd(t){this.activated=!1,this.lastDrag=Date.now(),t.event.preventDefault(),t.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.focusEl&&this.focusEl.focus()}renderOnOffSwitchLabels(t,a){const e=this.getSwitchLabelIcon(t,a);return(0,o.h)("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":a},icon:e,"aria-hidden":"true"})}renderToggleControl(){const t=(0,s.b)(this),{enableOnOffLabels:a,checked:e}=this;return(0,o.h)("div",{class:"toggle-icon",part:"track",ref:n=>this.toggleTrack=n},a&&"ios"===t&&[this.renderOnOffSwitchLabels(t,!0),this.renderOnOffSwitchLabels(t,!1)],(0,o.h)("div",{class:"toggle-icon-wrapper"},(0,o.h)("div",{class:"toggle-inner",part:"handle"},a&&"md"===t&&this.renderOnOffSwitchLabels(t,e))))}get hasLabel(){return""!==this.el.textContent}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyToggle():this.renderToggle()}renderToggle(){const{activated:t,color:a,checked:e,disabled:n,el:g,justify:h,labelPlacement:v,inputId:y,name:_,alignment:E}=this,C=(0,s.b)(this),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,_,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,class:(0,i.c)(a,{[C]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,[`toggle-justify-${h}`]:!0,[`toggle-alignment-${E}`]:!0,[`toggle-label-placement-${v}`]:!0,[`toggle-${D}`]:!0})},(0,o.h)("label",{class:"toggle-wrapper"},(0,o.h)("input",Object.assign({type:"checkbox",role:"switch","aria-checked":`${e}`,checked:e,disabled:n,id:y,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L},this.inheritedAttributes)),(0,o.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},(0,o.h)("slot",null)),(0,o.h)("div",{class:"native-wrapper"},this.renderToggleControl())))}renderLegacyToggle(){this.hasLoggedDeprecationWarning||((0,b.p)('ion-toggle now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Email\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,b.p)('ion-toggle is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\n\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new toggle syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{activated:t,color:a,checked:e,disabled:n,el:g,inputId:h,name:v}=this,y=(0,s.b)(this),{label:_,labelId:E,labelText:C}=(0,c.e)(g,h),O=this.getValue(),D=(0,d.i)(g)?"rtl":"ltr";return(0,c.d)(!0,g,v,e?O:"",n),(0,o.h)(o.H,{onClick:this.onClick,"aria-labelledby":_?E:null,"aria-checked":`${e}`,"aria-hidden":n?"true":null,role:"switch",class:(0,i.c)(a,{[y]:!0,"in-item":(0,i.h)("ion-item",g),"toggle-activated":t,"toggle-checked":e,"toggle-disabled":n,"legacy-toggle":!0,interactive:!0,[`toggle-${D}`]:!0})},this.renderToggleControl(),(0,o.h)("label",{htmlFor:h},C),(0,o.h)("input",{type:"checkbox",role:"switch","aria-checked":`${e}`,disabled:n,id:h,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:L=>this.focusEl=L}))}get el(){return(0,o.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}},I=(t,a,e,n)=>a?!t&&n>e||t&&-ne;let B=0;j.style={ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #3880ff);--border-radius:16px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1);--handle-height:calc(32px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(32px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}:host(.legacy-toggle){width:51px;height:32px;contain:strict;overflow:hidden}.native-wrapper .toggle-icon{width:51px;height:32px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:6px;padding-bottom:5px}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:6px;padding-bottom:5px}",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;outline:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item:not(.legacy-toggle)){width:100%;height:100%}:host([slot=start]:not(.legacy-toggle)),:host([slot=end]:not(.legacy-toggle)){width:auto}:host(.legacy-toggle){contain:content;-ms-touch-action:none;touch-action:none}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}:host(.legacy-toggle) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;pointer-events:none}@supports (inset-inline-start: 0){:host(.legacy-toggle) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-toggle) label{left:0}:host-context([dir=rtl]):host(.legacy-toggle) label,:host-context([dir=rtl]).legacy-toggle label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-toggle:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-toggle) label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-toggle)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #3880ff);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.legacy-toggle){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;width:36px;height:14px;contain:strict}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}:host(.in-item.legacy-toggle){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:0;padding-inline-end:0;padding-top:12px;padding-bottom:12px;cursor:pointer}:host(.in-item.legacy-toggle[slot=start]){-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:18px;padding-inline-end:18px;padding-top:12px;padding-bottom:12px}"}},3814:(M,p,r)=>{r.d(p,{c:()=>u,g:()=>b,h:()=>o,o:()=>d});var m=r(5861);const o=(i,l)=>null!==l.closest(i),u=(i,l)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},l):l,b=i=>{const l={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(s=>null!=s).map(s=>s.trim()).filter(s=>""!==s):[])(i).forEach(s=>l[s]=!0),l},x=/^[a-z][a-z0-9+\-.]*:/,d=function(){var i=(0,m.Z)(function*(l,s,w,k){if(null!=l&&"#"!==l[0]&&!x.test(l)){const f=document.querySelector("ion-router");if(f)return s?.preventDefault(),f.push(l,w,k)}return!1});return function(s,w,k,f){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/53.33a7c44905acc703.js b/53.33a7c44905acc703.js new file mode 100644 index 00000000..d7f80844 --- /dev/null +++ b/53.33a7c44905acc703.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[53],{53:(X,S,a)=>{a.r(S),a.d(S,{ion_app:()=>B,ion_buttons:()=>D,ion_content:()=>L,ion_footer:()=>H,ion_header:()=>W,ion_router_outlet:()=>j,ion_title:()=>F,ion_toolbar:()=>U});var h=a(5861),r=a(2477),T=a(3006),I=a(8909),c=a(7943),m=a(8635),M=a(6879),p=a(3814),b=a(7003),g=a(2930),k=a(5069),w=a(5030),C=a(7389),K=a(9721);a(2972),a(3037),a(6319);const B=class{constructor(t){(0,r.r)(this,t)}componentDidLoad(){var t=this;N((0,h.Z)(function*(){const o=(0,c.a)(window,"hybrid");if(c.c.getBoolean("_testing")||a.e(6881).then(a.bind(a,6881)).then(i=>i.startTapClick(c.c)),c.c.getBoolean("statusTap",o)&&a.e(9590).then(a.bind(a,9590)).then(i=>i.startStatusTap()),c.c.getBoolean("inputShims",$())){const i=(0,c.a)(window,"ios")?"ios":"android";a.e(5733).then(a.bind(a,5733)).then(s=>s.startInputShims(c.c,i))}const e=yield Promise.resolve().then(a.bind(a,3006)),n=o||(0,T.shouldUseCloseWatcher)();c.c.getBoolean("hardwareBackButton",n)?e.startHardwareBackButton():((0,T.shouldUseCloseWatcher)()&&(0,I.p)("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),e.blockHardwareBackButton()),typeof window<"u"&&a.e(8592).then(a.bind(a,922)).then(i=>i.startKeyboardAssist(window)),a.e(8592).then(a.bind(a,6390)).then(i=>t.focusVisible=i.startFocusVisible())}))}setFocus(t){var o=this;return(0,h.Z)(function*(){o.focusVisible&&o.focusVisible.setFocus(t)})()}render(){const t=(0,c.b)(this);return(0,r.h)(r.H,{key:"6d7c57453b4be454690e8f1a0721f1e3da8f92aa",class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":c.c.getBoolean("_forceStatusbarPadding")}})}get el(){return(0,r.f)(this)}},$=()=>!!((0,c.a)(window,"ios")&&(0,c.a)(window,"mobile")||(0,c.a)(window,"android")&&(0,c.a)(window,"mobileweb")),N=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};B.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";const D=class{constructor(t){(0,r.r)(this,t),this.collapse=!1}render(){const t=(0,c.b)(this);return(0,r.h)(r.H,{key:"2929fd8c4469bab2953c23d47f601706acb104f1",class:{[t]:!0,"buttons-collapse":this.collapse}})}};D.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};const L=class{constructor(t){(0,r.r)(this,t),this.ionScrollStart=(0,r.d)(this,"ionScrollStart",7),this.ionScroll=(0,r.d)(this,"ionScroll",7),this.ionScrollEnd=(0,r.d)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,m.m)(this.el)){const t=this.tabsElement=this.el.closest("ion-tabs");null!==t&&(this.tabsLoadCallback=()=>this.resize(),t.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,m.m)(this.el)){const{tabsElement:t,tabsLoadCallback:o}=this;null!==t&&void 0!==o&&t.removeEventListener("ionTabBarLoaded",o),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:t}=this,o=(0,c.b)(this);return void 0===t?"ios"===o&&(0,c.a)("ios"):t}resize(){this.fullscreen?(0,r.e)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,r.i)(this))}readDimensions(){const t=q(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,(0,r.i)(this))}onScroll(t){const o=Date.now(),e=!this.isScrolling;this.lastScroll=o,e&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,r.e)(n=>{this.queued=!1,this.detail.event=t,tt(this.detail,this.scrollEl,n,e),this.ionScroll.emit(this.detail)}))}getScrollElement(){var t=this;return(0,h.Z)(function*(){return t.scrollEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.scrollEl)})()}getBackgroundElement(){var t=this;return(0,h.Z)(function*(){return t.backgroundContentEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.backgroundContentEl)})()}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}scrollToBottom(t=0){var o=this;return(0,h.Z)(function*(){const e=yield o.getScrollElement();return o.scrollToPoint(void 0,e.scrollHeight-e.clientHeight,t)})()}scrollByPoint(t,o,e){var n=this;return(0,h.Z)(function*(){const i=yield n.getScrollElement();return n.scrollToPoint(t+i.scrollLeft,o+i.scrollTop,e)})()}scrollToPoint(t,o,e=0){var n=this;return(0,h.Z)(function*(){const i=yield n.getScrollElement();if(e<32)return null!=o&&(i.scrollTop=o),void(null!=t&&(i.scrollLeft=t));let s,l=0;const d=new Promise(v=>s=v),f=i.scrollTop,u=i.scrollLeft,x=null!=o?o-f:0,y=null!=t?t-u:0,z=v=>{const ut=Math.min(1,(v-l)/e)-1,O=Math.pow(ut,3)+1;0!==x&&(i.scrollTop=Math.floor(O*x+f)),0!==y&&(i.scrollLeft=Math.floor(O*y+u)),O<1?requestAnimationFrame(z):s()};return requestAnimationFrame(v=>{l=v,z(v)}),d})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=u,id:"background-content",part:"background"}),(0,r.h)(f,{key:"4dd2f58421493f7a4ca42f8f5d7b85cda8e320ea",class:{"inner-scroll":!0,"scroll-x":o,"scroll-y":e,overscroll:(o||e)&&l},ref:u=>this.scrollEl=u,onScroll:this.scrollEvents?u=>this.onScroll(u):void 0,part:"scroll"},(0,r.h)("slot",{key:"37904f8f1d8319156cd901feb21930ef674fe0f7"})),d?(0,r.h)("div",{class:"transition-effect"},(0,r.h)("div",{class:"transition-cover"}),(0,r.h)("div",{class:"transition-shadow"})):null,(0,r.h)("slot",{key:"8f696583903af0548d064dca1a6bae060e127485",name:"fixed"}))}get el(){return(0,r.f)(this)}},q=t=>{const o=t.closest("ion-tabs");return o||(t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(t=>{var o;return t.parentElement?t.parentElement:null!==(o=t.parentNode)&&void 0!==o&&o.host?t.parentNode.host:null})(t))},tt=(t,o,e,n)=>{const i=t.currentX,s=t.currentY,d=o.scrollLeft,f=o.scrollTop,u=e-t.currentTime;if(n&&(t.startTime=e,t.startX=d,t.startY=f,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=d,t.currentY=t.scrollTop=f,t.deltaX=d-t.startX,t.deltaY=f-t.startY,u>0&&u<100){const y=(f-s)/u;t.velocityX=(d-i)/u*.7+.3*t.velocityX,t.velocityY=.7*y+.3*t.velocityY}};L.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';const _=(t,o)=>{(0,r.e)(()=>{const d=(0,m.l)(0,1-(t.scrollTop-(t.scrollHeight-t.clientHeight-10))/10,1);(0,r.w)(()=>{o.style.setProperty("--opacity-scale",d.toString())})})},H=class{constructor(t){var o=this;(0,r.r)(this,t),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,c.b)(this))return;const{collapse:n}=this,i="fade"===n;if(this.destroyCollapsibleFooter(),i){const s=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;if(!l)return void(0,b.p)(this.el);this.setupFadeFooter(l)}},this.setupFadeFooter=function(){var e=(0,h.Z)(function*(n){const i=o.scrollEl=yield(0,b.g)(n);o.contentScrollCallback=()=>{_(i,o.el)},i.addEventListener("scroll",o.contentScrollCallback),_(i,o.el)});return function(n){return e.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.keyboardCtrl=yield(0,g.c)(function(){var o=(0,h.Z)(function*(e,n){!1===e&&void 0!==n&&(yield n),t.keyboardVisible=e});return function(e,n){return o.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:t,collapse:o}=this,e=(0,c.b)(this),i=this.el.closest("ion-tabs")?.querySelector(":scope > ion-tab-bar");return(0,r.h)(r.H,{key:"dd8fa96901e8a09759a9621b6513f0492b3a6197",role:"contentinfo",class:{[e]:!0,[`footer-${e}`]:!0,"footer-translucent":t,[`footer-translucent-${e}`]:t,"footer-toolbar-padding":!(this.keyboardVisible||i&&"bottom"===i.slot),[`footer-collapse-${o}`]:void 0!==o}},"ios"===e&&t&&(0,r.h)("div",{key:"0fbb4ebf8e3951ff399f843dc11aab37fc48f8b7",class:"footer-background"}),(0,r.h)("slot",{key:"ecb14a65e3b6960670446c4428e3095b3231a3b0"}))}get el(){return(0,r.f)(this)}};H.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const A=t=>{const o=document.querySelector(`${t}.ion-cloned-element`);if(null!==o)return o;const e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},R=t=>{if(!t)return;const o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(e=>{const n=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}})}},P=(t,o)=>{"fade"!==t.collapse&&(void 0===o?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",o.toString()))},E=(t,o=!0)=>{const e=t.el;o?(e.classList.remove("header-collapse-condense-inactive"),e.removeAttribute("aria-hidden")):(e.classList.add("header-collapse-condense-inactive"),e.setAttribute("aria-hidden","true"))},Z=(t,o,e)=>{(0,r.e)(()=>{const n=t.scrollTop,i=o.clientHeight,s=e?e.clientHeight:0;if(null!==e&&n{t.style.removeProperty("clip-path"),o.style.setProperty("--opacity-scale",f.toString())})})},W=class{constructor(t){var o=this;(0,r.r)(this,t),this.inheritedAttributes={},this.setupFadeHeader=function(){var e=(0,h.Z)(function*(n,i){const s=o.scrollEl=yield(0,b.g)(n);o.contentScrollCallback=()=>{Z(o.scrollEl,o.el,i)},s.addEventListener("scroll",o.contentScrollCallback),Z(o.scrollEl,o.el,i)});return function(n,i){return e.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,m.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var t=this;return(0,h.Z)(function*(){if("ios"!==(0,c.b)(t))return;const{collapse:e}=t,n="condense"===e,i="fade"===e;if(t.destroyCollapsibleHeader(),n){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;(0,r.w)(()=>{A("ion-title").size="large",A("ion-back-button")}),yield t.setupCondenseHeader(l,s)}else if(i){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;if(!l)return void(0,b.p)(t.el);const d=l.querySelector('ion-header[collapse="condense"]');yield t.setupFadeHeader(l,d)}})()}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}setupCondenseHeader(t,o){var e=this;return(0,h.Z)(function*(){if(!t||!o)return void(0,b.p)(e.el);if(typeof IntersectionObserver>"u")return;e.scrollEl=yield(0,b.g)(t);const n=o.querySelectorAll("ion-header");if(e.collapsibleMainHeader=Array.from(n).find(d=>"condense"!==d.collapse),!e.collapsibleMainHeader)return;const i=R(e.collapsibleMainHeader),s=R(e.el);i&&s&&(E(i,!1),P(i.el,0),e.intersectionObserver=new IntersectionObserver(d=>{((t,o,e,n)=>{(0,r.w)(()=>{const i=n.scrollTop;((t,o,e)=>{if(!t[0].isIntersecting)return;const n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;P(o.el,1===n?void 0:n)})(t,o,i);const s=t[0],l=s.intersectionRect,d=l.width*l.height,u=0===d&&0==s.rootBounds.width*s.rootBounds.height,x=Math.abs(l.left-s.boundingClientRect.left),y=Math.abs(l.right-s.boundingClientRect.right);u||d>0&&(x>=5||y>=5)||(s.isIntersecting?(E(o,!1),E(e)):(0===l.x&&0===l.y||0!==l.width&&0!==l.height)&&i>0&&(E(o),E(e,!1),P(o.el)))})})(d,i,s,e.scrollEl)},{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),e.intersectionObserver.observe(s.toolbars[s.toolbars.length-1].el),e.contentScrollCallback=()=>{((t,o,e)=>{(0,r.e)(()=>{const i=(0,m.l)(1,1+-t.scrollTop/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&(0,r.w)(()=>{((t=[],o=1,e=!1)=>{t.forEach(n=>{const i=n.ionTitleEl,s=n.innerTitleEl;!i||"large"!==i.size||(s.style.transition=e?"all 0.2s ease-in-out":"",s.style.transform=`scale3d(${o}, ${o}, 1)`)})})(o.toolbars,i)})})})(e.scrollEl,s,t)},e.scrollEl.addEventListener("scroll",e.contentScrollCallback),(0,r.w)(()=>{void 0!==e.collapsibleMainHeader&&e.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:t,inheritedAttributes:o}=this,e=(0,c.b)(this),n=this.collapse||"none",i=(0,p.h)("ion-menu",this.el)?"none":"banner";return(0,r.h)(r.H,Object.assign({key:"9fa0af97b605f9fe98b13361bc3d1289745c549f",role:i,class:{[e]:!0,[`header-${e}`]:!0,"header-translucent":this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${e}`]:this.translucent}},o),"ios"===e&&t&&(0,r.h)("div",{key:"1a780d2625302f2465718e304bdd3794c89c9845",class:"header-background"}),(0,r.h)("slot",{key:"b2b8557b44be40c590bfcc362ac4350f9f8b889e"}))}get el(){return(0,r.f)(this)}};W.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const j=class{constructor(t){(0,r.r)(this,t),this.ionNavWillLoad=(0,r.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,r.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,r.d)(this,"ionNavDidChange",3),this.lockController=(0,C.c)(),this.gestureOrAnimationInProgress=!1,this.mode=(0,c.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.gesture=(yield a.e(8592).then(a.bind(a,8299))).createSwipeBackGesture(t.el,()=>!t.gestureOrAnimationInProgress&&!!t.swipeHandler&&t.swipeHandler.canStart(),()=>(t.gestureOrAnimationInProgress=!0,void(t.swipeHandler&&t.swipeHandler.onStart())),e=>{var n;return null===(n=t.ani)||void 0===n?void 0:n.progressStep(e)},(e,n,i)=>{if(t.ani){t.ani.onFinish(()=>{t.gestureOrAnimationInProgress=!1,t.swipeHandler&&t.swipeHandler.onEnd(e)},{oneTimeCallback:!0});let s=e?-.001:.001;e?s+=(0,k.g)([0,0],[.32,.72],[0,1],[1,1],n)[0]:(t.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),s+=(0,k.g)([0,0],[1,0],[.68,.28],[1,1],n)[0]),t.ani.progressEnd(e?1:0,s,i)}else t.gestureOrAnimationInProgress=!1}),t.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(t,o,e){var n=this;return(0,h.Z)(function*(){const i=yield n.lockController.lock();let s=!1;try{s=yield n.transition(t,o,e)}catch(l){console.error(l)}return i(),s})()}setRouteId(t,o,e,n){var i=this;return(0,h.Z)(function*(){return{changed:yield i.setRoot(t,o,{duration:"root"===e?0:void 0,direction:"back"===e?"back":"forward",animationBuilder:n}),element:i.activeEl}})()}getRouteId(){var t=this;return(0,h.Z)(function*(){const o=t.activeEl;return o?{id:o.tagName,element:o,params:t.activeParams}:void 0})()}setRoot(t,o,e){var n=this;return(0,h.Z)(function*(){if(n.activeComponent===t&&(0,m.s)(o,n.activeParams))return!1;const i=n.activeEl,s=yield(0,w.a)(n.delegate,n.el,t,["ion-page","ion-page-invisible"],o);return n.activeComponent=t,n.activeEl=s,n.activeParams=o,yield n.commit(s,i,e),yield(0,w.d)(n.delegate,i),!0})()}transition(t,o,e={}){var n=this;return(0,h.Z)(function*(){if(o===t)return!1;n.ionNavWillChange.emit();const{el:i,mode:s}=n,l=n.animated&&c.c.getBoolean("animated",!0),d=e.animationBuilder||n.animation||c.c.get("navAnimation");return yield(0,K.t)(Object.assign(Object.assign({mode:s,animated:l,enteringEl:t,leavingEl:o,baseEl:i,deepWait:(0,m.m)(i),progressCallback:e.progressAnimation?f=>{void 0===f||n.gestureOrAnimationInProgress?n.ani=f:(n.gestureOrAnimationInProgress=!0,f.onFinish(()=>{n.gestureOrAnimationInProgress=!1,n.swipeHandler&&n.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),f.progressEnd(0,0,0))}:void 0},e),{animationBuilder:d})),n.ionNavDidChange.emit(),!0})()}render(){return(0,r.h)("slot",{key:"0949db1bcfde67b462abe9cae72c7a7fd70ea678"})}get el(){return(0,r.f)(this)}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}};j.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const F=class{constructor(t){(0,r.r)(this,t),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const t=this.getSize();this.ionStyle.emit({[`title-${t}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const t=(0,c.b)(this),o=this.getSize();return(0,r.h)(r.H,{key:"6f43362b782ef7d340c241bb66f1469663c03cc1",class:(0,p.c)(this.color,{[t]:!0,[`title-${o}`]:!0,"title-rtl":"rtl"===document.dir})},(0,r.h)("div",{key:"9c3ff1a289e533ee3426b71ab5560fbea3529502",class:"toolbar-title"},(0,r.h)("slot",{key:"50d5cc5a1519ad58f1994d2f8c8f08f62baac1fe"})))}get el(){return(0,r.f)(this)}static get watchers(){return{size:["sizeChanged"]}}};F.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}"};const U=class{constructor(t){(0,r.r)(this,t),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(i=>"start"===i.slot);o&&o.classList.add("buttons-first-slot");const e=t.reverse(),n=e.find(i=>"end"===i.slot)||e.find(i=>"primary"===i.slot)||e.find(i=>"secondary"===i.slot);n&&n.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const o=t.target.tagName,e=t.detail,n={},i=this.childrenStyles.get(o)||{};let s=!1;Object.keys(e).forEach(l=>{const d=`toolbar-${l}`,f=e[l];f!==i[d]&&(s=!0),f&&(n[d]=!0)}),s&&(this.childrenStyles.set(o,n),(0,r.i)(this))}render(){const t=(0,c.b)(this),o={};return this.childrenStyles.forEach(e=>{Object.assign(o,e)}),(0,r.h)(r.H,{key:"8907ed75fbb2b1dced55c481bba6363f1dca815b",class:Object.assign(Object.assign({},o),(0,p.c)(this.color,{[t]:!0,"in-toolbar":(0,p.h)("ion-toolbar",this.el)}))},(0,r.h)("div",{key:"6bfa09b08d6517f0d680f53b739854cecd631bc9",class:"toolbar-background"}),(0,r.h)("div",{key:"1531bd6dd9e0a5843309bba854b744c453037ad0",class:"toolbar-container"},(0,r.h)("slot",{key:"881b41697d386eae651b019128573f0fa432cd33",name:"start"}),(0,r.h)("slot",{key:"64a284e6eae5311ac3125dfadb4bb32bdba9d089",name:"secondary"}),(0,r.h)("div",{key:"c1f47503563b38084b27d7ba54f17ec478482b94",class:"toolbar-content"},(0,r.h)("slot",{key:"9a85acfba72252705619ae32acae9c14f81aa57d"})),(0,r.h)("slot",{key:"89e08bd761dc6940dbebc5d06f5f080af204aa72",name:"primary"}),(0,r.h)("slot",{key:"a1cb7d95627f8a3d24dd4b9c11718fc164f53674",name:"end"})))}get el(){return(0,r.f)(this)}};U.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}},3814:(X,S,a)=>{a.d(S,{c:()=>T,g:()=>c,h:()=>r,o:()=>M});var h=a(5861);const r=(p,b)=>null!==b.closest(p),T=(p,b)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},b):b,c=p=>{const b={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(p).forEach(g=>b[g]=!0),b},m=/^[a-z][a-z0-9+\-.]*:/,M=function(){var p=(0,h.Z)(function*(b,g,k,w){if(null!=b&&"#"!==b[0]&&!m.test(b)){const C=document.querySelector("ion-router");if(C)return g?.preventDefault(),C.push(b,k,w)}return!1});return function(g,k,w,C){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/53.89e93d4e85a41b7a.js b/53.89e93d4e85a41b7a.js deleted file mode 100644 index 84b9fbf2..00000000 --- a/53.89e93d4e85a41b7a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[53],{53:(X,S,a)=>{a.r(S),a.d(S,{ion_app:()=>B,ion_buttons:()=>D,ion_content:()=>L,ion_footer:()=>H,ion_header:()=>W,ion_router_outlet:()=>j,ion_title:()=>F,ion_toolbar:()=>U});var h=a(5861),r=a(6541),T=a(9019),I=a(8909),c=a(4700),m=a(8635),M=a(6879),p=a(3814),b=a(7003),g=a(2930),k=a(5069),w=a(5030),C=a(7389),K=a(2005);a(2972),a(3037),a(6319);const B=class{constructor(t){(0,r.r)(this,t)}componentDidLoad(){var t=this;N((0,h.Z)(function*(){const o=(0,c.a)(window,"hybrid");if(c.c.getBoolean("_testing")||a.e(6881).then(a.bind(a,6881)).then(i=>i.startTapClick(c.c)),c.c.getBoolean("statusTap",o)&&a.e(4899).then(a.bind(a,4899)).then(i=>i.startStatusTap()),c.c.getBoolean("inputShims",$())){const i=(0,c.a)(window,"ios")?"ios":"android";a.e(7011).then(a.bind(a,7011)).then(s=>s.startInputShims(c.c,i))}const e=yield Promise.resolve().then(a.bind(a,9019)),n=o||(0,T.shouldUseCloseWatcher)();c.c.getBoolean("hardwareBackButton",n)?e.startHardwareBackButton():((0,T.shouldUseCloseWatcher)()&&(0,I.p)("experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."),e.blockHardwareBackButton()),typeof window<"u"&&a.e(8592).then(a.bind(a,922)).then(i=>i.startKeyboardAssist(window)),a.e(8592).then(a.bind(a,6390)).then(i=>t.focusVisible=i.startFocusVisible())}))}setFocus(t){var o=this;return(0,h.Z)(function*(){o.focusVisible&&o.focusVisible.setFocus(t)})()}render(){const t=(0,c.b)(this);return(0,r.h)(r.H,{key:"0ac01df6d90d8185017e1f8e8f02cdf407e6c94b",class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":c.c.getBoolean("_forceStatusbarPadding")}})}get el(){return(0,r.f)(this)}},$=()=>!!((0,c.a)(window,"ios")&&(0,c.a)(window,"mobile")||(0,c.a)(window,"android")&&(0,c.a)(window,"mobileweb")),N=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};B.style="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";const D=class{constructor(t){(0,r.r)(this,t),this.collapse=!1}render(){const t=(0,c.b)(this);return(0,r.h)(r.H,{key:"52c0c5535f5688a481746fe8fd92b6c02941526f",class:{[t]:!0,"buttons-collapse":this.collapse}})}};D.style={ios:".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.65em;line-height:0.67}",md:".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}"};const L=class{constructor(t){(0,r.r)(this,t),this.ionScrollStart=(0,r.d)(this,"ionScrollStart",7),this.ionScroll=(0,r.d)(this,"ionScroll",7),this.ionScrollEnd=(0,r.d)(this,"ionScrollEnd",7),this.watchDog=null,this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.resizeTimeout=null,this.tabsElement=null,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.color=void 0,this.fullscreen=!1,this.forceOverscroll=void 0,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),(0,m.m)(this.el)){const t=this.tabsElement=this.el.closest("ion-tabs");null!==t&&(this.tabsLoadCallback=()=>this.resize(),t.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),(0,m.m)(this.el)){const{tabsElement:t,tabsLoadCallback:o}=this;null!==t&&void 0!==o&&t.removeEventListener("ionTabBarLoaded",o),this.tabsElement=null,this.tabsLoadCallback=void 0}}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:t}=this,o=(0,c.b)(this);return void 0===t?"ios"===o&&(0,c.a)("ios"):t}resize(){this.fullscreen?(0,r.e)(()=>this.readDimensions()):(0!==this.cTop||0!==this.cBottom)&&(this.cTop=this.cBottom=0,(0,r.i)(this))}readDimensions(){const t=q(this.el),o=Math.max(this.el.offsetTop,0),e=Math.max(t.offsetHeight-o-this.el.offsetHeight,0);(o!==this.cTop||e!==this.cBottom)&&(this.cTop=o,this.cBottom=e,(0,r.i)(this))}onScroll(t){const o=Date.now(),e=!this.isScrolling;this.lastScroll=o,e&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,r.e)(n=>{this.queued=!1,this.detail.event=t,tt(this.detail,this.scrollEl,n,e),this.ionScroll.emit(this.detail)}))}getScrollElement(){var t=this;return(0,h.Z)(function*(){return t.scrollEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.scrollEl)})()}getBackgroundElement(){var t=this;return(0,h.Z)(function*(){return t.backgroundContentEl||(yield new Promise(o=>(0,m.c)(t.el,o))),Promise.resolve(t.backgroundContentEl)})()}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}scrollToBottom(t=0){var o=this;return(0,h.Z)(function*(){const e=yield o.getScrollElement();return o.scrollToPoint(void 0,e.scrollHeight-e.clientHeight,t)})()}scrollByPoint(t,o,e){var n=this;return(0,h.Z)(function*(){const i=yield n.getScrollElement();return n.scrollToPoint(t+i.scrollLeft,o+i.scrollTop,e)})()}scrollToPoint(t,o,e=0){var n=this;return(0,h.Z)(function*(){const i=yield n.getScrollElement();if(e<32)return null!=o&&(i.scrollTop=o),void(null!=t&&(i.scrollLeft=t));let s,l=0;const d=new Promise(v=>s=v),f=i.scrollTop,u=i.scrollLeft,x=null!=o?o-f:0,y=null!=t?t-u:0,z=v=>{const ut=Math.min(1,(v-l)/e)-1,O=Math.pow(ut,3)+1;0!==x&&(i.scrollTop=Math.floor(O*x+f)),0!==y&&(i.scrollLeft=Math.floor(O*y+u)),O<1?requestAnimationFrame(z):s()};return requestAnimationFrame(v=>{l=v,z(v)}),d})()}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScrollthis.backgroundContentEl=u,id:"background-content",part:"background"}),(0,r.h)(f,{key:"567a4bc2bcb13adfd987b088f95ac4b20b789f2c",class:{"inner-scroll":!0,"scroll-x":o,"scroll-y":e,overscroll:(o||e)&&l},ref:u=>this.scrollEl=u,onScroll:this.scrollEvents?u=>this.onScroll(u):void 0,part:"scroll"},(0,r.h)("slot",{key:"13909f87dd9f49bf1664ad95038499da376b9480"})),d?(0,r.h)("div",{class:"transition-effect"},(0,r.h)("div",{class:"transition-cover"}),(0,r.h)("div",{class:"transition-shadow"})):null,(0,r.h)("slot",{key:"05b56c139e203cfd1e3dd08054e99328e97e9243",name:"fixed"}))}get el(){return(0,r.f)(this)}},q=t=>{const o=t.closest("ion-tabs");return o||(t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||(t=>{var o;return t.parentElement?t.parentElement:null!==(o=t.parentNode)&&void 0!==o&&o.host?t.parentNode.host:null})(t))},tt=(t,o,e,n)=>{const i=t.currentX,s=t.currentY,d=o.scrollLeft,f=o.scrollTop,u=e-t.currentTime;if(n&&(t.startTime=e,t.startX=d,t.startY=f,t.velocityX=t.velocityY=0),t.currentTime=e,t.currentX=t.scrollLeft=d,t.currentY=t.scrollTop=f,t.deltaX=d-t.startX,t.deltaY=f-t.startY,u>0&&u<100){const y=(f-s)/u;t.velocityX=(d-i)/u*.7+.3*t.velocityX,t.velocityY=.7*y+.3*t.velocityY}};L.style=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';const _=(t,o)=>{(0,r.e)(()=>{const d=(0,m.l)(0,1-(t.scrollTop-(t.scrollHeight-t.clientHeight-10))/10,1);(0,r.w)(()=>{o.style.setProperty("--opacity-scale",d.toString())})})},H=class{constructor(t){var o=this;(0,r.r)(this,t),this.keyboardCtrl=null,this.checkCollapsibleFooter=()=>{if("ios"!==(0,c.b)(this))return;const{collapse:n}=this,i="fade"===n;if(this.destroyCollapsibleFooter(),i){const s=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;if(!l)return void(0,b.p)(this.el);this.setupFadeFooter(l)}},this.setupFadeFooter=function(){var e=(0,h.Z)(function*(n){const i=o.scrollEl=yield(0,b.g)(n);o.contentScrollCallback=()=>{_(i,o.el)},i.addEventListener("scroll",o.contentScrollCallback),_(i,o.el)});return function(n){return e.apply(this,arguments)}}(),this.keyboardVisible=!1,this.collapse=void 0,this.translucent=!1}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.keyboardCtrl=yield(0,g.c)(function(){var o=(0,h.Z)(function*(e,n){!1===e&&void 0!==n&&(yield n),t.keyboardVisible=e});return function(e,n){return o.apply(this,arguments)}}())})()}disconnectedCallback(){this.keyboardCtrl&&this.keyboardCtrl.destroy()}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:t,collapse:o}=this,e=(0,c.b)(this),i=this.el.closest("ion-tabs")?.querySelector(":scope > ion-tab-bar");return(0,r.h)(r.H,{key:"6f2827ba2e64d1a889c0631bc2a6d5df97b338ce",role:"contentinfo",class:{[e]:!0,[`footer-${e}`]:!0,"footer-translucent":t,[`footer-translucent-${e}`]:t,"footer-toolbar-padding":!(this.keyboardVisible||i&&"bottom"===i.slot),[`footer-collapse-${o}`]:void 0!==o}},"ios"===e&&t&&(0,r.h)("div",{class:"footer-background"}),(0,r.h)("slot",{key:"b07574feb587a1089b001e7d158fd8d05e32304b"}))}get el(){return(0,r.f)(this)}};H.style={ios:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}",md:"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const A=t=>{const o=document.querySelector(`${t}.ion-cloned-element`);if(null!==o)return o;const e=document.createElement(t);return e.classList.add("ion-cloned-element"),e.style.setProperty("display","none"),document.body.appendChild(e),e},R=t=>{if(!t)return;const o=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(o).map(e=>{const n=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:n,innerTitleEl:n?n.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}})}},P=(t,o)=>{"fade"!==t.collapse&&(void 0===o?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",o.toString()))},E=(t,o=!0)=>{const e=t.el;o?(e.classList.remove("header-collapse-condense-inactive"),e.removeAttribute("aria-hidden")):(e.classList.add("header-collapse-condense-inactive"),e.setAttribute("aria-hidden","true"))},Z=(t,o,e)=>{(0,r.e)(()=>{const n=t.scrollTop,i=o.clientHeight,s=e?e.clientHeight:0;if(null!==e&&n{t.style.removeProperty("clip-path"),o.style.setProperty("--opacity-scale",f.toString())})})},W=class{constructor(t){var o=this;(0,r.r)(this,t),this.inheritedAttributes={},this.setupFadeHeader=function(){var e=(0,h.Z)(function*(n,i){const s=o.scrollEl=yield(0,b.g)(n);o.contentScrollCallback=()=>{Z(o.scrollEl,o.el,i)},s.addEventListener("scroll",o.contentScrollCallback),Z(o.scrollEl,o.el,i)});return function(n,i){return e.apply(this,arguments)}}(),this.collapse=void 0,this.translucent=!1}componentWillLoad(){this.inheritedAttributes=(0,m.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}checkCollapsibleHeader(){var t=this;return(0,h.Z)(function*(){if("ios"!==(0,c.b)(t))return;const{collapse:e}=t,n="condense"===e,i="fade"===e;if(t.destroyCollapsibleHeader(),n){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;(0,r.w)(()=>{A("ion-title").size="large",A("ion-back-button")}),yield t.setupCondenseHeader(l,s)}else if(i){const s=t.el.closest("ion-app,ion-page,.ion-page,page-inner"),l=s?(0,b.a)(s):null;if(!l)return void(0,b.p)(t.el);const d=l.querySelector('ion-header[collapse="condense"]');yield t.setupFadeHeader(l,d)}})()}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}setupCondenseHeader(t,o){var e=this;return(0,h.Z)(function*(){if(!t||!o)return void(0,b.p)(e.el);if(typeof IntersectionObserver>"u")return;e.scrollEl=yield(0,b.g)(t);const n=o.querySelectorAll("ion-header");if(e.collapsibleMainHeader=Array.from(n).find(d=>"condense"!==d.collapse),!e.collapsibleMainHeader)return;const i=R(e.collapsibleMainHeader),s=R(e.el);i&&s&&(E(i,!1),P(i.el,0),e.intersectionObserver=new IntersectionObserver(d=>{((t,o,e,n)=>{(0,r.w)(()=>{const i=n.scrollTop;((t,o,e)=>{if(!t[0].isIntersecting)return;const n=t[0].intersectionRatio>.9||e<=0?0:100*(1-t[0].intersectionRatio)/75;P(o.el,1===n?void 0:n)})(t,o,i);const s=t[0],l=s.intersectionRect,d=l.width*l.height,u=0===d&&0==s.rootBounds.width*s.rootBounds.height,x=Math.abs(l.left-s.boundingClientRect.left),y=Math.abs(l.right-s.boundingClientRect.right);u||d>0&&(x>=5||y>=5)||(s.isIntersecting?(E(o,!1),E(e)):(0===l.x&&0===l.y||0!==l.width&&0!==l.height)&&i>0&&(E(o),E(e,!1),P(o.el)))})})(d,i,s,e.scrollEl)},{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),e.intersectionObserver.observe(s.toolbars[s.toolbars.length-1].el),e.contentScrollCallback=()=>{((t,o,e)=>{(0,r.e)(()=>{const i=(0,m.l)(1,1+-t.scrollTop/500,1.1);null===e.querySelector("ion-refresher.refresher-native")&&(0,r.w)(()=>{((t=[],o=1,e=!1)=>{t.forEach(n=>{const i=n.ionTitleEl,s=n.innerTitleEl;!i||"large"!==i.size||(s.style.transition=e?"all 0.2s ease-in-out":"",s.style.transform=`scale3d(${o}, ${o}, 1)`)})})(o.toolbars,i)})})})(e.scrollEl,s,t)},e.scrollEl.addEventListener("scroll",e.contentScrollCallback),(0,r.w)(()=>{void 0!==e.collapsibleMainHeader&&e.collapsibleMainHeader.classList.add("header-collapse-main")}))})()}render(){const{translucent:t,inheritedAttributes:o}=this,e=(0,c.b)(this),n=this.collapse||"none",i=(0,p.h)("ion-menu",this.el)?"none":"banner";return(0,r.h)(r.H,Object.assign({key:"be4386a218c20dc4c18320dbbcfb25574d13d27e",role:i,class:{[e]:!0,[`header-${e}`]:!0,"header-translucent":this.translucent,[`header-collapse-${n}`]:!0,[`header-translucent-${e}`]:this.translucent}},o),"ios"===e&&t&&(0,r.h)("div",{class:"header-background"}),(0,r.h)("slot",{key:"74c401fb331aeb40c733605fd580949ad53989b8"}))}get el(){return(0,r.f)(this)}};W.style={ios:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}",md:"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"};const j=class{constructor(t){(0,r.r)(this,t),this.ionNavWillLoad=(0,r.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,r.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,r.d)(this,"ionNavDidChange",3),this.lockController=(0,C.c)(),this.gestureOrAnimationInProgress=!1,this.mode=(0,c.b)(this),this.delegate=void 0,this.animated=!0,this.animation=void 0,this.swipeHandler=void 0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}connectedCallback(){var t=this;return(0,h.Z)(function*(){t.gesture=(yield a.e(8592).then(a.bind(a,8299))).createSwipeBackGesture(t.el,()=>!t.gestureOrAnimationInProgress&&!!t.swipeHandler&&t.swipeHandler.canStart(),()=>(t.gestureOrAnimationInProgress=!0,void(t.swipeHandler&&t.swipeHandler.onStart())),e=>{var n;return null===(n=t.ani)||void 0===n?void 0:n.progressStep(e)},(e,n,i)=>{if(t.ani){t.ani.onFinish(()=>{t.gestureOrAnimationInProgress=!1,t.swipeHandler&&t.swipeHandler.onEnd(e)},{oneTimeCallback:!0});let s=e?-.001:.001;e?s+=(0,k.g)([0,0],[.32,.72],[0,1],[1,1],n)[0]:(t.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),s+=(0,k.g)([0,0],[1,0],[.68,.28],[1,1],n)[0]),t.ani.progressEnd(e?1:0,s,i)}else t.gestureOrAnimationInProgress=!1}),t.swipeHandlerChanged()})()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}commit(t,o,e){var n=this;return(0,h.Z)(function*(){const i=yield n.lockController.lock();let s=!1;try{s=yield n.transition(t,o,e)}catch(l){console.error(l)}return i(),s})()}setRouteId(t,o,e,n){var i=this;return(0,h.Z)(function*(){return{changed:yield i.setRoot(t,o,{duration:"root"===e?0:void 0,direction:"back"===e?"back":"forward",animationBuilder:n}),element:i.activeEl}})()}getRouteId(){var t=this;return(0,h.Z)(function*(){const o=t.activeEl;return o?{id:o.tagName,element:o,params:t.activeParams}:void 0})()}setRoot(t,o,e){var n=this;return(0,h.Z)(function*(){if(n.activeComponent===t&&(0,m.s)(o,n.activeParams))return!1;const i=n.activeEl,s=yield(0,w.a)(n.delegate,n.el,t,["ion-page","ion-page-invisible"],o);return n.activeComponent=t,n.activeEl=s,n.activeParams=o,yield n.commit(s,i,e),yield(0,w.d)(n.delegate,i),!0})()}transition(t,o,e={}){var n=this;return(0,h.Z)(function*(){if(o===t)return!1;n.ionNavWillChange.emit();const{el:i,mode:s}=n,l=n.animated&&c.c.getBoolean("animated",!0),d=e.animationBuilder||n.animation||c.c.get("navAnimation");return yield(0,K.t)(Object.assign(Object.assign({mode:s,animated:l,enteringEl:t,leavingEl:o,baseEl:i,deepWait:(0,m.m)(i),progressCallback:e.progressAnimation?f=>{void 0===f||n.gestureOrAnimationInProgress?n.ani=f:(n.gestureOrAnimationInProgress=!0,f.onFinish(()=>{n.gestureOrAnimationInProgress=!1,n.swipeHandler&&n.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),f.progressEnd(0,0,0))}:void 0},e),{animationBuilder:d})),n.ionNavDidChange.emit(),!0})()}render(){return(0,r.h)("slot",{key:"e4eaa40478f70742d0ff7602ed5f83879da9f1b4"})}get el(){return(0,r.f)(this)}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}};j.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const F=class{constructor(t){(0,r.r)(this,t),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.color=void 0,this.size=void 0}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const t=this.getSize();this.ionStyle.emit({[`title-${t}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const t=(0,c.b)(this),o=this.getSize();return(0,r.h)(r.H,{key:"2642d433ba678b67503b7f1e9d0ae0390250bec8",class:(0,p.c)(this.color,{[t]:!0,[`title-${o}`]:!0,"title-rtl":"rtl"===document.dir})},(0,r.h)("div",{key:"355184542e26b53296f7143d099cfebc3de7b569",class:"toolbar-title"},(0,r.h)("slot",{key:"aed07a34c22e4b1f34cdf40fea35481674d8941f"})))}get el(){return(0,r.f)(this)}static get watchers(){return{size:["sizeChanged"]}}};F.style={ios:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}",md:":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}"};const U=class{constructor(t){(0,r.r)(this,t),this.childrenStyles=new Map,this.color=void 0}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),o=t.find(i=>"start"===i.slot);o&&o.classList.add("buttons-first-slot");const e=t.reverse(),n=e.find(i=>"end"===i.slot)||e.find(i=>"primary"===i.slot)||e.find(i=>"secondary"===i.slot);n&&n.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const o=t.target.tagName,e=t.detail,n={},i=this.childrenStyles.get(o)||{};let s=!1;Object.keys(e).forEach(l=>{const d=`toolbar-${l}`,f=e[l];f!==i[d]&&(s=!0),f&&(n[d]=!0)}),s&&(this.childrenStyles.set(o,n),(0,r.i)(this))}render(){const t=(0,c.b)(this),o={};return this.childrenStyles.forEach(e=>{Object.assign(o,e)}),(0,r.h)(r.H,{key:"fdd8621b4f69ce650b5aaf4fb6bffde29aa5ad65",class:Object.assign(Object.assign({},o),(0,p.c)(this.color,{[t]:!0,"in-toolbar":(0,p.h)("ion-toolbar",this.el)}))},(0,r.h)("div",{key:"c6ad5434546e2046a83574ea92a03a3f77d0a9e3",class:"toolbar-background"}),(0,r.h)("div",{key:"3b79dd20c3e8252cacfd46a82428df9ba0b8b86e",class:"toolbar-container"},(0,r.h)("slot",{key:"514259a8b76db9f3a587a7667b5e37fd8ade9481",name:"start"}),(0,r.h)("slot",{key:"d9ab68f0626f4ac8b83d21663eb67a47b76d809b",name:"secondary"}),(0,r.h)("div",{key:"2c21da88b67a7d7eef280e517bda9982264c7be4",class:"toolbar-content"},(0,r.h)("slot",{key:"ac2b7c8f20c5ac755df9032809c73eab9e767e36"})),(0,r.h)("slot",{key:"2ddd3b7e3803f2d56c32743dcfc114ddcb8684a2",name:"primary"}),(0,r.h)("slot",{key:"27483847d4333b4492506da33185c9ba1aa824a7",name:"end"})))}get el(){return(0,r.f)(this)}};U.style={ios:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",md:":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}"}},3814:(X,S,a)=>{a.d(S,{c:()=>T,g:()=>c,h:()=>r,o:()=>M});var h=a(5861);const r=(p,b)=>null!==b.closest(p),T=(p,b)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},b):b,c=p=>{const b={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(g=>null!=g).map(g=>g.trim()).filter(g=>""!==g):[])(p).forEach(g=>b[g]=!0),b},m=/^[a-z][a-z0-9+\-.]*:/,M=function(){var p=(0,h.Z)(function*(b,g,k,w){if(null!=b&&"#"!==b[0]&&!m.test(b)){const C=document.querySelector("ion-router");if(C)return g?.preventDefault(),C.push(b,k,w)}return!1});return function(g,k,w,C){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5349.d02be9566b42eeeb.js b/5349.e28e58b0df6246bc.js similarity index 96% rename from 5349.d02be9566b42eeeb.js rename to 5349.e28e58b0df6246bc.js index 74daf0ca..5722fc4c 100644 --- a/5349.d02be9566b42eeeb.js +++ b/5349.e28e58b0df6246bc.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5349],{5349:(D,T,f)=>{f.r(T),f.d(T,{ion_nav:()=>P,ion_nav_link:()=>R});var m=f(5861),g=f(6541),E=f(5069),d=f(8635),v=f(2005),b=f(4700),k=f(5030);class _{constructor(t,n){this.component=t,this.params=n,this.state=1}init(t){var n=this;return(0,m.Z)(function*(){if(n.state=2,!n.element){const i=n.component;n.element=yield(0,k.a)(n.delegate,t,i,["ion-page","ion-page-invisible"],n.params)}})()}_destroy(){(0,d.o)(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const I=(e,t,n)=>!(!e||e.component!==t)&&(0,d.s)(e.params,n),A=(e,t)=>e?e instanceof _?e:new _(e,t):null,P=class{constructor(e){(0,g.r)(this,e),this.ionNavWillLoad=(0,g.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,g.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,g.d)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,b.b)(this);this.swipeGesture=b.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}componentDidLoad(){var e=this;return(0,m.Z)(function*(){e.didLoad=!0,e.rootChanged(),e.gesture=(yield f.e(8592).then(f.bind(f,8299))).createSwipeBackGesture(e.el,e.canStart.bind(e),e.onStart.bind(e),e.onMove.bind(e),e.onEnd.bind(e)),e.swipeGestureChanged()})()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,v.l)(e.element,v.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,n,i){return this.insert(-1,e,t,n,i)}insert(e,t,n,i,s){return this.insertPages(e,[{component:t,componentProps:n}],i,s)}insertPages(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,n){const i={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(i.removeView=e,i.removeStart=1):"number"==typeof e&&(i.removeStart=e+1),this.queueTrns(i,n)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,n,i){return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)}setRoot(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)}setPages(e,t,n){return t??(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}setRouteId(e,t,n,i){const s=this.getActiveSync();if(I(s,e,t))return Promise.resolve({changed:!1,element:s.element});let r;const a=new Promise(l=>r=l);let o;const c={updateURL:!1,viewIsReady:l=>{let h;const p=new Promise(u=>h=u);return r({changed:!0,element:l,markVisible:(u=(0,m.Z)(function*(){h(),yield o}),function(){return u.apply(this,arguments)})}),p;var u}};if("root"===n)o=this.setRoot(e,t,c);else{const l=this.views.find(h=>I(h,e,t));l?o=this.popTo(l,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:i})):"forward"===n?o=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:i})):"back"===n&&(o=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:i})))}return a}getRouteId(){var e=this;return(0,m.Z)(function*(){const t=e.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}})()}getActive(){var e=this;return(0,m.Z)(function*(){return e.getActiveSync()})()}getByIndex(e){var t=this;return(0,m.Z)(function*(){return t.views[e]})()}canGoBack(e){var t=this;return(0,m.Z)(function*(){return t.canGoBackSync(e)})()}getPrevious(e){var t=this;return(0,m.Z)(function*(){return t.getPreviousSync(e)})()}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}queueTrns(e,t){var n=this;return(0,m.Z)(function*(){var i,s;if(n.isTransitioning&&null!==(i=e.opts)&&void 0!==i&&i.skipIfBusy)return!1;const r=new Promise((a,o)=>{e.resolve=a,e.reject=o});if(e.done=t,e.opts&&!1!==e.opts.updateURL&&n.useRouter){const a=document.querySelector("ion-router");if(a){const o=yield a.canTransition();if(!1===o)return!1;if("string"==typeof o)return a.push(o,e.opts.direction||"back"),!1}}return 0===(null===(s=e.insertViews)||void 0===s?void 0:s.length)&&(e.insertViews=void 0),n.transInstr.push(e),n.nextTrns(),r})()}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}runTransition(e){var t=this;return(0,m.Z)(function*(){try{t.ionNavWillChange.emit(),t.isTransitioning=!0,t.prepareTI(e);const n=t.getActiveSync(),i=t.getEnteringView(e,n);if(!n&&!i)throw new Error("no views in the stack to be removed");i&&1===i.state&&(yield i.init(t.el)),t.postViewInit(i,n,e);const s=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&i!==n;let r;s&&e.opts&&n&&("back"===e.opts.direction&&(e.opts.animationBuilder=e.opts.animationBuilder||i?.animationBuilder),n.animationBuilder=e.opts.animationBuilder),r=s?yield t.transition(i,n,e):{hasCompleted:!0,requiresTransition:!1},t.success(r,e),t.ionNavDidChange.emit()}catch(n){t.failed(n,e)}t.isTransitioning=!1,t.nextTrns()})()}prepareTI(e){var t,n,i;const s=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(n=(i=e.opts).delegate)&&void 0!==n||(i.delegate=this.delegate),void 0!==e.removeView){(0,d.o)(void 0!==e.removeStart,"removeView needs removeStart"),(0,d.o)(void 0!==e.removeCount,"removeView needs removeCount");const o=this.views.indexOf(e.removeView);if(o<0)throw new Error("removeView was not found");e.removeStart+=o}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=s-1),e.removeCount<0&&(e.removeCount=s-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===s),e.insertViews&&((e.insertStart<0||e.insertStart>s)&&(e.insertStart=s),e.enteringRequiresTransition=e.insertStart===s);const r=e.insertViews;if(!r)return;(0,d.o)(r.length>0,"length can not be zero");const a=(e=>e.map(t=>t instanceof _?t:"component"in t?A(t.component,null===t.componentProps?void 0:t.componentProps):A(t,void 0)).filter(t=>null!==t))(r);if(0===a.length)throw new Error("invalid views to insert");for(const o of a){o.delegate=e.opts.delegate;const c=o.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===o.state)throw new Error("inserted view was already destroyed")}e.insertViews=a}getEnteringView(e,t){const n=e.insertViews;if(void 0!==n)return n[n.length-1];const i=e.removeStart;if(void 0!==i){const s=this.views,r=i+e.removeCount;for(let a=s.length-1;a>=0;a--){const o=s[a];if((a=r)&&o!==t)return o}}}postViewInit(e,t,n){var i,s,r;(0,d.o)(t||e,"Both leavingView and enteringView are null"),(0,d.o)(n.resolve,"resolve must be valid"),(0,d.o)(n.reject,"reject must be valid");const a=n.opts,{insertViews:o,removeStart:c,removeCount:l}=n;let h;if(void 0!==c&&void 0!==l){(0,d.o)(c>=0,"removeStart can not be negative"),(0,d.o)(l>=0,"removeCount can not be negative"),h=[];for(let u=c;u=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(o){let u=n.insertStart;for(const w of o)this.insertViewAt(w,u),u++;n.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(h&&h.length>0){for(const u of h)(0,v.l)(u.element,v.b),(0,v.l)(u.element,v.c),(0,v.l)(u.element,v.d);for(const u of h)this.destroyView(u)}}transition(e,t,n){var i=this;return(0,m.Z)(function*(){const s=n.opts,r=s.progressAnimation?p=>{void 0===p||i.gestureOrAnimationInProgress?i.sbAni=p:(i.gestureOrAnimationInProgress=!0,p.onFinish(()=>{i.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),p.progressEnd(0,0,0))}:void 0,a=(0,b.b)(i),o=e.element,c=t&&t.element,l=Object.assign(Object.assign({mode:a,showGoBack:i.canGoBackSync(e),baseEl:i.el,progressCallback:r,animated:i.animated&&b.c.getBoolean("animated",!0),enteringEl:o,leavingEl:c},s),{animationBuilder:s.animationBuilder||i.animation||b.c.get("navAnimation")}),{hasCompleted:h}=yield(0,v.t)(l);return i.transitionFinish(h,e,t,s)})()}transitionFinish(e,t,n,i){const s=e?t:n;return s&&this.unmountInactiveViews(s),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:i.direction}}insertViewAt(e,t){const n=this.views,i=n.indexOf(e);i>-1?((0,d.o)(e.nav===this,"view is not part of the nav"),n.splice(i,1),n.splice(t,0,e)):((0,d.o)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}removeView(e){(0,d.o)(2===e.state||3===e.state,"view state should be loaded or destroyed");const t=this.views,n=t.indexOf(e);(0,d.o)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,n=t.indexOf(e);for(let i=t.length-1;i>=0;i--){const s=t[i],r=s.element;r&&(i>n?((0,v.l)(r,v.d),this.destroyView(s)):i{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=(0,E.g)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=(0,E.g)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}render(){return(0,g.h)("slot",{key:"8254ea10bef0575c13f8b0ddbe4643bec19f2366"})}get el(){return(0,g.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};P.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const R=class{constructor(e){(0,g.r)(this,e),this.onClick=()=>((e,t,n,i,s)=>{const r=this.el.closest("ion-nav");if(r)if("forward"===t){if(void 0!==n)return r.push(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("root"===t){if(void 0!==n)return r.setRoot(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("back"===t)return r.pop({skipIfBusy:!0,animationBuilder:s});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return(0,g.h)(g.H,{key:"dfbfc1a69c48248a8861463ed31c693be6543f32",onClick:this.onClick})}get el(){return(0,g.f)(this)}}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5349],{5349:(D,T,f)=>{f.r(T),f.d(T,{ion_nav:()=>P,ion_nav_link:()=>R});var m=f(5861),g=f(2477),E=f(5069),d=f(8635),v=f(9721),b=f(7943),k=f(5030);class _{constructor(t,n){this.component=t,this.params=n,this.state=1}init(t){var n=this;return(0,m.Z)(function*(){if(n.state=2,!n.element){const i=n.component;n.element=yield(0,k.a)(n.delegate,t,i,["ion-page","ion-page-invisible"],n.params)}})()}_destroy(){(0,d.o)(3!==this.state,"view state must be ATTACHED");const t=this.element;t&&(this.delegate?this.delegate.removeViewFromDom(t.parentElement,t):t.remove()),this.nav=void 0,this.state=3}}const I=(e,t,n)=>!(!e||e.component!==t)&&(0,d.s)(e.params,n),A=(e,t)=>e?e instanceof _?e:new _(e,t):null,P=class{constructor(e){(0,g.r)(this,e),this.ionNavWillLoad=(0,g.d)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,g.d)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,g.d)(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.delegate=void 0,this.swipeGesture=void 0,this.animated=!0,this.animation=void 0,this.rootParams=void 0,this.root=void 0}swipeGestureChanged(){this.gesture&&this.gesture.enable(!0===this.swipeGesture)}rootChanged(){void 0!==this.root&&!1!==this.didLoad&&(this.useRouter||void 0!==this.root&&this.setRoot(this.root,this.rootParams))}componentWillLoad(){if(this.useRouter=null!==document.querySelector("ion-router")&&null===this.el.closest("[no-router]"),void 0===this.swipeGesture){const e=(0,b.b)(this);this.swipeGesture=b.c.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}componentDidLoad(){var e=this;return(0,m.Z)(function*(){e.didLoad=!0,e.rootChanged(),e.gesture=(yield f.e(8592).then(f.bind(f,8299))).createSwipeBackGesture(e.el,e.canStart.bind(e),e.onStart.bind(e),e.onMove.bind(e),e.onEnd.bind(e)),e.swipeGestureChanged()})()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)(0,v.l)(e.element,v.d),e._destroy();this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.transInstr.length=0,this.views.length=0,this.destroyed=!0}push(e,t,n,i){return this.insert(-1,e,t,n,i)}insert(e,t,n,i,s){return this.insertPages(e,[{component:t,componentProps:n}],i,s)}insertPages(e,t,n,i){return this.queueTrns({insertStart:e,insertViews:t,opts:n},i)}pop(e,t){return this.removeIndex(-1,1,e,t)}popTo(e,t,n){const i={removeStart:-1,removeCount:-1,opts:t};return"object"==typeof e&&e.component?(i.removeView=e,i.removeStart=1):"number"==typeof e&&(i.removeStart=e+1),this.queueTrns(i,n)}popToRoot(e,t){return this.removeIndex(1,-1,e,t)}removeIndex(e,t=1,n,i){return this.queueTrns({removeStart:e,removeCount:t,opts:n},i)}setRoot(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)}setPages(e,t,n){return t??(t={}),!0!==t.animated&&(t.animated=!1),this.queueTrns({insertStart:0,insertViews:e,removeStart:0,removeCount:-1,opts:t},n)}setRouteId(e,t,n,i){const s=this.getActiveSync();if(I(s,e,t))return Promise.resolve({changed:!1,element:s.element});let r;const a=new Promise(l=>r=l);let o;const c={updateURL:!1,viewIsReady:l=>{let h;const p=new Promise(u=>h=u);return r({changed:!0,element:l,markVisible:(u=(0,m.Z)(function*(){h(),yield o}),function(){return u.apply(this,arguments)})}),p;var u}};if("root"===n)o=this.setRoot(e,t,c);else{const l=this.views.find(h=>I(h,e,t));l?o=this.popTo(l,Object.assign(Object.assign({},c),{direction:"back",animationBuilder:i})):"forward"===n?o=this.push(e,t,Object.assign(Object.assign({},c),{animationBuilder:i})):"back"===n&&(o=this.setRoot(e,t,Object.assign(Object.assign({},c),{direction:"back",animated:!0,animationBuilder:i})))}return a}getRouteId(){var e=this;return(0,m.Z)(function*(){const t=e.getActiveSync();if(t)return{id:t.element.tagName,params:t.params,element:t.element}})()}getActive(){var e=this;return(0,m.Z)(function*(){return e.getActiveSync()})()}getByIndex(e){var t=this;return(0,m.Z)(function*(){return t.views[e]})()}canGoBack(e){var t=this;return(0,m.Z)(function*(){return t.canGoBackSync(e)})()}getPrevious(e){var t=this;return(0,m.Z)(function*(){return t.getPreviousSync(e)})()}getLength(){return this.views.length}getActiveSync(){return this.views[this.views.length-1]}canGoBackSync(e=this.getActiveSync()){return!(!e||!this.getPreviousSync(e))}getPreviousSync(e=this.getActiveSync()){if(!e)return;const t=this.views,n=t.indexOf(e);return n>0?t[n-1]:void 0}queueTrns(e,t){var n=this;return(0,m.Z)(function*(){var i,s;if(n.isTransitioning&&null!==(i=e.opts)&&void 0!==i&&i.skipIfBusy)return!1;const r=new Promise((a,o)=>{e.resolve=a,e.reject=o});if(e.done=t,e.opts&&!1!==e.opts.updateURL&&n.useRouter){const a=document.querySelector("ion-router");if(a){const o=yield a.canTransition();if(!1===o)return!1;if("string"==typeof o)return a.push(o,e.opts.direction||"back"),!1}}return 0===(null===(s=e.insertViews)||void 0===s?void 0:s.length)&&(e.insertViews=void 0),n.transInstr.push(e),n.nextTrns(),r})()}success(e,t){if(this.destroyed)this.fireError("nav controller was destroyed",t);else if(t.done&&t.done(e.hasCompleted,e.requiresTransition,e.enteringView,e.leavingView,e.direction),t.resolve(e.hasCompleted),!1!==t.opts.updateURL&&this.useRouter){const n=document.querySelector("ion-router");n&&n.navChanged("back"===e.direction?"back":"forward")}}failed(e,t){this.destroyed?this.fireError("nav controller was destroyed",t):(this.transInstr.length=0,this.fireError(e,t))}fireError(e,t){t.done&&t.done(!1,!1,e),t.reject&&!this.destroyed?t.reject(e):t.resolve(!1)}nextTrns(){if(this.isTransitioning)return!1;const e=this.transInstr.shift();return!!e&&(this.runTransition(e),!0)}runTransition(e){var t=this;return(0,m.Z)(function*(){try{t.ionNavWillChange.emit(),t.isTransitioning=!0,t.prepareTI(e);const n=t.getActiveSync(),i=t.getEnteringView(e,n);if(!n&&!i)throw new Error("no views in the stack to be removed");i&&1===i.state&&(yield i.init(t.el)),t.postViewInit(i,n,e);const s=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&i!==n;let r;s&&e.opts&&n&&("back"===e.opts.direction&&(e.opts.animationBuilder=e.opts.animationBuilder||i?.animationBuilder),n.animationBuilder=e.opts.animationBuilder),r=s?yield t.transition(i,n,e):{hasCompleted:!0,requiresTransition:!1},t.success(r,e),t.ionNavDidChange.emit()}catch(n){t.failed(n,e)}t.isTransitioning=!1,t.nextTrns()})()}prepareTI(e){var t,n,i;const s=this.views.length;if(null!==(t=e.opts)&&void 0!==t||(e.opts={}),null!==(n=(i=e.opts).delegate)&&void 0!==n||(i.delegate=this.delegate),void 0!==e.removeView){(0,d.o)(void 0!==e.removeStart,"removeView needs removeStart"),(0,d.o)(void 0!==e.removeCount,"removeView needs removeCount");const o=this.views.indexOf(e.removeView);if(o<0)throw new Error("removeView was not found");e.removeStart+=o}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=s-1),e.removeCount<0&&(e.removeCount=s-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===s),e.insertViews&&((e.insertStart<0||e.insertStart>s)&&(e.insertStart=s),e.enteringRequiresTransition=e.insertStart===s);const r=e.insertViews;if(!r)return;(0,d.o)(r.length>0,"length can not be zero");const a=(e=>e.map(t=>t instanceof _?t:"component"in t?A(t.component,null===t.componentProps?void 0:t.componentProps):A(t,void 0)).filter(t=>null!==t))(r);if(0===a.length)throw new Error("invalid views to insert");for(const o of a){o.delegate=e.opts.delegate;const c=o.nav;if(c&&c!==this)throw new Error("inserted view was already inserted");if(3===o.state)throw new Error("inserted view was already destroyed")}e.insertViews=a}getEnteringView(e,t){const n=e.insertViews;if(void 0!==n)return n[n.length-1];const i=e.removeStart;if(void 0!==i){const s=this.views,r=i+e.removeCount;for(let a=s.length-1;a>=0;a--){const o=s[a];if((a=r)&&o!==t)return o}}}postViewInit(e,t,n){var i,s,r;(0,d.o)(t||e,"Both leavingView and enteringView are null"),(0,d.o)(n.resolve,"resolve must be valid"),(0,d.o)(n.reject,"reject must be valid");const a=n.opts,{insertViews:o,removeStart:c,removeCount:l}=n;let h;if(void 0!==c&&void 0!==l){(0,d.o)(c>=0,"removeStart can not be negative"),(0,d.o)(l>=0,"removeCount can not be negative"),h=[];for(let u=c;u=0,"final balance can not be negative"),0===p)throw console.warn("You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.",this,this.el),new Error("navigation stack needs at least one root page");if(o){let u=n.insertStart;for(const w of o)this.insertViewAt(w,u),u++;n.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(h&&h.length>0){for(const u of h)(0,v.l)(u.element,v.b),(0,v.l)(u.element,v.c),(0,v.l)(u.element,v.d);for(const u of h)this.destroyView(u)}}transition(e,t,n){var i=this;return(0,m.Z)(function*(){const s=n.opts,r=s.progressAnimation?p=>{void 0===p||i.gestureOrAnimationInProgress?i.sbAni=p:(i.gestureOrAnimationInProgress=!0,p.onFinish(()=>{i.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),p.progressEnd(0,0,0))}:void 0,a=(0,b.b)(i),o=e.element,c=t&&t.element,l=Object.assign(Object.assign({mode:a,showGoBack:i.canGoBackSync(e),baseEl:i.el,progressCallback:r,animated:i.animated&&b.c.getBoolean("animated",!0),enteringEl:o,leavingEl:c},s),{animationBuilder:s.animationBuilder||i.animation||b.c.get("navAnimation")}),{hasCompleted:h}=yield(0,v.t)(l);return i.transitionFinish(h,e,t,s)})()}transitionFinish(e,t,n,i){const s=e?t:n;return s&&this.unmountInactiveViews(s),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:i.direction}}insertViewAt(e,t){const n=this.views,i=n.indexOf(e);i>-1?((0,d.o)(e.nav===this,"view is not part of the nav"),n.splice(i,1),n.splice(t,0,e)):((0,d.o)(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}removeView(e){(0,d.o)(2===e.state||3===e.state,"view state should be loaded or destroyed");const t=this.views,n=t.indexOf(e);(0,d.o)(n>-1,"view must be part of the stack"),n>=0&&t.splice(n,1)}destroyView(e){e._destroy(),this.removeView(e)}unmountInactiveViews(e){if(this.destroyed)return;const t=this.views,n=t.indexOf(e);for(let i=t.length-1;i>=0;i--){const s=t[i],r=s.element;r&&(i>n?((0,v.l)(r,v.d),this.destroyView(s)):i{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=(0,E.g)([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=(0,E.g)([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}render(){return(0,g.h)("slot",{key:"6894eccc60e446294b01261477691ea1e88348ab"})}get el(){return(0,g.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],root:["rootChanged"]}}};P.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";const R=class{constructor(e){(0,g.r)(this,e),this.onClick=()=>((e,t,n,i,s)=>{const r=this.el.closest("ion-nav");if(r)if("forward"===t){if(void 0!==n)return r.push(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("root"===t){if(void 0!==n)return r.setRoot(n,i,{skipIfBusy:!0,animationBuilder:s})}else if("back"===t)return r.pop({skipIfBusy:!0,animationBuilder:s});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation),this.component=void 0,this.componentProps=void 0,this.routerDirection="forward",this.routerAnimation=void 0}render(){return(0,g.h)(g.H,{key:"dab6e8a908395d99c87452c5e5aa4e61d9e72435",onClick:this.onClick})}get el(){return(0,g.f)(this)}}}}]); \ No newline at end of file diff --git a/5652.221d55618ffa083a.js b/5652.221d55618ffa083a.js deleted file mode 100644 index 16d2ecf8..00000000 --- a/5652.221d55618ffa083a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5652],{5652:(F,v,c)=>{c.r(v),c.d(v,{ion_button:()=>E,ion_icon:()=>M});var e=c(6541),k=c(8635),f=c(8909),u=c(3814),w=c(4700);let p;const l=(o,t,n,i,r)=>(n="ios"===(n&&y(n))?"ios":"md",i&&"ios"===n?o=y(i):r&&"md"===n?o=y(r):(!o&&t&&!g(t)&&(o=t),d(o)&&(o=y(o))),d(o)&&""!==o.trim()&&""===o.replace(/[a-z]|-|\d/gi,"")?o:null),h=o=>d(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),d=o=>"string"==typeof o,y=o=>o.toLowerCase(),P=o=>o&&""!==o.dir?"rtl"===o.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),E=class{constructor(o){(0,e.r)(this,o),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.d)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=t=>{const{el:n}=this;"button"===this.type?(0,u.o)(this.href,t,this.routerDirection,this.routerAnimation):(0,k.n)(n)&&this.submitForm(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=(0,k.i)(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a
element.`,this.el),null):((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?((0,f.p)('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=(0,w.b)(this),{buttonType:t,type:n,disabled:i,rel:r,target:x,size:m,href:O,color:G,expand:A,hasIconOnly:N,shape:B,strong:Z,inheritedAttributes:J}=this,T=void 0===m&&this.inItem?"small":m,D=void 0===O?"button":"a",Q="button"===D?{type:n}:{download:this.download,href:O,rel:r,target:x};let _=this.fill;return null==_&&(_=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),(0,e.h)(e.H,{key:"8533314504b286ec10e26722f93376d86a7ca1c9",onClick:this.handleClick,"aria-disabled":i?"true":null,class:(0,u.c)(G,{[o]:!0,[t]:!0,[`${t}-${A}`]:void 0!==A,[`${t}-${T}`]:void 0!==T,[`${t}-${B}`]:void 0!==B,[`${t}-${_}`]:!0,[`${t}-strong`]:Z,"in-toolbar":(0,u.h)("ion-toolbar",this.el),"in-toolbar-color":(0,u.h)("ion-toolbar[color]",this.el),"in-buttons":(0,u.h)("ion-buttons",this.el),"button-has-icon-only":N,"button-disabled":i,"ion-activatable":!0,"ion-focusable":!0})},(0,e.h)(D,Object.assign({key:"79bf020fdac0c2ceb2b05547b3e5a9a11e60abb4"},Q,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},J),(0,e.h)("span",{key:"109481ba86102647023b746b054b2718d3c9d92a",class:"button-inner"},(0,e.h)("slot",{key:"f824ddd9f988b9bd33136555b16aa790d9291b49",name:"icon-only"}),(0,e.h)("slot",{key:"d614f4e430792c5f93be4b3a8c57a826d74b9cfd",name:"start"}),(0,e.h)("slot",{key:"95d00c8a980c31cc7f84732f51a17a0cd285a7cb"}),(0,e.h)("slot",{key:"a228ff52cbe04dc9d2e22bb66611ecc96d130e6f",name:"end"})),"md"===o&&(0,e.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return(0,e.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};E.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--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)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const I=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t{const n={};return t.forEach(i=>{o.hasAttribute(i)&&(null!==o.getAttribute(i)&&(n[i]=o.getAttribute(i)),o.removeAttribute(i))}),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver(r=>{r[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const o=(o=>{let t=h(o.src);return t||(t=l(o.name,o.icon,o.mode,o.ios,o.md),t?((o,t)=>{const n=(()=>{if(typeof window>"u")return new Map;if(!p){const o=window;o.Ionicons=o.Ionicons||{},p=o.Ionicons.map=o.Ionicons.map||new Map}return p})().get(o);if(n)return n;try{return(0,e.j)(`svg/${o}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${o}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}})(t,o):o.icon&&(t=h(o.icon),t||(t=h(o.icon[o.mode]),t))?t:null)})(this);o&&(b.has(o)?this.svgContent=b.get(o):((o,t)=>{let n=L.get(o);if(!n){if(!(typeof fetch<"u"&&typeof document<"u"))return b.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const r=z.parseFromString(o,"text/html").querySelector("svg");return r&&b.set(o,r.outerHTML),Promise.resolve()}n=fetch(o).then(i=>{if(i.ok)return i.text().then(r=>{r&&!1!==t&&(r=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let i=t.childNodes.length-1;i>=0;i--)"svg"!==t.childNodes[i].nodeName.toLowerCase()&&t.removeChild(t.childNodes[i]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const i=n.getAttribute("class")||"";if(n.setAttribute("class",(i+" s-ion-icon").trim()),I(n))return t.innerHTML}return""})(r)),b.set(o,r||"")});b.set(o,"")}),L.set(o,n)}return n})(o,this.sanitize).then(()=>this.svgContent=b.get(o)),this.didLoadIcon=!0)}this.iconName=l(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:i}=this,r=this.mode||"md",x=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,m=o||x;return(0,e.h)(e.H,Object.assign({role:"img",class:Object.assign(Object.assign({[r]:!0},K(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":m,"icon-rtl":m&&P(i)})},n),(0,e.h)("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return(0,e.f)(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},X=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",K=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;M.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},3814:(F,v,c)=>{c.d(v,{c:()=>f,g:()=>w,h:()=>k,o:()=>C});var e=c(5861);const k=(a,s)=>null!==s.closest(a),f=(a,s)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},s):s,w=a=>{const s={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(a).forEach(l=>s[l]=!0),s},p=/^[a-z][a-z0-9+\-.]*:/,C=function(){var a=(0,e.Z)(function*(s,l,h,g){if(null!=s&&"#"!==s[0]&&!p.test(s)){const d=document.querySelector("ion-router");if(d)return l?.preventDefault(),d.push(s,h,g)}return!1});return function(l,h,g,d){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5652.7ef16a32cd56ec42.js b/5652.7ef16a32cd56ec42.js new file mode 100644 index 00000000..01e7bc54 --- /dev/null +++ b/5652.7ef16a32cd56ec42.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5652],{5652:(F,v,d)=>{d.r(v),d.d(v,{ion_button:()=>E,ion_icon:()=>M});var i=d(2477),k=d(8635),f=d(8909),u=d(3814),w=d(7943);let p;const l=(o,t,n,e,r)=>(n="ios"===(n&&y(n))?"ios":"md",e&&"ios"===n?o=y(e):r&&"md"===n?o=y(r):(!o&&t&&!g(t)&&(o=t),c(o)&&(o=y(o))),c(o)&&""!==o.trim()&&""===o.replace(/[a-z]|-|\d/gi,"")?o:null),h=o=>c(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),c=o=>"string"==typeof o,y=o=>o.toLowerCase(),P=o=>o&&""!==o.dir?"rtl"===o.dir.toLowerCase():"rtl"===document?.dir.toLowerCase(),E=class{constructor(o){(0,i.r)(this,o),this.ionFocus=(0,i.d)(this,"ionFocus",7),this.ionBlur=(0,i.d)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=t=>{const{el:n}=this;"button"===this.type?(0,u.o)(this.href,t,this.routerDirection,this.routerAnimation):(0,k.n)(n)&&this.submitForm(t)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=(0,k.i)(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a element.`,this.el),null):((0,f.p)(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?((0,f.p)('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=(0,w.b)(this),{buttonType:t,type:n,disabled:e,rel:r,target:x,size:m,href:O,color:G,expand:A,hasIconOnly:N,shape:B,strong:Z,inheritedAttributes:J}=this,T=void 0===m&&this.inItem?"small":m,D=void 0===O?"button":"a",Q="button"===D?{type:n}:{download:this.download,href:O,rel:r,target:x};let _=this.fill;return null==_&&(_=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),(0,i.h)(i.H,{key:"54569350aae49882123f0e22a720956eddee33f5",onClick:this.handleClick,"aria-disabled":e?"true":null,class:(0,u.c)(G,{[o]:!0,[t]:!0,[`${t}-${A}`]:void 0!==A,[`${t}-${T}`]:void 0!==T,[`${t}-${B}`]:void 0!==B,[`${t}-${_}`]:!0,[`${t}-strong`]:Z,"in-toolbar":(0,u.h)("ion-toolbar",this.el),"in-toolbar-color":(0,u.h)("ion-toolbar[color]",this.el),"in-buttons":(0,u.h)("ion-buttons",this.el),"button-has-icon-only":N,"button-disabled":e,"ion-activatable":!0,"ion-focusable":!0})},(0,i.h)(D,Object.assign({key:"95c196fc5bf080ef308532c3627e2a9d68f24996"},Q,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},J),(0,i.h)("span",{key:"e247013b847158187258d28f37ab23905fe49110",class:"button-inner"},(0,i.h)("slot",{key:"58ac0bd8f643f4392ddbe465fab26eedffe02b7a",name:"icon-only"}),(0,i.h)("slot",{key:"2289d37a37a64472ffe818b3b1126945cebf101e",name:"start"}),(0,i.h)("slot",{key:"b69a915dff465d251f0466449b91450d4a4048a9"}),(0,i.h)("slot",{key:"594a80d6707fd5edabc03e467f7aae3011d020f6",name:"end"})),"md"===o&&(0,i.h)("ion-ripple-effect",{key:"b034770cadefe74922ed6564a17147ddc6c9fdb1",type:this.rippleType})))}get el(){return(0,i.f)(this)}static get watchers(){return{disabled:["disabledChanged"]}}};E.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--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)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}'};const I=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t{const n={};return t.forEach(e=>{o.hasAttribute(e)&&(null!==o.getAttribute(e)&&(n[e]=o.getAttribute(e)),o.removeAttribute(e))}),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&typeof window<"u"&&window.IntersectionObserver){const e=this.io=new window.IntersectionObserver(r=>{r[0].isIntersecting&&(e.disconnect(),this.io=void 0,n())},{rootMargin:t});e.observe(o)}else n()}loadIcon(){if(this.isVisible){const o=(o=>{let t=h(o.src);return t||(t=l(o.name,o.icon,o.mode,o.ios,o.md),t?((o,t)=>{const n=(()=>{if(typeof window>"u")return new Map;if(!p){const o=window;o.Ionicons=o.Ionicons||{},p=o.Ionicons.map=o.Ionicons.map||new Map}return p})().get(o);if(n)return n;try{return(0,i.j)(`svg/${o}.svg`)}catch{console.warn(`[Ionicons Warning]: Could not load icon with name "${o}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,t)}})(t,o):o.icon&&(t=h(o.icon),t||(t=h(o.icon[o.mode]),t))?t:null)})(this);o&&(b.has(o)?this.svgContent=b.get(o):((o,t)=>{let n=L.get(o);if(!n){if(!(typeof fetch<"u"&&typeof document<"u"))return b.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const r=z.parseFromString(o,"text/html").querySelector("svg");return r&&b.set(o,r.outerHTML),Promise.resolve()}n=fetch(o).then(e=>{if(e.ok)return e.text().then(r=>{r&&!1!==t&&(r=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let e=t.childNodes.length-1;e>=0;e--)"svg"!==t.childNodes[e].nodeName.toLowerCase()&&t.removeChild(t.childNodes[e]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const e=n.getAttribute("class")||"";if(n.setAttribute("class",(e+" s-ion-icon").trim()),I(n))return t.innerHTML}return""})(r)),b.set(o,r||"")});b.set(o,"")}),L.set(o,n)}return n})(o,this.sanitize).then(()=>this.svgContent=b.get(o)),this.didLoadIcon=!0)}this.iconName=l(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:e}=this,r=this.mode||"md",x=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,m=o||x;return(0,i.h)(i.H,Object.assign({role:"img",class:Object.assign(Object.assign({[r]:!0},K(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":m,"icon-rtl":m&&P(e)})},n),(0,i.h)("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return(0,i.f)(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},X=()=>typeof document<"u"&&document.documentElement.getAttribute("mode")||"md",K=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;M.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},3814:(F,v,d)=>{d.d(v,{c:()=>f,g:()=>w,h:()=>k,o:()=>C});var i=d(5861);const k=(a,s)=>null!==s.closest(a),f=(a,s)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},s):s,w=a=>{const s={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(a).forEach(l=>s[l]=!0),s},p=/^[a-z][a-z0-9+\-.]*:/,C=function(){var a=(0,i.Z)(function*(s,l,h,g){if(null!=s&&"#"!==s[0]&&!p.test(s)){const c=document.querySelector("ion-router");if(c)return l?.preventDefault(),c.push(s,h,g)}return!1});return function(l,h,g,c){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5733.e0b7596ff3dd7c8d.js b/5733.e0b7596ff3dd7c8d.js new file mode 100644 index 00000000..24d257e6 --- /dev/null +++ b/5733.e0b7596ff3dd7c8d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5733],{5733:(q,O,m)=>{m.r(O),m.d(O,{startInputShims:()=>X});var g=m(5861),l=m(2972),T=m(7003),y=m(8635),R=m(3037);m(6319);const M=new WeakMap,P=(e,t,s,o=0,r=!1)=>{M.has(e)!==s&&(s?H(e,t,o,r):Z(e,t))},H=(e,t,s,o=!1)=>{const r=t.parentNode,n=t.cloneNode(!1);n.classList.add("cloned-input"),n.tabIndex=-1,o&&(n.disabled=!0),r.appendChild(n),M.set(e,n);const a="rtl"===e.ownerDocument.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${a}px,${s}px,0) scale(0)`},Z=(e,t)=>{const s=M.get(e);s&&(M.delete(e),s.remove()),e.style.pointerEvents="",t.style.transform=""},C="input, textarea, [no-blur], [contenteditable]",U="$ionPaddingTimer",B=(e,t,s)=>{const o=e[U];o&&clearTimeout(o),t>0?e.style.setProperty("--keyboard-offset",`${t}px`):e[U]=setTimeout(()=>{e.style.setProperty("--keyboard-offset","0px"),s&&s()},120)},F=(e,t,s)=>{e.addEventListener("focusout",()=>{t&&B(t,0,s)},{once:!0})};let b=0;const p="data-ionic-skip-scroll-assist",Q=(e,t,s,o,r,n,i,a=!1)=>{const _=n&&(void 0===i||i.mode===R.a.None);let L=!1;const u=void 0!==l.w?l.w.innerHeight:0,f=S=>{!1!==L?W(e,t,s,o,S.detail.keyboardHeight,_,a,u,!1):L=!0},c=()=>{L=!1,null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c)},h=function(){var S=(0,g.Z)(function*(){t.hasAttribute(p)?t.removeAttribute(p):(W(e,t,s,o,r,_,a,u),null==l.w||l.w.addEventListener("ionKeyboardDidShow",f),e.addEventListener("focusout",c))});return function(){return S.apply(this,arguments)}}();return e.addEventListener("focusin",h),()=>{e.removeEventListener("focusin",h),null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c)}},x=e=>{document.activeElement!==e&&(e.setAttribute(p,"true"),e.focus())},W=function(){var e=(0,g.Z)(function*(t,s,o,r,n,i,a=!1,_=0,L=!0){if(!o&&!r)return;const u=((e,t,s,o)=>{var r;return((e,t,s,o)=>{const r=e.top,n=e.bottom,i=t.top,_=i+15,u=Math.min(t.bottom,o-s)-50-n,f=_-r,c=Math.round(u<0?-u:f>0?-f:0),h=Math.min(c,r-i),w=Math.abs(h)/.3;return{scrollAmount:h,scrollDuration:Math.min(400,Math.max(150,w)),scrollPadding:s,inputSafeY:4-(r-_)}})((null!==(r=e.closest("ion-item,[ion-item]"))&&void 0!==r?r:e).getBoundingClientRect(),t.getBoundingClientRect(),s,o)})(t,o||r,n,_);if(o&&Math.abs(u.scrollAmount)<4)return x(s),void(i&&null!==o&&(B(o,b),F(s,o,()=>b=0)));if(P(t,s,!0,u.inputSafeY,a),x(s),(0,y.r)(()=>t.click()),i&&o&&(b=u.scrollPadding,B(o,b)),typeof window<"u"){let f;const c=function(){var S=(0,g.Z)(function*(){void 0!==f&&clearTimeout(f),window.removeEventListener("ionKeyboardDidShow",h),window.removeEventListener("ionKeyboardDidShow",c),o&&(yield(0,T.c)(o,0,u.scrollAmount,u.scrollDuration)),P(t,s,!1,u.inputSafeY),x(s),i&&F(s,o,()=>b=0)});return function(){return S.apply(this,arguments)}}(),h=()=>{window.removeEventListener("ionKeyboardDidShow",h),window.addEventListener("ionKeyboardDidShow",c)};if(o){const S=yield(0,T.g)(o);if(L&&u.scrollAmount>S.scrollHeight-S.clientHeight-S.scrollTop)return"password"===s.type?(u.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",h)):window.addEventListener("ionKeyboardDidShow",c),void(f=setTimeout(c,1e3))}c()}});return function(s,o,r,n,i,a){return e.apply(this,arguments)}}(),X=function(){var e=(0,g.Z)(function*(t,s){if(void 0===l.d)return;const o="ios"===s,r="android"===s,n=t.getNumber("keyboardHeight",290),i=t.getBoolean("scrollAssist",!0),a=t.getBoolean("hideCaretOnScroll",o),_=t.getBoolean("inputBlurring",o),L=t.getBoolean("scrollPadding",!0),u=Array.from(l.d.querySelectorAll("ion-input, ion-textarea")),f=new WeakMap,c=new WeakMap,h=yield R.K.getResizeMode(),S=function(){var v=(0,g.Z)(function*(d){yield new Promise(I=>(0,y.c)(d,I));const K=d.shadowRoot||d,D=K.querySelector("input")||K.querySelector("textarea"),A=(0,T.f)(d),j=A?null:d.closest("ion-footer");if(D){if(A&&a&&!f.has(d)){const I=((e,t,s)=>{if(!s||!t)return()=>{};const o=a=>{(e=>e===e.getRootNode().activeElement)(t)&&P(e,t,a)},r=()=>P(e,t,!1),n=()=>o(!0),i=()=>o(!1);return(0,y.a)(s,"ionScrollStart",n),(0,y.a)(s,"ionScrollEnd",i),t.addEventListener("blur",r),()=>{(0,y.b)(s,"ionScrollStart",n),(0,y.b)(s,"ionScrollEnd",i),t.removeEventListener("blur",r)}})(d,D,A);f.set(d,I)}if("date"!==D.type&&"datetime-local"!==D.type&&(A||j)&&i&&!c.has(d)){const I=Q(d,D,A,j,n,L,h,r);c.set(d,I)}}});return function(K){return v.apply(this,arguments)}}();_&&(()=>{let e=!0,t=!1;const s=document;(0,y.a)(s,"ionScrollStart",()=>{t=!0}),s.addEventListener("focusin",()=>{e=!0},!0),s.addEventListener("touchend",i=>{if(t)return void(t=!1);const a=s.activeElement;if(!a||a.matches(C))return;const _=i.target;_!==a&&(_.matches(C)||_.closest(C)||(e=!1,setTimeout(()=>{e||a.blur()},50)))},!1)})();for(const v of u)S(v);l.d.addEventListener("ionInputDidLoad",v=>{S(v.detail)}),l.d.addEventListener("ionInputDidUnload",v=>{(v=>{if(a){const d=f.get(v);d&&d(),f.delete(v)}if(i){const d=c.get(v);d&&d(),c.delete(v)}})(v.detail)})});return function(s,o){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5836.14294a00ddc7331d.js b/5836.14294a00ddc7331d.js new file mode 100644 index 00000000..5c39fa6c --- /dev/null +++ b/5836.14294a00ddc7331d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5836],{5836:(B,f,n)=>{n.r(f),n.d(f,{ion_fab:()=>r,ion_fab_button:()=>k,ion_fab_list:()=>y});var h=n(5861),o=n(2477),l=n(7943),u=n(8635),b=n(3814),g=n(4896);const r=class{constructor(t){(0,o.r)(this,t),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const t=this.activated,a=this.getFab();a&&(a.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(s=>{s.activated=t})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var t=this;return(0,h.Z)(function*(){t.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var t=this;return(0,h.Z)(function*(){t.el.querySelector("ion-fab-list")&&(t.activated=!t.activated)})()}render(){const{horizontal:t,vertical:a,edge:s}=this,c=(0,l.b)(this);return(0,o.h)(o.H,{key:"71df1068c3a2739a69d3571c2fe9bdf401a252cb",class:{[c]:!0,[`fab-horizontal-${t}`]:void 0!==t,[`fab-vertical-${a}`]:void 0!==a,"fab-edge":s}},(0,o.h)("slot",{key:"c3afd4a009d355d664f8c04057acf86196bda844"}))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};r.style=":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";const k=class{constructor(t){(0,o.r)(this,t),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:a}=this;a&&a.toggle()},this.color=void 0,this.activated=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0,this.show=!1,this.translucent=!1,this.type="button",this.size=void 0,this.closeIcon=g.t}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=(0,u.i)(this.el)}render(){const{el:t,disabled:a,color:s,href:c,activated:m,show:A,translucent:w,size:_,inheritedAttributes:D}=this,z=(0,b.h)("ion-fab-list",t),C=(0,l.b)(this),E=void 0===c?"button":"a",M="button"===E?{type:this.type}:{download:this.download,href:c,rel:this.rel,target:this.target};return(0,o.h)(o.H,{key:"5b5e73a0236eabb3e994f0f33ee9ab6f75a12b24",onClick:this.onClick,"aria-disabled":a?"true":null,class:(0,b.c)(s,{[C]:!0,"fab-button-in-list":z,"fab-button-translucent-in-list":z&&w,"fab-button-close-active":m,"fab-button-show":A,"fab-button-disabled":a,"fab-button-translucent":w,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${_}`]:void 0!==_})},(0,o.h)(E,Object.assign({key:"e3c85ff305b6790519543603401b85f294aabed1"},M,{class:"button-native",part:"native",disabled:a,onFocus:this.onFocus,onBlur:this.onBlur,onClick:I=>(0,b.o)(c,I,this.routerDirection,this.routerAnimation)},D),(0,o.h)("ion-icon",{key:"39241f9fa051506717c8680e1b809dbf2e56f1a1","aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,o.h)("span",{key:"03f0ec1c25352f3a5decb33ebc060b9043ab569e",class:"button-inner"},(0,o.h)("slot",{key:"11c1a17bc0c54b840a96b96e03fffc23f0e64ff2"})),"md"===C&&(0,o.h)("ion-ripple-effect",{key:"9b1642dba0beb3a22658ad0aead26b2ab57f0367"})))}get el(){return(0,o.f)(this)}};k.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};const y=class{constructor(t){(0,o.r)(this,t),this.activated=!1,this.side="bottom"}activatedChanged(t){const a=Array.from(this.el.querySelectorAll("ion-fab-button")),s=t?30:0;a.forEach((c,m)=>{setTimeout(()=>c.show=t,m*s)})}render(){const t=(0,l.b)(this);return(0,o.h)(o.H,{key:"3de1b0db4eb0230d4d2954e4265ddeb3c930b4dc",class:{[t]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,o.h)("slot",{key:"970aac2239ad9ea2b6b6c3c3ea45a18c45b37df2"}))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};y.style=":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start:dir(rtl)){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end:dir(rtl)){left:unset;right:unset;right:0}}}"},3814:(B,f,n)=>{n.d(f,{c:()=>l,g:()=>b,h:()=>o,o:()=>x});var h=n(5861);const o=(i,r)=>null!==r.closest(i),l=(i,r)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},r):r,b=i=>{const r={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(i).forEach(e=>r[e]=!0),r},g=/^[a-z][a-z0-9+\-.]*:/,x=function(){var i=(0,h.Z)(function*(r,e,p,v){if(null!=r&&"#"!==r[0]&&!g.test(r)){const d=document.querySelector("ion-router");if(d)return e?.preventDefault(),d.push(r,p,v)}return!1});return function(e,p,v,d){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/5836.9d9177a2f14062f5.js b/5836.9d9177a2f14062f5.js deleted file mode 100644 index 2b5df65d..00000000 --- a/5836.9d9177a2f14062f5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5836],{5836:(B,f,n)=>{n.r(f),n.d(f,{ion_fab:()=>r,ion_fab_button:()=>k,ion_fab_list:()=>y});var h=n(5861),o=n(6541),l=n(4700),u=n(8635),d=n(3814),g=n(4896);const r=class{constructor(t){(0,o.r)(this,t),this.horizontal=void 0,this.vertical=void 0,this.edge=!1,this.activated=!1}activatedChanged(){const t=this.activated,a=this.getFab();a&&(a.activated=t),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(s=>{s.activated=t})}componentDidLoad(){this.activated&&this.activatedChanged()}close(){var t=this;return(0,h.Z)(function*(){t.activated=!1})()}getFab(){return this.el.querySelector("ion-fab-button")}toggle(){var t=this;return(0,h.Z)(function*(){t.el.querySelector("ion-fab-list")&&(t.activated=!t.activated)})()}render(){const{horizontal:t,vertical:a,edge:s}=this,c=(0,l.b)(this);return(0,o.h)(o.H,{key:"2960656845d8ab1d643e56870cfeefbceb44fb20",class:{[c]:!0,[`fab-horizontal-${t}`]:void 0!==t,[`fab-vertical-${a}`]:void 0!==a,"fab-edge":s}},(0,o.h)("slot",{key:"eed164a50594167959905a90d678d417bc99098d"}))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};r.style=":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";const k=class{constructor(t){(0,o.r)(this,t),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:a}=this;a&&a.toggle()},this.color=void 0,this.activated=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0,this.show=!1,this.translucent=!1,this.type="button",this.size=void 0,this.closeIcon=g.t}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=(0,u.i)(this.el)}render(){const{el:t,disabled:a,color:s,href:c,activated:m,show:A,translucent:w,size:_,inheritedAttributes:D}=this,z=(0,d.h)("ion-fab-list",t),C=(0,l.b)(this),E=void 0===c?"button":"a",M="button"===E?{type:this.type}:{download:this.download,href:c,rel:this.rel,target:this.target};return(0,o.h)(o.H,{key:"c6d1a3ea95ee1fb6c86447881ff8ed7d885b9fb5",onClick:this.onClick,"aria-disabled":a?"true":null,class:(0,d.c)(s,{[C]:!0,"fab-button-in-list":z,"fab-button-translucent-in-list":z&&w,"fab-button-close-active":m,"fab-button-show":A,"fab-button-disabled":a,"fab-button-translucent":w,"ion-activatable":!0,"ion-focusable":!0,[`fab-button-${_}`]:void 0!==_})},(0,o.h)(E,Object.assign({key:"d57e55e43e3e1fa7a255e25bfb9eb81a20200aa4"},M,{class:"button-native",part:"native",disabled:a,onFocus:this.onFocus,onBlur:this.onBlur,onClick:I=>(0,d.o)(c,I,this.routerDirection,this.routerAnimation)},D),(0,o.h)("ion-icon",{key:"561252585dc5f5ed260987fc8fef2558700b2700","aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),(0,o.h)("span",{key:"d156660a55d4d849c24368ee79217e66c6423b37",class:"button-inner"},(0,o.h)("slot",{key:"35d4507eec7e4f646e1ef9206b8d6c9fd5a43c37"})),"md"===C&&(0,o.h)("ion-ripple-effect",null)))}get el(){return(0,o.f)(this)}};k.style={ios:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}',md:':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #3880ff);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}'};const y=class{constructor(t){(0,o.r)(this,t),this.activated=!1,this.side="bottom"}activatedChanged(t){const a=Array.from(this.el.querySelectorAll("ion-fab-button")),s=t?30:0;a.forEach((c,m)=>{setTimeout(()=>c.show=t,m*s)})}render(){const t=(0,l.b)(this);return(0,o.h)(o.H,{key:"edbed7730aa2f177a6fb39a89af805b9699bc9ae",class:{[t]:!0,"fab-list-active":this.activated,[`fab-list-side-${this.side}`]:!0}},(0,o.h)("slot",{key:"3ecb467b6d09dc02a1ab3cb76403f7c56e8ec6b2"}))}get el(){return(0,o.f)(this)}static get watchers(){return{activated:["activatedChanged"]}}};y.style=":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}@supports (inset-inline-start: 0){:host(.fab-list-side-start){inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-start){right:0}:host-context([dir=rtl]):host(.fab-list-side-start),:host-context([dir=rtl]).fab-list-side-start{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){:host(.fab-list-side-start:dir(rtl)){left:unset;right:unset;left:0}}}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}@supports (inset-inline-start: 0){:host(.fab-list-side-end){inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.fab-list-side-end){left:0}:host-context([dir=rtl]):host(.fab-list-side-end),:host-context([dir=rtl]).fab-list-side-end{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.fab-list-side-end:dir(rtl)){left:unset;right:unset;right:0}}}"},3814:(B,f,n)=>{n.d(f,{c:()=>l,g:()=>d,h:()=>o,o:()=>x});var h=n(5861);const o=(i,r)=>null!==r.closest(i),l=(i,r)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},r):r,d=i=>{const r={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[])(i).forEach(e=>r[e]=!0),r},g=/^[a-z][a-z0-9+\-.]*:/,x=function(){var i=(0,h.Z)(function*(r,e,p,v){if(null!=r&&"#"!==r[0]&&!g.test(r)){const b=document.querySelector("ion-router");if(b)return e?.preventDefault(),b.push(r,p,v)}return!1});return function(e,p,v,b){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6120.3c95d80ea1c26c15.js b/6120.3c95d80ea1c26c15.js new file mode 100644 index 00000000..d01311f8 --- /dev/null +++ b/6120.3c95d80ea1c26c15.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6120],{6120:(z,C,c)=>{c.r(C),c.d(C,{ion_toast:()=>$});var y=c(5861),s=c(2477),T=c(7036),b=c(8635),A=c(7389),v=c(8909),h=c(7346),p=c(3814),l=c(7943),d=c(4963),k=c(2972),D=c(5067);c(3006),c(2889);const O=(t,e)=>Math.floor(t/2-e/2),K=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform","translateY(-100%)",`translateY(${i})`);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:o.fromTo("transform","translateY(100%)",`translateY(${u})`)}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(o)},F=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform",`translateY(${i})`,"translateY(-100%)");break;case"middle":o.fromTo("opacity",.99,0);break;default:o.fromTo("transform",`translateY(${u})`,"translateY(100%)")}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(o)},N=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":a.style.setProperty("transform",`translateY(${i})`),o.fromTo("opacity",.01,1);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:a.style.setProperty("transform",`translateY(${u})`),o.fromTo("opacity",.01,1)}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(o)},Z=t=>{const e=(0,d.c)(),n=(0,d.c)(),r=(0,b.g)(t).querySelector(".toast-wrapper");return n.addElement(r).fromTo("opacity",.99,0),e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},$=class{constructor(t){(0,s.r)(this,t),this.didPresent=(0,s.d)(this,"ionToastDidPresent",7),this.willPresent=(0,s.d)(this,"ionToastWillPresent",7),this.willDismiss=(0,s.d)(this,"ionToastWillDismiss",7),this.didDismiss=(0,s.d)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,s.d)(this,"didPresent",7),this.willPresentShorthand=(0,s.d)(this,"willPresent",7),this.willDismissShorthand=(0,s.d)(this,"willDismiss",7),this.didDismissShorthand=(0,s.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,A.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=l.c.get("innerHTMLTemplatesEnabled",T.E),this.presented=!1,this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.getButtons().find(r=>"cancel"===r.role);this.callButtonHandler(o)}},this.createSwipeGesture=e=>{(this.gesture=((t,e,n)=>{const o=(0,b.g)(t).querySelector(".toast-wrapper"),r=t.clientHeight,i=o.getBoundingClientRect();let u=0;const a="middle"===t.position?.5:0,g="top"===t.position?-1:1,x=O(r,i.height),j=[{offset:0,transform:`translateY(-${x+i.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${x+i.height}px)`}],f=(0,d.c)("toast-swipe-to-dismiss-animation").addElement(o).duration(100);switch(t.position){case"middle":u=r+i.height,f.keyframes(j),f.progressStart(!0,.5);break;case"top":u=i.bottom,f.keyframes([{offset:0,transform:`translateY(${e.top})`},{offset:1,transform:"translateY(-100%)"}]),f.progressStart(!0,0);break;default:u=r-i.top,f.keyframes([{offset:0,transform:`translateY(${e.bottom})`},{offset:1,transform:"translateY(100%)"}]),f.progressStart(!0,0)}const Y=w=>w*g/u,S=(0,D.createGesture)({el:o,gestureName:"toast-swipe-to-dismiss",gesturePriority:h.O,direction:"y",onMove:w=>{const M=a+Y(w.deltaY);f.progressStep(M)},onEnd:w=>{const M=w.velocityY,I=(w.deltaY+1e3*M)/u*g;S.enable(!1);let _=!0,B=1,E=0,L=0;if("middle"===t.position){_=I>=.25||I<=-.25,B=1,E=0;const R=o.getBoundingClientRect(),H=R.top-x,W=(x+R.height)*(w.deltaY<=0?-1:1);f.keyframes([{offset:0,transform:`translateY(${H}px)`},{offset:1,transform:`translateY(${_?`${W}px`:"0px"})`}]),L=W-H}else _=I>=.5,B=_?1:0,E=Y(w.deltaY),L=(_?1-E:E)*u;const ot=Math.min(Math.abs(L)/Math.abs(M),200);f.onFinish(()=>{_?(n(),f.destroy()):("middle"===t.position?f.keyframes(j).progressStart(!0,.5):f.progressStart(!0,0),S.enable(!0))},{oneTimeCallback:!0}).progressEnd(B,E,ot)}});return S})(this.el,e,()=>{this.dismiss(void 0,h.G)})).enable(!0)},this.destroySwipeGesture=()=>{const{gesture:e}=this;void 0!==e&&(e.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:e}=this;return"vertical"===e},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=l.c.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.positionAnchor=void 0,this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.swipeGesture=void 0,this.isOpen=!1,this.trigger=void 0}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:n}=this;t&&n.addClickListener(e,t)}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,h.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,b.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,y.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom();const{el:n,position:o}=t,i=function G(t,e,n,o){let r;if(r="md"===n?"top"===t?8:-8:"top"===t?10:-10,e&&k.w){!function U(t,e){null===t.offsetParent&&(0,v.p)("The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",e)}(e,o);const i=e.getBoundingClientRect();return"top"===t?r+=i.bottom:"bottom"===t&&(r-=k.w.innerHeight-i.top),{top:`${r}px`,bottom:`${r}px`}}return{top:`calc(${r}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${r}px - var(--ion-safe-area-bottom, 0px))`}}(o,t.getAnchorElement(),(0,l.b)(t),n);t.lastPresentedPosition=i,yield(0,h.f)(t,"toastEnter",K,N,{position:o,top:i.top,bottom:i.bottom}),t.revealContentToScreenReader=!0,t.duration>0&&(t.durationTimeout=setTimeout(()=>t.dismiss(void 0,"timeout"),t.duration)),t.prefersSwipeGesture()&&t.createSwipeGesture(i),e()})()}dismiss(t,e){var n=this;return(0,y.Z)(function*(){var o,r;const i=yield n.lockController.lock(),{durationTimeout:u,position:m,lastPresentedPosition:a}=n;u&&clearTimeout(u);const g=yield(0,h.g)(n,t,e,"toastLeave",F,Z,{position:m,top:null!==(o=a?.top)&&void 0!==o?o:"",bottom:null!==(r=a?.bottom)&&void 0!==r?r:""});return g&&(n.delegateController.removeViewFromDom(),n.revealContentToScreenReader=!1),n.lastPresentedPosition=void 0,n.destroySwipeGesture(),i(),g})()}onDidDismiss(){return(0,h.h)(this.el,"ionToastDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(e=>"string"==typeof e?{text:e}:e):[]}getAnchorElement(){const{position:t,positionAnchor:e,el:n}=this;if(void 0!==e){if("middle"===t&&void 0!==e)return void(0,v.p)('The positionAnchor property is ignored when using position="middle".',this.el);if("string"==typeof e){const o=document.getElementById(e);return null===o?void(0,v.p)(`An anchor element with an ID of "${e}" was not found in the DOM.`,n):o}if(e instanceof HTMLElement)return e;(0,v.p)("Invalid positionAnchor value:",e,n)}}buttonClick(t){var e=this;return(0,y.Z)(function*(){const n=t.role;return(0,h.i)(n)||(yield e.callButtonHandler(t))?e.dismiss(void 0,n):Promise.resolve()})()}callButtonHandler(t){return(0,y.Z)(function*(){if(t?.handler)try{if(!1===(yield(0,h.s)(t.handler)))return!1}catch(e){console.error(e)}return!0})()}renderButtons(t,e){if(0===t.length)return;const n=(0,l.b)(this);return(0,s.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${e}`]:!0}},t.map(r=>(0,s.h)("button",Object.assign({},r.htmlAttributes,{type:"button",class:Q(r),tabIndex:0,onClick:()=>this.buttonClick(r),part:q(r)}),(0,s.h)("div",{class:"toast-button-inner"},r.icon&&(0,s.h)("ion-icon",{"aria-hidden":"true",icon:r.icon,slot:void 0===r.text?"icon-only":void 0,class:"toast-button-icon"}),r.text),"md"===n&&(0,s.h)("ion-ripple-effect",{type:void 0!==r.icon&&void 0===r.text?"unbounded":"bounded"}))))}renderToastMessage(t,e=null){const{customHTMLEnabled:n,message:o}=this;return n?(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message",innerHTML:(0,T.a)(o)}):(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message"},o)}renderHeader(t,e=null){return(0,s.h)("div",{key:t,class:"toast-header","aria-hidden":e,part:"header"},this.header)}render(){const{layout:t,el:e,revealContentToScreenReader:n,header:o,message:r}=this,i=this.getButtons(),u=i.filter(x=>"start"===x.side),m=i.filter(x=>"start"!==x.side),a=(0,l.b)(this),g={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${t}`]:!0};return"stacked"===t&&u.length>0&&m.length>0&&(0,v.p)("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",e),(0,s.h)(s.H,Object.assign({key:"23803334fb668f6ce7044d3a321cb84bc753bd16",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:(0,p.c)(this.color,Object.assign(Object.assign({[a]:!0},(0,p.g)(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,s.h)("div",{key:"7cd7138ba079fccf97f318b91e9986491ab4214d",class:g},(0,s.h)("div",{key:"93b78fa64e24435adeb77a04c1d1d53d2f093864",class:"toast-container",part:"container"},this.renderButtons(u,"start"),void 0!==this.icon&&(0,s.h)("ion-icon",{key:"9a3c71b164ebcfba2540acb7568beffa76b62f47",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,s.h)("div",{key:"feb9268102d844f1314205f7440de7066cf0620e",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!n&&void 0!==o&&this.renderHeader("oldHeader","true"),!n&&void 0!==r&&this.renderToastMessage("oldMessage","true"),n&&void 0!==o&&this.renderHeader("header"),n&&void 0!==r&&this.renderToastMessage("header")),this.renderButtons(m,"end"))))}get el(){return(0,s.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Q=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},(0,p.g)(t.cssClass)),q=t=>(0,h.i)(t.role)?"button cancel":"button";$.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{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)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}},3814:(z,C,c)=>{c.d(C,{c:()=>T,g:()=>A,h:()=>s,o:()=>h});var y=c(5861);const s=(p,l)=>null!==l.closest(p),T=(p,l)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},l):l,A=p=>{const l={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(p).forEach(d=>l[d]=!0),l},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var p=(0,y.Z)(function*(l,d,k,D){if(null!=l&&"#"!==l[0]&&!v.test(l)){const P=document.querySelector("ion-router");if(P)return d?.preventDefault(),P.push(l,k,D)}return!1});return function(d,k,D,P){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6120.bf9e34a35e5b1e95.js b/6120.bf9e34a35e5b1e95.js deleted file mode 100644 index a987747d..00000000 --- a/6120.bf9e34a35e5b1e95.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6120],{6120:(z,C,c)=>{c.r(C),c.d(C,{ion_toast:()=>$});var y=c(5861),s=c(6541),T=c(7036),b=c(8635),A=c(7389),v=c(8909),h=c(4393),p=c(3814),l=c(4700),d=c(4963),k=c(2972),D=c(5067);c(9019),c(2889);const O=(t,e)=>Math.floor(t/2-e/2),K=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform","translateY(-100%)",`translateY(${i})`);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:o.fromTo("transform","translateY(100%)",`translateY(${u})`)}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(o)},F=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":o.fromTo("transform",`translateY(${i})`,"translateY(-100%)");break;case"middle":o.fromTo("opacity",.99,0);break;default:o.fromTo("transform",`translateY(${u})`,"translateY(100%)")}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(o)},N=(t,e)=>{const n=(0,d.c)(),o=(0,d.c)(),{position:r,top:i,bottom:u}=e,a=(0,b.g)(t).querySelector(".toast-wrapper");switch(o.addElement(a),r){case"top":a.style.setProperty("transform",`translateY(${i})`),o.fromTo("opacity",.01,1);break;case"middle":const g=O(t.clientHeight,a.clientHeight);a.style.top=`${g}px`,o.fromTo("opacity",.01,1);break;default:a.style.setProperty("transform",`translateY(${u})`),o.fromTo("opacity",.01,1)}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(o)},Z=t=>{const e=(0,d.c)(),n=(0,d.c)(),r=(0,b.g)(t).querySelector(".toast-wrapper");return n.addElement(r).fromTo("opacity",.99,0),e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},$=class{constructor(t){(0,s.r)(this,t),this.didPresent=(0,s.d)(this,"ionToastDidPresent",7),this.willPresent=(0,s.d)(this,"ionToastWillPresent",7),this.willDismiss=(0,s.d)(this,"ionToastWillDismiss",7),this.didDismiss=(0,s.d)(this,"ionToastDidDismiss",7),this.didPresentShorthand=(0,s.d)(this,"didPresent",7),this.willPresentShorthand=(0,s.d)(this,"willPresent",7),this.willDismissShorthand=(0,s.d)(this,"willDismiss",7),this.didDismissShorthand=(0,s.d)(this,"didDismiss",7),this.delegateController=(0,h.d)(this),this.lockController=(0,A.c)(),this.triggerController=(0,h.e)(),this.customHTMLEnabled=l.c.get("innerHTMLTemplatesEnabled",T.E),this.presented=!1,this.dispatchCancelHandler=e=>{if((0,h.i)(e.detail.role)){const o=this.getButtons().find(r=>"cancel"===r.role);this.callButtonHandler(o)}},this.createSwipeGesture=e=>{(this.gesture=((t,e,n)=>{const o=(0,b.g)(t).querySelector(".toast-wrapper"),r=t.clientHeight,i=o.getBoundingClientRect();let u=0;const a="middle"===t.position?.5:0,g="top"===t.position?-1:1,x=O(r,i.height),j=[{offset:0,transform:`translateY(-${x+i.height}px)`},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:`translateY(${x+i.height}px)`}],f=(0,d.c)("toast-swipe-to-dismiss-animation").addElement(o).duration(100);switch(t.position){case"middle":u=r+i.height,f.keyframes(j),f.progressStart(!0,.5);break;case"top":u=i.bottom,f.keyframes([{offset:0,transform:`translateY(${e.top})`},{offset:1,transform:"translateY(-100%)"}]),f.progressStart(!0,0);break;default:u=r-i.top,f.keyframes([{offset:0,transform:`translateY(${e.bottom})`},{offset:1,transform:"translateY(100%)"}]),f.progressStart(!0,0)}const Y=w=>w*g/u,S=(0,D.createGesture)({el:o,gestureName:"toast-swipe-to-dismiss",gesturePriority:h.O,direction:"y",onMove:w=>{const M=a+Y(w.deltaY);f.progressStep(M)},onEnd:w=>{const M=w.velocityY,I=(w.deltaY+1e3*M)/u*g;S.enable(!1);let _=!0,B=1,E=0,L=0;if("middle"===t.position){_=I>=.25||I<=-.25,B=1,E=0;const R=o.getBoundingClientRect(),H=R.top-x,W=(x+R.height)*(w.deltaY<=0?-1:1);f.keyframes([{offset:0,transform:`translateY(${H}px)`},{offset:1,transform:`translateY(${_?`${W}px`:"0px"})`}]),L=W-H}else _=I>=.5,B=_?1:0,E=Y(w.deltaY),L=(_?1-E:E)*u;const ot=Math.min(Math.abs(L)/Math.abs(M),200);f.onFinish(()=>{_?(n(),f.destroy()):("middle"===t.position?f.keyframes(j).progressStart(!0,.5):f.progressStart(!0,0),S.enable(!0))},{oneTimeCallback:!0}).progressEnd(B,E,ot)}});return S})(this.el,e,()=>{this.dismiss(void 0,h.G)})).enable(!0)},this.destroySwipeGesture=()=>{const{gesture:e}=this;void 0!==e&&(e.destroy(),this.gesture=void 0)},this.prefersSwipeGesture=()=>{const{swipeGesture:e}=this;return"vertical"===e},this.revealContentToScreenReader=!1,this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.color=void 0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.cssClass=void 0,this.duration=l.c.getNumber("toastDuration",0),this.header=void 0,this.layout="baseline",this.message=void 0,this.keyboardClose=!1,this.position="bottom",this.positionAnchor=void 0,this.buttons=void 0,this.translucent=!1,this.animated=!0,this.icon=void 0,this.htmlAttributes=void 0,this.swipeGesture=void 0,this.isOpen=!1,this.trigger=void 0}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}triggerChanged(){const{trigger:t,el:e,triggerController:n}=this;t&&n.addClickListener(e,t)}connectedCallback(){(0,h.j)(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){(0,h.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,b.r)(()=>this.present()),this.triggerChanged()}present(){var t=this;return(0,y.Z)(function*(){const e=yield t.lockController.lock();yield t.delegateController.attachViewToDom();const{el:n,position:o}=t,i=function G(t,e,n,o){let r;if(r="md"===n?"top"===t?8:-8:"top"===t?10:-10,e&&k.w){!function U(t,e){null===t.offsetParent&&(0,v.p)("The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.",e)}(e,o);const i=e.getBoundingClientRect();return"top"===t?r+=i.bottom:"bottom"===t&&(r-=k.w.innerHeight-i.top),{top:`${r}px`,bottom:`${r}px`}}return{top:`calc(${r}px + var(--ion-safe-area-top, 0px))`,bottom:`calc(${r}px - var(--ion-safe-area-bottom, 0px))`}}(o,t.getAnchorElement(),(0,l.b)(t),n);t.lastPresentedPosition=i,yield(0,h.f)(t,"toastEnter",K,N,{position:o,top:i.top,bottom:i.bottom}),t.revealContentToScreenReader=!0,t.duration>0&&(t.durationTimeout=setTimeout(()=>t.dismiss(void 0,"timeout"),t.duration)),t.prefersSwipeGesture()&&t.createSwipeGesture(i),e()})()}dismiss(t,e){var n=this;return(0,y.Z)(function*(){var o,r;const i=yield n.lockController.lock(),{durationTimeout:u,position:m,lastPresentedPosition:a}=n;u&&clearTimeout(u);const g=yield(0,h.g)(n,t,e,"toastLeave",F,Z,{position:m,top:null!==(o=a?.top)&&void 0!==o?o:"",bottom:null!==(r=a?.bottom)&&void 0!==r?r:""});return g&&(n.delegateController.removeViewFromDom(),n.revealContentToScreenReader=!1),n.lastPresentedPosition=void 0,n.destroySwipeGesture(),i(),g})()}onDidDismiss(){return(0,h.h)(this.el,"ionToastDidDismiss")}onWillDismiss(){return(0,h.h)(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(e=>"string"==typeof e?{text:e}:e):[]}getAnchorElement(){const{position:t,positionAnchor:e,el:n}=this;if(void 0!==e){if("middle"===t&&void 0!==e)return void(0,v.p)('The positionAnchor property is ignored when using position="middle".',this.el);if("string"==typeof e){const o=document.getElementById(e);return null===o?void(0,v.p)(`An anchor element with an ID of "${e}" was not found in the DOM.`,n):o}if(e instanceof HTMLElement)return e;(0,v.p)("Invalid positionAnchor value:",e,n)}}buttonClick(t){var e=this;return(0,y.Z)(function*(){const n=t.role;return(0,h.i)(n)||(yield e.callButtonHandler(t))?e.dismiss(void 0,n):Promise.resolve()})()}callButtonHandler(t){return(0,y.Z)(function*(){if(t?.handler)try{if(!1===(yield(0,h.s)(t.handler)))return!1}catch(e){console.error(e)}return!0})()}renderButtons(t,e){if(0===t.length)return;const n=(0,l.b)(this);return(0,s.h)("div",{class:{"toast-button-group":!0,[`toast-button-group-${e}`]:!0}},t.map(r=>(0,s.h)("button",Object.assign({},r.htmlAttributes,{type:"button",class:Q(r),tabIndex:0,onClick:()=>this.buttonClick(r),part:q(r)}),(0,s.h)("div",{class:"toast-button-inner"},r.icon&&(0,s.h)("ion-icon",{"aria-hidden":"true",icon:r.icon,slot:void 0===r.text?"icon-only":void 0,class:"toast-button-icon"}),r.text),"md"===n&&(0,s.h)("ion-ripple-effect",{type:void 0!==r.icon&&void 0===r.text?"unbounded":"bounded"}))))}renderToastMessage(t,e=null){const{customHTMLEnabled:n,message:o}=this;return n?(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message",innerHTML:(0,T.a)(o)}):(0,s.h)("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message"},o)}renderHeader(t,e=null){return(0,s.h)("div",{key:t,class:"toast-header","aria-hidden":e,part:"header"},this.header)}render(){const{layout:t,el:e,revealContentToScreenReader:n,header:o,message:r}=this,i=this.getButtons(),u=i.filter(x=>"start"===x.side),m=i.filter(x=>"start"!==x.side),a=(0,l.b)(this),g={"toast-wrapper":!0,[`toast-${this.position}`]:!0,[`toast-layout-${t}`]:!0};return"stacked"===t&&u.length>0&&m.length>0&&(0,v.p)("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",e),(0,s.h)(s.H,Object.assign({key:"f01e1dd2f7cc0680a24f6aa4ee3f677f86d255f4",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:(0,p.c)(this.color,Object.assign(Object.assign({[a]:!0},(0,p.g)(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,s.h)("div",{key:"603468c5e6abfb284df3fcdfa33c4f45d899fb2a",class:g},(0,s.h)("div",{key:"0eebff71a0caf3bece4d042199cbf9226251a1a0",class:"toast-container",part:"container"},this.renderButtons(u,"start"),void 0!==this.icon&&(0,s.h)("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,s.h)("div",{key:"a84a9b0c0b719f588aa1ace4ef822bb105578c29",class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!n&&void 0!==o&&this.renderHeader("oldHeader","true"),!n&&void 0!==r&&this.renderToastMessage("oldMessage","true"),n&&void 0!==o&&this.renderHeader("header"),n&&void 0!==r&&this.renderToastMessage("header")),this.renderButtons(m,"end"))))}get el(){return(0,s.f)(this)}static get watchers(){return{swipeGesture:["swipeGestureChanged"],isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},Q=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},(0,p.g)(t.cssClass)),q=t=>(0,h.i)(t.role)?"button cancel":"button";$.style={ios:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{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)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",md:":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}},3814:(z,C,c)=>{c.d(C,{c:()=>T,g:()=>A,h:()=>s,o:()=>h});var y=c(5861);const s=(p,l)=>null!==l.closest(p),T=(p,l)=>"string"==typeof p&&p.length>0?Object.assign({"ion-color":!0,[`ion-color-${p}`]:!0},l):l,A=p=>{const l={};return(p=>void 0!==p?(Array.isArray(p)?p:p.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(p).forEach(d=>l[d]=!0),l},v=/^[a-z][a-z0-9+\-.]*:/,h=function(){var p=(0,y.Z)(function*(l,d,k,D){if(null!=l&&"#"!==l[0]&&!v.test(l)){const P=document.querySelector("ion-router");if(P)return d?.preventDefault(),P.push(l,k,D)}return!1});return function(d,k,D,P){return p.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/6560.0b7cb0507ffcc3ff.js b/6560.02dd0a02f1f1e231.js similarity index 99% rename from 6560.0b7cb0507ffcc3ff.js rename to 6560.02dd0a02f1f1e231.js index 3ec2c540..b19602b4 100644 --- a/6560.0b7cb0507ffcc3ff.js +++ b/6560.02dd0a02f1f1e231.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6560],{6560:(E,x,n)=>{n.r(x),n.d(x,{ion_textarea:()=>y});var p=n(5861),a=n(6541),b=n(5437),u=n(9980),c=n(8635),f=n(8909),h=n(118),r=n(3814),o=n(4700);n(2972);const y=class{constructor(t){(0,a.r)(this,t),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionInput=(0,a.d)(this,"ionInput",7),this.ionStyle=(0,a.d)(this,"ionStyle",7),this.ionBlur=(0,a.d)(this,"ionBlur",7),this.ionFocus=(0,a.d)(this,"ionFocus",7),this.inputId="ion-textarea-"+O++,this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onInput=e=>{const i=e.target;i&&(this.value=i.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.focusChange(),this.ionFocus.emit(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusChange(),this.focusedValue!==this.value&&this.emitValueChange(e),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(e)},this.onKeyDown=e=>{this.checkClearOnEdit(e)},this.hasFocus=!1,this.color=void 0,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=void 0,this.disabled=!1,this.fill=void 0,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.autoGrow=!1,this.value="",this.counter=!1,this.counterFormatter=void 0,this.errorText=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.shape=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:i}=this;this.ionInput=void 0===e?i??t:(0,c.j)(t,e)}disabledChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle()}connectedCallback(){const{el:t}=this;this.legacyFormController=(0,b.c)(t),this.slotMutationController=(0,h.c)(t,["label","start","end"],()=>(0,a.i)(this)),this.notchController=(0,u.c)(t,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:t}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,c.i)(this.el)),(0,c.k)(this.el,["data-form-type","title","tabindex"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var t;null===(t=this.notchController)||void 0===t||t.calculateNotchWidth()}setFocus(){var t=this;return(0,p.Z)(function*(){t.nativeInput&&t.nativeInput.focus()})()}getInputElement(){var t=this;return(0,p.Z)(function*(){return t.nativeInput||(yield new Promise(e=>(0,c.c)(t.el,e))),Promise.resolve(t.nativeInput)})()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,legacy:!!this.legacy})}emitValueChange(t){const{value:e}=this,i=null==e?e:e.toString();this.focusedValue=i,this.ionChange.emit({value:i,event:t})}emitInputChange(t){const{value:e}=this;this.ionInput.emit({value:e,event:t})}runAutoGrow(){this.nativeInput&&this.autoGrow&&(0,a.w)(()=>{var t;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(t=this.value)&&void 0!==t?t:"")})}checkClearOnEdit(t){if(!this.clearOnEdit)return;const i=["Tab","Shift","Meta","Alt","Control"].includes(t.key);!this.didTextareaClearOnEdit&&this.hasValue()&&!i&&(this.value="",this.emitInputChange(t)),i||(this.didTextareaClearOnEdit=!0)}focusChange(){this.emitStyle()}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLegacyTextarea(){this.hasLoggedDeprecationWarning||((0,f.p)('ion-textarea now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor textareas that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the textarea by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.hasLoggedDeprecationWarning=!0);const t=(0,o.b)(this),e=this.getValue(),i=this.inputId+"-lbl",s=(0,c.h)(this.el);return s&&(s.id=i),(0,a.h)(a.H,{"aria-disabled":this.disabled?"true":null,class:(0,r.c)(this.color,{[t]:!0,"legacy-textarea":!0})},(0,a.h)("div",{class:"textarea-legacy-wrapper",ref:d=>this.textareaWrapper=d},(0,a.h)("textarea",Object.assign({class:"native-textarea","aria-labelledby":s?s.id:null,ref:d=>this.nativeInput=d,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),e)))}renderLabel(){const{label:t}=this;return(0,a.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===t?(0,a.h)("slot",{name:"label"}):(0,a.h)("div",{class:"label-text"},t))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,o.b)(this)&&"outline"===this.fill?[(0,a.h)("div",{class:"textarea-outline-container"},(0,a.h)("div",{class:"textarea-outline-start"}),(0,a.h)("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},(0,a.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),(0,a.h)("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:t,errorText:e}=this;return[(0,a.h)("div",{class:"helper-text"},t),(0,a.h)("div",{class:"error-text"},e)]}renderCounter(){const{counter:t,maxlength:e,counterFormatter:i,value:s}=this;if(!0===t&&void 0!==e)return(0,a.h)("div",{class:"counter"},(0,h.g)(s,e,i))}renderBottomContent(){const{counter:t,helperText:e,errorText:i,maxlength:s}=this;if(e||i||!0===t&&void 0!==s)return(0,a.h)("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}renderTextarea(){const{inputId:t,disabled:e,fill:i,shape:s,labelPlacement:d,el:k,hasFocus:_}=this,C=(0,o.b)(this),D=this.getValue(),T=(0,r.h)("ion-item",this.el),L="md"===C&&"outline"!==i&&!T,z=this.hasValue(),M=null!==k.querySelector('[slot="start"], [slot="end"]');return(0,a.h)(a.H,{class:(0,r.c)(this.color,{[C]:!0,"has-value":z,"has-focus":_,"label-floating":"stacked"===d||"floating"===d&&(z||_||M),[`textarea-fill-${i}`]:void 0!==i,[`textarea-shape-${s}`]:void 0!==s,[`textarea-label-placement-${d}`]:!0,"textarea-disabled":e})},(0,a.h)("label",{class:"textarea-wrapper",htmlFor:t},this.renderLabelContainer(),(0,a.h)("div",{class:"textarea-wrapper-inner"},(0,a.h)("div",{class:"start-slot-wrapper"},(0,a.h)("slot",{name:"start"})),(0,a.h)("div",{class:"native-wrapper",ref:v=>this.textareaWrapper=v},(0,a.h)("textarea",Object.assign({class:"native-textarea",ref:v=>this.nativeInput=v,id:t,disabled:e,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,minLength:this.minlength,maxLength:this.maxlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),D)),(0,a.h)("div",{class:"end-slot-wrapper"},(0,a.h)("slot",{name:"end"}))),L&&(0,a.h)("div",{class:"textarea-highlight"})),this.renderBottomContent())}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyTextarea():this.renderTextarea()}get el(){return(0,a.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}};let O=0;y.style={ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.label-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ios,.end-slot-wrapper.sc-ion-textarea-ios{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-s>[slot=end]{margin-top:0}.sc-ion-textarea-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}',md:'.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-md-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-md-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-md-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}.sc-ion-textarea-md-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{white-space:inherit}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md,.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md,.textarea-legacy-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after,.textarea-legacy-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-md{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.label-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-md,.end-slot-wrapper.sc-ion-textarea-md{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-s>[slot=end]{margin-top:0}.sc-ion-textarea-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-solid.sc-ion-textarea-md-h:dir(rtl) .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.textarea-fill-solid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:2px;--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:12px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea[disabled].sc-ion-textarea-md,.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl].in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-textarea-md-h:dir(rtl) .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}}}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}.sc-ion-textarea-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}'}},3814:(E,x,n)=>{n.d(x,{c:()=>b,g:()=>c,h:()=>a,o:()=>h});var p=n(5861);const a=(r,o)=>null!==o.closest(r),b=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,c=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(r).forEach(l=>o[l]=!0),o},f=/^[a-z][a-z0-9+\-.]*:/,h=function(){var r=(0,p.Z)(function*(o,l,w,m){if(null!=o&&"#"!==o[0]&&!f.test(o)){const g=document.querySelector("ion-router");if(g)return l?.preventDefault(),g.push(o,w,m)}return!1});return function(l,w,m,g){return r.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6560],{6560:(E,x,n)=>{n.r(x),n.d(x,{ion_textarea:()=>y});var p=n(5861),a=n(2477),b=n(5437),u=n(9980),c=n(8635),f=n(8909),h=n(118),r=n(3814),o=n(7943);n(2972);const y=class{constructor(t){(0,a.r)(this,t),this.ionChange=(0,a.d)(this,"ionChange",7),this.ionInput=(0,a.d)(this,"ionInput",7),this.ionStyle=(0,a.d)(this,"ionStyle",7),this.ionBlur=(0,a.d)(this,"ionBlur",7),this.ionFocus=(0,a.d)(this,"ionFocus",7),this.inputId="ion-textarea-"+O++,this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.onInput=e=>{const i=e.target;i&&(this.value=i.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.focusChange(),this.ionFocus.emit(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusChange(),this.focusedValue!==this.value&&this.emitValueChange(e),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(e)},this.onKeyDown=e=>{this.checkClearOnEdit(e)},this.hasFocus=!1,this.color=void 0,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.debounce=void 0,this.disabled=!1,this.fill=void 0,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder=void 0,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.cols=void 0,this.rows=void 0,this.wrap=void 0,this.autoGrow=!1,this.value="",this.counter=!1,this.counterFormatter=void 0,this.errorText=void 0,this.helperText=void 0,this.label=void 0,this.labelPlacement="start",this.legacy=void 0,this.shape=void 0}debounceChanged(){const{ionInput:t,debounce:e,originalIonInput:i}=this;this.ionInput=void 0===e?i??t:(0,c.j)(t,e)}disabledChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.runAutoGrow(),this.emitStyle()}connectedCallback(){const{el:t}=this;this.legacyFormController=(0,b.c)(t),this.slotMutationController=(0,h.c)(t,["label","start","end"],()=>(0,a.i)(this)),this.notchController=(0,u.c)(t,()=>this.notchSpacerEl,()=>this.labelSlot),this.emitStyle(),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:t}))}disconnectedCallback(){document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el})),this.slotMutationController&&(this.slotMutationController.destroy(),this.slotMutationController=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,c.i)(this.el)),(0,c.k)(this.el,["data-form-type","title","tabindex"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var t;null===(t=this.notchController)||void 0===t||t.calculateNotchWidth()}setFocus(){var t=this;return(0,p.Z)(function*(){t.nativeInput&&t.nativeInput.focus()})()}getInputElement(){var t=this;return(0,p.Z)(function*(){return t.nativeInput||(yield new Promise(e=>(0,c.c)(t.el,e))),Promise.resolve(t.nativeInput)})()}emitStyle(){this.legacyFormController.hasLegacyControl()&&this.ionStyle.emit({interactive:!0,textarea:!0,input:!0,"interactive-disabled":this.disabled,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,legacy:!!this.legacy})}emitValueChange(t){const{value:e}=this,i=null==e?e:e.toString();this.focusedValue=i,this.ionChange.emit({value:i,event:t})}emitInputChange(t){const{value:e}=this;this.ionInput.emit({value:e,event:t})}runAutoGrow(){this.nativeInput&&this.autoGrow&&(0,a.w)(()=>{var t;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(t=this.value)&&void 0!==t?t:"")})}checkClearOnEdit(t){if(!this.clearOnEdit)return;const i=["Tab","Shift","Meta","Alt","Control"].includes(t.key);!this.didTextareaClearOnEdit&&this.hasValue()&&!i&&(this.value="",this.emitInputChange(t)),i||(this.didTextareaClearOnEdit=!0)}focusChange(){this.emitStyle()}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLegacyTextarea(){this.hasLoggedDeprecationWarning||((0,f.p)('ion-textarea now requires providing a label with either the "label" property or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the "label" property or the "aria-label" attribute.\n\nExample: \nExample with aria-label: \n\nFor textareas that do not render the label immediately next to the input, developers may continue to use "ion-label" but must manually associate the label with the textarea by using "aria-labelledby".\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.hasLoggedDeprecationWarning=!0);const t=(0,o.b)(this),e=this.getValue(),i=this.inputId+"-lbl",s=(0,c.h)(this.el);return s&&(s.id=i),(0,a.h)(a.H,{"aria-disabled":this.disabled?"true":null,class:(0,r.c)(this.color,{[t]:!0,"legacy-textarea":!0})},(0,a.h)("div",{class:"textarea-legacy-wrapper",ref:d=>this.textareaWrapper=d},(0,a.h)("textarea",Object.assign({class:"native-textarea","aria-labelledby":s?s.id:null,ref:d=>this.nativeInput=d,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,disabled:this.disabled,maxLength:this.maxlength,minLength:this.minlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),e)))}renderLabel(){const{label:t}=this;return(0,a.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===t?(0,a.h)("slot",{name:"label"}):(0,a.h)("div",{class:"label-text"},t))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===(0,o.b)(this)&&"outline"===this.fill?[(0,a.h)("div",{class:"textarea-outline-container"},(0,a.h)("div",{class:"textarea-outline-start"}),(0,a.h)("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},(0,a.h)("div",{class:"notch-spacer","aria-hidden":"true",ref:i=>this.notchSpacerEl=i},this.label)),(0,a.h)("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:t,errorText:e}=this;return[(0,a.h)("div",{class:"helper-text"},t),(0,a.h)("div",{class:"error-text"},e)]}renderCounter(){const{counter:t,maxlength:e,counterFormatter:i,value:s}=this;if(!0===t&&void 0!==e)return(0,a.h)("div",{class:"counter"},(0,h.g)(s,e,i))}renderBottomContent(){const{counter:t,helperText:e,errorText:i,maxlength:s}=this;if(e||i||!0===t&&void 0!==s)return(0,a.h)("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}renderTextarea(){const{inputId:t,disabled:e,fill:i,shape:s,labelPlacement:d,el:k,hasFocus:_}=this,C=(0,o.b)(this),D=this.getValue(),T=(0,r.h)("ion-item",this.el),L="md"===C&&"outline"!==i&&!T,z=this.hasValue(),M=null!==k.querySelector('[slot="start"], [slot="end"]');return(0,a.h)(a.H,{class:(0,r.c)(this.color,{[C]:!0,"has-value":z,"has-focus":_,"label-floating":"stacked"===d||"floating"===d&&(z||_||M),[`textarea-fill-${i}`]:void 0!==i,[`textarea-shape-${s}`]:void 0!==s,[`textarea-label-placement-${d}`]:!0,"textarea-disabled":e})},(0,a.h)("label",{class:"textarea-wrapper",htmlFor:t},this.renderLabelContainer(),(0,a.h)("div",{class:"textarea-wrapper-inner"},(0,a.h)("div",{class:"start-slot-wrapper"},(0,a.h)("slot",{name:"start"})),(0,a.h)("div",{class:"native-wrapper",ref:v=>this.textareaWrapper=v},(0,a.h)("textarea",Object.assign({class:"native-textarea",ref:v=>this.nativeInput=v,id:t,disabled:e,autoCapitalize:this.autocapitalize,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,minLength:this.minlength,maxLength:this.maxlength,name:this.name,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,cols:this.cols,rows:this.rows,wrap:this.wrap,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeyDown},this.inheritedAttributes),D)),(0,a.h)("div",{class:"end-slot-wrapper"},(0,a.h)("slot",{name:"end"}))),L&&(0,a.h)("div",{class:"textarea-highlight"})),this.renderBottomContent())}render(){const{legacyFormController:t}=this;return t.hasLegacyControl()?this.renderLegacyTextarea():this.renderTextarea()}get el(){return(0,a.f)(this)}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],value:["valueChanged"]}}};let O=0;y.style={ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-ios-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-ios-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-ios-h{color:var(--ion-color-base)}.sc-ion-textarea-ios-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-ios-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{white-space:inherit}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios,.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-ios-h .textarea-legacy-wrapper.sc-ion-textarea-ios::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-ios{left:0}[dir=rtl].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-ios .cloned-input.sc-ion-textarea-ios{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-ios:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios,.textarea-legacy-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after,.textarea-legacy-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.label-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ios,.end-slot-wrapper.sc-ion-textarea-ios{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-s>[slot=end]{margin-top:0}.sc-ion-textarea-ios-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-ios-h{--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:0}.item-label-stacked.sc-ion-textarea-ios-h,.item-label-stacked .sc-ion-textarea-ios-h,.item-label-floating.sc-ion-textarea-ios-h,.item-label-floating .sc-ion-textarea-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.legacy-textarea.sc-ion-textarea-ios-h .native-textarea[disabled].sc-ion-textarea-ios,.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}',md:'.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.sc-ion-textarea-md-h:not(.legacy-textarea){min-height:44px}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-md-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.legacy-textarea.sc-ion-textarea-md-h{-ms-flex:1;flex:1;background:var(--background);white-space:pre-wrap}.legacy-textarea.ion-color.sc-ion-textarea-md-h{color:var(--ion-color-base)}.sc-ion-textarea-md-h:not(.legacy-textarea){--padding-bottom:8px}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item.sc-ion-textarea-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-textarea-md-h{--padding-start:0}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{white-space:inherit}.legacy-textarea.sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md,.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.legacy-textarea.sc-ion-textarea-md-h .textarea-legacy-wrapper.sc-ion-textarea-md::after{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{top:0;bottom:0;position:absolute;pointer-events:none}@supports (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.cloned-input.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .cloned-input.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.cloned-input.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}.legacy-textarea[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-textarea-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-textarea-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-textarea-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md,.textarea-legacy-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after,.textarea-legacy-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-md{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-550, #737373)}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.label-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-md,.end-slot-wrapper.sc-ion-textarea-md{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-s>[slot=end]{margin-top:0}.sc-ion-textarea-md-s>[slot=start]{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, #f2f2f2);--border-color:var(--ion-color-step-500, gray);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, #e6e6e6);--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, #d9d9d9);--border-color:var(--ion-color-step-750, #404040)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-solid.sc-ion-textarea-md-h:dir(rtl) .textarea-wrapper.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0px;border-bottom-left-radius:0px}}.label-floating.textarea-fill-solid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, #b3b3b3);--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, #404040)}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:2px;--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(\n (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75\n )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:12px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-start.sc-ion-textarea-md{border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px}}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-top-left-radius:0px;border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom-left-radius:0px;-ms-flex-positive:1;flex-grow:1}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}@supports selector(:dir(rtl)){.textarea-fill-outline.sc-ion-textarea-md-h:dir(rtl) .textarea-outline-end.sc-ion-textarea-md{border-top-left-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:var(--border-radius)}}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;font-size:inherit}.legacy-textarea.sc-ion-textarea-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:11px;--padding-start:8px;margin-left:0;margin-right:0;margin-top:8px;margin-bottom:0}.item-label-stacked.sc-ion-textarea-md-h,.item-label-stacked .sc-ion-textarea-md-h,.item-label-floating.sc-ion-textarea-md-h,.item-label-floating .sc-ion-textarea-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.legacy-textarea.sc-ion-textarea-md-h .native-textarea[disabled].sc-ion-textarea-md,.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:2px;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}@supports (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}[dir=rtl].sc-ion-textarea-md .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.textarea-highlight.sc-ion-textarea-md:dir(rtl){left:unset;right:unset;right:0}}}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}@supports (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}}@supports not (inset-inline-start: 0){.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:0}[dir=rtl].sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl].in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md,[dir=rtl] .in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){.in-item.sc-ion-textarea-md-h:dir(rtl) .textarea-highlight.sc-ion-textarea-md{left:unset;right:unset;right:0}}}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}.sc-ion-textarea-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}'}},3814:(E,x,n)=>{n.d(x,{c:()=>b,g:()=>c,h:()=>a,o:()=>h});var p=n(5861);const a=(r,o)=>null!==o.closest(r),b=(r,o)=>"string"==typeof r&&r.length>0?Object.assign({"ion-color":!0,[`ion-color-${r}`]:!0},o):o,c=r=>{const o={};return(r=>void 0!==r?(Array.isArray(r)?r:r.split(" ")).filter(l=>null!=l).map(l=>l.trim()).filter(l=>""!==l):[])(r).forEach(l=>o[l]=!0),o},f=/^[a-z][a-z0-9+\-.]*:/,h=function(){var r=(0,p.Z)(function*(o,l,w,m){if(null!=o&&"#"!==o[0]&&!f.test(o)){const g=document.querySelector("ion-router");if(g)return l?.preventDefault(),g.push(o,w,m)}return!1});return function(l,w,m,g){return r.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/657.344c8cb4e3aa160e.js b/657.344c8cb4e3aa160e.js new file mode 100644 index 00000000..b74e21a6 --- /dev/null +++ b/657.344c8cb4e3aa160e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[657],{657:(h,a,r)=>{r.r(a),r.d(a,{ion_chip:()=>n});var t=r(2477),e=r(3814),s=r(7943);const n=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.outline=!1,this.disabled=!1}render(){const o=(0,s.b)(this);return(0,t.h)(t.H,{key:"886c26b6e7b3e3ca8622a4a0926bdf6dea0a71d4","aria-disabled":this.disabled?"true":null,class:(0,e.c)(this.color,{[o]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},(0,t.h)("slot",{key:"d24353e79ac84013758cee1acb1b0f9b2ebb4d67"}),"md"===o&&(0,t.h)("ion-ripple-effect",{key:"b69bb3ce3d464251d5e11ba6a5240e4567f72f05"}))}};n.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}"}},3814:(h,a,r)=>{r.d(a,{c:()=>s,g:()=>l,h:()=>e,o:()=>c});var t=r(5861);const e=(n,o)=>null!==o.closest(n),s=(n,o)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},o):o,l=n=>{const o={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(n).forEach(i=>o[i]=!0),o},b=/^[a-z][a-z0-9+\-.]*:/,c=function(){var n=(0,t.Z)(function*(o,i,p,x){if(null!=o&&"#"!==o[0]&&!b.test(o)){const g=document.querySelector("ion-router");if(g)return i?.preventDefault(),g.push(o,p,x)}return!1});return function(i,p,x,g){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/657.f376cf1439c08bb6.js b/657.f376cf1439c08bb6.js deleted file mode 100644 index e86728c1..00000000 --- a/657.f376cf1439c08bb6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[657],{657:(h,a,r)=>{r.r(a),r.d(a,{ion_chip:()=>n});var t=r(6541),e=r(3814),l=r(4700);const n=class{constructor(o){(0,t.r)(this,o),this.color=void 0,this.outline=!1,this.disabled=!1}render(){const o=(0,l.b)(this);return(0,t.h)(t.H,{key:"eca7cc616c0c9dd2ab28efd41e203fa094880e9e","aria-disabled":this.disabled?"true":null,class:(0,e.c)(this.color,{[o]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},(0,t.h)("slot",{key:"b64c9067132791f73a8434c37d5a335fb2d96f74"}),"md"===o&&(0,t.h)("ion-ripple-effect",null))}};n.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}"}},3814:(h,a,r)=>{r.d(a,{c:()=>l,g:()=>s,h:()=>e,o:()=>c});var t=r(5861);const e=(n,o)=>null!==o.closest(n),l=(n,o)=>"string"==typeof n&&n.length>0?Object.assign({"ion-color":!0,[`ion-color-${n}`]:!0},o):o,s=n=>{const o={};return(n=>void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(n).forEach(i=>o[i]=!0),o},b=/^[a-z][a-z0-9+\-.]*:/,c=function(){var n=(0,t.Z)(function*(o,i,p,x){if(null!=o&&"#"!==o[0]&&!b.test(o)){const g=document.querySelector("ion-router");if(g)return i?.preventDefault(),g.push(o,p,x)}return!1});return function(i,p,x,g){return n.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7011.4d31bb8ae0bcb818.js b/7011.4d31bb8ae0bcb818.js deleted file mode 100644 index 3ee0c15b..00000000 --- a/7011.4d31bb8ae0bcb818.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7011],{7011:(q,O,m)=>{m.r(O),m.d(O,{startInputShims:()=>X});var g=m(5861),l=m(2972),T=m(7003),y=m(8635),R=m(3037);m(6319);const M=new WeakMap,P=(e,t,s,r=0,o=!1)=>{M.has(e)!==s&&(s?H(e,t,r,o):Z(e,t))},H=(e,t,s,r=!1)=>{const o=t.parentNode,n=t.cloneNode(!1);n.classList.add("cloned-input"),n.tabIndex=-1,r&&(n.disabled=!0),o.appendChild(n),M.set(e,n);const a="rtl"===e.ownerDocument.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${a}px,${s}px,0) scale(0)`},Z=(e,t)=>{const s=M.get(e);s&&(M.delete(e),s.remove()),e.style.pointerEvents="",t.style.transform=""},C="input, textarea, [no-blur], [contenteditable]",U="$ionPaddingTimer",B=(e,t,s)=>{const r=e[U];r&&clearTimeout(r),t>0?e.style.setProperty("--keyboard-offset",`${t}px`):e[U]=setTimeout(()=>{e.style.setProperty("--keyboard-offset","0px"),s&&s()},120)},F=(e,t,s)=>{e.addEventListener("focusout",()=>{t&&B(t,0,s)},{once:!0})};let b=0;const p="data-ionic-skip-scroll-assist",Q=(e,t,s,r,o,n,i,a=!1)=>{const _=n&&(void 0===i||i.mode===R.a.None);let L=!1;const u=void 0!==l.w?l.w.innerHeight:0,f=S=>{!1!==L?W(e,t,s,r,S.detail.keyboardHeight,_,a,u,!1):L=!0},c=()=>{L=!1,null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c,!0)},h=function(){var S=(0,g.Z)(function*(){t.hasAttribute(p)?t.removeAttribute(p):(W(e,t,s,r,o,_,a,u),null==l.w||l.w.addEventListener("ionKeyboardDidShow",f),e.addEventListener("focusout",c,!0))});return function(){return S.apply(this,arguments)}}();return e.addEventListener("focusin",h,!0),()=>{e.removeEventListener("focusin",h,!0),null==l.w||l.w.removeEventListener("ionKeyboardDidShow",f),e.removeEventListener("focusout",c,!0)}},x=e=>{document.activeElement!==e&&(e.setAttribute(p,"true"),e.focus())},W=function(){var e=(0,g.Z)(function*(t,s,r,o,n,i,a=!1,_=0,L=!0){if(!r&&!o)return;const u=((e,t,s,r)=>{var o;return((e,t,s,r)=>{const o=e.top,n=e.bottom,i=t.top,_=i+15,u=Math.min(t.bottom,r-s)-50-n,f=_-o,c=Math.round(u<0?-u:f>0?-f:0),h=Math.min(c,o-i),w=Math.abs(h)/.3;return{scrollAmount:h,scrollDuration:Math.min(400,Math.max(150,w)),scrollPadding:s,inputSafeY:4-(o-_)}})((null!==(o=e.closest("ion-item,[ion-item]"))&&void 0!==o?o:e).getBoundingClientRect(),t.getBoundingClientRect(),s,r)})(t,r||o,n,_);if(r&&Math.abs(u.scrollAmount)<4)return x(s),void(i&&null!==r&&(B(r,b),F(s,r,()=>b=0)));if(P(t,s,!0,u.inputSafeY,a),x(s),(0,y.r)(()=>t.click()),i&&r&&(b=u.scrollPadding,B(r,b)),typeof window<"u"){let f;const c=function(){var S=(0,g.Z)(function*(){void 0!==f&&clearTimeout(f),window.removeEventListener("ionKeyboardDidShow",h),window.removeEventListener("ionKeyboardDidShow",c),r&&(yield(0,T.c)(r,0,u.scrollAmount,u.scrollDuration)),P(t,s,!1,u.inputSafeY),x(s),i&&F(s,r,()=>b=0)});return function(){return S.apply(this,arguments)}}(),h=()=>{window.removeEventListener("ionKeyboardDidShow",h),window.addEventListener("ionKeyboardDidShow",c)};if(r){const S=yield(0,T.g)(r);if(L&&u.scrollAmount>S.scrollHeight-S.clientHeight-S.scrollTop)return"password"===s.type?(u.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",h)):window.addEventListener("ionKeyboardDidShow",c),void(f=setTimeout(c,1e3))}c()}});return function(s,r,o,n,i,a){return e.apply(this,arguments)}}(),X=function(){var e=(0,g.Z)(function*(t,s){if(void 0===l.d)return;const r="ios"===s,o="android"===s,n=t.getNumber("keyboardHeight",290),i=t.getBoolean("scrollAssist",!0),a=t.getBoolean("hideCaretOnScroll",r),_=t.getBoolean("inputBlurring",r),L=t.getBoolean("scrollPadding",!0),u=Array.from(l.d.querySelectorAll("ion-input, ion-textarea")),f=new WeakMap,c=new WeakMap,h=yield R.K.getResizeMode(),S=function(){var v=(0,g.Z)(function*(d){yield new Promise(I=>(0,y.c)(d,I));const K=d.shadowRoot||d,D=K.querySelector("input")||K.querySelector("textarea"),A=(0,T.f)(d),j=A?null:d.closest("ion-footer");if(D){if(A&&a&&!f.has(d)){const I=((e,t,s)=>{if(!s||!t)return()=>{};const r=a=>{(e=>e===e.getRootNode().activeElement)(t)&&P(e,t,a)},o=()=>P(e,t,!1),n=()=>r(!0),i=()=>r(!1);return(0,y.a)(s,"ionScrollStart",n),(0,y.a)(s,"ionScrollEnd",i),t.addEventListener("blur",o),()=>{(0,y.b)(s,"ionScrollStart",n),(0,y.b)(s,"ionScrollEnd",i),t.removeEventListener("blur",o)}})(d,D,A);f.set(d,I)}if("date"!==D.type&&"datetime-local"!==D.type&&(A||j)&&i&&!c.has(d)){const I=Q(d,D,A,j,n,L,h,o);c.set(d,I)}}});return function(K){return v.apply(this,arguments)}}();_&&(()=>{let e=!0,t=!1;const s=document;(0,y.a)(s,"ionScrollStart",()=>{t=!0}),s.addEventListener("focusin",()=>{e=!0},!0),s.addEventListener("touchend",i=>{if(t)return void(t=!1);const a=s.activeElement;if(!a||a.matches(C))return;const _=i.target;_!==a&&(_.matches(C)||_.closest(C)||(e=!1,setTimeout(()=>{e||a.blur()},50)))},!1)})();for(const v of u)S(v);l.d.addEventListener("ionInputDidLoad",v=>{S(v.detail)}),l.d.addEventListener("ionInputDidUnload",v=>{(v=>{if(a){const d=f.get(v);d&&d(),f.delete(v)}if(i){const d=c.get(v);d&&d(),c.delete(v)}})(v.detail)})});return function(s,r){return e.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7544.54a9193a99de1fd0.js b/7544.54a9193a99de1fd0.js deleted file mode 100644 index 3f4dcae1..00000000 --- a/7544.54a9193a99de1fd0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7544],{7544:(O,h,c)=>{c.r(h),c.d(h,{ion_breadcrumb:()=>i,ion_breadcrumbs:()=>I});var o=c(6541),v=c(8635),l=c(3814),m=c(4896),u=c(4700);const i=class{constructor(p){(0,o.r)(this,p),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.collapsedClick=(0,o.d)(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,v.i)(this.el)}isClickable(){return void 0!==this.href}render(){const{color:p,active:d,collapsed:a,disabled:n,download:s,el:x,inheritedAttributes:e,last:b,routerAnimation:C,routerDirection:j,separator:S,showCollapsedIndicator:B,target:P}=this,A=this.isClickable(),E=void 0===this.href?"span":"a",M=n?void 0:this.href,z=(0,u.b)(this),L="span"===E?{}:{download:s,href:M,target:P},R=!b&&(a?!(!B||b):S);return(0,o.h)(o.H,{key:"632efa1bc6dc446e81efe8cd7763cb9b16466563",onClick:w=>(0,l.o)(M,w,j,C),"aria-disabled":n?"true":null,class:(0,l.c)(p,{[z]:!0,"breadcrumb-active":d,"breadcrumb-collapsed":a,"breadcrumb-disabled":n,"in-breadcrumbs-color":(0,l.h)("ion-breadcrumbs[color]",x),"in-toolbar":(0,l.h)("ion-toolbar",this.el),"in-toolbar-color":(0,l.h)("ion-toolbar[color]",this.el),"ion-activatable":A,"ion-focusable":A})},(0,o.h)(E,Object.assign({key:"6f232cfc590b2e2a23a2e1ee40d6658e7d8b4953"},L,{class:"breadcrumb-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur},e),(0,o.h)("slot",{key:"fec56c6f92c147fbd6273d3efb82b1a6c944699c",name:"start"}),(0,o.h)("slot",{key:"80aa33cdcaab810f544803c6105b489172542846"}),(0,o.h)("slot",{key:"6e1d3f332ae35f5061204bece9756a9bac4aaf4a",name:"end"})),B&&(0,o.h)("button",{part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:w=>this.collapsedRef=w,class:{"breadcrumbs-collapsed-indicator":!0}},(0,o.h)("ion-icon",{"aria-hidden":"true",icon:m.n,lazy:!1})),R&&(0,o.h)("span",{class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},(0,o.h)("slot",{name:"separator"},"ios"===z?(0,o.h)("ion-icon",{icon:m.m,lazy:!1,"flip-rtl":!0}):(0,o.h)("span",null,"/"))))}get el(){return(0,o.f)(this)}};i.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const I=class{constructor(p){(0,o.r)(this,p),this.ionCollapsedClick=(0,o.d)(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const a=this.getBreadcrumbs().find(n=>n.active);a&&this.activeChanged&&(a.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:d,itemsBeforeCollapse:a,maxItems:n}=this,s=this.getBreadcrumbs();for(const e of s)e.showCollapsedIndicator=!1,e.collapsed=!1;void 0!==n&&s.length>n&&a+d<=n&&s.forEach((e,b)=>{b===a&&(e.showCollapsedIndicator=!0),b>=a&&b{const{itemsAfterCollapse:d,itemsBeforeCollapse:a,maxItems:n}=this,s=this.getBreadcrumbs(),x=s.find(e=>e.active);for(const e of s){const b=void 0!==n&&0===d?e===s[a]:e===s[s.length-1];e.last=b,e.separator=void 0!==e.separator?e.separator:!b||void 0,!x&&b&&(e.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(p){const a=this.getBreadcrumbs().filter(n=>n.collapsed);this.ionCollapsedClick.emit(Object.assign(Object.assign({},p.detail),{collapsedBreadcrumbs:a}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:p,collapsed:d}=this,a=(0,u.b)(this);return(0,o.h)(o.H,{key:"35f8a2bffdd85ba6dc31834ebef69602a5a7cca1",class:(0,l.c)(p,{[a]:!0,"in-toolbar":(0,l.h)("ion-toolbar",this.el),"in-toolbar-color":(0,l.h)("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":d})},(0,o.h)("slot",{key:"ada062b5d17380d311861d1cf1a22dd62bac5497",onSlotchange:this.slotChanged}))}get el(){return(0,o.f)(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};I.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}"}},3814:(O,h,c)=>{c.d(h,{c:()=>l,g:()=>u,h:()=>v,o:()=>y});var o=c(5861);const v=(t,r)=>null!==r.closest(t),l=(t,r)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},r):r,u=t=>{const r={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(t).forEach(i=>r[i]=!0),r},_=/^[a-z][a-z0-9+\-.]*:/,y=function(){var t=(0,o.Z)(function*(r,i,k,f){if(null!=r&&"#"!==r[0]&&!_.test(r)){const g=document.querySelector("ion-router");if(g)return i?.preventDefault(),g.push(r,k,f)}return!1});return function(i,k,f,g){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7544.980463cd88be4044.js b/7544.980463cd88be4044.js new file mode 100644 index 00000000..e7237561 --- /dev/null +++ b/7544.980463cd88be4044.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7544],{7544:(O,h,c)=>{c.r(h),c.d(h,{ion_breadcrumb:()=>i,ion_breadcrumbs:()=>I});var o=c(2477),v=c(8635),l=c(3814),m=c(4896),u=c(7943);const i=class{constructor(p){(0,o.r)(this,p),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.collapsedClick=(0,o.d)(this,"collapsedClick",7),this.inheritedAttributes={},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})},this.collapsed=!1,this.last=void 0,this.showCollapsedIndicator=void 0,this.color=void 0,this.active=!1,this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.separator=void 0,this.target=void 0,this.routerDirection="forward",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=(0,v.i)(this.el)}isClickable(){return void 0!==this.href}render(){const{color:p,active:d,collapsed:a,disabled:n,download:s,el:x,inheritedAttributes:e,last:b,routerAnimation:C,routerDirection:j,separator:S,showCollapsedIndicator:B,target:P}=this,A=this.isClickable(),E=void 0===this.href?"span":"a",M=n?void 0:this.href,z=(0,u.b)(this),L="span"===E?{}:{download:s,href:M,target:P},R=!b&&(a?!(!B||b):S);return(0,o.h)(o.H,{key:"6d354439f90ec3cfab9fbf93cb17a67fb9ca6034",onClick:w=>(0,l.o)(M,w,j,C),"aria-disabled":n?"true":null,class:(0,l.c)(p,{[z]:!0,"breadcrumb-active":d,"breadcrumb-collapsed":a,"breadcrumb-disabled":n,"in-breadcrumbs-color":(0,l.h)("ion-breadcrumbs[color]",x),"in-toolbar":(0,l.h)("ion-toolbar",this.el),"in-toolbar-color":(0,l.h)("ion-toolbar[color]",this.el),"ion-activatable":A,"ion-focusable":A})},(0,o.h)(E,Object.assign({key:"4782977969bd84af02b1834573a6e51069b798ae"},L,{class:"breadcrumb-native",part:"native",disabled:n,onFocus:this.onFocus,onBlur:this.onBlur},e),(0,o.h)("slot",{key:"7d5fb845e463b8195142099773e7f258fc8ed31d",name:"start"}),(0,o.h)("slot",{key:"6b642ccb9101c12f72124fed5dd0f6362345fb41"}),(0,o.h)("slot",{key:"9fb0841fed712e21d1e84b187e1bc9159cf80b56",name:"end"})),B&&(0,o.h)("button",{key:"4b64544d879224d491447a79da8f8672b994af0b",part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:w=>this.collapsedRef=w,class:{"breadcrumbs-collapsed-indicator":!0}},(0,o.h)("ion-icon",{key:"5a2511b237aa8c401f416e967a831f8315423949","aria-hidden":"true",icon:m.n,lazy:!1})),R&&(0,o.h)("span",{key:"348952855dd79eb92f8d370e5839a8d09aff4097",class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},(0,o.h)("slot",{key:"0120f416edb1d776fa6900b5986b2b57eef554b3",name:"separator"},"ios"===z?(0,o.h)("ion-icon",{icon:m.m,lazy:!1,"flip-rtl":!0}):(0,o.h)("span",null,"/"))))}get el(){return(0,o.f)(this)}};i.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}",md:":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:var(--ion-color-step-50, #fff)}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}"};const I=class{constructor(p){(0,o.r)(this,p),this.ionCollapsedClick=(0,o.d)(this,"ionCollapsedClick",7),this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const a=this.getBreadcrumbs().find(n=>n.active);a&&this.activeChanged&&(a.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:d,itemsBeforeCollapse:a,maxItems:n}=this,s=this.getBreadcrumbs();for(const e of s)e.showCollapsedIndicator=!1,e.collapsed=!1;void 0!==n&&s.length>n&&a+d<=n&&s.forEach((e,b)=>{b===a&&(e.showCollapsedIndicator=!0),b>=a&&b{const{itemsAfterCollapse:d,itemsBeforeCollapse:a,maxItems:n}=this,s=this.getBreadcrumbs(),x=s.find(e=>e.active);for(const e of s){const b=void 0!==n&&0===d?e===s[a]:e===s[s.length-1];e.last=b,e.separator=void 0!==e.separator?e.separator:!b||void 0,!x&&b&&(e.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()},this.collapsed=void 0,this.activeChanged=void 0,this.color=void 0,this.maxItems=void 0,this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1}onCollapsedClick(p){const a=this.getBreadcrumbs().filter(n=>n.collapsed);this.ionCollapsedClick.emit(Object.assign(Object.assign({},p.detail),{collapsedBreadcrumbs:a}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:p,collapsed:d}=this,a=(0,u.b)(this);return(0,o.h)(o.H,{key:"cd288d4bf5498f86d086eb999b506993818642f3",class:(0,l.c)(p,{[a]:!0,"in-toolbar":(0,l.h)("ion-toolbar",this.el),"in-toolbar-color":(0,l.h)("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":d})},(0,o.h)("slot",{key:"73c802065511dbebef3867b01ce929313d24cba2",onSlotchange:this.slotChanged}))}get el(){return(0,o.f)(this)}static get watchers(){return{maxItems:["maxItemsChanged"],itemsBeforeCollapse:["maxItemsChanged"],itemsAfterCollapse:["maxItemsChanged"]}}};I.style={ios:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}",md:":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}"}},3814:(O,h,c)=>{c.d(h,{c:()=>l,g:()=>u,h:()=>v,o:()=>y});var o=c(5861);const v=(t,r)=>null!==r.closest(t),l=(t,r)=>"string"==typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},r):r,u=t=>{const r={};return(t=>void 0!==t?(Array.isArray(t)?t:t.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(t).forEach(i=>r[i]=!0),r},_=/^[a-z][a-z0-9+\-.]*:/,y=function(){var t=(0,o.Z)(function*(r,i,k,f){if(null!=r&&"#"!==r[0]&&!_.test(r)){const g=document.querySelector("ion-router");if(g)return i?.preventDefault(),g.push(r,k,f)}return!1});return function(i,k,f,g){return t.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/7602.f0ef3441c23607b2.js b/7602.b4f472adcedd22c1.js similarity index 88% rename from 7602.f0ef3441c23607b2.js rename to 7602.b4f472adcedd22c1.js index 8b2ca41f..9c683fba 100644 --- a/7602.f0ef3441c23607b2.js +++ b/7602.b4f472adcedd22c1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7602],{7602:(S,v,c)=>{c.r(v),c.d(v,{ion_picker_column_internal:()=>m});var b=c(5861),l=c(6541),u=c(8635),f=c(1765),g=c(4700),k=c(3814);c(6319),c(2972);const m=class{constructor(n){(0,l.r)(this,n),this.ionChange=(0,l.d)(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.centerPickerItemInView=(e,t=!0,s=!0)=>{const{el:i,isColumnVisible:h}=this;if(h){const a=e.offsetTop-3*e.clientHeight+e.clientHeight/2;i.scrollTop!==a&&(this.canExitInputMode=s,i.scroll({top:a,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(e,t)=>{t?(e.classList.add(y),e.part.add(C)):(e.classList.remove(y),e.part.remove(C))},this.inputModeChange=e=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:s}=e.detail;this.setInputModeActive(!(!t||void 0!==s&&s!==this.el))},this.setInputModeActive=e=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=e}:this.isActive=e},this.initializeScrollListener=()=>{const e=(0,g.a)("ios"),{el:t}=this;let s,i=this.activeItem;const h=()=>{(0,u.r)(()=>{s&&(clearTimeout(s),s=void 0),this.isScrolling||(e&&(0,f.a)(),this.isScrolling=!0);const a=t.getBoundingClientRect(),p=t.shadowRoot.elementFromPoint(a.x+a.width/2,a.y+a.height/2);null!==i&&this.setPickerItemActiveState(i,!1),null!==p&&!p.disabled&&(p!==i&&(e&&(0,f.b)(),this.canExitInputMode&&this.exitInputMode()),i=p,this.setPickerItemActiveState(p,!0),s=setTimeout(()=>{this.isScrolling=!1,e&&(0,f.h)();const{scrollEndCallback:P}=this;P&&(P(),this.scrollEndCallback=void 0),this.canExitInputMode=!0;const w=p.getAttribute("data-index");if(null===w)return;const D=parseInt(w,10),L=this.items[D];L.value!==this.value&&this.setValue(L.value)},250))})};(0,u.r)(()=>{t.addEventListener("scroll",h),this.destroyScrollListener=()=>{t.removeEventListener("scroll",h)}})},this.exitInputMode=()=>{const{parentEl:e}=this;null!=e&&(e.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.isActive=!1,this.disabled=!1,this.items=[],this.value=void 0,this.color="primary",this.numericInput=!1}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView()}componentWillLoad(){new IntersectionObserver(t=>{if(t[t.length-1].isIntersecting){const{activeItem:i,el:h}=this;this.isColumnVisible=!0;const a=(0,u.g)(h).querySelector(`.${y}`);a&&this.setPickerItemActiveState(a,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)},{threshold:.001}).observe(this.el);const e=this.parentEl=this.el.closest("ion-picker-internal");null!==e&&e.addEventListener("ionInputModeChange",t=>this.inputModeChange(t))}componentDidRender(){var n;const{activeItem:e,items:t,isColumnVisible:s,value:i}=this;s&&(e?this.scrollActiveItemIntoView():(null===(n=t[0])||void 0===n?void 0:n.value)!==i&&this.setValue(t[0].value))}scrollActiveItemIntoView(){var n=this;return(0,b.Z)(function*(){const e=n.activeItem;e&&n.centerPickerItemInView(e,!1,!1)})()}setValue(n){var e=this;return(0,b.Z)(function*(){const{items:t}=e;e.value=n;const s=t.find(i=>i.value===n&&!0!==i.disabled);s&&e.ionChange.emit(s)})()}get activeItem(){const n=`.picker-item[data-value="${this.value}"]${this.disabled?"":":not([disabled])"}`;return(0,u.g)(this.el).querySelector(n)}render(){const{items:n,color:e,disabled:t,isActive:s,numericInput:i}=this,h=(0,g.b)(this);return(0,l.h)(l.H,{key:"eeb70e31fca7bff943a2fc29a3da0383520fdd84",exportparts:`${M}, ${C}`,disabled:t,tabindex:t?null:0,class:(0,k.c)(e,{[h]:!0,"picker-column-active":s,"picker-column-numeric-input":i})},(0,l.h)("div",{key:"08cffb51ab2ce1a4b83e35b25afd2880d6949d8e",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"88389ba5287ee5e251fa36a0e13a888c8dfbf8e8",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"2dc958f37a939a0fbbc35d92482e9c64741d8f5a",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),n.map((a,E)=>(0,l.h)("button",{tabindex:"-1",class:{"picker-item":!0},"data-value":a.value,"data-index":E,onClick:p=>{this.centerPickerItemInView(p.target,!0)},disabled:t||a.disabled||!1,part:M},a.text)),(0,l.h)("div",{key:"d31f134aa67a10ad1b796a4e1ffbea439b2b3723",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"3015f7f774b44d349f445e585b73295814c76326",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"df165c76253e51bd6968bdcd8071ad69467bda4c",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"))}get el(){return(0,l.f)(this)}static get watchers(){return{value:["valueChange"]}}},y="picker-item-active",M="wheel-item",C="active";m.style={ios:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"}},3814:(S,v,c)=>{c.d(v,{c:()=>u,g:()=>g,h:()=>l,o:()=>A});var b=c(5861);const l=(o,r)=>null!==r.closest(o),u=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,g=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(o).forEach(d=>r[d]=!0),r},k=/^[a-z][a-z0-9+\-.]*:/,A=function(){var o=(0,b.Z)(function*(r,d,I,_){if(null!=r&&"#"!==r[0]&&!k.test(r)){const m=document.querySelector("ion-router");if(m)return d?.preventDefault(),m.push(r,I,_)}return!1});return function(d,I,_,m){return o.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7602],{7602:(S,v,c)=>{c.r(v),c.d(v,{ion_picker_column_internal:()=>m});var b=c(5861),l=c(2477),u=c(8635),f=c(1765),g=c(7943),k=c(3814);c(6319),c(2972);const m=class{constructor(n){(0,l.r)(this,n),this.ionChange=(0,l.d)(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.centerPickerItemInView=(e,t=!0,s=!0)=>{const{el:i,isColumnVisible:h}=this;if(h){const a=e.offsetTop-3*e.clientHeight+e.clientHeight/2;i.scrollTop!==a&&(this.canExitInputMode=s,i.scroll({top:a,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(e,t)=>{t?(e.classList.add(y),e.part.add(C)):(e.classList.remove(y),e.part.remove(C))},this.inputModeChange=e=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:s}=e.detail;this.setInputModeActive(!(!t||void 0!==s&&s!==this.el))},this.setInputModeActive=e=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=e}:this.isActive=e},this.initializeScrollListener=()=>{const e=(0,g.a)("ios"),{el:t}=this;let s,i=this.activeItem;const h=()=>{(0,u.r)(()=>{s&&(clearTimeout(s),s=void 0),this.isScrolling||(e&&(0,f.a)(),this.isScrolling=!0);const a=t.getBoundingClientRect(),p=t.shadowRoot.elementFromPoint(a.x+a.width/2,a.y+a.height/2);null!==i&&this.setPickerItemActiveState(i,!1),null!==p&&!p.disabled&&(p!==i&&(e&&(0,f.b)(),this.canExitInputMode&&this.exitInputMode()),i=p,this.setPickerItemActiveState(p,!0),s=setTimeout(()=>{this.isScrolling=!1,e&&(0,f.h)();const{scrollEndCallback:P}=this;P&&(P(),this.scrollEndCallback=void 0),this.canExitInputMode=!0;const w=p.getAttribute("data-index");if(null===w)return;const D=parseInt(w,10),L=this.items[D];L.value!==this.value&&this.setValue(L.value)},250))})};(0,u.r)(()=>{t.addEventListener("scroll",h),this.destroyScrollListener=()=>{t.removeEventListener("scroll",h)}})},this.exitInputMode=()=>{const{parentEl:e}=this;null!=e&&(e.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.isActive=!1,this.disabled=!1,this.items=[],this.value=void 0,this.color="primary",this.numericInput=!1}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView()}componentWillLoad(){new IntersectionObserver(t=>{if(t[t.length-1].isIntersecting){const{activeItem:i,el:h}=this;this.isColumnVisible=!0;const a=(0,u.g)(h).querySelector(`.${y}`);a&&this.setPickerItemActiveState(a,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)},{threshold:.001}).observe(this.el);const e=this.parentEl=this.el.closest("ion-picker-internal");null!==e&&e.addEventListener("ionInputModeChange",t=>this.inputModeChange(t))}componentDidRender(){var n;const{activeItem:e,items:t,isColumnVisible:s,value:i}=this;s&&(e?this.scrollActiveItemIntoView():(null===(n=t[0])||void 0===n?void 0:n.value)!==i&&this.setValue(t[0].value))}scrollActiveItemIntoView(){var n=this;return(0,b.Z)(function*(){const e=n.activeItem;e&&n.centerPickerItemInView(e,!1,!1)})()}setValue(n){var e=this;return(0,b.Z)(function*(){const{items:t}=e;e.value=n;const s=t.find(i=>i.value===n&&!0!==i.disabled);s&&e.ionChange.emit(s)})()}get activeItem(){const n=`.picker-item[data-value="${this.value}"]${this.disabled?"":":not([disabled])"}`;return(0,u.g)(this.el).querySelector(n)}render(){const{items:n,color:e,disabled:t,isActive:s,numericInput:i}=this,h=(0,g.b)(this);return(0,l.h)(l.H,{key:"42a034f2533d30d19f96a121eb74d5f757e1c684",exportparts:`${M}, ${C}`,disabled:t,tabindex:t?null:0,class:(0,k.c)(e,{[h]:!0,"picker-column-active":s,"picker-column-numeric-input":i})},(0,l.h)("div",{key:"85efccb40c87d473c06026b8041d57b40d2369c3",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"9fae4dd6697f23acba18c218ba250ea77954b18d",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"f117afeb204a4f6bb34a1cd0e1b786fa479d8b32",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),n.map((a,E)=>(0,l.h)("button",{tabindex:"-1",class:{"picker-item":!0},"data-value":a.value,"data-index":E,onClick:p=>{this.centerPickerItemInView(p.target,!0)},disabled:t||a.disabled||!1,part:M},a.text)),(0,l.h)("div",{key:"28aa37f9ce90e88b9c3a5b2c399e3066e9f339e1",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"ef4ae6bee2b17918f0c2aba9d5c720c1d95987e4",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"),(0,l.h)("div",{key:"564967bc8e42a9018163850da3a967a933b3de7b",class:"picker-item picker-item-empty","aria-hidden":"true"},"\xa0"))}get el(){return(0,l.f)(this)}static get watchers(){return{value:["valueChange"]}}},y="picker-item-active",M="wheel-item",C="active";m.style={ios:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}",md:":host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;height:200px;outline:none;font-size:22px;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none;text-align:center}:host::-webkit-scrollbar{display:none}:host .picker-item{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden;scroll-snap-align:center}:host .picker-item-empty,:host .picker-item[disabled]{cursor:default}:host .picker-item-empty,:host(:not([disabled])) .picker-item[disabled]{scroll-snap-align:none}:host([disabled]){overflow-y:hidden}:host .picker-item[disabled]{opacity:0.4}:host(.picker-column-active) .picker-item.picker-item-active{color:var(--ion-color-base)}@media (any-hover: hover){:host(:focus){outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}:host .picker-item-active{color:var(--ion-color-base)}"}},3814:(S,v,c)=>{c.d(v,{c:()=>u,g:()=>g,h:()=>l,o:()=>A});var b=c(5861);const l=(o,r)=>null!==r.closest(o),u=(o,r)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},r):r,g=o=>{const r={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(o).forEach(d=>r[d]=!0),r},k=/^[a-z][a-z0-9+\-.]*:/,A=function(){var o=(0,b.Z)(function*(r,d,I,_){if(null!=r&&"#"!==r[0]&&!k.test(r)){const m=document.querySelector("ion-router");if(m)return d?.preventDefault(),m.push(r,I,_)}return!1});return function(d,I,_,m){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8034.221491c6a7f86c6d.js b/8034.221491c6a7f86c6d.js new file mode 100644 index 00000000..4e5d9dbf --- /dev/null +++ b/8034.221491c6a7f86c6d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8034],{8034:(E,a,t)=>{t.r(a),t.d(a,{ion_infinite_scroll:()=>h,ion_infinite_scroll_content:()=>g});var d=t(5861),e=t(2477),o=t(7003),s=t(7943),f=t(7036);const h=class{constructor(i){(0,e.r)(this,i),this.ionInfinite=(0,e.d)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.onScroll=()=>{const n=this.scrollEl;if(!n||!this.canStart())return 1;const l=this.el.offsetHeight;if(0===l)return 2;const r=n.scrollTop,p=n.offsetHeight,m=0!==this.thrPc?p*this.thrPc:this.thrPx;return("bottom"===this.position?n.scrollHeight-l-r-m-p:r-l-m)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4},this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom"}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}connectedCallback(){var i=this;return(0,d.Z)(function*(){const n=(0,o.f)(i.el);n?(i.scrollEl=yield(0,o.g)(n),i.thresholdChanged(),i.disabledChanged(),"top"===i.position&&(0,e.w)(()=>{i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)})):(0,o.p)(i.el)})()}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}complete(){var i=this;return(0,d.Z)(function*(){const n=i.scrollEl;if(i.isLoading&&n)if(i.isLoading=!1,"top"===i.position){i.isBusy=!0;const l=n.scrollHeight-n.scrollTop;requestAnimationFrame(()=>{(0,e.e)(()=>{const c=n.scrollHeight-l;requestAnimationFrame(()=>{(0,e.w)(()=>{n.scrollTop=c,i.isBusy=!1,i.didFire=!1})})})})}else i.didFire=!1})()}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{key:"c2248d06232dd7771dd155693ec75f9258dc969e",class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!this.disabled}})}get el(){return(0,e.f)(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};h.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(i){(0,e.r)(this,i),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",f.E),this.loadingSpinner=void 0,this.loadingText=void 0}componentDidLoad(){if(void 0===this.loadingSpinner){const i=(0,s.b)(this);this.loadingSpinner=s.c.get("infiniteLoadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?(0,e.h)("div",{class:"infinite-loading-text",innerHTML:(0,f.a)(n)}):(0,e.h)("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{key:"2f4afb07bcfe3e12528eb9cee8646a097e0b359f",class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},(0,e.h)("div",{key:"af038177bf10c88c8970682487a4328689aaa5f2",class:"infinite-loading"},this.loadingSpinner&&(0,e.h)("div",{key:"1da5d419bc6a978b6a509fdab47dae347fc8d221",class:"infinite-loading-spinner"},(0,e.h)("ion-spinner",{key:"60cc5c64e0a317ac0005d5afe42c4bb8da58136f",name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}]); \ No newline at end of file diff --git a/8034.85ee8398add6a750.js b/8034.85ee8398add6a750.js deleted file mode 100644 index ea788b83..00000000 --- a/8034.85ee8398add6a750.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8034],{8034:(E,a,t)=>{t.r(a),t.d(a,{ion_infinite_scroll:()=>h,ion_infinite_scroll_content:()=>g});var d=t(5861),e=t(6541),o=t(7003),s=t(4700),f=t(7036);const h=class{constructor(i){(0,e.r)(this,i),this.ionInfinite=(0,e.d)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.onScroll=()=>{const n=this.scrollEl;if(!n||!this.canStart())return 1;const l=this.el.offsetHeight;if(0===l)return 2;const r=n.scrollTop,p=n.offsetHeight,m=0!==this.thrPc?p*this.thrPc:this.thrPx;return("bottom"===this.position?n.scrollHeight-l-r-m-p:r-l-m)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4},this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom"}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}connectedCallback(){var i=this;return(0,d.Z)(function*(){const n=(0,o.f)(i.el);n?(i.scrollEl=yield(0,o.g)(n),i.thresholdChanged(),i.disabledChanged(),"top"===i.position&&(0,e.w)(()=>{i.scrollEl&&(i.scrollEl.scrollTop=i.scrollEl.scrollHeight-i.scrollEl.clientHeight)})):(0,o.p)(i.el)})()}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}complete(){var i=this;return(0,d.Z)(function*(){const n=i.scrollEl;if(i.isLoading&&n)if(i.isLoading=!1,"top"===i.position){i.isBusy=!0;const l=n.scrollHeight-n.scrollTop;requestAnimationFrame(()=>{(0,e.e)(()=>{const c=n.scrollHeight-l;requestAnimationFrame(()=>{(0,e.w)(()=>{n.scrollTop=c,i.isBusy=!1,i.didFire=!1})})})})}else i.didFire=!1})()}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{key:"cf712b0f22fe89b41377402da44f5575118ed34f",class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!this.disabled}})}get el(){return(0,e.f)(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};h.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(i){(0,e.r)(this,i),this.customHTMLEnabled=s.c.get("innerHTMLTemplatesEnabled",f.E),this.loadingSpinner=void 0,this.loadingText=void 0}componentDidLoad(){if(void 0===this.loadingSpinner){const i=(0,s.b)(this);this.loadingSpinner=s.c.get("infiniteLoadingSpinner",s.c.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?(0,e.h)("div",{class:"infinite-loading-text",innerHTML:(0,f.a)(n)}):(0,e.h)("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=(0,s.b)(this);return(0,e.h)(e.H,{key:"38c67d2c7ea4c304e71dacea64add0bffab69906",class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},(0,e.h)("div",{key:"a23484ccbaf65e0e3ecb59befea425cfdbc782fd",class:"infinite-loading"},this.loadingSpinner&&(0,e.h)("div",{class:"infinite-loading-spinner"},(0,e.h)("ion-spinner",{name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}"}}}]); \ No newline at end of file diff --git a/8136.28e99921932bfb7b.js b/8136.28e99921932bfb7b.js deleted file mode 100644 index 65338b98..00000000 --- a/8136.28e99921932bfb7b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8136],{8136:(j,v,s)=>{s.r(v),s.d(v,{ion_menu:()=>O,ion_menu_button:()=>I,ion_menu_toggle:()=>L});var l=s(5861),i=s(6541),y=s(5069),_=s(2889),w=s(9019),h=s(8635),c=s(2458),a=s(4393),o=s(4700),d=s(3814),b=s(4896);s(2972),s(4963);const C='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',O=class{constructor(e){(0,i.r)(this,e),this.ionWillOpen=(0,i.d)(this,"ionWillOpen",7),this.ionWillClose=(0,i.d)(this,"ionWillClose",7),this.ionDidOpen=(0,i.d)(this,"ionDidOpen",7),this.ionDidClose=(0,i.d)(this,"ionDidClose",7),this.ionMenuChange=(0,i.d)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=_.G.createBlocker({disableScroll:!0}),this.didLoad=!1,this.operationCancelled=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=t=>{const n=(0,a.o)(document);n&&!n.contains(this.el)||this.trapKeyboardFocus(t,document)},this.isPaneVisible=!1,this.isEndSide=!1,this.contentId=void 0,this.menuId=void 0,this.type=void 0,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}typeChanged(e,t){const n=this.contentEl;n&&(void 0!==t&&n.classList.remove(`menu-content-${t}`),n.classList.add(`menu-content-${e}`),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}disabledChanged(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=(0,h.p)(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}connectedCallback(){var e=this;return(0,l.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-menu")),void 0===e.type&&(e.type=o.c.get("menuType","overlay"));const t=void 0!==e.contentId?document.getElementById(e.contentId):null;null!==t?(e.el.contains(t)&&console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.'),e.contentEl=t,t.classList.add("menu-content"),e.typeChanged(e.type,void 0),e.sideChanged(),c.m._register(e),e.menuChanged(),e.gesture=(yield Promise.resolve().then(s.bind(s,5067))).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:n=>e.canStart(n),onWillStart:()=>e.onWillStart(),onStart:()=>e.onStart(),onMove:n=>e.onMove(n),onEnd:n=>e.onEnd(n)}),e.updateState()):console.error('Menu: must have a "content" element to listen for drag events on.')})()}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){var e=this;return(0,l.Z)(function*(){e.didLoad=!0,e.menuChanged(),e.updateState()})()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}disconnectedCallback(){var e=this;return(0,l.Z)(function*(){yield e.close(!1),e.blocker.destroy(),c.m._unregister(e),e.animation&&e.animation.destroy(),e.gesture&&(e.gesture.destroy(),e.gesture=void 0),e.animation=void 0,e.contentEl=void 0})()}onSplitPaneChanged(e){const{target:t}=e;t===this.el.closest("ion-split-pane")&&(this.isPaneVisible=e.detail.isPane(this.el),this.updateState())}onBackdropClick(e){this._isOpen&&this.lastOnEnd0?t[t.length-1]:null;n?n.focus():e.focus()}trapKeyboardFocus(e,t){const n=e.target;n&&(this.el.contains(n)?this.lastFocus=n:(this.focusFirstDescendant(),this.lastFocus===t.activeElement&&this.focusLastDescendant()))}_setOpen(e,t=!0){var n=this;return(0,l.Z)(function*(){return!(!n._isActive()||n.isAnimating||e===n._isOpen||(n.beforeAnimation(e),yield n.loadAnimation(),yield n.startAnimation(e,t),n.operationCancelled?(n.operationCancelled=!1,1):(n.afterAnimation(e),0)))})()}loadAnimation(){var e=this;return(0,l.Z)(function*(){const t=e.menuInnerEl.offsetWidth,n=(0,h.p)(e.side);if(t===e.width&&void 0!==e.animation&&n===e.isEndSide)return;e.width=t,e.isEndSide=n,e.animation&&(e.animation.destroy(),e.animation=void 0);const r=e.animation=yield c.m._createAnimation(e.type,e);o.c.getBoolean("animated",!0)||r.duration(0),r.fill("both")})()}startAnimation(e,t){var n=this;return(0,l.Z)(function*(){const r=!e,m=(0,o.b)(n),p="ios"===m?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",u="ios"===m?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",f=n.animation.direction(r?"reverse":"normal").easing(r?u:p);t?yield f.play():f.play({sync:!0}),"reverse"===f.getDirection()&&f.direction("normal")})()}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(e){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!c.m._getOpenSync()&&G(window,e.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):(0,h.o)(!1,"isAnimating has to be true")}onMove(e){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const n=A(e.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-n:n)}onEnd(e){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const t=this._isOpen,n=this.isEndSide,r=A(e.deltaX,t,n),m=this.width,p=r/m,u=e.velocityX,f=m/2,z=u>=0&&(u>.2||e.deltaX>f),W=u<=0&&(u<-.2||e.deltaX<-f),g=t?n?z:W:n?W:z;let B=!t&&g;t&&!g&&(B=!0),this.lastOnEnd=e.currentTime;let E=g?.001:-.001;E+=(0,y.g)([0,0],[.4,0],[.6,1],[1,1],(0,h.l)(0,p<0?.01:p,.9999))[0]||0;const $=this._isOpen?!g:g;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(B),{oneTimeCallback:!0}).progressEnd($?1:0,this._isOpen?1-E:E,300)}beforeAnimation(e){(0,h.o)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(M),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(S),this.contentEl&&(this.contentEl.classList.add(D),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,e?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(e){var t;this._isOpen=e,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),e?(this.ionDidOpen.emit(),(null===(t=document.activeElement)||void 0===t?void 0:t.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(M),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(D),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(S),this.animation&&this.animation.stop(),this.ionDidClose.emit(),document.removeEventListener("focus",this.handleFocus,!0))}updateState(){const e=this._isActive();this.gesture&&this.gesture.enable(e&&this.swipeGesture),e||(this.isAnimating&&(this.operationCancelled=!0),this.afterAnimation(!1))}render(){const{type:e,disabled:t,isPaneVisible:n,inheritedAttributes:r,side:m}=this,p=(0,o.b)(this);return(0,i.h)(i.H,{key:"6c63bd340b8e2fc19b638189af44eae3627f8c0a",onKeyDown:(0,w.shouldUseCloseWatcher)()?null:this.onKeydown,role:"navigation","aria-label":r["aria-label"]||"menu",class:{[p]:!0,[`menu-type-${e}`]:!0,"menu-enabled":!t,[`menu-side-${m}`]:!0,"menu-pane-visible":n}},(0,i.h)("div",{key:"8cad9e601c8ca1d1dca32681937362a55311e015",class:"menu-inner",part:"container",ref:u=>this.menuInnerEl=u},(0,i.h)("slot",{key:"ce8ab737360c3a71ac6408d21fcb71485a189827"})),(0,i.h)("ion-backdrop",{key:"a7e5f9ebe98996c7f5ab0ef27223a2f24bf63646",ref:u=>this.backdropEl=u,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return(0,i.f)(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}},A=(e,t,n)=>Math.max(0,t!==n?-e:e),G=(e,t,n,r)=>n?t>=e.innerWidth-r:t<=r,M="show-menu",S="show-backdrop",D="menu-content-open";O.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};const P=function(){var e=(0,l.Z)(function*(t){const n=yield c.m.get(t);return!(!n||!(yield n.isActive()))});return function(n){return e.apply(this,arguments)}}(),I=class{constructor(e){var t=this;(0,i.r)(this,e),this.inheritedAttributes={},this.onClick=(0,l.Z)(function*(){return c.m.toggle(t.menu)}),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){this.visibilityChanged()}visibilityChanged(){var e=this;return(0,l.Z)(function*(){e.visible=yield P(e.menu)})()}render(){const{color:e,disabled:t,inheritedAttributes:n}=this,r=(0,o.b)(this),m=o.c.get("menuIcon","ios"===r?b.u:b.v),p=this.autoHide&&!this.visible,u={type:this.type},f=n["aria-label"]||"menu";return(0,i.h)(i.H,{key:"23364bf8eae83c3a422bacb0f43bf957551a7b7a",onClick:this.onClick,"aria-disabled":t?"true":null,"aria-hidden":p?"true":null,class:(0,d.c)(e,{[r]:!0,button:!0,"menu-button-hidden":p,"menu-button-disabled":t,"in-toolbar":(0,d.h)("ion-toolbar",this.el),"in-toolbar-color":(0,d.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},(0,i.h)("button",Object.assign({key:"dacfa6f0881366385f3c3305fb656e5e8d4eaab8"},u,{disabled:t,class:"button-native",part:"native","aria-label":f}),(0,i.h)("span",{key:"2a11edcf830bde847cca810af461f4bcffd6aa30",class:"button-inner"},(0,i.h)("slot",{key:"f6b1299cf096abe6f25e1f60ce6be2bbdfddcc73"},(0,i.h)("ion-icon",{key:"32c900a4b75ab90b149227075df4598539d09b5f",part:"icon",icon:m,mode:r,lazy:!1,"aria-hidden":"true"}))),"md"===r&&(0,i.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return(0,i.f)(this)}};I.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const L=class{constructor(e){(0,i.r)(this,e),this.onClick=()=>c.m.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}visibilityChanged(){var e=this;return(0,l.Z)(function*(){e.visible=yield P(e.menu)})()}render(){const e=(0,o.b)(this),t=this.autoHide&&!this.visible;return(0,i.h)(i.H,{key:"981008b9e03870363f2eba75d9d22823ed79753e",onClick:this.onClick,"aria-hidden":t?"true":null,class:{[e]:!0,"menu-toggle-hidden":t}},(0,i.h)("slot",{key:"1c88aec9c2ee7c67ee37be71814fed35144bbea7"}))}};L.style=":host(.menu-toggle-hidden){display:none}"},3814:(j,v,s)=>{s.d(v,{c:()=>y,g:()=>w,h:()=>i,o:()=>c});var l=s(5861);const i=(a,o)=>null!==o.closest(a),y=(a,o)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},o):o,w=a=>{const o={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(a).forEach(d=>o[d]=!0),o},h=/^[a-z][a-z0-9+\-.]*:/,c=function(){var a=(0,l.Z)(function*(o,d,b,k){if(null!=o&&"#"!==o[0]&&!h.test(o)){const x=document.querySelector("ion-router");if(x)return d?.preventDefault(),x.push(o,b,k)}return!1});return function(d,b,k,x){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8136.3ee745146a680b50.js b/8136.3ee745146a680b50.js new file mode 100644 index 00000000..392a3d25 --- /dev/null +++ b/8136.3ee745146a680b50.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8136],{8136:(j,v,s)=>{s.r(v),s.d(v,{ion_menu:()=>O,ion_menu_button:()=>I,ion_menu_toggle:()=>L});var l=s(5861),i=s(2477),y=s(5069),_=s(2889),w=s(3006),h=s(8635),c=s(6523),a=s(7346),o=s(7943),d=s(3814),b=s(4896);s(2972),s(4963);const C='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',O=class{constructor(t){(0,i.r)(this,t),this.ionWillOpen=(0,i.d)(this,"ionWillOpen",7),this.ionWillClose=(0,i.d)(this,"ionWillClose",7),this.ionDidOpen=(0,i.d)(this,"ionDidOpen",7),this.ionDidClose=(0,i.d)(this,"ionDidClose",7),this.ionMenuChange=(0,i.d)(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=_.G.createBlocker({disableScroll:!0}),this.didLoad=!1,this.operationCancelled=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=e=>{const n=(0,a.o)(document);n&&!n.contains(this.el)||this.trapKeyboardFocus(e,document)},this.isPaneVisible=!1,this.isEndSide=!1,this.contentId=void 0,this.menuId=void 0,this.type=void 0,this.disabled=!1,this.side="start",this.swipeGesture=!0,this.maxEdgeStart=50}typeChanged(t,e){const n=this.contentEl;n&&(void 0!==e&&n.classList.remove(`menu-content-${e}`),n.classList.add(`menu-content-${t}`),n.removeAttribute("style")),this.menuInnerEl&&this.menuInnerEl.removeAttribute("style"),this.animation=void 0}disabledChanged(){this.updateState(),this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}sideChanged(){this.isEndSide=(0,h.p)(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}connectedCallback(){var t=this;return(0,l.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-menu")),void 0===t.type&&(t.type=o.c.get("menuType","overlay"));const e=void 0!==t.contentId?document.getElementById(t.contentId):null;null!==e?(t.el.contains(e)&&console.error('Menu: "contentId" should refer to the main view\'s ion-content, not the ion-content inside of the ion-menu.'),t.contentEl=e,e.classList.add("menu-content"),t.typeChanged(t.type,void 0),t.sideChanged(),c.m._register(t),t.menuChanged(),t.gesture=(yield Promise.resolve().then(s.bind(s,5067))).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:n=>t.canStart(n),onWillStart:()=>t.onWillStart(),onStart:()=>t.onStart(),onMove:n=>t.onMove(n),onEnd:n=>t.onEnd(n)}),t.updateState()):console.error('Menu: must have a "content" element to listen for drag events on.')})()}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){var t=this;return(0,l.Z)(function*(){t.didLoad=!0,t.menuChanged(),t.updateState()})()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}disconnectedCallback(){var t=this;return(0,l.Z)(function*(){yield t.close(!1),t.blocker.destroy(),c.m._unregister(t),t.animation&&t.animation.destroy(),t.gesture&&(t.gesture.destroy(),t.gesture=void 0),t.animation=void 0,t.contentEl=void 0})()}onSplitPaneChanged(t){const{target:e}=t;e===this.el.closest("ion-split-pane")&&(this.isPaneVisible=t.detail.isPane(this.el),this.updateState())}onBackdropClick(t){this._isOpen&&this.lastOnEnd0?e[e.length-1]:null;n?n.focus():t.focus()}trapKeyboardFocus(t,e){const n=t.target;n&&(this.el.contains(n)?this.lastFocus=n:(this.focusFirstDescendant(),this.lastFocus===e.activeElement&&this.focusLastDescendant()))}_setOpen(t,e=!0){var n=this;return(0,l.Z)(function*(){return!(!n._isActive()||n.isAnimating||t===n._isOpen||(n.beforeAnimation(t),yield n.loadAnimation(),yield n.startAnimation(t,e),n.operationCancelled?(n.operationCancelled=!1,1):(n.afterAnimation(t),0)))})()}loadAnimation(){var t=this;return(0,l.Z)(function*(){const e=t.menuInnerEl.offsetWidth,n=(0,h.p)(t.side);if(e===t.width&&void 0!==t.animation&&n===t.isEndSide)return;t.width=e,t.isEndSide=n,t.animation&&(t.animation.destroy(),t.animation=void 0);const r=t.animation=yield c.m._createAnimation(t.type,t);o.c.getBoolean("animated",!0)||r.duration(0),r.fill("both")})()}startAnimation(t,e){var n=this;return(0,l.Z)(function*(){const r=!t,m=(0,o.b)(n),p="ios"===m?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",u="ios"===m?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",f=n.animation.direction(r?"reverse":"normal").easing(r?u:p);e?yield f.play():f.play({sync:!0}),"reverse"===f.getDirection()&&f.direction("normal")})()}_isActive(){return!this.disabled&&!this.isPaneVisible}canSwipe(){return this.swipeGesture&&!this.isAnimating&&this._isActive()}canStart(t){return!(document.querySelector("ion-modal.show-modal")||!this.canSwipe())&&(!!this._isOpen||!c.m._getOpenSync()&&G(window,t.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):(0,h.o)(!1,"isAnimating has to be true")}onMove(t){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const n=A(t.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-n:n)}onEnd(t){if(!this.isAnimating||!this.animation)return void(0,h.o)(!1,"isAnimating has to be true");const e=this._isOpen,n=this.isEndSide,r=A(t.deltaX,e,n),m=this.width,p=r/m,u=t.velocityX,f=m/2,z=u>=0&&(u>.2||t.deltaX>f),W=u<=0&&(u<-.2||t.deltaX<-f),g=e?n?z:W:n?W:z;let B=!e&&g;e&&!g&&(B=!0),this.lastOnEnd=t.currentTime;let E=g?.001:-.001;E+=(0,y.g)([0,0],[.4,0],[.6,1],[1,1],(0,h.l)(0,p<0?.01:p,.9999))[0]||0;const $=this._isOpen?!g:g;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(B),{oneTimeCallback:!0}).progressEnd($?1:0,this._isOpen?1-E:E,300)}beforeAnimation(t){(0,h.o)(!this.isAnimating,"_before() should not be called while animating"),this.el.classList.add(M),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(S),this.contentEl&&(this.contentEl.classList.add(D),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,t?this.ionWillOpen.emit():this.ionWillClose.emit()}afterAnimation(t){var e;this._isOpen=t,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),t?(this.ionDidOpen.emit(),(null===(e=document.activeElement)||void 0===e?void 0:e.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.classList.remove(M),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(D),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(S),this.animation&&this.animation.stop(),this.ionDidClose.emit(),document.removeEventListener("focus",this.handleFocus,!0))}updateState(){const t=this._isActive();this.gesture&&this.gesture.enable(t&&this.swipeGesture),t||(this.isAnimating&&(this.operationCancelled=!0),this.afterAnimation(!1))}render(){const{type:t,disabled:e,isPaneVisible:n,inheritedAttributes:r,side:m}=this,p=(0,o.b)(this);return(0,i.h)(i.H,{key:"7443f67fbe5122052025bab862136044fc942401",onKeyDown:(0,w.shouldUseCloseWatcher)()?null:this.onKeydown,role:"navigation","aria-label":r["aria-label"]||"menu",class:{[p]:!0,[`menu-type-${t}`]:!0,"menu-enabled":!e,[`menu-side-${m}`]:!0,"menu-pane-visible":n}},(0,i.h)("div",{key:"45c7d37ace20f663a4bea89cb38bbc798f88dfbd",class:"menu-inner",part:"container",ref:u=>this.menuInnerEl=u},(0,i.h)("slot",{key:"975437a5d4029cc200b6dbc2d47a16b4318c00aa"})),(0,i.h)("ion-backdrop",{key:"acc8a1f5dc1b1e2a34757bf797e794017f545bdc",ref:u=>this.backdropEl=u,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return(0,i.f)(this)}static get watchers(){return{type:["typeChanged"],disabled:["disabledChanged"],side:["sideChanged"],swipeGesture:["swipeGestureChanged"]}}},A=(t,e,n)=>Math.max(0,e!==n?-t:t),G=(t,e,n,r)=>n?e>=t.innerWidth-r:e<=r,M="show-menu",S="show-backdrop",D="menu-content-open";O.style={ios:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}",md:":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}}@supports not (inset-inline-start: 0){:host(.menu-side-start) .menu-inner{left:0;right:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{left:unset;right:unset;left:auto;right:0}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{left:unset;right:unset;left:auto;right:0}}}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}@supports (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}}@supports not (inset-inline-start: 0){:host(.menu-side-end) .menu-inner{left:auto;right:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{left:unset;right:unset;left:0;right:auto}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{left:unset;right:unset;left:0;right:auto}}}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){width:var(--width);min-width:var(--min-width);max-width:var(--max-width)}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}"};const P=function(){var t=(0,l.Z)(function*(e){const n=yield c.m.get(e);return!(!n||!(yield n.isActive()))});return function(n){return t.apply(this,arguments)}}(),I=class{constructor(t){var e=this;(0,i.r)(this,t),this.inheritedAttributes={},this.onClick=(0,l.Z)(function*(){return c.m.toggle(e.menu)}),this.visible=!1,this.color=void 0,this.disabled=!1,this.menu=void 0,this.autoHide=!0,this.type="button"}componentWillLoad(){this.inheritedAttributes=(0,h.i)(this.el)}componentDidLoad(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,l.Z)(function*(){t.visible=yield P(t.menu)})()}render(){const{color:t,disabled:e,inheritedAttributes:n}=this,r=(0,o.b)(this),m=o.c.get("menuIcon","ios"===r?b.u:b.v),p=this.autoHide&&!this.visible,u={type:this.type},f=n["aria-label"]||"menu";return(0,i.h)(i.H,{key:"7a4543dfcbf559f0d3a473683f8e0bd1d4c3542a",onClick:this.onClick,"aria-disabled":e?"true":null,"aria-hidden":p?"true":null,class:(0,d.c)(t,{[r]:!0,button:!0,"menu-button-hidden":p,"menu-button-disabled":e,"in-toolbar":(0,d.h)("ion-toolbar",this.el),"in-toolbar-color":(0,d.h)("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},(0,i.h)("button",Object.assign({key:"2b6944dc130fa765ac7559077254555583529ec3"},u,{disabled:e,class:"button-native",part:"native","aria-label":f}),(0,i.h)("span",{key:"b4d1006bec8c9e761c64ae3e2fb64848dfc30307",class:"button-inner"},(0,i.h)("slot",{key:"eaf1d57cd2e841c70095821576c52062dc76500b"},(0,i.h)("ion-icon",{key:"105ddb806aae2e6add6cb3989fd4a5cf5ee7d952",part:"icon",icon:m,mode:r,lazy:!1,"aria-hidden":"true"}))),"md"===r&&(0,i.h)("ion-ripple-effect",{key:"8a312aab747de2bdd6adee74fb0bfcbbde12c191",type:"unbounded"})))}get el(){return(0,i.f)(this)}};I.style={ios:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const L=class{constructor(t){(0,i.r)(this,t),this.onClick=()=>c.m.toggle(this.menu),this.visible=!1,this.menu=void 0,this.autoHide=!0}connectedCallback(){this.visibilityChanged()}visibilityChanged(){var t=this;return(0,l.Z)(function*(){t.visible=yield P(t.menu)})()}render(){const t=(0,o.b)(this),e=this.autoHide&&!this.visible;return(0,i.h)(i.H,{key:"94a0815a634c6fb1991854bfbcf5b2b4b61d7710",onClick:this.onClick,"aria-hidden":e?"true":null,class:{[t]:!0,"menu-toggle-hidden":e}},(0,i.h)("slot",{key:"f3ac6d17d5421390ab05f3f31ad00ec4f2ca5c7c"}))}};L.style=":host(.menu-toggle-hidden){display:none}"},3814:(j,v,s)=>{s.d(v,{c:()=>y,g:()=>w,h:()=>i,o:()=>c});var l=s(5861);const i=(a,o)=>null!==o.closest(a),y=(a,o)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},o):o,w=a=>{const o={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(a).forEach(d=>o[d]=!0),o},h=/^[a-z][a-z0-9+\-.]*:/,c=function(){var a=(0,l.Z)(function*(o,d,b,k){if(null!=o&&"#"!==o[0]&&!h.test(o)){const x=document.querySelector("ion-router");if(x)return d?.preventDefault(),x.push(o,b,k)}return!1});return function(d,b,k,x){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8628.6891ab7e2db50789.js b/8628.6891ab7e2db50789.js deleted file mode 100644 index 57f23102..00000000 --- a/8628.6891ab7e2db50789.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8628],{8628:(C,x,c)=>{c.r(x),c.d(x,{ion_searchbar:()=>f});var d=c(5861),o=c(6541),u=c(8635),y=c(6879),k=c(3814),b=c(4896),p=c(4700);const f=class{constructor(r){var e=this;(0,o.r)(this,r),this.ionInput=(0,o.d)(this,"ionInput",7),this.ionChange=(0,o.d)(this,"ionChange",7),this.ionCancel=(0,o.d)(this,"ionCancel",7),this.ionClear=(0,o.d)(this,"ionClear",7),this.ionBlur=(0,o.d)(this,"ionBlur",7),this.ionFocus=(0,o.d)(this,"ionFocus",7),this.ionStyle=(0,o.d)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.inputId="ion-searchbar-"+g++,this.inheritedAttributes={},this.onClearInput=function(){var a=(0,d.Z)(function*(t){return e.ionClear.emit(),new Promise(s=>{setTimeout(()=>{const l=e.getValue();""!==l&&(e.value="",e.emitInputChange(),t&&!e.focused&&(e.setFocus(),e.focusedValue=l)),s()},64)})});return function(t){return a.apply(this,arguments)}}(),this.onCancelSearchbar=function(){var a=(0,d.Z)(function*(t){t&&(t.preventDefault(),t.stopPropagation()),e.ionCancel.emit();const s=e.getValue(),l=e.focused;yield e.onClearInput(),s&&!l&&e.emitValueChange(t),e.nativeInput&&e.nativeInput.blur()});return function(t){return a.apply(this,arguments)}}(),this.onInput=a=>{const t=a.target;t&&(this.value=t.value),this.emitInputChange(a)},this.onChange=a=>{this.emitValueChange(a)},this.onBlur=a=>{this.focused=!1,this.ionBlur.emit(),this.positionElements(),this.focusedValue!==this.value&&this.emitValueChange(a),this.focusedValue=void 0},this.onFocus=()=>{this.focused=!0,this.focusedValue=this.value,this.ionFocus.emit(),this.positionElements()},this.focused=!1,this.noAnimate=!0,this.color=void 0,this.animated=!1,this.autocapitalize=void 0,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=p.c.get("backButtonIcon",b.a),this.cancelButtonText="Cancel",this.clearIcon=void 0,this.debounce=void 0,this.disabled=!1,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder="Search",this.searchIcon=void 0,this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value=""}onLangChanged(r){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{lang:r}),(0,o.i)(this)}onDirChanged(r){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{dir:r}),(0,o.i)(this)}debounceChanged(){const{ionInput:r,debounce:e,originalIonInput:a}=this;this.ionInput=void 0===e?a??r:(0,u.j)(r,e)}valueChanged(){const r=this.nativeInput,e=this.getValue();r&&r.value!==e&&(r.value=e)}showCancelButtonChanged(){requestAnimationFrame(()=>{this.positionElements(),(0,o.i)(this)})}connectedCallback(){this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,u.k)(this.el,["lang","dir"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.positionElements(),this.debounceChanged(),setTimeout(()=>{this.noAnimate=!1},300)}emitStyle(){this.ionStyle.emit({searchbar:!0})}setFocus(){var r=this;return(0,d.Z)(function*(){r.nativeInput&&r.nativeInput.focus()})()}getInputElement(){var r=this;return(0,d.Z)(function*(){return r.nativeInput||(yield new Promise(e=>(0,u.c)(r.el,e))),Promise.resolve(r.nativeInput)})()}emitValueChange(r){const{value:e}=this,a=null==e?e:e.toString();this.focusedValue=a,this.ionChange.emit({value:a,event:r})}emitInputChange(r){const{value:e}=this;this.ionInput.emit({value:e,event:r})}positionElements(){const r=this.getValue(),e=this.shouldAlignLeft,a=(0,p.b)(this),t=!this.animated||""!==r.trim()||!!this.focused;this.shouldAlignLeft=t,"ios"===a&&(e!==t&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const r=this.nativeInput;if(!r)return;const e=(0,y.i)(this.el),a=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)r.removeAttribute("style"),a.removeAttribute("style");else{const t=document,s=t.createElement("span");s.innerText=this.placeholder||"",t.body.appendChild(s),(0,u.r)(()=>{const l=s.offsetWidth;s.remove();const v="calc(50% - "+l/2+"px)",m="calc(50% - "+(l/2+a.clientWidth+8)+"px)";e?(r.style.paddingRight=v,a.style.marginRight=m):(r.style.paddingLeft=v,a.style.marginLeft=m)})}}positionCancelButton(){const r=(0,y.i)(this.el),e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),a=this.shouldShowCancelButton();if(null!==e&&a!==this.isCancelVisible){const t=e.style;if(this.isCancelVisible=a,a)r?t.marginLeft="0":t.marginRight="0";else{const s=e.offsetWidth;s>0&&(r?t.marginLeft=-s+"px":t.marginRight=-s+"px")}}}getValue(){return this.value||""}hasValue(){return""!==this.getValue()}shouldShowCancelButton(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}shouldShowClearButton(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}render(){const{cancelButtonText:r}=this,e=this.animated&&p.c.getBoolean("animated",!0),a=(0,p.b)(this),t=this.clearIcon||("ios"===a?b.b:b.d),s=this.searchIcon||("ios"===a?b.s:b.e),l=this.shouldShowCancelButton(),v="never"!==this.showCancelButton&&(0,o.h)("button",{key:"31e1551828be00d292dbccc68acd43a0df27839e","aria-label":r,"aria-hidden":l?void 0:"true",type:"button",tabIndex:"ios"!==a||l?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},(0,o.h)("div",{key:"925d1e54980c00c7e268d4bb1fb591d7c473f1e7","aria-hidden":"true"},"md"===a?(0,o.h)("ion-icon",{"aria-hidden":"true",mode:a,icon:this.cancelButtonIcon,lazy:!1}):r));return(0,o.h)(o.H,{key:"c677626a8d9395063dd41dc4b1df8eeefde0fb4c",role:"search","aria-disabled":this.disabled?"true":null,class:(0,k.c)(this.color,{[a]:!0,"searchbar-animated":e,"searchbar-disabled":this.disabled,"searchbar-no-animate":e&&this.noAnimate,"searchbar-has-value":this.hasValue(),"searchbar-left-aligned":this.shouldAlignLeft,"searchbar-has-focus":this.focused,"searchbar-should-show-clear":this.shouldShowClearButton(),"searchbar-should-show-cancel":this.shouldShowCancelButton()})},(0,o.h)("div",{key:"6752074931e6ce320a7f05844d471627bd896cf2",class:"searchbar-input-container"},(0,o.h)("input",Object.assign({key:"f74ba66f1eb9ec26ec3e8a0d149d11eadf106a67","aria-label":"search text",disabled:this.disabled,ref:m=>this.nativeInput=m,class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,minLength:this.minlength,maxLength:this.maxlength,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck},this.inheritedAttributes)),"md"===a&&v,(0,o.h)("ion-icon",{key:"7817d383dab14abf89638ffdde796cf4412fde9e","aria-hidden":"true",mode:a,icon:s,lazy:!1,class:"searchbar-search-icon"}),(0,o.h)("button",{key:"edd2093966b8250cb158a053ebb8a2cd5525b589","aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onPointerDown:m=>{m.preventDefault()},onClick:()=>this.onClearInput(!0)},(0,o.h)("ion-icon",{key:"a1deef96cfdeb19f28fc77fda63c04c7424348c7","aria-hidden":"true",mode:a,icon:t,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===a&&v)}get el(){return(0,o.f)(this)}static get watchers(){return{lang:["onLangChanged"],dir:["onDirChanged"],debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}};let g=0;f.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:1.3125rem;height:1.3125rem}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.5em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:9px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:9px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:9px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:3.4375rem;padding-inline-start:3.4375rem;-webkit-padding-end:3.4375rem;padding-inline-end:3.4375rem;padding-top:0.375rem;padding-bottom:0.375rem;background-position:left 8px center;height:auto;font-size:1rem;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:1.375rem;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}"}},3814:(C,x,c)=>{c.d(x,{c:()=>u,g:()=>k,h:()=>o,o:()=>p});var d=c(5861);const o=(i,n)=>null!==n.closest(i),u=(i,n)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},n):n,k=i=>{const n={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(h=>null!=h).map(h=>h.trim()).filter(h=>""!==h):[])(i).forEach(h=>n[h]=!0),n},b=/^[a-z][a-z0-9+\-.]*:/,p=function(){var i=(0,d.Z)(function*(n,h,w,f){if(null!=n&&"#"!==n[0]&&!b.test(n)){const g=document.querySelector("ion-router");if(g)return h?.preventDefault(),g.push(n,w,f)}return!1});return function(h,w,f,g){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8628.862cf0bd6211ebd2.js b/8628.862cf0bd6211ebd2.js new file mode 100644 index 00000000..40ef2707 --- /dev/null +++ b/8628.862cf0bd6211ebd2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8628],{8628:(_,x,c)=>{c.r(x),c.d(x,{ion_searchbar:()=>m});var d=c(5861),t=c(2477),u=c(8635),y=c(6879),k=c(3814),b=c(4896),p=c(7943);const m=class{constructor(a){var e=this;(0,t.r)(this,a),this.ionInput=(0,t.d)(this,"ionInput",7),this.ionChange=(0,t.d)(this,"ionChange",7),this.ionCancel=(0,t.d)(this,"ionCancel",7),this.ionClear=(0,t.d)(this,"ionClear",7),this.ionBlur=(0,t.d)(this,"ionBlur",7),this.ionFocus=(0,t.d)(this,"ionFocus",7),this.ionStyle=(0,t.d)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.inputId="ion-searchbar-"+f++,this.inheritedAttributes={},this.onClearInput=function(){var o=(0,d.Z)(function*(r){return e.ionClear.emit(),new Promise(s=>{setTimeout(()=>{const l=e.getValue();""!==l&&(e.value="",e.emitInputChange(),r&&!e.focused&&(e.setFocus(),e.focusedValue=l)),s()},64)})});return function(r){return o.apply(this,arguments)}}(),this.onCancelSearchbar=function(){var o=(0,d.Z)(function*(r){r&&(r.preventDefault(),r.stopPropagation()),e.ionCancel.emit();const s=e.getValue(),l=e.focused;yield e.onClearInput(),s&&!l&&e.emitValueChange(r),e.nativeInput&&e.nativeInput.blur()});return function(r){return o.apply(this,arguments)}}(),this.onInput=o=>{const r=o.target;r&&(this.value=r.value),this.emitInputChange(o)},this.onChange=o=>{this.emitValueChange(o)},this.onBlur=o=>{this.focused=!1,this.ionBlur.emit(),this.positionElements(),this.focusedValue!==this.value&&this.emitValueChange(o),this.focusedValue=void 0},this.onFocus=()=>{this.focused=!0,this.focusedValue=this.value,this.ionFocus.emit(),this.positionElements()},this.focused=!1,this.noAnimate=!0,this.color=void 0,this.animated=!1,this.autocapitalize="default",this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=p.c.get("backButtonIcon",b.a),this.cancelButtonText="Cancel",this.clearIcon=void 0,this.debounce=void 0,this.disabled=!1,this.inputmode=void 0,this.enterkeyhint=void 0,this.maxlength=void 0,this.minlength=void 0,this.name=this.inputId,this.placeholder="Search",this.searchIcon=void 0,this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value=""}onLangChanged(a){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{lang:a}),(0,t.i)(this)}onDirChanged(a){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{dir:a}),(0,t.i)(this)}debounceChanged(){const{ionInput:a,debounce:e,originalIonInput:o}=this;this.ionInput=void 0===e?o??a:(0,u.j)(a,e)}valueChanged(){const a=this.nativeInput,e=this.getValue();a&&a.value!==e&&(a.value=e)}showCancelButtonChanged(){requestAnimationFrame(()=>{this.positionElements(),(0,t.i)(this)})}connectedCallback(){this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,u.k)(this.el,["lang","dir"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.positionElements(),this.debounceChanged(),setTimeout(()=>{this.noAnimate=!1},300)}emitStyle(){this.ionStyle.emit({searchbar:!0})}setFocus(){var a=this;return(0,d.Z)(function*(){a.nativeInput&&a.nativeInput.focus()})()}getInputElement(){var a=this;return(0,d.Z)(function*(){return a.nativeInput||(yield new Promise(e=>(0,u.c)(a.el,e))),Promise.resolve(a.nativeInput)})()}emitValueChange(a){const{value:e}=this,o=null==e?e:e.toString();this.focusedValue=o,this.ionChange.emit({value:o,event:a})}emitInputChange(a){const{value:e}=this;this.ionInput.emit({value:e,event:a})}positionElements(){const a=this.getValue(),e=this.shouldAlignLeft,o=(0,p.b)(this),r=!this.animated||""!==a.trim()||!!this.focused;this.shouldAlignLeft=r,"ios"===o&&(e!==r&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const a=this.nativeInput;if(!a)return;const e=(0,y.i)(this.el),o=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)a.removeAttribute("style"),o.removeAttribute("style");else{const r=document,s=r.createElement("span");s.innerText=this.placeholder||"",r.body.appendChild(s),(0,u.r)(()=>{const l=s.offsetWidth;s.remove();const g="calc(50% - "+l/2+"px)",v="calc(50% - "+(l/2+o.clientWidth+8)+"px)";e?(a.style.paddingRight=g,o.style.marginRight=v):(a.style.paddingLeft=g,o.style.marginLeft=v)})}}positionCancelButton(){const a=(0,y.i)(this.el),e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),o=this.shouldShowCancelButton();if(null!==e&&o!==this.isCancelVisible){const r=e.style;if(this.isCancelVisible=o,o)a?r.marginLeft="0":r.marginRight="0";else{const s=e.offsetWidth;s>0&&(a?r.marginLeft=-s+"px":r.marginRight=-s+"px")}}}getValue(){return this.value||""}hasValue(){return""!==this.getValue()}shouldShowCancelButton(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}shouldShowClearButton(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}render(){const{cancelButtonText:a,autocapitalize:e}=this,o=this.animated&&p.c.getBoolean("animated",!0),r=(0,p.b)(this),s=this.clearIcon||("ios"===r?b.b:b.d),l=this.searchIcon||("ios"===r?b.s:b.e),g=this.shouldShowCancelButton(),v="never"!==this.showCancelButton&&(0,t.h)("button",{key:"9c7b4d2e86d9bcd12e57c9a96723d3da598a3773","aria-label":a,"aria-hidden":g?void 0:"true",type:"button",tabIndex:"ios"!==r||g?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},(0,t.h)("div",{key:"1c25268a776134cccd29eb752898cb8ac0eed30f","aria-hidden":"true"},"md"===r?(0,t.h)("ion-icon",{"aria-hidden":"true",mode:r,icon:this.cancelButtonIcon,lazy:!1}):a));return(0,t.h)(t.H,{key:"feef9fc7e405656e134a76dc037aaaa1a4ce36b4",role:"search","aria-disabled":this.disabled?"true":null,class:(0,k.c)(this.color,{[r]:!0,"searchbar-animated":o,"searchbar-disabled":this.disabled,"searchbar-no-animate":o&&this.noAnimate,"searchbar-has-value":this.hasValue(),"searchbar-left-aligned":this.shouldAlignLeft,"searchbar-has-focus":this.focused,"searchbar-should-show-clear":this.shouldShowClearButton(),"searchbar-should-show-cancel":this.shouldShowCancelButton()})},(0,t.h)("div",{key:"92e3925dc0de468e5665705902153837105dfa57",class:"searchbar-input-container"},(0,t.h)("input",Object.assign({key:"fb74faf81b347a62338ccdac981525df1c52b322","aria-label":"search text",disabled:this.disabled,ref:C=>this.nativeInput=C,class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,name:this.name,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,minLength:this.minlength,maxLength:this.maxlength,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoCapitalize:"default"===e?void 0:e,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck},this.inheritedAttributes)),"md"===r&&v,(0,t.h)("ion-icon",{key:"d58c3636dac1d2e4135989f4c07dc95c51492e60","aria-hidden":"true",mode:r,icon:l,lazy:!1,class:"searchbar-search-icon"}),(0,t.h)("button",{key:"1cece7c63ca5ca4b8799e15ee6d2bac100ef0d5e","aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onPointerDown:C=>{C.preventDefault()},onClick:()=>this.onClearInput(!0)},(0,t.h)("ion-icon",{key:"fe3c2b9cac29002f69e95a89b554c7504e2df050","aria-hidden":"true",mode:r,icon:s,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===r&&v)}get el(){return(0,t.f)(this)}static get watchers(){return{lang:["onLangChanged"],dir:["onDirChanged"],debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}};let f=0;m.style={ios:".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{left:5px}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;right:5px}}}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-ios{right:0}[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-ios:dir(rtl){left:unset;right:unset;left:0}}}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",md:".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:0.6;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:1.3125rem;height:1.3125rem}@supports (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}}@supports not (inset-inline-start: 0){.searchbar-search-icon.sc-ion-searchbar-md{left:16px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}@supports selector(:dir(rtl)){.searchbar-search-icon.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:16px}}}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.5em}@supports (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:9px}}@supports not (inset-inline-start: 0){.searchbar-cancel-button.sc-ion-searchbar-md{left:9px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:9px}@supports selector(:dir(rtl)){.searchbar-cancel-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;right:9px}}}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:3.4375rem;padding-inline-start:3.4375rem;-webkit-padding-end:3.4375rem;padding-inline-end:3.4375rem;padding-top:0.375rem;padding-bottom:0.375rem;background-position:left 8px center;height:auto;font-size:1rem;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}@supports (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}}@supports not (inset-inline-start: 0){.searchbar-clear-button.sc-ion-searchbar-md{right:13px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}@supports selector(:dir(rtl)){.searchbar-clear-button.sc-ion-searchbar-md:dir(rtl){left:unset;right:unset;left:13px}}}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:1.375rem;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}"}},3814:(_,x,c)=>{c.d(x,{c:()=>u,g:()=>k,h:()=>t,o:()=>p});var d=c(5861);const t=(i,n)=>null!==n.closest(i),u=(i,n)=>"string"==typeof i&&i.length>0?Object.assign({"ion-color":!0,[`ion-color-${i}`]:!0},n):n,k=i=>{const n={};return(i=>void 0!==i?(Array.isArray(i)?i:i.split(" ")).filter(h=>null!=h).map(h=>h.trim()).filter(h=>""!==h):[])(i).forEach(h=>n[h]=!0),n},b=/^[a-z][a-z0-9+\-.]*:/,p=function(){var i=(0,d.Z)(function*(n,h,w,m){if(null!=n&&"#"!==n[0]&&!b.test(n)){const f=document.querySelector("ion-router");if(f)return h?.preventDefault(),f.push(n,w,m)}return!1});return function(h,w,m,f){return i.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/8939.aac6b620c7813872.js b/8939.161cab4e573063c8.js similarity index 87% rename from 8939.aac6b620c7813872.js rename to 8939.161cab4e573063c8.js index 908fe57c..4f74189e 100644 --- a/8939.aac6b620c7813872.js +++ b/8939.161cab4e573063c8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8939],{8939:(p,s,t)=>{t.r(s),t.d(s,{ion_backdrop:()=>r});var a=t(6541),n=t(2889),c=t(4700);const r=class{constructor(o){(0,a.r)(this,o),this.ionBackdropTap=(0,a.d)(this,"ionBackdropTap",7),this.blocker=n.G.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(o){this.emitTap(o)}emitTap(o){this.stopPropagation&&(o.preventDefault(),o.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const o=(0,c.b)(this);return(0,a.h)(a.H,{key:"b2adb9dabef01fa49388d67d9e8a4a370931f633",tabindex:"-1","aria-hidden":"true",class:{[o]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}};r.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8939],{8939:(p,s,t)=>{t.r(s),t.d(s,{ion_backdrop:()=>r});var a=t(2477),n=t(2889),c=t(7943);const r=class{constructor(o){(0,a.r)(this,o),this.ionBackdropTap=(0,a.d)(this,"ionBackdropTap",7),this.blocker=n.G.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(o){this.emitTap(o)}emitTap(o){this.stopPropagation&&(o.preventDefault(),o.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const o=(0,c.b)(this);return(0,a.h)(a.H,{key:"16b1328f4a058b8d3752e58dc56c44bed556c425",tabindex:"-1","aria-hidden":"true",class:{[o]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}};r.style={ios:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",md:":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}"}}}]); \ No newline at end of file diff --git a/9016.7a02c689313d929e.js b/9016.5096b518c907d596.js similarity index 93% rename from 9016.7a02c689313d929e.js rename to 9016.5096b518c907d596.js index e5257388..6b86c414 100644 --- a/9016.7a02c689313d929e.js +++ b/9016.5096b518c907d596.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9016],{9016:(x,d,u)=>{u.r(d),u.d(d,{ion_picker_internal:()=>b});var f=u(5861),a=u(6541),p=u(8635);const b=class{constructor(i){(0,a.r)(this,i),this.ionInputModeChange=(0,a.d)(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=t=>{const{highlightEl:e}=this;if(!e)return!1;const r=e.getBoundingClientRect();return!(t.clientXr.right||t.clientYr.bottom)},this.onFocusOut=t=>{const{relatedTarget:e}=t;(!e||"ION-PICKER-COLUMN-INTERNAL"!==e.tagName&&e!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=t=>{const{target:e}=t;"ION-PICKER-COLUMN-INTERNAL"!==e.tagName||this.actionOnClick||(e.numericInput?this.enterInputMode(e,!1):this.exitInputMode())},this.onClick=()=>{const{actionOnClick:t}=this;t&&(t(),this.actionOnClick=void 0)},this.onPointerDown=t=>{const{useInputMode:e,inputModeColumn:r,el:o}=this;if(this.isInHighlightBounds(t))if(e)this.actionOnClick="ION-PICKER-COLUMN-INTERNAL"===t.target.tagName?r&&r===t.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(t.target)}:()=>{this.exitInputMode()};else{const n=1===o.querySelectorAll("ion-picker-column-internal.picker-column-numeric-input").length?t.target:void 0;this.actionOnClick=()=>{this.enterInputMode(n)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(t,e=!0)=>{const{inputEl:r,el:o}=this;!r||!o.querySelector("ion-picker-column-internal.picker-column-numeric-input")||(this.useInputMode=!0,this.inputModeColumn=t,e?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),r.focus()):(o.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{o.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.onKeyPress=t=>{const{inputEl:e}=this;if(!e)return;const r=parseInt(t.key,10);Number.isNaN(r)||(e.value+=t.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:t,inputModeColumn:e,singleColumnSearchTimeout:r}=this;if(!t||!e)return;const o=e.items.filter(n=>!0!==n.disabled);if(r&&clearTimeout(r),this.singleColumnSearchTimeout=setTimeout(()=>{t.value="",this.singleColumnSearchTimeout=void 0},1e3),t.value.length>=3){const l=t.value.substring(t.value.length-2);return t.value=l,void this.selectSingleColumn()}const s=o.find(({text:n})=>n.replace(/^0+(?=[1-9])|0+(?=0$)/,"")===t.value);if(s)e.setValue(s.value);else if(2===t.value.length){const n=t.value.substring(t.value.length-1);t.value=n,this.selectSingleColumn()}},this.searchColumn=(t,e,r="start")=>{const o="start"===r?/^0+/:/0$/,s=t.items.find(({text:n,disabled:l})=>!0!==l&&n.replace(o,"")===e);s&&t.setValue(s.value)},this.selectMultiColumn=()=>{const{inputEl:t,el:e}=this;if(!t)return;const r=Array.from(e.querySelectorAll("ion-picker-column-internal")).filter(c=>c.numericInput),o=r[0],s=r[1];let l,n=t.value;switch(n.length){case 1:this.searchColumn(o,n);break;case 2:const c=t.value.substring(0,1);n="0"===c||"1"===c?t.value:c,this.searchColumn(o,n),1===n.length&&(l=t.value.substring(t.value.length-1),this.searchColumn(s,l,"end"));break;case 3:const h=t.value.substring(0,1);n="0"===h||"1"===h?t.value.substring(0,2):h,this.searchColumn(o,n),l=t.value.substring(1===n.length?1:2),this.searchColumn(s,l,"end");break;case 4:const g=t.value.substring(0,1);n="0"===g||"1"===g?t.value.substring(0,2):g,this.searchColumn(o,n);const v=t.value.substring(1===n.length?1:2,t.value.length);this.searchColumn(s,v,"end");break;default:const I=t.value.substring(t.value.length-4);t.value=I,this.selectMultiColumn()}},this.onInputChange=()=>{const{useInputMode:t,inputEl:e,inputModeColumn:r}=this;!t||!e||(r?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:t,inputModeColumn:e}=this;this.ionInputModeChange.emit({useInputMode:t,inputModeColumn:e})}}preventTouchStartPropagation(i){i.stopPropagation()}componentWillLoad(){(0,p.g)(this.el).addEventListener("focusin",this.onFocusIn),(0,p.g)(this.el).addEventListener("focusout",this.onFocusOut)}exitInputMode(){var i=this;return(0,f.Z)(function*(){const{inputEl:t,useInputMode:e}=i;!e||!t||(i.useInputMode=!1,i.inputModeColumn=void 0,t.blur(),t.value="",i.destroyKeypressListener&&(i.destroyKeypressListener(),i.destroyKeypressListener=void 0),i.emitInputModeChange())})()}render(){return(0,a.h)(a.H,{key:"49581a3c11cd7808555c576c46b833ac9d60f71a",onPointerDown:i=>this.onPointerDown(i),onClick:()=>this.onClick()},(0,a.h)("input",{key:"92628e29f76914b955aa11d4e45797a941821159","aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",onKeyDown:i=>{var t;"Enter"===i.key&&(null===(t=this.inputEl)||void 0===t||t.blur())},ref:i=>this.inputEl=i,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),(0,a.h)("div",{key:"455d7ef6dd1425e882d86f49e0d817883fe222b2",class:"picker-before"}),(0,a.h)("div",{key:"0351296cf171d22840542eb178ec3fae1e90f5d5",class:"picker-after"}),(0,a.h)("div",{key:"b4ecaa88d0bbbd69e72b3d4f27ad3bd91f3da84d",class:"picker-highlight",ref:i=>this.highlightEl=i}),(0,a.h)("slot",{key:"fac29c179707002861f39d2ba1ea53479d0d9b74"}))}get el(){return(0,a.f)(this)}};b.style={ios:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}",md:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9016],{9016:(x,d,u)=>{u.r(d),u.d(d,{ion_picker_internal:()=>b});var f=u(5861),a=u(2477),p=u(8635);const b=class{constructor(i){(0,a.r)(this,i),this.ionInputModeChange=(0,a.d)(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=t=>{const{highlightEl:e}=this;if(!e)return!1;const r=e.getBoundingClientRect();return!(t.clientXr.right||t.clientYr.bottom)},this.onFocusOut=t=>{const{relatedTarget:e}=t;(!e||"ION-PICKER-COLUMN-INTERNAL"!==e.tagName&&e!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=t=>{const{target:e}=t;"ION-PICKER-COLUMN-INTERNAL"!==e.tagName||this.actionOnClick||(e.numericInput?this.enterInputMode(e,!1):this.exitInputMode())},this.onClick=()=>{const{actionOnClick:t}=this;t&&(t(),this.actionOnClick=void 0)},this.onPointerDown=t=>{const{useInputMode:e,inputModeColumn:r,el:o}=this;if(this.isInHighlightBounds(t))if(e)this.actionOnClick="ION-PICKER-COLUMN-INTERNAL"===t.target.tagName?r&&r===t.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(t.target)}:()=>{this.exitInputMode()};else{const n=1===o.querySelectorAll("ion-picker-column-internal.picker-column-numeric-input").length?t.target:void 0;this.actionOnClick=()=>{this.enterInputMode(n)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(t,e=!0)=>{const{inputEl:r,el:o}=this;!r||!o.querySelector("ion-picker-column-internal.picker-column-numeric-input")||(this.useInputMode=!0,this.inputModeColumn=t,e?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),r.focus()):(o.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{o.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.onKeyPress=t=>{const{inputEl:e}=this;if(!e)return;const r=parseInt(t.key,10);Number.isNaN(r)||(e.value+=t.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:t,inputModeColumn:e,singleColumnSearchTimeout:r}=this;if(!t||!e)return;const o=e.items.filter(n=>!0!==n.disabled);if(r&&clearTimeout(r),this.singleColumnSearchTimeout=setTimeout(()=>{t.value="",this.singleColumnSearchTimeout=void 0},1e3),t.value.length>=3){const l=t.value.substring(t.value.length-2);return t.value=l,void this.selectSingleColumn()}const s=o.find(({text:n})=>n.replace(/^0+(?=[1-9])|0+(?=0$)/,"")===t.value);if(s)e.setValue(s.value);else if(2===t.value.length){const n=t.value.substring(t.value.length-1);t.value=n,this.selectSingleColumn()}},this.searchColumn=(t,e,r="start")=>{const o="start"===r?/^0+/:/0$/,s=t.items.find(({text:n,disabled:l})=>!0!==l&&n.replace(o,"")===e);s&&t.setValue(s.value)},this.selectMultiColumn=()=>{const{inputEl:t,el:e}=this;if(!t)return;const r=Array.from(e.querySelectorAll("ion-picker-column-internal")).filter(c=>c.numericInput),o=r[0],s=r[1];let l,n=t.value;switch(n.length){case 1:this.searchColumn(o,n);break;case 2:const c=t.value.substring(0,1);n="0"===c||"1"===c?t.value:c,this.searchColumn(o,n),1===n.length&&(l=t.value.substring(t.value.length-1),this.searchColumn(s,l,"end"));break;case 3:const h=t.value.substring(0,1);n="0"===h||"1"===h?t.value.substring(0,2):h,this.searchColumn(o,n),l=t.value.substring(1===n.length?1:2),this.searchColumn(s,l,"end");break;case 4:const g=t.value.substring(0,1);n="0"===g||"1"===g?t.value.substring(0,2):g,this.searchColumn(o,n);const v=t.value.substring(1===n.length?1:2,t.value.length);this.searchColumn(s,v,"end");break;default:const I=t.value.substring(t.value.length-4);t.value=I,this.selectMultiColumn()}},this.onInputChange=()=>{const{useInputMode:t,inputEl:e,inputModeColumn:r}=this;!t||!e||(r?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:t,inputModeColumn:e}=this;this.ionInputModeChange.emit({useInputMode:t,inputModeColumn:e})}}preventTouchStartPropagation(i){i.stopPropagation()}componentWillLoad(){(0,p.g)(this.el).addEventListener("focusin",this.onFocusIn),(0,p.g)(this.el).addEventListener("focusout",this.onFocusOut)}exitInputMode(){var i=this;return(0,f.Z)(function*(){const{inputEl:t,useInputMode:e}=i;!e||!t||(i.useInputMode=!1,i.inputModeColumn=void 0,t.blur(),t.value="",i.destroyKeypressListener&&(i.destroyKeypressListener(),i.destroyKeypressListener=void 0),i.emitInputModeChange())})()}render(){return(0,a.h)(a.H,{key:"01cbd466787242ad070b01909714089570b4d67f",onPointerDown:i=>this.onPointerDown(i),onClick:()=>this.onClick()},(0,a.h)("input",{key:"7ff8c0a74c107610a6f0dd9fbc2fc7a4a6dc2468","aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",onKeyDown:i=>{var t;"Enter"===i.key&&(null===(t=this.inputEl)||void 0===t||t.blur())},ref:i=>this.inputEl=i,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),(0,a.h)("div",{key:"4700c9d877f54ae8f3fb173122193c27637f70a4",class:"picker-before"}),(0,a.h)("div",{key:"7ceae834b15d559f3819ec2116f83669cf6665fc",class:"picker-after"}),(0,a.h)("div",{key:"2d3bfda76279c2ee14edc067c53651be23b8b525",class:"picker-highlight",ref:i=>this.highlightEl=i}),(0,a.h)("slot",{key:"4797def7a3882a8a911ad47949b76f58a9f448d1"}))}get el(){return(0,a.f)(this)}};b.style={ios:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--wheel-highlight-background, var(--ion-color-step-150, #eeeeef))}",md:":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}@supports (inset-inline-start: 0){:host .picker-before{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-before{left:0}:host-context([dir=rtl]) .picker-before{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-before{left:unset;right:unset;right:0}}}:host .picker-after{top:116px;height:84px}@supports (inset-inline-start: 0){:host .picker-after{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host .picker-after{left:0}:host-context([dir=rtl]) .picker-after{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(:dir(rtl)) .picker-after{left:unset;right:unset;right:0}}}:host .picker-highlight{border-radius:8px;left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--wheel-highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column-internal:first-of-type){text-align:start}:host ::slotted(ion-picker-column-internal:last-of-type){text-align:end}:host ::slotted(ion-picker-column-internal:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--wheel-fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}"}}}]); \ No newline at end of file diff --git a/9230.55b2631b7e9d76a3.js b/9230.3965478050903c1e.js similarity index 56% rename from 9230.55b2631b7e9d76a3.js rename to 9230.3965478050903c1e.js index 72481aef..2825d7df 100644 --- a/9230.55b2631b7e9d76a3.js +++ b/9230.3965478050903c1e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9230],{9230:(N,v,c)=>{c.r(v),c.d(v,{ion_datetime_button:()=>g});var f=c(5861),d=c(6541),x=c(8635),b=c(8909),C=c(3814),P=c(4700),l=c(9291);const g=class{constructor(s){var r=this;(0,d.r)(this,s),this.datetimeEl=null,this.overlayEl=null,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=()=>{var e,a,i,n,o;const{datetimeEl:m,datetimePresentation:B}=this;if(!m)return;const{value:I,locale:u,formatOptions:t,hourCycle:M,preferWheel:A,multiple:j,titleSelectedDatesFormatter:_}=m,h=this.getParsedDateValues(I),y=(0,l.s)(h.length>0?h:[(0,l.x)()]);if(!y)return;const p=y[0],E=(0,l.L)(u,M);switch(this.dateText=this.timeText=void 0,B){case"date-time":case"time-date":const T=(0,l.N)(u,p,null!==(e=t?.date)&&void 0!==e?e:{month:"short",day:"numeric",year:"numeric"}),D=(0,l.M)(u,p,E,t?.time);A?this.dateText=`${T} ${D}`:(this.dateText=T,this.timeText=D);break;case"date":if(j&&1!==h.length){let k=`${h.length} days`;if(void 0!==_)try{k=_(h)}catch(L){(0,b.a)("Exception in provided `titleSelectedDatesFormatter`: ",L)}this.dateText=k}else this.dateText=(0,l.N)(u,p,null!==(a=t?.date)&&void 0!==a?a:{month:"short",day:"numeric",year:"numeric"});break;case"time":this.timeText=(0,l.M)(u,p,E,t?.time);break;case"month-year":this.dateText=(0,l.N)(u,p,null!==(i=t?.date)&&void 0!==i?i:{month:"long",year:"numeric"});break;case"month":this.dateText=(0,l.N)(u,p,null!==(n=t?.time)&&void 0!==n?n:{month:"long"});break;case"year":this.dateText=(0,l.N)(u,p,null!==(o=t?.time)&&void 0!==o?o:{year:"numeric"})}},this.waitForDatetimeChanges=(0,f.Z)(function*(){const{datetimeEl:e}=r;return e?new Promise(a=>{(0,x.a)(e,"ionRender",a,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var e=(0,f.Z)(function*(a){const{datetimeEl:i,datetimePresentation:n}=r;if(!i)return;let o=!1;switch(n){case"date-time":case"time-date":!i.preferWheel&&"date"!==i.presentation&&(i.presentation="date",o=!0)}r.selectedButton="date",r.presentOverlay(a,o,r.dateTargetEl)});return function(a){return e.apply(this,arguments)}}(),this.handleTimeClick=e=>{const{datetimeEl:a,datetimePresentation:i}=this;if(!a)return;let n=!1;switch(i){case"date-time":case"time-date":"time"!==a.presentation&&(a.presentation="time",n=!0)}this.selectedButton="time",this.presentOverlay(e,n,this.timeTargetEl)},this.presentOverlay=function(){var e=(0,f.Z)(function*(a,i,n){const{overlayEl:o}=r;o&&("ION-POPOVER"===o.tagName?(i&&(yield r.waitForDatetimeChanges()),o.present(Object.assign(Object.assign({},a),{detail:{ionShadowTarget:n}}))):o.present())});return function(a,i,n){return e.apply(this,arguments)}}(),this.datetimePresentation="date-time",this.dateText=void 0,this.timeText=void 0,this.datetimeActive=!1,this.selectedButton=void 0,this.color="primary",this.disabled=!1,this.datetime=void 0}componentWillLoad(){var s=this;return(0,f.Z)(function*(){const{datetime:r}=s;if(!r)return void(0,b.a)("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",s.el);const e=s.datetimeEl=document.getElementById(r);if(!e)return void(0,b.a)(`No ion-datetime instance found for ID '${r}'.`,s.el);if("ION-DATETIME"!==e.tagName)return void(0,b.a)(`Expected an ion-datetime instance for ID '${r}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver(n=>{s.datetimeActive=n[0].isIntersecting},{threshold:.01}).observe(e);const i=s.overlayEl=e.closest("ion-modal, ion-popover");i&&i.classList.add("ion-datetime-button-overlay"),(0,x.c)(e,()=>{const n=s.datetimePresentation=e.presentation||"date-time";switch(s.setDateTimeText(),(0,x.a)(e,"ionValueChange",s.setDateTimeText),n){case"date-time":case"date":case"month-year":case"month":case"year":s.selectedButton="date";break;case"time-date":case"time":s.selectedButton="time"}})})()}render(){const{color:s,dateText:r,timeText:e,selectedButton:a,datetimeActive:i,disabled:n}=this,o=(0,P.b)(this);return(0,d.h)(d.H,{key:"a38773e24ea0a28315be89baf0ef97f564b5d74b",class:(0,C.c)(s,{[o]:!0,[`${a}-active`]:i,"datetime-button-disabled":n})},r&&(0,d.h)("button",{class:"ion-activatable",id:"date-button","aria-expanded":i?"true":"false",onClick:this.handleDateClick,disabled:n,part:"native",ref:m=>this.dateTargetEl=m},(0,d.h)("slot",{name:"date-target"},r),"md"===o&&(0,d.h)("ion-ripple-effect",null)),e&&(0,d.h)("button",{class:"ion-activatable",id:"time-button","aria-expanded":i?"true":"false",onClick:this.handleTimeClick,disabled:n,part:"native",ref:m=>this.timeTargetEl=m},(0,d.h)("slot",{name:"time-target"},e),"md"===o&&(0,d.h)("ion-ripple-effect",null)))}get el(){return(0,d.f)(this)}};g.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{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;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end: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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}: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-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{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;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end: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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}: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}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9230],{9230:(N,v,c)=>{c.r(v),c.d(v,{ion_datetime_button:()=>g});var f=c(5861),d=c(2477),x=c(8635),b=c(8909),C=c(3814),P=c(7943),l=c(9291);const g=class{constructor(s){var r=this;(0,d.r)(this,s),this.datetimeEl=null,this.overlayEl=null,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=()=>{var e,a,i,n,o;const{datetimeEl:m,datetimePresentation:B}=this;if(!m)return;const{value:I,locale:u,formatOptions:t,hourCycle:M,preferWheel:A,multiple:j,titleSelectedDatesFormatter:_}=m,h=this.getParsedDateValues(I),y=(0,l.s)(h.length>0?h:[(0,l.x)()]);if(!y)return;const p=y[0],E=(0,l.L)(u,M);switch(this.dateText=this.timeText=void 0,B){case"date-time":case"time-date":const T=(0,l.N)(u,p,null!==(e=t?.date)&&void 0!==e?e:{month:"short",day:"numeric",year:"numeric"}),D=(0,l.M)(u,p,E,t?.time);A?this.dateText=`${T} ${D}`:(this.dateText=T,this.timeText=D);break;case"date":if(j&&1!==h.length){let k=`${h.length} days`;if(void 0!==_)try{k=_(h)}catch(L){(0,b.a)("Exception in provided `titleSelectedDatesFormatter`: ",L)}this.dateText=k}else this.dateText=(0,l.N)(u,p,null!==(a=t?.date)&&void 0!==a?a:{month:"short",day:"numeric",year:"numeric"});break;case"time":this.timeText=(0,l.M)(u,p,E,t?.time);break;case"month-year":this.dateText=(0,l.N)(u,p,null!==(i=t?.date)&&void 0!==i?i:{month:"long",year:"numeric"});break;case"month":this.dateText=(0,l.N)(u,p,null!==(n=t?.time)&&void 0!==n?n:{month:"long"});break;case"year":this.dateText=(0,l.N)(u,p,null!==(o=t?.time)&&void 0!==o?o:{year:"numeric"})}},this.waitForDatetimeChanges=(0,f.Z)(function*(){const{datetimeEl:e}=r;return e?new Promise(a=>{(0,x.a)(e,"ionRender",a,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var e=(0,f.Z)(function*(a){const{datetimeEl:i,datetimePresentation:n}=r;if(!i)return;let o=!1;switch(n){case"date-time":case"time-date":!i.preferWheel&&"date"!==i.presentation&&(i.presentation="date",o=!0)}r.selectedButton="date",r.presentOverlay(a,o,r.dateTargetEl)});return function(a){return e.apply(this,arguments)}}(),this.handleTimeClick=e=>{const{datetimeEl:a,datetimePresentation:i}=this;if(!a)return;let n=!1;switch(i){case"date-time":case"time-date":"time"!==a.presentation&&(a.presentation="time",n=!0)}this.selectedButton="time",this.presentOverlay(e,n,this.timeTargetEl)},this.presentOverlay=function(){var e=(0,f.Z)(function*(a,i,n){const{overlayEl:o}=r;o&&("ION-POPOVER"===o.tagName?(i&&(yield r.waitForDatetimeChanges()),o.present(Object.assign(Object.assign({},a),{detail:{ionShadowTarget:n}}))):o.present())});return function(a,i,n){return e.apply(this,arguments)}}(),this.datetimePresentation="date-time",this.dateText=void 0,this.timeText=void 0,this.datetimeActive=!1,this.selectedButton=void 0,this.color="primary",this.disabled=!1,this.datetime=void 0}componentWillLoad(){var s=this;return(0,f.Z)(function*(){const{datetime:r}=s;if(!r)return void(0,b.a)("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",s.el);const e=s.datetimeEl=document.getElementById(r);if(!e)return void(0,b.a)(`No ion-datetime instance found for ID '${r}'.`,s.el);if("ION-DATETIME"!==e.tagName)return void(0,b.a)(`Expected an ion-datetime instance for ID '${r}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver(n=>{s.datetimeActive=n[0].isIntersecting},{threshold:.01}).observe(e);const i=s.overlayEl=e.closest("ion-modal, ion-popover");i&&i.classList.add("ion-datetime-button-overlay"),(0,x.c)(e,()=>{const n=s.datetimePresentation=e.presentation||"date-time";switch(s.setDateTimeText(),(0,x.a)(e,"ionValueChange",s.setDateTimeText),n){case"date-time":case"date":case"month-year":case"month":case"year":s.selectedButton="date";break;case"time-date":case"time":s.selectedButton="time"}})})()}render(){const{color:s,dateText:r,timeText:e,selectedButton:a,datetimeActive:i,disabled:n}=this,o=(0,P.b)(this);return(0,d.h)(d.H,{key:"ab6c21a4c185dee71c8f14cafad82e38831c68d0",class:(0,C.c)(s,{[o]:!0,[`${a}-active`]:i,"datetime-button-disabled":n})},r&&(0,d.h)("button",{key:"cbda6f3386c3714567a04b5a97a96c71d59822c8",class:"ion-activatable",id:"date-button","aria-expanded":i?"true":"false",onClick:this.handleDateClick,disabled:n,part:"native",ref:m=>this.dateTargetEl=m},(0,d.h)("slot",{key:"a00ff431512827bfef8c02982ef37099b2f21508",name:"date-target"},r),"md"===o&&(0,d.h)("ion-ripple-effect",{key:"67935989628a2ed0492edb813fb0475bfd88abe7"})),e&&(0,d.h)("button",{key:"4207c94de5bece91b8388332e0192d1756403e62",class:"ion-activatable",id:"time-button","aria-expanded":i?"true":"false",onClick:this.handleTimeClick,disabled:n,part:"native",ref:m=>this.timeTargetEl=m},(0,d.h)("slot",{key:"9ffa7ef4417571933bd1757950ec805c49704759",name:"time-target"},e),"md"===o&&(0,d.h)("ion-ripple-effect",{key:"fbcad00cf828c9719074d1d06f4e13246b28903e"})))}get el(){return(0,d.f)(this)}};g.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{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;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end: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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}: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-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{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;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end: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:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}: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}"}}}]); \ No newline at end of file diff --git a/9325.6c31291c6f3a6e1f.js b/9325.6c31291c6f3a6e1f.js new file mode 100644 index 00000000..d024292d --- /dev/null +++ b/9325.6c31291c6f3a6e1f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9325],{9325:(M,y,d)=>{d.r(y),d.d(y,{ion_segment:()=>p,ion_segment_button:()=>I});var w=d(5861),r=d(2477),g=d(8635),C=d(6879),m=d(3814),B=d(7943);const p=class{constructor(t){(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionSelect=(0,r.d)(this,"ionSelect",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.onClick=e=>{const n=e.target,o=this.checked;"ION-SEGMENT"!==n.tagName&&(this.value=n.value,n!==o&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(o?this.checkButton(o,n):this.setCheckedClasses()))},this.getSegmentButton=e=>{var n,o;const i=this.getButtons().filter(a=>!a.disabled),l=i.findIndex(a=>a===document.activeElement);switch(e){case"first":return i[0];case"last":return i[i.length-1];case"next":return null!==(n=i[l+1])&&void 0!==n?n:i[0];case"previous":return null!==(o=i[l-1])&&void 0!==o?o:i[i.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t){this.ionSelect.emit({value:t}),this.scrollActiveButtonIntoView()}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const e of t)e.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var t=this;return(0,w.Z)(function*(){t.setCheckedClasses(),t.ionSelect.emit({value:t.value}),(0,g.r)(()=>{t.scrollActiveButtonIntoView(!1)}),t.gesture=(yield Promise.resolve().then(d.bind(d,5067))).createGesture({el:t.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>t.onStart(e),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.gestureChanged(),t.disabled&&t.disabledChanged()})()}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const e=this.value;void 0!==e&&this.valueBeforeGesture!==e&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(t=>t.value===this.value)}setActivated(t){this.getButtons().forEach(n=>{t?n.classList.add("segment-button-activated"):n.classList.remove("segment-button-activated")}),this.activated=t}activate(t){const e=t.event.target,o=this.getButtons().find(i=>i.value===this.value);"ION-SEGMENT-BUTTON"===e.tagName&&(o||(this.value=e.value,this.setCheckedClasses()),this.value===e.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,e){const n=this.getIndicator(t),o=this.getIndicator(e);if(null===n||null===o)return;const i=n.getBoundingClientRect(),l=o.getBoundingClientRect(),b=`translate3d(${i.left-l.left}px, 0, 0) scaleX(${i.width/l.width})`;(0,r.w)(()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",b),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),n=t.findIndex(o=>o.value===this.value)+1;for(const o of t)o.classList.remove("segment-button-after-checked");na.value===n);if(void 0!==l){const a=o.getBoundingClientRect(),h=l.getBoundingClientRect();o.scrollBy({top:0,left:h.x-a.x-a.width/2+h.width/2,behavior:t?"smooth":"instant"})}}}setNextIndex(t,e=!1){const n=(0,C.i)(this.el),o=this.activated,i=this.getButtons(),l=i.findIndex(v=>v.value===this.value),a=i[l];let h,b;if(-1===l)return;const f=a.getBoundingClientRect(),S=f.left,z=f.width,x=t.currentX,O=f.top+f.height/2,A=this.el.getRootNode().elementFromPoint(x,O);if(o&&!e){if(n?x>S+z:x=0&&(b=v)}else if((n?xS+z)&&o&&!e){const v=l+1;v{(0,r.i)(this)},this.updateState=()=>{const{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+L++}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),(0,g.a)(t,"ionSelect",this.updateState),(0,g.a)(t,"ionStyle",this.updateStyle))}disconnectedCallback(){const t=this.segmentEl;t&&((0,g.b)(t,"ionSelect",this.updateState),(0,g.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,g.k)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var t=this;return(0,w.Z)(function*(){const{nativeEl:e}=t;void 0!==e&&e.focus()})()}render(){const{checked:t,type:e,disabled:n,hasIcon:o,hasLabel:i,layout:l,segmentEl:a}=this,h=(0,B.b)(this);return(0,r.h)(r.H,{key:"daed55711fdb550747d2ad5fb6e012bff6f6b176",class:{[h]:!0,"in-toolbar":(0,m.h)("ion-toolbar",this.el),"in-toolbar-color":(0,m.h)("ion-toolbar[color]",this.el),"in-segment":(0,m.h)("ion-segment",this.el),"in-segment-color":void 0!==a?.color,"segment-button-has-label":i,"segment-button-has-icon":o,"segment-button-has-label-only":i&&!o,"segment-button-has-icon-only":o&&!i,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${l}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,r.h)("button",Object.assign({key:"851a4b8ff7e45f5fc559c4d8e9c3102441dbd10e","aria-selected":t?"true":"false",role:"tab",ref:f=>this.nativeEl=f,type:e,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),(0,r.h)("span",{key:"b2dc87747e81ce49dfa1269355027d9380226a6a",class:"button-inner"},(0,r.h)("slot",{key:"00e21fdcafb533605518beebb9557c724fc88e76"})),"md"===h&&(0,r.h)("ion-ripple-effect",{key:"358c90ab1b43aae3bc6eb1e58fb38d4892894a68"})),(0,r.h)("div",{key:"20fd3f7c43dd117541314e852d894af855050707",part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,r.h)("div",{key:"bebdeb84466c404d52ce48feda1ece5fb1f202b0",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};I.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}},3814:(M,y,d)=>{d.d(y,{c:()=>g,g:()=>m,h:()=>r,o:()=>E});var w=d(5861);const r=(s,c)=>null!==c.closest(s),g=(s,c)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},c):c,m=s=>{const c={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(u=>null!=u).map(u=>u.trim()).filter(u=>""!==u):[])(s).forEach(u=>c[u]=!0),c},B=/^[a-z][a-z0-9+\-.]*:/,E=function(){var s=(0,w.Z)(function*(c,u,p,_){if(null!=c&&"#"!==c[0]&&!B.test(c)){const k=document.querySelector("ion-router");if(k)return u?.preventDefault(),k.push(c,p,_)}return!1});return function(u,p,_,k){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9325.d836b747c6cb9521.js b/9325.d836b747c6cb9521.js deleted file mode 100644 index bef6a7ea..00000000 --- a/9325.d836b747c6cb9521.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9325],{9325:(M,y,d)=>{d.r(y),d.d(y,{ion_segment:()=>p,ion_segment_button:()=>I});var w=d(5861),r=d(6541),b=d(8635),C=d(6879),m=d(3814),B=d(4700);const p=class{constructor(t){(0,r.r)(this,t),this.ionChange=(0,r.d)(this,"ionChange",7),this.ionSelect=(0,r.d)(this,"ionSelect",7),this.ionStyle=(0,r.d)(this,"ionStyle",7),this.onClick=e=>{const n=e.target,o=this.checked;"ION-SEGMENT"!==n.tagName&&(this.value=n.value,n!==o&&this.emitValueChange(),(this.scrollable||!this.swipeGesture)&&(o?this.checkButton(o,n):this.setCheckedClasses()))},this.getSegmentButton=e=>{var n,o;const i=this.getButtons().filter(a=>!a.disabled),l=i.findIndex(a=>a===document.activeElement);switch(e){case"first":return i[0];case"last":return i[i.length-1];case"next":return null!==(n=i[l+1])&&void 0!==n?n:i[0];case"previous":return null!==(o=i[l-1])&&void 0!==o?o:i[i.length-1];default:return null}},this.activated=!1,this.color=void 0,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.value=void 0,this.selectOnFocus=!1}colorChanged(t,e){(void 0===e&&void 0!==t||void 0!==e&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t){this.ionSelect.emit({value:t}),this.scrollActiveButtonIntoView()}disabledChanged(){this.gestureChanged();const t=this.getButtons();for(const e of t)e.disabled=this.disabled}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle()}componentWillLoad(){this.emitStyle()}componentDidLoad(){var t=this;return(0,w.Z)(function*(){t.setCheckedClasses(),t.ionSelect.emit({value:t.value}),(0,b.r)(()=>{t.scrollActiveButtonIntoView(!1)}),t.gesture=(yield Promise.resolve().then(d.bind(d,5067))).createGesture({el:t.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>t.onStart(e),onMove:e=>t.onMove(e),onEnd:e=>t.onEnd(e)}),t.gestureChanged(),t.disabled&&t.disabledChanged()})()}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const e=this.value;void 0!==e&&this.valueBeforeGesture!==e&&this.emitValueChange(),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(t=>t.value===this.value)}setActivated(t){this.getButtons().forEach(n=>{t?n.classList.add("segment-button-activated"):n.classList.remove("segment-button-activated")}),this.activated=t}activate(t){const e=t.event.target,o=this.getButtons().find(i=>i.value===this.value);"ION-SEGMENT-BUTTON"===e.tagName&&(o||(this.value=e.value,this.setCheckedClasses()),this.value===e.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,e){const n=this.getIndicator(t),o=this.getIndicator(e);if(null===n||null===o)return;const i=n.getBoundingClientRect(),l=o.getBoundingClientRect(),g=`translate3d(${i.left-l.left}px, 0, 0) scaleX(${i.width/l.width})`;(0,r.w)(()=>{o.classList.remove("segment-button-indicator-animated"),o.style.setProperty("transform",g),o.getBoundingClientRect(),o.classList.add("segment-button-indicator-animated"),o.style.setProperty("transform","")}),this.value=e.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),n=t.findIndex(o=>o.value===this.value)+1;for(const o of t)o.classList.remove("segment-button-after-checked");na.value===n);if(void 0!==l){const a=o.getBoundingClientRect(),h=l.getBoundingClientRect();o.scrollBy({top:0,left:h.x-a.x-a.width/2+h.width/2,behavior:t?"smooth":"instant"})}}}setNextIndex(t,e=!1){const n=(0,C.i)(this.el),o=this.activated,i=this.getButtons(),l=i.findIndex(v=>v.value===this.value),a=i[l];let h,g;if(-1===l)return;const f=a.getBoundingClientRect(),S=f.left,z=f.width,x=t.currentX,O=f.top+f.height/2,A=this.el.getRootNode().elementFromPoint(x,O);if(o&&!e){if(n?x>S+z:x=0&&(g=v)}else if((n?xS+z)&&o&&!e){const v=l+1;v{(0,r.i)(this)},this.updateState=()=>{const{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+L++}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),(0,b.a)(t,"ionSelect",this.updateState),(0,b.a)(t,"ionStyle",this.updateStyle))}disconnectedCallback(){const t=this.segmentEl;t&&((0,b.b)(t,"ionSelect",this.updateState),(0,b.b)(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){this.inheritedAttributes=Object.assign({},(0,b.k)(this.el,["aria-label"]))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}setFocus(){var t=this;return(0,w.Z)(function*(){const{nativeEl:e}=t;void 0!==e&&e.focus()})()}render(){const{checked:t,type:e,disabled:n,hasIcon:o,hasLabel:i,layout:l,segmentEl:a}=this,h=(0,B.b)(this);return(0,r.h)(r.H,{key:"5fda697569eb875991bb948be553ee0716ac9aa2",class:{[h]:!0,"in-toolbar":(0,m.h)("ion-toolbar",this.el),"in-toolbar-color":(0,m.h)("ion-toolbar[color]",this.el),"in-segment":(0,m.h)("ion-segment",this.el),"in-segment-color":void 0!==a?.color,"segment-button-has-label":i,"segment-button-has-icon":o,"segment-button-has-label-only":i&&!o,"segment-button-has-icon-only":o&&!i,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${l}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},(0,r.h)("button",Object.assign({key:"86686e25d3bb8f487869a4d34c1e99a5d04105ec","aria-selected":t?"true":"false",role:"tab",ref:f=>this.nativeEl=f,type:e,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),(0,r.h)("span",{key:"5c22e853fd385e2b7825335113346537ecefed31",class:"button-inner"},(0,r.h)("slot",{key:"cef944331f246a820747f98dff55e844281cb822"})),"md"===h&&(0,r.h)("ion-ripple-effect",null)),(0,r.h)("div",{key:"737b4b08c122a7738d5a5ed7a44f544da4c67649",part:"indicator",class:{"segment-button-indicator":!0,"segment-button-indicator-animated":!0}},(0,r.h)("div",{key:"e78696ff315d7e8ba76b97b82ea341379e9be7e5",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return(0,r.f)(this)}static get watchers(){return{value:["valueChanged"]}}};I.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color, #fff));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color, #fff))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color, #fff)))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #3880ff);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #3880ff));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'}},3814:(M,y,d)=>{d.d(y,{c:()=>b,g:()=>m,h:()=>r,o:()=>E});var w=d(5861);const r=(s,c)=>null!==c.closest(s),b=(s,c)=>"string"==typeof s&&s.length>0?Object.assign({"ion-color":!0,[`ion-color-${s}`]:!0},c):c,m=s=>{const c={};return(s=>void 0!==s?(Array.isArray(s)?s:s.split(" ")).filter(u=>null!=u).map(u=>u.trim()).filter(u=>""!==u):[])(s).forEach(u=>c[u]=!0),c},B=/^[a-z][a-z0-9+\-.]*:/,E=function(){var s=(0,w.Z)(function*(c,u,p,_){if(null!=c&&"#"!==c[0]&&!B.test(c)){const k=document.querySelector("ion-router");if(k)return u?.preventDefault(),k.push(c,p,_)}return!1});return function(u,p,_,k){return s.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9434.7a55c6707979e529.js b/9434.7a55c6707979e529.js new file mode 100644 index 00000000..8be84a85 --- /dev/null +++ b/9434.7a55c6707979e529.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9434],{9434:(v,h,s)=>{s.r(h),s.d(h,{ion_loading:()=>x});var p=s(5861),t=s(2477),m=s(7036),u=s(8635),b=s(7389),l=s(7346),y=s(3814),a=s(7943),n=s(4963);s(2972),s(3006);const g=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},c=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},w=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},E=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},x=class{constructor(i){(0,t.r)(this,i),this.didPresent=(0,t.d)(this,"ionLoadingDidPresent",7),this.willPresent=(0,t.d)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,t.d)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,t.d)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,t.d)(this,"didPresent",7),this.willPresentShorthand=(0,t.d)(this,"willPresent",7),this.willDismissShorthand=(0,t.d)(this,"willDismiss",7),this.didDismissShorthand=(0,t.d)(this,"didDismiss",7),this.delegateController=(0,l.d)(this),this.lockController=(0,b.c)(),this.triggerController=(0,l.e)(),this.customHTMLEnabled=a.c.get("innerHTMLTemplatesEnabled",m.E),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,l.B)},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.message=void 0,this.cssClass=void 0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.spinner=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(i,o){!0===i&&!1===o?this.present():!1===i&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:i,el:o,triggerController:e}=this;i&&e.addClickListener(o,i)}connectedCallback(){(0,l.j)(this.el),this.triggerChanged()}componentWillLoad(){if(void 0===this.spinner){const i=(0,a.b)(this);this.spinner=a.c.get("loadingSpinner",a.c.get("spinner","ios"===i?"lines":"crescent"))}(0,l.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,u.r)(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var i=this;return(0,p.Z)(function*(){const o=yield i.lockController.lock();yield i.delegateController.attachViewToDom(),yield(0,l.f)(i,"loadingEnter",g,w),i.duration>0&&(i.durationTimeout=setTimeout(()=>i.dismiss(),i.duration+10)),o()})()}dismiss(i,o){var e=this;return(0,p.Z)(function*(){const r=yield e.lockController.lock();e.durationTimeout&&clearTimeout(e.durationTimeout);const f=yield(0,l.g)(e,i,o,"loadingLeave",c,E);return f&&e.delegateController.removeViewFromDom(),r(),f})()}onDidDismiss(){return(0,l.h)(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(i){const{customHTMLEnabled:o,message:e}=this;return o?(0,t.h)("div",{class:"loading-content",id:i,innerHTML:(0,m.a)(e)}):(0,t.h)("div",{class:"loading-content",id:i},e)}render(){const{message:i,spinner:o,htmlAttributes:e,overlayIndex:r}=this,f=(0,a.b)(this),k=`loading-${r}-msg`;return(0,t.h)(t.H,Object.assign({key:"e780853dc67b7b4ebd8dd65cadab648e4238c6ee",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==i?k:null,tabindex:"-1"},e,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},(0,y.g)(this.cssClass)),{[f]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,t.h)("ion-backdrop",{key:"8cd59ca7bc97b981fd578a526dfe859847e4d392",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,t.h)("div",{key:"ef392aaf2cb7f6f9cecc685525cce3abc333e800",tabindex:"0"}),(0,t.h)("div",{key:"f1f6df21a7fa6565fe33acb4a5f355b5ec3e65b2",class:"loading-wrapper ion-overlay-wrapper"},o&&(0,t.h)("div",{key:"725cf5a206152885e31ab061b0c466fe1ead0225",class:"loading-spinner"},(0,t.h)("ion-spinner",{key:"5891dc39fa133b71576aec219f552386b202e163",name:o,"aria-hidden":"true"})),void 0!==i&&this.renderLoadingMessage(k)),(0,t.h)("div",{key:"8103269f1181325a507ed1c681f5ef15e40fbc34",tabindex:"0"}))}get el(){return(0,t.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};x.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;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);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;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);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}"}},3814:(v,h,s)=>{s.d(h,{c:()=>m,g:()=>b,h:()=>t,o:()=>y});var p=s(5861);const t=(a,n)=>null!==n.closest(a),m=(a,n)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},n):n,b=a=>{const n={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(a).forEach(d=>n[d]=!0),n},l=/^[a-z][a-z0-9+\-.]*:/,y=function(){var a=(0,p.Z)(function*(n,d,_,g){if(null!=n&&"#"!==n[0]&&!l.test(n)){const c=document.querySelector("ion-router");if(c)return d?.preventDefault(),c.push(n,_,g)}return!1});return function(d,_,g,c){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9434.dfefbe3c4dc4585d.js b/9434.dfefbe3c4dc4585d.js deleted file mode 100644 index 4d26f07d..00000000 --- a/9434.dfefbe3c4dc4585d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9434],{9434:(k,h,s)=>{s.r(h),s.d(h,{ion_loading:()=>x});var p=s(5861),t=s(6541),m=s(7036),u=s(8635),b=s(7389),l=s(4393),y=s(3814),a=s(4700),n=s(4963);s(2972),s(9019);const g=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},c=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},w=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},E=i=>{const o=(0,n.c)(),e=(0,n.c)(),r=(0,n.c)();return e.addElement(i.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(i.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),o.addElement(i).easing("ease-in-out").duration(200).addAnimation([e,r])},x=class{constructor(i){(0,t.r)(this,i),this.didPresent=(0,t.d)(this,"ionLoadingDidPresent",7),this.willPresent=(0,t.d)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,t.d)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,t.d)(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=(0,t.d)(this,"didPresent",7),this.willPresentShorthand=(0,t.d)(this,"willPresent",7),this.willDismissShorthand=(0,t.d)(this,"willDismiss",7),this.didDismissShorthand=(0,t.d)(this,"didDismiss",7),this.delegateController=(0,l.d)(this),this.lockController=(0,b.c)(),this.triggerController=(0,l.e)(),this.customHTMLEnabled=a.c.get("innerHTMLTemplatesEnabled",m.E),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,l.B)},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.message=void 0,this.cssClass=void 0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.spinner=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(i,o){!0===i&&!1===o?this.present():!1===i&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:i,el:o,triggerController:e}=this;i&&e.addClickListener(o,i)}connectedCallback(){(0,l.j)(this.el),this.triggerChanged()}componentWillLoad(){if(void 0===this.spinner){const i=(0,a.b)(this);this.spinner=a.c.get("loadingSpinner",a.c.get("spinner","ios"===i?"lines":"crescent"))}(0,l.k)(this.el)}componentDidLoad(){!0===this.isOpen&&(0,u.r)(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}present(){var i=this;return(0,p.Z)(function*(){const o=yield i.lockController.lock();yield i.delegateController.attachViewToDom(),yield(0,l.f)(i,"loadingEnter",g,w),i.duration>0&&(i.durationTimeout=setTimeout(()=>i.dismiss(),i.duration+10)),o()})()}dismiss(i,o){var e=this;return(0,p.Z)(function*(){const r=yield e.lockController.lock();e.durationTimeout&&clearTimeout(e.durationTimeout);const f=yield(0,l.g)(e,i,o,"loadingLeave",c,E);return f&&e.delegateController.removeViewFromDom(),r(),f})()}onDidDismiss(){return(0,l.h)(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return(0,l.h)(this.el,"ionLoadingWillDismiss")}renderLoadingMessage(i){const{customHTMLEnabled:o,message:e}=this;return o?(0,t.h)("div",{class:"loading-content",id:i,innerHTML:(0,m.a)(e)}):(0,t.h)("div",{class:"loading-content",id:i},e)}render(){const{message:i,spinner:o,htmlAttributes:e,overlayIndex:r}=this,f=(0,a.b)(this),v=`loading-${r}-msg`;return(0,t.h)(t.H,Object.assign({key:"7d4f3df4a869e66b59ce237b50b374cac4a296d3",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==i?v:null,tabindex:"-1"},e,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},(0,y.g)(this.cssClass)),{[f]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,t.h)("ion-backdrop",{key:"9d72026f73b56bc38a5317992caa17068f8402b5",visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,t.h)("div",{key:"67848b3058d4875b55cef88ccc0b5160cc9f5d9d",tabindex:"0"}),(0,t.h)("div",{key:"c275700b6cd77d7a0404b59e89ea97a75a4a22e9",class:"loading-wrapper ion-overlay-wrapper"},o&&(0,t.h)("div",{class:"loading-spinner"},(0,t.h)("ion-spinner",{name:o,"aria-hidden":"true"})),void 0!==i&&this.renderLoadingMessage(v)),(0,t.h)("div",{key:"2333ff2f0d76bebe58cba85da0e5a38262ce33e7",tabindex:"0"}))}get el(){return(0,t.f)(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}};x.style={ios:".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;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);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{-webkit-margin-start:16px;margin-inline-start:16px}",md:".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;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;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;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);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}"}},3814:(k,h,s)=>{s.d(h,{c:()=>m,g:()=>b,h:()=>t,o:()=>y});var p=s(5861);const t=(a,n)=>null!==n.closest(a),m=(a,n)=>"string"==typeof a&&a.length>0?Object.assign({"ion-color":!0,[`ion-color-${a}`]:!0},n):n,b=a=>{const n={};return(a=>void 0!==a?(Array.isArray(a)?a:a.split(" ")).filter(d=>null!=d).map(d=>d.trim()).filter(d=>""!==d):[])(a).forEach(d=>n[d]=!0),n},l=/^[a-z][a-z0-9+\-.]*:/,y=function(){var a=(0,p.Z)(function*(n,d,_,g){if(null!=n&&"#"!==n[0]&&!l.test(n)){const c=document.querySelector("ion-router");if(c)return d?.preventDefault(),c.push(n,_,g)}return!1});return function(d,_,g,c){return a.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9536.239147caca7d1ac9.js b/9536.07c8aff388dd8f0f.js similarity index 95% rename from 9536.239147caca7d1ac9.js rename to 9536.07c8aff388dd8f0f.js index 43289786..540039d2 100644 --- a/9536.239147caca7d1ac9.js +++ b/9536.07c8aff388dd8f0f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9536],{9536:(u,a,d)=>{d.r(a),d.d(a,{ion_split_pane:()=>h});var c=d(5861),o=d(6541),v=d(4700);const r="split-pane-main",l="split-pane-side",p={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},h=class{constructor(e){(0,o.r)(this,e),this.ionSplitPaneVisible=(0,o.d)(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=p.lg}visibleChanged(e){const t={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(t)}connectedCallback(){var e=this;return(0,c.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-split-pane")),e.styleChildren(),e.updateState()})()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const e=this.when;if("boolean"==typeof e)return void(this.visible=e);const t=p[e]||e;if(0===t.length)return void(this.visible=!1);const s=n=>{this.visible=n.matches},i=window.matchMedia(t);i.addListener(s),this.rmL=()=>i.removeListener(s),this.visible=i.matches}isPane(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains(l)}styleChildren(){const e=this.contentId,t=this.el.children,s=this.el.childElementCount;let i=!1;for(let n=0;n{let s,i;t?(s=r,i=l):(s=l,i=r);const n=e.classList;n.add(s),n.remove(i)};h.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9536],{9536:(u,a,d)=>{d.r(a),d.d(a,{ion_split_pane:()=>h});var c=d(5861),o=d(2477),v=d(7943);const r="split-pane-main",l="split-pane-side",p={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""},h=class{constructor(e){(0,o.r)(this,e),this.ionSplitPaneVisible=(0,o.d)(this,"ionSplitPaneVisible",7),this.visible=!1,this.contentId=void 0,this.disabled=!1,this.when=p.lg}visibleChanged(e){const t={visible:e,isPane:this.isPane.bind(this)};this.ionSplitPaneVisible.emit(t)}connectedCallback(){var e=this;return(0,c.Z)(function*(){typeof customElements<"u"&&null!=customElements&&(yield customElements.whenDefined("ion-split-pane")),e.styleChildren(),e.updateState()})()}disconnectedCallback(){this.rmL&&(this.rmL(),this.rmL=void 0)}updateState(){if(this.rmL&&(this.rmL(),this.rmL=void 0),this.disabled)return void(this.visible=!1);const e=this.when;if("boolean"==typeof e)return void(this.visible=e);const t=p[e]||e;if(0===t.length)return void(this.visible=!1);const s=n=>{this.visible=n.matches},i=window.matchMedia(t);i.addListener(s),this.rmL=()=>i.removeListener(s),this.visible=i.matches}isPane(e){return!!this.visible&&e.parentElement===this.el&&e.classList.contains(l)}styleChildren(){const e=this.contentId,t=this.el.children,s=this.el.childElementCount;let i=!1;for(let n=0;n{let s,i;t?(s=r,i=l):(s=l,i=r);const n=e.classList;n.add(s),n.remove(i)};h.style={ios:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}",md:":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}::slotted(ion-menu.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width);min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side),:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.split-pane-visible) ::slotted(.split-pane-main){-ms-flex:1;flex:1;overflow:hidden}:host(.split-pane-visible) ::slotted(.split-pane-side:not(ion-menu)),:host(.split-pane-visible) ::slotted(ion-menu.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host(.split-pane-visible) ::slotted(.split-pane-side){-ms-flex-order:-1;order:-1}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--side-min-width:270px;--side-max-width:28%}:host(.split-pane-visible) ::slotted(.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.split-pane-visible) ::slotted(.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}"}}}]); \ No newline at end of file diff --git a/4899.470542121cd5357f.js b/9590.cc09d408e257b2f9.js similarity index 75% rename from 4899.470542121cd5357f.js rename to 9590.cc09d408e257b2f9.js index 04bb8460..4aae6d76 100644 --- a/4899.470542121cd5357f.js +++ b/9590.cc09d408e257b2f9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4899],{4899:(P,s,t)=>{t.r(s),t.d(s,{startStatusTap:()=>l});var r=t(5861),o=t(6541),_=t(7003),d=t(8635);const l=()=>{const n=window;n.addEventListener("statusTap",()=>{(0,o.e)(()=>{const a=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!a)return;const e=(0,_.f)(a);e&&new Promise(h=>(0,d.c)(e,h)).then(()=>{(0,o.w)((0,r.Z)(function*(){e.style.setProperty("--overflow","hidden"),yield(0,_.s)(e,300),e.style.removeProperty("--overflow")}))})})})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9590],{9590:(P,s,t)=>{t.r(s),t.d(s,{startStatusTap:()=>l});var r=t(5861),o=t(2477),_=t(7003),d=t(8635);const l=()=>{const n=window;n.addEventListener("statusTap",()=>{(0,o.e)(()=>{const a=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!a)return;const e=(0,_.f)(a);e&&new Promise(h=>(0,d.c)(e,h)).then(()=>{(0,o.w)((0,r.Z)(function*(){e.style.setProperty("--overflow","hidden"),yield(0,_.s)(e,300),e.style.removeProperty("--overflow")}))})})})}}}]); \ No newline at end of file diff --git a/9654.e8c1c3c9a482d5e9.js b/9654.3029b9c3c7da8863.js similarity index 93% rename from 9654.e8c1c3c9a482d5e9.js rename to 9654.3029b9c3c7da8863.js index 64712ed1..29f4a421 100644 --- a/9654.e8c1c3c9a482d5e9.js +++ b/9654.3029b9c3c7da8863.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9654],{9654:(w,x,u)=>{u.r(x),u.d(x,{ion_accordion:()=>b,ion_accordion_group:()=>m});var l=u(5861),s=u(6541),h=u(8635),v=u(4896),f=u(4700),y=u(8909);const b=class{constructor(o){var t=this;(0,s.r)(this,o),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const e=this.getSlottedHeaderIonItem();e&&(e.button=!0,e.detail=!1,void 0===e.lines&&(e.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:e}=this;if(!e)return;const n=e.querySelector("slot");return n&&void 0!==n.assignedElements?n.assignedElements().find(i=>"ION-ITEM"===i.tagName):void 0},this.setAria=(e=!1)=>{const n=this.getSlottedHeaderIonItem();if(!n)return;const r=(0,h.g)(n).querySelector("button");r&&r.setAttribute("aria-expanded",`${e}`)},this.slotToggleIcon=()=>{const e=this.getSlottedHeaderIonItem();if(!e)return;const{toggleIconSlot:n,toggleIcon:i}=this;if(e.querySelector(".ion-accordion-toggle-icon"))return;const a=document.createElement("ion-icon");a.slot=n,a.lazy=!1,a.classList.add("ion-accordion-toggle-icon"),a.icon=i,a.setAttribute("aria-hidden","true"),e.appendChild(a)},this.expandAccordion=(e=!1)=>{const{contentEl:n,contentElWrapper:i}=this;e||void 0===n||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?(0,h.r)(()=>{this.state=8,this.currentRaf=(0,h.r)((0,l.Z)(function*(){const r=i.offsetHeight,a=(0,h.t)(n,2e3);n.style.setProperty("max-height",`${r}px`),yield a,t.state=4,n.style.removeProperty("max-height")}))}):this.state=4)},this.collapseAccordion=(e=!1)=>{const{contentEl:n}=this;e||void 0===n?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=(0,h.r)((0,l.Z)(function*(){n.style.setProperty("max-height",`${n.offsetHeight}px`),(0,h.r)((0,l.Z)(function*(){const r=(0,h.t)(n,2e3);t.state=2,yield r,t.state=1,n.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>!(typeof window>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||!f.c.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated),this.updateState=(0,l.Z)(function*(e=!1){const n=t.accordionGroupEl,i=t.value;if(!n)return;const r=n.value;if(Array.isArray(r)?r.includes(i):r===i)t.expandAccordion(e),t.isNext=t.isPrevious=!1;else{t.collapseAccordion(e);const d=t.getNextSibling()?.value;void 0!==d&&(t.isPrevious=Array.isArray(r)?r.includes(d):r===d);const g=t.getPreviousSibling()?.value;void 0!==g&&(t.isNext=Array.isArray(r)?r.includes(g):r===g)}}),this.getNextSibling=()=>{if(!this.el)return;const e=this.el.nextElementSibling;return"ION-ACCORDION"===e?.tagName?e:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const e=this.el.previousElementSibling;return"ION-ACCORDION"===e?.tagName?e:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+I++,this.disabled=!1,this.readonly=!1,this.toggleIcon=v.l,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),(0,h.a)(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&(0,h.b)(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),(0,h.r)(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:o,disabled:t,readonly:e,value:n,state:i}=this;t||e||!o||o.requestAccordionToggle(n,1===i||2===i)}render(){const{disabled:o,readonly:t}=this,e=(0,f.b)(this),n=4===this.state||8===this.state,i=n?"header expanded":"header",r=n?"content expanded":"content";return this.setAria(n),(0,s.h)(s.H,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":t,"accordion-animated":this.shouldAnimate()}},(0,s.h)("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:()=>this.toggleExpanded(),id:"header",part:i,"aria-controls":"content",ref:a=>this.headerEl=a},(0,s.h)("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),(0,s.h)("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:r,role:"region","aria-labelledby":"header",ref:a=>this.contentEl=a},(0,s.h)("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:a=>this.contentElWrapper=a},(0,s.h)("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))}static get delegatesFocus(){return!0}get el(){return(0,s.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let I=0;b.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const m=class{constructor(o){(0,s.r)(this,o),this.ionChange=(0,s.d)(this,"ionChange",7),this.ionValueChange=(0,s.d)(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&(0,y.p)(`ion-accordion-group 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: [${o.map(e=>`'${e}'`).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}disabledChanged(){var o=this;return(0,l.Z)(function*(){const{disabled:t}=o,e=yield o.getAccordions();for(const n of e)n.disabled=t})()}readonlyChanged(){var o=this;return(0,l.Z)(function*(){const{readonly:t}=o,e=yield o.getAccordions();for(const n of e)n.readonly=t})()}onKeydown(o){var t=this;return(0,l.Z)(function*(){const e=document.activeElement;if(!e||!e.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===e.tagName?e:e.closest("ion-accordion");if(!i||i.closest("ion-accordion-group")!==t.el)return;const a=yield t.getAccordions(),c=a.findIndex(p=>p===i);if(-1===c)return;let d;"ArrowDown"===o.key?d=t.findNextAccordion(a,c):"ArrowUp"===o.key?d=t.findPreviousAccordion(a,c):"Home"===o.key?d=a[0]:"End"===o.key&&(d=a[a.length-1]),void 0!==d&&d!==e&&d.focus()})()}componentDidLoad(){var o=this;return(0,l.Z)(function*(){o.disabled&&o.disabledChanged(),o.readonly&&o.readonlyChanged(),o.valueChanged()})()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}requestAccordionToggle(o,t){var e=this;return(0,l.Z)(function*(){const{multiple:n,value:i,readonly:r,disabled:a}=e;if(!r&&!a)if(t)if(n){const c=i??[],d=Array.isArray(c)?c:[c];void 0===d.find(g=>g===o)&&void 0!==o&&e.setValue([...d,o])}else e.setValue(o);else if(n){const c=i??[],d=Array.isArray(c)?c:[c];e.setValue(d.filter(p=>p!==o))}else e.setValue(void 0)})()}findNextAccordion(o,t){const e=o[t+1];return void 0===e?o[0]:e}findPreviousAccordion(o,t){const e=o[t-1];return void 0===e?o[o.length-1]:e}getAccordions(){var o=this;return(0,l.Z)(function*(){return Array.from(o.el.querySelectorAll(":scope > ion-accordion"))})()}render(){const{disabled:o,readonly:t,expand:e}=this,n=(0,f.b)(this);return(0,s.h)(s.H,{key:"ac2e26ac91c95d08172bd2b51daa7a711c21db9e",class:{[n]:!0,"accordion-group-disabled":o,"accordion-group-readonly":t,[`accordion-group-expand-${e}`]:!0},role:"presentation"},(0,s.h)("slot",{key:"444adc2af5730897eba57095da046d6bdb5af70f"}))}get el(){return(0,s.f)(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};m.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9654],{9654:(w,x,u)=>{u.r(x),u.d(x,{ion_accordion:()=>m,ion_accordion_group:()=>b});var l=u(5861),s=u(2477),h=u(8635),v=u(4896),g=u(7943),y=u(8909);const m=class{constructor(o){var t=this;(0,s.r)(this,o),this.updateListener=()=>this.updateState(!1),this.setItemDefaults=()=>{const e=this.getSlottedHeaderIonItem();e&&(e.button=!0,e.detail=!1,void 0===e.lines&&(e.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:e}=this;if(!e)return;const n=e.querySelector("slot");return n&&void 0!==n.assignedElements?n.assignedElements().find(i=>"ION-ITEM"===i.tagName):void 0},this.setAria=(e=!1)=>{const n=this.getSlottedHeaderIonItem();if(!n)return;const r=(0,h.g)(n).querySelector("button");r&&r.setAttribute("aria-expanded",`${e}`)},this.slotToggleIcon=()=>{const e=this.getSlottedHeaderIonItem();if(!e)return;const{toggleIconSlot:n,toggleIcon:i}=this;if(e.querySelector(".ion-accordion-toggle-icon"))return;const a=document.createElement("ion-icon");a.slot=n,a.lazy=!1,a.classList.add("ion-accordion-toggle-icon"),a.icon=i,a.setAttribute("aria-hidden","true"),e.appendChild(a)},this.expandAccordion=(e=!1)=>{const{contentEl:n,contentElWrapper:i}=this;e||void 0===n||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?(0,h.r)(()=>{this.state=8,this.currentRaf=(0,h.r)((0,l.Z)(function*(){const r=i.offsetHeight,a=(0,h.t)(n,2e3);n.style.setProperty("max-height",`${r}px`),yield a,t.state=4,n.style.removeProperty("max-height")}))}):this.state=4)},this.collapseAccordion=(e=!1)=>{const{contentEl:n}=this;e||void 0===n?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=(0,h.r)((0,l.Z)(function*(){n.style.setProperty("max-height",`${n.offsetHeight}px`),(0,h.r)((0,l.Z)(function*(){const r=(0,h.t)(n,2e3);t.state=2,yield r,t.state=1,n.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>!(typeof window>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||!g.c.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated),this.updateState=(0,l.Z)(function*(e=!1){const n=t.accordionGroupEl,i=t.value;if(!n)return;const r=n.value;if(Array.isArray(r)?r.includes(i):r===i)t.expandAccordion(e),t.isNext=t.isPrevious=!1;else{t.collapseAccordion(e);const d=t.getNextSibling()?.value;void 0!==d&&(t.isPrevious=Array.isArray(r)?r.includes(d):r===d);const f=t.getPreviousSibling()?.value;void 0!==f&&(t.isNext=Array.isArray(r)?r.includes(f):r===f)}}),this.getNextSibling=()=>{if(!this.el)return;const e=this.el.nextElementSibling;return"ION-ACCORDION"===e?.tagName?e:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const e=this.el.previousElementSibling;return"ION-ACCORDION"===e?.tagName?e:void 0},this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+I++,this.disabled=!1,this.readonly=!1,this.toggleIcon=v.l,this.toggleIconSlot="end"}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),(0,h.a)(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&(0,h.b)(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),(0,h.r)(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:o,disabled:t,readonly:e,value:n,state:i}=this;t||e||!o||o.requestAccordionToggle(n,1===i||2===i)}render(){const{disabled:o,readonly:t}=this,e=(0,g.b)(this),n=4===this.state||8===this.state,i=n?"header expanded":"header",r=n?"content expanded":"content";return this.setAria(n),(0,s.h)(s.H,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":t,"accordion-animated":this.shouldAnimate()}},(0,s.h)("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:()=>this.toggleExpanded(),id:"header",part:i,"aria-controls":"content",ref:a=>this.headerEl=a},(0,s.h)("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),(0,s.h)("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:r,role:"region","aria-labelledby":"header",ref:a=>this.contentEl=a},(0,s.h)("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:a=>this.contentElWrapper=a},(0,s.h)("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))}static get delegatesFocus(){return!0}get el(){return(0,s.f)(this)}static get watchers(){return{value:["valueChanged"]}}};let I=0;m.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const b=class{constructor(o){(0,s.r)(this,o),this.ionChange=(0,s.d)(this,"ionChange",7),this.ionValueChange=(0,s.d)(this,"ionValueChange",7),this.animated=!0,this.multiple=void 0,this.value=void 0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&(0,y.p)(`ion-accordion-group 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: [${o.map(e=>`'${e}'`).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}disabledChanged(){var o=this;return(0,l.Z)(function*(){const{disabled:t}=o,e=yield o.getAccordions();for(const n of e)n.disabled=t})()}readonlyChanged(){var o=this;return(0,l.Z)(function*(){const{readonly:t}=o,e=yield o.getAccordions();for(const n of e)n.readonly=t})()}onKeydown(o){var t=this;return(0,l.Z)(function*(){const e=document.activeElement;if(!e||!e.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===e.tagName?e:e.closest("ion-accordion");if(!i||i.closest("ion-accordion-group")!==t.el)return;const a=yield t.getAccordions(),c=a.findIndex(p=>p===i);if(-1===c)return;let d;"ArrowDown"===o.key?d=t.findNextAccordion(a,c):"ArrowUp"===o.key?d=t.findPreviousAccordion(a,c):"Home"===o.key?d=a[0]:"End"===o.key&&(d=a[a.length-1]),void 0!==d&&d!==e&&d.focus()})()}componentDidLoad(){var o=this;return(0,l.Z)(function*(){o.disabled&&o.disabledChanged(),o.readonly&&o.readonlyChanged(),o.valueChanged()})()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}requestAccordionToggle(o,t){var e=this;return(0,l.Z)(function*(){const{multiple:n,value:i,readonly:r,disabled:a}=e;if(!r&&!a)if(t)if(n){const c=i??[],d=Array.isArray(c)?c:[c];void 0===d.find(f=>f===o)&&void 0!==o&&e.setValue([...d,o])}else e.setValue(o);else if(n){const c=i??[],d=Array.isArray(c)?c:[c];e.setValue(d.filter(p=>p!==o))}else e.setValue(void 0)})()}findNextAccordion(o,t){const e=o[t+1];return void 0===e?o[0]:e}findPreviousAccordion(o,t){const e=o[t-1];return void 0===e?o[o.length-1]:e}getAccordions(){var o=this;return(0,l.Z)(function*(){return Array.from(o.el.querySelectorAll(":scope > ion-accordion"))})()}render(){const{disabled:o,readonly:t,expand:e}=this,n=(0,g.b)(this);return(0,s.h)(s.H,{key:"ac2e26ac91c95d08172bd2b51daa7a711c21db9e",class:{[n]:!0,"accordion-group-disabled":o,"accordion-group-readonly":t,[`accordion-group-expand-${e}`]:!0},role:"presentation"},(0,s.h)("slot",{key:"444adc2af5730897eba57095da046d6bdb5af70f"}))}get el(){return(0,s.f)(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};b.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-previous){border-bottom-right-radius:6px;border-bottom-left-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}:host-context([dir=rtl]):host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next),:host-context([dir=rtl]).accordion-group-expand-inset ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}@supports selector(:dir(rtl)){:host(.accordion-group-expand-inset:dir(rtl)) ::slotted(ion-accordion.accordion-next){border-top-left-radius:6px;border-top-right-radius:6px}}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"}}}]); \ No newline at end of file diff --git a/9824.eec6ad02aa886fdb.js b/9824.8beae4328afbc659.js similarity index 91% rename from 9824.eec6ad02aa886fdb.js rename to 9824.8beae4328afbc659.js index be2055e7..d8a5d952 100644 --- a/9824.eec6ad02aa886fdb.js +++ b/9824.8beae4328afbc659.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9824],{9824:(b,p,r)=>{r.r(p),r.d(p,{ion_col:()=>s,ion_grid:()=>l,ion_row:()=>m});var d=r(6541),o=r(4700);const u={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},x=i=>void 0===i||""===i||!!window.matchMedia&&window.matchMedia(u[i]).matches,g=typeof window<"u"?window:void 0,e=g&&!!(g.CSS&&g.CSS.supports&&g.CSS.supports("--a: 0")),h=["","xs","sm","md","lg","xl"],s=class{constructor(i){(0,d.r)(this,i),this.offset=void 0,this.offsetXs=void 0,this.offsetSm=void 0,this.offsetMd=void 0,this.offsetLg=void 0,this.offsetXl=void 0,this.pull=void 0,this.pullXs=void 0,this.pullSm=void 0,this.pullMd=void 0,this.pullLg=void 0,this.pullXl=void 0,this.push=void 0,this.pushXs=void 0,this.pushSm=void 0,this.pushMd=void 0,this.pushLg=void 0,this.pushXl=void 0,this.size=void 0,this.sizeXs=void 0,this.sizeSm=void 0,this.sizeMd=void 0,this.sizeLg=void 0,this.sizeXl=void 0}onResize(){(0,d.i)(this)}getColumns(i){let n;for(const a of h){const t=x(a),c=this[i+a.charAt(0).toUpperCase()+a.slice(1)];t&&void 0!==c&&(n=c)}return n}calculateSize(){const i=this.getColumns("size");if(!i||""===i)return;const n="auto"===i?"auto":e?`calc(calc(${i} / var(--ion-grid-columns, 12)) * 100%)`:i/12*100+"%";return{flex:`0 0 ${n}`,width:`${n}`,"max-width":`${n}`}}calculatePosition(i,n){const a=this.getColumns(i);if(a)return{[n]:e?`calc(calc(${a} / var(--ion-grid-columns, 12)) * 100%)`:a>0&&a<12?a/12*100+"%":"auto"}}calculateOffset(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}calculatePull(i){return this.calculatePosition("pull",i?"left":"right")}calculatePush(i){return this.calculatePosition("push",i?"right":"left")}render(){const i="rtl"===document.dir,n=(0,o.b)(this);return(0,d.h)(d.H,{key:"c186972dd12d10a4600975c326f20666fed96abf",class:{[n]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(i)),this.calculatePull(i)),this.calculatePush(i)),this.calculateSize())},(0,d.h)("slot",{key:"54cc8bd92f94cfd30d9f3e8e59e0f0dc38abfd63"}))}};s.style=":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";const l=class{constructor(i){(0,d.r)(this,i),this.fixed=!1}render(){const i=(0,o.b)(this);return(0,d.h)(d.H,{key:"265ab989098511c0b7e7d99edc792081f3ac7dfe",class:{[i]:!0,"grid-fixed":this.fixed}},(0,d.h)("slot",{key:"83e3ea4d1a60d1a6dab6b592e70a98924c0cfd7c"}))}};l.style=":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";const m=class{constructor(i){(0,d.r)(this,i)}render(){return(0,d.h)(d.H,{key:"36d12784e6f8339a1d03ff6f03af5c7b3f437293",class:(0,o.b)(this)},(0,d.h)("slot",{key:"54cc627f95bb091d31a550aca00b14ab73d2f1bf"}))}};m.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9824],{9824:(b,p,r)=>{r.r(p),r.d(p,{ion_col:()=>s,ion_grid:()=>l,ion_row:()=>m});var d=r(2477),o=r(7943);const u={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},x=i=>void 0===i||""===i||!!window.matchMedia&&window.matchMedia(u[i]).matches,g=typeof window<"u"?window:void 0,e=g&&!!(g.CSS&&g.CSS.supports&&g.CSS.supports("--a: 0")),h=["","xs","sm","md","lg","xl"],s=class{constructor(i){(0,d.r)(this,i),this.offset=void 0,this.offsetXs=void 0,this.offsetSm=void 0,this.offsetMd=void 0,this.offsetLg=void 0,this.offsetXl=void 0,this.pull=void 0,this.pullXs=void 0,this.pullSm=void 0,this.pullMd=void 0,this.pullLg=void 0,this.pullXl=void 0,this.push=void 0,this.pushXs=void 0,this.pushSm=void 0,this.pushMd=void 0,this.pushLg=void 0,this.pushXl=void 0,this.size=void 0,this.sizeXs=void 0,this.sizeSm=void 0,this.sizeMd=void 0,this.sizeLg=void 0,this.sizeXl=void 0}onResize(){(0,d.i)(this)}getColumns(i){let n;for(const a of h){const t=x(a),c=this[i+a.charAt(0).toUpperCase()+a.slice(1)];t&&void 0!==c&&(n=c)}return n}calculateSize(){const i=this.getColumns("size");if(!i||""===i)return;const n="auto"===i?"auto":e?`calc(calc(${i} / var(--ion-grid-columns, 12)) * 100%)`:i/12*100+"%";return{flex:`0 0 ${n}`,width:`${n}`,"max-width":`${n}`}}calculatePosition(i,n){const a=this.getColumns(i);if(a)return{[n]:e?`calc(calc(${a} / var(--ion-grid-columns, 12)) * 100%)`:a>0&&a<12?a/12*100+"%":"auto"}}calculateOffset(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")}calculatePull(i){return this.calculatePosition("pull",i?"left":"right")}calculatePush(i){return this.calculatePosition("push",i?"right":"left")}render(){const i="rtl"===document.dir,n=(0,o.b)(this);return(0,d.h)(d.H,{key:"56ecf3b3f2be05d5f179f2d136d4ab05a4525da9",class:{[n]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(i)),this.calculatePull(i)),this.calculatePush(i)),this.calculateSize())},(0,d.h)("slot",{key:"8f1113d39dcb709300ebbeaf81bc092c1dd8da3e"}))}};s.style=":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";const l=class{constructor(i){(0,d.r)(this,i),this.fixed=!1}render(){const i=(0,o.b)(this);return(0,d.h)(d.H,{key:"a1c2ff77f97761c2bbcd869b2cc7b1558032b406",class:{[i]:!0,"grid-fixed":this.fixed}},(0,d.h)("slot",{key:"cd25166436cf3a63a11ad436a9b9c5a607e72600"}))}};l.style=":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";const m=class{constructor(i){(0,d.r)(this,i)}render(){return(0,d.h)(d.H,{key:"242c9a45b0bb39af2aebf412fdfa9a176babc834",class:(0,o.b)(this)},(0,d.h)("slot",{key:"d9015d663d631bbf20bd3e0821fed874cd6c5156"}))}};m.style=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}}]); \ No newline at end of file diff --git a/9922.62563a4f5c8feebf.js b/9922.2a34b5d8ec43d5d9.js similarity index 99% rename from 9922.62563a4f5c8feebf.js rename to 9922.2a34b5d8ec43d5d9.js index f653edbc..810465d7 100644 --- a/9922.62563a4f5c8feebf.js +++ b/9922.2a34b5d8ec43d5d9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9922],{9922:(M,x,n)=>{n.r(x),n.d(x,{ion_checkbox:()=>p});var e=n(6541),w=n(5437),s=n(8635),k=n(8909),h=n(3814),m=n(4700);const p=class{constructor(r){(0,e.r)(this,r),this.ionChange=(0,e.d)(this,"ionChange",7),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.d)(this,"ionBlur",7),this.ionStyle=(0,e.d)(this,"ionStyle",7),this.inputId="ion-cb-"+g++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.setChecked=t=>{const a=this.checked=t;this.ionChange.emit({checked:a,value:this.value})},this.toggleChecked=t=>{t.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=t=>{this.disabled||this.toggleChecked(t)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify="space-between",this.alignment="center",this.legacy=void 0}connectedCallback(){this.legacyFormController=(0,w.c)(this.el)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,s.i)(this.el)))}styleChanged(){this.emitStyle()}emitStyle(){const r={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(r["checkbox-checked"]=this.checked),this.ionStyle.emit(r)}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{legacyFormController:r}=this;return r.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()}renderCheckbox(){const{color:r,checked:t,disabled:a,el:l,getSVGPath:y,indeterminate:b,inheritedAttributes:d,inputId:v,justify:C,labelPlacement:f,name:_,value:E,alignment:j}=this,u=(0,m.b)(this),z=y(u,b);return(0,s.d)(!0,l,_,t?E:"",a),(0,e.h)(e.H,{"aria-checked":b?"mixed":`${t}`,class:(0,h.c)(r,{[u]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":a,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${C}`]:!0,[`checkbox-alignment-${j}`]:!0,[`checkbox-label-placement-${f}`]:!0}),onClick:this.onClick},(0,e.h)("label",{class:"checkbox-wrapper"},(0,e.h)("input",Object.assign({type:"checkbox",checked:!!t||void 0,disabled:a,id:v,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:D=>this.focusEl=D},d)),(0,e.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===l.textContent},part:"label"},(0,e.h)("slot",null)),(0,e.h)("div",{class:"native-wrapper"},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},z))))}renderLegacyCheckbox(){this.hasLoggedDeprecationWarning||((0,k.p)('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,k.p)('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{color:r,checked:t,disabled:a,el:l,getSVGPath:y,indeterminate:b,inputId:d,name:v,value:C}=this,f=(0,m.b)(this),{label:_,labelId:E,labelText:j}=(0,s.e)(l,d),u=y(f,b);return(0,s.d)(!0,l,v,t?C:"",a),(0,e.h)(e.H,{"aria-labelledby":_?E:null,"aria-checked":`${t}`,"aria-hidden":a?"true":null,role:"checkbox",class:(0,h.c)(r,{[f]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":a,"checkbox-indeterminate":b,"legacy-checkbox":!0,interactive:!0}),onClick:this.onClick},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},u),(0,e.h)("label",{htmlFor:d},j),(0,e.h)("input",{type:"checkbox","aria-checked":`${t}`,disabled:a,id:d,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:z=>this.focusEl=z}))}getSVGPath(r,t){let a=(0,e.h)("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===r&&(a=(0,e.h)("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),a}get el(){return(0,e.f)(this)}static get watchers(){return{checked:["styleChanged"],disabled:["styleChanged"]}}};let g=0;p.style={ios:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.0625rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.625rem, 65.988px)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}"}},3814:(M,x,n)=>{n.d(x,{c:()=>s,g:()=>h,h:()=>w,o:()=>L});var e=n(5861);const w=(o,c)=>null!==c.closest(o),s=(o,c)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},c):c,h=o=>{const c={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(o).forEach(i=>c[i]=!0),c},m=/^[a-z][a-z0-9+\-.]*:/,L=function(){var o=(0,e.Z)(function*(c,i,p,g){if(null!=c&&"#"!==c[0]&&!m.test(c)){const r=document.querySelector("ion-router");if(r)return i?.preventDefault(),r.push(c,p,g)}return!1});return function(i,p,g,r){return o.apply(this,arguments)}}()}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9922],{9922:(M,x,n)=>{n.r(x),n.d(x,{ion_checkbox:()=>p});var e=n(2477),w=n(5437),s=n(8635),k=n(8909),h=n(3814),m=n(7943);const p=class{constructor(r){(0,e.r)(this,r),this.ionChange=(0,e.d)(this,"ionChange",7),this.ionFocus=(0,e.d)(this,"ionFocus",7),this.ionBlur=(0,e.d)(this,"ionBlur",7),this.ionStyle=(0,e.d)(this,"ionStyle",7),this.inputId="ion-cb-"+g++,this.inheritedAttributes={},this.hasLoggedDeprecationWarning=!1,this.setChecked=t=>{const a=this.checked=t;this.ionChange.emit({checked:a,value:this.value})},this.toggleChecked=t=>{t.preventDefault(),this.setFocus(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=t=>{this.disabled||this.toggleChecked(t)},this.color=void 0,this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.justify="space-between",this.alignment="center",this.legacy=void 0}connectedCallback(){this.legacyFormController=(0,w.c)(this.el)}componentWillLoad(){this.emitStyle(),this.legacyFormController.hasLegacyControl()||(this.inheritedAttributes=Object.assign({},(0,s.i)(this.el)))}styleChanged(){this.emitStyle()}emitStyle(){const r={"interactive-disabled":this.disabled,legacy:!!this.legacy};this.legacyFormController.hasLegacyControl()&&(r["checkbox-checked"]=this.checked),this.ionStyle.emit(r)}setFocus(){this.focusEl&&this.focusEl.focus()}render(){const{legacyFormController:r}=this;return r.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()}renderCheckbox(){const{color:r,checked:t,disabled:a,el:l,getSVGPath:y,indeterminate:b,inheritedAttributes:d,inputId:v,justify:C,labelPlacement:f,name:_,value:E,alignment:j}=this,u=(0,m.b)(this),z=y(u,b);return(0,s.d)(!0,l,_,t?E:"",a),(0,e.h)(e.H,{"aria-checked":b?"mixed":`${t}`,class:(0,h.c)(r,{[u]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":a,"checkbox-indeterminate":b,interactive:!0,[`checkbox-justify-${C}`]:!0,[`checkbox-alignment-${j}`]:!0,[`checkbox-label-placement-${f}`]:!0}),onClick:this.onClick},(0,e.h)("label",{class:"checkbox-wrapper"},(0,e.h)("input",Object.assign({type:"checkbox",checked:!!t||void 0,disabled:a,id:v,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:D=>this.focusEl=D},d)),(0,e.h)("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":""===l.textContent},part:"label"},(0,e.h)("slot",null)),(0,e.h)("div",{class:"native-wrapper"},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},z))))}renderLegacyCheckbox(){this.hasLoggedDeprecationWarning||((0,k.p)('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: Label\nExample with aria-label: \n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el),this.legacy&&(0,k.p)('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el),this.hasLoggedDeprecationWarning=!0);const{color:r,checked:t,disabled:a,el:l,getSVGPath:y,indeterminate:b,inputId:d,name:v,value:C}=this,f=(0,m.b)(this),{label:_,labelId:E,labelText:j}=(0,s.e)(l,d),u=y(f,b);return(0,s.d)(!0,l,v,t?C:"",a),(0,e.h)(e.H,{"aria-labelledby":_?E:null,"aria-checked":`${t}`,"aria-hidden":a?"true":null,role:"checkbox",class:(0,h.c)(r,{[f]:!0,"in-item":(0,h.h)("ion-item",l),"checkbox-checked":t,"checkbox-disabled":a,"checkbox-indeterminate":b,"legacy-checkbox":!0,interactive:!0}),onClick:this.onClick},(0,e.h)("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},u),(0,e.h)("label",{htmlFor:d},j),(0,e.h)("input",{type:"checkbox","aria-checked":`${t}`,disabled:a,id:d,onChange:this.toggleChecked,onFocus:()=>this.onFocus(),onBlur:()=>this.onBlur(),ref:z=>this.focusEl=z}))}getSVGPath(r,t){let a=(0,e.h)("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===r&&(a=(0,e.h)("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),a}get el(){return(0,e.f)(this)}static get watchers(){return{checked:["styleChanged"],disabled:["styleChanged"]}}};let g=0;p.style={ios:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.0625rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.625rem, 65.988px)}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}"}},3814:(M,x,n)=>{n.d(x,{c:()=>s,g:()=>h,h:()=>w,o:()=>L});var e=n(5861);const w=(o,c)=>null!==c.closest(o),s=(o,c)=>"string"==typeof o&&o.length>0?Object.assign({"ion-color":!0,[`ion-color-${o}`]:!0},c):c,h=o=>{const c={};return(o=>void 0!==o?(Array.isArray(o)?o:o.split(" ")).filter(i=>null!=i).map(i=>i.trim()).filter(i=>""!==i):[])(o).forEach(i=>c[i]=!0),c},m=/^[a-z][a-z0-9+\-.]*:/,L=function(){var o=(0,e.Z)(function*(c,i,p,g){if(null!=c&&"#"!==c[0]&&!m.test(c)){const r=document.querySelector("ion-router");if(r)return i?.preventDefault(),r.push(c,p,g)}return!1});return function(i,p,g,r){return o.apply(this,arguments)}}()}}]); \ No newline at end of file diff --git a/9958.c6588f6bbb62a839.js b/9958.d7c737839985b5f9.js similarity index 95% rename from 9958.c6588f6bbb62a839.js rename to 9958.d7c737839985b5f9.js index c4cee8ce..81f22c05 100644 --- a/9958.c6588f6bbb62a839.js +++ b/9958.d7c737839985b5f9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9958],{9958:(D,d,i)=>{i.r(d),i.d(d,{ion_ripple_effect:()=>u});var b=i(5861),n=i(6541),h=i(4700);const u=class{constructor(t){(0,n.r)(this,t),this.type="bounded"}addRipple(t,_){var a=this;return(0,b.Z)(function*(){return new Promise(g=>{(0,n.e)(()=>{const r=a.el.getBoundingClientRect(),o=r.width,s=r.height,A=Math.sqrt(o*o+s*s),p=Math.max(s,o),E=a.unbounded?p:A+k,c=Math.floor(p*v),I=E/c;let m=t-r.left,f=_-r.top;a.unbounded&&(m=.5*o,f=.5*s);const C=m-.5*c,O=f-.5*c,R=.5*o-m,P=.5*s-f;(0,n.w)(()=>{const l=document.createElement("div");l.classList.add("ripple-effect");const e=l.style;e.top=O+"px",e.left=C+"px",e.width=e.height=c+"px",e.setProperty("--final-scale",`${I}`),e.setProperty("--translate-end",`${R}px, ${P}px`),(a.el.shadowRoot||a.el).appendChild(l),setTimeout(()=>{g(()=>{w(l)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{key:"9f2578664e5ff8a0a7e27cd90b2339bd430e72b8",role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return(0,n.f)(this)}},w=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},k=10,v=.5;u.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9958],{9958:(D,d,i)=>{i.r(d),i.d(d,{ion_ripple_effect:()=>u});var b=i(5861),n=i(2477),h=i(7943);const u=class{constructor(t){(0,n.r)(this,t),this.type="bounded"}addRipple(t,_){var a=this;return(0,b.Z)(function*(){return new Promise(g=>{(0,n.e)(()=>{const r=a.el.getBoundingClientRect(),o=r.width,s=r.height,A=Math.sqrt(o*o+s*s),p=Math.max(s,o),E=a.unbounded?p:A+k,c=Math.floor(p*v),I=E/c;let m=t-r.left,f=_-r.top;a.unbounded&&(m=.5*o,f=.5*s);const C=m-.5*c,O=f-.5*c,R=.5*o-m,P=.5*s-f;(0,n.w)(()=>{const l=document.createElement("div");l.classList.add("ripple-effect");const e=l.style;e.top=O+"px",e.left=C+"px",e.width=e.height=c+"px",e.setProperty("--final-scale",`${I}`),e.setProperty("--translate-end",`${R}px, ${P}px`),(a.el.shadowRoot||a.el).appendChild(l),setTimeout(()=>{g(()=>{w(l)})},325)})})})})()}get unbounded(){return"unbounded"===this.type}render(){const t=(0,h.b)(this);return(0,n.h)(n.H,{key:"f1129019a6d556b008c754aeb79618c69baea9f8",role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return(0,n.f)(this)}},w=t=>{t.classList.add("fade-out"),setTimeout(()=>{t.remove()},200)},k=10,v=.5;u.style=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}"}}]); \ No newline at end of file diff --git a/assets/i18n/pt.json b/assets/i18n/pt.json new file mode 100644 index 00000000..5e11087e --- /dev/null +++ b/assets/i18n/pt.json @@ -0,0 +1,128 @@ +{ + "Welcome to Open Lap!": + "Bem-vindo ao Open Lap!", + "Please select a Control Unit device from the menu.": + "Por favor selecione um dispositivo de Unidade de Controle no menu.", + "If no devices are listed, please make sure that Bluetooth is enabled.": + "Se nenhum dispositivo estiver listado, por favor certifique-se de que o Bluetooth esteja habilitado.", + "Reset all user settings to default values?": + "Redefinir todas as configurações do usúario para os valores padrão?", + + "About": "Sobre", + "About Open Lap": "Sobre o Open Lap", + "Apply all": "Aplicar tudo", + "Automatic": "Automático", + "Autonomous Car": "Carro Autônomo", + "Brake": "Freio", + "Cancel race?": "Cancelar corrida?", + "Cancel qualifying?": "Cancelar classificação?", + "Cancel": "Cancelar", + "Car enters pit": "Carro entra no pit", + "Car leaves pit": "Carro sai do pit", + "Clear": "Limpar", + "Colors": "Cores", + "Connected to {{device}}": "Conectado a {{device}}", + "Connecting to {{device}}": "Conectando a {{device}}", + "Connection": "Conexão", + "Connection timeout": "Tempo limite de conexão", + "Control Unit mode": "Modo da Unidade de Controle", + "Debug messages": "Mensagens de diagnóstico", + "Default": "Padrão", + "Demo Control Unit": "Unidade de Controle de Demonstração", + "Disconnected from {{device}}": "Desconectado de {{device}}", + "Done": "OK", + "Driver {{number}}": "Piloto {{number}}", + "Drivers": "Pilotos", + "Event log": "Registro de eventos", + "Exit Open Lap?": "Sair do Open Lap?", + "Exit": "Sair", + "False start": "Queimou a largada", + "Fastest lap": "Volta mais rápida", + "Fastest sector 1": "Setor mais rápido 1", + "Fastest sector 2": "Setor mais rápido 2", + "Fastest sector 3": "Setor mais rápido 3", + "Final lap": "Última volta", + "Finish all laps": "Termine todas as voltas", + "Finished first": "Primeiro lugar", + "Finished second": "Segundo lugar", + "Finished third": "Terceiro lugar", + "Firmware version": "Versão do Firmware", + "Five laps to go": "Faltam cinco voltas", + "Free Practice": "Treino Livre", + "Fuel < 10%": "Combustível < 10%", + "Fuel < 20%": "Combustível < 20%", + "Fuel": "Combustível", + "General": "Geral", + "Language": "Linguagem", + "Lap {{count}}": "Volta {{count}}", + "Lap {{count}}/{{total}}": "Volta {{count}}/{{total}}", + "{{total}} Laps": "{{total}} Voltas", + "License": "Licença", + "Location Services are disabled": "A localização está desativada", + "New race leader": "Novo líder da corrida", + "No connection": "Sem conexão", + "No fuel": "Sem combustível", + "None": "Nenhum", + "Notifications": "Notificações", + "Number of drivers": "Número de pilotos", + "Number of laps": "Número de voltas", + "OK": "OK", + "One minute to go": "Falta um minuto", + "Open source licenses": "Licenças de código aberto", + "Order by number": "Ordenar por número", + "Pace Car": "Carro de Segurança", + "Pitch": "Fixar", + "Privacy policy": "Política de privacidade", + "Qualifying": "Classificação", + "Race finished": "Corrida terminada", + "Race": "Corrida", + "Rate": "Classificar", + "Reconnect": "Reconectar", + "Reconnect delay": "Atraso de reconexão", + "Request timeout": "Tempo limite de solicitação", + "Reset settings": "Redefinir configurações", + "Restart race?": "Reiniciar corrida?", + "Restart qualifying?": "Reiniciar classificação?", + "Restart": "Reiniciar", + "Sector times": "Tempos do setor", + "Settings": "Configurações", + "Share": "Compartilhar", + "Speed": "Velocidade", + "Start": "Começar", + "Stop cars when finished": "Pare os carros quando terminar", + "Stop time when paused": "Parar o tempo quando pausado", + "Time": "Tempo", + "Timeout": "O tempo acabou", + "Track clear": "Pista limpa", + "Translations": "Traduções", + "Tuning": "Ajuste", + "Voice": "Voz", + "Yellow flag": "Bandeira amarela", + + "notifications": { + "locale": "pt-BR", + "example": "Este é um exemplo de síntese de fala em Português", + "bestlap": "Volta mais rápida!", + "bests1": "Setor mais rápido 1!", + "bests2": "Setor mais rápido 2!", + "bests3": "Setor mais rápido 3!", + "falsestart": "Queimou a largada!", + "finallap": "Última volta!", + "finished": "Corrida finalizada!", + "finished1st": "Primeiro lugar!", + "finished2nd": "Segundo lugar!", + "finished3rd": "Terceiro lugar!", + "fivelaps": "Faltam cinco voltas!", + "fuel0": "Box nesta volta!", + "fuel1": "Box, por favor box!", + "fuel2": "Prepare-se para o box!", + "greenflag": "Pista limpa!", + "newleader": "Na liderança!", + "oneminute": "Falta um minuto!", + "pitenter": "No pit!", + "pitexit": "De volta a pista!", + "timeout": "Acabou o tempo!", + "yellowflag": "Atenção: Bandeira amarela!" + + } +} diff --git a/common.76046d847a885780.js b/common.87519601aff3a93a.js similarity index 99% rename from common.76046d847a885780.js rename to common.87519601aff3a93a.js index c71668e4..82c1a388 100644 --- a/common.76046d847a885780.js +++ b/common.87519601aff3a93a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{6086:(M,_,a)=>{a.d(_,{c:()=>i});var h=a(6541),c=a(1765),l=a(5067);const i=(n,o)=>{let e,t;const u=(r,w,p)=>{if(typeof document>"u")return;const E=document.elementFromPoint(r,w);E&&o(E)?E!==e&&(s(),d(E,p)):s()},d=(r,w)=>{e=r,t||(t=e);const p=e;(0,h.w)(()=>p.classList.add("ion-activated")),w()},s=(r=!1)=>{if(!e)return;const w=e;(0,h.w)(()=>w.classList.remove("ion-activated")),r&&t!==e&&e.click(),e=void 0};return(0,l.createGesture)({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:r=>u(r.currentX,r.currentY,c.a),onMove:r=>u(r.currentX,r.currentY,c.b),onEnd:()=>{s(!0),(0,c.h)(),t=void 0}})}},6319:(M,_,a)=>{a.d(_,{g:()=>c});var h=a(2972);const c=()=>{if(void 0!==h.w)return h.w.Capacitor}},2890:(M,_,a)=>{a.d(_,{c:()=>h,i:()=>c});const h=(l,i,n)=>"function"==typeof n?n(l,i):"string"==typeof n?l[n]===i[n]:Array.isArray(i)?i.includes(l):l===i,c=(l,i,n)=>void 0!==l&&(Array.isArray(l)?l.some(o=>h(o,i,n)):h(l,i,n))},5069:(M,_,a)=>{a.d(_,{g:()=>h});const h=(o,e,t,u,d)=>l(o[1],e[1],t[1],u[1],d).map(s=>c(o[0],e[0],t[0],u[0],s)),c=(o,e,t,u,d)=>d*(3*e*Math.pow(d-1,2)+d*(-3*t*d+3*t+u*d))-o*Math.pow(d-1,3),l=(o,e,t,u,d)=>n((u-=d)-3*(t-=d)+3*(e-=d)-(o-=d),3*t-6*e+3*o,3*e-3*o,o).filter(r=>r>=0&&r<=1),n=(o,e,t,u)=>{if(0===o)return((o,e,t)=>{const u=e*e-4*o*t;return u<0?[]:[(-e+Math.sqrt(u))/(2*o),(-e-Math.sqrt(u))/(2*o)]})(e,t,u);const d=(3*(t/=o)-(e/=o)*e)/3,s=(2*e*e*e-9*e*t+27*(u/=o))/27;if(0===d)return[Math.pow(-s,1/3)];if(0===s)return[Math.sqrt(-d),-Math.sqrt(-d)];const r=Math.pow(s/2,2)+Math.pow(d/3,3);if(0===r)return[Math.pow(s/2,.5)-e/3];if(r>0)return[Math.pow(-s/2+Math.sqrt(r),1/3)-Math.pow(s/2+Math.sqrt(r),1/3)-e/3];const w=Math.sqrt(Math.pow(-d/3,3)),p=Math.acos(-s/(2*Math.sqrt(Math.pow(-d/3,3)))),E=2*Math.pow(w,1/3);return[E*Math.cos(p/3)-e/3,E*Math.cos((p+2*Math.PI)/3)-e/3,E*Math.cos((p+4*Math.PI)/3)-e/3]}},6879:(M,_,a)=>{a.d(_,{i:()=>h});const h=c=>c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},6390:(M,_,a)=>{a.r(_),a.d(_,{startFocusVisible:()=>i});const h="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],i=n=>{let o=[],e=!0;const t=n?n.shadowRoot:document,u=n||document.body,d=y=>{o.forEach(g=>g.classList.remove(h)),y.forEach(g=>g.classList.add(h)),o=y},s=()=>{e=!1,d([])},r=y=>{e=l.includes(y.key),e||d([])},w=y=>{if(e&&void 0!==y.composedPath){const g=y.composedPath().filter(v=>!!v.classList&&v.classList.contains("ion-focusable"));d(g)}},p=()=>{t.activeElement===u&&d([])};return t.addEventListener("keydown",r),t.addEventListener("focusin",w),t.addEventListener("focusout",p),t.addEventListener("touchstart",s,{passive:!0}),t.addEventListener("mousedown",s),{destroy:()=>{t.removeEventListener("keydown",r),t.removeEventListener("focusin",w),t.removeEventListener("focusout",p),t.removeEventListener("touchstart",s),t.removeEventListener("mousedown",s)},setFocus:d}}},5437:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(8635);const c=o=>{const e=o;let t;return{hasLegacyControl:()=>{if(void 0===t){const d=void 0!==e.label||l(e),s=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")&&null===e.shadowRoot,r=(0,h.h)(e);t=!0===e.legacy||!d&&!s&&null!==r}return t}}},l=o=>!!(i.includes(o.tagName)&&null!==o.querySelector('[slot="label"]')||n.includes(o.tagName)&&""!==o.textContent),i=["ION-INPUT","ION-TEXTAREA","ION-SELECT","ION-RANGE"],n=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"]},1765:(M,_,a)=>{a.d(_,{I:()=>c,a:()=>e,b:()=>t,c:()=>o,d:()=>d,h:()=>u});var h=a(6319),c=(()=>{return(s=c||(c={})).Heavy="HEAVY",s.Medium="MEDIUM",s.Light="LIGHT",c;var s})();const i={getEngine(){const s=window.TapticEngine;if(s)return s;const r=(0,h.g)();return r?.isPluginAvailable("Haptics")?r.Plugins.Haptics:void 0},available(){return!!this.getEngine()&&("web"!==(0,h.g)()?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>void 0!==window.TapticEngine,isCapacitor:()=>void 0!==(0,h.g)(),impact(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.style:s.style.toLowerCase();r.impact({style:w})},notification(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.type:s.type.toLowerCase();r.notification({type:w})},selection(){const s=this.isCapacitor()?c.Light:"light";this.impact({style:s})},selectionStart(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionStart():s.gestureSelectionStart())},selectionChanged(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionChanged():s.gestureSelectionChanged())},selectionEnd(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionEnd():s.gestureSelectionEnd())}},n=()=>i.available(),o=()=>{n()&&i.selection()},e=()=>{n()&&i.selectionStart()},t=()=>{n()&&i.selectionChanged()},u=()=>{n()&&i.selectionEnd()},d=s=>{n()&&i.impact(s)}},7003:(M,_,a)=>{a.d(_,{I:()=>o,a:()=>d,b:()=>n,c:()=>w,d:()=>E,f:()=>s,g:()=>u,i:()=>t,p:()=>p,r:()=>y,s:()=>r});var h=a(5861),c=a(8635),l=a(8909);const n="ion-content",o=".ion-content-scroll-host",e=`${n}, ${o}`,t=g=>"ION-CONTENT"===g.tagName,u=function(){var g=(0,h.Z)(function*(v){return t(v)?(yield new Promise(m=>(0,c.c)(v,m)),v.getScrollElement()):v});return function(m){return g.apply(this,arguments)}}(),d=g=>g.querySelector(o)||g.querySelector(e),s=g=>g.closest(e),r=(g,v)=>t(g)?g.scrollToTop(v):Promise.resolve(g.scrollTo({top:0,left:0,behavior:v>0?"smooth":"auto"})),w=(g,v,m,O)=>t(g)?g.scrollByPoint(v,m,O):Promise.resolve(g.scrollBy({top:m,left:v,behavior:O>0?"smooth":"auto"})),p=g=>(0,l.b)(g,n),E=g=>{if(t(g)){const m=g.scrollY;return g.scrollY=!1,m}return g.style.setProperty("overflow","hidden"),!0},y=(g,v)=>{t(g)?g.scrollY=v:g.style.removeProperty("overflow")}},4896:(M,_,a)=>{a.d(_,{a:()=>h,b:()=>w,c:()=>e,d:()=>p,e:()=>L,f:()=>o,g:()=>E,h:()=>l,i:()=>c,j:()=>O,k:()=>C,l:()=>t,m:()=>s,n:()=>y,o:()=>d,p:()=>n,q:()=>i,r:()=>m,s:()=>f,t:()=>r,u:()=>g,v:()=>v,w:()=>u});const h="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",i="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",y="data:image/svg+xml;utf8,",g="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",m="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",C="data:image/svg+xml;utf8,",f="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,"},118:(M,_,a)=>{a.d(_,{c:()=>i,g:()=>n});var h=a(2972),c=a(8635),l=a(8909);const i=(e,t,u)=>{let d,s;if(void 0!==h.w&&"MutationObserver"in h.w){const E=Array.isArray(t)?t:[t];d=new MutationObserver(y=>{for(const g of y)for(const v of g.addedNodes)if(v.nodeType===Node.ELEMENT_NODE&&E.includes(v.slot))return u(),void(0,c.r)(()=>r(v))}),d.observe(e,{childList:!0})}const r=E=>{var y;s&&(s.disconnect(),s=void 0),s=new MutationObserver(g=>{u();for(const v of g)for(const m of v.removedNodes)m.nodeType===Node.ELEMENT_NODE&&m.slot===t&&p()}),s.observe(null!==(y=E.parentElement)&&void 0!==y?y:E,{subtree:!0,childList:!0})},p=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{d&&(d.disconnect(),d=void 0),p()}}},n=(e,t,u)=>{const d=null==e?0:e.toString().length,s=o(d,t);if(void 0===u)return s;try{return u(d,t)}catch(r){return(0,l.a)("Exception in provided `counterFormatter`.",r),s}},o=(e,t)=>`${e} / ${t}`},922:(M,_,a)=>{a.r(_),a.d(_,{KEYBOARD_DID_CLOSE:()=>n,KEYBOARD_DID_OPEN:()=>i,copyVisualViewport:()=>C,keyboardDidClose:()=>g,keyboardDidOpen:()=>E,keyboardDidResize:()=>y,resetKeyboardAssist:()=>d,setKeyboardClose:()=>p,setKeyboardOpen:()=>w,startKeyboardAssist:()=>s,trackViewportChanges:()=>O});var h=a(3037);a(6319),a(2972);const i="ionKeyboardDidShow",n="ionKeyboardDidHide";let e={},t={},u=!1;const d=()=>{e={},t={},u=!1},s=f=>{if(h.K.getEngine())r(f);else{if(!f.visualViewport)return;t=C(f.visualViewport),f.visualViewport.onresize=()=>{O(f),E()||y(f)?w(f):g(f)&&p(f)}}},r=f=>{f.addEventListener("keyboardDidShow",L=>w(f,L)),f.addEventListener("keyboardDidHide",()=>p(f))},w=(f,L)=>{v(f,L),u=!0},p=f=>{m(f),u=!1},E=()=>!u&&e.width===t.width&&(e.height-t.height)*t.scale>150,y=f=>u&&!g(f),g=f=>u&&t.height===f.innerHeight,v=(f,L)=>{const D=new CustomEvent(i,{detail:{keyboardHeight:L?L.keyboardHeight:f.innerHeight-t.height}});f.dispatchEvent(D)},m=f=>{const L=new CustomEvent(n);f.dispatchEvent(L)},O=f=>{e=Object.assign({},t),t=C(f.visualViewport)},C=f=>({width:Math.round(f.width),height:Math.round(f.height),offsetTop:f.offsetTop,offsetLeft:f.offsetLeft,pageTop:f.pageTop,pageLeft:f.pageLeft,scale:f.scale})},3037:(M,_,a)=>{a.d(_,{K:()=>i,a:()=>l});var h=a(6319),c=(()=>{return(n=c||(c={})).Unimplemented="UNIMPLEMENTED",n.Unavailable="UNAVAILABLE",c;var n})(),l=(()=>{return(n=l||(l={})).Body="body",n.Ionic="ionic",n.Native="native",n.None="none",l;var n})();const i={getEngine(){const n=(0,h.g)();if(n?.isPluginAvailable("Keyboard"))return n.Plugins.Keyboard},getResizeMode(){const n=this.getEngine();return n?.getResizeMode?n.getResizeMode().catch(o=>{if(o.code!==c.Unimplemented)throw o}):Promise.resolve(void 0)}}},2930:(M,_,a)=>{a.d(_,{c:()=>o});var h=a(5861),c=a(2972),l=a(3037);const i=e=>void 0===c.d||e===l.a.None||void 0===e?null:c.d.querySelector("ion-app")??c.d.body,n=e=>{const t=i(e);return null===t?0:t.clientHeight},o=function(){var e=(0,h.Z)(function*(t){let u,d,s,r;const w=function(){var v=(0,h.Z)(function*(){const m=yield l.K.getResizeMode(),O=void 0===m?void 0:m.mode;u=()=>{void 0===r&&(r=n(O)),s=!0,p(s,O)},d=()=>{s=!1,p(s,O)},null==c.w||c.w.addEventListener("keyboardWillShow",u),null==c.w||c.w.addEventListener("keyboardWillHide",d)});return function(){return v.apply(this,arguments)}}(),p=(v,m)=>{t&&t(v,E(m))},E=v=>{if(0===r||r===n(v))return;const m=i(v);return null!==m?new Promise(O=>{const f=new ResizeObserver(()=>{m.clientHeight===r&&(f.disconnect(),O())});f.observe(m)}):void 0};return yield w(),{init:w,destroy:()=>{null==c.w||c.w.removeEventListener("keyboardWillShow",u),null==c.w||c.w.removeEventListener("keyboardWillHide",d),u=d=void 0},isKeyboardVisible:()=>s}});return function(u){return e.apply(this,arguments)}}()},7389:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(5861);const c=()=>{let l;return{lock:function(){var n=(0,h.Z)(function*(){const o=l;let e;return l=new Promise(t=>e=t),void 0!==o&&(yield o),e});return function(){return n.apply(this,arguments)}}()}}},9980:(M,_,a)=>{a.d(_,{c:()=>l});var h=a(2972),c=a(8635);const l=(i,n,o)=>{let e;const t=()=>!(void 0===n()||void 0!==i.label||null===o()),d=()=>{const r=n();if(void 0===r)return;if(!t())return void r.style.removeProperty("width");const w=o().scrollWidth;if(0===w&&null===r.offsetParent&&void 0!==h.w&&"IntersectionObserver"in h.w){if(void 0!==e)return;const p=e=new IntersectionObserver(E=>{1===E[0].intersectionRatio&&(d(),p.disconnect(),e=void 0)},{threshold:.01,root:i});p.observe(r)}else r.style.setProperty("width",.75*w+"px")};return{calculateNotchWidth:()=>{t()&&(0,c.r)(()=>{d()})},destroy:()=>{e&&(e.disconnect(),e=void 0)}}}},2677:(M,_,a)=>{a.d(_,{S:()=>c});const c={bubbles:{dur:1e3,circles:9,fn:(l,i,n)=>{const o=l*i/n-l+"ms",e=2*Math.PI*i/n;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(l,i,n)=>{const o=i/n,e=l*o-l+"ms",t=2*Math.PI*o;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":e}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(l,i)=>({r:6,style:{left:32-32*i+"%","animation-delay":-110*i+"ms"}})},lines:{dur:1e3,lines:8,fn:(l,i,n)=>({y1:14,y2:26,style:{transform:`rotate(${360/n*i+(i({y1:12,y2:20,style:{transform:`rotate(${360/n*i+(i({y1:17,y2:29,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(l,i,n)=>({y1:12,y2:20,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})}}},8299:(M,_,a)=>{a.r(_),a.d(_,{createSwipeBackGesture:()=>n});var h=a(8635),c=a(6879),l=a(5067);a(2889);const n=(o,e,t,u,d)=>{const s=o.ownerDocument.defaultView;let r=(0,c.i)(o);const p=m=>r?-m.deltaX:m.deltaX;return(0,l.createGesture)({el:o,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m=>(r=(0,c.i)(o),(m=>{const{startX:C}=m;return r?C>=s.innerWidth-50:C<=50})(m)&&e()),onStart:t,onMove:m=>{const C=p(m)/s.innerWidth;u(C)},onEnd:m=>{const O=p(m),C=s.innerWidth,f=O/C,L=(m=>r?-m.velocityX:m.velocityX)(m),D=L>=0&&(L>.2||O>C/2),T=(D?1-f:f)*C;let P=0;if(T>5){const A=T/Math.abs(L);P=Math.min(A,540)}d(D,f<=0?.01:(0,h.l)(0,f,.9999),P)}})}},2754:(M,_,a)=>{a.d(_,{w:()=>h});const h=(i,n,o)=>{if(typeof MutationObserver>"u")return;const e=new MutationObserver(t=>{o(c(t,n))});return e.observe(i,{childList:!0,subtree:!0}),e},c=(i,n)=>{let o;return i.forEach(e=>{for(let t=0;t{if(1!==i.nodeType)return;const o=i;return(o.tagName===n.toUpperCase()?[o]:Array.from(o.querySelectorAll(n))).find(t=>t.value===o.value)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{5853:(M,_,a)=>{a.d(_,{c:()=>i});var h=a(2477),c=a(1765),l=a(5067);const i=(n,o)=>{let e,t;const u=(r,w,p)=>{if(typeof document>"u")return;const E=document.elementFromPoint(r,w);E&&o(E)?E!==e&&(s(),d(E,p)):s()},d=(r,w)=>{e=r,t||(t=e);const p=e;(0,h.w)(()=>p.classList.add("ion-activated")),w()},s=(r=!1)=>{if(!e)return;const w=e;(0,h.w)(()=>w.classList.remove("ion-activated")),r&&t!==e&&e.click(),e=void 0};return(0,l.createGesture)({el:n,gestureName:"buttonActiveDrag",threshold:0,onStart:r=>u(r.currentX,r.currentY,c.a),onMove:r=>u(r.currentX,r.currentY,c.b),onEnd:()=>{s(!0),(0,c.h)(),t=void 0}})}},6319:(M,_,a)=>{a.d(_,{g:()=>c});var h=a(2972);const c=()=>{if(void 0!==h.w)return h.w.Capacitor}},2890:(M,_,a)=>{a.d(_,{c:()=>h,i:()=>c});const h=(l,i,n)=>"function"==typeof n?n(l,i):"string"==typeof n?l[n]===i[n]:Array.isArray(i)?i.includes(l):l===i,c=(l,i,n)=>void 0!==l&&(Array.isArray(l)?l.some(o=>h(o,i,n)):h(l,i,n))},5069:(M,_,a)=>{a.d(_,{g:()=>h});const h=(o,e,t,u,d)=>l(o[1],e[1],t[1],u[1],d).map(s=>c(o[0],e[0],t[0],u[0],s)),c=(o,e,t,u,d)=>d*(3*e*Math.pow(d-1,2)+d*(-3*t*d+3*t+u*d))-o*Math.pow(d-1,3),l=(o,e,t,u,d)=>n((u-=d)-3*(t-=d)+3*(e-=d)-(o-=d),3*t-6*e+3*o,3*e-3*o,o).filter(r=>r>=0&&r<=1),n=(o,e,t,u)=>{if(0===o)return((o,e,t)=>{const u=e*e-4*o*t;return u<0?[]:[(-e+Math.sqrt(u))/(2*o),(-e-Math.sqrt(u))/(2*o)]})(e,t,u);const d=(3*(t/=o)-(e/=o)*e)/3,s=(2*e*e*e-9*e*t+27*(u/=o))/27;if(0===d)return[Math.pow(-s,1/3)];if(0===s)return[Math.sqrt(-d),-Math.sqrt(-d)];const r=Math.pow(s/2,2)+Math.pow(d/3,3);if(0===r)return[Math.pow(s/2,.5)-e/3];if(r>0)return[Math.pow(-s/2+Math.sqrt(r),1/3)-Math.pow(s/2+Math.sqrt(r),1/3)-e/3];const w=Math.sqrt(Math.pow(-d/3,3)),p=Math.acos(-s/(2*Math.sqrt(Math.pow(-d/3,3)))),E=2*Math.pow(w,1/3);return[E*Math.cos(p/3)-e/3,E*Math.cos((p+2*Math.PI)/3)-e/3,E*Math.cos((p+4*Math.PI)/3)-e/3]}},6879:(M,_,a)=>{a.d(_,{i:()=>h});const h=c=>c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},6390:(M,_,a)=>{a.r(_),a.d(_,{startFocusVisible:()=>i});const h="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],i=n=>{let o=[],e=!0;const t=n?n.shadowRoot:document,u=n||document.body,d=y=>{o.forEach(g=>g.classList.remove(h)),y.forEach(g=>g.classList.add(h)),o=y},s=()=>{e=!1,d([])},r=y=>{e=l.includes(y.key),e||d([])},w=y=>{if(e&&void 0!==y.composedPath){const g=y.composedPath().filter(v=>!!v.classList&&v.classList.contains("ion-focusable"));d(g)}},p=()=>{t.activeElement===u&&d([])};return t.addEventListener("keydown",r),t.addEventListener("focusin",w),t.addEventListener("focusout",p),t.addEventListener("touchstart",s,{passive:!0}),t.addEventListener("mousedown",s),{destroy:()=>{t.removeEventListener("keydown",r),t.removeEventListener("focusin",w),t.removeEventListener("focusout",p),t.removeEventListener("touchstart",s),t.removeEventListener("mousedown",s)},setFocus:d}}},5437:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(8635);const c=o=>{const e=o;let t;return{hasLegacyControl:()=>{if(void 0===t){const d=void 0!==e.label||l(e),s=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")&&null===e.shadowRoot,r=(0,h.h)(e);t=!0===e.legacy||!d&&!s&&null!==r}return t}}},l=o=>!!(i.includes(o.tagName)&&null!==o.querySelector('[slot="label"]')||n.includes(o.tagName)&&""!==o.textContent),i=["ION-INPUT","ION-TEXTAREA","ION-SELECT","ION-RANGE"],n=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"]},1765:(M,_,a)=>{a.d(_,{I:()=>c,a:()=>e,b:()=>t,c:()=>o,d:()=>d,h:()=>u});var h=a(6319),c=(()=>{return(s=c||(c={})).Heavy="HEAVY",s.Medium="MEDIUM",s.Light="LIGHT",c;var s})();const i={getEngine(){const s=window.TapticEngine;if(s)return s;const r=(0,h.g)();return r?.isPluginAvailable("Haptics")?r.Plugins.Haptics:void 0},available(){return!!this.getEngine()&&("web"!==(0,h.g)()?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>void 0!==window.TapticEngine,isCapacitor:()=>void 0!==(0,h.g)(),impact(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.style:s.style.toLowerCase();r.impact({style:w})},notification(s){const r=this.getEngine();if(!r)return;const w=this.isCapacitor()?s.type:s.type.toLowerCase();r.notification({type:w})},selection(){const s=this.isCapacitor()?c.Light:"light";this.impact({style:s})},selectionStart(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionStart():s.gestureSelectionStart())},selectionChanged(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionChanged():s.gestureSelectionChanged())},selectionEnd(){const s=this.getEngine();s&&(this.isCapacitor()?s.selectionEnd():s.gestureSelectionEnd())}},n=()=>i.available(),o=()=>{n()&&i.selection()},e=()=>{n()&&i.selectionStart()},t=()=>{n()&&i.selectionChanged()},u=()=>{n()&&i.selectionEnd()},d=s=>{n()&&i.impact(s)}},7003:(M,_,a)=>{a.d(_,{I:()=>o,a:()=>d,b:()=>n,c:()=>w,d:()=>E,f:()=>s,g:()=>u,i:()=>t,p:()=>p,r:()=>y,s:()=>r});var h=a(5861),c=a(8635),l=a(8909);const n="ion-content",o=".ion-content-scroll-host",e=`${n}, ${o}`,t=g=>"ION-CONTENT"===g.tagName,u=function(){var g=(0,h.Z)(function*(v){return t(v)?(yield new Promise(m=>(0,c.c)(v,m)),v.getScrollElement()):v});return function(m){return g.apply(this,arguments)}}(),d=g=>g.querySelector(o)||g.querySelector(e),s=g=>g.closest(e),r=(g,v)=>t(g)?g.scrollToTop(v):Promise.resolve(g.scrollTo({top:0,left:0,behavior:v>0?"smooth":"auto"})),w=(g,v,m,O)=>t(g)?g.scrollByPoint(v,m,O):Promise.resolve(g.scrollBy({top:m,left:v,behavior:O>0?"smooth":"auto"})),p=g=>(0,l.b)(g,n),E=g=>{if(t(g)){const m=g.scrollY;return g.scrollY=!1,m}return g.style.setProperty("overflow","hidden"),!0},y=(g,v)=>{t(g)?g.scrollY=v:g.style.removeProperty("overflow")}},4896:(M,_,a)=>{a.d(_,{a:()=>h,b:()=>w,c:()=>e,d:()=>p,e:()=>L,f:()=>o,g:()=>E,h:()=>l,i:()=>c,j:()=>O,k:()=>C,l:()=>t,m:()=>s,n:()=>y,o:()=>d,p:()=>n,q:()=>i,r:()=>m,s:()=>f,t:()=>r,u:()=>g,v:()=>v,w:()=>u});const h="data:image/svg+xml;utf8,",c="data:image/svg+xml;utf8,",l="data:image/svg+xml;utf8,",i="data:image/svg+xml;utf8,",n="data:image/svg+xml;utf8,",o="data:image/svg+xml;utf8,",e="data:image/svg+xml;utf8,",t="data:image/svg+xml;utf8,",u="data:image/svg+xml;utf8,",d="data:image/svg+xml;utf8,",s="data:image/svg+xml;utf8,",r="data:image/svg+xml;utf8,",w="data:image/svg+xml;utf8,",p="data:image/svg+xml;utf8,",E="data:image/svg+xml;utf8,",y="data:image/svg+xml;utf8,",g="data:image/svg+xml;utf8,",v="data:image/svg+xml;utf8,",m="data:image/svg+xml;utf8,",O="data:image/svg+xml;utf8,",C="data:image/svg+xml;utf8,",f="data:image/svg+xml;utf8,",L="data:image/svg+xml;utf8,"},118:(M,_,a)=>{a.d(_,{c:()=>i,g:()=>n});var h=a(2972),c=a(8635),l=a(8909);const i=(e,t,u)=>{let d,s;if(void 0!==h.w&&"MutationObserver"in h.w){const E=Array.isArray(t)?t:[t];d=new MutationObserver(y=>{for(const g of y)for(const v of g.addedNodes)if(v.nodeType===Node.ELEMENT_NODE&&E.includes(v.slot))return u(),void(0,c.r)(()=>r(v))}),d.observe(e,{childList:!0})}const r=E=>{var y;s&&(s.disconnect(),s=void 0),s=new MutationObserver(g=>{u();for(const v of g)for(const m of v.removedNodes)m.nodeType===Node.ELEMENT_NODE&&m.slot===t&&p()}),s.observe(null!==(y=E.parentElement)&&void 0!==y?y:E,{subtree:!0,childList:!0})},p=()=>{s&&(s.disconnect(),s=void 0)};return{destroy:()=>{d&&(d.disconnect(),d=void 0),p()}}},n=(e,t,u)=>{const d=null==e?0:e.toString().length,s=o(d,t);if(void 0===u)return s;try{return u(d,t)}catch(r){return(0,l.a)("Exception in provided `counterFormatter`.",r),s}},o=(e,t)=>`${e} / ${t}`},922:(M,_,a)=>{a.r(_),a.d(_,{KEYBOARD_DID_CLOSE:()=>n,KEYBOARD_DID_OPEN:()=>i,copyVisualViewport:()=>C,keyboardDidClose:()=>g,keyboardDidOpen:()=>E,keyboardDidResize:()=>y,resetKeyboardAssist:()=>d,setKeyboardClose:()=>p,setKeyboardOpen:()=>w,startKeyboardAssist:()=>s,trackViewportChanges:()=>O});var h=a(3037);a(6319),a(2972);const i="ionKeyboardDidShow",n="ionKeyboardDidHide";let e={},t={},u=!1;const d=()=>{e={},t={},u=!1},s=f=>{if(h.K.getEngine())r(f);else{if(!f.visualViewport)return;t=C(f.visualViewport),f.visualViewport.onresize=()=>{O(f),E()||y(f)?w(f):g(f)&&p(f)}}},r=f=>{f.addEventListener("keyboardDidShow",L=>w(f,L)),f.addEventListener("keyboardDidHide",()=>p(f))},w=(f,L)=>{v(f,L),u=!0},p=f=>{m(f),u=!1},E=()=>!u&&e.width===t.width&&(e.height-t.height)*t.scale>150,y=f=>u&&!g(f),g=f=>u&&t.height===f.innerHeight,v=(f,L)=>{const D=new CustomEvent(i,{detail:{keyboardHeight:L?L.keyboardHeight:f.innerHeight-t.height}});f.dispatchEvent(D)},m=f=>{const L=new CustomEvent(n);f.dispatchEvent(L)},O=f=>{e=Object.assign({},t),t=C(f.visualViewport)},C=f=>({width:Math.round(f.width),height:Math.round(f.height),offsetTop:f.offsetTop,offsetLeft:f.offsetLeft,pageTop:f.pageTop,pageLeft:f.pageLeft,scale:f.scale})},3037:(M,_,a)=>{a.d(_,{K:()=>i,a:()=>l});var h=a(6319),c=(()=>{return(n=c||(c={})).Unimplemented="UNIMPLEMENTED",n.Unavailable="UNAVAILABLE",c;var n})(),l=(()=>{return(n=l||(l={})).Body="body",n.Ionic="ionic",n.Native="native",n.None="none",l;var n})();const i={getEngine(){const n=(0,h.g)();if(n?.isPluginAvailable("Keyboard"))return n.Plugins.Keyboard},getResizeMode(){const n=this.getEngine();return n?.getResizeMode?n.getResizeMode().catch(o=>{if(o.code!==c.Unimplemented)throw o}):Promise.resolve(void 0)}}},2930:(M,_,a)=>{a.d(_,{c:()=>o});var h=a(5861),c=a(2972),l=a(3037);const i=e=>void 0===c.d||e===l.a.None||void 0===e?null:c.d.querySelector("ion-app")??c.d.body,n=e=>{const t=i(e);return null===t?0:t.clientHeight},o=function(){var e=(0,h.Z)(function*(t){let u,d,s,r;const w=function(){var v=(0,h.Z)(function*(){const m=yield l.K.getResizeMode(),O=void 0===m?void 0:m.mode;u=()=>{void 0===r&&(r=n(O)),s=!0,p(s,O)},d=()=>{s=!1,p(s,O)},null==c.w||c.w.addEventListener("keyboardWillShow",u),null==c.w||c.w.addEventListener("keyboardWillHide",d)});return function(){return v.apply(this,arguments)}}(),p=(v,m)=>{t&&t(v,E(m))},E=v=>{if(0===r||r===n(v))return;const m=i(v);return null!==m?new Promise(O=>{const f=new ResizeObserver(()=>{m.clientHeight===r&&(f.disconnect(),O())});f.observe(m)}):void 0};return yield w(),{init:w,destroy:()=>{null==c.w||c.w.removeEventListener("keyboardWillShow",u),null==c.w||c.w.removeEventListener("keyboardWillHide",d),u=d=void 0},isKeyboardVisible:()=>s}});return function(u){return e.apply(this,arguments)}}()},7389:(M,_,a)=>{a.d(_,{c:()=>c});var h=a(5861);const c=()=>{let l;return{lock:function(){var n=(0,h.Z)(function*(){const o=l;let e;return l=new Promise(t=>e=t),void 0!==o&&(yield o),e});return function(){return n.apply(this,arguments)}}()}}},9980:(M,_,a)=>{a.d(_,{c:()=>l});var h=a(2972),c=a(8635);const l=(i,n,o)=>{let e;const t=()=>!(void 0===n()||void 0!==i.label||null===o()),d=()=>{const r=n();if(void 0===r)return;if(!t())return void r.style.removeProperty("width");const w=o().scrollWidth;if(0===w&&null===r.offsetParent&&void 0!==h.w&&"IntersectionObserver"in h.w){if(void 0!==e)return;const p=e=new IntersectionObserver(E=>{1===E[0].intersectionRatio&&(d(),p.disconnect(),e=void 0)},{threshold:.01,root:i});p.observe(r)}else r.style.setProperty("width",.75*w+"px")};return{calculateNotchWidth:()=>{t()&&(0,c.r)(()=>{d()})},destroy:()=>{e&&(e.disconnect(),e=void 0)}}}},2677:(M,_,a)=>{a.d(_,{S:()=>c});const c={bubbles:{dur:1e3,circles:9,fn:(l,i,n)=>{const o=l*i/n-l+"ms",e=2*Math.PI*i/n;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(l,i,n)=>{const o=i/n,e=l*o-l+"ms",t=2*Math.PI*o;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","animation-delay":e}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(l,i)=>({r:6,style:{left:32-32*i+"%","animation-delay":-110*i+"ms"}})},lines:{dur:1e3,lines:8,fn:(l,i,n)=>({y1:14,y2:26,style:{transform:`rotate(${360/n*i+(i({y1:12,y2:20,style:{transform:`rotate(${360/n*i+(i({y1:17,y2:29,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(l,i,n)=>({y1:12,y2:20,style:{transform:`rotate(${30*i+(i<6?180:-180)}deg)`,"animation-delay":l*i/n-l+"ms"}})}}},8299:(M,_,a)=>{a.r(_),a.d(_,{createSwipeBackGesture:()=>n});var h=a(8635),c=a(6879),l=a(5067);a(2889);const n=(o,e,t,u,d)=>{const s=o.ownerDocument.defaultView;let r=(0,c.i)(o);const p=m=>r?-m.deltaX:m.deltaX;return(0,l.createGesture)({el:o,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:m=>(r=(0,c.i)(o),(m=>{const{startX:C}=m;return r?C>=s.innerWidth-50:C<=50})(m)&&e()),onStart:t,onMove:m=>{const C=p(m)/s.innerWidth;u(C)},onEnd:m=>{const O=p(m),C=s.innerWidth,f=O/C,L=(m=>r?-m.velocityX:m.velocityX)(m),D=L>=0&&(L>.2||O>C/2),T=(D?1-f:f)*C;let P=0;if(T>5){const A=T/Math.abs(L);P=Math.min(A,540)}d(D,f<=0?.01:(0,h.l)(0,f,.9999),P)}})}},2754:(M,_,a)=>{a.d(_,{w:()=>h});const h=(i,n,o)=>{if(typeof MutationObserver>"u")return;const e=new MutationObserver(t=>{o(c(t,n))});return e.observe(i,{childList:!0,subtree:!0}),e},c=(i,n)=>{let o;return i.forEach(e=>{for(let t=0;t{if(1!==i.nodeType)return;const o=i;return(o.tagName===n.toUpperCase()?[o]:Array.from(o.querySelectorAll(n))).find(t=>t.value===o.value)}}}]); \ No newline at end of file diff --git a/index.html b/index.html index 7264ad8a..645674a0 100644 --- a/index.html +++ b/index.html @@ -25,11 +25,11 @@ - + - + \ No newline at end of file diff --git a/main.227f8d170de07f4a.js b/main.227f8d170de07f4a.js new file mode 100644 index 00000000..67a3e87d --- /dev/null +++ b/main.227f8d170de07f4a.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{694:(gt,Oe,g)=>{"use strict";g.d(Oe,{E:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.speak=function(j){return(0,r.DM)(this,"speak",{otherPromise:!0},arguments)},O.prototype.stop=function(){return(0,r.DM)(this,"stop",{otherPromise:!0},arguments)},O.prototype.getVoices=function(){return(0,r.DM)(this,"getVoices",{otherPromise:!0},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Text To Speech Advanced",O.plugin="cordova-plugin-tts-advanced",O.pluginRef="TTS",O.repo="https://github.com/spasma/cordova-plugin-tts-advanced",O.platforms=["Android","iOS"],O=(0,i.gn)([],O)}(r.On)},3771:(gt,Oe,g)=>{"use strict";g.d(Oe,{B:()=>re});var i=g(7582),r=g(7598),T=g(4650),re=function(O){function j(){return null!==O&&O.apply(this,arguments)||this}return(0,i.ZT)(j,O),j.prototype.isSupported=function(){return(0,r.DM)(this,"isSupported",{},arguments)},j.prototype.isImmersiveModeSupported=function(){return(0,r.DM)(this,"isImmersiveModeSupported",{},arguments)},j.prototype.immersiveWidth=function(){return(0,r.DM)(this,"immersiveWidth",{},arguments)},j.prototype.immersiveHeight=function(){return(0,r.DM)(this,"immersiveHeight",{},arguments)},j.prototype.leanMode=function(){return(0,r.DM)(this,"leanMode",{},arguments)},j.prototype.showSystemUI=function(){return(0,r.DM)(this,"showSystemUI",{},arguments)},j.prototype.showUnderStatusBar=function(){return(0,r.DM)(this,"showUnderStatusBar",{},arguments)},j.prototype.showUnderSystemUI=function(){return(0,r.DM)(this,"showUnderSystemUI",{},arguments)},j.prototype.immersiveMode=function(){return(0,r.DM)(this,"immersiveMode",{},arguments)},j.prototype.setSystemUiVisibility=function(H){return(0,r.DM)(this,"setSystemUiVisibility",{},arguments)},j.\u0275fac=function(){let H;return function(_e){return(H||(H=T.n5z(j)))(_e||j)}}(),j.\u0275prov=T.Yz7({token:j,factory:j.\u0275fac}),j.pluginName="AndroidFullScreen",j.plugin="cordova-plugin-fullscreen",j.pluginRef="AndroidFullScreen",j.repo="https://github.com/mesmotronic/cordova-plugin-fullscreen",j.platforms=["Android"],j=(0,i.gn)([],j)}(r.On)},9509:(gt,Oe,g)=>{"use strict";g.d(Oe,{b:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.getAppName=function(){return(0,r.DM)(this,"getAppName",{},arguments)},O.prototype.getPackageName=function(){return(0,r.DM)(this,"getPackageName",{},arguments)},O.prototype.getVersionCode=function(){return(0,r.DM)(this,"getVersionCode",{},arguments)},O.prototype.getVersionNumber=function(){return(0,r.DM)(this,"getVersionNumber",{},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="AppVersion",O.plugin="cordova-plugin-app-version",O.pluginRef="cordova.getAppVersion",O.repo="https://github.com/whiteoctober/cordova-plugin-app-version",O.platforms=["Android","iOS","Windows"],O=(0,i.gn)([],O)}(r.On)},7598:(gt,Oe,g)=>{"use strict";g.d(Oe,{On:()=>Pe,DM:()=>se,J2:()=>Me,Iq:()=>je});var r=g(9751),T=g(4968),B={error:"cordova_not_available"},re={error:"plugin_not_installed"};function O(ce){if(typeof window<"u"&&window.angular){var qe=window.document,lt=window.angular.element(qe.querySelector("[ng-app]")||qe.body).injector();if(lt)return lt.get("$q")(function(De,N){ce(De,N)});console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise(function(De,N){ce(De,N)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function W(ce,$e,qe){var lt,ve;"string"==typeof ce?lt=ce:(lt=ce.constructor.getPluginRef(),qe=ce.constructor.getPluginName(),ve=ce.constructor.getPluginInstallName());var De=ae(lt);return!(!De||$e&&typeof De[$e]>"u")||(typeof window>"u"||!window.cordova?(function he(ce,$e){typeof process>"u"&&console.warn($e?"Native: tried calling "+ce+"."+$e+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+ce+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(qe,$e),B):(function X(ce,$e,qe){console.warn(qe?"Native: tried calling "+ce+"."+qe+", but the "+ce+" plugin is not installed.":"Native: tried accessing the "+ce+" plugin but it's not installed."),$e&&console.warn("Install the "+ce+" plugin: 'ionic cordova plugin add "+$e+"'")}(qe,ve,$e),re))}function ee(ce,$e,qe,lt,ve,De){void 0===lt&&(lt={}),qe=function ye(ce,$e,qe,lt){if(void 0===$e&&($e={}),$e.sync)return ce;if("reverse"===$e.callbackOrder)ce.unshift(lt),ce.unshift(qe);else if("node"===$e.callbackStyle)ce.push(function(P,V){P?lt(P):qe(V)});else if("object"===$e.callbackStyle&&$e.successName&&$e.errorName){var ve={};ve[$e.successName]=qe,ve[$e.errorName]=lt,ce.push(ve)}else if(typeof $e.successIndex<"u"||typeof $e.errorIndex<"u"){var De=function(){$e.successIndex>ce.length?ce[$e.successIndex]=qe:ce.splice($e.successIndex,0,qe)},N=function(){$e.errorIndex>ce.length?ce[$e.errorIndex]=lt:ce.splice($e.errorIndex,0,lt)};$e.successIndex>$e.errorIndex?(N(),De()):(De(),N())}else ce.push(qe),ce.push(lt);return ce}(qe,lt,ve,De);var N=W(ce,$e);if(!0===N){var P=ae(ce.constructor.getPluginRef());return P[$e].apply(P,qe)}return N}function ae(ce){return typeof window<"u"?Z(window,ce):null}function Z(ce,$e){for(var qe=$e.split("."),lt=ce,ve=0;ve"u"){var ce=typeof window<"u"?window:{},qe=Date.now(),lt=!1;ce.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-qe)+" ms"),lt=!0}),setTimeout(function(){!lt&&ce.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},5e3)}}()},4598:(gt,Oe,g)=>{"use strict";g.d(Oe,{A:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),Object.defineProperty(O.prototype,"cordova",{get:function(){return(0,r.J2)(this,"cordova")},set:function(j){(0,r.Iq)(this,"cordova",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"model",{get:function(){return(0,r.J2)(this,"model")},set:function(j){(0,r.Iq)(this,"model",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"platform",{get:function(){return(0,r.J2)(this,"platform")},set:function(j){(0,r.Iq)(this,"platform",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"uuid",{get:function(){return(0,r.J2)(this,"uuid")},set:function(j){(0,r.Iq)(this,"uuid",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"version",{get:function(){return(0,r.J2)(this,"version")},set:function(j){(0,r.Iq)(this,"version",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"manufacturer",{get:function(){return(0,r.J2)(this,"manufacturer")},set:function(j){(0,r.Iq)(this,"manufacturer",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isVirtual",{get:function(){return(0,r.J2)(this,"isVirtual")},set:function(j){(0,r.Iq)(this,"isVirtual",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"serial",{get:function(){return(0,r.J2)(this,"serial")},set:function(j){(0,r.Iq)(this,"serial",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"sdkVersion",{get:function(){return(0,r.J2)(this,"sdkVersion")},set:function(j){(0,r.Iq)(this,"sdkVersion",j)},enumerable:!1,configurable:!0}),Object.defineProperty(O.prototype,"isiOSAppOnMac",{get:function(){return(0,r.J2)(this,"isiOSAppOnMac")},set:function(j){(0,r.Iq)(this,"isiOSAppOnMac",j)},enumerable:!1,configurable:!0}),O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Device",O.plugin="cordova-plugin-device",O.pluginRef="device",O.repo="https://github.com/apache/cordova-plugin-device",O.platforms=["Android","Browser","iOS","macOS","Windows"],O=(0,i.gn)([],O)}(r.On)},9986:(gt,Oe,g)=>{"use strict";g.d(Oe,{s:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.keepAwake=function(){return(0,r.DM)(this,"keepAwake",{},arguments)},O.prototype.allowSleepAgain=function(){return(0,r.DM)(this,"allowSleepAgain",{},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Insomnia",O.plugin="cordova-plugin-insomnia",O.pluginRef="plugins.insomnia",O.repo="https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",O.platforms=["Android","Browser","Firefox OS","iOS","Windows","Windows Phone 8"],O=(0,i.gn)([],O)}(r.On)},9102:(gt,Oe,g)=>{"use strict";g.d(Oe,{e:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.share=function(j,H,oe,_e){return(0,r.DM)(this,"share",{successIndex:4,errorIndex:5},arguments)},O.prototype.shareWithOptions=function(j){return(0,r.DM)(this,"shareWithOptions",{platforms:["iOS","Android"]},arguments)},O.prototype.canShareVia=function(j,H,oe,_e,W){return(0,r.DM)(this,"canShareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaTwitter=function(j,H,oe){return(0,r.DM)(this,"shareViaTwitter",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaFacebook=function(j,H,oe){return(0,r.DM)(this,"shareViaFacebook",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaFacebookWithPasteMessageHint=function(j,H,oe,_e){return(0,r.DM)(this,"shareViaFacebookWithPasteMessageHint",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaInstagram=function(j,H){return(0,r.DM)(this,"shareViaInstagram",{platforms:["iOS","Android"]},arguments)},O.prototype.shareViaWhatsApp=function(j,H,oe){return(0,r.DM)(this,"shareViaWhatsApp",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaWhatsAppToReceiver=function(j,H,oe,_e){return(0,r.DM)(this,"shareViaWhatsAppToReceiver",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},O.prototype.shareViaSMS=function(j,H){return(0,r.DM)(this,"shareViaSMS",{platforms:["iOS","Android"]},arguments)},O.prototype.canShareViaEmail=function(){return(0,r.DM)(this,"canShareViaEmail",{platforms:["iOS","Android"]},arguments)},O.prototype.shareViaEmail=function(j,H,oe,_e,W,le){return(0,r.DM)(this,"shareViaEmail",{platforms:["iOS","Android"],successIndex:6,errorIndex:7},arguments)},O.prototype.shareVia=function(j,H,oe,_e,W){return(0,r.DM)(this,"shareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.prototype.setIPadPopupCoordinates=function(j){return(0,r.DM)(this,"setIPadPopupCoordinates",{sync:!0,platforms:["iOS"]},arguments)},O.prototype.saveToPhotoAlbum=function(j){return(0,r.DM)(this,"saveToPhotoAlbum",{platforms:["iOS"]},arguments)},O.prototype.shareViaWhatsAppToPhone=function(j,H,oe,_e){return(0,r.DM)(this,"shareViaWhatsAppToPhone",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="SocialSharing",O.plugin="cordova-plugin-x-socialsharing",O.pluginRef="plugins.socialsharing",O.repo="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",O.platforms=["Android","Browser","iOS","Windows","Windows Phone"],O=(0,i.gn)([],O)}(r.On)},5082:(gt,Oe,g)=>{"use strict";g.d(Oe,{c:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},O.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="SplashScreen",O.plugin="cordova-plugin-splashscreen",O.pluginRef="navigator.splashscreen",O.repo="https://github.com/apache/cordova-plugin-splashscreen",O.platforms=["Amazon Fire OS","Android","iOS","Windows"],O=(0,i.gn)([],O)}(r.On)},9062:(gt,Oe,g)=>{"use strict";g.d(Oe,{A:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.overlaysWebView=function(j){return(0,r.DM)(this,"overlaysWebView",{sync:!0},arguments)},O.prototype.styleDefault=function(){return(0,r.DM)(this,"styleDefault",{sync:!0},arguments)},O.prototype.styleLightContent=function(){return(0,r.DM)(this,"styleLightContent",{sync:!0},arguments)},O.prototype.backgroundColorByName=function(j){return(0,r.DM)(this,"backgroundColorByName",{sync:!0},arguments)},O.prototype.backgroundColorByHexString=function(j){return(0,r.DM)(this,"backgroundColorByHexString",{sync:!0},arguments)},O.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},O.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},Object.defineProperty(O.prototype,"isVisible",{get:function(){return(0,r.J2)(this,"isVisible")},set:function(j){(0,r.Iq)(this,"isVisible",j)},enumerable:!1,configurable:!0}),O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="StatusBar",O.plugin="cordova-plugin-statusbar",O.pluginRef="StatusBar",O.repo="https://github.com/apache/cordova-plugin-statusbar",O.platforms=["Android","iOS","Windows"],O=(0,i.gn)([],O)}(r.On)},4879:(gt,Oe,g)=>{"use strict";g.d(Oe,{F:()=>B});var i=g(7582),r=g(7598),T=g(4650),B=function(re){function O(){return null!==re&&re.apply(this,arguments)||this}return(0,i.ZT)(O,re),O.prototype.show=function(j,H,oe){return(0,r.DM)(this,"show",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.hide=function(){return(0,r.DM)(this,"hide",{},arguments)},O.prototype.showWithOptions=function(j){return(0,r.DM)(this,"showWithOptions",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortTop=function(j){return(0,r.DM)(this,"showShortTop",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortCenter=function(j){return(0,r.DM)(this,"showShortCenter",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showShortBottom=function(j){return(0,r.DM)(this,"showShortBottom",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongTop=function(j){return(0,r.DM)(this,"showLongTop",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongCenter=function(j){return(0,r.DM)(this,"showLongCenter",{observable:!0,clearFunction:"hide"},arguments)},O.prototype.showLongBottom=function(j){return(0,r.DM)(this,"showLongBottom",{observable:!0,clearFunction:"hide"},arguments)},O.\u0275fac=function(){let j;return function(oe){return(j||(j=T.n5z(O)))(oe||O)}}(),O.\u0275prov=T.Yz7({token:O,factory:O.\u0275fac}),O.pluginName="Toast",O.plugin="cordova-plugin-x-toast",O.pluginRef="plugins.toast",O.repo="https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",O.platforms=["Android","BlackBerry 10","iOS","Windows","Windows Phone 8"],O=(0,i.gn)([],O)}(r.On)},9804:(gt,Oe,g)=>{"use strict";g.d(Oe,{c:()=>T,r:()=>W});const T=(se,k)=>{se.componentOnReady?se.componentOnReady().then(pe=>k(pe)):W(()=>k(se))},W=se=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(se):"function"==typeof requestAnimationFrame?requestAnimationFrame(se):setTimeout(se)},3435:(gt,Oe,g)=>{"use strict";g.d(Oe,{L:()=>i,a:()=>r,b:()=>T,c:()=>B,d:()=>re,g:()=>se});const i="ionViewWillEnter",r="ionViewDidEnter",T="ionViewWillLeave",B="ionViewDidLeave",re="ionViewWillUnload",se=k=>k.classList.contains("ion-page")?k:k.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||k},4963:(gt,Oe,g)=>{"use strict";g.d(Oe,{c:()=>ae});var i=g(2972),r=g(8635);let T;const re=Z=>Z.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O=Z=>(void 0===T&&(T=void 0===Z.style.animationName&&void 0!==Z.style.webkitAnimationName?"-webkit-":""),T),j=(Z,X,he)=>{const ze=X.startsWith("animation")?O(Z):"";Z.style.setProperty(ze+X,he)},H=(Z,X)=>{const he=X.startsWith("animation")?O(Z):"";Z.style.removeProperty(he+X)},W=[],ue=(Z=[],X)=>{if(void 0!==X){const he=Array.isArray(X)?X:[X];return[...Z,...he]}return Z},ae=Z=>{let X,he,ze,we,ke,Le,be,De,N,P,V,Ue,Qe,Pe=[],se=[],k=[],pe=!1,Me={},je=[],ce=[],$e={},qe=0,lt=!1,ve=!1,K=!0,z=!1,Be=!0,Dt=!1;const kt=Z,Lt=[],Ht=[],$t=[],Yt=[],Ke=[],et=[],rt=[],Et=[],Ct=[],on=[],Jt=[],tn="function"==typeof AnimationEffect||void 0!==i.w&&"function"==typeof i.w.AnimationEffect,en="function"==typeof Element&&"function"==typeof Element.prototype.animate&&tn,sn=()=>Jt,Cn=(xe,Ze)=>{const L=Ze.findIndex(q=>q.c===xe);L>-1&&Ze.splice(L,1)},or=(xe,Ze)=>((Ze?.oneTimeCallback?Ht:Lt).push({c:xe,o:Ze}),Qe),er=()=>{if(en)Jt.forEach(xe=>{xe.cancel()}),Jt.length=0;else{const xe=Yt.slice();(0,r.r)(()=>{xe.forEach(Ze=>{H(Ze,"animation-name"),H(Ze,"animation-duration"),H(Ze,"animation-timing-function"),H(Ze,"animation-iteration-count"),H(Ze,"animation-delay"),H(Ze,"animation-play-state"),H(Ze,"animation-fill-mode"),H(Ze,"animation-direction")})})}},xn=()=>{et.forEach(xe=>{xe?.parentNode&&xe.parentNode.removeChild(xe)}),et.length=0},Fn=()=>void 0!==ke?ke:be?be.getFill():"both",Dn=()=>void 0!==N?N:void 0!==Le?Le:be?be.getDirection():"normal",Pn=()=>lt?"linear":void 0!==ze?ze:be?be.getEasing():"linear",cn=()=>ve?0:void 0!==P?P:void 0!==he?he:be?be.getDuration():0,rn=()=>void 0!==we?we:be?be.getIterations():1,Je=()=>void 0!==V?V:void 0!==X?X:be?be.getDelay():0,tr=()=>{0!==qe&&(qe--,0===qe&&((()=>{D(),Ct.forEach(Te=>Te()),on.forEach(Te=>Te());const xe=K?1:0,Ze=je,L=ce,q=$e;Yt.forEach(Te=>{const Re=Te.classList;Ze.forEach(Ce=>Re.add(Ce)),L.forEach(Ce=>Re.remove(Ce));for(const Ce in q)q.hasOwnProperty(Ce)&&j(Te,Ce,q[Ce])}),P=void 0,N=void 0,V=void 0,Lt.forEach(Te=>Te.c(xe,Qe)),Ht.forEach(Te=>Te.c(xe,Qe)),Ht.length=0,Be=!0,K&&(z=!0),K=!0})(),be&&be.animationFinish()))},Xt=(xe=!0)=>{xn();const Ze=(Z=>(Z.forEach(X=>{for(const he in X)if(X.hasOwnProperty(he)){const ze=X[he];if("easing"===he)X["animation-timing-function"]=ze,delete X[he];else{const we=re(he);we!==he&&(X[we]=ze,delete X[he])}}}),Z))(Pe);Yt.forEach(L=>{if(Ze.length>0){const q=((Z=[])=>Z.map(X=>{const he=X.offset,ze=[];for(const we in X)X.hasOwnProperty(we)&&"offset"!==we&&ze.push(`${we}: ${X[we]};`);return`${100*he}% { ${ze.join(" ")} }`}).join(" "))(Ze);Ue=void 0!==Z?Z:(Z=>{let X=W.indexOf(Z);return X<0&&(X=W.push(Z)-1),`ion-animation-${X}`})(q);const Te=((Z,X,he)=>{var ze;const we=(Z=>{const X=void 0!==Z.getRootNode?Z.getRootNode():Z;return X.head||X})(he),ke=O(he),Le=we.querySelector("#"+Z);if(Le)return Le;const Pe=(null!==(ze=he.ownerDocument)&&void 0!==ze?ze:document).createElement("style");return Pe.id=Z,Pe.textContent=`@${ke}keyframes ${Z} { ${X} } @${ke}keyframes ${Z}-alt { ${X} }`,we.appendChild(Pe),Pe})(Ue,q,L);et.push(Te),j(L,"animation-duration",`${cn()}ms`),j(L,"animation-timing-function",Pn()),j(L,"animation-delay",`${Je()}ms`),j(L,"animation-fill-mode",Fn()),j(L,"animation-direction",Dn());const Re=rn()===1/0?"infinite":rn().toString();j(L,"animation-iteration-count",Re),j(L,"animation-play-state","paused"),xe&&j(L,"animation-name",`${Te.id}-alt`),(0,r.r)(()=>{j(L,"animation-name",Te.id||null)})}})},kn=(xe=!0)=>{(()=>{rt.forEach(q=>q()),Et.forEach(q=>q());const xe=se,Ze=k,L=Me;Yt.forEach(q=>{const Te=q.classList;xe.forEach(Re=>Te.add(Re)),Ze.forEach(Re=>Te.remove(Re));for(const Re in L)L.hasOwnProperty(Re)&&j(q,Re,L[Re])})})(),Pe.length>0&&(en?(Yt.forEach(xe=>{const Ze=xe.animate(Pe,{id:kt,delay:Je(),duration:cn(),easing:Pn(),iterations:rn(),fill:Fn(),direction:Dn()});Ze.pause(),Jt.push(Ze)}),Jt.length>0&&(Jt[0].onfinish=()=>{tr()})):Xt(xe)),pe=!0},Bn=xe=>{if(xe=Math.min(Math.max(xe,0),.9999),en)Jt.forEach(Ze=>{Ze.currentTime=Ze.effect.getComputedTiming().delay+cn()*xe,Ze.pause()});else{const Ze=`-${cn()*xe}ms`;Yt.forEach(L=>{Pe.length>0&&(j(L,"animation-delay",Ze),j(L,"animation-play-state","paused"))})}},Tn=xe=>{Jt.forEach(Ze=>{Ze.effect.updateTiming({delay:Je(),duration:cn(),easing:Pn(),iterations:rn(),fill:Fn(),direction:Dn()})}),void 0!==xe&&Bn(xe)},lr=(xe=!0,Ze)=>{(0,r.r)(()=>{Yt.forEach(L=>{j(L,"animation-name",Ue||null),j(L,"animation-duration",`${cn()}ms`),j(L,"animation-timing-function",Pn()),j(L,"animation-delay",void 0!==Ze?`-${Ze*cn()}ms`:`${Je()}ms`),j(L,"animation-fill-mode",Fn()||null),j(L,"animation-direction",Dn()||null);const q=rn()===1/0?"infinite":rn().toString();j(L,"animation-iteration-count",q),xe&&j(L,"animation-name",`${Ue}-alt`),(0,r.r)(()=>{j(L,"animation-name",Ue||null)})})})},In=(xe=!1,Ze=!0,L)=>(xe&&Ke.forEach(q=>{q.update(xe,Ze,L)}),en?Tn(L):lr(Ze,L),Qe),Rt=()=>{pe&&(en?Jt.forEach(xe=>{xe.pause()}):Yt.forEach(xe=>{j(xe,"animation-play-state","paused")}),Dt=!0)},ge=()=>{De=void 0,tr()},D=()=>{De&&clearTimeout(De)},Ie=xe=>new Promise(Ze=>{xe?.sync&&(ve=!0,or(()=>ve=!1,{oneTimeCallback:!0})),pe||kn(),z&&(en?(Bn(0),Tn()):lr(),z=!1),Be&&(qe=Ke.length+1,Be=!1);const L=()=>{Cn(q,Ht),Ze()},q=()=>{Cn(L,$t),Ze()};or(q,{oneTimeCallback:!0}),((xe,Ze)=>{$t.push({c:xe,o:{oneTimeCallback:!0}})})(L),Ke.forEach(Te=>{Te.play()}),en?(Jt.forEach(xe=>{xe.play()}),(0===Pe.length||0===Yt.length)&&tr()):(()=>{if(D(),(0,r.r)(()=>{Yt.forEach(xe=>{Pe.length>0&&j(xe,"animation-play-state","running")})}),0===Pe.length||0===Yt.length)tr();else{const xe=Je()||0,Ze=cn()||0,L=rn()||1;isFinite(L)&&(De=setTimeout(ge,xe+Ze*L+100)),((Z,X)=>{let he;const ze={passive:!0},ke=Le=>{Z===Le.target&&(he&&he(),D(),(0,r.r)(()=>{Yt.forEach(xe=>{H(xe,"animation-duration"),H(xe,"animation-delay"),H(xe,"animation-play-state")}),(0,r.r)(tr)}))};Z&&(Z.addEventListener("webkitAnimationEnd",ke,ze),Z.addEventListener("animationend",ke,ze),he=()=>{Z.removeEventListener("webkitAnimationEnd",ke,ze),Z.removeEventListener("animationend",ke,ze)})})(Yt[0])}})(),Dt=!1}),ot=(xe,Ze)=>{const L=Pe[0];return void 0===L||void 0!==L.offset&&0!==L.offset?Pe=[{offset:0,[xe]:Ze},...Pe]:L[xe]=Ze,Qe};return Qe={parentAnimation:be,elements:Yt,childAnimations:Ke,id:kt,animationFinish:tr,from:ot,to:(xe,Ze)=>{const L=Pe[Pe.length-1];return void 0===L||void 0!==L.offset&&1!==L.offset?Pe=[...Pe,{offset:1,[xe]:Ze}]:L[xe]=Ze,Qe},fromTo:(xe,Ze,L)=>ot(xe,Ze).to(xe,L),parent:xe=>(be=xe,Qe),play:Ie,pause:()=>(Ke.forEach(xe=>{xe.pause()}),Rt(),Qe),stop:()=>{Ke.forEach(xe=>{xe.stop()}),pe&&(er(),pe=!1),lt=!1,ve=!1,Be=!0,N=void 0,P=void 0,V=void 0,qe=0,z=!1,K=!0,Dt=!1,$t.forEach(xe=>xe.c(0,Qe)),$t.length=0},destroy:xe=>(Ke.forEach(Ze=>{Ze.destroy(xe)}),(xe=>{er(),xe&&xn()})(xe),Yt.length=0,Ke.length=0,Pe.length=0,Lt.length=0,Ht.length=0,pe=!1,Be=!0,Qe),keyframes:xe=>{const Ze=Pe!==xe;return Pe=xe,Ze&&(xe=>{en?sn().forEach(Ze=>{const L=Ze.effect;if(L.setKeyframes)L.setKeyframes(xe);else{const q=new KeyframeEffect(L.target,xe,L.getTiming());Ze.effect=q}}):Xt()})(Pe),Qe},addAnimation:xe=>{if(null!=xe)if(Array.isArray(xe))for(const Ze of xe)Ze.parent(Qe),Ke.push(Ze);else xe.parent(Qe),Ke.push(xe);return Qe},addElement:xe=>{if(null!=xe)if(1===xe.nodeType)Yt.push(xe);else if(xe.length>=0)for(let Ze=0;Ze(ke=xe,In(!0),Qe),direction:xe=>(Le=xe,In(!0),Qe),iterations:xe=>(we=xe,In(!0),Qe),duration:xe=>(!en&&0===xe&&(xe=1),he=xe,In(!0),Qe),easing:xe=>(ze=xe,In(!0),Qe),delay:xe=>(X=xe,In(!0),Qe),getWebAnimations:sn,getKeyframes:()=>Pe,getFill:Fn,getDirection:Dn,getDelay:Je,getIterations:rn,getEasing:Pn,getDuration:cn,afterAddRead:xe=>(Ct.push(xe),Qe),afterAddWrite:xe=>(on.push(xe),Qe),afterClearStyles:(xe=[])=>{for(const Ze of xe)$e[Ze]="";return Qe},afterStyles:(xe={})=>($e=xe,Qe),afterRemoveClass:xe=>(ce=ue(ce,xe),Qe),afterAddClass:xe=>(je=ue(je,xe),Qe),beforeAddRead:xe=>(rt.push(xe),Qe),beforeAddWrite:xe=>(Et.push(xe),Qe),beforeClearStyles:(xe=[])=>{for(const Ze of xe)Me[Ze]="";return Qe},beforeStyles:(xe={})=>(Me=xe,Qe),beforeRemoveClass:xe=>(k=ue(k,xe),Qe),beforeAddClass:xe=>(se=ue(se,xe),Qe),onFinish:or,isRunning:()=>0!==qe&&!Dt,progressStart:(xe=!1,Ze)=>(Ke.forEach(L=>{L.progressStart(xe,Ze)}),Rt(),lt=xe,pe||kn(),In(!1,!0,Ze),Qe),progressStep:xe=>(Ke.forEach(Ze=>{Ze.progressStep(xe)}),Bn(xe),Qe),progressEnd:(xe,Ze,L)=>(lt=!1,Ke.forEach(q=>{q.progressEnd(xe,Ze,L)}),void 0!==L&&(P=L),z=!1,K=!0,0===xe?(N="reverse"===Dn()?"normal":"reverse","reverse"===N&&(K=!1),en?(In(),Bn(1-Ze)):(V=(1-Ze)*cn()*-1,In(!1,!1))):1===xe&&(en?(In(),Bn(Ze)):(V=Ze*cn()*-1,In(!1,!1))),void 0!==xe&&!be&&Ie(),Qe)}}},7036:(gt,Oe,g)=>{"use strict";g.d(Oe,{E:()=>_e,a:()=>i,s:()=>H});const i=W=>{try{if(W instanceof j)return W.value;if(!B()||"string"!=typeof W||""===W)return W;if(W.includes("onload="))return"";const le=document.createDocumentFragment(),ye=document.createElement("div");le.appendChild(ye),ye.innerHTML=W,O.forEach(Z=>{const X=le.querySelectorAll(Z);for(let he=X.length-1;he>=0;he--){const ze=X[he];ze.parentNode?ze.parentNode.removeChild(ze):le.removeChild(ze);const we=T(ze);for(let ke=0;ke{if(W.nodeType&&1!==W.nodeType)return;if(typeof NamedNodeMap<"u"&&!(W.attributes instanceof NamedNodeMap))return void W.remove();for(let ye=W.attributes.length-1;ye>=0;ye--){const ee=W.attributes.item(ye),ue=ee.name;if(!re.includes(ue.toLowerCase())){W.removeAttribute(ue);continue}const ae=ee.value,Z=W[ue];(null!=ae&&ae.toLowerCase().includes("javascript:")||null!=Z&&Z.toLowerCase().includes("javascript:"))&&W.removeAttribute(ue)}const le=T(W);for(let ye=0;yenull!=W.children?W.children:W.childNodes,B=()=>{var W;const ye=null===(W=window?.Ionic)||void 0===W?void 0:W.config;return!ye||(ye.get?ye.get("sanitizerEnabled",!0):!0===ye.sanitizerEnabled||void 0===ye.sanitizerEnabled)},re=["class","id","href","src","name","slot"],O=["script","style","iframe","meta","link","object","embed"];class j{constructor(le){this.value=le}}const H=W=>{const le=window,ye=le.Ionic;if(!ye||!ye.config||"Object"===ye.config.constructor.name)return le.Ionic=le.Ionic||{},le.Ionic.config=Object.assign(Object.assign({},le.Ionic.config),W),le.Ionic.config},_e=!1},5030:(gt,Oe,g)=>{"use strict";g.d(Oe,{C:()=>re,a:()=>T,d:()=>B});var i=g(5861),r=g(8635);const T=function(){var O=(0,i.Z)(function*(j,H,oe,_e,W,le){var ye;if(j)return j.attachViewToDom(H,oe,W,_e);if(!(le||"string"==typeof oe||oe instanceof HTMLElement))throw new Error("framework delegate is missing");const ee="string"==typeof oe?null===(ye=H.ownerDocument)||void 0===ye?void 0:ye.createElement(oe):oe;return _e&&_e.forEach(ue=>ee.classList.add(ue)),W&&Object.assign(ee,W),H.appendChild(ee),yield new Promise(ue=>(0,r.c)(ee,ue)),ee});return function(H,oe,_e,W,le,ye){return O.apply(this,arguments)}}(),B=(O,j)=>{if(j){if(O)return O.removeViewFromDom(j.parentElement,j);j.remove()}return Promise.resolve()},re=()=>{let O,j;return{attachViewToDom:function(){var _e=(0,i.Z)(function*(W,le,ye={},ee=[]){var ue,ae;let Z;if(O=W,le){const he="string"==typeof le?null===(ue=O.ownerDocument)||void 0===ue?void 0:ue.createElement(le):le;ee.forEach(ze=>he.classList.add(ze)),Object.assign(he,ye),O.appendChild(he),Z=he,yield new Promise(ze=>(0,r.c)(he,ze))}else if(O.children.length>0&&("ION-MODAL"===O.tagName||"ION-POPOVER"===O.tagName)&&!(Z=O.children[0]).classList.contains("ion-delegate-host")){const ze=null===(ae=O.ownerDocument)||void 0===ae?void 0:ae.createElement("div");ze.classList.add("ion-delegate-host"),ee.forEach(we=>ze.classList.add(we)),ze.append(...O.children),O.appendChild(ze),Z=ze}const X=document.querySelector("ion-app")||document.body;return j=document.createComment("ionic teleport"),O.parentNode.insertBefore(j,O),X.appendChild(O),Z??O});return function(le,ye){return _e.apply(this,arguments)}}(),removeViewFromDom:()=>(O&&j&&(j.parentNode.insertBefore(O,j),j.remove()),Promise.resolve())}}},2889:(gt,Oe,g)=>{"use strict";g.d(Oe,{G:()=>re});class r{constructor(j,H,oe,_e,W){this.id=H,this.name=oe,this.disableScroll=W,this.priority=1e6*_e+H,this.ctrl=j}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const j=this.ctrl.capture(this.name,this.id,this.priority);return j&&this.disableScroll&&this.ctrl.disableScroll(this.id),j}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class T{constructor(j,H,oe,_e){this.id=H,this.disable=oe,this.disableScroll=_e,this.ctrl=j}block(){if(this.ctrl){if(this.disable)for(const j of this.disable)this.ctrl.disableGesture(j,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const j of this.disable)this.ctrl.enableGesture(j,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const B="backdrop-no-scroll",re=new class i{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(j){var H;return new r(this,this.newID(),j.name,null!==(H=j.priority)&&void 0!==H?H:0,!!j.disableScroll)}createBlocker(j={}){return new T(this,this.newID(),j.disable,!!j.disableScroll)}start(j,H,oe){return this.canStart(j)?(this.requestedStart.set(H,oe),!0):(this.requestedStart.delete(H),!1)}capture(j,H,oe){if(!this.start(j,H,oe))return!1;const _e=this.requestedStart;let W=-1e4;if(_e.forEach(le=>{W=Math.max(W,le)}),W===oe){this.capturedId=H,_e.clear();const le=new CustomEvent("ionGestureCaptured",{detail:{gestureName:j}});return document.dispatchEvent(le),!0}return _e.delete(H),!1}release(j){this.requestedStart.delete(j),this.capturedId===j&&(this.capturedId=void 0)}disableGesture(j,H){let oe=this.disabledGestures.get(j);void 0===oe&&(oe=new Set,this.disabledGestures.set(j,oe)),oe.add(H)}enableGesture(j,H){const oe=this.disabledGestures.get(j);void 0!==oe&&oe.delete(H)}disableScroll(j){this.disabledScroll.add(j),1===this.disabledScroll.size&&document.body.classList.add(B)}enableScroll(j){this.disabledScroll.delete(j),0===this.disabledScroll.size&&document.body.classList.remove(B)}canStart(j){return!(void 0!==this.capturedId||this.isDisabled(j))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(j){const H=this.disabledGestures.get(j);return!!(H&&H.size>0)}newID(){return this.gestureId++,this.gestureId}}},3006:(gt,Oe,g)=>{"use strict";g.r(Oe),g.d(Oe,{MENU_BACK_BUTTON_PRIORITY:()=>oe,OVERLAY_BACK_BUTTON_PRIORITY:()=>H,blockHardwareBackButton:()=>O,shouldUseCloseWatcher:()=>re,startHardwareBackButton:()=>j});var i=g(5861),r=g(2972),T=g(7943);g(2477);const re=()=>T.c.get("experimentalCloseWatcher",!1)&&void 0!==r.w&&"CloseWatcher"in r.w,O=()=>{document.addEventListener("backbutton",()=>{})},j=()=>{const _e=document;let W=!1;const le=()=>{if(W)return;let ye=0,ee=[];const ue=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(X,he){ee.push({priority:X,handler:he,id:ye++})}}});_e.dispatchEvent(ue);const ae=function(){var X=(0,i.Z)(function*(he){try{if(he?.handler){const ze=he.handler(Z);null!=ze&&(yield ze)}}catch(ze){console.error(ze)}});return function(ze){return X.apply(this,arguments)}}(),Z=()=>{if(ee.length>0){let X={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};ee.forEach(he=>{he.priority>=X.priority&&(X=he)}),W=!0,ee=ee.filter(he=>he.id!==X.id),ae(X).then(()=>W=!1)}};Z()};if(re()){let ye;const ee=()=>{ye?.destroy(),ye=new r.w.CloseWatcher,ye.onclose=()=>{le(),ee()}};ee()}else _e.addEventListener("backbutton",le)},H=100,oe=99},8635:(gt,Oe,g)=>{"use strict";g.d(Oe,{a:()=>H,b:()=>oe,c:()=>T,d:()=>ae,e:()=>ue,f:()=>ee,g:()=>_e,h:()=>ye,i:()=>j,j:()=>ke,k:()=>re,l:()=>Z,m:()=>B,n:()=>le,o:()=>X,p:()=>we,q:()=>Le,r:()=>W,s:()=>Pe,t:()=>i,u:()=>he,v:()=>ze});const i=(se,k=0)=>new Promise(pe=>{r(se,k,pe)}),r=(se,k=0,pe)=>{let be,Me;const je={passive:!0},$e=()=>{be&&be()},qe=lt=>{(void 0===lt||se===lt.target)&&($e(),pe(lt))};return se&&(se.addEventListener("webkitTransitionEnd",qe,je),se.addEventListener("transitionend",qe,je),Me=setTimeout(qe,k+500),be=()=>{void 0!==Me&&(clearTimeout(Me),Me=void 0),se.removeEventListener("webkitTransitionEnd",qe,je),se.removeEventListener("transitionend",qe,je)}),$e},T=(se,k)=>{se.componentOnReady?se.componentOnReady().then(pe=>k(pe)):W(()=>k(se))},B=se=>void 0!==se.componentOnReady,re=(se,k=[])=>{const pe={};return k.forEach(be=>{se.hasAttribute(be)&&(null!==se.getAttribute(be)&&(pe[be]=se.getAttribute(be)),se.removeAttribute(be))}),pe},O=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],j=(se,k)=>{let pe=O;return k&&k.length>0&&(pe=pe.filter(be=>!k.includes(be))),re(se,pe)},H=(se,k,pe,be)=>{var Me;if(typeof window<"u"){const ce=null===(Me=window?.Ionic)||void 0===Me?void 0:Me.config;if(ce){const $e=ce.get("_ael");if($e)return $e(se,k,pe,be);if(ce._ael)return ce._ael(se,k,pe,be)}}return se.addEventListener(k,pe,be)},oe=(se,k,pe,be)=>{var Me;if(typeof window<"u"){const ce=null===(Me=window?.Ionic)||void 0===Me?void 0:Me.config;if(ce){const $e=ce.get("_rel");if($e)return $e(se,k,pe,be);if(ce._rel)return ce._rel(se,k,pe,be)}}return se.removeEventListener(k,pe,be)},_e=(se,k=se)=>se.shadowRoot||k,W=se=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(se):"function"==typeof requestAnimationFrame?requestAnimationFrame(se):setTimeout(se),le=se=>!!se.shadowRoot&&!!se.attachShadow,ye=se=>{const k=se.closest("ion-item");return k?k.querySelector("ion-label"):null},ee=se=>{if(se.focus(),se.classList.contains("ion-focusable")){const k=se.closest("ion-app");k&&k.setFocus([se])}},ue=(se,k)=>{let pe;const be=se.getAttribute("aria-labelledby"),Me=se.id;let je=null!==be&&""!==be.trim()?be:k+"-lbl",ce=null!==be&&""!==be.trim()?document.getElementById(be):ye(se);return ce?(null===be&&(ce.id=je),pe=ce.textContent,ce.setAttribute("aria-hidden","true")):""!==Me.trim()&&(ce=document.querySelector(`label[for="${Me}"]`),ce&&(""!==ce.id?je=ce.id:ce.id=je=`${Me}-lbl`,pe=ce.textContent)),{label:ce,labelId:je,labelText:pe}},ae=(se,k,pe,be,Me)=>{if(se||le(k)){let je=k.querySelector("input.aux-input");je||(je=k.ownerDocument.createElement("input"),je.type="hidden",je.classList.add("aux-input"),k.appendChild(je)),je.disabled=Me,je.name=pe,je.value=be||""}},Z=(se,k,pe)=>Math.max(se,Math.min(k,pe)),X=(se,k)=>{if(!se){const pe="ASSERT: "+k;throw console.error(pe),new Error(pe)}},he=se=>se.timeStamp||Date.now(),ze=se=>{if(se){const k=se.changedTouches;if(k&&k.length>0){const pe=k[0];return{x:pe.clientX,y:pe.clientY}}if(void 0!==se.pageX)return{x:se.pageX,y:se.pageY}}return{x:0,y:0}},we=se=>{const k="rtl"===document.dir;switch(se){case"start":return k;case"end":return!k;default:throw new Error(`"${se}" is not a valid value for [side]. Use "start" or "end" instead.`)}},ke=(se,k)=>{const pe=se._original||se;return{_original:se,emit:Le(pe.emit.bind(pe),k)}},Le=(se,k=0)=>{let pe;return(...be)=>{clearTimeout(pe),pe=setTimeout(se,k,...be)}},Pe=(se,k)=>{if(se??(se={}),k??(k={}),se===k)return!0;const pe=Object.keys(se);if(pe.length!==Object.keys(k).length)return!1;for(const be of pe)if(!(be in k)||se[be]!==k[be])return!1;return!0}},5067:(gt,Oe,g)=>{"use strict";g.r(Oe),g.d(Oe,{GESTURE_CONTROLLER:()=>i.G,createGesture:()=>oe});var i=g(2889);const r=(ye,ee,ue,ae)=>{const Z=T(ye)?{capture:!!ae.capture,passive:!!ae.passive}:!!ae.capture;let X,he;return ye.__zone_symbol__addEventListener?(X="__zone_symbol__addEventListener",he="__zone_symbol__removeEventListener"):(X="addEventListener",he="removeEventListener"),ye[X](ee,ue,Z),()=>{ye[he](ee,ue,Z)}},T=ye=>{if(void 0===B)try{const ee=Object.defineProperty({},"passive",{get:()=>{B=!0}});ye.addEventListener("optsTest",()=>{},ee)}catch{B=!1}return!!B};let B;const j=ye=>ye instanceof Document?ye:ye.ownerDocument,oe=ye=>{let ee=!1,ue=!1,ae=!0,Z=!1;const X=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},ye),he=X.canStart,ze=X.onWillStart,we=X.onStart,ke=X.onEnd,Le=X.notCaptured,Pe=X.onMove,se=X.threshold,k=X.passive,pe=X.blurOnStart,be={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Me=((ye,ee,ue)=>{const ae=ue*(Math.PI/180),Z="x"===ye,X=Math.cos(ae),he=ee*ee;let ze=0,we=0,ke=!1,Le=0;return{start(Pe,se){ze=Pe,we=se,Le=0,ke=!0},detect(Pe,se){if(!ke)return!1;const k=Pe-ze,pe=se-we,be=k*k+pe*pe;if(beX?1:je<-X?-1:0,ke=!1,!0},isGesture:()=>0!==Le,getDirection:()=>Le}})(X.direction,X.threshold,X.maxAngle),je=i.G.createGesture({name:ye.gestureName,priority:ye.gesturePriority,disableScroll:ye.disableScroll}),qe=()=>{ee&&(Z=!1,Pe&&Pe(be))},lt=()=>!!je.capture()&&(ee=!0,ae=!1,be.startX=be.currentX,be.startY=be.currentY,be.startTime=be.currentTime,ze?ze(be).then(De):De(),!0),De=()=>{pe&&(()=>{if(typeof document<"u"){const z=document.activeElement;z?.blur&&z.blur()}})(),we&&we(be),ae=!0},N=()=>{ee=!1,ue=!1,Z=!1,ae=!0,je.release()},P=z=>{const Be=ee,Ue=ae;if(N(),Ue){if(_e(be,z),Be)return void(ke&&ke(be));Le&&Le(be)}},V=((ye,ee,ue,ae,Z)=>{let X,he,ze,we,ke,Le,Pe,se=0;const k=ve=>{se=Date.now()+2e3,ee(ve)&&(!he&&ue&&(he=r(ye,"touchmove",ue,Z)),ze||(ze=r(ve.target,"touchend",be,Z)),we||(we=r(ve.target,"touchcancel",be,Z)))},pe=ve=>{se>Date.now()||ee(ve)&&(!Le&&ue&&(Le=r(j(ye),"mousemove",ue,Z)),Pe||(Pe=r(j(ye),"mouseup",Me,Z)))},be=ve=>{je(),ae&&ae(ve)},Me=ve=>{ce(),ae&&ae(ve)},je=()=>{he&&he(),ze&&ze(),we&&we(),he=ze=we=void 0},ce=()=>{Le&&Le(),Pe&&Pe(),Le=Pe=void 0},$e=()=>{je(),ce()},qe=(ve=!0)=>{ve?(X||(X=r(ye,"touchstart",k,Z)),ke||(ke=r(ye,"mousedown",pe,Z))):(X&&X(),ke&&ke(),X=ke=void 0,$e())};return{enable:qe,stop:$e,destroy:()=>{qe(!1),ae=ue=ee=void 0}}})(X.el,z=>{const Be=le(z);return!(ue||!ae||(W(z,be),be.startX=be.currentX,be.startY=be.currentY,be.startTime=be.currentTime=Be,be.velocityX=be.velocityY=be.deltaX=be.deltaY=0,be.event=z,he&&!1===he(be))||(je.release(),!je.start()))&&(ue=!0,0===se?lt():(Me.start(be.startX,be.startY),!0))},z=>{ee?!Z&&ae&&(Z=!0,_e(be,z),requestAnimationFrame(qe)):(_e(be,z),Me.detect(be.currentX,be.currentY)&&(!Me.isGesture()||!lt())&&K())},P,{capture:!1,passive:k}),K=()=>{N(),V.stop(),Le&&Le(be)};return{enable(z=!0){z||(ee&&P(void 0),N()),V.enable(z)},destroy(){je.destroy(),V.destroy()}}},_e=(ye,ee)=>{if(!ee)return;const ue=ye.currentX,ae=ye.currentY,Z=ye.currentTime;W(ee,ye);const X=ye.currentX,he=ye.currentY,we=(ye.currentTime=le(ee))-Z;if(we>0&&we<100){const Le=(he-ae)/we;ye.velocityX=(X-ue)/we*.7+.3*ye.velocityX,ye.velocityY=.7*Le+.3*ye.velocityY}ye.deltaX=X-ye.startX,ye.deltaY=he-ye.startY,ye.event=ee},W=(ye,ee)=>{let ue=0,ae=0;if(ye){const Z=ye.changedTouches;if(Z&&Z.length>0){const X=Z[0];ue=X.clientX,ae=X.clientY}else void 0!==ye.pageX&&(ue=ye.pageX,ae=ye.pageY)}ee.currentX=ue,ee.currentY=ae},le=ye=>ye.timeStamp||Date.now()},6523:(gt,Oe,g)=>{"use strict";g.d(Oe,{m:()=>ye});var i=g(5861),r=g(2972),T=g(3006),B=g(8909),re=g(8635),O=g(7943),j=g(4963);const H=ee=>(0,j.c)().duration(ee?400:300),oe=ee=>{let ue,ae;const Z=ee.width+8,X=(0,j.c)(),he=(0,j.c)();ee.isEndSide?(ue=Z+"px",ae="0px"):(ue=-Z+"px",ae="0px"),X.addElement(ee.menuInnerEl).fromTo("transform",`translateX(${ue})`,`translateX(${ae})`);const we="ios"===(0,O.b)(ee),ke=we?.2:.25;return he.addElement(ee.backdropEl).fromTo("opacity",.01,ke),H(we).addAnimation([X,he])},_e=ee=>{let ue,ae;const Z=(0,O.b)(ee),X=ee.width;ee.isEndSide?(ue=-X+"px",ae=X+"px"):(ue=X+"px",ae=-X+"px");const he=(0,j.c)().addElement(ee.menuInnerEl).fromTo("transform",`translateX(${ae})`,"translateX(0px)"),ze=(0,j.c)().addElement(ee.contentEl).fromTo("transform","translateX(0px)",`translateX(${ue})`),we=(0,j.c)().addElement(ee.backdropEl).fromTo("opacity",.01,.32);return H("ios"===Z).addAnimation([he,ze,we])},W=ee=>{const ue=(0,O.b)(ee),ae=ee.width*(ee.isEndSide?-1:1)+"px",Z=(0,j.c)().addElement(ee.contentEl).fromTo("transform","translateX(0px)",`translateX(${ae})`);return H("ios"===ue).addAnimation(Z)},ye=(()=>{const ee=new Map,ue=[],ae=function(){var N=(0,i.Z)(function*(P){const V=yield Le(P,!0);return!!V&&V.open()});return function(V){return N.apply(this,arguments)}}(),Z=function(){var N=(0,i.Z)(function*(P){const V=yield void 0!==P?Le(P,!0):Pe();return void 0!==V&&V.close()});return function(V){return N.apply(this,arguments)}}(),X=function(){var N=(0,i.Z)(function*(P){const V=yield Le(P,!0);return!!V&&V.toggle()});return function(V){return N.apply(this,arguments)}}(),he=function(){var N=(0,i.Z)(function*(P,V){const K=yield Le(V);return K&&(K.disabled=!P),K});return function(V,K){return N.apply(this,arguments)}}(),ze=function(){var N=(0,i.Z)(function*(P,V){const K=yield Le(V);return K&&(K.swipeGesture=P),K});return function(V,K){return N.apply(this,arguments)}}(),we=function(){var N=(0,i.Z)(function*(P){if(null!=P){const V=yield Le(P);return void 0!==V&&V.isOpen()}return void 0!==(yield Pe())});return function(V){return N.apply(this,arguments)}}(),ke=function(){var N=(0,i.Z)(function*(P){const V=yield Le(P);return!!V&&!V.disabled});return function(V){return N.apply(this,arguments)}}(),Le=function(){var N=(0,i.Z)(function*(P,V=!1){if(yield De(),"start"===P||"end"===P){const z=ue.filter(Ue=>Ue.side===P&&!Ue.disabled);if(z.length>=1)return z.length>1&&V&&(0,B.p)(`menuController queried for a menu on the "${P}" side, but ${z.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,z.map(Ue=>Ue.el)),z[0].el;const Be=ue.filter(Ue=>Ue.side===P);if(Be.length>=1)return Be.length>1&&V&&(0,B.p)(`menuController queried for a menu on the "${P}" side, but ${Be.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Be.map(Ue=>Ue.el)),Be[0].el}else if(null!=P)return ve(z=>z.menuId===P);return ve(z=>!z.disabled)||(ue.length>0?ue[0].el:void 0)});return function(V){return N.apply(this,arguments)}}(),Pe=function(){var N=(0,i.Z)(function*(){return yield De(),$e()});return function(){return N.apply(this,arguments)}}(),se=function(){var N=(0,i.Z)(function*(){return yield De(),qe()});return function(){return N.apply(this,arguments)}}(),k=function(){var N=(0,i.Z)(function*(){return yield De(),lt()});return function(){return N.apply(this,arguments)}}(),pe=(N,P)=>{ee.set(N,P)},je=function(){var N=(0,i.Z)(function*(P,V,K){if(lt())return!1;if(V){const z=yield Pe();z&&P.el!==z&&(yield z.setOpen(!1,!1))}return P._setOpen(V,K)});return function(V,K,z){return N.apply(this,arguments)}}(),$e=()=>ve(N=>N._isOpen),qe=()=>ue.map(N=>N.el),lt=()=>ue.some(N=>N.isAnimating),ve=N=>{const P=ue.find(N);if(void 0!==P)return P.el},De=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(N=>new Promise(P=>(0,re.c)(N,P))));return pe("reveal",W),pe("push",_e),pe("overlay",oe),null==r.d||r.d.addEventListener("ionBackButton",N=>{const P=$e();P&&N.detail.register(T.MENU_BACK_BUTTON_PRIORITY,()=>P.close())}),{registerAnimation:pe,get:Le,getMenus:se,getOpen:Pe,isEnabled:ke,swipeGesture:ze,isAnimating:k,isOpen:we,enable:he,toggle:X,close:Z,open:ae,_getOpenSync:$e,_createAnimation:(N,P)=>{const V=ee.get(N);if(!V)throw new Error("animation not registered");return V(P)},_register:N=>{ue.indexOf(N)<0&&ue.push(N)},_unregister:N=>{const P=ue.indexOf(N);P>-1&&ue.splice(P,1)},_setOpen:je}})()},8909:(gt,Oe,g)=>{"use strict";g.d(Oe,{a:()=>r,b:()=>T,p:()=>i});const i=(B,...re)=>console.warn(`[Ionic Warning]: ${B}`,...re),r=(B,...re)=>console.error(`[Ionic Error]: ${B}`,...re),T=(B,...re)=>console.error(`<${B.tagName.toLowerCase()}> must be used inside ${re.join(" or ")}.`)},2477:(gt,Oe,g)=>{"use strict";g.d(Oe,{B:()=>le,H:()=>lt,a:()=>ge,b:()=>yr,c:()=>Ue,d:()=>Lt,e:()=>xe,f:()=>kt,g:()=>Qe,h:()=>$e,i:()=>Dn,j:()=>ye,r:()=>Zn,w:()=>Ze});var i=g(5861);let B,re,O,j=!1,H=!1,oe=!1,_e=!1,W=!1;const le={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},ye=L=>{const q=new URL(L,Gt.$resourcesUrl$);return q.origin!==Ot.location.origin?q.href:q.pathname},ze="s-id",we="sty-id",Pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",se="http://www.w3.org/1999/xlink",k={},je=L=>"object"==(L=typeof L)||"function"===L;function ce(L){var q,Te,Re;return null!==(Re=null===(Te=null===(q=L.head)||void 0===q?void 0:q.querySelector('meta[name="csp-nonce"]'))||void 0===Te?void 0:Te.getAttribute("content"))&&void 0!==Re?Re:void 0}const $e=(L,q,...Te)=>{let Re=null,Ce=null,Ye=null,mt=!1,ht=!1;const ut=[],bt=Nt=>{for(let Pt=0;PtNt[Pt]).join(" "))}}if("function"==typeof L)return L(null===q?{}:q,ut,De);const Mt=qe(L,null);return Mt.$attrs$=q,ut.length>0&&(Mt.$children$=ut),Mt.$key$=Ce,Mt.$name$=Ye,Mt},qe=(L,q)=>({$flags$:0,$tag$:L,$text$:q,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),lt={},De={forEach:(L,q)=>L.map(N).forEach(q),map:(L,q)=>L.map(N).map(q).map(P)},N=L=>({vattrs:L.$attrs$,vchildren:L.$children$,vkey:L.$key$,vname:L.$name$,vtag:L.$tag$,vtext:L.$text$}),P=L=>{if("function"==typeof L.vtag){const Te=Object.assign({},L.vattrs);return L.vkey&&(Te.key=L.vkey),L.vname&&(Te.name=L.vname),$e(L.vtag,Te,...L.vchildren||[])}const q=qe(L.vtag,L.vtext);return q.$attrs$=L.vattrs,q.$children$=L.vchildren,q.$key$=L.vkey,q.$name$=L.vname,q},K=(L,q,Te,Re,Ce,Ye,mt)=>{let ht,ut,bt,Mt;if(1===Ye.nodeType){for(ht=Ye.getAttribute("c-id"),ht&&(ut=ht.split("."),(ut[0]===mt||"0"===ut[0])&&(bt={$flags$:0,$hostId$:ut[0],$nodeId$:ut[1],$depth$:ut[2],$index$:ut[3],$tag$:Ye.tagName.toLowerCase(),$elm$:Ye,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},q.push(bt),Ye.removeAttribute("c-id"),L.$children$||(L.$children$=[]),L.$children$[bt.$index$]=bt,L=bt,Re&&"0"===bt.$depth$&&(Re[bt.$index$]=bt.$elm$))),Mt=Ye.childNodes.length-1;Mt>=0;Mt--)K(L,q,Te,Re,Ce,Ye.childNodes[Mt],mt);if(Ye.shadowRoot)for(Mt=Ye.shadowRoot.childNodes.length-1;Mt>=0;Mt--)K(L,q,Te,Re,Ce,Ye.shadowRoot.childNodes[Mt],mt)}else if(8===Ye.nodeType)ut=Ye.nodeValue.split("."),(ut[1]===mt||"0"===ut[1])&&(ht=ut[0],bt={$flags$:0,$hostId$:ut[1],$nodeId$:ut[2],$depth$:ut[3],$index$:ut[4],$elm$:Ye,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===ht?(bt.$elm$=Ye.nextSibling,bt.$elm$&&3===bt.$elm$.nodeType&&(bt.$text$=bt.$elm$.textContent,q.push(bt),Ye.remove(),L.$children$||(L.$children$=[]),L.$children$[bt.$index$]=bt,Re&&"0"===bt.$depth$&&(Re[bt.$index$]=bt.$elm$))):bt.$hostId$===mt&&("s"===ht?(bt.$tag$="slot",Ye["s-sn"]=ut[5]?bt.$name$=ut[5]:"",Ye["s-sr"]=!0,Re&&(bt.$elm$=Rt.createElement(bt.$tag$),bt.$name$&&bt.$elm$.setAttribute("name",bt.$name$),Ye.parentNode.insertBefore(bt.$elm$,Ye),Ye.remove(),"0"===bt.$depth$&&(Re[bt.$index$]=bt.$elm$)),Te.push(bt),L.$children$||(L.$children$=[]),L.$children$[bt.$index$]=bt):"r"===ht&&(Re?Ye.remove():(Ce["s-cr"]=Ye,Ye["s-cn"]=!0))));else if(L&&"style"===L.$tag$){const Nt=qe(null,Ye.textContent);Nt.$elm$=Ye,Nt.$index$="0",L.$children$=[Nt]}},z=(L,q)=>{if(1===L.nodeType){let Te=0;for(;TeKn.push(L),Qe=L=>Xt(L).$modeName$,kt=L=>Xt(L).$hostElement$,Lt=(L,q,Te)=>{const Re=kt(L);return{emit:Ce=>Ht(Re,q,{bubbles:!!(4&Te),composed:!!(2&Te),cancelable:!!(1&Te),detail:Ce})}},Ht=(L,q,Te)=>{const Re=Gt.ce(q,Te);return L.dispatchEvent(Re),Re},$t=new WeakMap,Yt=(L,q,Te)=>{let Re=$n.get(L);G&&Te?(Re=Re||new CSSStyleSheet,"string"==typeof Re?Re=q:Re.replaceSync(q)):Re=q,$n.set(L,Re)},Ke=(L,q,Te)=>{var Re;const Ce=rt(q,Te),Ye=$n.get(Ce);if(L=11===L.nodeType?L:Rt,Ye)if("string"==typeof Ye){let ht,mt=$t.get(L=L.head||L);if(mt||$t.set(L,mt=new Set),!mt.has(Ce)){if(L.host&&(ht=L.querySelector(`[${we}="${Ce}"]`)))ht.innerHTML=Ye;else{ht=Rt.createElement("style"),ht.innerHTML=Ye;const ut=null!==(Re=Gt.$nonce$)&&void 0!==Re?Re:ce(Rt);null!=ut&&ht.setAttribute("nonce",ut),L.insertBefore(ht,L.querySelector("link"))}4&q.$flags$&&(ht.innerHTML+=Pe),mt&&mt.add(Ce)}}else L.adoptedStyleSheets.includes(Ye)||(L.adoptedStyleSheets=[...L.adoptedStyleSheets,Ye]);return Ce},rt=(L,q)=>"sc-"+(q&&32&L.$flags$?L.$tagName$+"-"+q:L.$tagName$),Et=L=>L.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ct=(L,q,Te,Re,Ce,Ye)=>{if(Te!==Re){let mt=Bn(L,q),ht=q.toLowerCase();if("class"===q){const ut=L.classList,bt=Jt(Te),Mt=Jt(Re);ut.remove(...bt.filter(Nt=>Nt&&!Mt.includes(Nt))),ut.add(...Mt.filter(Nt=>Nt&&!bt.includes(Nt)))}else if("style"===q){for(const ut in Te)(!Re||null==Re[ut])&&(ut.includes("-")?L.style.removeProperty(ut):L.style[ut]="");for(const ut in Re)(!Te||Re[ut]!==Te[ut])&&(ut.includes("-")?L.style.setProperty(ut,Re[ut]):L.style[ut]=Re[ut])}else if("key"!==q)if("ref"===q)Re&&Re(L);else if(mt||"o"!==q[0]||"n"!==q[1]){const ut=je(Re);if((mt||ut&&null!==Re)&&!Ce)try{if(L.tagName.includes("-"))L[q]=Re;else{const Mt=Re??"";"list"===q?mt=!1:(null==Te||L[q]!=Mt)&&(L[q]=Mt)}}catch{}let bt=!1;ht!==(ht=ht.replace(/^xlink\:?/,""))&&(q=ht,bt=!0),null==Re||!1===Re?(!1!==Re||""===L.getAttribute(q))&&(bt?L.removeAttributeNS(se,q):L.removeAttribute(q)):(!mt||4&Ye||Ce)&&!ut&&(Re=!0===Re?"":Re,bt?L.setAttributeNS(se,q,Re):L.setAttribute(q,Re))}else if(q="-"===q[2]?q.slice(3):Bn(Ot,ht)?ht.slice(2):ht[2]+q.slice(3),Te||Re){const ut=q.endsWith(tn);q=q.replace(en,""),Te&&Gt.rel(L,q,Te,ut),Re&&Gt.ael(L,q,Re,ut)}}},on=/\s/,Jt=L=>L?L.split(on):[],tn="Capture",en=new RegExp(tn+"$"),On=(L,q,Te,Re)=>{const Ce=11===q.$elm$.nodeType&&q.$elm$.host?q.$elm$.host:q.$elm$,Ye=L&&L.$attrs$||k,mt=q.$attrs$||k;for(Re of sn(Object.keys(Ye)))Re in mt||Ct(Ce,Re,Ye[Re],void 0,Te,q.$flags$);for(Re of sn(Object.keys(mt)))Ct(Ce,Re,Ye[Re],mt[Re],Te,q.$flags$)};function sn(L){return L.includes("ref")?[...L.filter(q=>"ref"!==q),"ref"]:L}const mn=(L,q,Te,Re)=>{var Ce;const Ye=q.$children$[Te];let ht,ut,bt,mt=0;if(j||(oe=!0,"slot"===Ye.$tag$&&(B&&Re.classList.add(B+"-s"),Ye.$flags$|=Ye.$children$?2:1)),null!==Ye.$text$)ht=Ye.$elm$=Rt.createTextNode(Ye.$text$);else if(1&Ye.$flags$)ht=Ye.$elm$=Rt.createTextNode("");else{if(_e||(_e="svg"===Ye.$tag$),ht=Ye.$elm$=Rt.createElementNS(_e?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Ye.$flags$?"slot-fb":Ye.$tag$),_e&&"foreignObject"===Ye.$tag$&&(_e=!1),On(null,Ye,_e),(L=>null!=L)(B)&&ht["s-si"]!==B&&ht.classList.add(ht["s-si"]=B),Ye.$children$)for(mt=0;mt{Gt.$flags$|=1;const Te=Array.from(L.childNodes);for(let Re=Te.length-1;Re>=0;Re--){const Ce=Te[Re];Ce["s-hn"]!==O&&Ce["s-ol"]&&(Nn(Ce).insertBefore(Ce,or(Ce)),Ce["s-ol"].remove(),Ce["s-ol"]=void 0,Ce["s-sh"]=void 0,oe=!0),q&&Bt(Ce,q)}Gt.$flags$&=-2},wt=(L,q,Te,Re,Ce,Ye)=>{let ht,mt=L["s-cr"]&&L["s-cr"].parentNode||L;for(mt.shadowRoot&&mt.tagName===O&&(mt=mt.shadowRoot);Ce<=Ye;++Ce)Re[Ce]&&(ht=mn(null,Te,Ce,L),ht&&(Re[Ce].$elm$=ht,mt.insertBefore(ht,or(q))))},ar=(L,q,Te)=>{for(let Re=q;Re<=Te;++Re){const Ce=L[Re];if(Ce){const Ye=Ce.$elm$;pn(Ce),Ye&&(H=!0,Ye["s-ol"]?Ye["s-ol"].remove():Bt(Ye,!0),Ye.remove())}}},bn=(L,q,Te=!1)=>L.$tag$===q.$tag$&&("slot"===L.$tag$?L.$name$===q.$name$:!!Te||L.$key$===q.$key$),or=L=>L&&L["s-ol"]||L,Nn=L=>(L["s-ol"]?L["s-ol"]:L).parentNode,er=(L,q,Te=!1)=>{const Re=q.$elm$=L.$elm$,Ce=L.$children$,Ye=q.$children$,mt=q.$tag$,ht=q.$text$;let ut;null===ht?(_e="svg"===mt||"foreignObject"!==mt&&_e,"slot"===mt&&!j||On(L,q,_e),null!==Ce&&null!==Ye?((L,q,Te,Re,Ce=!1)=>{let h,te,Ye=0,mt=0,ht=0,ut=0,bt=q.length-1,Mt=q[0],Nt=q[bt],Pt=Re.length-1,dn=Re[0],an=Re[Pt];for(;Ye<=bt&&mt<=Pt;)if(null==Mt)Mt=q[++Ye];else if(null==Nt)Nt=q[--bt];else if(null==dn)dn=Re[++mt];else if(null==an)an=Re[--Pt];else if(bn(Mt,dn,Ce))er(Mt,dn,Ce),Mt=q[++Ye],dn=Re[++mt];else if(bn(Nt,an,Ce))er(Nt,an,Ce),Nt=q[--bt],an=Re[--Pt];else if(bn(Mt,an,Ce))("slot"===Mt.$tag$||"slot"===an.$tag$)&&Bt(Mt.$elm$.parentNode,!1),er(Mt,an,Ce),L.insertBefore(Mt.$elm$,Nt.$elm$.nextSibling),Mt=q[++Ye],an=Re[--Pt];else if(bn(Nt,dn,Ce))("slot"===Mt.$tag$||"slot"===an.$tag$)&&Bt(Nt.$elm$.parentNode,!1),er(Nt,dn,Ce),L.insertBefore(Nt.$elm$,Mt.$elm$),Nt=q[--bt],dn=Re[++mt];else{for(ht=-1,ut=Ye;ut<=bt;++ut)if(q[ut]&&null!==q[ut].$key$&&q[ut].$key$===dn.$key$){ht=ut;break}ht>=0?(te=q[ht],te.$tag$!==dn.$tag$?h=mn(q&&q[mt],Te,ht,L):(er(te,dn,Ce),q[ht]=void 0,h=te.$elm$),dn=Re[++mt]):(h=mn(q&&q[mt],Te,mt,L),dn=Re[++mt]),h&&Nn(Mt.$elm$).insertBefore(h,or(Mt.$elm$))}Ye>bt?wt(L,null==Re[Pt+1]?null:Re[Pt+1].$elm$,Te,Re,mt,Pt):mt>Pt&&ar(q,Ye,bt)})(Re,Ce,q,Ye,Te):null!==Ye?(null!==L.$text$&&(Re.textContent=""),wt(Re,null,q,Ye,0,Ye.length-1)):null!==Ce&&ar(Ce,0,Ce.length-1),_e&&"svg"===mt&&(_e=!1)):(ut=Re["s-cr"])?ut.parentNode.textContent=ht:L.$text$!==ht&&(Re.data=ht)},xn=L=>{const q=L.childNodes;for(const Te of q)if(1===Te.nodeType){if(Te["s-sr"]){const Re=Te["s-sn"];Te.hidden=!1;for(const Ce of q)if(Ce!==Te)if(Ce["s-hn"]!==Te["s-hn"]||""!==Re){if(1===Ce.nodeType&&(Re===Ce.getAttribute("slot")||Re===Ce["s-sn"])){Te.hidden=!0;break}}else if(1===Ce.nodeType||3===Ce.nodeType&&""!==Ce.textContent.trim()){Te.hidden=!0;break}}xn(Te)}},Yn=[],nn=L=>{let q,Te,Re;for(const Ce of L.childNodes){if(Ce["s-sr"]&&(q=Ce["s-cr"])&&q.parentNode){Te=q.parentNode.childNodes;const Ye=Ce["s-sn"];for(Re=Te.length-1;Re>=0;Re--)if(q=Te[Re],!q["s-cn"]&&!q["s-nr"]&&q["s-hn"]!==Ce["s-hn"])if(mr(q,Ye)){let mt=Yn.find(ht=>ht.$nodeToRelocate$===q);H=!0,q["s-sn"]=q["s-sn"]||Ye,mt?(mt.$nodeToRelocate$["s-sh"]=Ce["s-hn"],mt.$slotRefNode$=Ce):(q["s-sh"]=Ce["s-hn"],Yn.push({$slotRefNode$:Ce,$nodeToRelocate$:q})),q["s-sr"]&&Yn.map(ht=>{mr(ht.$nodeToRelocate$,q["s-sn"])&&(mt=Yn.find(ut=>ut.$nodeToRelocate$===q),mt&&!ht.$slotRefNode$&&(ht.$slotRefNode$=mt.$slotRefNode$))})}else Yn.some(mt=>mt.$nodeToRelocate$===q)||Yn.push({$nodeToRelocate$:q})}1===Ce.nodeType&&nn(Ce)}},mr=(L,q)=>1===L.nodeType?null===L.getAttribute("slot")&&""===q||L.getAttribute("slot")===q:L["s-sn"]===q||""===q,pn=L=>{L.$attrs$&&L.$attrs$.ref&&L.$attrs$.ref(null),L.$children$&&L.$children$.map(pn)},ir=(L,q)=>{q&&!L.$onRenderResolve$&&q["s-p"]&&q["s-p"].push(new Promise(Te=>L.$onRenderResolve$=Te))},rr=(L,q)=>{if(L.$flags$|=16,!(4&L.$flags$))return ir(L,L.$ancestorComponent$),Ze(()=>Dr(L,q));L.$flags$|=512},Dr=(L,q)=>{const Re=L.$lazyInstance$;let Ce;return q&&(L.$flags$|=256,L.$queuedListeners$&&(L.$queuedListeners$.map(([Ye,mt])=>cn(Re,Ye,mt)),L.$queuedListeners$=void 0),Ce=cn(Re,"componentWillLoad")),Ce=Gn(Ce,()=>cn(Re,"componentWillRender")),Gn(Ce,()=>vr(L,Re,q))},Gn=(L,q)=>Er(L)?L.then(q):q(),Er=L=>L instanceof Promise||L&&L.then&&"function"==typeof L.then,vr=function(){var L=(0,i.Z)(function*(q,Te,Re){var Ce;const Ye=q.$hostElement$,ht=Ye["s-rc"];Re&&(L=>{const q=L.$cmpMeta$,Te=L.$hostElement$,Re=q.$flags$,Ye=Ke(Te.shadowRoot?Te.shadowRoot:Te.getRootNode(),q,L.$modeName$);10&Re&&(Te["s-sc"]=Ye,Te.classList.add(Ye+"-h"),2&Re&&Te.classList.add(Ye+"-s"))})(q);Ir(q,Te,Ye,Re),ht&&(ht.map(bt=>bt()),Ye["s-rc"]=void 0);{const bt=null!==(Ce=Ye["s-p"])&&void 0!==Ce?Ce:[],Mt=()=>Fn(q);0===bt.length?Mt():(Promise.all(bt).then(Mt),q.$flags$|=4,bt.length=0)}});return function(Te,Re,Ce){return L.apply(this,arguments)}}(),Ir=(L,q,Te,Re)=>{try{q=q.render&&q.render(),L.$flags$&=-17,L.$flags$|=2,((L,q,Te=!1)=>{var Re,Ce,Ye,mt;const ht=L.$hostElement$,ut=L.$cmpMeta$,bt=L.$vnode$||qe(null,null),Mt=(L=>L&&L.$tag$===lt)(q)?q:$e(null,null,q);if(O=ht.tagName,ut.$attrsToReflect$&&(Mt.$attrs$=Mt.$attrs$||{},ut.$attrsToReflect$.map(([Nt,Pt])=>Mt.$attrs$[Pt]=ht[Nt])),Te&&Mt.$attrs$)for(const Nt of Object.keys(Mt.$attrs$))ht.hasAttribute(Nt)&&!["key","ref","style","class"].includes(Nt)&&(Mt.$attrs$[Nt]=ht[Nt]);if(Mt.$tag$=null,Mt.$flags$|=4,L.$vnode$=Mt,Mt.$elm$=bt.$elm$=ht.shadowRoot||ht,B=ht["s-sc"],j=0!=(1&ut.$flags$),re=ht["s-cr"],H=!1,er(bt,Mt,Te),Gt.$flags$|=1,oe){nn(Mt.$elm$);for(const Nt of Yn){const Pt=Nt.$nodeToRelocate$;if(!Pt["s-ol"]){const dn=Rt.createTextNode("");dn["s-nr"]=Pt,Pt.parentNode.insertBefore(Pt["s-ol"]=dn,Pt)}}for(const Nt of Yn){const Pt=Nt.$nodeToRelocate$,dn=Nt.$slotRefNode$;if(dn){const an=dn.parentNode;let h=dn.nextSibling;{let te=null===(Re=Pt["s-ol"])||void 0===Re?void 0:Re.previousSibling;for(;te;){let C=null!==(Ce=te["s-nr"])&&void 0!==Ce?Ce:null;if(C&&C["s-sn"]===Pt["s-sn"]&&an===C.parentNode){for(C=C.nextSibling;C===Pt||C?.["s-sr"];)C=C?.nextSibling;if(!C||!C["s-nr"]){h=C;break}}te=te.previousSibling}}(!h&&an!==Pt.parentNode||Pt.nextSibling!==h)&&Pt!==h&&(!Pt["s-hn"]&&Pt["s-ol"]&&(Pt["s-hn"]=Pt["s-ol"].parentNode.nodeName),an.insertBefore(Pt,h),1===Pt.nodeType&&(Pt.hidden=null!==(Ye=Pt["s-ih"])&&void 0!==Ye&&Ye)),Pt&&"function"==typeof dn["s-rf"]&&dn["s-rf"](Pt)}else 1===Pt.nodeType&&(Te&&(Pt["s-ih"]=null!==(mt=Pt.hidden)&&void 0!==mt&&mt),Pt.hidden=!0)}}H&&xn(Mt.$elm$),Gt.$flags$&=-2,Yn.length=0,re=void 0})(L,q,Re)}catch(Ce){Tn(Ce,L.$hostElement$)}return null},Fn=L=>{const Te=L.$hostElement$,Ce=L.$lazyInstance$,Ye=L.$ancestorComponent$;cn(Ce,"componentDidRender"),64&L.$flags$?cn(Ce,"componentDidUpdate"):(L.$flags$|=64,rn(Te),cn(Ce,"componentDidLoad"),L.$onReadyResolve$(Te),Ye||Pn()),L.$onInstanceResolve$(Te),L.$onRenderResolve$&&(L.$onRenderResolve$(),L.$onRenderResolve$=void 0),512&L.$flags$&&vt(()=>rr(L,!1)),L.$flags$&=-517},Dn=L=>{{const q=Xt(L),Te=q.$hostElement$.isConnected;return Te&&2==(18&q.$flags$)&&rr(q,!1),Te}},Pn=L=>{rn(Rt.documentElement),vt(()=>Ht(Ot,"appload",{detail:{namespace:"ionic"}}))},cn=(L,q,Te)=>{if(L&&L[q])try{return L[q](Te)}catch(Re){Tn(Re)}},rn=L=>L.classList.add("hydrated"),Ee=(L,q,Te)=>{var Re;const Ce=L.prototype;if(q.$members$){L.watchers&&(q.$watchers$=L.watchers);const Ye=Object.entries(q.$members$);if(Ye.map(([mt,[ht]])=>{31&ht||2&Te&&32&ht?Object.defineProperty(Ce,mt,{get(){return((L,q)=>Xt(this).$instanceValues$.get(q))(0,mt)},set(ut){((L,q,Te,Re)=>{const Ce=Xt(L),Ye=Ce.$hostElement$,mt=Ce.$instanceValues$.get(q),ht=Ce.$flags$,ut=Ce.$lazyInstance$;Te=((L,q)=>null==L||je(L)?L:4&q?"false"!==L&&(""===L||!!L):2&q?parseFloat(L):1&q?String(L):L)(Te,Re.$members$[q][0]);const bt=Number.isNaN(mt)&&Number.isNaN(Te);if((!(8&ht)||void 0===mt)&&Te!==mt&&!bt&&(Ce.$instanceValues$.set(q,Te),ut)){if(Re.$watchers$&&128&ht){const Nt=Re.$watchers$[q];Nt&&Nt.map(Pt=>{try{ut[Pt](Te,mt,q)}catch(dn){Tn(dn,Ye)}})}2==(18&ht)&&rr(Ce,!1)}})(this,mt,ut,q)},configurable:!0,enumerable:!0}):1&Te&&64&ht&&Object.defineProperty(Ce,mt,{value(...ut){var bt;const Mt=Xt(this);return null===(bt=Mt?.$onInstancePromise$)||void 0===bt?void 0:bt.then(()=>{var Nt;return null===(Nt=Mt.$lazyInstance$)||void 0===Nt?void 0:Nt[mt](...ut)})}})}),1&Te){const mt=new Map;Ce.attributeChangedCallback=function(ht,ut,bt){Gt.jmp(()=>{var Mt;const Nt=mt.get(ht);if(this.hasOwnProperty(Nt))bt=this[Nt],delete this[Nt];else{if(Ce.hasOwnProperty(Nt)&&"number"==typeof this[Nt]&&this[Nt]==bt)return;if(null==Nt){const Pt=Xt(this),dn=Pt?.$flags$;if(dn&&!(8&dn)&&128&dn&&bt!==ut){const an=Pt.$lazyInstance$;(null===(Mt=q.$watchers$)||void 0===Mt?void 0:Mt[ht])?.forEach(te=>{null!=an[te]&&an[te].call(an,bt,ut,ht)})}return}}this[Nt]=(null!==bt||"boolean"!=typeof this[Nt])&&bt})},L.observedAttributes=Array.from(new Set([...Object.keys(null!==(Re=q.$watchers$)&&void 0!==Re?Re:{}),...Ye.filter(([ht,ut])=>15&ut[0]).map(([ht,ut])=>{var bt;const Mt=ut[1]||ht;return mt.set(Mt,ht),512&ut[0]&&(null===(bt=q.$attrsToReflect$)||void 0===bt||bt.push([ht,Mt])),Mt})]))}}return L},Xe=function(){var L=(0,i.Z)(function*(q,Te,Re,Ce){let Ye;if(!(32&Te.$flags$)){if(Te.$flags$|=32,Re.$lazyBundleId$){if(Ye=In(Re),Ye.then){const Mt=()=>{};Ye=yield Ye,Mt()}Ye.isProxied||(Re.$watchers$=Ye.watchers,Ee(Ye,Re,2),Ye.isProxied=!0);const bt=()=>{};Te.$flags$|=8;try{new Ye(Te)}catch(Mt){Tn(Mt)}Te.$flags$&=-9,Te.$flags$|=128,bt(),it(Te.$lazyInstance$)}else Ye=q.constructor,customElements.whenDefined(Re.$tagName$).then(()=>Te.$flags$|=128);if(Ye.style){let bt=Ye.style;"string"!=typeof bt&&(bt=bt[Te.$modeName$=(L=>Kn.map(q=>q(L)).find(q=>!!q))(q)]);const Mt=rt(Re,Te.$modeName$);if(!$n.has(Mt)){const Nt=()=>{};Yt(Mt,bt,!!(1&Re.$flags$)),Nt()}}}const mt=Te.$ancestorComponent$,ht=()=>rr(Te,!0);mt&&mt["s-rc"]?mt["s-rc"].push(ht):ht()});return function(Te,Re,Ce,Ye){return L.apply(this,arguments)}}(),it=L=>{cn(L,"connectedCallback")},Qt=L=>{const q=L["s-cr"]=Rt.createComment("");q["s-cn"]=!0,L.insertBefore(q,L.firstChild)},En=L=>{cn(L,"disconnectedCallback")},Ln=function(){var L=(0,i.Z)(function*(q){if(!(1&Gt.$flags$)){const Te=Xt(q);Te.$rmListeners$&&(Te.$rmListeners$.map(Re=>Re()),Te.$rmListeners$=void 0),Te?.$lazyInstance$?En(Te.$lazyInstance$):Te?.$onReadyPromise$&&Te.$onReadyPromise$.then(()=>En(Te.$lazyInstance$))}});return function(Te){return L.apply(this,arguments)}}(),yr=(L,q={})=>{var Te;const Ce=[],Ye=q.exclude||[],mt=Ot.customElements,ht=Rt.head,ut=ht.querySelector("meta[charset]"),bt=Rt.createElement("style"),Mt=[],Nt=Rt.querySelectorAll(`[${we}]`);let Pt,dn=!0,an=0;for(Object.assign(Gt,q),Gt.$resourcesUrl$=new URL(q.resourcesUrl||"./",Rt.baseURI).href,Gt.$flags$|=2;an{te[1].map(C=>{var de;const Ne={$flags$:C[0],$tagName$:C[1],$members$:C[2],$listeners$:C[3]};4&Ne.$flags$&&(h=!0),Ne.$members$=C[2],Ne.$listeners$=C[3],Ne.$attrsToReflect$=[],Ne.$watchers$=null!==(de=C[4])&&void 0!==de?de:{};const un=Ne.$tagName$,nr=class extends HTMLElement{constructor(zn){super(zn),kn(zn=this,Ne),1&Ne.$flags$&&zn.attachShadow({mode:"open",delegatesFocus:!!(16&Ne.$flags$)})}connectedCallback(){Pt&&(clearTimeout(Pt),Pt=null),dn?Mt.push(this):Gt.jmp(()=>(L=>{if(!(1&Gt.$flags$)){const q=Xt(L),Te=q.$cmpMeta$,Re=()=>{};if(1&q.$flags$)Jn(L,q,Te.$listeners$),q?.$lazyInstance$?it(q.$lazyInstance$):q?.$onReadyPromise$&&q.$onReadyPromise$.then(()=>it(q.$lazyInstance$));else{let Ce;if(q.$flags$|=1,Ce=L.getAttribute(ze),Ce){if(1&Te.$flags$){const Ye=Ke(L.shadowRoot,Te,L.getAttribute("s-mode"));L.classList.remove(Ye+"-h",Ye+"-s")}((L,q,Te,Re)=>{const Ye=L.shadowRoot,mt=[],ut=Ye?[]:null,bt=Re.$vnode$=qe(q,null);Gt.$orgLocNodes$||z(Rt.body,Gt.$orgLocNodes$=new Map),L[ze]=Te,L.removeAttribute(ze),K(bt,mt,[],ut,L,L,Te),mt.map(Mt=>{const Nt=Mt.$hostId$+"."+Mt.$nodeId$,Pt=Gt.$orgLocNodes$.get(Nt),dn=Mt.$elm$;Pt&&D&&""===Pt["s-en"]&&Pt.parentNode.insertBefore(dn,Pt.nextSibling),Ye||(dn["s-hn"]=q,Pt&&(dn["s-ol"]=Pt,dn["s-ol"]["s-nr"]=dn)),Gt.$orgLocNodes$.delete(Nt)}),Ye&&ut.map(Mt=>{Mt&&Ye.appendChild(Mt)})})(L,Te.$tagName$,Ce,q)}Ce||12&Te.$flags$&&Qt(L);{let Ye=L;for(;Ye=Ye.parentNode||Ye.host;)if(1===Ye.nodeType&&Ye.hasAttribute("s-id")&&Ye["s-p"]||Ye["s-p"]){ir(q,q.$ancestorComponent$=Ye);break}}Te.$members$&&Object.entries(Te.$members$).map(([Ye,[mt]])=>{if(31&mt&&L.hasOwnProperty(Ye)){const ht=L[Ye];delete L[Ye],L[Ye]=ht}}),Xe(L,q,Te)}Re()}})(this))}disconnectedCallback(){Gt.jmp(()=>Ln(this))}componentOnReady(){return Xt(this).$onReadyPromise$}};Ne.$lazyBundleId$=te[0],!Ye.includes(un)&&!mt.get(un)&&(Ce.push(un),mt.define(un,Ee(nr,Ne,1)))})}),Ce.length>0&&(h&&(bt.textContent+=Pe),bt.textContent+=Ce+"{visibility:hidden}.hydrated{visibility:inherit}",bt.innerHTML.length)){bt.setAttribute("data-styles","");const te=null!==(Te=Gt.$nonce$)&&void 0!==Te?Te:ce(Rt);null!=te&&bt.setAttribute("nonce",te),ht.insertBefore(bt,ut?ut.nextSibling:ht.firstChild)}dn=!1,Mt.length?Mt.map(te=>te.connectedCallback()):Gt.jmp(()=>Pt=setTimeout(Pn,30))},Jn=(L,q,Te,Re)=>{Te&&Te.map(([Ce,Ye,mt])=>{const ht=Wn(L,Ce),ut=Mn(q,mt),bt=br(Ce);Gt.ael(ht,Ye,ut,bt),(q.$rmListeners$=q.$rmListeners$||[]).push(()=>Gt.rel(ht,Ye,ut,bt))})},Mn=(L,q)=>Te=>{try{256&L.$flags$?L.$lazyInstance$[q](Te):(L.$queuedListeners$=L.$queuedListeners$||[]).push([q,Te])}catch(Re){Tn(Re)}},Wn=(L,q)=>4&q?Rt:8&q?Ot:16&q?Rt.body:L,br=L=>w?{passive:0!=(1&L),capture:0!=(2&L)}:0!=(2&L),tr=new WeakMap,Xt=L=>tr.get(L),Zn=(L,q)=>tr.set(q.$lazyInstance$=L,q),kn=(L,q)=>{const Te={$flags$:0,$hostElement$:L,$cmpMeta$:q,$instanceValues$:new Map};return Te.$onInstancePromise$=new Promise(Re=>Te.$onInstanceResolve$=Re),Te.$onReadyPromise$=new Promise(Re=>Te.$onReadyResolve$=Re),L["s-p"]=[],L["s-rc"]=[],Jn(L,Te,q.$listeners$),tr.set(L,Te)},Bn=(L,q)=>q in L,Tn=(L,q)=>(0,console.error)(L,q),lr=new Map,In=(L,q,Te)=>{const Re=L.$tagName$.replace(/-/g,"_"),Ce=L.$lazyBundleId$,Ye=lr.get(Ce);return Ye?Ye[Re]:g(863)(`./${Ce}.entry.js`).then(mt=>(lr.set(Ce,mt),mt[Re]),Tn)},$n=new Map,Kn=[],Ot=typeof window<"u"?window:{},Rt=Ot.document||{head:{}},Gt={$flags$:0,$resourcesUrl$:"",jmp:L=>L(),raf:L=>requestAnimationFrame(L),ael:(L,q,Te,Re)=>L.addEventListener(q,Te,Re),rel:(L,q,Te,Re)=>L.removeEventListener(q,Te,Re),ce:(L,q)=>new CustomEvent(L,q)},ge=L=>{Object.assign(Gt,L)},D=!0,w=(()=>{let L=!1;try{Rt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){L=!0}}))}catch{}return L})(),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),me=[],Ie=[],Ve=(L,q)=>Te=>{L.push(Te),W||(W=!0,q&&4&Gt.$flags$?vt(ct):Gt.raf(ct))},ot=L=>{for(let q=0;q{ot(me),ot(Ie),(W=me.length>0)&&Gt.raf(ct)},vt=L=>Promise.resolve(void 0).then(L),xe=Ve(me,!1),Ze=Ve(Ie,!0)},2972:(gt,Oe,g)=>{"use strict";g.d(Oe,{d:()=>r,w:()=>i});const i=typeof window<"u"?window:void 0,r=typeof document<"u"?document:void 0},9721:(gt,Oe,g)=>{"use strict";g.d(Oe,{b:()=>O,c:()=>j,d:()=>H,e:()=>se,g:()=>be,l:()=>Le,s:()=>k,t:()=>W,w:()=>Pe});var i=g(5861),r=g(2477),T=g(8635);const O="ionViewWillLeave",j="ionViewDidLeave",H="ionViewWillUnload",W=Me=>new Promise((je,ce)=>{(0,r.w)(()=>{le(Me),ye(Me).then($e=>{$e.animation&&$e.animation.destroy(),ee(Me),je($e)},$e=>{ee(Me),ce($e)})})}),le=Me=>{const je=Me.enteringEl,ce=Me.leavingEl;pe(je,ce,Me.direction),Me.showGoBack?je.classList.add("can-go-back"):je.classList.remove("can-go-back"),k(je,!1),je.style.setProperty("pointer-events","none"),ce&&(k(ce,!1),ce.style.setProperty("pointer-events","none"))},ye=function(){var Me=(0,i.Z)(function*(je){const ce=yield ue(je);return ce&&r.B.isBrowser?ae(ce,je):Z(je)});return function(ce){return Me.apply(this,arguments)}}(),ee=Me=>{const je=Me.enteringEl,ce=Me.leavingEl;je.classList.remove("ion-page-invisible"),je.style.removeProperty("pointer-events"),void 0!==ce&&(ce.classList.remove("ion-page-invisible"),ce.style.removeProperty("pointer-events"))},ue=function(){var Me=(0,i.Z)(function*(je){return je.leavingEl&&je.animated&&0!==je.duration?je.animationBuilder?je.animationBuilder:"ios"===je.mode?(yield Promise.resolve().then(g.bind(g,9758))).iosTransitionAnimation:(yield Promise.resolve().then(g.bind(g,6160))).mdTransitionAnimation:void 0});return function(ce){return Me.apply(this,arguments)}}(),ae=function(){var Me=(0,i.Z)(function*(je,ce){yield X(ce,!0);const $e=je(ce.baseEl,ce);we(ce.enteringEl,ce.leavingEl);const qe=yield ze($e,ce);return ce.progressCallback&&ce.progressCallback(void 0),qe&&ke(ce.enteringEl,ce.leavingEl),{hasCompleted:qe,animation:$e}});return function(ce,$e){return Me.apply(this,arguments)}}(),Z=function(){var Me=(0,i.Z)(function*(je){const ce=je.enteringEl,$e=je.leavingEl;return yield X(je,!1),we(ce,$e),ke(ce,$e),{hasCompleted:!0}});return function(ce){return Me.apply(this,arguments)}}(),X=function(){var Me=(0,i.Z)(function*(je,ce){(void 0!==je.deepWait?je.deepWait:ce)&&(yield Promise.all([se(je.enteringEl),se(je.leavingEl)])),yield he(je.viewIsReady,je.enteringEl)});return function(ce,$e){return Me.apply(this,arguments)}}(),he=function(){var Me=(0,i.Z)(function*(je,ce){je&&(yield je(ce))});return function(ce,$e){return Me.apply(this,arguments)}}(),ze=(Me,je)=>{const ce=je.progressCallback,$e=new Promise(qe=>{Me.onFinish(lt=>qe(1===lt))});return ce?(Me.progressStart(!0),ce(Me)):Me.play(),$e},we=(Me,je)=>{Le(je,O),Le(Me,"ionViewWillEnter")},ke=(Me,je)=>{Le(Me,"ionViewDidEnter"),Le(je,j)},Le=(Me,je)=>{if(Me){const ce=new CustomEvent(je,{bubbles:!1,cancelable:!1});Me.dispatchEvent(ce)}},Pe=()=>new Promise(Me=>(0,T.r)(()=>(0,T.r)(()=>Me()))),se=function(){var Me=(0,i.Z)(function*(je){const ce=je;if(ce){if(null!=ce.componentOnReady){if(null!=(yield ce.componentOnReady()))return}else if(null!=ce.__registerHost)return void(yield new Promise(qe=>(0,T.r)(qe)));yield Promise.all(Array.from(ce.children).map(se))}});return function(ce){return Me.apply(this,arguments)}}(),k=(Me,je)=>{je?(Me.setAttribute("aria-hidden","true"),Me.classList.add("ion-page-hidden")):(Me.hidden=!1,Me.removeAttribute("aria-hidden"),Me.classList.remove("ion-page-hidden"))},pe=(Me,je,ce)=>{void 0!==Me&&(Me.style.zIndex="back"===ce?"99":"101"),void 0!==je&&(je.style.zIndex="100")},be=Me=>Me.classList.contains("ion-page")?Me:Me.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Me},7943:(gt,Oe,g)=>{"use strict";g.d(Oe,{a:()=>W,b:()=>qe,c:()=>T,i:()=>lt});var i=g(2477);class r{constructor(){this.m=new Map}reset(De){this.m=new Map(Object.entries(De))}get(De,N){const P=this.m.get(De);return void 0!==P?P:N}getBoolean(De,N=!1){const P=this.m.get(De);return void 0===P?N:"string"==typeof P?"true"===P:!!P}getNumber(De,N){const P=parseFloat(this.m.get(De));return isNaN(P)?void 0!==N?N:NaN:P}set(De,N){this.m.set(De,N)}}const T=new r,H="ionic:",oe="ionic-persist-config",W=(ve,De)=>("string"==typeof ve&&(De=ve,ve=void 0),(ve=>le(ve))(ve).includes(De)),le=(ve=window)=>{if(typeof ve>"u")return[];ve.Ionic=ve.Ionic||{};let De=ve.Ionic.platforms;return null==De&&(De=ve.Ionic.platforms=ye(ve),De.forEach(N=>ve.document.documentElement.classList.add(`plt-${N}`))),De},ye=ve=>{const De=T.get("platform");return Object.keys(ce).filter(N=>{const P=De?.[N];return"function"==typeof P?P(ve):ce[N](ve)})},ue=ve=>!!(Me(ve,/iPad/i)||Me(ve,/Macintosh/i)&&ke(ve)),X=ve=>Me(ve,/android|sink/i),ke=ve=>je(ve,"(any-pointer:coarse)"),Pe=ve=>se(ve)||k(ve),se=ve=>!!(ve.cordova||ve.phonegap||ve.PhoneGap),k=ve=>!!ve.Capacitor?.isNative,Me=(ve,De)=>De.test(ve.navigator.userAgent),je=(ve,De)=>{var N;return null===(N=ve.matchMedia)||void 0===N?void 0:N.call(ve,De).matches},ce={ipad:ue,iphone:ve=>Me(ve,/iPhone/i),ios:ve=>Me(ve,/iPhone|iPod/i)||ue(ve),android:X,phablet:ve=>{const De=ve.innerWidth,N=ve.innerHeight,P=Math.min(De,N),V=Math.max(De,N);return P>390&&P<520&&V>620&&V<800},tablet:ve=>{const De=ve.innerWidth,N=ve.innerHeight,P=Math.min(De,N),V=Math.max(De,N);return ue(ve)||(ve=>X(ve)&&!Me(ve,/mobile/i))(ve)||P>460&&P<820&&V>780&&V<1400},cordova:se,capacitor:k,electron:ve=>Me(ve,/electron/i),pwa:ve=>{var De;return!!(null!==(De=ve.matchMedia)&&void 0!==De&&De.call(ve,"(display-mode: standalone)").matches||ve.navigator.standalone)},mobile:ke,mobileweb:ve=>ke(ve)&&!Pe(ve),desktop:ve=>!ke(ve),hybrid:Pe};let $e;const qe=ve=>ve&&(0,i.g)(ve)||$e,lt=(ve={})=>{if(typeof window>"u")return;const De=window.document,N=window,P=N.Ionic=N.Ionic||{},V={};ve._ael&&(V.ael=ve._ael),ve._rel&&(V.rel=ve._rel),ve._ce&&(V.ce=ve._ce),(0,i.a)(V);const K=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(ve=>{try{const De=ve.sessionStorage.getItem(oe);return null!==De?JSON.parse(De):{}}catch{return{}}})(N)),{persistConfig:!1}),P.config),(ve=>{const De={};return ve.location.search.slice(1).split("&").map(N=>N.split("=")).map(([N,P])=>[decodeURIComponent(N),decodeURIComponent(P)]).filter(([N])=>((ve,De)=>ve.substr(0,De.length)===De)(N,H)).map(([N,P])=>[N.slice(H.length),P]).forEach(([N,P])=>{De[N]=P}),De})(N)),ve);T.reset(K),T.getBoolean("persistConfig")&&((ve,De)=>{try{ve.sessionStorage.setItem(oe,JSON.stringify(De))}catch{return}})(N,K),le(N),P.config=T,P.mode=$e=T.get("mode",De.documentElement.getAttribute("mode")||(W(N,"ios")?"ios":"md")),T.set("mode",$e),De.documentElement.setAttribute("mode",$e),De.documentElement.classList.add($e),T.getBoolean("_testing")&&T.set("animated",!1);const z=Ue=>{var Qe;return null===(Qe=Ue.tagName)||void 0===Qe?void 0:Qe.startsWith("ION-")},Be=Ue=>["ios","md"].includes(Ue);(0,i.c)(Ue=>{for(;Ue;){const Qe=Ue.mode||Ue.getAttribute("mode");if(Qe){if(Be(Qe))return Qe;z(Ue)&&console.warn('Invalid ionic mode: "'+Qe+'", expected: "ios" or "md"')}Ue=Ue.parentElement}return $e})}},9758:(gt,Oe,g)=>{"use strict";g.r(Oe),g.d(Oe,{iosTransitionAnimation:()=>ye,shadow:()=>j});var i=g(4963),r=g(9721);g(2972),g(2477);const O=ue=>document.querySelector(`${ue}.ion-cloned-element`),j=ue=>ue.shadowRoot||ue,H=ue=>{const ae="ION-TABS"===ue.tagName?ue:ue.querySelector("ion-tabs"),Z="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=ae){const X=ae.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=X?X.querySelector(Z):null}return ue.querySelector(Z)},oe=(ue,ae)=>{const Z="ION-TABS"===ue.tagName?ue:ue.querySelector("ion-tabs");let X=[];if(null!=Z){const he=Z.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=he&&(X=he.querySelectorAll("ion-buttons"))}else X=ue.querySelectorAll("ion-buttons");for(const he of X){const ze=he.closest("ion-header"),we=ze&&!ze.classList.contains("header-collapse-condense-inactive"),ke=he.querySelector("ion-back-button"),Le=he.classList.contains("buttons-collapse");if(null!==ke&&("start"===he.slot||""===he.slot)&&(Le&&we&&ae||!Le))return ke}return null},W=(ue,ae,Z,X,he,ze,we,ke,Le)=>{var Pe,se;const k=ae?`calc(100% - ${he.right+4}px)`:he.left-4+"px",pe=ae?"right":"left",be=ae?"left":"right",Me=ae?"right":"left",je=(null===(Pe=ze.textContent)||void 0===Pe?void 0:Pe.trim())===(null===(se=ke.textContent)||void 0===se?void 0:se.trim()),$e=(Le.height-ee)/we.height,qe=je?`scale(${Le.width/we.width}, ${$e})`:`scale(${$e})`,lt="scale(1)",De=j(X).querySelector("ion-icon").getBoundingClientRect(),N=ae?De.width/2-(De.right-he.right)+"px":he.left-De.width/2+"px",P=ae?`-${window.innerWidth-he.right}px`:`${he.left}px`,V=`${Le.top}px`,K=`${he.top}px`,Ue=Z?[{offset:0,transform:`translate3d(${P}, ${K}, 0)`},{offset:1,transform:`translate3d(${N}, ${V}, 0)`}]:[{offset:0,transform:`translate3d(${N}, ${V}, 0)`},{offset:1,transform:`translate3d(${P}, ${K}, 0)`}],kt=Z?[{offset:0,opacity:1,transform:lt},{offset:1,opacity:0,transform:qe}]:[{offset:0,opacity:0,transform:qe},{offset:1,opacity:1,transform:lt}],$t=Z?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Yt=(0,i.c)(),Ke=(0,i.c)(),et=(0,i.c)(),rt=O("ion-back-button"),Et=j(rt).querySelector(".button-text"),Ct=j(rt).querySelector("ion-icon");rt.text=X.text,rt.mode=X.mode,rt.icon=X.icon,rt.color=X.color,rt.disabled=X.disabled,rt.style.setProperty("display","block"),rt.style.setProperty("position","fixed"),Ke.addElement(Ct),Yt.addElement(Et),et.addElement(rt),et.beforeStyles({position:"absolute",top:"0px",[Me]:"0px"}).keyframes(Ue),Yt.beforeStyles({"transform-origin":`${pe} top`}).beforeAddWrite(()=>{X.style.setProperty("display","none"),rt.style.setProperty(pe,k)}).afterAddWrite(()=>{X.style.setProperty("display",""),rt.style.setProperty("display","none"),rt.style.removeProperty(pe)}).keyframes(kt),Ke.beforeStyles({"transform-origin":`${be} center`}).keyframes($t),ue.addAnimation([Yt,Ke,et])},le=(ue,ae,Z,X,he,ze,we,ke)=>{var Le,Pe;const se=ae?"right":"left",k=ae?`calc(100% - ${he.right}px)`:`${he.left}px`,be=`${he.top}px`,je=ae?`-${window.innerWidth-ke.right-8}px`:ke.x-8+"px",$e=ke.y-2+"px",qe=(null===(Le=we.textContent)||void 0===Le?void 0:Le.trim())===(null===(Pe=X.textContent)||void 0===Pe?void 0:Pe.trim()),ve=ke.height/(ze.height-ee),De="scale(1)",N=qe?`scale(${ke.width/ze.width}, ${ve})`:`scale(${ve})`,K=Z?[{offset:0,opacity:0,transform:`translate3d(${je}, ${$e}, 0) ${N}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${be}, 0) ${De}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${be}, 0) ${De}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${je}, ${$e}, 0) ${N}`}],z=O("ion-title"),Be=(0,i.c)();z.innerText=X.innerText,z.size=X.size,z.color=X.color,Be.addElement(z),Be.beforeStyles({"transform-origin":`${se} top`,height:`${he.height}px`,display:"",position:"relative",[se]:k}).beforeAddWrite(()=>{X.style.setProperty("opacity","0")}).afterAddWrite(()=>{X.style.setProperty("opacity",""),z.style.setProperty("display","none")}).keyframes(K),ue.addAnimation(Be)},ye=(ue,ae)=>{var Z;try{const X="cubic-bezier(0.32,0.72,0,1)",he="opacity",ze="transform",we="0%",Le="rtl"===ue.ownerDocument.dir,Pe=Le?"-99.5%":"99.5%",se=Le?"33%":"-33%",k=ae.enteringEl,pe=ae.leavingEl,be="back"===ae.direction,Me=k.querySelector(":scope > ion-content"),je=k.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ce=k.querySelectorAll(":scope > ion-header > ion-toolbar"),$e=(0,i.c)(),qe=(0,i.c)();if($e.addElement(k).duration((null!==(Z=ae.duration)&&void 0!==Z?Z:0)||540).easing(ae.easing||X).fill("both").beforeRemoveClass("ion-page-invisible"),pe&&null!=ue){const N=(0,i.c)();N.addElement(ue),$e.addAnimation(N)}if(Me||0!==ce.length||0!==je.length?(qe.addElement(Me),qe.addElement(je)):qe.addElement(k.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),$e.addAnimation(qe),be?qe.beforeClearStyles([he]).fromTo("transform",`translateX(${se})`,`translateX(${we})`).fromTo(he,.8,1):qe.beforeClearStyles([he]).fromTo("transform",`translateX(${Pe})`,`translateX(${we})`),Me){const N=j(Me).querySelector(".transition-effect");if(N){const P=N.querySelector(".transition-cover"),V=N.querySelector(".transition-shadow"),K=(0,i.c)(),z=(0,i.c)(),Be=(0,i.c)();K.addElement(N).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),z.addElement(P).beforeClearStyles([he]).fromTo(he,0,.1),Be.addElement(V).beforeClearStyles([he]).fromTo(he,.03,.7),K.addAnimation([z,Be]),qe.addAnimation([K])}}const lt=k.querySelector("ion-header.header-collapse-condense"),{forward:ve,backward:De}=((ue,ae,Z,X,he)=>{const ze=oe(X,Z),we=H(he),ke=H(X),Le=oe(he,Z),Pe=null!==ze&&null!==we&&!Z,se=null!==ke&&null!==Le&&Z;if(Pe){const k=we.getBoundingClientRect(),pe=ze.getBoundingClientRect(),be=j(ze).querySelector(".button-text"),Me=be.getBoundingClientRect(),ce=j(we).querySelector(".toolbar-title").getBoundingClientRect();le(ue,ae,Z,we,k,ce,be,Me),W(ue,ae,Z,ze,pe,be,Me,we,ce)}else if(se){const k=ke.getBoundingClientRect(),pe=Le.getBoundingClientRect(),be=j(Le).querySelector(".button-text"),Me=be.getBoundingClientRect(),ce=j(ke).querySelector(".toolbar-title").getBoundingClientRect();le(ue,ae,Z,ke,k,ce,be,Me),W(ue,ae,Z,Le,pe,be,Me,ke,ce)}return{forward:Pe,backward:se}})($e,Le,be,k,pe);if(ce.forEach(N=>{const P=(0,i.c)();P.addElement(N),$e.addAnimation(P);const V=(0,i.c)();V.addElement(N.querySelector("ion-title"));const K=(0,i.c)(),z=Array.from(N.querySelectorAll("ion-buttons,[menuToggle]")),Be=N.closest("ion-header"),Ue=Be?.classList.contains("header-collapse-condense-inactive");let Qe;Qe=z.filter(be?$t=>{const Yt=$t.classList.contains("buttons-collapse");return Yt&&!Ue||!Yt}:$t=>!$t.classList.contains("buttons-collapse")),K.addElement(Qe);const Dt=(0,i.c)();Dt.addElement(N.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const kt=(0,i.c)();kt.addElement(j(N).querySelector(".toolbar-background"));const Lt=(0,i.c)(),Ht=N.querySelector("ion-back-button");if(Ht&&Lt.addElement(Ht),P.addAnimation([V,K,Dt,kt,Lt]),K.fromTo(he,.01,1),Dt.fromTo(he,.01,1),be)Ue||V.fromTo("transform",`translateX(${se})`,`translateX(${we})`).fromTo(he,.01,1),Dt.fromTo("transform",`translateX(${se})`,`translateX(${we})`),Lt.fromTo(he,.01,1);else if(lt||V.fromTo("transform",`translateX(${Pe})`,`translateX(${we})`).fromTo(he,.01,1),Dt.fromTo("transform",`translateX(${Pe})`,`translateX(${we})`),kt.beforeClearStyles([he,"transform"]),Be?.translucent?kt.fromTo("transform",Le?"translateX(-100%)":"translateX(100%)","translateX(0px)"):kt.fromTo(he,.01,"var(--opacity)"),ve||Lt.fromTo(he,.01,1),Ht&&!ve){const Yt=(0,i.c)();Yt.addElement(j(Ht).querySelector(".button-text")).fromTo("transform",Le?"translateX(-100px)":"translateX(100px)","translateX(0px)"),P.addAnimation(Yt)}}),pe){const N=(0,i.c)(),P=pe.querySelector(":scope > ion-content"),V=pe.querySelectorAll(":scope > ion-header > ion-toolbar"),K=pe.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(P||0!==V.length||0!==K.length?(N.addElement(P),N.addElement(K)):N.addElement(pe.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),$e.addAnimation(N),be){N.beforeClearStyles([he]).fromTo("transform",`translateX(${we})`,Le?"translateX(-100%)":"translateX(100%)");const z=(0,r.g)(pe);$e.afterAddWrite(()=>{"normal"===$e.getDirection()&&z.style.setProperty("display","none")})}else N.fromTo("transform",`translateX(${we})`,`translateX(${se})`).fromTo(he,1,.8);if(P){const z=j(P).querySelector(".transition-effect");if(z){const Be=z.querySelector(".transition-cover"),Ue=z.querySelector(".transition-shadow"),Qe=(0,i.c)(),Dt=(0,i.c)(),kt=(0,i.c)();Qe.addElement(z).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Dt.addElement(Be).beforeClearStyles([he]).fromTo(he,.1,0),kt.addElement(Ue).beforeClearStyles([he]).fromTo(he,.7,.03),Qe.addAnimation([Dt,kt]),N.addAnimation([Qe])}}V.forEach(z=>{const Be=(0,i.c)();Be.addElement(z);const Ue=(0,i.c)();Ue.addElement(z.querySelector("ion-title"));const Qe=(0,i.c)(),Dt=z.querySelectorAll("ion-buttons,[menuToggle]"),kt=z.closest("ion-header"),Lt=kt?.classList.contains("header-collapse-condense-inactive"),Ht=Array.from(Dt).filter(Et=>{const Ct=Et.classList.contains("buttons-collapse");return Ct&&!Lt||!Ct});Qe.addElement(Ht);const $t=(0,i.c)(),Yt=z.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Yt.length>0&&$t.addElement(Yt);const Ke=(0,i.c)();Ke.addElement(j(z).querySelector(".toolbar-background"));const et=(0,i.c)(),rt=z.querySelector("ion-back-button");if(rt&&et.addElement(rt),Be.addAnimation([Ue,Qe,$t,et,Ke]),$e.addAnimation(Be),et.fromTo(he,.99,0),Qe.fromTo(he,.99,0),$t.fromTo(he,.99,0),be){if(Lt||Ue.fromTo("transform",`translateX(${we})`,Le?"translateX(-100%)":"translateX(100%)").fromTo(he,.99,0),$t.fromTo("transform",`translateX(${we})`,Le?"translateX(-100%)":"translateX(100%)"),Ke.beforeClearStyles([he,"transform"]),kt?.translucent?Ke.fromTo("transform","translateX(0px)",Le?"translateX(-100%)":"translateX(100%)"):Ke.fromTo(he,"var(--opacity)",0),rt&&!De){const Ct=(0,i.c)();Ct.addElement(j(rt).querySelector(".button-text")).fromTo("transform",`translateX(${we})`,`translateX(${(Le?-124:124)+"px"})`),Be.addAnimation(Ct)}}else Lt||Ue.fromTo("transform",`translateX(${we})`,`translateX(${se})`).fromTo(he,.99,0).afterClearStyles([ze,he]),$t.fromTo("transform",`translateX(${we})`,`translateX(${se})`).afterClearStyles([ze,he]),et.afterClearStyles([he]),Ue.afterClearStyles([he]),Qe.afterClearStyles([he])})}return $e}catch(X){throw X}},ee=10},6160:(gt,Oe,g)=>{"use strict";g.r(Oe),g.d(Oe,{mdTransitionAnimation:()=>re});var i=g(4963),r=g(9721);g(2972),g(2477);const re=(O,j)=>{var H,oe,_e;const W="40px",ye="back"===j.direction,ue=j.leavingEl,ae=(0,r.g)(j.enteringEl),Z=ae.querySelector("ion-toolbar"),X=(0,i.c)();if(X.addElement(ae).fill("both").beforeRemoveClass("ion-page-invisible"),ye?X.duration((null!==(H=j.duration)&&void 0!==H?H:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):X.duration((null!==(oe=j.duration)&&void 0!==oe?oe:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${W})`,"translateY(0px)").fromTo("opacity",.01,1),Z){const he=(0,i.c)();he.addElement(Z),X.addAnimation(he)}if(ue&&ye){X.duration((null!==(_e=j.duration)&&void 0!==_e?_e:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const he=(0,i.c)();he.addElement((0,r.g)(ue)).onFinish(ze=>{1===ze&&he.elements.length>0&&he.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${W})`).fromTo("opacity",1,0),X.addAnimation(he)}return X}},7346:(gt,Oe,g)=>{"use strict";g.d(Oe,{B:()=>Qe,G:()=>Dt,O:()=>kt,a:()=>le,b:()=>ye,c:()=>Z,d:()=>Lt,e:()=>Ht,f:()=>lt,g:()=>De,h:()=>V,i:()=>z,j:()=>he,k:()=>ze,m:()=>ue,n:()=>Pe,o:()=>$e,s:()=>Ue,t:()=>X});var i=g(5861),r=g(2972),T=g(3006),B=g(7943),re=g(5030),O=g(8635),j=g(8909);let H=0,oe=0;const _e=new WeakMap,W=Ke=>({create:et=>we(Ke,et),dismiss:(et,rt,Et)=>Me(document,et,rt,Ke,Et),getTop:()=>(0,i.Z)(function*(){return $e(document,Ke)})()}),le=W("ion-alert"),ye=W("ion-action-sheet"),ue=W("ion-modal"),Z=W("ion-popover"),X=W("ion-toast"),he=Ke=>{typeof document<"u"&&be(document);const et=H++;Ke.overlayIndex=et},ze=Ke=>(Ke.hasAttribute("id")||(Ke.id="ion-overlay-"+ ++oe),Ke.id),we=(Ke,et)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Ke).then(()=>{const rt=document.createElement(Ke);return rt.classList.add("overlay-hidden"),Object.assign(rt,Object.assign(Object.assign({},et),{hasController:!0})),N(document).appendChild(rt),new Promise(Et=>(0,O.c)(rt,Et))}):Promise.resolve(),ke='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Pe=(Ke,et)=>{const rt=Ke.querySelector(ke);k(rt,et)},se=(Ke,et)=>{const rt=Array.from(Ke.querySelectorAll(ke));k(rt.length>0?rt[rt.length-1]:null,et)},k=(Ke,et)=>{let rt=Ke;const Et=Ke?.shadowRoot;Et&&(rt=Et.querySelector(ke)||Ke),rt?(0,O.f)(rt):et.focus()},be=Ke=>{0===H&&(H=1,Ke.addEventListener("focus",et=>{((Ke,et)=>{const rt=$e(et,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Et=Ke.target;rt&&Et&&!rt.classList.contains("ion-disable-focus-trap")&&(rt.shadowRoot?(()=>{if(rt.contains(Et))rt.lastFocus=Et;else if("ION-TOAST"===Et.tagName)k(rt.lastFocus,rt);else{const Jt=rt.lastFocus;Pe(rt,rt),Jt===et.activeElement&&se(rt,rt),rt.lastFocus=et.activeElement}})():(()=>{if(rt===Et)rt.lastFocus=void 0;else if("ION-TOAST"===Et.tagName)k(rt.lastFocus,rt);else{const Jt=(0,O.g)(rt);if(!Jt.contains(Et))return;const tn=Jt.querySelector(".ion-overlay-wrapper");if(!tn)return;if(tn.contains(Et)||Et===Jt.querySelector("ion-backdrop"))rt.lastFocus=Et;else{const en=rt.lastFocus;Pe(tn,rt),en===et.activeElement&&se(tn,rt),rt.lastFocus=et.activeElement}}})())})(et,Ke)},!0),Ke.addEventListener("ionBackButton",et=>{const rt=$e(Ke);rt?.backdropDismiss&&et.detail.register(T.OVERLAY_BACK_BUTTON_PRIORITY,()=>{rt.dismiss(void 0,Qe)})}),(0,T.shouldUseCloseWatcher)()||Ke.addEventListener("keydown",et=>{if("Escape"===et.key){const rt=$e(Ke);rt?.backdropDismiss&&rt.dismiss(void 0,Qe)}}))},Me=(Ke,et,rt,Et,Ct)=>{const on=$e(Ke,Et,Ct);return on?on.dismiss(et,rt):Promise.reject("overlay does not exist")},ce=(Ke,et)=>((Ke,et)=>(void 0===et&&(et="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Ke.querySelectorAll(et)).filter(rt=>rt.overlayIndex>0)))(Ke,et).filter(rt=>!(Ke=>Ke.classList.contains("overlay-hidden"))(rt)),$e=(Ke,et,rt)=>{const Et=ce(Ke,et);return void 0===rt?Et[Et.length-1]:Et.find(Ct=>Ct.id===rt)},qe=(Ke=!1)=>{const rt=N(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");rt&&(Ke?rt.setAttribute("aria-hidden","true"):rt.removeAttribute("aria-hidden"))},lt=function(){var Ke=(0,i.Z)(function*(et,rt,Et,Ct,on){var Jt,tn;if(et.presented)return;qe(!0),$t(et.el),et.presented=!0,et.willPresent.emit(),null===(Jt=et.willPresentShorthand)||void 0===Jt||Jt.emit();const en=(0,B.b)(et),On=et.enterAnimation?et.enterAnimation:B.c.get(rt,"ios"===en?Et:Ct);(yield P(et,On,et.el,on))&&(et.didPresent.emit(),null===(tn=et.didPresentShorthand)||void 0===tn||tn.emit()),"ION-TOAST"!==et.el.tagName&&ve(et.el),et.keyboardClose&&(null===document.activeElement||!et.el.contains(document.activeElement))&&et.el.focus(),et.el.removeAttribute("aria-hidden")});return function(rt,Et,Ct,on,Jt){return Ke.apply(this,arguments)}}(),ve=function(){var Ke=(0,i.Z)(function*(et){let rt=document.activeElement;if(!rt)return;const Et=rt?.shadowRoot;Et&&(rt=Et.querySelector(ke)||rt),yield et.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&rt.focus()});return function(rt){return Ke.apply(this,arguments)}}(),De=function(){var Ke=(0,i.Z)(function*(et,rt,Et,Ct,on,Jt,tn){var en,On;if(!et.presented)return!1;void 0!==r.d&&1===ce(r.d).length&&qe(!1),et.presented=!1;try{et.el.style.setProperty("pointer-events","none"),et.willDismiss.emit({data:rt,role:Et}),null===(en=et.willDismissShorthand)||void 0===en||en.emit({data:rt,role:Et});const sn=(0,B.b)(et),mn=et.leaveAnimation?et.leaveAnimation:B.c.get(Ct,"ios"===sn?on:Jt);Et!==Dt&&(yield P(et,mn,et.el,tn)),et.didDismiss.emit({data:rt,role:Et}),null===(On=et.didDismissShorthand)||void 0===On||On.emit({data:rt,role:Et}),(_e.get(et)||[]).forEach(wt=>wt.destroy()),_e.delete(et),et.el.classList.add("overlay-hidden"),et.el.style.removeProperty("pointer-events"),void 0!==et.el.lastFocus&&(et.el.lastFocus=void 0)}catch(sn){console.error(sn)}return et.el.remove(),Yt(),!0});return function(rt,Et,Ct,on,Jt,tn,en){return Ke.apply(this,arguments)}}(),N=Ke=>Ke.querySelector("ion-app")||Ke.body,P=function(){var Ke=(0,i.Z)(function*(et,rt,Et,Ct){Et.classList.remove("overlay-hidden");const Jt=rt(et.el,Ct);(!et.animated||!B.c.getBoolean("animated",!0))&&Jt.duration(0),et.keyboardClose&&Jt.beforeAddWrite(()=>{const en=Et.ownerDocument.activeElement;en?.matches("input,ion-input, ion-textarea")&&en.blur()});const tn=_e.get(et)||[];return _e.set(et,[...tn,Jt]),yield Jt.play(),!0});return function(rt,Et,Ct,on){return Ke.apply(this,arguments)}}(),V=(Ke,et)=>{let rt;const Et=new Promise(Ct=>rt=Ct);return K(Ke,et,Ct=>{rt(Ct.detail)}),Et},K=(Ke,et,rt)=>{const Et=Ct=>{(0,O.b)(Ke,et,Et),rt(Ct)};(0,O.a)(Ke,et,Et)},z=Ke=>"cancel"===Ke||Ke===Qe,Be=Ke=>Ke(),Ue=(Ke,et)=>{if("function"==typeof Ke)return B.c.get("_zoneGate",Be)(()=>{try{return Ke(et)}catch(Et){throw Et}})},Qe="backdrop",Dt="gesture",kt=39,Lt=Ke=>{let rt,et=!1;const Et=(0,re.C)(),Ct=(tn=!1)=>{if(rt&&!tn)return{delegate:rt,inline:et};const{el:en,hasController:On,delegate:sn}=Ke;return et=null!==en.parentNode&&!On,rt=et?sn||Et:sn,{inline:et,delegate:rt}};return{attachViewToDom:function(){var tn=(0,i.Z)(function*(en){const{delegate:On}=Ct(!0);if(On)return yield On.attachViewToDom(Ke.el,en);const{hasController:sn}=Ke;if(sn&&void 0!==en)throw new Error("framework delegate is missing");return null});return function(On){return tn.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:tn}=Ct();tn&&void 0!==Ke.el&&tn.removeViewFromDom(Ke.el.parentElement,Ke.el)}}},Ht=()=>{let Ke;const et=()=>{Ke&&(Ke(),Ke=void 0)};return{addClickListener:(Et,Ct)=>{et();const on=void 0!==Ct?document.getElementById(Ct):null;on?Ke=((tn,en)=>{const On=()=>{en.present()};return tn.addEventListener("click",On),()=>{tn.removeEventListener("click",On)}})(on,Et):(0,j.p)(`A trigger element with the ID "${Ct}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Et)},removeClickListener:et}},$t=Ke=>{var et;if(void 0===r.d)return;const rt=ce(r.d);for(let Et=rt.length-1;Et>=0;Et--){const Ct=rt[Et],on=null!==(et=rt[Et+1])&&void 0!==et?et:Ke;(on.hasAttribute("aria-hidden")||"ION-TOAST"!==on.tagName)&&Ct.setAttribute("aria-hidden","true")}},Yt=()=>{if(void 0===r.d)return;const Ke=ce(r.d);for(let et=Ke.length-1;et>=0;et--){const rt=Ke[et];if(rt.removeAttribute("aria-hidden"),"ION-TOAST"!==rt.tagName)break}}},4158:(gt,Oe,g)=>{"use strict";function O(De,N){return function(P,V){N(P,V,De)}}g.d(Oe,{Fw:()=>ve,Ke:()=>Me});var se=g(4650),k=g(6895),pe=g(4424),be=g(5021);let Me=(()=>{let De=class{constructor(P,V){this.platformId=V,this._driver=null,this._dbPromise=new Promise((K,z)=>{if((0,k.PM)(this.platformId)){const Dt=function qe(){const De=()=>{};return{getItem:De,setItem:De,removeItem:De,clear:De,length:()=>0,keys:()=>[],iterate:De}}();return void K(Dt)}let Be;const Qe=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},P||{});(0,pe.defineDriver)(be).then(()=>{Be=(0,pe.createInstance)(Qe)}).then(()=>Be.setDriver(this._getDriverOrder(Qe.driverOrder))).then(()=>{this._driver=Be.driver(),K(Be)}).catch(Dt=>z(Dt))})}get driver(){return this._driver}ready(){return this._dbPromise}_getDriverOrder(P){return P.map(V=>{switch(V){case"sqlite":return be._driver;case"indexeddb":return pe.INDEXEDDB;case"websql":return pe.WEBSQL;case"localstorage":return pe.LOCALSTORAGE}})}get(P){return this._dbPromise.then(V=>V.getItem(P))}set(P,V){return this._dbPromise.then(K=>K.setItem(P,V))}remove(P){return this._dbPromise.then(V=>V.removeItem(P))}clear(){return this._dbPromise.then(P=>P.clear())}length(){return this._dbPromise.then(P=>P.length())}keys(){return this._dbPromise.then(P=>P.keys())}forEach(P){return this._dbPromise.then(V=>V.iterate(P))}};return De=function re(De,N,P,V){var Be,K=arguments.length,z=K<3?N:null===V?V=Object.getOwnPropertyDescriptor(N,P):V;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)z=Reflect.decorate(De,N,P,V);else for(var Ue=De.length-1;Ue>=0;Ue--)(Be=De[Ue])&&(z=(K<3?Be(z):K>3?Be(N,P,z):Be(N,P))||z);return K>3&&z&&Object.defineProperty(N,P,z),z}([O(1,(0,se.tBr)(se.Lbi))],De),De})();const ce=new se.OlP("STORAGE_CONFIG_TOKEN");function $e(De,N){return new Me(De||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},N)}var lt;let ve=lt=class{static forRoot(N=null){return{ngModule:lt,providers:[{provide:ce,useValue:N},{provide:Me,useFactory:$e,deps:[ce,se.Lbi]}]}}};ve.\u0275fac=function(N){return new(N||ve)},ve.\u0275mod=se.oAB({type:ve}),ve.\u0275inj=se.cJS({})},227:(gt,Oe,g)=>{"use strict";g.d(Oe,{de:()=>le,ew:()=>oe,Ei:()=>_e,VL:()=>W});var i=g(4650),r=g(4004),T=g(5861),B=g(4707),re=g(4158);let O=(()=>{const ee=class{constructor(ae){this.storage=ae,this.subjects=new Map}clear(){var ae=this;return(0,T.Z)(function*(){yield ae.storage.ready(),yield ae.storage.clear(),ae.subjects.forEach(Z=>Z.next(void 0))})()}get(ae){var Z=this;return(0,T.Z)(function*(){return yield Z.storage.ready(),yield Z.storage.get(ae)})()}observe(ae){let Z=this.subjects.get(ae);return Z||(Z=new B.t(1),this.subjects.set(ae,Z),this.storage.ready().then(()=>{this.storage.get(ae).then(X=>{Z.next(X)}).catch(X=>{Z.error(X)})})),Z}remove(ae){var Z=this;return(0,T.Z)(function*(){yield Z.storage.ready(),yield Z.storage.remove(ae);const X=Z.subjects.get(ae);X&&X.next(void 0)})()}set(ae,Z){var X=this;return(0,T.Z)(function*(){yield X.storage.ready(),yield X.storage.set(ae,Z);const he=X.subjects.get(ae);he&&he.next(Z)})()}};let ye=ee;return ee.\u0275fac=function(Z){return new(Z||ee)(i.LFG(re.Ke))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ye})();const j=(0,i.X6Q)()?[{name:"Max",code:"MAX",color:"#3670c6"},{name:"Fernando",code:"FER",color:"#358c75"},{name:"Lewis",code:"LEW",color:"#6cd3bf"},{name:"Charles",code:"CHA",color:"#f91537"},{name:"Lando",code:"LAN",color:"#f58020"},{name:"Nico",code:"NIC",color:"#b6babd"},{name:"Ghost",code:"GHO",color:"#606060"},{name:"Pace Car",code:"PAC",color:"#d4af37"}]:[{color:"#ff0000"},{color:"#00ff00"},{color:"#0000ff"},{color:"#ffff00"},{color:"#ff00ff"},{color:"#00ffff"},{color:"#ffffff"},{color:"#cccccc"}],H={bestlap:!0,bests1:!1,bests2:!1,bests3:!1,falsestart:!0,finallap:!0,finished:!0,finished1st:!0,finished2nd:!0,finished3rd:!0,fivelaps:!0,fuel0:!0,fuel1:!0,fuel2:!0,greenflag:!0,newleader:!0,oneminute:!0,pitenter:!1,pitexit:!1,timeout:!0,yellowflag:!0};class oe{constructor(){this.connectionTimeout=3e3,this.requestTimeout=2e3,this.minReconnectDelay=3e3,this.maxReconnectDelay=8e3,this.demoControlUnit=(0,i.X6Q)()}}class _e{constructor(){this.cumode=!0,this.debug=(0,i.X6Q)(),this.fixedorder=!1,this.language="",this.speech=!0,this.sectors=!1,this.voice="",this.rate=1e3,this.pitch=1e3}}class W{constructor(ee){switch(this.mode=ee,this.pause=!1,this.slotmode=!1,this.stopfin=!1,this.auto=!1,this.pace=!1,this.minLapTime=500,ee){case"practice":this.laps=0,this.time=0,this.auto=!0,this.pace=!0;break;case"qualifying":this.laps=0,this.time=18e4;break;case"race":this.laps=30,this.time=0}}}let le=(()=>{const ee=class{constructor(ae){this.settings=ae}clear(){return this.settings.clear()}getConnection(){return this.settings.observe("connection").pipe((0,r.U)(ae=>Object.assign(new oe,ae)))}setConnection(ae){return this.settings.set("connection",ae)}getDrivers(){return this.settings.observe("drivers").pipe((0,r.U)(ae=>{const Z=new Array(8);for(let X=0;X!=Z.length;++X)Z[X]=Object.assign(j[X],ae?ae[X]:null);return Z}))}setDrivers(ae){return this.settings.set("drivers",ae)}getNotifications(){return this.settings.observe("notifications").pipe((0,r.U)(ae=>{const Z={};for(let X of Object.keys(H))Z[X]=Object.assign({enabled:H[X]},ae?ae[X]:null);return Z}))}setNotifications(ae){return this.settings.set("notifications",ae)}getOptions(){return this.settings.observe("options").pipe((0,r.U)(ae=>Object.assign(new _e,ae)))}setOptions(ae){return this.settings.set("options",ae)}getQualifyingSettings(){return this.settings.observe("qualifying").pipe((0,r.U)(ae=>Object.assign(new W("qualifying"),ae)))}setQualifyingSettings(ae){return this.settings.set("qualifying",ae)}getRaceSettings(){return this.settings.observe("race").pipe((0,r.U)(ae=>Object.assign(new W("race"),ae)))}setRaceSettings(ae){return this.settings.set("race",ae)}};let ye=ee;return ee.\u0275fac=function(Z){return new(Z||ee)(i.LFG(O))},ee.\u0275prov=i.Yz7({token:ee,factory:ee.\u0275fac,providedIn:"root"}),ye})()},6475:(gt,Oe,g)=>{"use strict";g.d(Oe,{z:()=>ue});var i=g(5861),r=g(3771),T=g(9509),B=g(4598),re=g(9986),O=g(9102),j=g(8675),H=g(4004),oe=g(1884),_e=g(4650),W=g(958),le=g(5082),ye=g(9062),ee=(()=>{return(Z=ee||(ee={})).Portrait="portrait",Z.Landscape="landscape",ee;var Z})();const ae=class{constructor(X,he,ze,we,ke,Le,Pe,se){this.platform=X,this.app=he,this.device=ze,this.fullscreen=we,this.insomnia=ke,this.sharing=Le,this.splash=Pe,this.exit=void 0,this.share=void 0,this.backButton=X.backButton,X.ready().then(k=>{"cordova"===k&&se.styleDefault()}),this.isCordova()&&this.isAndroid()&&(this.exit=()=>this.doExit()),this.isCordova()&&O.e&&(this.share=(k,pe)=>this.doShare(k,pe)),this.orientation=X.resize.pipe((0,j.O)(void 0),(0,H.U)(()=>X.isPortrait()?ee.Portrait:ee.Landscape),(0,oe.x)())}getName(){var X=this;return(0,i.Z)(function*(){return X.isCordova()&&T.b?(yield X.platform.ready(),X.app.getAppName()):"App"})()}getVersion(){var X=this;return(0,i.Z)(function*(){return X.isCordova()&&T.b?(yield X.platform.ready(),X.app.getVersionNumber()):"Web"})()}getVersionCode(){var X=this;return(0,i.Z)(function*(){if(X.isCordova()&&T.b)return yield X.platform.ready(),(yield X.app.getVersionCode()).toString()})()}getDeviceInfo(){var X=this;return(0,i.Z)(function*(){return X.isCordova()&&B.A?(yield X.platform.ready(),{isVirtual:X.device.isVirtual,manufacturer:X.device.manufacturer,model:X.device.model,platform:X.device.platform,version:X.device.version}):{isVirtual:!1,manufacturer:"",model:"",platform:"browser",version:""}})()}enableFullScreen(X){var he=this;return(0,i.Z)(function*(){he.isCordova()&&he.isAndroid()&&r.B&&(yield he.platform.ready(),X?he.fullscreen.immersiveMode():he.fullscreen.showSystemUI())})()}hideSplashScreen(){var X=this;return(0,i.Z)(function*(){X.isCordova()&&X.splash&&(yield X.platform.ready(),X.splash.hide())})()}keepAwake(X){var he=this;return(0,i.Z)(function*(){he.isCordova()&&re.s&&(yield he.platform.ready(),X?he.insomnia.keepAwake():he.insomnia.allowSleepAgain())})()}isAndroid(){return this.platform.is("android")}isCordova(){return this.platform.is("cordova")}doShare(X,he){var ze=this;return(0,i.Z)(function*(){if(yield ze.platform.ready(),O.e)return ze.sharing.shareWithOptions({message:he,subject:X})})()}doExit(){var X=this;return(0,i.Z)(function*(){yield X.platform.ready(),navigator.app&&navigator.app.exitApp&&navigator.app.exitApp()})()}};let ue=ae;ae.PORTRAIT=ee.Portrait,ae.LANDSCAPE=ee.Landscape,ae.\u0275fac=function(he){return new(he||ae)(_e.LFG(W.t4),_e.LFG(T.b),_e.LFG(B.A),_e.LFG(r.B),_e.LFG(re.s),_e.LFG(O.e),_e.LFG(le.c),_e.LFG(ye.A))},ae.\u0275prov=_e.Yz7({token:ae,factory:ae.\u0275fac,providedIn:"root"})},6698:(gt,Oe,g)=>{"use strict";g.d(Oe,{zi:()=>i.z,V1:()=>j,Pn:()=>W,tQ:()=>X,ed:()=>O,vA:()=>ke});var i=g(6475),r=g(1135),T=g(4650),B=(()=>{return(Le=B||(B={}))[Le.DEBUG=0]="DEBUG",Le[Le.INFO=1]="INFO",Le[Le.WARNING=2]="WARNING",Le[Le.ERROR=3]="ERROR",B;var Le})();let O=(()=>{const Pe=class{constructor(){this.level=B.INFO,this.limit=50,this.records=new Array}isDebugEnabled(){return this.level===B.DEBUG}setDebugEnabled(k){this.level=k?B.DEBUG:B.INFO}debug(...k){this.log(B.DEBUG,k)}info(...k){this.log(B.INFO,k)}warn(...k){this.log(B.WARNING,k)}error(...k){this.log(B.ERROR,k)}clear(){this.records.length=0}log(k,pe){if(k>=this.level){for(console.log.apply(console,pe);this.records.length>=this.limit;)this.records.shift();this.records.push({level:k,time:Date.now(),args:pe})}}};let Le=Pe;return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275prov=T.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Le})(),j=(()=>{const Pe=class extends r.X{constructor(k){super(null),this.logger=k}next(k){this.value?this.value.disconnect().catch(pe=>{this.logger.error("Error disconnecting from",this.value,pe)}).then(()=>{super.next(k)}):super.next(k)}};let Le=Pe;return Pe.\u0275fac=function(pe){return new(pe||Pe)(T.LFG(O))},Pe.\u0275prov=T.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Le})();var H=g(5861),oe=g(12),_e=g(6188);let W=(()=>{const Pe=class{constructor(k,pe){this.alert=k,this.translate=pe}show(k){var pe=this;return(0,H.Z)(function*(){return k&&(k=yield pe.translateAlertOptions(k)),yield(yield pe.alert.create(k)).present()})()}translateAlertOptions(k){var pe=this;return(0,H.Z)(function*(){const[be,Me,je,ce]=yield Promise.all([pe.translateString(k.header),pe.translateString(k.subHeader),pe.translateString(k.message),Promise.all((k.buttons||[]).map($e=>"string"==typeof $e?pe.translateString($e):pe.translateString($e.text).then(qe=>Object.assign({},$e,{text:qe}))))]);return Object.assign({},k,{header:be,subHeader:Me,message:je,buttons:ce})})()}translateString(k){return k?this.translate.get(k).toPromise():Promise.resolve(k)}};let Le=Pe;return Pe.\u0275fac=function(pe){return new(pe||Pe)(T.LFG(oe.Br),T.LFG(_e.sK))},Pe.\u0275prov=T.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Le})();var le=g(958),ye=g(4879);class ee{constructor(Pe,se){this.platform=Pe,this.toast=se}show(Pe,se,k){var pe=this;return(0,H.Z)(function*(){return yield pe.platform.ready(),yield pe.toast.hide(),pe.toast.show(Pe,se.toString(),k).toPromise()})()}}class ue{constructor(Pe){this.controller=Pe}show(Pe,se,k){var pe=this;return(0,H.Z)(function*(){return(yield pe.controller.create({message:Pe,duration:se,position:"center"===k?"middle":k})).present()})()}}const Z=4e3;let X=(()=>{const Pe=class{constructor(k,pe,be,Me){this.translate=Me,this.toast=k.is("cordova")?new ee(k,pe):new ue(be)}showShortTop(k,pe){return this.show("top",2e3,k,pe)}showShortCenter(k,pe){return this.show("center",2e3,k,pe)}showShortBottom(k,pe){return this.show("bottom",2e3,k,pe)}showLongTop(k,pe){return this.show("top",Z,k,pe)}showLongCenter(k,pe){return this.show("center",Z,k,pe)}showLongBottom(k,pe){return this.show("bottom",Z,k,pe)}show(k,pe,be,Me){var je=this;return(0,H.Z)(function*(){const ce=yield je.translate.get(be,Me).toPromise();return je.toast.show(ce,pe,k)})()}};let Le=Pe;return Pe.\u0275fac=function(pe){return new(pe||Pe)(T.LFG(le.t4),T.LFG(ye.F),T.LFG(oe.yF),T.LFG(_e.sK))},Pe.\u0275prov=T.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Le})();var he=g(694);class ze{constructor(Pe,se){this.speech=Pe,this.voices=new Map,se.info("Using Web Speech API")}getVoiceMap(){return this.voices.size||this.speech.getVoices().forEach(Pe=>{this.voices.set(Pe.voiceURI,Pe)}),this.voices}speak(Pe){return new Promise((se,k)=>{const pe=this.__utterance__=new SpeechSynthesisUtterance;"string"==typeof Pe?pe.text=Pe:(pe.text=Pe.text,pe.lang=Pe.locale,pe.rate=Pe.rate,pe.pitch=Pe.pitch,pe.voice=this.getVoiceMap().get(Pe.identifier)),pe.onend=()=>{se()},pe.onerror=be=>{k(be)};try{this.speech.speak(pe)}catch(be){k(be)}})}stop(){return new Promise((Pe,se)=>{try{this.speech.cancel(),Pe()}catch(k){se(k)}})}getVoices(){return Promise.resolve(Array.from(this.getVoiceMap(),([Pe,se])=>se).map(Pe=>({name:Pe.name,language:Pe.lang,identifier:Pe.voiceURI})))}}class we{constructor(Pe){Pe.info("Speech not supported on this platform")}speak(Pe){return Promise.resolve()}stop(){return Promise.resolve()}getVoices(){return Promise.resolve([])}}let ke=(()=>{const Pe=class{constructor(k,pe,be){this.logger=k,this.tts=pe,this.locale="en-US",this.promise=Promise.resolve(),this.pending=0,this.rate=1,this.pitch=1,be.is("cordova")?this.rate=be.is("ios")?1.5:1:this.tts=window.speechSynthesis?new ze(window.speechSynthesis,k):new we(k)}setLocale(k){this.locale=k}setRate(k){this.rate=k}setPitch(k){this.pitch=k}setVoice(k){this.voice=k}speak(k){k!=this.lastMessage?(this.lastMessage=k,this.pending++,this.promise=this.promise.then(()=>0==--this.pending?this.tts.speak({text:k,locale:this.locale||"en-us",rate:this.rate,pitch:this.pitch,identifier:this.voice||null}).then(()=>{0===this.pending&&(this.lastMessage=null)}).catch(pe=>{this.logger.error("Speech error:",pe),0===this.pending&&(this.lastMessage=null)}):(this.logger.warn("Speech cancelled: "+k),Promise.resolve())).catch(pe=>{this.logger.error("Speech error:",pe)})):this.logger.info("Speech duplicate dismissed: "+k)}getVoices(k){return this.tts.getVoices().then(pe=>(pe=(pe=pe.filter(be=>be.language.startsWith(k))).filter(be=>!be.name.endsWith("-network"))).sort((be,Me)=>be.name.localeCompare(Me.name)))}};let Le=Pe;return Pe.\u0275fac=function(pe){return new(pe||Pe)(T.LFG(O),T.LFG(he.E),T.LFG(le.t4))},Pe.\u0275prov=T.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Le})()},6557:(gt,Oe,g)=>{"use strict";g.d(Oe,{t:()=>j});var i=g(4650),r=g(6475),T=g(12);let B=(()=>{const oe=class{onClick(){return window.open(this.href,this.target),!1}};let H=oe;return oe.\u0275fac=function(le){return new(le||oe)},oe.\u0275dir=i.lG2({type:oe,selectors:[["a","target",""]],hostBindings:function(le,ye){1&le&&i.NdJ("click",function(){return ye.onClick()})},inputs:{target:"target",href:"href"}}),H})();var re=g(6188),O=g(6895);let j=(()=>{const oe=class{constructor(W){this.app=W,this.version=W.getVersion()}};let H=oe;return oe.\u0275fac=function(le){return new(le||oe)(i.Y36(r.z))},oe.\u0275cmp=i.Xpm({type:oe,selectors:[["ng-component"]],decls:33,vars:3,consts:[["slot","start"],["defaultHref","/"],["translate",""],["src","assets/icons/icon-128x128.png"],["href","https://github.com/tkem/openlap/","target","_system"],[1,"ion-text-wrap"]],template:function(le,ye){1&le&&(i.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),i._UZ(3,"ion-back-button",1),i.qZA(),i.TgZ(4,"ion-title")(5,"span",2),i._uU(6,"About Open Lap"),i.qZA()()()(),i.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-thumbnail",0),i._UZ(10,"img",3),i.qZA(),i.TgZ(11,"ion-label")(12,"h1"),i._uU(13),i.ALo(14,"async"),i.qZA(),i.TgZ(15,"a",4),i._uU(16," https://github.com/tkem/openlap/ "),i.qZA()()(),i.TgZ(17,"ion-item")(18,"ion-label",5),i._uU(19," Copyright \xa9 2016-2024 Thomas Kemmer. "),i.qZA()(),i.TgZ(20,"ion-item")(21,"ion-label",5),i._uU(22," Licensed under the Apache License, Version 2.0. "),i.qZA()(),i.TgZ(23,"ion-item")(24,"ion-label",5)(25,"span",2),i._uU(26,"Translations"),i.qZA(),i._uU(27,": SdiF (Italiano), Maikeru (Espa\xf1ol), nico12 (Fran\xe7ais), Ludevik (Slovak), Ilduario (Portugu\xeas). "),i.qZA()(),i.TgZ(28,"ion-item")(29,"ion-label",5)(30,"span",2),i._uU(31,"iOS support"),i.qZA(),i._uU(32,": softyde, elliot2extreme. "),i.qZA()()()),2&le&&(i.xp6(13),i.hij("Open Lap ",i.lcZ(14,1,ye.version),""))},dependencies:[T.Sm,T.W2,T.Gu,T.Ie,T.Q$,T.Bs,T.wd,T.sr,T.oU,B,re.Pi,O.Ov],encapsulation:2}),H})()},6291:(gt,Oe,g)=>{"use strict";g.d(Oe,{X:()=>oe});var i=g(5698),r=g(227),T=g(4650),B=g(6698),re=g(4006),O=g(12),j=g(6188);let oe=(()=>{const W=class{constructor(ye,ee){this.logger=ye,this.settings=ee,this.connection=new r.ew,this.ranges={connection:5e3,request:1e3,reconnect:{lower:2e3,upper:1e4}},this.demo=!1}ngOnInit(){this.settings.getConnection().pipe((0,i.q)(1)).toPromise().then(ye=>{this.connection=ye,this.ranges={connection:ye.connectionTimeout,request:ye.requestTimeout,reconnect:{lower:ye.minReconnectDelay,upper:ye.maxReconnectDelay}},this.demo=ye.demoControlUnit}).catch(ye=>{this.logger.error("Error getting connection parameters",ye)})}ngOnDestroy(){const ye={connectionTimeout:this.ranges.connection,requestTimeout:this.ranges.request,minReconnectDelay:this.ranges.reconnect.lower,maxReconnectDelay:this.ranges.reconnect.upper,demoControlUnit:this.demo};(function H(_e,W){for(let le in _e)if(_e[le]!==W[le])return!1;return!0})(ye,this.connection)||this.settings.setConnection(Object.assign({},this.connection,ye)).catch(ee=>{this.logger.error("Error setting connection parameters",ee)})}};let _e=W;return W.\u0275fac=function(ee){return new(ee||W)(T.Y36(B.ed),T.Y36(r.de))},W.\u0275cmp=T.Xpm({type:W,selectors:[["ng-component"]],decls:36,vars:4,consts:[["slot","start"],["defaultHref","/"],["translate",""],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","1000","max","5000","step","500","snaps","true",3,"ngModel","ngModelChange"],["slot","end"],["legacy","true","slot","end","dualKnobs","true","min","2000","max","10000","step","1000","snaps","true",3,"ngModel","ngModelChange"],["translate","",3,"ngModel","ngModelChange"]],template:function(ee,ue){1&ee&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Connection"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-label",3),T._uU(11," Connection timeout "),T.qZA(),T.TgZ(12,"ion-range",4),T.NdJ("ngModelChange",function(Z){return ue.ranges.connection=Z}),T.TgZ(13,"ion-label",0),T._uU(14,"1 s"),T.qZA(),T.TgZ(15,"ion-label",5),T._uU(16,"5 s"),T.qZA()()(),T.TgZ(17,"ion-item")(18,"ion-label",3),T._uU(19," Request timeout "),T.qZA(),T.TgZ(20,"ion-range",4),T.NdJ("ngModelChange",function(Z){return ue.ranges.request=Z}),T.TgZ(21,"ion-label",0),T._uU(22,"1 s"),T.qZA(),T.TgZ(23,"ion-label",5),T._uU(24,"5 s"),T.qZA()()(),T.TgZ(25,"ion-item")(26,"ion-label",3),T._uU(27," Reconnect delay "),T.qZA(),T.TgZ(28,"ion-range",6),T.NdJ("ngModelChange",function(Z){return ue.ranges.reconnect=Z}),T.TgZ(29,"ion-label",0),T._uU(30,"2 s"),T.qZA(),T.TgZ(31,"ion-label",5),T._uU(32,"10 s"),T.qZA()()(),T.TgZ(33,"ion-item")(34,"ion-toggle",7),T.NdJ("ngModelChange",function(Z){return ue.demo=Z}),T._uU(35,"Demo Control Unit"),T.qZA()()()()),2&ee&&(T.xp6(12),T.Q6J("ngModel",ue.ranges.connection),T.xp6(8),T.Q6J("ngModel",ue.ranges.request),T.xp6(8),T.Q6J("ngModel",ue.ranges.reconnect),T.xp6(6),T.Q6J("ngModel",ue.demo))},dependencies:[re.JJ,re.On,O.Sm,O.W2,O.Gu,O.Ie,O.Q$,O.q_,O.I_,O.wd,O.ho,O.sr,O.w,O.j9,O.oU,j.Pi],encapsulation:2}),_e})()},6928:(gt,Oe,g)=>{"use strict";g.d(Oe,{B:()=>ye});var i=g(227),r=g(4650),T=g(6698),B=g(12),re=g(6895),O=g(4006),j=g(6188);function H(ee,ue){if(1&ee){const ae=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(ae);const X=r.oxw();return r.KtG(X.share())}),r.TgZ(1,"ion-label")(2,"span",3),r._uU(3,"Share"),r.qZA(),r._uU(4,"\u2026"),r.qZA()()}}function oe(ee){try{return JSON.stringify(ee)}catch{return""+ee}}let _e=(()=>{const ue=class{constructor(Z,X,he,ze){this.app=Z,this.logger=X,this.settings=he,this.controller=ze,this.options=new i.Ei,this.share=void 0,Z.share&&(this.share=()=>this.doShare())}get debugEnabled(){return this.options.debug}set debugEnabled(Z){this.options.debug=Z,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:Z=>{this.options=Z},error:Z=>{this.logger.error("Logging settings: ",Z)},complete:()=>{this.logger.debug("Logging settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}clear(){this.logger.clear(),this.dismiss()}dismiss(){return this.controller.dismiss()}doShare(){Promise.all([this.app.getName(),this.app.getVersion(),this.app.getDeviceInfo()]).then(([Z,X,he])=>{const ze=this.logger.records.map(ke=>[ke.level,ke.time,ke.args.map(oe).join(" ")].join("\t")).join("\n"),we=Z+" "+X+" ("+[he.model,he.platform,he.version].join(" ")+")";return this.app.share(we,ze)}).catch(Z=>{this.logger.error("Error sharing log:",Z)}).then(()=>{this.dismiss()})}};let ee=ue;return ue.\u0275fac=function(X){return new(X||ue)(r.Y36(T.zi),r.Y36(T.ed),r.Y36(i.de),r.Y36(B.Dh))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["ng-component"]],decls:9,vars:2,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["translate",""]],template:function(X,he){1&X&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(we){return he.debugEnabled=we}),r._uU(3,"Debug messages"),r.qZA()(),r.YNc(4,H,5,0,"ion-item",1),r.TgZ(5,"ion-item",2),r.NdJ("click",function(){return he.clear()}),r.TgZ(6,"ion-label")(7,"span",3),r._uU(8,"Clear"),r.qZA()()()()),2&X&&(r.xp6(2),r.Q6J("ngModel",he.debugEnabled),r.xp6(2),r.Q6J("ngIf",he.share))},dependencies:[re.O5,O.JJ,O.On,B.nz,B.Ie,B.Ub,B.Q$,B.w,j.Pi],encapsulation:2}),ee})();function W(ee,ue){if(1&ee&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ee){const ae=ue.$implicit,Z=r.oxw(2);r.xp6(1),r.hij(" ",Z.stringify(ae),"")}}function le(ee,ue){if(1&ee&&(r.TgZ(0,"ion-item"),r._UZ(1,"ion-icon",7),r.TgZ(2,"ion-label",8)(3,"span",0),r._uU(4),r.ALo(5,"date"),r.ALo(6,"number"),r.qZA(),r.YNc(7,W,2,1,"span",6),r.qZA()()),2&ee){const ae=ue.$implicit,Z=r.oxw();r.xp6(1),r.Q6J("name",null==Z.icons[ae.level]?null:Z.icons[ae.level].name)("ngStyle",null==Z.icons[ae.level]?null:Z.icons[ae.level].style),r.xp6(3),r.AsE("",r.xi3(5,5,ae.time,"HH:mm:ss"),".",r.xi3(6,8,ae.time%1e3,"3.0-0"),":"),r.xp6(3),r.Q6J("ngForOf",ae.args)}}let ye=(()=>{const ue=class{constructor(Z,X){this.logger=Z,this.popover=X,this.icons=[{name:"bug-sharp",style:{color:"green"}},{name:"information-circle-sharp",style:{color:"blue"}},{name:"warning-sharp",style:{color:"yellow"}},{name:"alert-circle-sharp",style:{color:"red"}}]}showMenu(Z){return this.popover.create({component:_e,event:Z}).then(X=>{X.present()})}stringify(Z){if("object"!=typeof Z||Z instanceof Error)return Z;try{return JSON.stringify(Z,null," ")}catch{return""+Z}}};let ee=ue;return ue.\u0275fac=function(X){return new(X||ue)(r.Y36(T.ed),r.Y36(B.Dh))},ue.\u0275cmp=r.Xpm({type:ue,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","primary"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngFor","ngForOf"],["slot","start",3,"name","ngStyle"],[1,"ion-text-wrap"]],template:function(X,he){1&X&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Event log"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(we){return he.showMenu(we)}),r._UZ(9,"ion-icon",5),r.qZA()()()(),r.TgZ(10,"ion-content")(11,"ion-list"),r.YNc(12,le,8,11,"ion-item",6),r.qZA()()),2&X&&(r.xp6(12),r.Q6J("ngForOf",he.logger.records))},dependencies:[re.sg,re.PC,B.YG,B.Sm,B.W2,B.Gu,B.gu,B.Ie,B.Q$,B.q_,B.wd,B.sr,B.oU,j.Pi,re.JJ,re.uU],encapsulation:2}),ee})()},6659:(gt,Oe,g)=>{"use strict";g.d(Oe,{d:()=>_e});var i=g(5698),r=g(4650),T=g(6698),B=g(227),re=g(6188),O=g(6895),j=g(4006),H=g(12);function oe(W,le){if(1&W){const ye=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",4),r.NdJ("ngModelChange",function(ue){const Z=r.CHM(ye).$implicit,X=r.oxw();return r.KtG(X.notifications[Z.id].message=ue)}),r.ALo(2,"translate"),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"ion-buttons",5)(5,"ion-button",6),r.NdJ("click",function(){const ae=r.CHM(ye).$implicit,Z=r.oxw();return r.KtG(Z.speak(ae.id))}),r._UZ(6,"ion-icon",7),r.qZA(),r.TgZ(7,"ion-toggle",8),r.NdJ("ngModelChange",function(ue){const Z=r.CHM(ye).$implicit,X=r.oxw();return r.KtG(X.notifications[Z.id].enabled=ue)}),r.qZA()()()}if(2&W){const ye=le.$implicit,ee=r.oxw();r.xp6(1),r.s9C("label",r.lcZ(2,4,ye.label)),r.Q6J("ngModel",ee.notifications[ye.id].message)("placeholder",r.lcZ(3,6,"notifications."+ye.id)),r.xp6(6),r.Q6J("ngModel",ee.notifications[ye.id].enabled)}}let _e=(()=>{const le=class{constructor(ee,ue,ae,Z){this.logger=ee,this.settings=ue,this.speech=ae,this.translate=Z,this.items=[{id:"finished",label:"Race finished"},{id:"finished1st",label:"Finished first"},{id:"finished2nd",label:"Finished second"},{id:"finished3rd",label:"Finished third"},{id:"timeout",label:"Timeout"},{id:"oneminute",label:"One minute to go"},{id:"fivelaps",label:"Five laps to go"},{id:"finallap",label:"Final lap"},{id:"yellowflag",label:"Yellow flag"},{id:"greenflag",label:"Track clear"},{id:"falsestart",label:"False start"},{id:"newleader",label:"New race leader"},{id:"bestlap",label:"Fastest lap"},{id:"bests1",label:"Fastest sector 1"},{id:"bests2",label:"Fastest sector 2"},{id:"bests3",label:"Fastest sector 3"},{id:"fuel2",label:"Fuel < 20%"},{id:"fuel1",label:"Fuel < 10%"},{id:"fuel0",label:"No fuel"},{id:"pitenter",label:"Car enters pit"},{id:"pitexit",label:"Car leaves pit"}],this.notifications={};for(let X of this.items)this.notifications[X.id]={enabled:!1,message:void 0}}ngOnInit(){this.settings.getNotifications().pipe((0,i.q)(1)).toPromise().then(ee=>{this.notifications=ee}).catch(ee=>{this.logger.error("Error getting notifications",ee)})}ngOnDestroy(){this.settings.setNotifications(this.notifications).catch(ee=>{this.logger.error("Error setting notifications",ee)})}speak(ee){this.getMessage(ee).then(ue=>{this.speech.speak(ue)})}getMessage(ee){return this.notifications[ee]&&this.notifications[ee].message?Promise.resolve(this.notifications[ee].message):this.translate.get("notifications."+ee).toPromise()}};let W=le;return le.\u0275fac=function(ue){return new(ue||le)(r.Y36(T.ed),r.Y36(B.de),r.Y36(T.vA),r.Y36(re.sK))},le.\u0275cmp=r.Xpm({type:le,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],[4,"ngFor","ngForOf"],["clearInput","","labelPlacement","stacked",3,"label","ngModel","placeholder","ngModelChange"],["slot","end"],["fill","clear",3,"click"],["name","volume-high-sharp"],["aria-label","",3,"ngModel","ngModelChange"]],template:function(ue,ae){1&ue&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Notifications"),r.qZA()()()(),r.TgZ(7,"ion-content")(8,"ion-list"),r.YNc(9,oe,8,8,"ion-item",3),r.qZA()()),2&ue&&(r.xp6(9),r.Q6J("ngForOf",ae.items))},dependencies:[O.sg,j.JJ,j.On,H.YG,H.Sm,H.W2,H.Gu,H.gu,H.pK,H.Ie,H.q_,H.wd,H.ho,H.sr,H.w,H.j9,H.oU,re.Pi,re.X$],encapsulation:2}),W})()},9297:(gt,Oe,g)=>{"use strict";g.r(Oe),g.d(Oe,{SettingsModule:()=>Z});var i=g(6895),r=g(4006),T=g(6159),B=g(12),re=g(4466),O=g(6557),j=g(6291),H=g(4650),oe=g(6188);function _e(X,he){if(1&X&&(H.TgZ(0,"ion-item",4)(1,"ion-label")(2,"h1"),H._uU(3),H.qZA(),H.TgZ(4,"h2"),H._uU(5),H.qZA(),H.TgZ(6,"p")(7,"span",2),H._uU(8,"License"),H.qZA(),H._uU(9),H.qZA()()()),2&X){const ze=he.$implicit;H.Q6J("href",ze.homepage),H.xp6(3),H.Oqu(ze.name),H.xp6(2),H.Oqu(ze.copyright||ze.author),H.xp6(4),H.hij(": ",ze.license,"")}}let W=(()=>{const he=class{constructor(){this.items=[{name:"Angular",copyright:"Super-powered by Google \xa92010-2023",license:"MIT",homepage:"https://angular.io/"},{name:"Apache Cordova",copyright:"Copyright \xa9 2023 The Apache Software Foundation",license:"Apache-2.0",homepage:"https://cordova.apache.org/"},{name:"Awesome Cordova Plugins",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/danielsogl/awesome-cordova-plugins"},{name:"Ionic",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/driftyco/ionic#readme"},{name:"RxJS",copyright:"Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors",license:"Apache-2.0",homepage:"https://github.com/ReactiveX/RxJS#readme"},{name:"cordova-plugin-app-version",copyright:"Copyright (c) 2013 White October",license:"MIT",homepage:"https://github.com/whiteoctober/cordova-plugin-app-version#readme"},{name:"cordova-plugin-ble-central",copyright:"Copyright 2014-2020 Don Coleman",license:"Apache-2.0",homepage:"https://github.com/don/cordova-plugin-ble-central#readme"},{name:"cordova-plugin-device",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-device#readme"},{name:"cordova-plugin-fullscreen",copyright:"Copyright (c) 2014, Mesmotronic Limited",license:"BSD",homepage:"https://github.com/mesmotronic/cordova-fullscreen-plugin#readme"},{name:"cordova-plugin-inappbrowser",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-inappbrowser#readme"},{name:"cordova-plugin-insomnia",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin#readme"},{name:"cordova-plugin-screen-orientation",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-screen-orientation#readme"},{name:"cordova-plugin-splashscreen",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-splashscreen#readme"},{name:"cordova-plugin-statusbar",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-statusbar#readme"},{name:"cordova-plugin-tts-advanced",author:"Sebastiaan Pasma and VILIC VANE",license:"MIT",homepage:"https://github.com/spasma/cordova-plugin-tts-advanced#readme"},{name:"cordova-plugin-whitelist",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-whitelist#readme"},{name:"cordova-plugin-x-socialsharing",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#readme"},{name:"cordova-plugin-x-toast",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin#readme"},{name:"cordova-sqlite-storage",author:"various",license:"MIT",homepage:"https://github.com/litehelpers/Cordova-sqlite-storage"},{name:"cordovarduino",copyright:"Copyright (c) 2015 Xavier Seignard",license:"MIT",homepage:"https://github.com/xseignard/cordovarduino#readme"},{name:"ngx-translate",author:"Olivier Combe",license:"MIT",homepage:"https://github.com/ngx-translate/core#readme"}]}};let X=he;return he.\u0275fac=function(ke){return new(ke||he)},he.\u0275cmp=H.Xpm({type:he,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["target","_system",3,"href",4,"ngFor","ngForOf"],["target","_system",3,"href"]],template:function(ke,Le){1&ke&&(H.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),H._UZ(3,"ion-back-button",1),H.qZA(),H.TgZ(4,"ion-title")(5,"span",2),H._uU(6,"Open source licenses"),H.qZA()()()(),H.TgZ(7,"ion-content")(8,"ion-list"),H.YNc(9,_e,10,4,"ion-item",3),H.qZA()()),2&ke&&(H.xp6(9),H.Q6J("ngForOf",Le.items))},dependencies:[i.sg,B.Sm,B.W2,B.Gu,B.Ie,B.Q$,B.q_,B.wd,B.sr,B.oU,oe.Pi],encapsulation:2}),X})();var le=g(6928),ye=g(6659),ee=g(7162),ue=g(235);const ae=[{path:"",component:ee.N},{path:"about",component:O.t},{path:"logging",component:le.B},{path:"licenses",component:W},{path:"connection",component:j.X},{path:"notifications",component:ye.d},{path:"voice",component:ue.O}];let Z=(()=>{const he=class{};let X=he;return he.\u0275fac=function(ke){return new(ke||he)},he.\u0275mod=H.oAB({type:he}),he.\u0275inj=H.cJS({imports:[i.ez,r.u5,B.Pc,T.Bz.forChild(ae),re.m,T.Bz]}),X})()},7162:(gt,Oe,g)=>{"use strict";g.d(Oe,{N:()=>oe});var i=g(5861),r=g(227),T=g(4650),B=g(6698),re=g(4006),O=g(12),j=g(6159),H=g(6188);let oe=(()=>{const W=class{constructor(ye,ee,ue){this.alert=ye,this.settings=ee,this.speech=ue,this.options=new r.Ei}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(ye=>{this.options=ye})}ngOnDestroy(){this.subscription.unsubscribe()}reset(){this.alert.show({message:"Reset all user settings to default values?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>{this.settings.clear()}}]})}updateLanguage(){var ye=this;return(0,i.Z)(function*(){return ye.options.language&&(yield ye.speech.getVoices(ye.options.language)).find(ue=>ue.identifier==ye.options.voice)||(ye.options.voice=""),ye.settings.setOptions(ye.options)})()}};let _e=W;return W.\u0275fac=function(ee){return new(ee||W)(T.Y36(B.Pn),T.Y36(r.de),T.Y36(B.vA))},W.\u0275cmp=T.Xpm({type:W,selectors:[["ng-component"]],decls:57,vars:10,consts:[["slot","start"],["defaultHref","/"],["translate",""],["lines","full"],[3,"label","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],["value","de"],["value","en"],["value","es"],["value","fr"],["value","it"],["value","pt"],["value","sk"],["routerLink","/settings/voice"],["routerLink","/settings/connection"],["routerLink","/settings/notifications"],["button","",3,"click"],["routerLink","/settings/about"],["href","https://github.com/tkem/openlap/blob/master/PRIVACY.md","target","_system"],["routerLink","/settings/licenses"],["routerLink","/settings/logging"]],template:function(ee,ue){1&ee&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Settings"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list",3)(9,"ion-item")(10,"ion-select",4),T.NdJ("ngModelChange",function(Z){return ue.options.language=Z})("ionChange",function(){return ue.updateLanguage()}),T.ALo(11,"translate"),T.ALo(12,"translate"),T.ALo(13,"translate"),T.TgZ(14,"ion-select-option",5),T._uU(15,"Default"),T.qZA(),T.TgZ(16,"ion-select-option",6),T._uU(17,"Deutsch"),T.qZA(),T.TgZ(18,"ion-select-option",7),T._uU(19,"English"),T.qZA(),T.TgZ(20,"ion-select-option",8),T._uU(21,"Espa\xf1ol"),T.qZA(),T.TgZ(22,"ion-select-option",9),T._uU(23,"Fran\xe7ais"),T.qZA(),T.TgZ(24,"ion-select-option",10),T._uU(25,"Italiano"),T.qZA(),T.TgZ(26,"ion-select-option",11),T._uU(27,"Portugu\xeas"),T.qZA(),T.TgZ(28,"ion-select-option",12),T._uU(29,"Slovak"),T.qZA()()(),T.TgZ(30,"ion-item",13)(31,"ion-label",2),T._uU(32,"Voice"),T.qZA()(),T.TgZ(33,"ion-item",14)(34,"ion-label",2),T._uU(35,"Connection"),T.qZA()(),T.TgZ(36,"ion-item",15)(37,"ion-label",2),T._uU(38,"Notifications"),T.qZA()(),T.TgZ(39,"ion-item",16),T.NdJ("click",function(){return ue.reset()}),T.TgZ(40,"ion-label",2),T._uU(41,"Reset settings"),T.qZA()(),T.TgZ(42,"ion-list-header")(43,"ion-label",2),T._uU(44,"About"),T.qZA()(),T.TgZ(45,"ion-item",17)(46,"ion-label",2),T._uU(47,"About Open Lap"),T.qZA()(),T.TgZ(48,"ion-item",18)(49,"ion-label",2),T._uU(50,"Privacy policy"),T.qZA()(),T.TgZ(51,"ion-item",19)(52,"ion-label",2),T._uU(53,"Open source licenses"),T.qZA()(),T.TgZ(54,"ion-item",20)(55,"ion-label",2),T._uU(56,"Event log"),T.qZA()()()()),2&ee&&(T.xp6(10),T.s9C("label",T.lcZ(11,4,"Language")),T.s9C("cancelText",T.lcZ(12,6,"Cancel")),T.s9C("okText",T.lcZ(13,8,"OK")),T.Q6J("ngModel",ue.options.language))},dependencies:[re.JJ,re.On,O.Sm,O.W2,O.Gu,O.Ie,O.Q$,O.q_,O.yh,O.t9,O.n0,O.wd,O.sr,O.QI,O.oU,O.YI,j.rH,H.Pi,H.X$],encapsulation:2}),_e})()},235:(gt,Oe,g)=>{"use strict";g.d(Oe,{O:()=>_e});var i=g(5861),r=g(227),T=g(4650),B=g(6698),re=g(6188),O=g(6895),j=g(4006),H=g(12);function oe(W,le){if(1&W&&(T.TgZ(0,"ion-select-option",12),T._uU(1),T.qZA()),2&W){const ye=le.$implicit;T.s9C("value",ye.identifier),T.xp6(1),T.Oqu(ye.name)}}let _e=(()=>{const le=class{constructor(ee,ue,ae){this.settings=ee,this.speech=ue,this.translate=ae,this.options=new r.Ei,this.voices=[]}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(ee=>{this.options=ee,this.updateVoices()})}ngOnDestroy(){this.subscription.unsubscribe()}resetRate(){this.options.rate=1e3,this.update()}resetPitch(){this.options.pitch=1e3,this.update()}update(){var ee=this;return(0,i.Z)(function*(){return ee.settings.setOptions(ee.options)})()}test(){var ee=this;return(0,i.Z)(function*(){const ue=ee.translate.instant("notifications.example");ee.speech.speak(ue)})()}updateVoices(){var ee=this;return(0,i.Z)(function*(){ee.voices=yield ee.speech.getVoices(ee.options.language)})()}};let W=le;return le.\u0275fac=function(ue){return new(ue||le)(T.Y36(r.de),T.Y36(B.vA),T.Y36(re.sK))},le.\u0275cmp=T.Xpm({type:le,selectors:[["ng-component"]],decls:34,vars:14,consts:[["slot","start"],["defaultHref","/"],["translate",""],[3,"label","disabled","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","200","max","1800",3,"ngModel","ngModelChange","ionChange"],["slot","end"],["fill","clear",3,"click"],["name","refresh-outline"],[3,"click"],[3,"value"]],template:function(ue,ae){1&ue&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Voice"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-select",3),T.NdJ("ngModelChange",function(X){return ae.options.voice=X})("ionChange",function(){return ae.update()}),T.ALo(11,"translate"),T.ALo(12,"translate"),T.ALo(13,"translate"),T.TgZ(14,"ion-select-option",4),T._uU(15,"Default"),T.qZA(),T.YNc(16,oe,2,2,"ion-select-option",5),T.qZA()(),T.TgZ(17,"ion-item")(18,"ion-label",6),T._uU(19," Rate "),T.qZA(),T.TgZ(20,"ion-range",7),T.NdJ("ngModelChange",function(X){return ae.options.rate=X})("ionChange",function(){return ae.update()}),T.qZA(),T.TgZ(21,"ion-buttons",8)(22,"ion-button",9),T.NdJ("click",function(){return ae.resetRate()}),T._UZ(23,"ion-icon",10),T.qZA()()(),T.TgZ(24,"ion-item")(25,"ion-label",6),T._uU(26," Pitch "),T.qZA(),T.TgZ(27,"ion-range",7),T.NdJ("ngModelChange",function(X){return ae.options.pitch=X})("ionChange",function(){return ae.update()}),T.qZA(),T.TgZ(28,"ion-buttons",8)(29,"ion-button",9),T.NdJ("click",function(){return ae.resetPitch()}),T._UZ(30,"ion-icon",10),T.qZA()()(),T.TgZ(31,"ion-item")(32,"ion-button",11),T.NdJ("click",function(){return ae.test()}),T._uU(33,"Test"),T.qZA()()()()),2&ue&&(T.xp6(10),T.s9C("label",T.lcZ(11,8,"Voice")),T.s9C("cancelText",T.lcZ(12,10,"Cancel")),T.s9C("okText",T.lcZ(13,12,"OK")),T.Q6J("disabled",!ae.options.language||ae.voices.length<2)("ngModel",ae.options.voice),T.xp6(6),T.Q6J("ngForOf",ae.voices),T.xp6(4),T.Q6J("ngModel",ae.options.rate),T.xp6(7),T.Q6J("ngModel",ae.options.pitch))},dependencies:[O.sg,j.JJ,j.On,H.YG,H.Sm,H.W2,H.Gu,H.gu,H.Ie,H.Q$,H.q_,H.I_,H.t9,H.n0,H.wd,H.sr,H.QI,H.j9,H.oU,re.Pi,re.X$],encapsulation:2}),W})()},4466:(gt,Oe,g)=>{"use strict";g.d(Oe,{m:()=>B});var i=g(6895),r=g(6188),T=g(4650);let B=(()=>{const O=class{};let re=O;return O.\u0275fac=function(oe){return new(oe||O)},O.\u0275mod=T.oAB({type:O}),O.\u0275inj=T.cJS({imports:[i.ez,r.aw,r.aw]}),re})()},2587:(gt,Oe,g)=>{"use strict";var i=g(1481),r=g(4650),B=(g(89),g(6895)),re=g(9646),O=g(9751),j=g(4351),H=g(9300),oe=g(4004);class _e{}class W{}class le{constructor(l){this.normalizedNames=new Map,this.lazyUpdate=null,l?this.lazyInit="string"==typeof l?()=>{this.headers=new Map,l.split("\n").forEach(f=>{const y=f.indexOf(":");if(y>0){const I=f.slice(0,y),Y=I.toLowerCase(),Fe=f.slice(y+1).trim();this.maybeSetNormalizedName(I,Y),this.headers.has(Y)?this.headers.get(Y).push(Fe):this.headers.set(Y,[Fe])}})}:()=>{this.headers=new Map,Object.entries(l).forEach(([f,y])=>{let I;if(I="string"==typeof y?[y]:"number"==typeof y?[y.toString()]:y.map(Y=>Y.toString()),I.length>0){const Y=f.toLowerCase();this.headers.set(Y,I),this.maybeSetNormalizedName(f,Y)}})}:this.headers=new Map}has(l){return this.init(),this.headers.has(l.toLowerCase())}get(l){this.init();const f=this.headers.get(l.toLowerCase());return f&&f.length>0?f[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(l){return this.init(),this.headers.get(l.toLowerCase())||null}append(l,f){return this.clone({name:l,value:f,op:"a"})}set(l,f){return this.clone({name:l,value:f,op:"s"})}delete(l,f){return this.clone({name:l,value:f,op:"d"})}maybeSetNormalizedName(l,f){this.normalizedNames.has(f)||this.normalizedNames.set(f,l)}init(){this.lazyInit&&(this.lazyInit instanceof le?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(l=>this.applyUpdate(l)),this.lazyUpdate=null))}copyFrom(l){l.init(),Array.from(l.headers.keys()).forEach(f=>{this.headers.set(f,l.headers.get(f)),this.normalizedNames.set(f,l.normalizedNames.get(f))})}clone(l){const f=new le;return f.lazyInit=this.lazyInit&&this.lazyInit instanceof le?this.lazyInit:this,f.lazyUpdate=(this.lazyUpdate||[]).concat([l]),f}applyUpdate(l){const f=l.name.toLowerCase();switch(l.op){case"a":case"s":let y=l.value;if("string"==typeof y&&(y=[y]),0===y.length)return;this.maybeSetNormalizedName(l.name,f);const I=("a"===l.op?this.headers.get(f):void 0)||[];I.push(...y),this.headers.set(f,I);break;case"d":const Y=l.value;if(Y){let Fe=this.headers.get(f);if(!Fe)return;Fe=Fe.filter(pt=>-1===Y.indexOf(pt)),0===Fe.length?(this.headers.delete(f),this.normalizedNames.delete(f)):this.headers.set(f,Fe)}else this.headers.delete(f),this.normalizedNames.delete(f)}}forEach(l){this.init(),Array.from(this.normalizedNames.keys()).forEach(f=>l(this.normalizedNames.get(f),this.headers.get(f)))}}class ee{encodeKey(l){return X(l)}encodeValue(l){return X(l)}decodeKey(l){return decodeURIComponent(l)}decodeValue(l){return decodeURIComponent(l)}}const ae=/%(\d[a-f0-9])/gi,Z={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function X(p){return encodeURIComponent(p).replace(ae,(l,f)=>Z[f]??l)}function he(p){return`${p}`}class ze{constructor(l={}){if(this.updates=null,this.cloneFrom=null,this.encoder=l.encoder||new ee,l.fromString){if(l.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ue(p,l){const f=new Map;return p.length>0&&p.replace(/^\?/,"").split("&").forEach(I=>{const Y=I.indexOf("="),[Fe,pt]=-1==Y?[l.decodeKey(I),""]:[l.decodeKey(I.slice(0,Y)),l.decodeValue(I.slice(Y+1))],nt=f.get(Fe)||[];nt.push(pt),f.set(Fe,nt)}),f}(l.fromString,this.encoder)}else l.fromObject?(this.map=new Map,Object.keys(l.fromObject).forEach(f=>{const y=l.fromObject[f],I=Array.isArray(y)?y.map(he):[he(y)];this.map.set(f,I)})):this.map=null}has(l){return this.init(),this.map.has(l)}get(l){this.init();const f=this.map.get(l);return f?f[0]:null}getAll(l){return this.init(),this.map.get(l)||null}keys(){return this.init(),Array.from(this.map.keys())}append(l,f){return this.clone({param:l,value:f,op:"a"})}appendAll(l){const f=[];return Object.keys(l).forEach(y=>{const I=l[y];Array.isArray(I)?I.forEach(Y=>{f.push({param:y,value:Y,op:"a"})}):f.push({param:y,value:I,op:"a"})}),this.clone(f)}set(l,f){return this.clone({param:l,value:f,op:"s"})}delete(l,f){return this.clone({param:l,value:f,op:"d"})}toString(){return this.init(),this.keys().map(l=>{const f=this.encoder.encodeKey(l);return this.map.get(l).map(y=>f+"="+this.encoder.encodeValue(y)).join("&")}).filter(l=>""!==l).join("&")}clone(l){const f=new ze({encoder:this.encoder});return f.cloneFrom=this.cloneFrom||this,f.updates=(this.updates||[]).concat(l),f}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(l=>this.map.set(l,this.cloneFrom.map.get(l))),this.updates.forEach(l=>{switch(l.op){case"a":case"s":const f=("a"===l.op?this.map.get(l.param):void 0)||[];f.push(he(l.value)),this.map.set(l.param,f);break;case"d":if(void 0===l.value){this.map.delete(l.param);break}{let y=this.map.get(l.param)||[];const I=y.indexOf(he(l.value));-1!==I&&y.splice(I,1),y.length>0?this.map.set(l.param,y):this.map.delete(l.param)}}}),this.cloneFrom=this.updates=null)}}class ke{constructor(){this.map=new Map}set(l,f){return this.map.set(l,f),this}get(l){return this.map.has(l)||this.map.set(l,l.defaultValue()),this.map.get(l)}delete(l){return this.map.delete(l),this}has(l){return this.map.has(l)}keys(){return this.map.keys()}}function Pe(p){return typeof ArrayBuffer<"u"&&p instanceof ArrayBuffer}function se(p){return typeof Blob<"u"&&p instanceof Blob}function k(p){return typeof FormData<"u"&&p instanceof FormData}class be{constructor(l,f,y,I){let Y;if(this.url=f,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=l.toUpperCase(),function Le(p){switch(p){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||I?(this.body=void 0!==y?y:null,Y=I):Y=y,Y&&(this.reportProgress=!!Y.reportProgress,this.withCredentials=!!Y.withCredentials,Y.responseType&&(this.responseType=Y.responseType),Y.headers&&(this.headers=Y.headers),Y.context&&(this.context=Y.context),Y.params&&(this.params=Y.params)),this.headers||(this.headers=new le),this.context||(this.context=new ke),this.params){const Fe=this.params.toString();if(0===Fe.length)this.urlWithParams=f;else{const pt=f.indexOf("?");this.urlWithParams=f+(-1===pt?"?":ptVn.set(At,l.setHeaders[At]),nt)),l.setParams&&(xt=Object.keys(l.setParams).reduce((Vn,At)=>Vn.set(At,l.setParams[At]),xt)),new be(f,y,Y,{params:xt,headers:nt,context:Kt,reportProgress:pt,responseType:I,withCredentials:Fe})}}var Me=(()=>((Me=Me||{})[Me.Sent=0]="Sent",Me[Me.UploadProgress=1]="UploadProgress",Me[Me.ResponseHeader=2]="ResponseHeader",Me[Me.DownloadProgress=3]="DownloadProgress",Me[Me.Response=4]="Response",Me[Me.User=5]="User",Me))();class je{constructor(l,f=200,y="OK"){this.headers=l.headers||new le,this.status=void 0!==l.status?l.status:f,this.statusText=l.statusText||y,this.url=l.url||null,this.ok=this.status>=200&&this.status<300}}class ce extends je{constructor(l={}){super(l),this.type=Me.ResponseHeader}clone(l={}){return new ce({headers:l.headers||this.headers,status:void 0!==l.status?l.status:this.status,statusText:l.statusText||this.statusText,url:l.url||this.url||void 0})}}class $e extends je{constructor(l={}){super(l),this.type=Me.Response,this.body=void 0!==l.body?l.body:null}clone(l={}){return new $e({body:void 0!==l.body?l.body:this.body,headers:l.headers||this.headers,status:void 0!==l.status?l.status:this.status,statusText:l.statusText||this.statusText,url:l.url||this.url||void 0})}}class qe extends je{constructor(l){super(l,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${l.url||"(unknown url)"}`:`Http failure response for ${l.url||"(unknown url)"}: ${l.status} ${l.statusText}`,this.error=l.error||null}}function lt(p,l){return{body:l,headers:p.headers,context:p.context,observe:p.observe,params:p.params,reportProgress:p.reportProgress,responseType:p.responseType,withCredentials:p.withCredentials}}let ve=(()=>{class p{constructor(f){this.handler=f}request(f,y,I={}){let Y;if(f instanceof be)Y=f;else{let nt,xt;nt=I.headers instanceof le?I.headers:new le(I.headers),I.params&&(xt=I.params instanceof ze?I.params:new ze({fromObject:I.params})),Y=new be(f,y,void 0!==I.body?I.body:null,{headers:nt,context:I.context,params:xt,reportProgress:I.reportProgress,responseType:I.responseType||"json",withCredentials:I.withCredentials})}const Fe=(0,re.of)(Y).pipe((0,j.b)(nt=>this.handler.handle(nt)));if(f instanceof be||"events"===I.observe)return Fe;const pt=Fe.pipe((0,H.h)(nt=>nt instanceof $e));switch(I.observe||"body"){case"body":switch(Y.responseType){case"arraybuffer":return pt.pipe((0,oe.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nt.body}));case"blob":return pt.pipe((0,oe.U)(nt=>{if(null!==nt.body&&!(nt.body instanceof Blob))throw new Error("Response is not a Blob.");return nt.body}));case"text":return pt.pipe((0,oe.U)(nt=>{if(null!==nt.body&&"string"!=typeof nt.body)throw new Error("Response is not a string.");return nt.body}));default:return pt.pipe((0,oe.U)(nt=>nt.body))}case"response":return pt;default:throw new Error(`Unreachable: unhandled observe type ${I.observe}}`)}}delete(f,y={}){return this.request("DELETE",f,y)}get(f,y={}){return this.request("GET",f,y)}head(f,y={}){return this.request("HEAD",f,y)}jsonp(f,y){return this.request("JSONP",f,{params:(new ze).append(y,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(f,y={}){return this.request("OPTIONS",f,y)}patch(f,y,I={}){return this.request("PATCH",f,lt(I,y))}post(f,y,I={}){return this.request("POST",f,lt(I,y))}put(f,y,I={}){return this.request("PUT",f,lt(I,y))}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(_e))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})();function De(p,l){return l(p)}function N(p,l){return(f,y)=>l.intercept(f,{handle:I=>p(I,y)})}const V=new r.OlP("HTTP_INTERCEPTORS"),K=new r.OlP("HTTP_INTERCEPTOR_FNS");function z(){let p=null;return(l,f)=>(null===p&&(p=((0,r.f3M)(V,{optional:!0})??[]).reduceRight(N,De)),p(l,f))}let Be=(()=>{class p extends _e{constructor(f,y){super(),this.backend=f,this.injector=y,this.chain=null}handle(f){if(null===this.chain){const y=Array.from(new Set(this.injector.get(K)));this.chain=y.reduceRight((I,Y)=>function P(p,l,f){return(y,I)=>f.runInContext(()=>l(y,Y=>p(Y,I)))}(I,Y,this.injector),De)}return this.chain(f,y=>this.backend.handle(y))}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(W),r.LFG(r.lqb))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})();const Et=/^\)\]\}',?\n/;let on=(()=>{class p{constructor(f){this.xhrFactory=f}handle(f){if("JSONP"===f.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new O.y(y=>{const I=this.xhrFactory.build();if(I.open(f.method,f.urlWithParams),f.withCredentials&&(I.withCredentials=!0),f.headers.forEach((It,zt)=>I.setRequestHeader(It,zt.join(","))),f.headers.has("Accept")||I.setRequestHeader("Accept","application/json, text/plain, */*"),!f.headers.has("Content-Type")){const It=f.detectContentTypeHeader();null!==It&&I.setRequestHeader("Content-Type",It)}if(f.responseType){const It=f.responseType.toLowerCase();I.responseType="json"!==It?It:"text"}const Y=f.serializeBody();let Fe=null;const pt=()=>{if(null!==Fe)return Fe;const It=I.statusText||"OK",zt=new le(I.getAllResponseHeaders()),ln=function Ct(p){return"responseURL"in p&&p.responseURL?p.responseURL:/^X-Request-URL:/m.test(p.getAllResponseHeaders())?p.getResponseHeader("X-Request-URL"):null}(I)||f.url;return Fe=new ce({headers:zt,status:I.status,statusText:It,url:ln}),Fe},nt=()=>{let{headers:It,status:zt,statusText:ln,url:_n}=pt(),sr=null;204!==zt&&(sr=typeof I.response>"u"?I.responseText:I.response),0===zt&&(zt=sr?200:0);let Vo=zt>=200&&zt<300;if("json"===f.responseType&&"string"==typeof sr){const Fc=sr;sr=sr.replace(Et,"");try{sr=""!==sr?JSON.parse(sr):null}catch(Lc){sr=Fc,Vo&&(Vo=!1,sr={error:Lc,text:sr})}}Vo?(y.next(new $e({body:sr,headers:It,status:zt,statusText:ln,url:_n||void 0})),y.complete()):y.error(new qe({error:sr,headers:It,status:zt,statusText:ln,url:_n||void 0}))},xt=It=>{const{url:zt}=pt(),ln=new qe({error:It,status:I.status||0,statusText:I.statusText||"Unknown Error",url:zt||void 0});y.error(ln)};let Kt=!1;const Vn=It=>{Kt||(y.next(pt()),Kt=!0);let zt={type:Me.DownloadProgress,loaded:It.loaded};It.lengthComputable&&(zt.total=It.total),"text"===f.responseType&&I.responseText&&(zt.partialText=I.responseText),y.next(zt)},At=It=>{let zt={type:Me.UploadProgress,loaded:It.loaded};It.lengthComputable&&(zt.total=It.total),y.next(zt)};return I.addEventListener("load",nt),I.addEventListener("error",xt),I.addEventListener("timeout",xt),I.addEventListener("abort",xt),f.reportProgress&&(I.addEventListener("progress",Vn),null!==Y&&I.upload&&I.upload.addEventListener("progress",At)),I.send(Y),y.next({type:Me.Sent}),()=>{I.removeEventListener("error",xt),I.removeEventListener("abort",xt),I.removeEventListener("load",nt),I.removeEventListener("timeout",xt),f.reportProgress&&(I.removeEventListener("progress",Vn),null!==Y&&I.upload&&I.upload.removeEventListener("progress",At)),I.readyState!==I.DONE&&I.abort()}})}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(B.JF))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})();const Jt=new r.OlP("XSRF_ENABLED"),en=new r.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),sn=new r.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class mn{}let Bt=(()=>{class p{constructor(f,y,I){this.doc=f,this.platform=y,this.cookieName=I,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const f=this.doc.cookie||"";return f!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,B.Mx)(f,this.cookieName),this.lastCookieString=f),this.lastToken}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(B.K0),r.LFG(r.Lbi),r.LFG(en))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})();function wt(p,l){const f=p.url.toLowerCase();if(!(0,r.f3M)(Jt)||"GET"===p.method||"HEAD"===p.method||f.startsWith("http://")||f.startsWith("https://"))return l(p);const y=(0,r.f3M)(mn).getToken(),I=(0,r.f3M)(sn);return null!=y&&!p.headers.has(I)&&(p=p.clone({headers:p.headers.set(I,y)})),l(p)}var Cn=(()=>((Cn=Cn||{})[Cn.Interceptors=0]="Interceptors",Cn[Cn.LegacyInterceptors=1]="LegacyInterceptors",Cn[Cn.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Cn[Cn.NoXsrfProtection=3]="NoXsrfProtection",Cn[Cn.JsonpSupport=4]="JsonpSupport",Cn[Cn.RequestsMadeViaParent=5]="RequestsMadeViaParent",Cn))();function bn(p,l){return{\u0275kind:p,\u0275providers:l}}function or(...p){const l=[ve,on,Be,{provide:_e,useExisting:Be},{provide:W,useExisting:on},{provide:K,useValue:wt,multi:!0},{provide:Jt,useValue:!0},{provide:mn,useClass:Bt}];for(const f of p)l.push(...f.\u0275providers);return(0,r.MR2)(l)}const er=new r.OlP("LEGACY_INTERCEPTOR_FN");let ir=(()=>{class p{}return p.\u0275fac=function(f){return new(f||p)},p.\u0275mod=r.oAB({type:p}),p.\u0275inj=r.cJS({providers:[or(bn(Cn.LegacyInterceptors,[{provide:er,useFactory:z},{provide:K,useExisting:er,multi:!0}]))]}),p})();var Gn=g(6159),Er=g(9770),vr=g(2843),Ir=g(4968),Fn=g(7272),Dn=g(7579),Pn=g(5032);const cn=new O.y(Pn.Z);var Je=g(6451),He=g(3900),Ee=g(4033),Xe=g(576),it=g(8421),St=g(4482);const En={connector:()=>new Dn.x};function Ln(p,l=En){const{connector:f}=l;return(0,St.e)((y,I)=>{const Y=f();(0,it.Xf)(p(function Qt(p){return new O.y(l=>p.subscribe(l))}(Y))).subscribe(I),I.add(y.subscribe(Y))})}function yr(p,l){const f=(0,Xe.m)(p)?p:()=>p;return(0,Xe.m)(l)?Ln(l,{connector:f}):y=>new Ee.c(y,f)}function Jn(p){return p?l=>Ln(p)(l):l=>yr(new Dn.x)(l)}var Mn=g(5698),Wn=g(8505),br=g(727);class Sr extends br.w0{constructor(l,f){super()}schedule(l,f=0){return this}}const tr={setInterval(p,l,...f){const{delegate:y}=tr;return y?.setInterval?y.setInterval(p,l,...f):setInterval(p,l,...f)},clearInterval(p){const{delegate:l}=tr;return(l?.clearInterval||clearInterval)(p)},delegate:void 0};var Xt=g(8737),kn=g(6063);class Bn{constructor(l,f=Bn.now){this.schedulerActionCtor=l,this.now=f}schedule(l,f=0,y){return new this.schedulerActionCtor(this,l).schedule(y,f)}}Bn.now=kn.l.now;const lr=new class Tn extends Bn{constructor(l,f=Bn.now){super(l,f),this.actions=[],this._active=!1}flush(l){const{actions:f}=this;if(this._active)return void f.push(l);let y;this._active=!0;do{if(y=l.execute(l.state,l.delay))break}while(l=f.shift());if(this._active=!1,y){for(;l=f.shift();)l.unsubscribe();throw y}}}(class Zn extends Sr{constructor(l,f){super(l,f),this.scheduler=l,this.work=f,this.pending=!1}schedule(l,f=0){var y;if(this.closed)return this;this.state=l;const I=this.id,Y=this.scheduler;return null!=I&&(this.id=this.recycleAsyncId(Y,I,f)),this.pending=!0,this.delay=f,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(Y,this.id,f),this}requestAsyncId(l,f,y=0){return tr.setInterval(l.flush.bind(l,this),y)}recycleAsyncId(l,f,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return f;null!=f&&tr.clearInterval(f)}execute(l,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(l,f);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,f){let I,y=!1;try{this.work(l)}catch(Y){y=!0,I=Y||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),I}unsubscribe(){if(!this.closed){const{id:l,scheduler:f}=this,{actions:y}=f;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Xt.P)(y,this),null!=l&&(this.id=this.recycleAsyncId(f,l,null)),this.delay=null,super.unsubscribe()}}}),In=lr;var $n=g(5403),Ot=g(9718),Rt=g(5577);function Gt(p,l){return l?f=>(0,Fn.z)(l.pipe((0,Mn.q)(1),function Kn(){return(0,St.e)((p,l)=>{p.subscribe((0,$n.x)(l,Pn.Z))})}()),f.pipe(Gt(p))):(0,Rt.z)((f,y)=>(0,it.Xf)(p(f,y)).pipe((0,Mn.q)(1),(0,Ot.h)(f)))}var ge=g(3532);function D(p){return p instanceof Date&&!isNaN(p)}function w(p=0,l,f=In){let y=-1;return null!=l&&((0,ge.K)(l)?f=l:y=l),new O.y(I=>{let Y=D(p)?+p-f.now():p;Y<0&&(Y=0);let Fe=0;return f.schedule(function(){I.closed||(I.next(Fe++),0<=y?this.schedule(void 0,y):I.complete())},Y)})}const G="Service workers are disabled or not supported by this browser";class Ie{constructor(l){if(this.serviceWorker=l,l){const y=(0,Ir.R)(l,"controllerchange").pipe((0,oe.U)(()=>l.controller)),I=(0,Er.P)(()=>(0,re.of)(l.controller)),Y=(0,Fn.z)(I,y);this.worker=Y.pipe((0,H.h)(Kt=>!!Kt)),this.registration=this.worker.pipe((0,He.w)(()=>l.getRegistration()));const xt=(0,Ir.R)(l,"message").pipe((0,oe.U)(Kt=>Kt.data)).pipe((0,H.h)(Kt=>Kt&&Kt.type)).pipe(Jn());xt.connect(),this.events=xt}else this.worker=this.events=this.registration=function me(p){return(0,Er.P)(()=>(0,vr._)(new Error(p)))}(G)}postMessage(l,f){return this.worker.pipe((0,Mn.q)(1),(0,Wn.b)(y=>{y.postMessage({action:l,...f})})).toPromise().then(()=>{})}postMessageWithOperation(l,f,y){const I=this.waitForOperationCompleted(y),Y=this.postMessage(l,f);return Promise.all([Y,I]).then(([,Fe])=>Fe)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(l){let f;return f="string"==typeof l?y=>y.type===l:y=>l.includes(y.type),this.events.pipe((0,H.h)(f))}nextEventOfType(l){return this.eventsOfType(l).pipe((0,Mn.q)(1))}waitForOperationCompleted(l){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,H.h)(f=>f.nonce===l),(0,Mn.q)(1),(0,oe.U)(f=>{if(void 0!==f.result)return f.result;throw new Error(f.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let Ve=(()=>{class p{get isEnabled(){return this.sw.isEnabled}constructor(f){if(this.sw=f,this.pushManager=null,this.subscriptionChanges=new Dn.x,!f.isEnabled)return this.messages=cn,this.notificationClicks=cn,void(this.subscription=cn);this.messages=this.sw.eventsOfType("PUSH").pipe((0,oe.U)(I=>I.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,oe.U)(I=>I.data)),this.pushManager=this.sw.registration.pipe((0,oe.U)(I=>I.pushManager));const y=this.pushManager.pipe((0,He.w)(I=>I.getSubscription()));this.subscription=(0,Je.T)(y,this.subscriptionChanges)}requestSubscription(f){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(G));const y={userVisibleOnly:!0};let I=this.decodeBase64(f.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),Y=new Uint8Array(new ArrayBuffer(I.length));for(let Fe=0;FeFe.subscribe(y)),(0,Mn.q)(1)).toPromise().then(Fe=>(this.subscriptionChanges.next(Fe),Fe))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Mn.q)(1),(0,He.w)(y=>{if(null===y)throw new Error("Not subscribed to push notifications.");return y.unsubscribe().then(I=>{if(!I)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(G))}decodeBase64(f){return atob(f)}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(Ie))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})(),ot=(()=>{class p{get isEnabled(){return this.sw.isEnabled}constructor(f){if(this.sw=f,!f.isEnabled)return this.versionUpdates=cn,this.available=cn,this.activated=cn,void(this.unrecoverable=cn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,H.h)(y=>"VERSION_READY"===y.type),(0,oe.U)(y=>({type:"UPDATE_AVAILABLE",current:y.currentVersion,available:y.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));const f=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:f},f)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));const f=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:f},f)}}return p.\u0275fac=function(f){return new(f||p)(r.LFG(Ie))},p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p})();class ct{}const vt=new r.OlP("NGSW_REGISTER_SCRIPT");function xe(p,l,f,y){return()=>{if(!(0,B.NF)(y)||!("serviceWorker"in navigator)||!1===f.enabled)return;let I;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof f.registrationStrategy)I=f.registrationStrategy();else{const[Fe,...pt]=(f.registrationStrategy||"registerWhenStable:30000").split(":");switch(Fe){case"registerImmediately":I=(0,re.of)(null);break;case"registerWithDelay":I=Ze(+pt[0]||0);break;case"registerWhenStable":I=pt[0]?(0,Je.T)(L(p),Ze(+pt[0])):L(p);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${f.registrationStrategy}`)}}p.get(r.R0b).runOutsideAngular(()=>I.pipe((0,Mn.q)(1)).subscribe(()=>navigator.serviceWorker.register(l,{scope:f.scope}).catch(Fe=>console.error("Service worker registration failed with:",Fe))))}}function Ze(p){return(0,re.of)(null).pipe(function A(p,l=lr){const f=w(p,l);return Gt(()=>f)}(p))}function L(p){return p.get(r.z2F).isStable.pipe((0,H.h)(f=>f))}function q(p,l){return new Ie((0,B.NF)(l)&&!1!==p.enabled?navigator.serviceWorker:void 0)}let Te=(()=>{class p{static register(f,y={}){return{ngModule:p,providers:[{provide:vt,useValue:f},{provide:ct,useValue:y},{provide:Ie,useFactory:q,deps:[ct,r.Lbi]},{provide:r.ip1,useFactory:xe,deps:[r.zs3,vt,ct,r.Lbi],multi:!0}]}}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275mod=r.oAB({type:p}),p.\u0275inj=r.cJS({providers:[Ve,ot]}),p})();var Re=g(958),Ce=g(12),Ye=g(3771),mt=g(9509),ht=g(7582),ut=g(7598),bt=function(p){function l(){return null!==p&&p.apply(this,arguments)||this}return(0,ht.ZT)(l,p),l.prototype.scan=function(f,y){return(0,ut.DM)(this,"scan",{observable:!0},arguments)},l.prototype.startScan=function(f){return(0,ut.DM)(this,"startScan",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},l.prototype.startScanWithOptions=function(f,y){return(0,ut.DM)(this,"startScanWithOptions",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},l.prototype.stopScan=function(){return(0,ut.DM)(this,"stopScan",{},arguments)},l.prototype.setPin=function(f){return(0,ut.DM)(this,"setPin",{observable:!0},arguments)},l.prototype.connect=function(f){return(0,ut.DM)(this,"connect",{observable:!0,clearFunction:"disconnect",clearWithArgs:!0},arguments)},l.prototype.autoConnect=function(f,y,I){return(0,ut.DM)(this,"autoConnect",{sync:!0},arguments)},l.prototype.requestMtu=function(f,y){return(0,ut.DM)(this,"requestMtu",{},arguments)},l.prototype.refreshDeviceCache=function(f,y){return(0,ut.DM)(this,"refreshDeviceCache",{},arguments)},l.prototype.disconnect=function(f){return(0,ut.DM)(this,"disconnect",{},arguments)},l.prototype.read=function(f,y,I){return(0,ut.DM)(this,"read",{},arguments)},l.prototype.write=function(f,y,I,Y){return(0,ut.DM)(this,"write",{},arguments)},l.prototype.writeWithoutResponse=function(f,y,I,Y){return(0,ut.DM)(this,"writeWithoutResponse",{},arguments)},l.prototype.startNotification=function(f,y,I){return(0,ut.DM)(this,"startNotification",{observable:!0,destruct:!0,clearFunction:"stopNotification",clearWithArgs:!0},arguments)},l.prototype.stopNotification=function(f,y,I){return(0,ut.DM)(this,"stopNotification",{},arguments)},l.prototype.isConnected=function(f){return(0,ut.DM)(this,"isConnected",{},arguments)},l.prototype.isEnabled=function(){return(0,ut.DM)(this,"isEnabled",{},arguments)},l.prototype.startStateNotifications=function(){return(0,ut.DM)(this,"startStateNotifications",{observable:!0,clearFunction:"stopStateNotifications",clearWithArgs:!1},arguments)},l.prototype.stopStateNotifications=function(){return(0,ut.DM)(this,"stopStateNotifications",{},arguments)},l.prototype.startLocationStateNotifications=function(){return(0,ut.DM)(this,"startLocationStateNotifications",{observable:!0,clearFunction:"stopLocationStateNotifications",clearWithArgs:!1},arguments)},l.prototype.stopLocationStateNotifications=function(){return(0,ut.DM)(this,"stopLocationStateNotifications",{},arguments)},l.prototype.showBluetoothSettings=function(){return(0,ut.DM)(this,"showBluetoothSettings",{},arguments)},l.prototype.enable=function(){return(0,ut.DM)(this,"enable",{},arguments)},l.prototype.readRSSI=function(f){return(0,ut.DM)(this,"readRSSI",{},arguments)},l.prototype.connectedPeripheralsWithServices=function(f){return(0,ut.DM)(this,"connectedPeripheralsWithServices",{},arguments)},l.prototype.peripheralsWithIdentifiers=function(f){return(0,ut.DM)(this,"peripheralsWithIdentifiers",{},arguments)},l.prototype.bondedDevices=function(){return(0,ut.DM)(this,"bondedDevices",{},arguments)},l.prototype.isLocationEnabled=function(){return(0,ut.DM)(this,"isLocationEnabled",{},arguments)},l.\u0275fac=function(){let f;return function(I){return(f||(f=r.n5z(l)))(I||l)}}(),l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),l.pluginName="BLE",l.plugin="cordova-plugin-ble-central",l.pluginRef="ble",l.repo="https://github.com/don/cordova-plugin-ble-central",l.platforms=["Android","iOS"],l=(0,ht.gn)([],l)}(ut.On),Mt=g(4598),Nt=g(9986),Pt=g(9102),dn=g(5082),an=g(9062),h=g(694),te=g(4879),C=function(p){function l(){return null!==p&&p.apply(this,arguments)||this}return(0,ht.ZT)(l,p),l.prototype.requestPermission=function(f){return(0,ut.DM)(this,"requestPermission",{successIndex:1,errorIndex:2},arguments)},l.prototype.open=function(f){return(0,ut.DM)(this,"open",{},arguments)},l.prototype.write=function(f){return(0,ut.DM)(this,"write",{},arguments)},l.prototype.writeHex=function(f){return(0,ut.DM)(this,"writeHex",{},arguments)},l.prototype.read=function(){return(0,ut.DM)(this,"read",{},arguments)},l.prototype.registerReadCallback=function(){return(0,ut.DM)(this,"registerReadCallback",{observable:!0},arguments)},l.prototype.close=function(){return(0,ut.DM)(this,"close",{},arguments)},l.\u0275fac=function(){let f;return function(I){return(f||(f=r.n5z(l)))(I||l)}}(),l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),l.pluginName="Serial",l.plugin="cordovarduino",l.pluginRef="serial",l.repo="https://github.com/xseignard/cordovarduino",l.platforms=["Android"],l=(0,ht.gn)([],l)}(ut.On),de=g(4158),Ne=g(6188);class un{constructor(l,f="/assets/i18n/",y=".json"){this.http=l,this.prefix=f,this.suffix=y}getTranslation(l){return this.http.get(`${this.prefix}${l}${this.suffix}`)}}class nr{}var zn=g(2076);function zr(p=0,l=lr){return p<0&&(p=0),w(p,p,l)}var Yr=g(515),Jr=g(8675),Cr=g(1884),zo=g(8746),fo=g(1135),Fo=g(3888),ai=g(9672);const Ai=(0,Fo.d)(p=>function(f=null){p(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=f});function li(p,l){const{first:f,each:y,with:I=xi,scheduler:Y=l??lr,meta:Fe=null}=D(p)?{first:p}:"number"==typeof p?{each:p}:p;if(null==f&&null==y)throw new TypeError("No timeout provided.");return(0,St.e)((pt,nt)=>{let xt,Kt,Vn=null,At=0;const It=zt=>{Kt=(0,ai.f)(nt,Y,()=>{try{xt.unsubscribe(),(0,it.Xf)(I({meta:Fe,lastValue:Vn,seen:At})).subscribe(nt)}catch(ln){nt.error(ln)}},zt)};xt=pt.subscribe((0,$n.x)(nt,zt=>{Kt?.unsubscribe(),At++,nt.next(Vn=zt),y>0&&It(y)},void 0,void 0,()=>{Kt?.closed||Kt?.unsubscribe(),Vn=null})),!At&&It(null!=f?"number"==typeof f?f:+f-Y.now():y)})}function xi(p){throw new Ai(p)}var Io=g(4707);function ho(p,l,f,y){f&&!(0,Xe.m)(f)&&(y=f);const I=(0,Xe.m)(f)?f:void 0;return Y=>yr(new Io.t(p,l,y),I)(Y)}var Wr=g(8343),Lo=g(4782),Rr=g(5026);class gr{constructor(l,f,y){this.array=void 0!==y?new Uint8Array(l,f,y):f?new Uint8Array(l,f):new Uint8Array(l)}get buffer(){return this.array.buffer}get byteLength(){return this.array.byteLength}get byteOffset(){return this.array.byteOffset}getUint4(l){return 15&this.array[l]}getUint8(l){return 15&this.array[l]|(15&this.array[l+1])<<4}getUint32(l){let f=0;return f|=(15&this.array[l+0])<<24,f|=(15&this.array[l+1])<<28,f|=(15&this.array[l+2])<<16,f|=(15&this.array[l+3])<<20,f|=(15&this.array[l+4])<<8,f|=(15&this.array[l+5])<<12,f|=(15&this.array[l+6])<<0,f|=(15&this.array[l+7])<<4,f}getUint8Array(l,f){let y=new Uint8Array(f);for(let I=0;I!=f;++I)y[I]=15&this.array[l+I];return y}setUint4(l,f){this.array[l]=48|f}setUint8(l,f){this.array[l]=15&f|48,this.array[l+1]=f>>4|48}toString(l,f){return String.fromCharCode.apply(null,[...this.subarray(l,f)])}static from(l,...f){let y=new Uint8Array(f.length+2),I=y[0]=l.charCodeAt(0);for(let Y=0;Y!=f.length;++Y){const Fe=f[Y];y[Y+1]=48|Fe,I+=Fe}return y[y.length-1]=48|15&I,new gr(y.buffer)}static fromString(l){const f=new Uint8Array(l.split("").map(y=>y.charCodeAt(0)));return new gr(f.buffer)}subarray(l,f){return void 0!==f?this.array.subarray(l,l+f):l?this.array.subarray(l):this.array}}const ui=gr.fromString("?"),Yo=gr.fromString("=10"),Pi=gr.fromString("0");var Xr=(()=>{return(p=Xr||(Xr={}))[p.ESC=1]="ESC",p[p.PACE_CAR=1]="PACE_CAR",p[p.ENTER=2]="ENTER",p[p.START=2]="START",p[p.SPEED=5]="SPEED",p[p.BRAKE=6]="BRAKE",p[p.FUEL=7]="FUEL",p[p.CODE=8]="CODE",Xr;var p})();class Go{constructor(l,f){this.peripheral=l,this.settings=f,this.requests=new Array,this.state=new fo.X("disconnected"),this.version=null,this.connection=this.peripheral.connect({next:()=>this.connection.next(ui.buffer)});const y=this.connection.pipe(li({first:f.connectionTimeout,each:f.requestTimeout}),(0,oe.U)((I,Y)=>(0==Y&&this.state.next("connected"),I)));this.data=y.pipe(function Oi(p){return(0,St.e)((l,f)=>{let y,Y,I=!1;const Fe=()=>{y=l.subscribe((0,$n.x)(f,void 0,void 0,pt=>{Y||(Y=new Dn.x,(0,it.Xf)(p(Y)).subscribe((0,$n.x)(f,()=>y?Fe():I=!0))),Y&&Y.next(pt)})),I&&(y.unsubscribe(),y=null,I=!1,Fe())};Fe()})}(I=>this.doReconnect(I)),(0,Wn.b)(()=>{this.poll()}),(0,oe.U)(I=>new gr(I)),Jn()),this.status=this.data.pipe((0,H.h)(I=>I.byteLength>=16&&"?:"===I.toString(0,2)),ho(1),(0,Wr.x)())}connect(){return this.state.next("connecting"),this.subscription=this.data.connect(),Promise.resolve()}disconnect(){return this.subscription&&this.subscription.unsubscribe(),Promise.resolve()}reconnect(){return new Promise(l=>{this.disconnect(),setTimeout(()=>{this.connect(),l()},this.settings.minReconnectDelay)})}getState(){return this.state.asObservable().pipe((0,Cr.x)(),(0,Lo.d)())}getFuel(){return this.status.pipe((0,oe.U)(l=>l.getUint8Array(2,8)))}getStart(){return this.status.pipe((0,oe.U)(l=>l.getUint4(10)))}getMode(){return this.status.pipe((0,oe.U)(l=>l.getUint4(11)))}getPit(){return this.status.pipe((0,oe.U)(l=>l.getUint8(12)))}getTimer(){return this.data.pipe((0,H.h)(l=>l.byteLength>=12&&"?"===l.toString(0,1)&&":"!==l.toString(1,1)),(0,H.h)(l=>{const f=l.toString(1,1);return f>="1"&&f<="8"}),(0,oe.U)(l=>[l.getUint4(1)-1,l.getUint32(2),l.getUint4(10)]),(0,Cr.x)((l,f)=>l[0]===f[0]&&l[1]===f[1]))}getVersion(){return this.version||(this.version=this.data.pipe((0,H.h)(l=>6==l.byteLength&&"0"==l.toString(0,1)),(0,oe.U)(l=>l.toString(1,4)),(0,Mn.q)(1)).toPromise(),this.requests.push(Pi)),this.version}reset(){this.requests.push(Yo)}setLap(l){this.setLapHi(l>>4),this.setLapLo(15&l)}setLapHi(l){this.set(17,7,l)}setLapLo(l){this.set(18,7,l)}setPosition(l,f){this.set(6,l,f)}clearPosition(){this.set(6,0,9)}setMask(l){this.requests.push(gr.from(":",15&l,l>>4))}setSpeed(l,f){this.set(0,l,f,2)}setBrake(l,f){this.set(1,l,f,2)}setFuel(l,f){this.set(2,l,f,2)}setFinished(l){this.set(7,l,1)}toggleStart(){this.trigger(Xr.START)}trigger(l){this.requests.push(gr.fromString("T"+String.fromCharCode(48|l)))}set(l,f,y,I=1){this.requests.push(gr.from("J",15&l,l>>4|f<<1,y,I))}poll(){const l=this.requests.shift()||ui;this.connection.next(l.buffer)}doReconnect(l){const f=this.state;return l.pipe((0,Rr.R)((y,I)=>"connected"===f.value?0:y+1,0),(0,Wn.b)(()=>f.next("disconnected")),(0,j.b)(y=>{const I=this.settings.minReconnectDelay*Math.pow(1.5,y);return w(Math.min(I,this.settings.maxReconnectDelay))}),(0,Wn.b)(()=>f.next("connecting")))}}var yn=g(6698);const Mo="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",Qr="$".charCodeAt(0);function ko(p){return new gr(p).toString()}class Tr{constructor(l,f,y){this.ble=f,this.logger=y,this.type="ble",this.name=l.name,this.address=l.id}connect(l,f){const y=this.createObservable(l,f),I=this.createObserver(f);return Dn.x.create(I,y)}equals(l){return l&&l.type===this.type&&l.address===this.address}createObservable(l,f){return new O.y(y=>{this.logger.info("Connecting to BLE device "+this.address);let I=!1,Y=null;return this.lastWritten=null,this.ble.connect(this.address).subscribe({next:Fe=>{this.logger.info("Connected to BLE device",Fe),I=!0,this.ble.startNotification(this.address,Mo,"39df9999-b1b4-b90b-57f1-7144ae4e4a6a").subscribe({next:([pt,nt])=>{if(this.logger.isDebugEnabled()){const xt=ko(pt);xt!==Y&&(this.logger.debug("BLE received "+xt),Y=xt)}this.onNotify(pt,y)},error:pt=>this.onError(pt,y)}),l&&this.ble.isConnected(this.address).then(()=>{this.logger.info("BLE device ready"),I&&l.next(void 0)}).catch(pt=>{this.logger.error("BLE device not connected",pt)})},error:Fe=>{Fe instanceof Error?(this.logger.error("BLE connection error",Fe),y.error(Fe)):I?(this.logger.info("BLE device disconnected",Fe),y.complete()):(this.logger.error("BLE connection error",Fe),y.error(new Error("Connection error"))),I=!1},complete:()=>{this.logger.info("BLE connection closed"),y.complete(),I=!1}}),()=>{this.disconnect(f)}})}createObserver(l){return{next:f=>{if(this.logger.isDebugEnabled()){const y=ko(f);y!==this.lastWritten&&(this.logger.debug("BLE write "+y),this.lastWritten=y)}this.write(f)},error:f=>this.logger.error("BLE user error",f),complete:()=>this.disconnect(l)}}write(l){this.ble.writeWithoutResponse(this.address,Mo,"39df8888-b1b4-b90b-57f1-7144ae4e4a6a",l).catch(f=>{this.logger.error("BLE write error",f)})}disconnect(l){this.logger.debug("Closing BLE connection to "+this.address),this.ble.disconnect(this.address).then(()=>{this.logger.info("BLE disconnected from "+this.address)}).catch(f=>{this.logger.error("BLE disconnect error",f)}).then(()=>{l&&l.next(void 0)})}onNotify(l,f){const y=new Uint8Array(l);y[y.length-1]==Qr&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),f.next(y.buffer)}onError(l,f){f.error(l)}}let Ri=(()=>{const l=class extends nr{constructor(y,I,Y){super(),this.ble=y,this.logger=I,this.platform=Y,this.devices=new Map,this.scanner=(0,zn.D)(this.platform.ready()).pipe((0,He.w)(Fe=>"cordova"==Fe?zr(1e3).pipe((0,Jr.O)(null),(0,He.w)(()=>(0,zn.D)(this.ble.isEnabled().then(()=>!0,()=>!1)))):(0,re.of)(!1)),(0,Cr.x)(),(0,He.w)(Fe=>Fe?(this.logger.info("Start scanning for BLE devices"),this.ble.startScanWithOptions([],{reportDuplicates:!0,scanMode:"lowLatency"}).pipe((0,zo.x)(()=>this.logger.info("Stop scanning for BLE devices")))):(this.logger.info("Not scanning for BLE devices"),(0,Yr.c)())))}scan(){return this.scanner.pipe((0,Jr.O)(...this.devices.values()),function Ti(p,l){return(0,St.e)((f,y)=>{const I=new Set;f.subscribe((0,$n.x)(y,Y=>{const Fe=p?p(Y):Y;I.has(Fe)||(I.add(Fe),y.next(Y))})),l&&(0,it.Xf)(l).subscribe((0,$n.x)(y,()=>I.clear(),Pn.Z))})}(y=>y.id),(0,Wn.b)(y=>this.logger.debug("Discovered BLE device:",y)),(0,H.h)(y=>/Control.Unit/i.test(y.name||"")),(0,Wn.b)(y=>this.logger.info("Discovered Control Unit device:",y)),(0,Wn.b)(y=>this.devices.set(y.id,y)),(0,Wn.b)(y=>this.logger.debug("Cached devices:",Array.from(this.devices.values()))),(0,oe.U)(y=>new Tr(y,this.ble,this.logger)))}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.LFG(bt),r.LFG(yn.ed),r.LFG(Re.t4))},l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();function Zr(p,l){return p+Math.random()*(l-p)}function kr(p){let l=new Uint8Array(p);return String.fromCharCode.apply(null,[...l])}class to{constructor(l){this.sector=0,this.pit=!1,this.events=new r.vpe,this.id=l,this.fuel="7"==this.id||"8"==this.id?0:255}start(l,f,y=1,I=0){this.maxSectorTime=f,this.minSectorTime="8"==this.id?l+.8*(f-l):"7"==this.id?l+.5*(f-l):l,this.timeout=setTimeout(()=>this.onNext(),I),this.sectors=y}stop(){clearTimeout(this.timeout)}onRefuel(){this.fuel+=16,this.timeout=this.fuel>=Zr(192,240)?setTimeout(()=>this.onNext(),this.fuelTime()):setTimeout(()=>this.onRefuel(),500)}onNext(){++this.sector>this.sectors&&(this.sector=1),"7"==this.id||"8"==this.id?(this.events.emit(this),this.timeout=setTimeout(()=>this.onNext(),Zr(this.minSectorTime,this.maxSectorTime))):((this.fuel>=16||1!==this.sector)&&this.events.emit(this),this.fuelthis.onRefuel(),1500)):this.timeout=setTimeout(()=>this.onFuel(),this.fuelTime()))}onFuel(){this.pit=!1,this.fuel=Math.max(0,this.fuel-Zr(4,16)),this.timeout=setTimeout(()=>this.onNext(),this.fuelTime())}fuelTime(){return Zr(this.minSectorTime,this.maxSectorTime)/2}}class mo{constructor(l,f,y){this.name=l,this.mode=f,this.logger=y,this.start=Date.now(),this.startSequence=0,this.cars=[new to("1"),new to("2"),new to("3"),new to("4"),new to("5"),new to("6"),new to("7"),new to("8")],this.laps=[],this.config={numCars:8,numSectors:3,maxStartTime:1500,minSectorTime:3e3,maxSectorTime:4e3},this.type="demo",this.version=gr.from("0",..."5336".split("").map(I=>I.charCodeAt(0))).buffer;for(let I=0;I!=this.config.numCars;++I)this.cars[I].events.subscribe(Y=>this.laps.push(this.createLap(Y.id,Y.sector)));this.startAll()}connect(l,f){return Dn.x.create(this.createObserver(),this.createObservable(l,f))}equals(l){return l&&l.type===this.type&&l.name==this.name}createObservable(l,f){return new O.y(y=>(this.logger.info("Creating Demo observable with mode="+this.mode),this.subscriber=y,setTimeout(()=>{l&&l.next(void 0)},100),()=>{this.logger.info("Destroying Demo observable"),f&&f.next(void 0),delete this.subscriber}))}createObserver(){return{next:l=>{Math.random()<1e-4?this.subscriber&&(console.log("Random Demo error"),this.subscriber.error(new Error("Demo Error"))):("?"!=kr(l)&&console.log("Demo CU received "+kr(l)),"T1"==kr(l)&&this.onESC(),"T2"==kr(l)&&this.onStart(),Math.random()<1e-4?console.log("Random Demo timeout"):setTimeout(()=>{this.subscriber&&("0"==kr(l)?this.subscriber.next(this.version):this.subscriber.next(this.laps.length?this.laps.shift():this.createStatus()))},100))},error:l=>{console.log("Demo connection error:",l)},complete:()=>{console.log("Demo connection complete"),this.subscriber.complete()}}}createLap(l,f=1){const y=Date.now()-this.start;return gr.from("?",parseInt(l),y>>24&15,y>>28&15,y>>16&15,y>>20&15,y>>8&15,y>>12&15,y>>0&15,y>>4&15,f).buffer}createStatus(){return gr.from("?",10,this.cars[0].fuel>>4&15,this.cars[1].fuel>>4&15,this.cars[2].fuel>>4&15,this.cars[3].fuel>>4&15,this.cars[4].fuel>>4&15,this.cars[5].fuel>>4&15,this.cars[6].fuel>>4&15,this.cars[7].fuel>>4&15,this.startSequence,this.mode,this.getPitMask(0,4),this.getPitMask(4,8),8).buffer}getPitMask(l,f){let y=0;for(let I=l;I!=f;++I)y>>=1,y|=this.cars[I].pit?8:0;return y}onStart(){0==this.startSequence?(this.stopAll(),this.startSequence=1):7==this.startSequence?(this.startAll(),this.startSequence=0):(this.startSequence++,setTimeout(()=>this.onStart(),1e3))}onESC(){1==this.startSequence&&(this.startAll(),this.startSequence=0)}startAll(){for(let l=0;l!=this.config.numCars;++l)this.cars[l].start(this.config.minSectorTime,this.config.maxSectorTime,this.config.numSectors,Zr(0,this.config.maxStartTime))}stopAll(){for(let l=0;l!=this.config.numCars;++l)this.cars[l].stop()}}let To=(()=>{const l=class extends nr{constructor(y){super(),this.logger=y}scan(){return(0,re.of)(new mo("Demo Control Unit",6,this.logger))}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.LFG(yn.ed))},l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();var no=g(3099);const fi="$".charCodeAt(0);class x{constructor(l,f){this.serial=l,this.logger=f,this.type="serial",this.name="Serial USB OTG",this.connected=!1}connect(l,f){const y=this.createObservable(l,f),I=this.createObserver(f);return Dn.x.create(I,y)}equals(l){return l&&l.type===this.type}createObservable(l,f){return new O.y(y=>(this.logger.info("Connecting to serial port"),this.open({baudRate:19200,sleepOnPause:!1}).then(()=>{this.connected=!0,this.logger.info("Connected to serial port");let I=new Uint8Array(0);this.serial.registerReadCallback().subscribe({next:Y=>{I=function R(p,l){if(0==p.length)return l;if(0==l.length)return p;{let f=new Uint8Array(p.length+l.length);return f.set(p,0),f.set(l,p.byteLength),f}}(I,new Uint8Array(Y));let Fe=-1;for(;-1!=(Fe=I.indexOf(fi));){let pt=new Uint8Array(I.subarray(0,Fe));if(I=I.subarray(Fe+1),this.logger.isDebugEnabled()){const nt=String.fromCharCode.apply(null,[...pt]);nt!==this.lastReceived&&(this.logger.debug("Serial received "+nt),this.lastReceived=nt)}y.next(pt.buffer)}},error:Y=>{this.logger.error("Error reading from serial port",Y),y.error(Y)}}),l&&l.next(void 0)}).catch(I=>{this.logger.error("Error connecting to serial port",I),y.error(I)}),()=>{this.close(f)}))}createObserver(l){return{next:f=>this.write(f),error:f=>this.logger.error("Serial user error",f),complete:()=>this.close(l)}}open(l){return this.serial.open(l)}write(l){const f=String.fromCharCode.apply(null,[...new Uint8Array(l)]);this.logger.isDebugEnabled()&&f!==this.lastWritten&&(this.logger.debug("Serial write "+f),this.lastWritten=f),this.serial.write('"'+f+"$").catch(y=>{this.logger.error("Serial write error",y)})}close(l){this.connected&&(this.logger.info("Closing serial port"),this.serial.close().then(()=>{this.logger.info("Serial port closed")}).catch(f=>{this.logger.error("Error closing serial port",f)}).then(()=>{l&&l.next(void 0)}),this.connected=!1)}}let S=(()=>{const l=class extends nr{constructor(y,I,Y){super(),this.serial=I,this.logger=Y,this.scanner=(0,zn.D)(y.getDeviceInfo()).pipe((0,He.w)(Fe=>y.isAndroid()&&y.isCordova()&&!Fe.isVirtual&&parseInt(Fe.version)<12?(0,zn.D)(this.serial.requestPermission().then(()=>!0,()=>!1)):(0,re.of)(!1)),(0,Wn.b)(Fe=>this.logger.info("Serial device "+(Fe?"":"not")+" enabled")),(0,no.B)())}scan(){return this.scanner.pipe((0,He.w)(y=>y?(0,re.of)(new x(this.serial,this.logger)):(0,Yr.c)()))}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.LFG(yn.zi),r.LFG(C),r.LFG(yn.ed))},l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();var ie=g(262);const st="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",dt="$".charCodeAt(0);function vn(p){return new gr(p).toString()}class Wo{constructor(l,f){this.device=l,this.logger=f,this.type="web-bluetooth",this.name=l.name}connect(l,f){const y=this.createObservable(l,f),I=this.createObserver(f);return Dn.x.create(I,y)}equals(l){return l&&l.type===this.type}createObservable(l,f){return new O.y(y=>{this.logger.info("Connecting to Web Bluetooth device "+this.device.id);const I=this.device.gatt.connect().then(nt=>nt.getPrimaryService(st)),Y=I.then(nt=>nt.getCharacteristic("39df9999-b1b4-b90b-57f1-7144ae4e4a6a")),Fe=nt=>{const xt=nt.target.value.buffer;if(this.logger.isDebugEnabled()){const Kt=vn(xt);Kt!==pt&&(this.logger.debug("Web Bluetooth received "+Kt),pt=Kt)}this.onNotify(xt,y)};let pt=null;return this.lastWritten=null,this.output=I.then(nt=>nt.getCharacteristic("39df8888-b1b4-b90b-57f1-7144ae4e4a6a")),Y.then(nt=>nt.startNotifications().then(xt=>nt)).then(nt=>{nt.addEventListener("characteristicvaluechanged",Fe),this.logger.info("Web Bluetooth device ready"),l&&l.next(void 0)}).catch(nt=>{this.onError(nt,y)}),()=>{Y.then(nt=>nt.stopNotifications().then(xt=>nt)).then(nt=>{nt.removeEventListener("characteristicvaluechanged",Fe)}).catch(nt=>{this.logger.error("Error stopping Web Bluetooth notifications",nt)}).then(nt=>{this.disconnect(f)})}})}createObserver(l){return{next:f=>{if(this.device.gatt.connected&&this.output){if(this.logger.isDebugEnabled()){const y=vn(f);y!==this.lastWritten&&(this.logger.debug("Web Bluetooth write "+y),this.lastWritten=y)}this.output.then(y=>y.writeValue(f)).catch(y=>{this.logger.error("Web Bluetooth write error",y)})}else this.logger.error("Web Bluetooth write while device disconnected")},error:f=>this.logger.error("Web Bluetooth user error",f),complete:()=>this.disconnect(l)}}disconnect(l){if(this.device.gatt.connected){this.logger.debug("Closing Web Bluetooth connection to "+this.device.id);try{this.device.gatt.disconnect()}catch(f){this.logger.debug("Error closing Web Bluetooth connection",f)}this.output=null,l&&l.next(void 0)}}onNotify(l,f){const y=new Uint8Array(l);y[y.length-1]==dt&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),f.next(y.buffer)}onError(l,f){f.error(l)}}let is=(()=>{const l=class extends nr{constructor(y,I){super(),this.logger=y,this.platform=I,this.navigator=window.navigator}scan(){return(0,zn.D)(this.platform.ready()).pipe((0,He.w)(y=>"cordova"!=y&&this.navigator.bluetooth?(0,zn.D)(this.requestDevice()).pipe((0,ie.K)(I=>(this.logger.error("Error requesting Web Bluetooth device:",I),(0,Yr.c)()))):(0,Yr.c)()))}requestDevice(){return this.device?this.device:this.navigator.bluetooth.requestDevice({filters:[{name:"Control_Unit"}],optionalServices:[st]}).then(y=>{const I=new Wo(y,this.logger);return this.device=Promise.resolve(I),I})}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.LFG(yn.ed),r.LFG(Re.t4))},l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})(),Fr=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({providers:[{provide:nr,useClass:Ri,multi:!0},{provide:nr,useClass:To,multi:!0},{provide:nr,useClass:S,multi:!0},{provide:nr,useClass:is,multi:!0}]}),p})();var Un=g(4006),so=g(4466);let ro=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,Un.u5,Ce.Pc,so.m]}),p})();const Hi=["*"];let Bo=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["outline"]],inputs:{color:"color"},ngContentSelectors:Hi,decls:2,vars:2,consts:[[1,"outline"]],template:function(I,Y){1&I&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&I&&r.Udp("background-color",Y.color)},styles:["[_nghost-%COMP%]{white-space:nowrap;padding:0!important}[slot=start][_nghost-%COMP%]{white-space:nowrap;margin-inline-end:.5em;padding:0!important}div.outline[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;color:var(--ion-background-color);border-bottom-right-radius:.4em;width:1.65em!important;min-height:1.65em;padding:0!important;height:100%}"]}),p})();function ks(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-col")(1,"ion-button",7),r.NdJ("click",function(){const Y=r.CHM(f).$implicit,Fe=r.oxw(2);return r.KtG(Fe.setColor(Y))}),r.qZA()()}if(2&p){const f=l.$implicit;r.xp6(1),r.Udp("--background",f)}}function zi(p,l){if(1&p&&(r.TgZ(0,"ion-row"),r.YNc(1,ks,2,2,"ion-col",5),r.qZA()),2&p){const f=l.$implicit;r.xp6(1),r.Q6J("ngForOf",f)}}const Yi=function(p){return{number:p}};let Ar=(()=>{const l=class{constructor(y,I){this.mc=I,this.placeholder="Driver {{number}}",this.colors=[["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#c0c0c0","#ffffff"],["#c02040","#408080","#4080c0","#ff8020","#ff8080","#20ffc0","#404040","#000000"]],this.driver=y.get("driver"),this.id=y.get("id"),this.color=this.driver.color}update(y,I){console.log("update",y,I);const Y=("0"+I.detail.value.toString(16)).slice(-2);switch(y){case"r":this.color=this.color.substring(0,1)+Y+this.color.substring(3);break;case"g":this.color=this.color.substring(0,3)+Y+this.color.substring(5);break;case"b":this.color=this.color.substring(0,5)+Y+this.color.substring(7)}console.log(this.color)}setColor(y){this.color=y}get r(){return this.color?Number.parseInt(this.color.substring(1,3),16):0}get g(){return this.color?Number.parseInt(this.color.substring(3,5),16):0}get b(){return this.color?Number.parseInt(this.color.substring(5,7),16):0}onSubmit(y){this.mc.dismiss(y)}onCancel(){this.mc.dismiss()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(Re.X1),r.Y36(Ce.IN))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:36,vars:15,consts:[["mode","md"],[3,"color"],["min","0","max","255",3,"value","ionChange"],["slot","label"],["slot","end"],[4,"ngFor","ngForOf"],["translate","",3,"click"],["expand","block",3,"click"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-title")(3,"outline",1),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA()()(),r.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-range",2),r.NdJ("ionChange",function(pt){return Y.update("r",pt)}),r.TgZ(10,"ion-label",3),r._uU(11,"R"),r.qZA(),r.TgZ(12,"ion-badge",4),r._uU(13),r.qZA()()(),r.TgZ(14,"ion-item")(15,"ion-range",2),r.NdJ("ionChange",function(pt){return Y.update("g",pt)}),r.TgZ(16,"ion-label",3),r._uU(17,"G"),r.qZA(),r.TgZ(18,"ion-badge",4),r._uU(19),r.qZA()()(),r.TgZ(20,"ion-item")(21,"ion-range",2),r.NdJ("ionChange",function(pt){return Y.update("b",pt)}),r.TgZ(22,"ion-label",3),r._uU(23,"B"),r.qZA(),r.TgZ(24,"ion-badge",4),r._uU(25),r.qZA()()(),r.TgZ(26,"ion-item")(27,"ion-grid"),r.YNc(28,zi,2,1,"ion-row",5),r.qZA()()(),r.TgZ(29,"ion-footer")(30,"ion-toolbar")(31,"ion-buttons",4)(32,"ion-button",6),r.NdJ("click",function(){return Y.onCancel()}),r._uU(33," Cancel "),r.qZA(),r.TgZ(34,"ion-button",6),r.NdJ("click",function(){return Y.onSubmit(Y.color)}),r._uU(35," OK "),r.qZA()()()()),2&I&&(r.xp6(3),r.Q6J("color",Y.color),r.xp6(1),r.hij(" ",Y.id+1," "),r.xp6(1),r.hij(" ",Y.driver.name||r.xi3(6,10,Y.placeholder,r.VKq(13,Yi,Y.id+1))," "),r.xp6(4),r.Q6J("value",Y.r),r.xp6(4),r.Oqu(Y.r),r.xp6(2),r.Q6J("value",Y.g),r.xp6(4),r.Oqu(Y.g),r.xp6(2),r.Q6J("value",Y.b),r.xp6(4),r.Oqu(Y.b),r.xp6(3),r.Q6J("ngForOf",Y.colors))},dependencies:[B.sg,Ce.yp,Ce.YG,Ce.Sm,Ce.wI,Ce.W2,Ce.fr,Ce.jY,Ce.Gu,Ce.Ie,Ce.Q$,Ce.I_,Ce.Nd,Ce.wd,Ce.sr,Ce.j9,Bo,Ne.Pi,Ne.X$],encapsulation:2}),p})();var ur=g(227);function vo(p,l){if(1&p&&(r.TgZ(0,"ion-note"),r._uU(1),r.qZA()),2&p){const f=r.oxw(),y=f.$implicit,I=f.index;r.xp6(1),r.Oqu(y.code||"#"+(I+1))}}function yo(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-button",13),r.NdJ("click",function(){r.CHM(f);const I=r.oxw().index,Y=r.oxw();return r.KtG(Y.speak(I))}),r._UZ(1,"ion-icon",14),r.qZA()}}const _o=function(p){return{number:p}};function Gi(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-item",7)(1,"ion-button",8),r.NdJ("click",function(){const Y=r.CHM(f).index,Fe=r.oxw();return r.KtG(Fe.chooseColor(Y))}),r.TgZ(2,"outline",9),r._uU(3),r.qZA()(),r.TgZ(4,"ion-input",10),r.NdJ("ngModelChange",function(I){const Y=r.CHM(f),Fe=Y.$implicit,pt=Y.index,nt=r.oxw();return r.KtG(Fe.code=nt.getCode(Fe.name=I,pt))})("ionChange",function(I){r.CHM(f);const Y=r.oxw();return r.KtG(Y.onChangeName(I))}),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"ion-buttons",3),r.YNc(7,vo,2,1,"ion-note",11),r.ALo(8,"async"),r.YNc(9,yo,2,0,"ion-button",12),r.ALo(10,"async"),r._UZ(11,"ion-reorder",3),r.qZA()()}if(2&p){const f=l.$implicit,y=l.index,I=r.oxw();r.xp6(2),r.Q6J("color",f.color),r.xp6(1),r.hij(" ",y+1," "),r.xp6(1),r.Q6J("ngModel",f.name)("placeholder",r.xi3(5,6,I.placeholder,r.VKq(13,_o,y+1))),r.xp6(3),r.Q6J("ngIf","landscape"==r.lcZ(8,9,I.orientation)),r.xp6(2),r.Q6J("ngIf","landscape"==r.lcZ(10,11,I.orientation))}}let hi=(()=>{const l=class{constructor(y,I,Y,Fe,pt,nt,xt){this.app=y,this.cu=I,this.logger=Y,this.settings=Fe,this.mc=pt,this.speech=nt,this.translate=xt,this.placeholder="Driver {{number}}",this.orientation=y.orientation}ngOnInit(){this.settings.getDrivers().pipe((0,Mn.q)(1)).toPromise().then(y=>{this.drivers=y}).catch(y=>{this.logger.error("Error getting drivers",y)})}ngOnDestroy(){this.settings.setDrivers(this.drivers).catch(y=>{this.logger.error("Error setting drivers",y)})}getCode(y,I){let Y=y.replace(/\W/g,"").toUpperCase(),Fe=this.drivers.filter((pt,nt)=>nt!==I).map(pt=>pt.code);for(let pt=2;pt{I.onDidDismiss().then(Y=>{Y.data&&(this.drivers[y].color=Y.data)}),I.present()})}speak(y){this.getDriverName(y).then(I=>{this.speech.speak(I)})}pressCodeButton(){this.cu.value.trigger(Xr.CODE)}onChangeName(y){y?.target?.getInputElement().then(I=>I.blur())}getDriverName(y){return this.drivers[y]&&this.drivers[y].name?Promise.resolve(this.drivers[y].name):this.translate.get(this.placeholder,{number:y+1}).toPromise()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.zi),r.Y36(yn.V1),r.Y36(yn.ed),r.Y36(ur.de),r.Y36(Ce.IN),r.Y36(yn.vA),r.Y36(Ne.sK))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],["fill","outline","shape","round",3,"click"],["disabled","false",3,"ionItemReorder"],["class","driver",4,"ngFor","ngForOf"],[1,"driver"],["slot","start","size","large","fill","clear",1,"ion-no-padding",3,"click"],[3,"color"],["clearInput","","enterkeyhint","done",3,"ngModel","placeholder","ngModelChange","ionChange"],[4,"ngIf"],["fill","clear",3,"click",4,"ngIf"],["fill","clear",3,"click"],["name","volume-high-sharp"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Drivers"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(){return Y.pressCodeButton()}),r._uU(9," CODE "),r.qZA()()()(),r.TgZ(10,"ion-content")(11,"ion-reorder-group",5),r.NdJ("ionItemReorder",function(pt){return Y.reorderItems(pt)}),r.YNc(12,Gi,12,15,"ion-item",6),r.qZA()()),2&I&&(r.xp6(12),r.Q6J("ngForOf",Y.drivers))},dependencies:[B.sg,B.O5,Un.JJ,Un.On,Ce.YG,Ce.Sm,Ce.W2,Ce.Gu,Ce.gu,Ce.pK,Ce.Ie,Ce.uN,Ce.Nh,Ce.oz,Ce.wd,Ce.sr,Ce.j9,Ce.oU,Bo,Ne.Pi,B.Ov,Ne.X$],encapsulation:2}),p})();var pi=g(9841);function Ao(){return(0,St.e)((p,l)=>{let f,y=!1;p.subscribe((0,$n.x)(l,I=>{const Y=f;f=I,y&&l.next([Y,I]),y=!0}))})}var Zo=g(4671),Ko=g(3269);function bo(...p){const l=(0,Ko.jO)(p);return(0,St.e)((f,y)=>{const I=p.length,Y=new Array(I);let Fe=p.map(()=>!1),pt=!1;for(let nt=0;nt{Y[nt]=xt,!pt&&!Fe[nt]&&(Fe[nt]=!0,(pt=Fe.every(Zo.y))&&(Fe=null))},Pn.Z));f.subscribe((0,$n.x)(y,nt=>{if(pt){const xt=[nt,...Y];y.next(l?l(...xt):xt)}}))})}function ss(p,l){1&p&&(r.TgZ(0,"span"),r._uU(1,"\u2026"),r.qZA())}let qo=(()=>{const l=class{constructor(y,I,Y,Fe){this.alert=y,this.settings=I,this.controller=Y,this.options=new ur.Ei,this.params=Fe.data}get sectors(){return this.options.sectors}set sectors(y){this.options.sectors=y,this.settings.setOptions(this.options),this.dismiss()}get fixedOrder(){return this.options.fixedorder}set fixedOrder(y){this.options.fixedorder=y,this.settings.setOptions(this.options),this.dismiss()}get speech(){return this.options.speech}set speech(y){this.options.speech=y,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(y=>{this.options=y})}ngOnDestroy(){this.subscription.unsubscribe()}onRestart(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Restart "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.restart()}]}):this.params.restart()})}onCancel(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Cancel "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.cancel()}]}):this.params.cancel()})}dismiss(){return this.controller.dismiss({})}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.Pn),r.Y36(ur.de),r.Y36(Ce.Dh),r.Y36(Re.X1))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:20,vars:5,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"disabled","click"],["translate",""],["button","",3,"click"],[4,"ngIf"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(pt){return Y.fixedOrder=pt}),r._uU(3,"Order by number"),r.qZA()(),r.TgZ(4,"ion-item")(5,"ion-checkbox",0),r.NdJ("ngModelChange",function(pt){return Y.sectors=pt}),r._uU(6,"Sector times"),r.qZA()(),r.TgZ(7,"ion-item")(8,"ion-checkbox",0),r.NdJ("ngModelChange",function(pt){return Y.speech=pt}),r._uU(9,"Notifications"),r.qZA()(),r.TgZ(10,"ion-item",1),r.NdJ("click",function(){return Y.onCancel()}),r.TgZ(11,"ion-label")(12,"span",2),r._uU(13,"Cancel"),r.qZA(),r._uU(14,"\u2026"),r.qZA()(),r.TgZ(15,"ion-item",3),r.NdJ("click",function(){return Y.onRestart()}),r.TgZ(16,"ion-label")(17,"span",2),r._uU(18,"Restart"),r.qZA(),r.YNc(19,ss,2,0,"span",4),r.qZA()()()),2&I&&(r.xp6(2),r.Q6J("ngModel",Y.fixedOrder),r.xp6(3),r.Q6J("ngModel",Y.sectors),r.xp6(3),r.Q6J("ngModel",Y.speech),r.xp6(2),r.Q6J("disabled",!Y.params.active),r.xp6(9),r.Q6J("ngIf",Y.params.active))},dependencies:[B.O5,Un.JJ,Un.On,Ce.nz,Ce.Ie,Ce.Ub,Ce.Q$,Ce.w,Ne.Pi],encapsulation:2}),p})();const{isArray:Fi}=Array;function as(p){return 1===p.length&&Fi(p[0])?p[0]:p}var ls=g(3268),cs=g(9635);function Wi(...p){const l=(0,Ko.jO)(p);return l?(0,cs.z)(Wi(...p),(0,ls.Z)(l)):(0,St.e)((f,y)=>{(0,pi.l)([f,...as(p)])(y)})}function mi(...p){return Wi(...p)}function dr(p,l){return(p.best[0]||1/0)-(l.best[0]||1/0)}const Bs={practice:dr,qualifying:dr,race:function ds(p,l){return l.laps-p.laps||function xo(p,l){const f=p-l;return isNaN(f)?isNaN(p)?isNaN(l)?0:1:-1:f}(p.time,l.time)||p.id-l.id}};class fs{constructor(l,f){this.cu=l,this.options=f,this.finished=new fo.X(!1),this.yellowFlag=new fo.X(!1),this.started=!1,this.stopped=!1,this.active=0,this.realMask=null;const y=Bs[f.mode],I=(0,Je.T)(l.getStart().pipe((0,Cr.x)(),(0,H.h)(nt=>0!=nt)),l.getState().pipe((0,H.h)(nt=>"connected"==nt))).pipe((0,oe.U)(nt=>{l.setMask(this.mask)})),Y=l.getTimer().pipe((0,H.h)(([nt])=>!(this.mask&1<{const ln=Date.now();return Itnt)),Fe=l.getFuel(),pt=l.getPit();this.mask=(f.auto?0:64)|(f.pace?0:128),f.drivers?(this.mask|=function Br(p,l){let f=0;for(;p!==l;)f|=1<xt),(0,Rt.z)(nt=>nt),(0,Rr.R)((nt,xt)=>{const Kt=[...nt];return Kt[xt.id]=xt,Kt},[]),(0,oe.U)(nt=>{const xt=nt.filter(Kt=>!!Kt);return xt.sort(y),xt})),this.currentLap=this.grid.pipe((0,Rt.z)(nt=>nt),(0,Rr.R)((nt,xt)=>nt>xt.laps?nt:this.finished.value||isNaN(xt.time)?xt.laps:xt.laps+1,0),(0,Jr.O)(0),ho(1),(0,Wr.x)(),(0,Cr.x)()),this.allFinished=this.ranking.pipe(mi(this.finished),(0,oe.U)(([nt,xt])=>xt&&nt.every(Kt=>Kt.finished)),(0,Jr.O)(!1),ho(1),(0,Wr.x)(),(0,Cr.x)()),this.timer=f.time?zr(500).pipe(bo(l.getStart(),l.getState()),(0,H.h)(([nt,xt,Kt])=>this.started&&(!this.options.pause||0==xt&&"connected"==Kt)),(0,Rr.R)((nt,xt)=>Math.max(0,nt-500),f.time),(0,Wn.b)(nt=>{0==nt&&(this.stopped=!0,this.finish())}),(0,no.B)(),(0,Jr.O)(f.time)):Yr.E,this.cu.setMask(this.mask),this.cu.clearPosition(),this.cu.reset()}start(){this.started=!0}stop(){this.stopped=!0,this.finish()}toggleYellowFlag(){const l=this.yellowFlag.value;this.yellowFlag.value?(this.mask=this.realMask,this.realMask=null):(this.realMask=this.mask,this.mask=255),this.cu.setMask(this.mask),this.yellowFlag.next(!l)}createGrid(l,f,y,I=0){const Y=new Array;for(let Fe=0;I;++Fe)1&I&&Y.push([Fe,NaN,0]),I>>>=1;return l.pipe((0,Jr.O)(...Y),function Zi(p,l,f,y){return(0,St.e)((I,Y)=>{let Fe;l&&"function"!=typeof l?({duration:f,element:Fe,connector:y}=l):Fe=l;const pt=new Map,nt=zt=>{pt.forEach(zt),zt(Y)},xt=zt=>nt(ln=>ln.error(zt));let Kt=0,Vn=!1;const At=new $n.Q(Y,zt=>{try{const ln=p(zt);let _n=pt.get(ln);if(!_n){pt.set(ln,_n=y?y():new Dn.x);const sr=function It(zt,ln){const _n=new O.y(sr=>{Kt++;const Vo=ln.subscribe(sr);return()=>{Vo.unsubscribe(),0==--Kt&&Vn&&At.unsubscribe()}});return _n.key=zt,_n}(ln,_n);if(Y.next(sr),f){const Vo=(0,$n.x)(_n,()=>{_n.complete(),Vo?.unsubscribe()},void 0,void 0,()=>pt.delete(ln));At.add((0,it.Xf)(f(sr)).subscribe(Vo))}}_n.next(Fe?Fe(zt):zt)}catch(ln){xt(ln)}},()=>nt(zt=>zt.complete()),xt,()=>pt.clear(),()=>(Vn=!0,0===Kt));I.subscribe(At)})}(([Fe])=>Fe),(0,oe.U)(Fe=>(this.active|=1<{const ln=nt[nt.length-1]||[];if(zt&&It>(ln.length>=zt?ln[zt-1]:-1/0)+this.options.minLapTime)if(1===zt)nt.push([It]),xt[0]=It-ln[0],Kt[0]=Math.min(xt[0],Kt[0]||1/0),ln.length>1&&(xt[ln.length]=It-ln[ln.length-1],Kt[ln.length]=Math.min(xt[ln.length],Kt[ln.length]||1/0)),!Vn&&this.isFinished(nt.length-1)&&(this.finish(At),Vn=!0);else{const _n=zt-1;ln[_n]=It,xt[_n]=It-ln[_n-1],Kt[_n]=Math.min(xt[_n],Kt[_n]||1/0)}return[nt,xt,Kt,Vn]},[[],[],[],!1])).pipe(mi(y.pipe((0,oe.U)(nt=>0!=(nt&~this.mask&1<[xt?nt+1:nt,xt],[0,!1])),f.pipe((0,oe.U)(nt=>nt[Fe.key]),(0,Cr.x)())),(0,oe.U)(([[nt,xt,Kt,Vn],[At,It],zt])=>{const _n=nt[nt.length-1]||[];return{id:Fe.key,time:_n[0],laps:nt.length?nt.length-1:0,last:xt,best:Kt,times:nt,fuel:zt,pit:It,pits:At,sector:_n.length-1||(nt[nt.length-2]||[]).length,finished:Vn}}),ho(1),(0,Wr.x)()))),ho(),(0,Wr.x)())}finish(l){const f=this.mask;this.mask|=255&~this.active,void 0!==l&&(this.mask|=1<=this.options.laps)||!(this.options.slotmode||!this.finished.value)}}function hs(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"leaderboard-item",3),r.NdJ("click",function(){const Y=r.CHM(f).$implicit,Fe=r.oxw();return r.KtG(Fe.showDetails(Y))}),r.qZA()}if(2&p){const f=l.$implicit,y=l.odd,I=r.oxw();r.Q6J("ngClass",y?"odd":"even")("fields",I.fields)("item",f)("ranked",I.ranked)("best",I.best)}}function $s(p,l){if(1&p&&r._UZ(0,"leaderboard-lap",12),2&p){const f=l.$implicit,y=l.odd,I=l.index,Y=l.count,Fe=r.oxw(2);r.Q6J("ngClass",y?"odd":"even")("lap",Y-I)("item",Fe.detail)("times",f)("best",Fe.best)("last",null==Fe.detail?null:Fe.detail.laptimes[I+1])("intlap",Fe.intlaps[null==Fe.detail?null:Fe.detail.id])("fields",Fe.detailFields)}}const ps=function(p){return{number:p}};function vi(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-header")(1,"ion-toolbar",4)(2,"ion-title")(3,"outline",5),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"ion-buttons",6)(8,"ion-button",7),r.NdJ("click",function(){r.CHM(f);const I=r.oxw();return r.KtG(I.modal.dismiss())}),r._UZ(9,"ion-icon",8),r.qZA()()()(),r.TgZ(10,"ion-content",9),r._UZ(11,"leaderboard-head",10),r.YNc(12,$s,1,8,"leaderboard-lap",11),r.qZA()}if(2&p){const f=r.oxw();r.xp6(3),r.Q6J("color",null==f.detail||null==f.detail.driver?null:f.detail.driver.color),r.xp6(1),r.hij(" ",(null==f.detail?null:f.detail.position)+1," "),r.xp6(1),r.hij(" ",(null==f.detail||null==f.detail.driver?null:f.detail.driver.name)||r.xi3(6,5,f.placeholder,r.VKq(8,ps,(null==f.detail?null:f.detail.id)+1))," "),r.xp6(6),r.Q6J("fields",f.detailFields),r.xp6(1),r.Q6J("ngForOf",null==f.detail?null:f.detail.laptimes)}}const Ki=[{practice:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],qualifying:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],race:["time bestlap lastlap laps status","time sector1 sector2 sector3 lastlap status"]},{practice:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],qualifying:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],race:["time bestlap lastlap laps pits fuel status","time sector1 sector2 sector3 lastlap fuel status"]}],yi=["lap laptime gap int status","lap laptime sector1 sector2 sector3 status"];let M=(()=>{const l=class{constructor(y,I){this.platform=I,this.placeholder="Driver {{number}}",this.detail=null,this.subscription=I.resize.subscribe(()=>y.markForCheck())}set items(y){if(this._items=y,y?(this.ranked=[...y],this.ranked.sort((I,Y)=>I.position-Y.position),this.best=y.map(I=>I.best).reduce((I,Y)=>(Y.forEach((Fe,pt)=>{Fe<(I[pt]||1/0)&&(I[pt]=Fe)}),I),[])):(this.ranked=y,this.best=[]),this.detail){for(let I of y)if(I.id==this.detail.id){this.detail=Object.assign({},I,{laptimes:this.getLapTimes(I)});break}this.intlaps=this.getIntLaps(y)}}get items(){return this._items}get fields(){const y=Ki[this.pitlane?1:0][this.mode][this.sectors?1:0];return((this.platform.isPortrait()?"code":"number name")+" "+y).split(/\s+/)}get detailFields(){return yi[this.sectors?1:0].split(/\s+/)}getLapTimes(y){let I=[];for(let Y=y.times.length-2;Y>=0;--Y){const Fe=[y.times[Y+1]?.[0]].concat(y.times[Y]);I.push(Fe)}return I}getIntLaps(y){let I={};const Y=y.map(Fe=>[Fe.id,Fe.best[0]]).sort((Fe,pt)=>Fe[1]-pt[1]);return Y.map(([Fe,pt],nt)=>[Fe,nt?Y[nt-1][1]:pt]).forEach(([Fe,pt])=>{I[Fe]=pt}),I}showDetails(y){this.detail=Object.assign({},y,{laptimes:this.getLapTimes(y)}),this.intlaps=this.getIntLaps(this._items)}onWillDismissDetails(y){this.detail=null}ngOnDestroy(){this.subscription.unsubscribe()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(r.sBO),r.Y36(Re.t4))},l.\u0275cmp=r.Xpm({type:l,selectors:[["leaderboard"]],viewQuery:function(I,Y){if(1&I&&r.Gf(Ce.ki,5),2&I){let Fe;r.iGM(Fe=r.CRH())&&(Y.modal=Fe.first)}},inputs:{mode:"mode",sectors:"sectors",pitlane:"pitlane",items:"items"},decls:4,vars:4,consts:[[1,"row",3,"fields","pos"],["class","row",3,"ngClass","fields","item","ranked","best","click",4,"ngFor","ngForOf"],[3,"isOpen","willDismiss"],[1,"row",3,"ngClass","fields","item","ranked","best","click"],["mode","md"],[3,"color"],["slot","end"],[3,"click"],["name","close-sharp"],[1,"ion-padding"],[1,"row",3,"fields"],["class","row",3,"ngClass","lap","item","times","best","last","intlap","fields",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","lap","item","times","best","last","intlap","fields"]],template:function(I,Y){1&I&&(r._UZ(0,"leaderboard-head",0),r.YNc(1,hs,1,5,"leaderboard-item",1),r.TgZ(2,"ion-modal",2),r.NdJ("willDismiss",function(pt){return Y.onWillDismissDetails(pt)}),r.YNc(3,vi,13,10,"ng-template"),r.qZA()),2&I&&(r.Q6J("fields",Y.fields)("pos",!0),r.xp6(1),r.Q6J("ngForOf",Y.items),r.xp6(1),r.Q6J("isOpen",null!=Y.detail))},styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),p})();const Q=function(p,l){return{active:p,blink:l}};let Ae=(()=>{const l=class{constructor(){this.blink=!1}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["startlight"]],inputs:{active:"active",blink:"blink"},decls:1,vars:4,consts:[[3,"ngClass"]],template:function(I,Y){1&I&&r._UZ(0,"div",0),2&I&&r.Q6J("ngClass",r.WLB(1,Q,Y.active,Y.blink))},dependencies:[B.mk],styles:["@keyframes _ngcontent-%COMP%_startlight-blink{0%{background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}to{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}}div[_ngcontent-%COMP%]{display:inline-block;width:1em;height:1em;margin-left:.1em;margin-right:.1em;border-radius:50%;background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}div.active[_ngcontent-%COMP%]{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}div.blink[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_startlight-blink;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear}"],changeDetection:0}),p})();function at(p,l){if(1&p&&(r.O4$(),r._UZ(0,"circle")),2&p){const f=l.$implicit,y=r.oxw().$implicit,I=r.oxw();r.uIk("cx",y)("cy",f)("r",I.radius)}}function yt(p,l){if(1&p&&(r.O4$(),r.TgZ(0,"g"),r.YNc(1,at,1,3,"circle",1),r.qZA()),2&p){const f=r.oxw();r.xp6(1),r.Q6J("ngForOf",f.yoffsets)}}const Zt=function(p){return{blink:p}};let Xn=(()=>{const l=class{constructor(){this.radius=.4}ngOnChanges(y){this.xoffsets=[],this.yoffsets=[];for(let I=0;I{const l=class{constructor(){this.onYellowFlag=new r.vpe}set cu(y){if(y){const I=y.getStart().pipe((0,Cr.x)()),Y=y.getState();this.lights=I.pipe((0,oe.U)(Fe=>1==Fe?5:Fe>1&&Fe<7?Fe-1:0)),this.blink=(0,pi.a)(I,Y).pipe((0,oe.U)(([Fe,pt])=>Fe>=8||"connected"!==pt)),this.keys=y.getVersion().then(Fe=>Fe>="5331")}else this.lights=(0,re.of)(0),this.blink=(0,re.of)(!1),this.keys=Promise.resolve(!1);this.controlUnit=y}get cu(){return this.controlUnit}togglePaceCar(){this.cu&&this.cu.trigger(Xr.PACE_CAR)}toggleStart(){this.cu&&this.cu.trigger(Xr.START)}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["race-control"]],inputs:{cu:"cu",yellowFlag:"yellowFlag"},outputs:{onYellowFlag:"onYellowFlag"},decls:30,vars:40,consts:[["slot","start"],[3,"disabled","click"],["viewBox","0 0 9 5"],["text-anchor","middle","x","50%","y","2","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["text-anchor","middle","x","50%","y","4","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["expand","full","fill","clear",1,"icon-only",3,"disabled","click"],[3,"active","blink"],["slot","end"],[3,"blink","cols","rows"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-toolbar")(1,"ion-buttons",0)(2,"ion-button",1),r.NdJ("click",function(){return Y.togglePaceCar()}),r.ALo(3,"async"),r.TgZ(4,"div"),r.O4$(),r.TgZ(5,"svg",2)(6,"text",3),r._uU(7,"PACE CAR"),r.qZA(),r.TgZ(8,"text",4),r._uU(9,"ESC"),r.qZA()()()()(),r.kcU(),r.TgZ(10,"ion-button",5),r.NdJ("click",function(){return Y.toggleStart()}),r.ALo(11,"async"),r._UZ(12,"startlight",6),r.ALo(13,"async"),r.ALo(14,"async"),r._UZ(15,"startlight",6),r.ALo(16,"async"),r.ALo(17,"async"),r._UZ(18,"startlight",6),r.ALo(19,"async"),r.ALo(20,"async"),r._UZ(21,"startlight",6),r.ALo(22,"async"),r.ALo(23,"async"),r._UZ(24,"startlight",6),r.ALo(25,"async"),r.ALo(26,"async"),r.qZA(),r.TgZ(27,"ion-buttons",7)(28,"ion-button",1),r.NdJ("click",function(pt){return Y.onYellowFlag.emit(pt)}),r._UZ(29,"yellow-flag",8),r.qZA()()()),2&I&&(r.xp6(2),r.Q6J("disabled",!r.lcZ(3,16,Y.keys)),r.xp6(8),r.Q6J("disabled",!r.lcZ(11,18,Y.keys)),r.xp6(2),r.Q6J("active",r.lcZ(13,20,Y.lights)>=1)("blink",r.lcZ(14,22,Y.blink)),r.xp6(3),r.Q6J("active",r.lcZ(16,24,Y.lights)>=2)("blink",r.lcZ(17,26,Y.blink)),r.xp6(3),r.Q6J("active",r.lcZ(19,28,Y.lights)>=3)("blink",r.lcZ(20,30,Y.blink)),r.xp6(3),r.Q6J("active",r.lcZ(22,32,Y.lights)>=4)("blink",r.lcZ(23,34,Y.blink)),r.xp6(3),r.Q6J("active",r.lcZ(25,36,Y.lights)>=5)("blink",r.lcZ(26,38,Y.blink)),r.xp6(4),r.Q6J("disabled",!Y.cu),r.xp6(1),r.Q6J("blink",Y.yellowFlag)("cols",9)("rows",5))},dependencies:[Ce.YG,Ce.Sm,Ce.sr,Ae,Xn,B.Ov],styles:["@media (orientation: portrait){ion-toolbar[_ngcontent-%COMP%]{font-size:9vw}}@media (orientation: landscape){ion-toolbar[_ngcontent-%COMP%]{font-size:6vw}}ion-button[_ngcontent-%COMP%]{font-size:inherit;height:100%;text-align:center;white-space:nowrap}ion-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;height:1em;font-weight:700;letter-spacing:normal;padding:6px;border-radius:8px;box-shadow:0 0 2px #444,inset 0 0 2px #666}"],changeDetection:0}),p})(),wn=(()=>{const l=class{ngOnChanges(y){this.path=function Rn(p,l){const f=[];for(let y=0;yfr(p),"m:ss":p=>jn(p),s:p=>Math.floor(p/1e3).toString(),"h:mm:ss.sss":p=>fr(p,!0),"m:ss.sss":p=>jn(p,!0),"s.sss":p=>(p/1e3).toFixed(3),"+h:mm:ss":p=>"+"+fr(p),"+m:ss":p=>"+"+jn(p),"+s":p=>"+"+Math.floor(p/1e3).toString(),"+h:mm:ss.sss":p=>"+"+fr(p,!0),"+m:ss.sss":p=>"+"+jn(p,!0),"+s.sss":p=>"+"+(p/1e3).toFixed(3)};let Ur=(()=>{const l=class{transform(y,I="h:mm:ss"){return null==y||Number.isNaN(y)?null:I in hr?hr[I](y>=0?y:0):I}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275pipe=r.Yjl({name:"time",type:l,pure:!0}),l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();function Vr(p,l){1&p&&r._UZ(0,"checkerboard",4),2&p&&r.Q6J("cols",9)("rows",5)}function Co(p,l){1&p&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Free Practice"),r.qZA(),r.BQk())}function Kr(p,l){1&p&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Qualifying"),r.qZA(),r.BQk())}function eo(p,l){1&p&&r._UZ(0,"span")}function Oo(p,l){if(1&p&&(r._uU(0),r.ALo(1,"translate")),2&p){const f=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}/{{total}}",f.laps)," ")}}function ao(p,l){if(1&p&&(r._uU(0),r.ALo(1,"translate")),2&p){const f=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}",f.laps)," ")}}function gs(p,l){if(1&p&&(r.TgZ(0,"span"),r.YNc(1,eo,1,0,"span",9),r.YNc(2,Oo,2,4,"ng-template",null,10,r.W1O),r.YNc(4,ao,2,4,"ng-template",null,11,r.W1O),r.qZA()),2&p){const f=r.MAs(3),y=r.MAs(5),I=r.oxw(3);r.xp6(1),r.Q6J("ngIf",I.laps.total)("ngIfThen",f)("ngIfElse",y)}}function Jo(p,l){if(1&p&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&p){const f=r.oxw(4);r.xp6(1),r.hij(" ",r.xi3(2,1,"{{total}} Laps",f.laps)," ")}}function el(p,l){if(1&p&&r.YNc(0,Jo,3,4,"span",6),2&p){r.oxw(2);const f=r.MAs(3),y=r.oxw();r.Q6J("ngIf",y.laps.total)("ngIfElse",f)}}function Us(p,l){if(1&p&&(r.TgZ(0,"span"),r.YNc(1,gs,6,3,"span",6),r.YNc(2,el,1,2,"ng-template",null,8,r.W1O),r.qZA()),2&p){const f=r.MAs(3),y=r.oxw(2);r.xp6(1),r.Q6J("ngIf",y.laps.count)("ngIfElse",f)}}function qi(p,l){1&p&&(r.TgZ(0,"span",5),r._uU(1,"Race"),r.qZA())}function va(p,l){if(1&p&&(r.ynx(0),r.YNc(1,Us,4,2,"span",6),r.YNc(2,qi,2,0,"ng-template",null,7,r.W1O),r.BQk()),2&p){const f=r.MAs(3),y=r.oxw();r.xp6(1),r.Q6J("ngIf",y.laps)("ngIfElse",f)}}function Do(p,l){1&p&&r._UZ(0,"checkerboard",4),2&p&&r.Q6J("cols",9)("rows",5)}function ya(p,l){if(1&p&&(r.TgZ(0,"span",12),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw();r.xp6(1),r.hij(" ",r.xi3(2,1,f.time,"h:mm:ss")," ")}}let Ji=(()=>{const l=class{constructor(){}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["race-title"]],inputs:{mode:"mode",laps:"laps",time:"time",finished:"finished"},decls:8,vars:7,consts:[[3,"cols","rows",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["style","float: right",4,"ngIf"],[3,"cols","rows"],["translate",""],[4,"ngIf","ngIfElse"],["race",""],["race0",""],[4,"ngIf","ngIfThen","ngIfElse"],["race1",""],["race2",""],[2,"float","right"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-title"),r.YNc(1,Vr,1,2,"checkerboard",0),r.TgZ(2,"span",1),r.YNc(3,Co,3,0,"ng-container",2),r.YNc(4,Kr,3,0,"ng-container",2),r.YNc(5,va,4,2,"ng-container",2),r.qZA(),r.YNc(6,Do,1,2,"checkerboard",0),r.YNc(7,ya,3,4,"span",3),r.qZA()),2&I&&(r.xp6(1),r.Q6J("ngIf",Y.finished),r.xp6(1),r.Q6J("ngSwitch",Y.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(1),r.Q6J("ngSwitchCase","race"),r.xp6(1),r.Q6J("ngIf",Y.finished),r.xp6(1),r.Q6J("ngIf",Y.time&&!Y.finished))},dependencies:[B.O5,B.RF,B.n9,Ce.wd,wn,Ne.Pi,Ur,Ne.X$],encapsulation:2,changeDetection:0}),p})();function jr(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-button",4),r.NdJ("click",function(){r.CHM(f);const I=r.oxw();return r.KtG(I.toggleSpeech())}),r._UZ(1,"ion-icon",9),r.qZA()}if(2&p){const f=r.oxw();r.xp6(1),r.Q6J("name",null!=f.options&&f.options.speech?"volume-high-sharp":"volume-mute-sharp")}}function Vs(p,l){if(1&p&&(r.TgZ(0,"div"),r._UZ(1,"leaderboard",10),r.ALo(2,"async"),r.ALo(3,"async"),r.ALo(4,"async"),r.qZA()),2&p){const f=r.oxw();r.xp6(1),r.Q6J("mode",f.mode)("items",r.lcZ(2,4,f.items))("pitlane",r.lcZ(3,6,f.pitlane))("sectors",r.lcZ(4,8,f.sectors))}}function _i(p,l){1&p&&(r.TgZ(0,"div",11)(1,"h1",12),r._uU(2,"Welcome to Open Lap!"),r.qZA(),r.TgZ(3,"p",12),r._uU(4," Please select a Control Unit device from the menu. "),r.qZA(),r.TgZ(5,"p",12),r._uU(6," If no devices are listed, please make sure that Bluetooth is enabled. "),r.qZA()())}const ms={position:(p,l)=>p.position-l.position,number:(p,l)=>p.id-l.id};let js=(()=>{const l=class{constructor(y,I,Y,Fe,pt,nt,xt,Kt){this.cu=y,this.app=I,this.logger=Y,this.settings=Fe,this.speech=pt,this.popover=nt,this.translate=xt,this.subscription=new br.w0;const Vn=Kt.snapshot.paramMap.get("mode");switch(Vn){case"practice":case"qualifying":case"race":this.mode=Vn;break;default:this.mode="practice"}const At=y.pipe((0,H.h)(It=>!!It),(0,Rt.z)(It=>It.getMode()),(0,Jr.O)(0),(0,Cr.x)());this.pitlane=At.pipe((0,oe.U)(It=>0!=(3&It))),this.sectors=Fe.getOptions().pipe((0,oe.U)(It=>It.sectors)),this.start=y.pipe((0,H.h)(It=>!!It),(0,Rt.z)(It=>It.getStart()),(0,Cr.x)()),this.orientation=I.orientation,this.legacyAndroid=I.isAndroid()&&I.isCordova()?I.getDeviceInfo().then(It=>It.version<"12"):Promise.resolve(!1)}ngOnInit(){this.subscription.add((0,pi.a)([this.cu,this.getRaceOptions(this.mode)]).subscribe(([y,I])=>{this.session=y&&I?this.startSession(y,I):null})),this.subscription.add(this.settings.getOptions().subscribe(y=>{this.options=y}))}startSession(y,I){const Y=new fs(y,I);this.lapcount=Y.currentLap.pipe((0,oe.U)(At=>({count:At,total:I.laps})),(0,Jr.O)({count:0,total:I.laps}));const Fe=this.settings.getDrivers().pipe((0,He.w)(At=>{const It=At.map((zt,ln)=>{const _n=zt.code||"#"+(ln+1);return zt.name?(0,re.of)({name:zt.name,code:_n,color:zt.color}):this.getTranslations("Driver {{number}}",{number:ln+1}).pipe((0,oe.U)(sr=>({name:sr,code:_n,color:zt.color})))});return(0,pi.a)(It)})),pt=[1/0,1/0,1/0,1/0],nt=(0,Je.T)(Y.grid.pipe((0,oe.U)(At=>At.pipe(Ao())),(0,Rt.z)(At=>At),(0,Rt.z)(([At,It])=>{const zt=[];return It.best.forEach((ln,_n)=>{(ln||1/0)=3&&zt.push([_n?"bests"+_n:"bestlap",It.id]))}),!It.finished&&It.time&&(It.fuelAt.length>0&&"race"==I.mode),(0,oe.U)(At=>At.map(It=>({id:It.id,finished:It.finished}))),Ao(),(0,H.h)(([At,It])=>It[0].finished),(0,Rt.z)(([At,It])=>{const zt=[];return!At[0].finished&&It[0].finished&&zt.push(It.length>1?["finished1st",It[0].id]:["finished",null]),It.length>=2&&!At[1]?.finished&&It[1].finished&&zt.push(["finished2nd",It[1].id]),It.length>=3&&!At[2]?.finished&&It[2].finished&&zt.push(["finished3rd",It[2].id]),(0,zn.D)(zt)})),Y.ranking.pipe((0,H.h)(At=>0!=At.length&&"race"==I.mode),(0,oe.U)(At=>At[0]),Ao(),(0,H.h)(([At,It])=>At.id!=It.id),(0,oe.U)(([At,It])=>["newleader",It.id])),Y.timer.pipe((0,H.h)(At=>I.time>=12e4&&At<=6e4&&!Y.finished.value),(0,Mn.q)(1),(0,oe.U)(()=>["oneminute",null])),Y.timer.pipe((0,oe.U)(At=>[At,Y.finished.value]),Ao(),(0,oe.U)(([At,It])=>[It[0],At[1]]),(0,H.h)(([At,It])=>0==At&&!It),(0,Mn.q)(1),(0,oe.U)(()=>["timeout",null])),Y.yellowFlag.pipe((0,Cr.x)(),function gi(p){return(0,St.e)((l,f)=>{let y=!1,I=0;l.subscribe((0,$n.x)(f,Y=>(y||(y=!p(Y,I++)))&&f.next(Y)))})}(At=>!At),(0,oe.U)(At=>[At?"yellowflag":"greenflag",null])),Y.allFinished.pipe((0,H.h)(At=>At),(0,Mn.q)(1),(0,oe.U)(()=>["alldone",null])),this.lapcount.pipe((0,H.h)(At=>I.laps>=10&&At.count===I.laps-4&&!Y.finished.value),(0,Mn.q)(1),(0,oe.U)(()=>["fivelaps",null])),this.lapcount.pipe((0,H.h)(At=>I.laps&&At.count===I.laps&&!Y.finished.value),(0,Mn.q)(1),(0,oe.U)(()=>["finallap",null])),this.start.pipe((0,Cr.x)(),(0,H.h)(At=>9===At),(0,oe.U)(()=>["falsestart",null]))).pipe(bo(Fe),(0,oe.U)(([[At,It],zt])=>[At,null!==It?zt[It]:null])),xt=this.settings.getOptions().pipe((0,oe.U)(At=>At.fixedorder?"number":"position")),Kt=[],Vn=[];return this.items=(0,pi.a)([Y.ranking,Fe,xt]).pipe((0,oe.U)(([At,It,zt])=>{const ln=At.map((_n,sr)=>("race"==I.mode&&void 0===Kt[_n.id]&&void 0!==_n.time&&(Kt[_n.id]=sr),(!_n.pit||_n.fuelVn[_n.id]})));return ln.sort(ms[zt||"position"]),ln}),(0,no.B)()),this.subscriptions&&this.subscriptions.unsubscribe(),this.subscriptions=nt.pipe(bo(this.settings.getOptions(),this.settings.getNotifications(),this.getTranslations("notifications"))).subscribe(([[At,It],zt,ln,_n])=>{if(this.logger.debug("Race event: "+At,It),zt.speech&&ln[At]&&ln[At].enabled){let sr=ln[At].message||_n[At];this.speech.speak(It&&It.name?It.name+": "+sr:sr)}}),this.subscriptions.add(this.lapcount.subscribe(At=>{y.setLap(At.count)},At=>{this.logger.error("Lap counter error:",At)},()=>{this.logger.info("Lap counter finished")})),this.subscriptions.add(nt.pipe((0,H.h)(([At])=>"alldone"==At),bo(this.getRaceOptions(I.mode))).subscribe(([[At],It])=>{It.stopfin&&y.toggleStart()})),"practice"!=I.mode&&y.getStart().pipe((0,Mn.q)(1)).toPromise().then(It=>{0===It&&y.toggleStart(),y.getStart().pipe(Ao(),(0,H.h)(([zt,ln])=>0!=zt&&0==ln),(0,Mn.q)(1)).toPromise().then(()=>{this.logger.info("Start "+I.mode+" mode"),Y.start()})}),Y}ngOnDestroy(){this.subscription.unsubscribe(),this.subscriptions&&this.subscriptions.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()}ionViewDidEnter(){this.backButtonSubscription=this.app.backButton.subscribe(()=>{this.cu.value?this.cu.value.disconnect().catch(y=>{this.logger.error("Error disconnecting from CU:",y)}).then(()=>{this.app.exit()}):this.app.exit()})}ionViewWillLeave(){this.backButtonSubscription.unsubscribe()}restartSession(){this.session&&(this.session=this.startSession(this.session.cu,this.session.options))}cancelSession(){this.session&&this.session.stop()}getRaceOptions(y){switch(y){case"race":return this.settings.getRaceSettings();case"qualifying":return this.settings.getQualifyingSettings();default:return(0,re.of)(new ur.VL("practice"))}}toggleSpeech(){this.options&&this.settings.setOptions(Object.assign({},this.options,{speech:!this.options.speech}))}toggleYellowFlag(){this.session&&this.session.toggleYellowFlag()}showMenu(y){return this.popover.create({component:qo,componentProps:{mode:this.mode,active:this.session&&!this.session.finished.value&&"practice"!=this.mode,restart:()=>this.restartSession(),cancel:()=>this.cancelSession()},event:y}).then(I=>{I.present()})}getTranslations(y,I){return this.translate.stream(y,I)}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.V1),r.Y36(yn.zi),r.Y36(yn.ed),r.Y36(ur.de),r.Y36(yn.vA),r.Y36(Ce.Dh),r.Y36(Ne.sK),r.Y36(Gn.gz))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:22,vars:23,consts:[["slot","start"],[3,"mode","laps","time","finished"],["slot","end"],[3,"click",4,"ngIf"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngIf","ngIfElse"],["nocu",""],[3,"cu","yellowFlag","onYellowFlag"],["slot","icon-only",3,"name"],[3,"mode","items","pitlane","sectors"],[1,"ion-padding"],["translate",""]],template:function(I,Y){if(1&I&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-menu-button"),r.qZA(),r._UZ(4,"race-title",1),r.ALo(5,"async"),r.ALo(6,"async"),r.ALo(7,"async"),r.TgZ(8,"ion-buttons",2),r.YNc(9,jr,2,1,"ion-button",3),r.ALo(10,"async"),r.TgZ(11,"ion-button",4),r.NdJ("click",function(pt){return Y.showMenu(pt)}),r._UZ(12,"ion-icon",5),r.qZA()()()(),r.TgZ(13,"ion-content"),r.YNc(14,Vs,5,10,"div",6),r.ALo(15,"async"),r.YNc(16,_i,7,0,"ng-template",null,7,r.W1O),r.qZA(),r.TgZ(18,"ion-footer")(19,"race-control",8),r.NdJ("onYellowFlag",function(){return Y.toggleYellowFlag()}),r.ALo(20,"async"),r.ALo(21,"async"),r.qZA()()),2&I){const Fe=r.MAs(17);r.xp6(4),r.Q6J("mode",Y.mode)("laps",r.lcZ(5,9,Y.lapcount))("time",r.lcZ(6,11,null==Y.session?null:Y.session.timer))("finished",r.lcZ(7,13,null==Y.session?null:Y.session.finished)),r.xp6(5),r.Q6J("ngIf","landscape"==r.lcZ(10,15,Y.orientation)),r.xp6(5),r.Q6J("ngIf",r.lcZ(15,17,Y.cu))("ngIfElse",Fe),r.xp6(5),r.Q6J("cu",r.lcZ(20,19,Y.cu))("yellowFlag",r.lcZ(21,21,null==Y.session?null:Y.session.yellowFlag))}},dependencies:[B.O5,Ce.YG,Ce.Sm,Ce.W2,Ce.fr,Ce.Gu,Ce.gu,Ce.fG,Ce.sr,M,Qn,Ne.Pi,Ji,B.Ov],encapsulation:2}),p})();const vs=["time"],Hs=["laps"],_a=["pause"],zs=["slotmode"];function ys(p,l){1&p&&(r.TgZ(0,"span",21),r._uU(1,"Free Practice"),r.qZA())}function Li(p,l){1&p&&(r.TgZ(0,"span",21),r._uU(1,"Qualifying"),r.qZA())}function xr(p,l){1&p&&(r.TgZ(0,"span",21),r._uU(1,"Race"),r.qZA())}function ba(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",22,23),r.NdJ("ionInput",function(I){r.CHM(f);const Y=r.oxw();return r.KtG(Y.onLapsInput(I))})("ionChange",function(I){r.CHM(f);const Y=r.oxw();return r.KtG(Y.onChangeLaps(I))}),r.ALo(3,"translate"),r.qZA()()}2&p&&(r.xp6(1),r.s9C("label",r.lcZ(3,3,"Number of laps")),r.Q6J("clearInput",!0)("maxlength",5))}function Xo(p,l){if(1&p&&(r.TgZ(0,"ion-select-option",24),r._uU(1),r.qZA()),2&p){const f=l.$implicit;r.Q6J("value",f),r.xp6(1),r.Oqu(f)}}function Ca(p,l){1&p&&(r.TgZ(0,"ion-item")(1,"ion-toggle",25,26),r._uU(3,"Finish all laps"),r.qZA()())}const Qo=function(){return[1,2,3,4,5,6]};function Eo(p){const l=Math.floor(p/36e5),f=Math.floor(p/6e4%60);return(""+l).padStart(1,"0")+":"+(""+f).padStart(2,"0")}function bi(p){const[l,f]=p.split(":");return 1e3*(3600*parseInt(l)+60*parseInt(f))}function Xi(p){return p.value&&bi(p.value)?null:{required:!0}}function tl(p){const l=parseInt(p.get("laps").value);return l&&l>0||!Xi(p.get("time"))?null:{required:!0}}let $o=(()=>{const l=class{constructor(y,I,Y){this.mod=Y,this.mode=I.get("mode"),this.form="race"==this.mode?function Qi(p,l){return p.group({laps:new Un.NI(l.get("laps")||"0"),time:new Un.NI(Eo(l.get("time")||0)),pause:new Un.NI({value:!!l.get("pause"),disabled:!l.get("time")}),slotmode:new Un.NI({value:!!l.get("slotmode"),disabled:!l.get("laps")}),stopfin:new Un.NI(l.get("stopfin")||!1),drivers:new Un.NI(l.get("drivers")||""),auto:new Un.NI(l.get("auto")||!1),pace:new Un.NI(l.get("pace")||!1)},{validator:tl})}(y,I):function Da(p,l){return p.group({time:new Un.NI(Eo(l.get("time")||3e5),Xi),pause:new Un.NI({value:l.get("pause")||!1,disabled:!l.get("time")}),stopfin:new Un.NI(l.get("stopfin")||!1),drivers:new Un.NI(l.get("drivers")||""),auto:new Un.NI(l.get("auto")||!1),pace:new Un.NI(l.get("pace")||!1)})}(y,I)}ngAfterViewInit(){this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled)}onTimeInput(y){const Y=y.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,""),Fe=Y.substring(Y.length-2).padStart(2,"0"),nt=Y.substring(0,Y.length-2).padStart(1,"0")+":"+Fe;this.timeInput.value=nt,this.form.get("time").setValue(nt)}onChangeTime(y){const I=bi(y.detail.value);this.timeInput.value=Eo(I),0!=I?this.form.get("pause").enable():this.form.get("pause").disable(),this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.timeInput.getInputElement().then(Y=>Y.blur())}onLapsInput(y){const Y=y.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,"")||"0";this.lapsInput.value=Y,this.form.get("laps").setValue(Y)}onChangeLaps(y){parseInt(y.detail.value||"0")>0?this.form.get("slotmode").enable():this.form.get("slotmode").disable(),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled),this.lapsInput.getInputElement().then(I=>I.blur())}onSubmit(y){this.mod.dismiss(Object.assign(new ur.VL(this.mode),{laps:parseInt(y.laps||"0"),time:bi(y.time||"0:00"),pause:y.pause,drivers:y.drivers?parseInt(y.drivers):void 0,auto:y.auto,pace:y.pace,slotmode:y.slotmode,stopfin:y.stopfin}))}onCancel(){this.mod.dismiss()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(Un.qu),r.Y36(Re.X1),r.Y36(Ce.IN))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],viewQuery:function(I,Y){if(1&I&&(r.Gf(vs,5),r.Gf(Hs,5),r.Gf(_a,7),r.Gf(zs,5)),2&I){let Fe;r.iGM(Fe=r.CRH())&&(Y.timeInput=Fe.first),r.iGM(Fe=r.CRH())&&(Y.lapsInput=Fe.first),r.iGM(Fe=r.CRH())&&(Y.pauseToggle=Fe.first),r.iGM(Fe=r.CRH())&&(Y.slotmodeToggle=Fe.first)}},decls:43,vars:23,consts:[["translate","",3,"ngSwitch"],["translate","",4,"ngSwitchCase"],["translate","",4,"ngSwitchDefault"],["slot","start"],[3,"click"],["name","close-sharp"],["slot","end"],["translate","","type","submit",3,"disabled","click"],[3,"formGroup"],["formControlName","time","placeholder","0:00","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["time",""],[4,"ngIf"],["formControlName","drivers",3,"label","cancelText","okText"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","auto","translate",""],["formControlName","pace","translate",""],["formControlName","pause","translate",""],["pause",""],["formControlName","stopfin","translate",""],["stopfin",""],["translate",""],["formControlName","laps","placeholder","0","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["laps",""],[3,"value"],["formControlName","slotmode","translate",""],["slotmode",""]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title",0),r.YNc(3,ys,2,0,"span",1),r.YNc(4,Li,2,0,"span",1),r.YNc(5,xr,2,0,"span",2),r.qZA(),r.TgZ(6,"ion-buttons",3)(7,"ion-button",4),r.NdJ("click",function(){return Y.onCancel()}),r._UZ(8,"ion-icon",5),r.qZA()(),r.TgZ(9,"ion-buttons",6)(10,"ion-button",7),r.NdJ("click",function(){return Y.onSubmit(Y.form.value)}),r._uU(11," Start "),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"form",8)(14,"ion-list")(15,"ion-item")(16,"ion-input",9,10),r.NdJ("ionInput",function(pt){return Y.onTimeInput(pt)})("ionChange",function(pt){return Y.onChangeTime(pt)}),r.ALo(18,"translate"),r.qZA()(),r.YNc(19,ba,4,5,"ion-item",11),r.TgZ(20,"ion-item")(21,"ion-select",12),r.ALo(22,"translate"),r.ALo(23,"translate"),r.ALo(24,"translate"),r.TgZ(25,"ion-select-option",13),r._uU(26,"Automatic"),r.qZA(),r.YNc(27,Xo,2,2,"ion-select-option",14),r.qZA()(),r.TgZ(28,"ion-item")(29,"ion-toggle",15),r._uU(30,"Autonomous Car"),r.qZA()(),r.TgZ(31,"ion-item")(32,"ion-toggle",16),r._uU(33,"Pace Car"),r.qZA()(),r.TgZ(34,"ion-item")(35,"ion-toggle",17,18),r._uU(37,"Stop time when paused"),r.qZA()(),r.YNc(38,Ca,4,0,"ion-item",11),r.TgZ(39,"ion-item")(40,"ion-toggle",19,20),r._uU(42,"Stop cars when finished"),r.qZA()()()()()),2&I&&(r.xp6(2),r.Q6J("ngSwitch",Y.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(6),r.Q6J("disabled",!Y.form.valid),r.xp6(3),r.Q6J("formGroup",Y.form),r.xp6(3),r.s9C("label",r.lcZ(18,14,"Time")),r.Q6J("clearInput",!0)("maxlength",5),r.xp6(3),r.Q6J("ngIf","race"==Y.mode),r.xp6(2),r.s9C("label",r.lcZ(22,16,"Number of drivers")),r.s9C("cancelText",r.lcZ(23,18,"Cancel")),r.s9C("okText",r.lcZ(24,20,"OK")),r.xp6(6),r.Q6J("ngForOf",r.DdM(22,Qo)),r.xp6(11),r.Q6J("ngIf","race"==Y.mode))},dependencies:[B.sg,B.O5,B.RF,B.n9,B.ED,Un._Y,Un.JJ,Un.JL,Un.nD,Un.sg,Un.u,Ce.YG,Ce.Sm,Ce.W2,Ce.Gu,Ce.gu,Ce.pK,Ce.Ie,Ce.q_,Ce.t9,Ce.n0,Ce.wd,Ce.ho,Ce.sr,Ce.w,Ce.QI,Ce.j9,Ne.Pi,Ne.X$],encapsulation:2}),p})();function Uo(p,l){1&p&&(r.TgZ(0,"div",2)(1,"span",3),r._uU(2,"POS"),r.qZA()())}function Ci(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"NO"),r.qZA())}function Ys(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function _s(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function ei(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}function nl(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"LAST LAP"),r.qZA())}function rl(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"BEST LAP"),r.qZA())}function pr(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"S1"),r.qZA())}function fc(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"S2"),r.qZA())}function es(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"S3"),r.qZA())}function hc(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"GAP"),r.qZA())}function Ea(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"INT"),r.qZA())}function ol(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"LAPS"),r.qZA())}function il(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"PITS"),r.qZA())}function sl(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"FUEL"),r.qZA())}function Ni(p,l){1&p&&r._UZ(0,"span",3)}function al(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"LAP"),r.qZA())}function ll(p,l){1&p&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}const Or=function(p){return[p,"cell"]};function bs(p,l){if(1&p&&(r.TgZ(0,"div",4),r.YNc(1,Ci,2,0,"span",5),r.YNc(2,Ys,2,0,"span",5),r.YNc(3,_s,2,0,"span",5),r.YNc(4,ei,2,0,"span",5),r.YNc(5,nl,2,0,"span",5),r.YNc(6,rl,2,0,"span",5),r.YNc(7,pr,2,0,"span",5),r.YNc(8,fc,2,0,"span",5),r.YNc(9,es,2,0,"span",5),r.YNc(10,hc,2,0,"span",5),r.YNc(11,Ea,2,0,"span",5),r.YNc(12,ol,2,0,"span",5),r.YNc(13,il,2,0,"span",5),r.YNc(14,sl,2,0,"span",5),r.YNc(15,Ni,1,0,"span",5),r.YNc(16,al,2,0,"span",5),r.YNc(17,ll,2,0,"span",5),r.qZA()),2&p){const f=l.$implicit;r.Q6J("ngSwitch",f)("ngClass",r.VKq(19,Or,f)),r.xp6(1),r.Q6J("ngSwitchCase","number"),r.xp6(1),r.Q6J("ngSwitchCase","name"),r.xp6(1),r.Q6J("ngSwitchCase","code"),r.xp6(1),r.Q6J("ngSwitchCase","time"),r.xp6(1),r.Q6J("ngSwitchCase","lastlap"),r.xp6(1),r.Q6J("ngSwitchCase","bestlap"),r.xp6(1),r.Q6J("ngSwitchCase","sector1"),r.xp6(1),r.Q6J("ngSwitchCase","sector2"),r.xp6(1),r.Q6J("ngSwitchCase","sector3"),r.xp6(1),r.Q6J("ngSwitchCase","gap"),r.xp6(1),r.Q6J("ngSwitchCase","int"),r.xp6(1),r.Q6J("ngSwitchCase","laps"),r.xp6(1),r.Q6J("ngSwitchCase","pits"),r.xp6(1),r.Q6J("ngSwitchCase","fuel"),r.xp6(1),r.Q6J("ngSwitchCase","status"),r.xp6(1),r.Q6J("ngSwitchCase","lap"),r.xp6(1),r.Q6J("ngSwitchCase","laptime")}}let Di=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["leaderboard-head"]],inputs:{fields:"fields",pos:"pos"},decls:2,vars:2,consts:[["class","position cell",4,"ngIf"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[1,"position","cell"],[1,"title"],[3,"ngSwitch","ngClass"],["class","title",4,"ngSwitchCase"]],template:function(I,Y){1&I&&(r.YNc(0,Uo,3,0,"div",0),r.YNc(1,bs,18,21,"div",1)),2&I&&(r.Q6J("ngIf",Y.pos),r.xp6(1),r.Q6J("ngForOf",Y.fields))},dependencies:[B.mk,B.sg,B.O5,B.RF,B.n9],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),p})(),wa=(()=>{const l=class{constructor(){this.min=0,this.max=1}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["gauge"]],inputs:{min:"min",max:"max",value:"value"},decls:1,vars:2,template:function(I,Y){1&I&&r._UZ(0,"span"),2&I&&r.Udp("padding-right",100*(Y.max-Y.value)/(Y.max-Y.min)+"%")},styles:["span[_ngcontent-%COMP%]{display:inline-block;background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen);background-clip:content-box;min-height:.8em;width:100%}"],changeDetection:0}),p})();function lo(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",f.item.id+1," ")}}function d(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",null==f.item.driver?null:f.item.driver.name," ")}}function m(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",null==f.item.driver?null:f.item.driver.code," ")}}function c(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(3);r.hij(" ",r.xi3(1,1,f.item.time,"m:ss.sss")," ")}}function b(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(3);r.hij(" ",r.xi3(1,1,f.item.time-f.ranked[0].time,"+s.sss")," ")}}function F(p,l){1&p&&r._uU(0," +1 Lap ")}function J(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(3);r.hij(" +",f.ranked[0].laps-f.item.laps," Laps ")}}function fe(p,l){if(1&p&&(r.TgZ(0,"span",18),r.YNc(1,c,2,4,"ng-template",19),r.YNc(2,b,2,4,"ng-template",20),r.YNc(3,F,1,0,"ng-template",21),r.YNc(4,J,1,1,"ng-template",22),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngSwitch",0==f.item.position?"":(f.ranked[0].laps-f.item.laps).toString())}}const We=function(p){return{notime:p}};function ft(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.VKq(5,We,!f.item.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.item.best[0],"s.sss")||"NO\u2009TIME"," ")}}function Ut(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(2);r.hij(" ",r.xi3(1,1,f.item.position&&f.item.best[0]?f.item.best[0]-f.ranked[0].best[0]:null,"+s.sss")," ")}}function Vt(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(2);r.hij(" ",r.xi3(1,1,f.item.position&&f.item.best[0]?f.item.best[0]-f.ranked[f.item.position-1].best[0]:null,"+s.sss")," ")}}const qn=function(p,l,f){return{best:p,allbest:l,notime:f}};function Pr(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,qn,f.item.last[0]==f.item.best[0],f.item.last[0]==f.best[0],!f.item.last[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.item.last[0],"s.sss")||"NO\u2009TIME"," ")}}const wo=function(p,l,f){return{sector:p,best:l,allbest:f}};function Po(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,1==f.item.sector,f.item.last[1]==f.item.best[1],f.item.last[1]==f.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.item.last[1],"s.sss")," ")}}function ti(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,2==f.item.sector,f.item.last[2]==f.item.best[2],f.item.last[2]==f.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.item.last[2],"s.sss")," ")}}function co(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,3==f.item.sector,f.item.last[3]==f.item.best[3],f.item.last[3]==f.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.item.last[3],"s.sss")," ")}}function cl(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",f.item.laps," ")}}function Cs(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",f.item.pits," ")}}function Ds(p,l){if(1&p&&(r.TgZ(0,"gauge",24),r._uU(1,"\xa0"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("max",15)("value",f.item.fuel)}}function Gs(p,l){1&p&&r._UZ(0,"checkerboard",27),2&p&&r.Q6J("cols",7)("rows",5)}function Ws(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1,"PIT"),r.qZA()),2&p){const f=r.oxw(3);r.Q6J("ngClass",f.item.refuel?"inpit":"pitenter")}}function Es(p,l){if(1&p&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&p){const f=r.oxw(3);r.Q6J("ngClass",f.item.gridpos>f.item.position?"pos-up":f.item.gridpos2)}}const ws=function(p){return[p,"cell"]};function pc(p,l){if(1&p&&(r.TgZ(0,"div",2),r.YNc(1,lo,1,1,"ng-template",3),r.YNc(2,d,1,1,"ng-template",4),r.YNc(3,m,1,1,"ng-template",5),r.YNc(4,fe,5,1,"ng-template",6),r.YNc(5,ft,3,7,"ng-template",7),r.YNc(6,Ut,2,4,"ng-template",8),r.YNc(7,Vt,2,4,"ng-template",9),r.YNc(8,Pr,3,9,"ng-template",10),r.YNc(9,Po,3,9,"ng-template",11),r.YNc(10,ti,3,9,"ng-template",12),r.YNc(11,co,3,9,"ng-template",13),r.YNc(12,cl,1,1,"ng-template",14),r.YNc(13,Cs,1,1,"ng-template",15),r.YNc(14,Ds,2,2,"ng-template",16),r.YNc(15,ul,3,3,"ng-template",17),r.qZA()),2&p){const f=l.$implicit;r.Q6J("ngSwitch",f)("ngClass",r.VKq(2,ws,f))}}let dl=(()=>{const l=class{abs(y){return y<0?-y:y}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["leaderboard-item"]],inputs:{fields:"fields",item:"item",ranked:"ranked",best:"best"},decls:3,vars:3,consts:[[1,"position","cell",3,"color"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","number"],["ngSwitchCase","name"],["ngSwitchCase","code"],["ngSwitchCase","time"],["ngSwitchCase","bestlap"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","lastlap"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","laps"],["ngSwitchCase","pits"],["ngSwitchCase","fuel"],["ngSwitchCase","status"],[3,"ngSwitch"],["ngSwitchCase",""],["ngSwitchCase","0"],["ngSwitchCase","1"],["ngSwitchDefault",""],[3,"ngClass"],[3,"max","value"],[3,"cols","rows",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"cols","rows"]],template:function(I,Y){1&I&&(r.TgZ(0,"outline",0),r._uU(1),r.qZA(),r.YNc(2,pc,16,4,"div",1)),2&I&&(r.Q6J("color",null==Y.item.driver?null:Y.item.driver.color),r.xp6(1),r.hij(" ",Y.item.position+1,"\n"),r.xp6(1),r.Q6J("ngForOf",Y.fields))},dependencies:[B.mk,B.sg,B.O5,B.RF,B.n9,B.ED,wn,wa,Bo,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),p})();function Is(p,l){if(1&p&&r._uU(0),2&p){const f=r.oxw(2);r.hij(" ",f.lap," ")}}const ki=function(p,l){return{best:p,allbest:l}};function fl(p,l){if(1&p&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,f.times[0]-f.times[1]==f.item.best[0],f.times[0]-f.times[1]==f.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.times[0]-f.times[1],"s.sss")," ")}}function gc(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(2);r.hij(" ",r.xi3(1,1,f.times[0]-f.times[1]-f.best[0]||null,"+s.sss")," ")}}function mc(p,l){if(1&p&&(r._uU(0),r.ALo(1,"time")),2&p){const f=r.oxw(2);r.hij(" ",r.xi3(1,1,f.times[0]-f.times[1]-f.intlap||null,"+s.sss")," ")}}function ts(p,l){if(1&p&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,f.times[2]-f.times[1]==f.item.best[1],f.times[2]-f.times[1]==f.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.times[2]-f.times[1],"s.sss")," ")}}function Ss(p,l){if(1&p&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,f.times[3]-f.times[2]==f.item.best[2],f.times[3]-f.times[2]==f.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.times[3]-f.times[2],"s.sss")," ")}}function vc(p,l){if(1&p&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&p){const f=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,f.times[0]-f.times[3]==f.item.best[3],f.times[0]-f.times[3]==f.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,f.times[0]-f.times[3],"s.sss")," ")}}function Id(p,l){if(1&p&&r._UZ(0,"span",10),2&p){const f=r.oxw(3);r.Q6J("ngClass",f.last[0]-f.last[1]>f.times[0]-f.times[1]?"pos-up":"pos-dn")}}function hl(p,l){if(1&p&&r.YNc(0,Id,1,1,"span",11),2&p){const f=r.oxw(2);r.Q6J("ngIf",f.last)}}const yc=function(p){return[p,"cell"]};function Sd(p,l){if(1&p&&(r.TgZ(0,"div",1),r.YNc(1,Is,1,1,"ng-template",2),r.YNc(2,fl,3,8,"ng-template",3),r.YNc(3,gc,2,4,"ng-template",4),r.YNc(4,mc,2,4,"ng-template",5),r.YNc(5,ts,3,8,"ng-template",6),r.YNc(6,Ss,3,8,"ng-template",7),r.YNc(7,vc,3,8,"ng-template",8),r.YNc(8,hl,1,1,"ng-template",9),r.qZA()),2&p){const f=l.$implicit;r.Q6J("ngSwitch",f)("ngClass",r.VKq(2,yc,f))}}let _c=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["leaderboard-lap"]],inputs:{lap:"lap",item:"item",times:"times",best:"best",last:"last",intlap:"intlap",fields:"fields"},decls:1,vars:1,consts:[[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","lap"],["ngSwitchCase","laptime"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","status"],[3,"ngClass"],[3,"ngClass",4,"ngIf"]],template:function(I,Y){1&I&&r.YNc(0,Sd,9,4,"div",0),2&I&&r.Q6J("ngForOf",Y.fields)},dependencies:[B.mk,B.sg,B.O5,B.RF,B.n9,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0}),p})(),bc=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,Ce.Pc,so.m]}),p})();r.B6R(M,[B.mk,B.sg,Ce.YG,Ce.Sm,Ce.W2,Ce.Gu,Ce.gu,Ce.wd,Ce.sr,Ce.ki,Bo,Di,dl,_c],[Ne.X$]);let Cc=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,Ce.Pc]}),p})(),Zs=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,Un.u5,Un.UX,Ce.Pc,bc,Cc,so.m]}),p})(),Dc=(()=>{const l=class{constructor(y,I,Y,Fe){this.logger=y,this.settings=I,this.controller=Y,this.options=new ur.Ei,this.params=Fe.data}get mode(){return this.options.cumode}set mode(y){this.options.cumode=y,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:y=>{this.options=y},error:y=>{this.logger.error("Tuning settings: ",y)},complete:()=>{this.logger.debug("Tuning settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}applyAll(){this.params.apply(),this.dismiss()}dismiss(){return this.controller.dismiss()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.ed),r.Y36(ur.de),r.Y36(Ce.Dh),r.Y36(Re.X1))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:7,vars:1,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click"],["translate",""]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(pt){return Y.mode=pt}),r._uU(3,"Control Unit mode"),r.qZA()(),r.TgZ(4,"ion-item",1),r.NdJ("click",function(){return Y.applyAll()}),r.TgZ(5,"ion-label",2),r._uU(6,"Apply all"),r.qZA()()()),2&I&&(r.xp6(2),r.Q6J("ngModel",Y.mode))},dependencies:[Un.JJ,Un.On,Ce.nz,Ce.Ie,Ce.Ub,Ce.Q$,Ce.w,Ne.Pi],encapsulation:2}),p})();const gl=function(p){return{number:p}};function Md(p,l){if(1&p&&(r.TgZ(0,"ion-label"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&p){const f=r.oxw().$implicit,y=r.oxw().ngIf,I=r.oxw();r.xp6(1),r.hij(" ",(null==y[f.id]?null:y[f.id].name)||r.xi3(2,1,I.placeholder,r.VKq(4,gl,f.id+1))," ")}}function ml(p,l){if(1&p&&(r.TgZ(0,"ion-label"),r._uU(1),r.qZA()),2&p){const f=r.oxw().$implicit,y=r.oxw().ngIf;r.xp6(1),r.hij(" ",(null==y[f.id]?null:y[f.id].code)||"#"+(f.id+1)," ")}}const Ms=function(p){return{pristine:p}};function Ec(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.update("speed",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.speed))("value",f.speed),r.xp6(2),r.Q6J("color",null==f.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.speed?"?":f.speed," ")}}function wc(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.update("brake",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.brake))("value",f.brake),r.xp6(2),r.Q6J("color",null==f.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.brake?"?":f.brake," ")}}function Ia(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.update("fuel",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.fuel))("value",f.fuel),r.xp6(2),r.Q6J("color",null==f.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.fuel?"?":f.fuel," ")}}function Td(p,l){if(1&p&&(r.ynx(0)(1,14),r.YNc(2,Ec,4,9,"ion-range",16),r.YNc(3,wc,4,9,"ion-range",16),r.YNc(4,Ia,4,9,"ion-range",16),r.BQk()()),2&p){const f=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",f.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Ad(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.updateCU("speed",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.speed))("value",y.toCU.speed[f.speed]),r.xp6(2),r.Q6J("color",null==f.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.speed?"?":y.toCU.speed[f.speed]," ")}}function Sa(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.updateCU("brake",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.brake))("value",y.toCU.brake[f.brake]),r.xp6(2),r.Q6J("color",null==f.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.brake?"?":y.toCU.brake[f.brake]," ")}}function xd(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(I){r.CHM(f);const Y=r.oxw(2).$implicit,Fe=r.oxw(2);return r.KtG(Fe.updateCU("fuel",I,Fe.locked?void 0:Y.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&p){const f=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==f.fuel))("value",y.toCU.fuel[f.fuel]),r.xp6(2),r.Q6J("color",null==f.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==f.fuel?"?":y.toCU.fuel[f.fuel]," ")}}function Od(p,l){if(1&p&&(r.ynx(0)(1,14),r.YNc(2,Ad,4,9,"ion-range",19),r.YNc(3,Sa,4,9,"ion-range",19),r.YNc(4,xd,4,9,"ion-range",19),r.BQk()()),2&p){const f=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",f.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Pd(p,l){if(1&p&&(r.TgZ(0,"ion-item")(1,"outline",13),r._uU(2),r.qZA(),r.ynx(3,14),r.ALo(4,"async"),r.YNc(5,Md,3,6,"ion-label",15),r.YNc(6,ml,2,1,"ion-label",15),r.BQk(),r.ynx(7,14),r.ALo(8,"async"),r.YNc(9,Td,5,4,"ng-container",15),r.YNc(10,Od,5,4,"ng-container",15),r.BQk(),r.qZA()),2&p){const f=l.$implicit,y=r.oxw().ngIf,I=r.oxw();let Y;r.xp6(1),r.Q6J("color",null==y[f.id]?null:y[f.id].color),r.xp6(1),r.hij(" ",f.id+1," "),r.xp6(1),r.Q6J("ngSwitch",r.lcZ(4,8,I.orientation)),r.xp6(2),r.Q6J("ngSwitchCase","landscape"),r.xp6(1),r.Q6J("ngSwitchCase","portrait"),r.xp6(1),r.Q6J("ngSwitch",null==(Y=r.lcZ(8,10,I.options))?null:Y.cumode),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0)}}function Rd(p,l){if(1&p&&(r.ynx(0),r.YNc(1,Pd,11,12,"ion-item",12),r.BQk()),2&p){const f=r.oxw();r.xp6(1),r.Q6J("ngForOf",f.models)}}const Fd=[0,1,2,3,4,5].map(p=>({id:p,speed:null,brake:null,fuel:null}));let vl=(()=>{const l=class{constructor(y,I,Y,Fe,pt,nt){this.logger=y,this.cu=I,this.popover=Y,this.ref=Fe,this.models=Fd,this.locked=!1,this.type="speed",this.placeholder="Driver {{number}}",this.fromCU={speed:[0,1,2,3,5,6,7,9,11,13,15],brake:[0,6,7,8,9,10,11,12,13,14,15],fuel:[0,3,4,5,6,7,8,9,10,11,12]},this.toCU={speed:[1,1,2,3,3,4,5,6,6,7,7,8,8,9,9,10],brake:[1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,10],fuel:[1,1,1,1,2,3,4,5,6,7,8,9,10,10,10,10]},this.subject=new Dn.x,this.connected=I.pipe((0,H.h)(xt=>!!xt),(0,He.w)(xt=>xt.getState()),(0,oe.U)(xt=>"connected"==xt)),this.drivers=nt.getDrivers(),this.options=nt.getOptions(),this.orientation=pt.orientation}ngOnInit(){this.subject.pipe(function pl(p,l=lr){return(0,St.e)((f,y)=>{let I=null,Y=null,Fe=null;const pt=()=>{if(I){I.unsubscribe(),I=null;const xt=Y;Y=null,y.next(xt)}};function nt(){const xt=Fe+p,Kt=l.now();if(Kt{Y=xt,Fe=l.now(),I||(I=l.schedule(nt,p),y.add(I))},()=>{pt(),y.complete()},void 0,()=>{Y=I=null}))})}(400)).subscribe(y=>{for(let I of void 0!==y.id?[this.models[y.id]]:this.models)switch(y.type){case"speed":this.cu.value.setSpeed(I.id,I.speed);break;case"brake":this.cu.value.setBrake(I.id,I.brake);break;case"fuel":this.cu.value.setFuel(I.id,I.fuel)}})}ngOnDestroy(){this.subject.complete()}applyAll(){for(let y of this.models)null!==y.speed&&this.cu.value.setSpeed(y.id,y.speed),null!==y.brake&&this.cu.value.setBrake(y.id,y.brake),null!==y.fuel&&this.cu.value.setFuel(y.id,y.fuel)}showMenu(y){return this.popover.create({component:Dc,componentProps:{apply:()=>this.applyAll()},event:y}).then(I=>{I.present()})}update(y,I,Y){const Fe=I.detail.value;this.logger.debug("Set",y,"to",Fe,"for",Y);for(let pt of void 0!==Y?[this.models[Y]]:this.models)pt[y]=Fe;this.subject.next({id:Y,type:y}),this.ref.detectChanges()}updateCU(y,I,Y){let Fe=I.detail.value;switch(y){case"speed":Fe=this.fromCU.speed[I.detail.value];break;case"brake":Fe=this.fromCU.brake[I.detail.value];break;case"fuel":Fe=this.fromCU.fuel[I.detail.value]}this.logger.debug("Set",y,"to",Fe,"for",Y);for(let pt of void 0!==Y?[this.models[Y]]:this.models)pt[y]=Fe;this.subject.next({id:Y,type:y}),this.ref.detectChanges()}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.ed),r.Y36(yn.V1),r.Y36(Ce.Dh),r.Y36(r.sBO),r.Y36(yn.zi),r.Y36(ur.de))},l.\u0275cmp=r.Xpm({type:l,selectors:[["ng-component"]],decls:25,vars:5,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],[3,"click"],["slot","icon-only",3,"name"],["slot","icon-only","name","ellipsis-vertical-sharp"],[3,"ngModel","ngModelChange"],["value","speed"],["value","brake"],["value","fuel"],[4,"ngIf"],[4,"ngFor","ngForOf"],["slot","start",3,"color"],[3,"ngSwitch"],[4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"],["slot","end",1,"tuning",3,"color"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Tuning"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(){return Y.locked=!Y.locked}),r._UZ(9,"ion-icon",5),r.qZA(),r.TgZ(10,"ion-button",4),r.NdJ("click",function(pt){return Y.showMenu(pt)}),r._UZ(11,"ion-icon",6),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"ion-segment",7),r.NdJ("ngModelChange",function(pt){return Y.type=pt}),r.TgZ(14,"ion-segment-button",8)(15,"ion-label",2),r._uU(16,"Speed"),r.qZA()(),r.TgZ(17,"ion-segment-button",9)(18,"ion-label",2),r._uU(19,"Brake"),r.qZA()(),r.TgZ(20,"ion-segment-button",10)(21,"ion-label",2),r._uU(22,"Fuel"),r.qZA()()(),r.YNc(23,Rd,2,1,"ng-container",11),r.ALo(24,"async"),r.qZA()),2&I&&(r.xp6(9),r.Q6J("name",Y.locked?"link-sharp":"unlink-sharp"),r.xp6(4),r.Q6J("ngModel",Y.type),r.xp6(10),r.Q6J("ngIf",r.lcZ(24,3,Y.drivers)))},dependencies:[B.mk,B.sg,B.O5,B.RF,B.n9,Un.JJ,Un.On,Ce.yp,Ce.YG,Ce.Sm,Ce.W2,Ce.Gu,Ce.gu,Ce.Ie,Ce.Q$,Ce.I_,Ce.cJ,Ce.GO,Ce.wd,Ce.sr,Ce.QI,Ce.j9,Ce.oU,Bo,Ne.Pi,B.Ov,Ne.X$],encapsulation:2}),p})(),yl=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,Un.u5,Ce.Pc,so.m]}),p})();const Ma=[{path:"",redirectTo:"rms/practice",pathMatch:"full"},{path:"rms/:mode",component:js},{path:"drivers",component:hi},{path:"tuning",component:vl},{path:"settings",loadChildren:()=>Promise.resolve().then(g.bind(g,9297)).then(p=>p.SettingsModule)},{path:"**",component:js}];let Ta=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[Gn.Bz.forRoot(Ma,{preloadingStrategy:Gn.wm,useHash:!0}),Gn.Bz]}),p})(),_l=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l}),l.\u0275inj=r.cJS({imports:[B.ez,so.m,Ce.Pc,Ta]}),p})();var bl=g(590),Ic=(g(9297),g(7162));function Mc(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(f);const I=r.oxw().$implicit,Y=r.oxw();return r.KtG(Y.onSelect(I))}),r.TgZ(1,"ion-label")(2,"h2"),r._uU(3),r.qZA(),r.TgZ(4,"h4"),r._uU(5),r.qZA()()()}if(2&p){const f=r.oxw().$implicit;r.xp6(3),r.Oqu(f.name),r.xp6(2),r.Oqu(f.address)}}function Tc(p,l){if(1&p&&r.YNc(0,Mc,6,2,"ion-item",1),2&p){const f=l.$implicit,y=r.oxw();r.Q6J("ngIf",!f.equals(y.selected))}}g(6557),g(6928),g(6291),g(6659),g(235);let Aa=(()=>{const l=class{constructor(y,I,Y,Fe,pt){this.backends=y,this.logger=I,this.platform=Y,this.settings=Fe,this.toast=pt,this.subscription=new br.w0}ngOnInit(){this.platform.ready().then(()=>{const y=this.backends.map(I=>I.scan().pipe((0,ie.K)(Y=>(this.logger.error("Scan error:",Y),this.toast.showLongCenter(Y.toString()),(0,Yr.c)()))));this.peripherals=(0,zn.D)(y).pipe((0,Rt.z)(I=>I),(0,H.h)(I=>"demo"!=I.type||this.demoControlUnit),(0,Wn.b)(I=>{!this.selected&&"web-bluetooth"==I.type&&this.onSelect(I)}),(0,Rr.R)((I,Y)=>I.concat(Y),[]))}),this.subscription.add(this.settings.getConnection().subscribe(y=>{this.demoControlUnit=y.demoControlUnit}))}ngOnDestroy(){this.subscription.unsubscribe()}onSelect(y){this.settings.getConnection().pipe((0,Mn.q)(1)).subscribe(I=>{this.settings.setConnection(Object.assign({},I,{type:y.type,name:y.name,address:y.address}))})}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(nr),r.Y36(yn.ed),r.Y36(Re.t4),r.Y36(ur.de),r.Y36(yn.tQ))},l.\u0275cmp=r.Xpm({type:l,selectors:[["connections"]],inputs:{selected:"selected"},decls:2,vars:3,consts:[["ngFor","",3,"ngForOf"],["button","","menuClose","",3,"click",4,"ngIf"],["button","","menuClose","",3,"click"]],template:function(I,Y){1&I&&(r.YNc(0,Tc,1,1,"ng-template",0),r.ALo(1,"async")),2&I&&r.Q6J("ngForOf",r.lcZ(1,1,Y.peripherals))},dependencies:[B.sg,B.O5,Ce.Ie,Ce.Q$,B.Ov],encapsulation:2}),p})(),Ac=(()=>{const l=class{transform(y){return y?y.replace(/^5(\d)(\d+)$/,"$1.$2"):"..."}};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275pipe=r.Yjl({name:"cuversion",type:l,pure:!0}),l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();function xc(p,l){if(1&p&&(r.TgZ(0,"h3")(1,"span",5),r._uU(2,"Firmware version"),r.qZA(),r._uU(3),r.ALo(4,"cuversion"),r.ALo(5,"async"),r.qZA()),2&p){const f=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,1,r.lcZ(5,3,f.version))," ")}}function oo(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-item",18),r.NdJ("click",function(){r.CHM(f);const I=r.oxw(2);return r.KtG(I.exitApp())}),r._UZ(1,"ion-icon",19),r.TgZ(2,"ion-label",5),r._uU(3,"Exit"),r.qZA()()}}function xa(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"div")(1,"ion-item-group")(2,"ion-menu-toggle",6)(3,"ion-item",7),r.NdJ("click",function(){r.CHM(f);const I=r.oxw();return r.KtG(I.startPractice())}),r._UZ(4,"ion-icon",8),r.TgZ(5,"ion-label",5),r._uU(6,"Free Practice"),r.qZA()(),r.TgZ(7,"ion-item",7),r.NdJ("click",function(){r.CHM(f);const I=r.oxw();return r.KtG(I.startQualifying())}),r._UZ(8,"ion-icon",9),r.TgZ(9,"ion-label",5),r._uU(10,"Qualifying"),r.qZA()(),r.TgZ(11,"ion-item",7),r.NdJ("click",function(){r.CHM(f);const I=r.oxw();return r.KtG(I.startRace())}),r._UZ(12,"ion-icon",10),r.TgZ(13,"ion-label",5),r._uU(14,"Race"),r.qZA()()()(),r.TgZ(15,"ion-item-group")(16,"ion-menu-toggle",6)(17,"ion-item",11),r._UZ(18,"ion-icon",12),r.TgZ(19,"ion-label",5),r._uU(20,"Drivers"),r.qZA()(),r.TgZ(21,"ion-item",13),r._UZ(22,"ion-icon",14),r.TgZ(23,"ion-label",5),r._uU(24,"Tuning"),r.qZA()()()(),r.TgZ(25,"ion-item-group")(26,"ion-menu-toggle",6)(27,"ion-item",15),r._UZ(28,"ion-icon",16),r.TgZ(29,"ion-label",5),r._uU(30,"Settings"),r.qZA()(),r.YNc(31,oo,4,0,"ion-item",17),r.qZA()()()}if(2&p){const f=r.oxw();r.xp6(3),r.Q6J("disabled",!f.cu),r.xp6(4),r.Q6J("disabled",!f.cu),r.xp6(4),r.Q6J("disabled",!f.cu),r.xp6(10),r.Q6J("disabled",!f.cu),r.xp6(10),r.Q6J("ngIf",f.exitApp)}}function Dl(p,l){if(1&p&&(r.TgZ(0,"ion-item-group"),r._UZ(1,"connections",20),r.qZA()),2&p){const f=r.oxw(2);r.xp6(1),r.Q6J("selected",null==f.cu?null:f.cu.peripheral)}}function Oa(p,l){if(1&p){const f=r.EpF();r.TgZ(0,"ion-item-group")(1,"ion-item",18),r.NdJ("click",function(){r.CHM(f);const I=r.oxw(2);return r.KtG(I.reconnect())}),r._UZ(2,"ion-icon",21),r.TgZ(3,"ion-label",5),r._uU(4,"Reconnect"),r.qZA()()()}}function qr(p,l){if(1&p&&(r.TgZ(0,"div"),r.YNc(1,Dl,2,1,"ion-item-group",3),r.YNc(2,Oa,5,0,"ion-item-group",3),r.qZA()),2&p){const f=r.oxw();r.xp6(1),r.Q6J("ngIf",f.open),r.xp6(1),r.Q6J("ngIf",f.cu)}}let Ts=(()=>{const l=class{constructor(y,I,Y,Fe,pt,nt){this.app=y,this.logger=I,this.settings=Y,this.alert=Fe,this.mod=pt,this.nav=nt,this.exitApp=null,this.driversPage=hi,this.tuningPage=vl,this.settingsPage=Ic.N,this.initialized=!1,y.exit&&(this.exitApp=()=>this.onExitApp())}ngOnChanges(y){"cu"in y&&(this.mode=!!this.cu,this.version=this.cu?this.cu.getVersion():Promise.resolve(void 0))}onMenuOpen(){!this.initialized&&this.connections&&(navigator.bluetooth&&this.connections.ngOnInit(),this.initialized=!0),this.open=!0}onMenuClose(){this.mode=!!this.cu,this.open=!1}onMenuToggle(){this.mode=!this.mode}reconnect(){this.cu&&(this.logger.info("Reconnecting to",this.cu.peripheral),this.cu.reconnect().then(()=>{this.version=this.cu.getVersion()}))}startPractice(){return this.nav.navigateRoot("rms/practice")}startQualifying(){this.settings.getQualifyingSettings().pipe((0,Mn.q)(1)).subscribe(y=>this.mod.create({component:$o,componentProps:y}).then(I=>{I.onDidDismiss().then(Y=>{Y.data&&this.settings.setQualifyingSettings(Y.data).then(()=>{this.nav.navigateRoot("rms/qualifying")})}),I.present()}))}startRace(){this.settings.getRaceSettings().pipe((0,Mn.q)(1)).subscribe(y=>this.mod.create({component:$o,componentProps:y}).then(I=>{I.onDidDismiss().then(Y=>{Y.data&&this.settings.setRaceSettings(Y.data).then(()=>{this.nav.navigateRoot("rms/race")})}),I.present()}))}onExitApp(){this.alert.show({message:"Exit Open Lap?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.exit()}]})}exit(){this.logger.info("Exiting application"),this.cu?this.cu.disconnect().catch(y=>{this.logger.error("Error disconnecting from CU:",y)}).then(()=>{this.app.exit()}):this.app.exit(),this.logger.info("Exited application")}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.zi),r.Y36(yn.ed),r.Y36(ur.de),r.Y36(yn.Pn),r.Y36(Ce.IN),r.Y36(Re.SH))},l.\u0275cmp=r.Xpm({type:l,selectors:[["menu"]],viewQuery:function(I,Y){if(1&I&&r.Gf(Aa,5),2&I){let Fe;r.iGM(Fe=r.CRH())&&(Y.connections=Fe.first)}},inputs:{cu:"cu"},features:[r.TTD],decls:14,vars:9,consts:[["contentId","menu-content",3,"ionDidClose","ionDidOpen"],["lines","none"],[3,"color","click"],[4,"ngIf"],["slot","end",3,"name"],["translate",""],["auto-hide","false"],["button","",3,"disabled","click"],["name","speedometer-sharp","slot","start"],["name","stopwatch-sharp","slot","start"],["name","trophy-sharp","slot","start"],["button","","routerLink","/drivers"],["name","people-sharp","slot","start"],["button","","routerLink","/tuning",3,"disabled"],["name","build-sharp","slot","start"],["button","","routerLink","/settings"],["menuClose","","name","settings-sharp","slot","start"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["name","exit-sharp","slot","start"],[3,"selected"],["name","refresh-sharp","slot","start"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-menu",0),r.NdJ("ionDidClose",function(){return Y.onMenuClose()})("ionDidOpen",function(){return Y.onMenuOpen()}),r.TgZ(1,"ion-content")(2,"ion-list",1)(3,"ion-item",2),r.NdJ("click",function(){return Y.onMenuToggle()}),r.TgZ(4,"ion-label")(5,"h1"),r._uU(6),r.ALo(7,"translate"),r.qZA(),r.TgZ(8,"h2"),r._uU(9),r.qZA(),r.YNc(10,xc,6,5,"h3",3),r.qZA(),r._UZ(11,"ion-icon",4),r.qZA(),r.YNc(12,xa,32,5,"div",3),r.YNc(13,qr,3,2,"div",3),r.qZA()()()),2&I&&(r.xp6(3),r.Q6J("color",Y.cu?"primary":"danger"),r.xp6(3),r.Oqu(Y.cu?Y.cu.peripheral.name:r.lcZ(7,7,"No connection")),r.xp6(3),r.Oqu(null==Y.cu?null:Y.cu.peripheral.address),r.xp6(1),r.Q6J("ngIf",Y.cu),r.xp6(1),r.Q6J("name",Y.mode?"caret-down-sharp":"caret-up-sharp"),r.xp6(1),r.Q6J("ngIf",Y.mode),r.xp6(1),r.Q6J("ngIf",!Y.mode))},dependencies:[B.O5,Ne.Pi,Ce.W2,Ce.gu,Ce.Ie,Ce.Ub,Ce.Q$,Ce.q_,Ce.z0,Ce.zc,Ce.YI,Gn.rH,Aa,B.Ov,Ne.X$,Ac],encapsulation:2}),p})();const wl={connected:"Connected to {{device}}",connecting:"Connecting to {{device}}",disconnected:"Disconnected from {{device}}"};let Oc=(()=>{const l=class{constructor(y,I,Y,Fe,pt,nt,xt,Kt,Vn,At){this.app=y,this.cu=I,this.backends=Y,this.alert=Fe,this.logger=pt,this.settings=nt,this.speech=xt,this.toast=Kt,this.translate=Vn,this.updates=At,this.stateSubscription=new br.w0,window.screen&&(window.screen.orientation.addEventListener("change",()=>{y.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))}),window.screen.orientation&&window.screen.orientation.type&&y.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))),y.keepAwake(!0),Vn.setDefaultLang("en")}ngOnInit(){this.app.getVersion().then(y=>{this.app.getVersionCode().then(I=>{I&&(y+=" ("+I+")"),this.logger.info("Open Lap",y,(0,r.X6Q)()?"[dev]":"[prod]","on",window?.navigator?.userAgent)})}),this.settings.getOptions().subscribe(y=>{this.logger.setDebugEnabled(y.debug),this.setLanguage(y.language),this.speech.setVoice(y.voice),this.speech.setRate(y.rate/1e3),this.speech.setPitch(y.pitch/1e3)})}ngOnDestroy(){this.cu.next(null)}ngAfterViewInit(){this.updates.isEnabled?(this.logger.info("Service worker enabled"),this.updates.available.subscribe(()=>{this.logger.info("Update available"),this.update()})):this.logger.debug("Service worker not enabled"),new Promise(y=>setTimeout(y,100)).then(()=>{this.connect()})}update(){this.alert.show({message:"A new version of Open Lap is available. Do you want to update now?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>document.location.reload()}]})}setLanguage(y){this.translate.use(y||this.translate.getBrowserLang()||"en").toPromise().then(I=>{this.translate.get("notifications.locale").toPromise().then(Y=>{this.speech.setLocale(Y)})})}showConnectionToast(y,I){this.toast.showShortCenter(wl[y]||"Connecting to {{device}}",{device:I}).catch(Fe=>{this.logger.error("Error showing toast",Fe)})}connect(){this.settings.getConnection().subscribe(y=>{this.stateSubscription.unsubscribe(),y&&y.name?(this.logger.info("Connecting to "+y.name),(0,zn.D)(this.backends.map(I=>I.scan())).pipe((0,Rt.z)(I=>I),(0,bl.P)(I=>I.equals(y)),li(3e3)).toPromise().then(I=>{const Y=new Go(I,y);this.stateSubscription=Y.getState().subscribe(Fe=>this.showConnectionToast(Fe,Y.peripheral.name)),this.cu.next(Y),Y.connect()}).catch(I=>{this.logger.error("Error connecting to "+y.name+":",I)}).then(()=>{this.app.hideSplashScreen()})):(this.app.hideSplashScreen(),this.cu.next(null))})}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.Y36(yn.zi),r.Y36(yn.V1),r.Y36(nr),r.Y36(yn.Pn),r.Y36(yn.ed),r.Y36(ur.de),r.Y36(yn.vA),r.Y36(yn.tQ),r.Y36(Ne.sK),r.Y36(ot))},l.\u0275cmp=r.Xpm({type:l,selectors:[["app-root"]],decls:4,vars:3,consts:[[3,"cu"],["main","","id","menu-content"]],template:function(I,Y){1&I&&(r.TgZ(0,"ion-app"),r._UZ(1,"menu",0),r.ALo(2,"async"),r._UZ(3,"ion-router-outlet",1),r.qZA()),2&I&&(r.xp6(1),r.Q6J("cu",r.lcZ(2,1,Y.cu)))},dependencies:[Ce.dr,Ce.jP,Ts,B.Ov],encapsulation:2}),p})();const Pa={production:!0};let Pc=(()=>{const l=class{constructor(y){this.logger=y}handleError(y){this.logger.error("Error:",y)}};let p=l;return l.\u0275fac=function(I){return new(I||l)(r.LFG(yn.ed))},l.\u0275prov=r.Yz7({token:l,factory:l.\u0275fac}),p})();function Il(p){return new un(p,"./assets/i18n/",".json")}function Rc(p){return{enabled:!p.is("cordova")&&Pa.production,registrationStrategy:"registerImmediately"}}let Sl=(()=>{const l=class{};let p=l;return l.\u0275fac=function(I){return new(I||l)},l.\u0275mod=r.oAB({type:l,bootstrap:[Oc]}),l.\u0275inj=r.cJS({providers:[Ye.B,mt.b,bt,Mt.A,Nt.s,C,Pt.e,dn.c,an.A,h.E,te.F,{provide:Gn.wN,useClass:Re.r4},{provide:r.qLn,useClass:Pc},{provide:ct,useFactory:Rc,deps:[Re.t4]}],imports:[i.b2,ir,Ce.Pc.forRoot(),de.Fw.forRoot(),Ne.aw.forRoot({loader:{provide:Ne.Zw,useFactory:Il,deps:[ve]}}),Fr,ro,_l,Zs,so.m,yl,Ta,Te.register("ngsw-worker.js")]}),p})();Pa.production&&(0,r.G48)(),i.q6().bootstrapModule(Sl).catch(p=>console.log(p))},5021:function(gt){gt.exports=function(){"use strict";function Oe(H){return Oe.result?Oe.result:H&&"function"==typeof H.getSerializer?Oe.result=H.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function g(H,oe){return(g.result=g.result||{})[oe]?g.result[oe]:H&&"function"==typeof H.getDriver?g.result[oe]=H.getDriver(oe):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function i(H){return g(H,H.WEBSQL)}var T=new Promise(function(H,oe){typeof sqlitePlugin<"u"?H():typeof cordova>"u"?oe(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return H()},!1)}).catch(function(){return Promise.resolve()});function B(){return T.then(function(){if(typeof sqlitePlugin<"u"&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}var O={_driver:"cordovaSQLiteDriver",_initStorage:function re(H){var oe=this,_e={db:null};if(H)for(var W in H)_e[W]="string"!=typeof H[W]?H[W].toString():H[W];var le=B().then(function(ue){return new Promise(function(ae,Z){try{_e.location=_e.location||"default",_e.db=ue({name:_e.name,version:String(_e.version),description:_e.description,size:_e.size,key:_e.dbKey,location:_e.location})}catch(X){Z(X)}_e.db.transaction(function(X){X.executeSql("CREATE TABLE IF NOT EXISTS "+_e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){oe._dbInfo=_e,ae()},function(he,ze){Z(ze)})})})}),ye=Oe(oe),ee=i(oe);return Promise.all([ye,ee,le]).then(function(ue){return _e.serializer=ue[0],le})},_support:function(){return B().then(function(oe){return!!oe}).catch(function(){return!1})}};return function j(H){var oe=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function _e(ye,ee){ye[ee]=function(){var ue=this,ae=arguments;return i(ue).then(function(Z){return Z[ee].apply(ue,ae)})}}for(var W=0,le=oe.length;W{gt.exports=function r(T,B,re){function O(oe,_e){if(!B[oe]){if(!T[oe]){if(j)return j(oe,!0);var le=new Error("Cannot find module '"+oe+"'");throw le.code="MODULE_NOT_FOUND",le}var ye=B[oe]={exports:{}};T[oe][0].call(ye.exports,function(ee){return O(T[oe][1][ee]||ee)},ye,ye.exports,r,T,B,re)}return B[oe].exports}for(var j=void 0,H=0;H"u"&&r(3);var W=Promise;function le(D,w){w&&D.then(function(A){w(null,A)},function(A){w(A)})}function ye(D,w,A){"function"==typeof w&&D.then(w),"function"==typeof A&&D.catch(A)}function ee(D){return"string"!=typeof D&&(console.warn(D+" used as a key, but it is not a string."),D=String(D)),D}function ue(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ae="local-forage-detect-blob-support",Z=void 0,X={},he=Object.prototype.toString,ze="readonly",we="readwrite";function ke(D){for(var w=D.length,A=new ArrayBuffer(w),G=new Uint8Array(A),me=0;me=43)}}).catch(function(){return!1})}(D).then(function(w){return Z=w})}function se(D){var w=X[D.name],A={};A.promise=new W(function(G,me){A.resolve=G,A.reject=me}),w.deferredOperations.push(A),w.dbReady=w.dbReady?w.dbReady.then(function(){return A.promise}):A.promise}function k(D){var A=X[D.name].deferredOperations.pop();if(A)return A.resolve(),A.promise}function pe(D,w){var G=X[D.name].deferredOperations.pop();if(G)return G.reject(w),G.promise}function be(D,w){return new W(function(A,G){if(X[D.name]=X[D.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},D.db){if(!w)return A(D.db);se(D),D.db.close()}var me=[D.name];w&&me.push(D.version);var Ie=H.open.apply(H,me);w&&(Ie.onupgradeneeded=function(Ve){var ot=Ie.result;try{ot.createObjectStore(D.storeName),Ve.oldVersion<=1&&ot.createObjectStore(ae)}catch(ct){if("ConstraintError"!==ct.name)throw ct;console.warn('The database "'+D.name+'" has been upgraded from version '+Ve.oldVersion+" to version "+Ve.newVersion+', but the storage "'+D.storeName+'" already exists.')}}),Ie.onerror=function(Ve){Ve.preventDefault(),G(Ie.error)},Ie.onsuccess=function(){A(Ie.result),k(D)}})}function Me(D){return be(D,!1)}function je(D){return be(D,!0)}function ce(D,w){if(!D.db)return!0;var A=!D.db.objectStoreNames.contains(D.storeName),me=D.version>D.db.version;if(D.versionD.version&&(D.version=Ie)}return!0}return!1}function qe(D){return _e([ke(atob(D.data))],{type:D.type})}function lt(D){return D&&D.__local_forage_encoded_blob}function ve(D){var w=this,A=w._initReady().then(function(){var G=X[w._dbInfo.name];if(G&&G.dbReady)return G.dbReady});return ye(A,D,D),A}function N(D,w,A,G){void 0===G&&(G=1);try{var me=D.db.transaction(D.storeName,w);A(null,me)}catch(Ie){if(G>0&&(!D.db||"InvalidStateError"===Ie.name||"NotFoundError"===Ie.name))return W.resolve().then(function(){if(!D.db||"NotFoundError"===Ie.name&&!D.db.objectStoreNames.contains(D.storeName)&&D.version<=D.db.version)return D.db&&(D.version=D.db.version+1),je(D)}).then(function(){return function De(D){se(D);for(var w=X[D.name],A=w.forages,G=0;G>4,xe[me++]=(15&Ve)<<4|ot>>2,xe[me++]=(3&ot)<<6|63&ct;return vt}function er(D){var G,w=new Uint8Array(D),A="";for(G=0;G>2],A+=Ke[(3&w[G])<<4|w[G+1]>>4],A+=Ke[(15&w[G+1])<<2|w[G+2]>>6],A+=Ke[63&w[G+2]];return w.length%3==2?A=A.substring(0,A.length-1)+"=":w.length%3==1&&(A=A.substring(0,A.length-2)+"=="),A}var nn={serialize:function xn(D,w){var A="";if(D&&(A=or.call(D)),D&&("[object ArrayBuffer]"===A||D.buffer&&"[object ArrayBuffer]"===or.call(D.buffer))){var G,me=Et;D instanceof ArrayBuffer?(G=D,me+=on):(G=D.buffer,"[object Int8Array]"===A?me+=tn:"[object Uint8Array]"===A?me+=en:"[object Uint8ClampedArray]"===A?me+=On:"[object Int16Array]"===A?me+=sn:"[object Uint16Array]"===A?me+=Bt:"[object Int32Array]"===A?me+=mn:"[object Uint32Array]"===A?me+=wt:"[object Float32Array]"===A?me+=ar:"[object Float64Array]"===A?me+=Cn:w(new Error("Failed to get type for BinaryArray"))),w(me+er(G))}else if("[object Blob]"===A){var Ie=new FileReader;Ie.onload=function(){var Ve=et+D.type+"~"+er(this.result);w(Et+Jt+Ve)},Ie.readAsArrayBuffer(D)}else try{w(JSON.stringify(D))}catch(Ve){console.error("Couldn't convert value into a JSON string: ",D),w(null,Ve)}},deserialize:function Yn(D){if(D.substring(0,Ct)!==Et)return JSON.parse(D);var G,w=D.substring(bn),A=D.substring(Ct,bn);if(A===Jt&&rt.test(w)){var me=w.match(rt);G=me[1],w=w.substring(me[0].length)}var Ie=Nn(w);switch(A){case on:return Ie;case Jt:return _e([Ie],{type:G});case tn:return new Int8Array(Ie);case en:return new Uint8Array(Ie);case On:return new Uint8ClampedArray(Ie);case sn:return new Int16Array(Ie);case Bt:return new Uint16Array(Ie);case mn:return new Int32Array(Ie);case wt:return new Uint32Array(Ie);case ar:return new Float32Array(Ie);case Cn:return new Float64Array(Ie);default:throw new Error("Unkown type: "+A)}},stringToBuffer:Nn,bufferToString:er};function mr(D,w,A,G){D.executeSql("CREATE TABLE IF NOT EXISTS "+w.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],A,G)}function Hn(D,w,A,G,me,Ie){D.executeSql(A,G,me,function(Ve,ot){ot.code===ot.SYNTAX_ERR?Ve.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],function(ct,vt){vt.rows.length?Ie(ct,ot):mr(ct,w,function(){ct.executeSql(A,G,me,Ie)},Ie)},Ie):Ie(Ve,ot)},Ie)}function Dr(D,w,A,G){var me=this;D=ee(D);var Ie=new W(function(Ve,ot){me.ready().then(function(){void 0===w&&(w=null);var ct=w,vt=me._dbInfo;vt.serializer.serialize(w,function(xe,Ze){Ze?ot(Ze):vt.db.transaction(function(L){Hn(L,vt,"INSERT OR REPLACE INTO "+vt.storeName+" (key, value) VALUES (?, ?)",[D,xe],function(){Ve(ct)},function(q,Te){ot(Te)})},function(L){if(L.code===L.QUOTA_ERR){if(G>0)return void Ve(Dr.apply(me,[D,ct,A,G-1]));ot(L)}})})}).catch(ot)});return le(Ie,A),Ie}var rn={_driver:"webSQLStorage",_initStorage:function pn(D){var w=this,A={db:null};if(D)for(var G in D)A[G]="string"!=typeof D[G]?D[G].toString():D[G];var me=new W(function(Ie,Ve){try{A.db=openDatabase(A.name,String(A.version),A.description,A.size)}catch(ot){return Ve(ot)}A.db.transaction(function(ot){mr(ot,A,function(){w._dbInfo=A,Ie()},function(ct,vt){Ve(vt)})},Ve)});return A.serializer=nn,me},_support:function Yt(){return"function"==typeof openDatabase}(),iterate:function rr(D,w){var A=this,G=new W(function(me,Ie){A.ready().then(function(){var Ve=A._dbInfo;Ve.db.transaction(function(ot){Hn(ot,Ve,"SELECT * FROM "+Ve.storeName,[],function(ct,vt){for(var xe=vt.rows,Ze=xe.length,L=0;L '__WebKitDatabaseInfoTable__'",[],function(me,Ie){for(var Ve=[],ot=0;ot0}var Sr={_driver:"localStorageWrapper",_initStorage:function it(D){var A={};if(D)for(var G in D)A[G]=D[G];return A.keyPrefix=He(D,this._defaultConfig),Xe()?(this._dbInfo=A,A.serializer=nn,W.resolve()):W.reject()},_support:function Je(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function En(D,w){var A=this,G=A.ready().then(function(){for(var me=A._dbInfo,Ie=me.keyPrefix,Ve=Ie.length,ot=localStorage.length,ct=1,vt=0;vt=0;me--){var Ie=localStorage.key(me);0===Ie.indexOf(G)&&localStorage.removeItem(Ie)}});return le(A,D),A},length:function Jn(D){var A=this.keys().then(function(G){return G.length});return le(A,D),A},key:function Ln(D,w){var A=this,G=A.ready().then(function(){var Ie,me=A._dbInfo;try{Ie=localStorage.key(D)}catch{Ie=null}return Ie&&(Ie=Ie.substring(me.keyPrefix.length)),Ie});return le(G,w),G},keys:function yr(D){var w=this,A=w.ready().then(function(){for(var G=w._dbInfo,me=localStorage.length,Ie=[],Ve=0;Ve=0;Ve--){var ot=localStorage.key(Ve);0===ot.indexOf(Ie)&&localStorage.removeItem(ot)}}):W.reject("Invalid arguments"),w),me}},tr=function(w,A){return w===A||"number"==typeof w&&"number"==typeof A&&isNaN(w)&&isNaN(A)},Xt=function(w,A){for(var G=w.length,me=0;me"u"?"undefined":re(A))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var G in A){if("storeName"===G&&(A[G]=A[G].replace(/\W/g,"_")),"version"===G&&"number"!=typeof A[G])return new Error("Database version must be a number.");this._config[G]=A[G]}return!("driver"in A)||!A.driver||this.setDriver(this._config.driver)}return"string"==typeof A?this._config[A]:this._config},D.prototype.defineDriver=function(A,G,me){var Ie=new W(function(Ve,ot){try{var ct=A._driver,vt=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!A._driver)return void ot(vt);for(var xe=$n.concat("_initStorage"),Ze=0,L=xe.length;Ze{"use strict";g.d(Oe,{X:()=>r});var i=g(7579);class r extends i.x{constructor(B){super(),this._value=B}get value(){return this.getValue()}_subscribe(B){const re=super._subscribe(B);return!re.closed&&B.next(this._value),re}getValue(){const{hasError:B,thrownError:re,_value:O}=this;if(B)throw re;return this._throwIfClosed(),O}next(B){super.next(this._value=B)}}},9751:(gt,Oe,g)=>{"use strict";g.d(Oe,{y:()=>H});var i=g(930),r=g(727),T=g(8822),B=g(9635),re=g(2416),O=g(576),j=g(2806);let H=(()=>{class le{constructor(ee){ee&&(this._subscribe=ee)}lift(ee){const ue=new le;return ue.source=this,ue.operator=ee,ue}subscribe(ee,ue,ae){const Z=function W(le){return le&&le instanceof i.Lv||function _e(le){return le&&(0,O.m)(le.next)&&(0,O.m)(le.error)&&(0,O.m)(le.complete)}(le)&&(0,r.Nn)(le)}(ee)?ee:new i.Hp(ee,ue,ae);return(0,j.x)(()=>{const{operator:X,source:he}=this;Z.add(X?X.call(Z,he):he?this._subscribe(Z):this._trySubscribe(Z))}),Z}_trySubscribe(ee){try{return this._subscribe(ee)}catch(ue){ee.error(ue)}}forEach(ee,ue){return new(ue=oe(ue))((ae,Z)=>{const X=new i.Hp({next:he=>{try{ee(he)}catch(ze){Z(ze),X.unsubscribe()}},error:Z,complete:ae});this.subscribe(X)})}_subscribe(ee){var ue;return null===(ue=this.source)||void 0===ue?void 0:ue.subscribe(ee)}[T.L](){return this}pipe(...ee){return(0,B.U)(ee)(this)}toPromise(ee){return new(ee=oe(ee))((ue,ae)=>{let Z;this.subscribe(X=>Z=X,X=>ae(X),()=>ue(Z))})}}return le.create=ye=>new le(ye),le})();function oe(le){var ye;return null!==(ye=le??re.v.Promise)&&void 0!==ye?ye:Promise}},4707:(gt,Oe,g)=>{"use strict";g.d(Oe,{t:()=>T});var i=g(7579),r=g(6063);class T extends i.x{constructor(re=1/0,O=1/0,j=r.l){super(),this._bufferSize=re,this._windowTime=O,this._timestampProvider=j,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=O===1/0,this._bufferSize=Math.max(1,re),this._windowTime=Math.max(1,O)}next(re){const{isStopped:O,_buffer:j,_infiniteTimeWindow:H,_timestampProvider:oe,_windowTime:_e}=this;O||(j.push(re),!H&&j.push(oe.now()+_e)),this._trimBuffer(),super.next(re)}_subscribe(re){this._throwIfClosed(),this._trimBuffer();const O=this._innerSubscribe(re),{_infiniteTimeWindow:j,_buffer:H}=this,oe=H.slice();for(let _e=0;_e{"use strict";g.d(Oe,{x:()=>j});var i=g(9751),r=g(727);const B=(0,g(3888).d)(oe=>function(){oe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=g(8737),O=g(2806);let j=(()=>{class oe extends i.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(W){const le=new H(this,this);return le.operator=W,le}_throwIfClosed(){if(this.closed)throw new B}next(W){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const le of this.currentObservers)le.next(W)}})}error(W){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=W;const{observers:le}=this;for(;le.length;)le.shift().error(W)}})}complete(){(0,O.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:W}=this;for(;W.length;)W.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var W;return(null===(W=this.observers)||void 0===W?void 0:W.length)>0}_trySubscribe(W){return this._throwIfClosed(),super._trySubscribe(W)}_subscribe(W){return this._throwIfClosed(),this._checkFinalizedStatuses(W),this._innerSubscribe(W)}_innerSubscribe(W){const{hasError:le,isStopped:ye,observers:ee}=this;return le||ye?r.Lc:(this.currentObservers=null,ee.push(W),new r.w0(()=>{this.currentObservers=null,(0,re.P)(ee,W)}))}_checkFinalizedStatuses(W){const{hasError:le,thrownError:ye,isStopped:ee}=this;le?W.error(ye):ee&&W.complete()}asObservable(){const W=new i.y;return W.source=this,W}}return oe.create=(_e,W)=>new H(_e,W),oe})();class H extends j{constructor(_e,W){super(),this.destination=_e,this.source=W}next(_e){var W,le;null===(le=null===(W=this.destination)||void 0===W?void 0:W.next)||void 0===le||le.call(W,_e)}error(_e){var W,le;null===(le=null===(W=this.destination)||void 0===W?void 0:W.error)||void 0===le||le.call(W,_e)}complete(){var _e,W;null===(W=null===(_e=this.destination)||void 0===_e?void 0:_e.complete)||void 0===W||W.call(_e)}_subscribe(_e){var W,le;return null!==(le=null===(W=this.source)||void 0===W?void 0:W.subscribe(_e))&&void 0!==le?le:r.Lc}}},930:(gt,Oe,g)=>{"use strict";g.d(Oe,{Hp:()=>ae,Lv:()=>le});var i=g(576),r=g(727),T=g(2416),B=g(7849),re=g(5032);const O=oe("C",void 0,void 0);function oe(we,ke,Le){return{kind:we,value:ke,error:Le}}var _e=g(3410),W=g(2806);class le extends r.w0{constructor(ke){super(),this.isStopped=!1,ke?(this.destination=ke,(0,r.Nn)(ke)&&ke.add(this)):this.destination=ze}static create(ke,Le,Pe){return new ae(ke,Le,Pe)}next(ke){this.isStopped?he(function H(we){return oe("N",we,void 0)}(ke),this):this._next(ke)}error(ke){this.isStopped?he(function j(we){return oe("E",void 0,we)}(ke),this):(this.isStopped=!0,this._error(ke))}complete(){this.isStopped?he(O,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ke){this.destination.next(ke)}_error(ke){try{this.destination.error(ke)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ye=Function.prototype.bind;function ee(we,ke){return ye.call(we,ke)}class ue{constructor(ke){this.partialObserver=ke}next(ke){const{partialObserver:Le}=this;if(Le.next)try{Le.next(ke)}catch(Pe){Z(Pe)}}error(ke){const{partialObserver:Le}=this;if(Le.error)try{Le.error(ke)}catch(Pe){Z(Pe)}else Z(ke)}complete(){const{partialObserver:ke}=this;if(ke.complete)try{ke.complete()}catch(Le){Z(Le)}}}class ae extends le{constructor(ke,Le,Pe){let se;if(super(),(0,i.m)(ke)||!ke)se={next:ke??void 0,error:Le??void 0,complete:Pe??void 0};else{let k;this&&T.v.useDeprecatedNextContext?(k=Object.create(ke),k.unsubscribe=()=>this.unsubscribe(),se={next:ke.next&&ee(ke.next,k),error:ke.error&&ee(ke.error,k),complete:ke.complete&&ee(ke.complete,k)}):se=ke}this.destination=new ue(se)}}function Z(we){T.v.useDeprecatedSynchronousErrorHandling?(0,W.O)(we):(0,B.h)(we)}function he(we,ke){const{onStoppedNotification:Le}=T.v;Le&&_e.z.setTimeout(()=>Le(we,ke))}const ze={closed:!0,next:re.Z,error:function X(we){throw we},complete:re.Z}},727:(gt,Oe,g)=>{"use strict";g.d(Oe,{Lc:()=>O,w0:()=>re,Nn:()=>j});var i=g(576);const T=(0,g(3888).d)(oe=>function(W){oe(this),this.message=W?`${W.length} errors occurred during unsubscription:\n${W.map((le,ye)=>`${ye+1}) ${le.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=W});var B=g(8737);class re{constructor(_e){this.initialTeardown=_e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let _e;if(!this.closed){this.closed=!0;const{_parentage:W}=this;if(W)if(this._parentage=null,Array.isArray(W))for(const ee of W)ee.remove(this);else W.remove(this);const{initialTeardown:le}=this;if((0,i.m)(le))try{le()}catch(ee){_e=ee instanceof T?ee.errors:[ee]}const{_finalizers:ye}=this;if(ye){this._finalizers=null;for(const ee of ye)try{H(ee)}catch(ue){_e=_e??[],ue instanceof T?_e=[..._e,...ue.errors]:_e.push(ue)}}if(_e)throw new T(_e)}}add(_e){var W;if(_e&&_e!==this)if(this.closed)H(_e);else{if(_e instanceof re){if(_e.closed||_e._hasParent(this))return;_e._addParent(this)}(this._finalizers=null!==(W=this._finalizers)&&void 0!==W?W:[]).push(_e)}}_hasParent(_e){const{_parentage:W}=this;return W===_e||Array.isArray(W)&&W.includes(_e)}_addParent(_e){const{_parentage:W}=this;this._parentage=Array.isArray(W)?(W.push(_e),W):W?[W,_e]:_e}_removeParent(_e){const{_parentage:W}=this;W===_e?this._parentage=null:Array.isArray(W)&&(0,B.P)(W,_e)}remove(_e){const{_finalizers:W}=this;W&&(0,B.P)(W,_e),_e instanceof re&&_e._removeParent(this)}}re.EMPTY=(()=>{const oe=new re;return oe.closed=!0,oe})();const O=re.EMPTY;function j(oe){return oe instanceof re||oe&&"closed"in oe&&(0,i.m)(oe.remove)&&(0,i.m)(oe.add)&&(0,i.m)(oe.unsubscribe)}function H(oe){(0,i.m)(oe)?oe():oe.unsubscribe()}},2416:(gt,Oe,g)=>{"use strict";g.d(Oe,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(gt,Oe,g)=>{"use strict";g.d(Oe,{c:()=>O});var i=g(9751),r=g(727),T=g(8343),B=g(5403),re=g(4482);class O extends i.y{constructor(H,oe){super(),this.source=H,this.subjectFactory=oe,this._subject=null,this._refCount=0,this._connection=null,(0,re.A)(H)&&(this.lift=H.lift)}_subscribe(H){return this.getSubject().subscribe(H)}getSubject(){const H=this._subject;return(!H||H.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:H}=this;this._subject=this._connection=null,H?.unsubscribe()}connect(){let H=this._connection;if(!H){H=this._connection=new r.w0;const oe=this.getSubject();H.add(this.source.subscribe((0,B.x)(oe,void 0,()=>{this._teardown(),oe.complete()},_e=>{this._teardown(),oe.error(_e)},()=>this._teardown()))),H.closed&&(this._connection=null,H=r.w0.EMPTY)}return H}refCount(){return(0,T.x)()(this)}}},9841:(gt,Oe,g)=>{"use strict";g.d(Oe,{a:()=>_e,l:()=>W});var i=g(9751),r=g(4742),T=g(2076),B=g(4671),re=g(3268),O=g(3269),j=g(1810),H=g(5403),oe=g(9672);function _e(...ye){const ee=(0,O.yG)(ye),ue=(0,O.jO)(ye),{args:ae,keys:Z}=(0,r.D)(ye);if(0===ae.length)return(0,T.D)([],ee);const X=new i.y(W(ae,ee,Z?he=>(0,j.n)(Z,he):B.y));return ue?X.pipe((0,re.Z)(ue)):X}function W(ye,ee,ue=B.y){return ae=>{le(ee,()=>{const{length:Z}=ye,X=new Array(Z);let he=Z,ze=Z;for(let we=0;we{const ke=(0,T.D)(ye[we],ee);let Le=!1;ke.subscribe((0,H.x)(ae,Pe=>{X[we]=Pe,Le||(Le=!0,ze--),ze||ae.next(ue(X.slice()))},()=>{--he||ae.complete()}))},ae)},ae)}}function le(ye,ee,ue){ye?(0,oe.f)(ue,ye,ee):ee()}},7272:(gt,Oe,g)=>{"use strict";g.d(Oe,{z:()=>re});var i=g(8189),T=g(3269),B=g(2076);function re(...O){return function r(){return(0,i.J)(1)}()((0,B.D)(O,(0,T.yG)(O)))}},9770:(gt,Oe,g)=>{"use strict";g.d(Oe,{P:()=>T});var i=g(9751),r=g(8421);function T(B){return new i.y(re=>{(0,r.Xf)(B()).subscribe(re)})}},515:(gt,Oe,g)=>{"use strict";g.d(Oe,{E:()=>r,c:()=>T});var i=g(9751);const r=new i.y(re=>re.complete());function T(re){return re?function B(re){return new i.y(O=>re.schedule(()=>O.complete()))}(re):r}},4128:(gt,Oe,g)=>{"use strict";g.d(Oe,{D:()=>H});var i=g(9751),r=g(4742),T=g(8421),B=g(3269),re=g(5403),O=g(3268),j=g(1810);function H(...oe){const _e=(0,B.jO)(oe),{args:W,keys:le}=(0,r.D)(oe),ye=new i.y(ee=>{const{length:ue}=W;if(!ue)return void ee.complete();const ae=new Array(ue);let Z=ue,X=ue;for(let he=0;he{ze||(ze=!0,X--),ae[he]=we},()=>Z--,void 0,()=>{(!Z||!ze)&&(X||ee.next(le?(0,j.n)(le,ae):ae),ee.complete())}))}});return _e?ye.pipe((0,O.Z)(_e)):ye}},2076:(gt,Oe,g)=>{"use strict";g.d(Oe,{D:()=>Pe});var i=g(8421),r=g(9672),T=g(4482),B=g(5403);function re(se,k=0){return(0,T.e)((pe,be)=>{pe.subscribe((0,B.x)(be,Me=>(0,r.f)(be,se,()=>be.next(Me),k),()=>(0,r.f)(be,se,()=>be.complete(),k),Me=>(0,r.f)(be,se,()=>be.error(Me),k)))})}function O(se,k=0){return(0,T.e)((pe,be)=>{be.add(se.schedule(()=>pe.subscribe(be),k))})}var oe=g(9751),W=g(2202),le=g(576);function ee(se,k){if(!se)throw new Error("Iterable cannot be null");return new oe.y(pe=>{(0,r.f)(pe,k,()=>{const be=se[Symbol.asyncIterator]();(0,r.f)(pe,k,()=>{be.next().then(Me=>{Me.done?pe.complete():pe.next(Me.value)})},0,!0)})})}var ue=g(3670),ae=g(8239),Z=g(1144),X=g(6495),he=g(2206),ze=g(4532),we=g(3260);function Pe(se,k){return k?function Le(se,k){if(null!=se){if((0,ue.c)(se))return function j(se,k){return(0,i.Xf)(se).pipe(O(k),re(k))}(se,k);if((0,Z.z)(se))return function _e(se,k){return new oe.y(pe=>{let be=0;return k.schedule(function(){be===se.length?pe.complete():(pe.next(se[be++]),pe.closed||this.schedule())})})}(se,k);if((0,ae.t)(se))return function H(se,k){return(0,i.Xf)(se).pipe(O(k),re(k))}(se,k);if((0,he.D)(se))return ee(se,k);if((0,X.T)(se))return function ye(se,k){return new oe.y(pe=>{let be;return(0,r.f)(pe,k,()=>{be=se[W.h](),(0,r.f)(pe,k,()=>{let Me,je;try{({value:Me,done:je}=be.next())}catch(ce){return void pe.error(ce)}je?pe.complete():pe.next(Me)},0,!0)}),()=>(0,le.m)(be?.return)&&be.return()})}(se,k);if((0,we.L)(se))return function ke(se,k){return ee((0,we.Q)(se),k)}(se,k)}throw(0,ze.z)(se)}(se,k):(0,i.Xf)(se)}},4968:(gt,Oe,g)=>{"use strict";g.d(Oe,{R:()=>_e});var i=g(8421),r=g(9751),T=g(5577),B=g(1144),re=g(576),O=g(3268);const j=["addListener","removeListener"],H=["addEventListener","removeEventListener"],oe=["on","off"];function _e(ue,ae,Z,X){if((0,re.m)(Z)&&(X=Z,Z=void 0),X)return _e(ue,ae,Z).pipe((0,O.Z)(X));const[he,ze]=function ee(ue){return(0,re.m)(ue.addEventListener)&&(0,re.m)(ue.removeEventListener)}(ue)?H.map(we=>ke=>ue[we](ae,ke,Z)):function le(ue){return(0,re.m)(ue.addListener)&&(0,re.m)(ue.removeListener)}(ue)?j.map(W(ue,ae)):function ye(ue){return(0,re.m)(ue.on)&&(0,re.m)(ue.off)}(ue)?oe.map(W(ue,ae)):[];if(!he&&(0,B.z)(ue))return(0,T.z)(we=>_e(we,ae,Z))((0,i.Xf)(ue));if(!he)throw new TypeError("Invalid event target");return new r.y(we=>{const ke=(...Le)=>we.next(1ze(ke)})}function W(ue,ae){return Z=>X=>ue[Z](ae,X)}},8421:(gt,Oe,g)=>{"use strict";g.d(Oe,{Xf:()=>ye});var i=g(7582),r=g(1144),T=g(8239),B=g(9751),re=g(3670),O=g(2206),j=g(4532),H=g(6495),oe=g(3260),_e=g(576),W=g(7849),le=g(8822);function ye(we){if(we instanceof B.y)return we;if(null!=we){if((0,re.c)(we))return function ee(we){return new B.y(ke=>{const Le=we[le.L]();if((0,_e.m)(Le.subscribe))return Le.subscribe(ke);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(we);if((0,r.z)(we))return function ue(we){return new B.y(ke=>{for(let Le=0;Le{we.then(Le=>{ke.closed||(ke.next(Le),ke.complete())},Le=>ke.error(Le)).then(null,W.h)})}(we);if((0,O.D)(we))return X(we);if((0,H.T)(we))return function Z(we){return new B.y(ke=>{for(const Le of we)if(ke.next(Le),ke.closed)return;ke.complete()})}(we);if((0,oe.L)(we))return function he(we){return X((0,oe.Q)(we))}(we)}throw(0,j.z)(we)}function X(we){return new B.y(ke=>{(function ze(we,ke){var Le,Pe,se,k;return(0,i.mG)(this,void 0,void 0,function*(){try{for(Le=(0,i.KL)(we);!(Pe=yield Le.next()).done;)if(ke.next(Pe.value),ke.closed)return}catch(pe){se={error:pe}}finally{try{Pe&&!Pe.done&&(k=Le.return)&&(yield k.call(Le))}finally{if(se)throw se.error}}ke.complete()})})(we,ke).catch(Le=>ke.error(Le))})}},6451:(gt,Oe,g)=>{"use strict";g.d(Oe,{T:()=>O});var i=g(8189),r=g(8421),T=g(515),B=g(3269),re=g(2076);function O(...j){const H=(0,B.yG)(j),oe=(0,B._6)(j,1/0),_e=j;return _e.length?1===_e.length?(0,r.Xf)(_e[0]):(0,i.J)(oe)((0,re.D)(_e,H)):T.E}},9646:(gt,Oe,g)=>{"use strict";g.d(Oe,{of:()=>T});var i=g(3269),r=g(2076);function T(...B){const re=(0,i.yG)(B);return(0,r.D)(B,re)}},2843:(gt,Oe,g)=>{"use strict";g.d(Oe,{_:()=>T});var i=g(9751),r=g(576);function T(B,re){const O=(0,r.m)(B)?B:()=>B,j=H=>H.error(O());return new i.y(re?H=>re.schedule(j,0,H):j)}},5403:(gt,Oe,g)=>{"use strict";g.d(Oe,{Q:()=>T,x:()=>r});var i=g(930);function r(B,re,O,j,H){return new T(B,re,O,j,H)}class T extends i.Lv{constructor(re,O,j,H,oe,_e){super(re),this.onFinalize=oe,this.shouldUnsubscribe=_e,this._next=O?function(W){try{O(W)}catch(le){re.error(le)}}:super._next,this._error=H?function(W){try{H(W)}catch(le){re.error(le)}finally{this.unsubscribe()}}:super._error,this._complete=j?function(){try{j()}catch(W){re.error(W)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var re;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:O}=this;super.unsubscribe(),!O&&(null===(re=this.onFinalize)||void 0===re||re.call(this))}}}},262:(gt,Oe,g)=>{"use strict";g.d(Oe,{K:()=>B});var i=g(8421),r=g(5403),T=g(4482);function B(re){return(0,T.e)((O,j)=>{let _e,H=null,oe=!1;H=O.subscribe((0,r.x)(j,void 0,void 0,W=>{_e=(0,i.Xf)(re(W,B(re)(O))),H?(H.unsubscribe(),H=null,_e.subscribe(j)):oe=!0})),oe&&(H.unsubscribe(),H=null,_e.subscribe(j))})}},4351:(gt,Oe,g)=>{"use strict";g.d(Oe,{b:()=>T});var i=g(5577),r=g(576);function T(B,re){return(0,r.m)(re)?(0,i.z)(B,re,1):(0,i.z)(B,1)}},6590:(gt,Oe,g)=>{"use strict";g.d(Oe,{d:()=>T});var i=g(4482),r=g(5403);function T(B){return(0,i.e)((re,O)=>{let j=!1;re.subscribe((0,r.x)(O,H=>{j=!0,O.next(H)},()=>{j||O.next(B),O.complete()}))})}},1884:(gt,Oe,g)=>{"use strict";g.d(Oe,{x:()=>B});var i=g(4671),r=g(4482),T=g(5403);function B(O,j=i.y){return O=O??re,(0,r.e)((H,oe)=>{let _e,W=!0;H.subscribe((0,T.x)(oe,le=>{const ye=j(le);(W||!O(_e,ye))&&(W=!1,_e=ye,oe.next(le))}))})}function re(O,j){return O===j}},9300:(gt,Oe,g)=>{"use strict";g.d(Oe,{h:()=>T});var i=g(4482),r=g(5403);function T(B,re){return(0,i.e)((O,j)=>{let H=0;O.subscribe((0,r.x)(j,oe=>B.call(re,oe,H++)&&j.next(oe)))})}},8746:(gt,Oe,g)=>{"use strict";g.d(Oe,{x:()=>r});var i=g(4482);function r(T){return(0,i.e)((B,re)=>{try{B.subscribe(re)}finally{re.add(T)}})}},590:(gt,Oe,g)=>{"use strict";g.d(Oe,{P:()=>j});var i=g(6805),r=g(9300),T=g(5698),B=g(6590),re=g(8068),O=g(4671);function j(H,oe){const _e=arguments.length>=2;return W=>W.pipe(H?(0,r.h)((le,ye)=>H(le,ye,W)):O.y,(0,T.q)(1),_e?(0,B.d)(oe):(0,re.T)(()=>new i.K))}},4004:(gt,Oe,g)=>{"use strict";g.d(Oe,{U:()=>T});var i=g(4482),r=g(5403);function T(B,re){return(0,i.e)((O,j)=>{let H=0;O.subscribe((0,r.x)(j,oe=>{j.next(B.call(re,oe,H++))}))})}},9718:(gt,Oe,g)=>{"use strict";g.d(Oe,{h:()=>r});var i=g(4004);function r(T){return(0,i.U)(()=>T)}},8189:(gt,Oe,g)=>{"use strict";g.d(Oe,{J:()=>T});var i=g(5577),r=g(4671);function T(B=1/0){return(0,i.z)(r.y,B)}},5577:(gt,Oe,g)=>{"use strict";g.d(Oe,{z:()=>H});var i=g(4004),r=g(8421),T=g(4482),B=g(9672),re=g(5403),j=g(576);function H(oe,_e,W=1/0){return(0,j.m)(_e)?H((le,ye)=>(0,i.U)((ee,ue)=>_e(le,ee,ye,ue))((0,r.Xf)(oe(le,ye))),W):("number"==typeof _e&&(W=_e),(0,T.e)((le,ye)=>function O(oe,_e,W,le,ye,ee,ue,ae){const Z=[];let X=0,he=0,ze=!1;const we=()=>{ze&&!Z.length&&!X&&_e.complete()},ke=Pe=>X{ee&&_e.next(Pe),X++;let se=!1;(0,r.Xf)(W(Pe,he++)).subscribe((0,re.x)(_e,k=>{ye?.(k),ee?ke(k):_e.next(k)},()=>{se=!0},void 0,()=>{if(se)try{for(X--;Z.length&&XLe(k)):Le(k)}we()}catch(k){_e.error(k)}}))};return oe.subscribe((0,re.x)(_e,ke,()=>{ze=!0,we()})),()=>{ae?.()}}(le,ye,oe,W)))}},8343:(gt,Oe,g)=>{"use strict";g.d(Oe,{x:()=>T});var i=g(4482),r=g(5403);function T(){return(0,i.e)((B,re)=>{let O=null;B._refCount++;const j=(0,r.x)(re,void 0,void 0,void 0,()=>{if(!B||B._refCount<=0||0<--B._refCount)return void(O=null);const H=B._connection,oe=O;O=null,H&&(!oe||H===oe)&&H.unsubscribe(),re.unsubscribe()});B.subscribe(j),j.closed||(O=B.connect())})}},5026:(gt,Oe,g)=>{"use strict";g.d(Oe,{R:()=>B});var i=g(4482),r=g(5403);function B(re,O){return(0,i.e)(function T(re,O,j,H,oe){return(_e,W)=>{let le=j,ye=O,ee=0;_e.subscribe((0,r.x)(W,ue=>{const ae=ee++;ye=le?re(ye,ue,ae):(le=!0,ue),H&&W.next(ye)},oe&&(()=>{le&&W.next(ye),W.complete()})))}}(re,O,arguments.length>=2,!0))}},3099:(gt,Oe,g)=>{"use strict";g.d(Oe,{B:()=>re});var i=g(8421),r=g(7579),T=g(930),B=g(4482);function re(j={}){const{connector:H=(()=>new r.x),resetOnError:oe=!0,resetOnComplete:_e=!0,resetOnRefCountZero:W=!0}=j;return le=>{let ye,ee,ue,ae=0,Z=!1,X=!1;const he=()=>{ee?.unsubscribe(),ee=void 0},ze=()=>{he(),ye=ue=void 0,Z=X=!1},we=()=>{const ke=ye;ze(),ke?.unsubscribe()};return(0,B.e)((ke,Le)=>{ae++,!X&&!Z&&he();const Pe=ue=ue??H();Le.add(()=>{ae--,0===ae&&!X&&!Z&&(ee=O(we,W))}),Pe.subscribe(Le),!ye&&ae>0&&(ye=new T.Hp({next:se=>Pe.next(se),error:se=>{X=!0,he(),ee=O(ze,oe,se),Pe.error(se)},complete:()=>{Z=!0,he(),ee=O(ze,_e),Pe.complete()}}),(0,i.Xf)(ke).subscribe(ye))})(le)}}function O(j,H,...oe){if(!0===H)return void j();if(!1===H)return;const _e=new T.Hp({next:()=>{_e.unsubscribe(),j()}});return(0,i.Xf)(H(...oe)).subscribe(_e)}},4782:(gt,Oe,g)=>{"use strict";g.d(Oe,{d:()=>T});var i=g(4707),r=g(3099);function T(B,re,O){let j,H=!1;return B&&"object"==typeof B?({bufferSize:j=1/0,windowTime:re=1/0,refCount:H=!1,scheduler:O}=B):j=B??1/0,(0,r.B)({connector:()=>new i.t(j,re,O),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:H})}},8675:(gt,Oe,g)=>{"use strict";g.d(Oe,{O:()=>B});var i=g(7272),r=g(3269),T=g(4482);function B(...re){const O=(0,r.yG)(re);return(0,T.e)((j,H)=>{(O?(0,i.z)(re,j,O):(0,i.z)(re,j)).subscribe(H)})}},3900:(gt,Oe,g)=>{"use strict";g.d(Oe,{w:()=>B});var i=g(8421),r=g(4482),T=g(5403);function B(re,O){return(0,r.e)((j,H)=>{let oe=null,_e=0,W=!1;const le=()=>W&&!oe&&H.complete();j.subscribe((0,T.x)(H,ye=>{oe?.unsubscribe();let ee=0;const ue=_e++;(0,i.Xf)(re(ye,ue)).subscribe(oe=(0,T.x)(H,ae=>H.next(O?O(ye,ae,ue,ee++):ae),()=>{oe=null,le()}))},()=>{W=!0,le()}))})}},5698:(gt,Oe,g)=>{"use strict";g.d(Oe,{q:()=>B});var i=g(515),r=g(4482),T=g(5403);function B(re){return re<=0?()=>i.E:(0,r.e)((O,j)=>{let H=0;O.subscribe((0,T.x)(j,oe=>{++H<=re&&(j.next(oe),re<=H&&j.complete())}))})}},8505:(gt,Oe,g)=>{"use strict";g.d(Oe,{b:()=>re});var i=g(576),r=g(4482),T=g(5403),B=g(4671);function re(O,j,H){const oe=(0,i.m)(O)||j||H?{next:O,error:j,complete:H}:O;return oe?(0,r.e)((_e,W)=>{var le;null===(le=oe.subscribe)||void 0===le||le.call(oe);let ye=!0;_e.subscribe((0,T.x)(W,ee=>{var ue;null===(ue=oe.next)||void 0===ue||ue.call(oe,ee),W.next(ee)},()=>{var ee;ye=!1,null===(ee=oe.complete)||void 0===ee||ee.call(oe),W.complete()},ee=>{var ue;ye=!1,null===(ue=oe.error)||void 0===ue||ue.call(oe,ee),W.error(ee)},()=>{var ee,ue;ye&&(null===(ee=oe.unsubscribe)||void 0===ee||ee.call(oe)),null===(ue=oe.finalize)||void 0===ue||ue.call(oe)}))}):B.y}},8068:(gt,Oe,g)=>{"use strict";g.d(Oe,{T:()=>B});var i=g(6805),r=g(4482),T=g(5403);function B(O=re){return(0,r.e)((j,H)=>{let oe=!1;j.subscribe((0,T.x)(H,_e=>{oe=!0,H.next(_e)},()=>oe?H.complete():H.error(O())))})}function re(){return new i.K}},6063:(gt,Oe,g)=>{"use strict";g.d(Oe,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3410:(gt,Oe,g)=>{"use strict";g.d(Oe,{z:()=>i});const i={setTimeout(r,T,...B){const{delegate:re}=i;return re?.setTimeout?re.setTimeout(r,T,...B):setTimeout(r,T,...B)},clearTimeout(r){const{delegate:T}=i;return(T?.clearTimeout||clearTimeout)(r)},delegate:void 0}},2202:(gt,Oe,g)=>{"use strict";g.d(Oe,{h:()=>r});const r=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(gt,Oe,g)=>{"use strict";g.d(Oe,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(gt,Oe,g)=>{"use strict";g.d(Oe,{K:()=>r});const r=(0,g(3888).d)(T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(gt,Oe,g)=>{"use strict";g.d(Oe,{_6:()=>O,jO:()=>B,yG:()=>re});var i=g(576),r=g(3532);function T(j){return j[j.length-1]}function B(j){return(0,i.m)(T(j))?j.pop():void 0}function re(j){return(0,r.K)(T(j))?j.pop():void 0}function O(j,H){return"number"==typeof T(j)?j.pop():H}},4742:(gt,Oe,g)=>{"use strict";g.d(Oe,{D:()=>re});const{isArray:i}=Array,{getPrototypeOf:r,prototype:T,keys:B}=Object;function re(j){if(1===j.length){const H=j[0];if(i(H))return{args:H,keys:null};if(function O(j){return j&&"object"==typeof j&&r(j)===T}(H)){const oe=B(H);return{args:oe.map(_e=>H[_e]),keys:oe}}}return{args:j,keys:null}}},8737:(gt,Oe,g)=>{"use strict";function i(r,T){if(r){const B=r.indexOf(T);0<=B&&r.splice(B,1)}}g.d(Oe,{P:()=>i})},3888:(gt,Oe,g)=>{"use strict";function i(r){const B=r(re=>{Error.call(re),re.stack=(new Error).stack});return B.prototype=Object.create(Error.prototype),B.prototype.constructor=B,B}g.d(Oe,{d:()=>i})},1810:(gt,Oe,g)=>{"use strict";function i(r,T){return r.reduce((B,re,O)=>(B[re]=T[O],B),{})}g.d(Oe,{n:()=>i})},2806:(gt,Oe,g)=>{"use strict";g.d(Oe,{O:()=>B,x:()=>T});var i=g(2416);let r=null;function T(re){if(i.v.useDeprecatedSynchronousErrorHandling){const O=!r;if(O&&(r={errorThrown:!1,error:null}),re(),O){const{errorThrown:j,error:H}=r;if(r=null,j)throw H}}else re()}function B(re){i.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=re)}},9672:(gt,Oe,g)=>{"use strict";function i(r,T,B,re=0,O=!1){const j=T.schedule(function(){B(),O?r.add(this.schedule(null,re)):this.unsubscribe()},re);if(r.add(j),!O)return j}g.d(Oe,{f:()=>i})},4671:(gt,Oe,g)=>{"use strict";function i(r){return r}g.d(Oe,{y:()=>i})},1144:(gt,Oe,g)=>{"use strict";g.d(Oe,{z:()=>i});const i=r=>r&&"number"==typeof r.length&&"function"!=typeof r},2206:(gt,Oe,g)=>{"use strict";g.d(Oe,{D:()=>r});var i=g(576);function r(T){return Symbol.asyncIterator&&(0,i.m)(T?.[Symbol.asyncIterator])}},576:(gt,Oe,g)=>{"use strict";function i(r){return"function"==typeof r}g.d(Oe,{m:()=>i})},3670:(gt,Oe,g)=>{"use strict";g.d(Oe,{c:()=>T});var i=g(8822),r=g(576);function T(B){return(0,r.m)(B[i.L])}},6495:(gt,Oe,g)=>{"use strict";g.d(Oe,{T:()=>T});var i=g(2202),r=g(576);function T(B){return(0,r.m)(B?.[i.h])}},8239:(gt,Oe,g)=>{"use strict";g.d(Oe,{t:()=>r});var i=g(576);function r(T){return(0,i.m)(T?.then)}},3260:(gt,Oe,g)=>{"use strict";g.d(Oe,{L:()=>B,Q:()=>T});var i=g(7582),r=g(576);function T(re){return(0,i.FC)(this,arguments,function*(){const j=re.getReader();try{for(;;){const{value:H,done:oe}=yield(0,i.qq)(j.read());if(oe)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(H)}}finally{j.releaseLock()}})}function B(re){return(0,r.m)(re?.getReader)}},3532:(gt,Oe,g)=>{"use strict";g.d(Oe,{K:()=>r});var i=g(576);function r(T){return T&&(0,i.m)(T.schedule)}},4482:(gt,Oe,g)=>{"use strict";g.d(Oe,{A:()=>r,e:()=>T});var i=g(576);function r(B){return(0,i.m)(B?.lift)}function T(B){return re=>{if(r(re))return re.lift(function(O){try{return B(O,this)}catch(j){this.error(j)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(gt,Oe,g)=>{"use strict";g.d(Oe,{Z:()=>B});var i=g(4004);const{isArray:r}=Array;function B(re){return(0,i.U)(O=>function T(re,O){return r(O)?re(...O):re(O)}(re,O))}},5032:(gt,Oe,g)=>{"use strict";function i(){}g.d(Oe,{Z:()=>i})},9635:(gt,Oe,g)=>{"use strict";g.d(Oe,{U:()=>T,z:()=>r});var i=g(4671);function r(...B){return T(B)}function T(B){return 0===B.length?i.y:1===B.length?B[0]:function(O){return B.reduce((j,H)=>H(j),O)}}},7849:(gt,Oe,g)=>{"use strict";g.d(Oe,{h:()=>T});var i=g(2416),r=g(3410);function T(B){r.z.setTimeout(()=>{const{onUnhandledError:re}=i.v;if(!re)throw B;re(B)})}},4532:(gt,Oe,g)=>{"use strict";function i(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Oe,{z:()=>i})},89:(gt,Oe,g)=>{"use strict";var i,r;void 0!==(r="function"==typeof(i=function(){Zone.__load_patch("cordova",function(T,B,re){if(T.cordova)var H="function",oe=re.patchMethod(T.cordova,"exec",function(){return function(_e,W){return W.length>0&&typeof W[0]===H&&(W[0]=B.current.wrap(W[0],"cordova.exec.success")),W.length>1&&typeof W[1]===H&&(W[1]=B.current.wrap(W[1],"cordova.exec.error")),oe.apply(_e,W)}})}),Zone.__load_patch("cordova.FileReader",function(T,B){T.cordova&&typeof T.FileReader<"u"&&document.addEventListener("deviceReady",function(){var re=T.FileReader;["abort","error","load","loadstart","loadend","progress"].forEach(function(O){var j=B.__symbol__("ON_PROPERTY"+O);Object.defineProperty(re.prototype,j,{configurable:!0,get:function(){return this._realReader&&this._realReader[j]}})})})})})?i.call(Oe,g,Oe,gt):i)&&(gt.exports=r)},863:(gt,Oe,g)=>{var i={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,53],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[5652,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,8592,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,4539,9230],"./ion-datetime_3.entry.js":[4959,4539,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,8034],"./ion-input.entry.js":[1217,8592,1217],"./ion-item-option_3.entry.js":[2933,8592,2933],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,8592,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,8592,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,8592,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,3326],"./ion-reorder_2.entry.js":[3583,8592,3583],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,8592,2773],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,8592,438],"./ion-tab_2.entry.js":[1536,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,8592,6560],"./ion-toast.entry.js":[6120,8592,6120],"./ion-toggle.entry.js":[5168,8592,5168]};function r(T){if(!g.o(i,T))return Promise.resolve().then(()=>{var O=new Error("Cannot find module '"+T+"'");throw O.code="MODULE_NOT_FOUND",O});var B=i[T],re=B[0];return Promise.all(B.slice(1).map(g.e)).then(()=>g(re))}r.keys=()=>Object.keys(i),r.id=863,gt.exports=r},6895:(gt,Oe,g)=>{"use strict";g.d(Oe,{Do:()=>he,ED:()=>Ze,EM:()=>So,HT:()=>B,JF:()=>Xr,JJ:()=>zo,K0:()=>O,Mx:()=>$n,NF:()=>Lo,O5:()=>Ie,Ov:()=>Nt,PC:()=>Re,PM:()=>Rr,RF:()=>vt,S$:()=>ae,V_:()=>oe,Ye:()=>ze,b0:()=>X,bD:()=>Oi,ez:()=>xi,mk:()=>Rt,n9:()=>xe,q:()=>T,sg:()=>A,tP:()=>Ce,uU:()=>Ne,w_:()=>re});var i=g(4650);let r=null;function T(){return r}function B(_){r||(r=_)}class re{}const O=new i.OlP("DocumentToken");let j=(()=>{class _{historyGo(M){throw new Error("Not implemented")}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275prov=i.Yz7({token:_,factory:function(){return function H(){return(0,i.LFG)(_e)}()},providedIn:"platform"}),_})();const oe=new i.OlP("Location Initialized");let _e=(()=>{class _ extends j{constructor(M){super(),this._doc=M,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(M){const Q=T().getGlobalEventTarget(this._doc,"window");return Q.addEventListener("popstate",M,!1),()=>Q.removeEventListener("popstate",M)}onHashChange(M){const Q=T().getGlobalEventTarget(this._doc,"window");return Q.addEventListener("hashchange",M,!1),()=>Q.removeEventListener("hashchange",M)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(M){this._location.pathname=M}pushState(M,Q,Ae){W()?this._history.pushState(M,Q,Ae):this._location.hash=Ae}replaceState(M,Q,Ae){W()?this._history.replaceState(M,Q,Ae):this._location.hash=Ae}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(O))},_.\u0275prov=i.Yz7({token:_,factory:function(){return function le(){return new _e((0,i.LFG)(O))}()},providedIn:"platform"}),_})();function W(){return!!window.history.pushState}function ye(_,U){if(0==_.length)return U;if(0==U.length)return _;let M=0;return _.endsWith("/")&&M++,U.startsWith("/")&&M++,2==M?_+U.substring(1):1==M?_+U:_+"/"+U}function ee(_){const U=_.match(/#|\?|$/),M=U&&U.index||_.length;return _.slice(0,M-("/"===_[M-1]?1:0))+_.slice(M)}function ue(_){return _&&"?"!==_[0]?"?"+_:_}let ae=(()=>{class _{historyGo(M){throw new Error("Not implemented")}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275prov=i.Yz7({token:_,factory:function(){return(0,i.f3M)(X)},providedIn:"root"}),_})();const Z=new i.OlP("appBaseHref");let X=(()=>{class _ extends ae{constructor(M,Q){super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=Q??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return ye(this._baseHref,M)}path(M=!1){const Q=this._platformLocation.pathname+ue(this._platformLocation.search),Ae=this._platformLocation.hash;return Ae&&M?`${Q}${Ae}`:Q}pushState(M,Q,Ae,at){const yt=this.prepareExternalUrl(Ae+ue(at));this._platformLocation.pushState(M,Q,yt)}replaceState(M,Q,Ae,at){const yt=this.prepareExternalUrl(Ae+ue(at));this._platformLocation.replaceState(M,Q,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(j),i.LFG(Z,8))},_.\u0275prov=i.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),he=(()=>{class _ extends ae{constructor(M,Q){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=Q&&(this._baseHref=Q)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let Q=this._platformLocation.hash;return null==Q&&(Q="#"),Q.length>0?Q.substring(1):Q}prepareExternalUrl(M){const Q=ye(this._baseHref,M);return Q.length>0?"#"+Q:Q}pushState(M,Q,Ae,at){let yt=this.prepareExternalUrl(Ae+ue(at));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.pushState(M,Q,yt)}replaceState(M,Q,Ae,at){let yt=this.prepareExternalUrl(Ae+ue(at));0==yt.length&&(yt=this._platformLocation.pathname),this._platformLocation.replaceState(M,Q,yt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(j),i.LFG(Z,8))},_.\u0275prov=i.Yz7({token:_,factory:_.\u0275fac}),_})(),ze=(()=>{class _{constructor(M){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const Q=this._locationStrategy.getBaseHref();this._basePath=function Pe(_){if(new RegExp("^(https?:)?//").test(_)){const[,M]=_.split(/\/\/[^\/]+/);return M}return _}(ee(Le(Q))),this._locationStrategy.onPopState(Ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ae.state,type:Ae.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,Q=""){return this.path()==this.normalize(M+ue(Q))}normalize(M){return _.stripTrailingSlash(function ke(_,U){if(!_||!U.startsWith(_))return U;const M=U.substring(_.length);return""===M||["/",";","?","#"].includes(M[0])?M:U}(this._basePath,Le(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,Q="",Ae=null){this._locationStrategy.pushState(Ae,"",M,Q),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ue(Q)),Ae)}replaceState(M,Q="",Ae=null){this._locationStrategy.replaceState(Ae,"",M,Q),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+ue(Q)),Ae)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){this._locationStrategy.historyGo?.(M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Q=>{this._notifyUrlChangeListeners(Q.url,Q.state)})),()=>{const Q=this._urlChangeListeners.indexOf(M);this._urlChangeListeners.splice(Q,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",Q){this._urlChangeListeners.forEach(Ae=>Ae(M,Q))}subscribe(M,Q,Ae){return this._subject.subscribe({next:M,error:Q,complete:Ae})}}return _.normalizeQueryParams=ue,_.joinWithSlash=ye,_.stripTrailingSlash=ee,_.\u0275fac=function(M){return new(M||_)(i.LFG(ae))},_.\u0275prov=i.Yz7({token:_,factory:function(){return function we(){return new ze((0,i.LFG)(ae))}()},providedIn:"root"}),_})();function Le(_){return _.replace(/\/index.html$/,"")}var k=(()=>((k=k||{})[k.Decimal=0]="Decimal",k[k.Percent=1]="Percent",k[k.Currency=2]="Currency",k[k.Scientific=3]="Scientific",k))(),be=(()=>((be=be||{})[be.Format=0]="Format",be[be.Standalone=1]="Standalone",be))(),Me=(()=>((Me=Me||{})[Me.Narrow=0]="Narrow",Me[Me.Abbreviated=1]="Abbreviated",Me[Me.Wide=2]="Wide",Me[Me.Short=3]="Short",Me))(),je=(()=>((je=je||{})[je.Short=0]="Short",je[je.Medium=1]="Medium",je[je.Long=2]="Long",je[je.Full=3]="Full",je))(),ce=(()=>((ce=ce||{})[ce.Decimal=0]="Decimal",ce[ce.Group=1]="Group",ce[ce.List=2]="List",ce[ce.PercentSign=3]="PercentSign",ce[ce.PlusSign=4]="PlusSign",ce[ce.MinusSign=5]="MinusSign",ce[ce.Exponential=6]="Exponential",ce[ce.SuperscriptingExponent=7]="SuperscriptingExponent",ce[ce.PerMille=8]="PerMille",ce[ce.Infinity=9]="Infinity",ce[ce.NaN=10]="NaN",ce[ce.TimeSeparator=11]="TimeSeparator",ce[ce.CurrencyDecimal=12]="CurrencyDecimal",ce[ce.CurrencyGroup=13]="CurrencyGroup",ce))();function K(_,U){return Et((0,i.cg1)(_)[i.wAp.DateFormat],U)}function z(_,U){return Et((0,i.cg1)(_)[i.wAp.TimeFormat],U)}function Be(_,U){return Et((0,i.cg1)(_)[i.wAp.DateTimeFormat],U)}function Ue(_,U){const M=(0,i.cg1)(_),Q=M[i.wAp.NumberSymbols][U];if(typeof Q>"u"){if(U===ce.CurrencyDecimal)return M[i.wAp.NumberSymbols][ce.Decimal];if(U===ce.CurrencyGroup)return M[i.wAp.NumberSymbols][ce.Group]}return Q}function Yt(_){if(!_[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Et(_,U){for(let M=U;M>-1;M--)if(typeof _[M]<"u")return _[M];throw new Error("Locale data API: locale data undefined")}function Ct(_){const[U,M]=_.split(":");return{hours:+U,minutes:+M}}const en=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,On={},sn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var mn=(()=>((mn=mn||{})[mn.Short=0]="Short",mn[mn.ShortGMT=1]="ShortGMT",mn[mn.Long=2]="Long",mn[mn.Extended=3]="Extended",mn))(),Bt=(()=>((Bt=Bt||{})[Bt.FullYear=0]="FullYear",Bt[Bt.Month=1]="Month",Bt[Bt.Date=2]="Date",Bt[Bt.Hours=3]="Hours",Bt[Bt.Minutes=4]="Minutes",Bt[Bt.Seconds=5]="Seconds",Bt[Bt.FractionalSeconds=6]="FractionalSeconds",Bt[Bt.Day=7]="Day",Bt))(),wt=(()=>((wt=wt||{})[wt.DayPeriods=0]="DayPeriods",wt[wt.Days=1]="Days",wt[wt.Months=2]="Months",wt[wt.Eras=3]="Eras",wt))();function ar(_,U,M,Q){let Ae=function cn(_){if(Je(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[Ae,at=1,yt=1]=_.split("-").map(Zt=>+Zt);return Cn(Ae,at-1,yt)}const M=parseFloat(_);if(!isNaN(_-M))return new Date(M);let Q;if(Q=_.match(en))return function rn(_){const U=new Date(0);let M=0,Q=0;const Ae=_[8]?U.setUTCFullYear:U.setFullYear,at=_[8]?U.setUTCHours:U.setHours;_[9]&&(M=Number(_[9]+_[10]),Q=Number(_[9]+_[11])),Ae.call(U,Number(_[1]),Number(_[2])-1,Number(_[3]));const yt=Number(_[4]||0)-M,Zt=Number(_[5]||0)-Q,Xn=Number(_[6]||0),Qn=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return at.call(U,yt,Zt,Xn,Qn),U}(Q)}const U=new Date(_);if(!Je(U))throw new Error(`Unable to convert "${_}" into a date`);return U}(_);U=bn(M,U)||U;let Zt,yt=[];for(;U;){if(Zt=sn.exec(U),!Zt){yt.push(U);break}{yt=yt.concat(Zt.slice(1));const Rn=yt.pop();if(!Rn)break;U=Rn}}let Xn=Ae.getTimezoneOffset();Q&&(Xn=Fn(Q,Xn),Ae=function Pn(_,U,M){const Q=M?-1:1,Ae=_.getTimezoneOffset();return function Dn(_,U){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+U),_}(_,Q*(Fn(U,Ae)-Ae))}(Ae,Q,!0));let Qn="";return yt.forEach(Rn=>{const wn=function Ir(_){if(vr[_])return vr[_];let U;switch(_){case"G":case"GG":case"GGG":U=nn(wt.Eras,Me.Abbreviated);break;case"GGGG":U=nn(wt.Eras,Me.Wide);break;case"GGGGG":U=nn(wt.Eras,Me.Narrow);break;case"y":U=xn(Bt.FullYear,1,0,!1,!0);break;case"yy":U=xn(Bt.FullYear,2,0,!0,!0);break;case"yyy":U=xn(Bt.FullYear,3,0,!1,!0);break;case"yyyy":U=xn(Bt.FullYear,4,0,!1,!0);break;case"Y":U=Er(1);break;case"YY":U=Er(2,!0);break;case"YYY":U=Er(3);break;case"YYYY":U=Er(4);break;case"M":case"L":U=xn(Bt.Month,1,1);break;case"MM":case"LL":U=xn(Bt.Month,2,1);break;case"MMM":U=nn(wt.Months,Me.Abbreviated);break;case"MMMM":U=nn(wt.Months,Me.Wide);break;case"MMMMM":U=nn(wt.Months,Me.Narrow);break;case"LLL":U=nn(wt.Months,Me.Abbreviated,be.Standalone);break;case"LLLL":U=nn(wt.Months,Me.Wide,be.Standalone);break;case"LLLLL":U=nn(wt.Months,Me.Narrow,be.Standalone);break;case"w":U=Gn(1);break;case"ww":U=Gn(2);break;case"W":U=Gn(1,!0);break;case"d":U=xn(Bt.Date,1);break;case"dd":U=xn(Bt.Date,2);break;case"c":case"cc":U=xn(Bt.Day,1);break;case"ccc":U=nn(wt.Days,Me.Abbreviated,be.Standalone);break;case"cccc":U=nn(wt.Days,Me.Wide,be.Standalone);break;case"ccccc":U=nn(wt.Days,Me.Narrow,be.Standalone);break;case"cccccc":U=nn(wt.Days,Me.Short,be.Standalone);break;case"E":case"EE":case"EEE":U=nn(wt.Days,Me.Abbreviated);break;case"EEEE":U=nn(wt.Days,Me.Wide);break;case"EEEEE":U=nn(wt.Days,Me.Narrow);break;case"EEEEEE":U=nn(wt.Days,Me.Short);break;case"a":case"aa":case"aaa":U=nn(wt.DayPeriods,Me.Abbreviated);break;case"aaaa":U=nn(wt.DayPeriods,Me.Wide);break;case"aaaaa":U=nn(wt.DayPeriods,Me.Narrow);break;case"b":case"bb":case"bbb":U=nn(wt.DayPeriods,Me.Abbreviated,be.Standalone,!0);break;case"bbbb":U=nn(wt.DayPeriods,Me.Wide,be.Standalone,!0);break;case"bbbbb":U=nn(wt.DayPeriods,Me.Narrow,be.Standalone,!0);break;case"B":case"BB":case"BBB":U=nn(wt.DayPeriods,Me.Abbreviated,be.Format,!0);break;case"BBBB":U=nn(wt.DayPeriods,Me.Wide,be.Format,!0);break;case"BBBBB":U=nn(wt.DayPeriods,Me.Narrow,be.Format,!0);break;case"h":U=xn(Bt.Hours,1,-12);break;case"hh":U=xn(Bt.Hours,2,-12);break;case"H":U=xn(Bt.Hours,1);break;case"HH":U=xn(Bt.Hours,2);break;case"m":U=xn(Bt.Minutes,1);break;case"mm":U=xn(Bt.Minutes,2);break;case"s":U=xn(Bt.Seconds,1);break;case"ss":U=xn(Bt.Seconds,2);break;case"S":U=xn(Bt.FractionalSeconds,1);break;case"SS":U=xn(Bt.FractionalSeconds,2);break;case"SSS":U=xn(Bt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":U=pn(mn.Short);break;case"ZZZZZ":U=pn(mn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":U=pn(mn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":U=pn(mn.Long);break;default:return null}return vr[_]=U,U}(Rn);Qn+=wn?wn(Ae,M,Xn):"''"===Rn?"'":Rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Qn}function Cn(_,U,M){const Q=new Date(0);return Q.setFullYear(_,U,M),Q.setHours(0,0,0),Q}function bn(_,U){const M=function qe(_){return(0,i.cg1)(_)[i.wAp.LocaleId]}(_);if(On[M]=On[M]||{},On[M][U])return On[M][U];let Q="";switch(U){case"shortDate":Q=K(_,je.Short);break;case"mediumDate":Q=K(_,je.Medium);break;case"longDate":Q=K(_,je.Long);break;case"fullDate":Q=K(_,je.Full);break;case"shortTime":Q=z(_,je.Short);break;case"mediumTime":Q=z(_,je.Medium);break;case"longTime":Q=z(_,je.Long);break;case"fullTime":Q=z(_,je.Full);break;case"short":const Ae=bn(_,"shortTime"),at=bn(_,"shortDate");Q=or(Be(_,je.Short),[Ae,at]);break;case"medium":const yt=bn(_,"mediumTime"),Zt=bn(_,"mediumDate");Q=or(Be(_,je.Medium),[yt,Zt]);break;case"long":const Xn=bn(_,"longTime"),Qn=bn(_,"longDate");Q=or(Be(_,je.Long),[Xn,Qn]);break;case"full":const Rn=bn(_,"fullTime"),wn=bn(_,"fullDate");Q=or(Be(_,je.Full),[Rn,wn])}return Q&&(On[M][U]=Q),Q}function or(_,U){return U&&(_=_.replace(/\{([^}]+)}/g,function(M,Q){return null!=U&&Q in U?U[Q]:M})),_}function Nn(_,U,M="-",Q,Ae){let at="";(_<0||Ae&&_<=0)&&(Ae?_=1-_:(_=-_,at=M));let yt=String(_);for(;yt.length0||Zt>-M)&&(Zt+=M),_===Bt.Hours)0===Zt&&-12===M&&(Zt=12);else if(_===Bt.FractionalSeconds)return function er(_,U){return Nn(_,3).substring(0,U)}(Zt,U);const Xn=Ue(yt,ce.MinusSign);return Nn(Zt,U,Xn,Q,Ae)}}function nn(_,U,M=be.Format,Q=!1){return function(Ae,at){return function mr(_,U,M,Q,Ae,at){switch(M){case wt.Months:return function De(_,U,M){const Q=(0,i.cg1)(_),at=Et([Q[i.wAp.MonthsFormat],Q[i.wAp.MonthsStandalone]],U);return Et(at,M)}(U,Ae,Q)[_.getMonth()];case wt.Days:return function ve(_,U,M){const Q=(0,i.cg1)(_),at=Et([Q[i.wAp.DaysFormat],Q[i.wAp.DaysStandalone]],U);return Et(at,M)}(U,Ae,Q)[_.getDay()];case wt.DayPeriods:const yt=_.getHours(),Zt=_.getMinutes();if(at){const Qn=function Ke(_){const U=(0,i.cg1)(_);return Yt(U),(U[i.wAp.ExtraData][2]||[]).map(Q=>"string"==typeof Q?Ct(Q):[Ct(Q[0]),Ct(Q[1])])}(U),Rn=function et(_,U,M){const Q=(0,i.cg1)(_);Yt(Q);const at=Et([Q[i.wAp.ExtraData][0],Q[i.wAp.ExtraData][1]],U)||[];return Et(at,M)||[]}(U,Ae,Q),wn=Qn.findIndex(fr=>{if(Array.isArray(fr)){const[jn,hr]=fr,Ur=yt>=jn.hours&&Zt>=jn.minutes,Vr=yt0?Math.floor(Ae/60):Math.ceil(Ae/60);switch(_){case mn.Short:return(Ae>=0?"+":"")+Nn(yt,2,at)+Nn(Math.abs(Ae%60),2,at);case mn.ShortGMT:return"GMT"+(Ae>=0?"+":"")+Nn(yt,1,at);case mn.Long:return"GMT"+(Ae>=0?"+":"")+Nn(yt,2,at)+":"+Nn(Math.abs(Ae%60),2,at);case mn.Extended:return 0===Q?"Z":(Ae>=0?"+":"")+Nn(yt,2,at)+":"+Nn(Math.abs(Ae%60),2,at);default:throw new Error(`Unknown zone width "${_}"`)}}}const Hn=0,ir=4;function Dr(_){return Cn(_.getFullYear(),_.getMonth(),_.getDate()+(ir-_.getDay()))}function Gn(_,U=!1){return function(M,Q){let Ae;if(U){const at=new Date(M.getFullYear(),M.getMonth(),1).getDay()-1,yt=M.getDate();Ae=1+Math.floor((yt+at)/7)}else{const at=Dr(M),yt=function rr(_){const U=Cn(_,Hn,1).getDay();return Cn(_,0,1+(U<=ir?ir:ir+7)-U)}(at.getFullYear()),Zt=at.getTime()-yt.getTime();Ae=1+Math.round(Zt/6048e5)}return Nn(Ae,_,Ue(Q,ce.MinusSign))}}function Er(_,U=!1){return function(M,Q){return Nn(Dr(M).getFullYear(),_,Ue(Q,ce.MinusSign),U)}}const vr={};function Fn(_,U){_=_.replace(/:/g,"");const M=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(M)?U:M}function Je(_){return _ instanceof Date&&!isNaN(_.valueOf())}const He=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ee=22,Xe=".",it="0",St=";",Qt=",",En="#";function kn(_){const U=parseInt(_);if(isNaN(U))throw new Error("Invalid integer literal when parsing "+_);return U}function $n(_,U){U=encodeURIComponent(U);for(const M of _.split(";")){const Q=M.indexOf("="),[Ae,at]=-1==Q?[M,""]:[M.slice(0,Q),M.slice(Q+1)];if(Ae.trim()===U)return decodeURIComponent(at)}return null}const Kn=/\s+/,Ot=[];let Rt=(()=>{class _{constructor(M,Q,Ae,at){this._iterableDiffers=M,this._keyValueDiffers=Q,this._ngEl=Ae,this._renderer=at,this.initialClasses=Ot,this.stateMap=new Map}set klass(M){this.initialClasses=null!=M?M.trim().split(Kn):Ot}set ngClass(M){this.rawClass="string"==typeof M?M.trim().split(Kn):M}ngDoCheck(){for(const Q of this.initialClasses)this._updateState(Q,!0);const M=this.rawClass;if(Array.isArray(M)||M instanceof Set)for(const Q of M)this._updateState(Q,!0);else if(null!=M)for(const Q of Object.keys(M))this._updateState(Q,Boolean(M[Q]));this._applyStateDiff()}_updateState(M,Q){const Ae=this.stateMap.get(M);void 0!==Ae?(Ae.enabled!==Q&&(Ae.changed=!0,Ae.enabled=Q),Ae.touched=!0):this.stateMap.set(M,{enabled:Q,changed:!0,touched:!0})}_applyStateDiff(){for(const M of this.stateMap){const Q=M[0],Ae=M[1];Ae.changed?(this._toggleClass(Q,Ae.enabled),Ae.changed=!1):Ae.touched||(Ae.enabled&&this._toggleClass(Q,!1),this.stateMap.delete(Q)),Ae.touched=!1}}_toggleClass(M,Q){(M=M.trim()).length>0&&M.split(Kn).forEach(Ae=>{Q?this._renderer.addClass(this._ngEl.nativeElement,Ae):this._renderer.removeClass(this._ngEl.nativeElement,Ae)})}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class w{constructor(U,M,Q,Ae){this.$implicit=U,this.ngForOf=M,this.index=Q,this.count=Ae}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let A=(()=>{class _{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,Q,Ae){this._viewContainer=M,this._template=Q,this._differs=Ae,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const Q=this._viewContainer;M.forEachOperation((Ae,at,yt)=>{if(null==Ae.previousIndex)Q.createEmbeddedView(this._template,new w(Ae.item,this._ngForOf,-1,-1),null===yt?void 0:yt);else if(null==yt)Q.remove(null===at?void 0:at);else if(null!==at){const Zt=Q.get(at);Q.move(Zt,yt),G(Zt,Ae)}});for(let Ae=0,at=Q.length;Ae{G(Q.get(Ae.currentIndex),Ae)})}static ngTemplateContextGuard(M,Q){return!0}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function G(_,U){_.context.$implicit=U.item}let Ie=(()=>{class _{constructor(M,Q){this._viewContainer=M,this._context=new Ve,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Q}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){ot("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){ot("ngIfElse",M),this._elseTemplateRef=M,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(M,Q){return!0}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class Ve{constructor(){this.$implicit=null,this.ngIf=null}}function ot(_,U){if(U&&!U.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,i.AaK)(U)}'.`)}class ct{constructor(U,M){this._viewContainerRef=U,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(U){U&&!this._created?this.create():!U&&this._created&&this.destroy()}}let vt=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews.push(M)}_matchCase(M){const Q=M==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Q,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Q}_updateDefaultCases(M){if(this._defaultViews.length>0&&M!==this._defaultUsed){this._defaultUsed=M;for(const Q of this._defaultViews)Q.enforceState(M)}}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),xe=(()=>{class _{constructor(M,Q,Ae){this.ngSwitch=Ae,Ae._addCase(),this._view=new ct(M,Q)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(vt,9))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),_})(),Ze=(()=>{class _{constructor(M,Q,Ae){Ae._addDefault(new ct(M,Q))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(vt,9))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0}),_})(),Re=(()=>{class _{constructor(M,Q,Ae){this._ngEl=M,this._differs=Q,this._renderer=Ae,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,Q){const[Ae,at]=M.split("."),yt=-1===Ae.indexOf("-")?void 0:i.JOm.DashCase;null!=Q?this._renderer.setStyle(this._ngEl.nativeElement,Ae,at?`${Q}${at}`:Q,yt):this._renderer.removeStyle(this._ngEl.nativeElement,Ae,yt)}_applyChanges(M){M.forEachRemovedItem(Q=>this._setStyle(Q.key,null)),M.forEachAddedItem(Q=>this._setStyle(Q.key,Q.currentValue)),M.forEachChangedItem(Q=>this._setStyle(Q.key,Q.currentValue))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),_})(),Ce=(()=>{class _{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(M.ngTemplateOutlet||M.ngTemplateOutletInjector){const Q=this._viewContainerRef;if(this._viewRef&&Q.remove(Q.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ae,ngTemplateOutletContext:at,ngTemplateOutletInjector:yt}=this;this._viewRef=Q.createEmbeddedView(Ae,at,yt?{injector:yt}:void 0)}else this._viewRef=null}else this._viewRef&&M.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),_})();function mt(_,U){return new i.vHH(2100,!1)}class ht{createSubscription(U,M){return U.subscribe({next:M,error:Q=>{throw Q}})}dispose(U){U.unsubscribe()}}class ut{createSubscription(U,M){return U.then(M,Q=>{throw Q})}dispose(U){}}const bt=new ut,Mt=new ht;let Nt=(()=>{class _{constructor(M){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=M}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(M){return this._obj?M!==this._obj?(this._dispose(),this.transform(M)):this._latestValue:(M&&this._subscribe(M),this._latestValue)}_subscribe(M){this._obj=M,this._strategy=this._selectStrategy(M),this._subscription=this._strategy.createSubscription(M,Q=>this._updateLatestValue(M,Q))}_selectStrategy(M){if((0,i.QGY)(M))return bt;if((0,i.F4k)(M))return Mt;throw mt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(M,Q){M===this._obj&&(this._latestValue=Q,this._ref.markForCheck())}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.sBO,16))},_.\u0275pipe=i.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})();const C=new i.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),de=new i.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ne=(()=>{class _{constructor(M,Q,Ae){this.locale=M,this.defaultTimezone=Q,this.defaultOptions=Ae}transform(M,Q,Ae,at){if(null==M||""===M||M!=M)return null;try{return ar(M,Q??this.defaultOptions?.dateFormat??"mediumDate",at||this.locale,Ae??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(yt){throw mt()}}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.soG,16),i.Y36(C,24),i.Y36(de,24))},_.\u0275pipe=i.Yjl({name:"date",type:_,pure:!0,standalone:!0}),_})(),zo=(()=>{class _{constructor(M){this._locale=M}transform(M,Q,Ae){if(!function Fo(_){return!(null==_||""===_||_!=_)}(M))return null;Ae=Ae||this._locale;try{return function br(_,U,M){return function Jn(_,U,M,Q,Ae,at,yt=!1){let Zt="",Xn=!1;if(isFinite(_)){let Qn=function Xt(_){let Q,Ae,at,yt,Zt,U=Math.abs(_)+"",M=0;for((Ae=U.indexOf(Xe))>-1&&(U=U.replace(Xe,"")),(at=U.search(/e/i))>0?(Ae<0&&(Ae=at),Ae+=+U.slice(at+1),U=U.substring(0,at)):Ae<0&&(Ae=U.length),at=0;U.charAt(at)===it;at++);if(at===(Zt=U.length))Q=[0],Ae=1;else{for(Zt--;U.charAt(Zt)===it;)Zt--;for(Ae-=at,Q=[],yt=0;at<=Zt;at++,yt++)Q[yt]=Number(U.charAt(at))}return Ae>Ee&&(Q=Q.splice(0,Ee-1),M=Ae-1,Ae=1),{digits:Q,exponent:M,integerLen:Ae}}(_);yt&&(Qn=function tr(_){if(0===_.digits[0])return _;const U=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===U?_.digits.push(0,0):1===U&&_.digits.push(0),_.integerLen+=2),_}(Qn));let Rn=U.minInt,wn=U.minFrac,fr=U.maxFrac;if(at){const Kr=at.match(He);if(null===Kr)throw new Error(`${at} is not a valid digit info`);const eo=Kr[1],Oo=Kr[3],ao=Kr[5];null!=eo&&(Rn=kn(eo)),null!=Oo&&(wn=kn(Oo)),null!=ao?fr=kn(ao):null!=Oo&&wn>fr&&(fr=wn)}!function Zn(_,U,M){if(U>M)throw new Error(`The minimum number of digits after fraction (${U}) is higher than the maximum (${M}).`);let Q=_.digits,Ae=Q.length-_.integerLen;const at=Math.min(Math.max(U,Ae),M);let yt=at+_.integerLen,Zt=Q[yt];if(yt>0){Q.splice(Math.max(_.integerLen,yt));for(let wn=yt;wn=5)if(yt-1<0){for(let wn=0;wn>yt;wn--)Q.unshift(0),_.integerLen++;Q.unshift(1),_.integerLen++}else Q[yt-1]++;for(;Ae=Qn?hr.pop():Xn=!1),fr>=10?1:0},0);Rn&&(Q.unshift(Rn),_.integerLen++)}(Qn,wn,fr);let jn=Qn.digits,hr=Qn.integerLen;const Ur=Qn.exponent;let Vr=[];for(Xn=jn.every(Kr=>!Kr);hr0?Vr=jn.splice(hr,jn.length):(Vr=jn,jn=[0]);const Co=[];for(jn.length>=U.lgSize&&Co.unshift(jn.splice(-U.lgSize,jn.length).join(""));jn.length>U.gSize;)Co.unshift(jn.splice(-U.gSize,jn.length).join(""));jn.length&&Co.unshift(jn.join("")),Zt=Co.join(Ue(M,Q)),Vr.length&&(Zt+=Ue(M,Ae)+Vr.join("")),Ur&&(Zt+=Ue(M,ce.Exponential)+"+"+Ur)}else Zt=Ue(M,ce.Infinity);return Zt=_<0&&!Xn?U.negPre+Zt+U.negSuf:U.posPre+Zt+U.posSuf,Zt}(_,function Sr(_,U="-"){const M={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Q=_.split(St),Ae=Q[0],at=Q[1],yt=-1!==Ae.indexOf(Xe)?Ae.split(Xe):[Ae.substring(0,Ae.lastIndexOf(it)+1),Ae.substring(Ae.lastIndexOf(it)+1)],Zt=yt[0],Xn=yt[1]||"";M.posPre=Zt.substring(0,Zt.indexOf(En));for(let Rn=0;Rn{class _{}return _.\u0275fac=function(M){return new(M||_)},_.\u0275mod=i.oAB({type:_}),_.\u0275inj=i.cJS({}),_})();const Oi="browser",Io="server";function Lo(_){return _===Oi}function Rr(_){return _===Io}let So=(()=>{class _{}return _.\u0275prov=(0,i.Yz7)({token:_,providedIn:"root",factory:()=>new ji((0,i.LFG)(O),window)}),_})();class ji{constructor(U,M){this.document=U,this.window=M,this.offset=()=>[0,0]}setOffset(U){this.offset=Array.isArray(U)?()=>U:U}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(U){this.supportsScrolling()&&this.window.scrollTo(U[0],U[1])}scrollToAnchor(U){if(!this.supportsScrolling())return;const M=function Yo(_,U){const M=_.getElementById(U)||_.getElementsByName(U)[0];if(M)return M;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const Q=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Ae=Q.currentNode;for(;Ae;){const at=Ae.shadowRoot;if(at){const yt=at.getElementById(U)||at.querySelector(`[name="${U}"]`);if(yt)return yt}Ae=Q.nextNode()}}return null}(this.document,U);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration(U){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=U)}}scrollToElement(U){const M=U.getBoundingClientRect(),Q=M.left+this.window.pageXOffset,Ae=M.top+this.window.pageYOffset,at=this.offset();this.window.scrollTo(Q-at[0],Ae-at[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const U=ui(this.window.history)||ui(Object.getPrototypeOf(this.window.history));return!(!U||!U.writable&&!U.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ui(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class Xr{}},4650:(gt,Oe,g)=>{"use strict";g.d(Oe,{$8M:()=>Qi,$WT:()=>Bn,$Z:()=>Gf,AFp:()=>Yg,ALo:()=>dg,AaK:()=>H,AsE:()=>ju,B6R:()=>Ln,BQk:()=>Zl,CHM:()=>Wo,CRH:()=>Dg,CZH:()=>sc,CqO:()=>wh,D6c:()=>kC,DdM:()=>ng,EJc:()=>Xb,EpF:()=>Dh,F$t:()=>xh,F4k:()=>Eh,FYo:()=>If,FiY:()=>Es,G48:()=>_C,Gf:()=>bg,GfV:()=>Sf,GkF:()=>xu,Gpc:()=>W,Hsn:()=>Oh,JOm:()=>ni,KtG:()=>is,LFG:()=>pn,LMc:()=>$C,Lbi:()=>Kb,Lck:()=>q0,MAs:()=>Ch,MMx:()=>Ju,MR2:()=>nv,NdJ:()=>Pu,O4$:()=>ds,OlP:()=>pr,Oqu:()=>Vu,P3R:()=>hf,PXZ:()=>hC,Q6J:()=>Mu,QGY:()=>Ou,Qsj:()=>vv,R0b:()=>Ho,RDi:()=>Rm,Rgc:()=>Xa,SBq:()=>Ba,Sil:()=>eC,Suo:()=>Cg,TTD:()=>No,TgZ:()=>Yl,Udp:()=>Bu,VKq:()=>rg,W1O:()=>Sg,WLB:()=>og,X6Q:()=>yC,XFs:()=>Ct,Xpm:()=>En,Xts:()=>Kc,Y36:()=>ea,YKP:()=>Wp,YNc:()=>bh,Yjl:()=>tr,Yz7:()=>Ue,Z0I:()=>Lt,ZZ4:()=>Ed,_Bn:()=>Gp,_UZ:()=>Au,_Vd:()=>ka,_c5:()=>LC,_uU:()=>Qh,aQg:()=>wd,c2e:()=>qb,cJS:()=>Dt,cg1:()=>Hu,dDg:()=>cC,dqk:()=>sn,eFA:()=>om,eJc:()=>ad,ekj:()=>$u,eoX:()=>em,f3M:()=>ir,g9A:()=>Wg,h0i:()=>pa,hGG:()=>NC,hij:()=>Jl,iGM:()=>_g,ifc:()=>Pn,ip1:()=>zg,jDz:()=>Kp,kEZ:()=>ig,kL8:()=>yp,kcU:()=>fs,lG2:()=>Sr,lcZ:()=>fg,lqb:()=>Os,lri:()=>Xg,n5z:()=>bi,oAB:()=>Mn,oxw:()=>Ah,qFp:()=>UC,qLn:()=>$a,qOj:()=>Du,qZA:()=>Gl,rWj:()=>Qg,s9C:()=>Ru,sBO:()=>bC,s_b:()=>rc,soG:()=>ac,tBr:()=>Ws,tb:()=>nm,tp0:()=>ws,uIk:()=>Iu,vHH:()=>Z,vpe:()=>Mi,wAp:()=>hn,xi3:()=>hg,xp6:()=>Rf,ynx:()=>Wl,z2F:()=>lc,zSh:()=>Qc,zWS:()=>Su,zs3:()=>Ps});var i=g(7579),r=g(727),T=g(9751),B=g(6451),re=g(3099);function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function j(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function H(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(H).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function oe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const _e=O({__forward_ref__:O});function W(e){return e.__forward_ref__=W,e.toString=function(){return H(this())},e}function le(e){return ye(e)?e():e}function ye(e){return"function"==typeof e&&e.hasOwnProperty(_e)&&e.__forward_ref__===W}function ee(e){return e&&!!e.\u0275providers}const ae="https://g.co/ng/security#xss";class Z extends Error{constructor(t,n){super(X(t,n)),this.code=t}}function X(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function he(e){return"string"==typeof e?e:null==e?"":String(e)}function Pe(e,t){throw new Z(-201,!1)}function P(e,t){null==e&&function V(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function Ue(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function kt(e){return Ht(e,Ke)||Ht(e,rt)}function Lt(e){return null!==kt(e)}function Ht(e,t){return e.hasOwnProperty(t)?e[t]:null}function Yt(e){return e&&(e.hasOwnProperty(et)||e.hasOwnProperty(Et))?e[et]:null}const Ke=O({\u0275prov:O}),et=O({\u0275inj:O}),rt=O({ngInjectableDef:O}),Et=O({ngInjectorDef:O});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let on;function tn(e){const t=on;return on=e,t}function en(e,t,n){const o=kt(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&Ct.Optional?null:void 0!==t?t:void Pe(H(e))}const sn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ar={},Cn="__NG_DI_FLAG__",bn="ngTempTokenPath",or="ngTokenPath",Nn=/\n/gm,er="\u0275",xn="__source";let Yn;function nn(e){const t=Yn;return Yn=e,t}function mr(e,t=Ct.Default){if(void 0===Yn)throw new Z(-203,!1);return null===Yn?en(e,void 0,t):Yn.get(e,t&Ct.Optional?null:void 0,t)}function pn(e,t=Ct.Default){return(function Jt(){return on}()||mr)(le(e),t)}function ir(e,t=Ct.Default){return pn(e,rr(t))}function rr(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Dr(e){const t=[];for(let n=0;n((Dn=Dn||{})[Dn.OnPush=0]="OnPush",Dn[Dn.Default=1]="Default",Dn))(),Pn=(()=>{return(e=Pn||(Pn={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pn;var e})();const cn={},rn=[],Je=O({\u0275cmp:O}),He=O({\u0275dir:O}),Ee=O({\u0275pipe:O}),Xe=O({\u0275mod:O}),it=O({\u0275fac:O}),St=O({__NG_ELEMENT_ID__:O});let Qt=0;function En(e){return Fn(()=>{const t=lr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Dn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Pn.Emulated,id:"c"+Qt++,styles:e.styles||rn,_:null,schemas:e.schemas||null,tView:null};In(n);const o=e.dependencies;return n.directiveDefs=$n(o,!1),n.pipeDefs=$n(o,!0),n})}function Ln(e,t,n){const o=e.\u0275cmp;o.directiveDefs=$n(t,!1),o.pipeDefs=$n(n,!0)}function yr(e){return Xt(e)||Zn(e)}function Jn(e){return null!==e}function Mn(e){return Fn(()=>({type:e.type,bootstrap:e.bootstrap||rn,declarations:e.declarations||rn,imports:e.imports||rn,exports:e.exports||rn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function br(e,t){if(null==e)return cn;const n={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),n[s]=o,t&&(t[s]=a)}return n}function Sr(e){return Fn(()=>{const t=lr(e);return In(t),t})}function tr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xt(e){return e[Je]||null}function Zn(e){return e[He]||null}function kn(e){return e[Ee]||null}function Bn(e){const t=Xt(e)||Zn(e)||kn(e);return null!==t&&t.standalone}function Tn(e,t){const n=e[Xe]||null;if(!n&&!0===t)throw new Error(`Type ${H(e)} does not have '\u0275mod' property.`);return n}function lr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||rn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:br(e.inputs,t),outputs:br(e.outputs)}}function In(e){e.features?.forEach(t=>t(e))}function $n(e,t){if(!e)return null;const n=t?kn:yr;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Jn)}const Kn=0,Ot=1,Rt=2,Gt=3,ge=4,D=5,w=6,A=7,G=8,me=9,Ie=10,Ve=11,ot=12,ct=13,vt=14,xe=15,Ze=16,L=17,q=18,Te=19,Re=20,Ce=21,Ye=22,ht=1,ut=2,bt=7,Mt=8,Nt=9,Pt=10;function an(e){return Array.isArray(e)&&"object"==typeof e[ht]}function h(e){return Array.isArray(e)&&!0===e[ht]}function te(e){return 0!=(4&e.flags)}function C(e){return e.componentOffset>-1}function de(e){return 1==(1&e.flags)}function Ne(e){return!!e.template}function un(e){return 0!=(256&e[Rt])}function gr(e,t){return e.hasOwnProperty(it)?e[it]:null}class ci{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function No(){return So}function So(e){return e.type.prototype.ngOnChanges&&(e.setInput=ui),ji}function ji(){const e=Pi(this),t=e?.current;if(t){const n=e.previous;if(n===cn)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function ui(e,t,n,o){const s=this.declaredInputs[n],a=Pi(e)||function Xr(e,t){return e[Yo]=t}(e,{previous:cn,current:null}),u=a.current||(a.current={}),v=a.previous,E=v[s];u[s]=new ci(E&&E.currentValue,t,v===cn),e[o]=t}No.ngInherit=!0;const Yo="__ngSimpleChanges__";function Pi(e){return e[Yo]||null}const yn=function(e,t,n){},Mo="svg";function _r(e){for(;Array.isArray(e);)e=e[Kn];return e}function ko(e,t){return _r(t[e])}function Tr(e,t){return _r(t[e.index])}function po(e,t){return e.data[t]}function go(e,t){return e[t]}function Nr(e,t){const n=t[e];return an(n)?n:n[Kn]}function kr(e){return 64==(64&e[Rt])}function mo(e,t){return null==t?null:e[t]}function To(e){e[q]=0}function no(e,t){e[D]+=t;let n=e,o=e[Gt];for(;null!==o&&(1===t&&1===n[D]||-1===t&&0===n[D]);)o[D]+=t,n=o,o=o[Gt]}const fn={lFrame:ls(null),bindingsEnabled:!0};function st(){return fn.bindingsEnabled}function dt(){return fn.lFrame.lView}function vn(){return fn.lFrame.tView}function Wo(e){return fn.lFrame.contextLView=e,e[G]}function is(e){return fn.lFrame.contextLView=null,e}function Fr(){let e=Un();for(;null!==e&&64===e.type;)e=e.parent;return e}function Un(){return fn.lFrame.currentTNode}function ro(e,t){const n=fn.lFrame;n.currentTNode=e,n.isParent=t}function Hi(){return fn.lFrame.isParent}function Bo(){fn.lFrame.isParent=!1}function Ar(){const e=fn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yo(){return fn.lFrame.bindingIndex++}function _o(e){const t=fn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pi(e,t){const n=fn.lFrame;n.bindingIndex=n.bindingRootIndex=e,gi(t)}function gi(e){fn.lFrame.currentDirectiveIndex=e}function Ko(){return fn.lFrame.currentQueryIndex}function bo(e){fn.lFrame.currentQueryIndex=e}function ss(e){const t=e[Ot];return 2===t.type?t.declTNode:1===t.type?e[w]:null}function qo(e,t,n){if(n&Ct.SkipSelf){let s=t,a=e;for(;!(s=s.parent,null!==s||n&Ct.Host||(s=ss(a),null===s||(a=a[xe],10&s.type))););if(null===s)return!1;t=s,e=a}const o=fn.lFrame=as();return o.currentTNode=t,o.lView=e,!0}function Fi(e){const t=as(),n=e[Ot];fn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function as(){const e=fn.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cs(){const e=fn.lFrame;return fn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=cs;function mi(){const e=cs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Br(){return fn.lFrame.selectedIndex}function xo(e){fn.lFrame.selectedIndex=e}function dr(){const e=fn.lFrame;return po(e.tView,e.selectedIndex)}function ds(){fn.lFrame.currentNamespace=Mo}function fs(){!function hs(){fn.lFrame.currentNamespace=null}()}function vi(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[E]<0&&(e[q]+=65536),(v>11>16&&(3&e[Rt])===t){e[Rt]+=2048,yn(4,v,a);try{a.call(v)}finally{yn(5,v,a)}}}else{yn(4,v,a);try{a.call(v)}finally{yn(5,v,a)}}}const Q=-1;class Ae{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function jn(e,t,n){let o=0;for(;ot){u=a-1;break}}}for(;a>16}(e),o=t;for(;n>0;)o=o[xe],n--;return o}let gs=!0;function Jo(e){const t=gs;return gs=e,t}const Us=255,qi=5;let va=0;const Do={};function Ji(e,t){const n=Vs(e,t);if(-1!==n)return n;const o=t[Ot];o.firstCreatePass&&(e.injectorIndex=t.length,jr(o.data,e),jr(t,null),jr(o.blueprint,null));const s=_i(e,t),a=e.injectorIndex;if(Kr(s)){const u=eo(s),v=ao(s,t),E=v[Ot].data;for(let $=0;$<8;$++)t[a+$]=v[u+$]|E[u+$]}return t[a+8]=s,a}function jr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _i(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,s=t;for(;null!==s;){if(o=Da(s),null===o)return Q;if(n++,s=s[xe],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return Q}function ms(e,t,n){!function ya(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(St)&&(o=n[St]),null==o&&(o=n[St]=va++);const s=o&Us;t.data[e+(s>>qi)]|=1<=0?t&Us:Eo:t}(n);if("function"==typeof a){if(!qo(t,e,o))return o&Ct.Host?vs(s,0,o):Hs(t,n,o,s);try{const u=a(o);if(null!=u||o&Ct.Optional)return u;Pe()}finally{Wi()}}else if("number"==typeof a){let u=null,v=Vs(e,t),E=Q,$=o&Ct.Host?t[Ze][w]:null;for((-1===v||o&Ct.SkipSelf)&&(E=-1===v?_i(e,t):t[v+8],E!==Q&&Ca(o,!1)?(u=t[Ot],v=eo(E),t=ao(E,t)):v=-1);-1!==v;){const ne=t[Ot];if(Xo(a,v,ne.data)){const Se=ys(v,t,n,u,o,$);if(Se!==Do)return Se}E=t[v+8],E!==Q&&Ca(o,t[Ot].data[v+8]===$)&&Xo(a,v,t)?(u=ne,v=eo(E),t=ao(E,t)):v=-1}}return s}function ys(e,t,n,o,s,a){const u=t[Ot],v=u.data[e+8],ne=Li(v,u,n,null==o?C(v)&&gs:o!=u&&0!=(3&v.type),s&Ct.Host&&a===v);return null!==ne?xr(t,u,ne,v):Do}function Li(e,t,n,o,s){const a=e.providerIndexes,u=t.data,v=1048575&a,E=e.directiveStart,ne=a>>20,Ge=s?v+ne:e.directiveEnd;for(let tt=o?v:v+ne;tt=E&&_t.type===n)return tt}if(s){const tt=u[E];if(tt&&Ne(tt)&&tt.type===n)return E}return null}function xr(e,t,n,o){let s=e[n];const a=t.data;if(function at(e){return e instanceof Ae}(s)){const u=s;u.resolving&&function we(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new Z(-200,`Circular dependency in DI detected for ${e}${n}`)}(function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():he(e)}(a[n]));const v=Jo(u.canSeeViewProviders);u.resolving=!0;const E=u.injectImpl?tn(u.injectImpl):null;qo(e,o,Ct.Default);try{s=e[n]=u.factory(void 0,a,e,o),t.firstCreatePass&&n>=o.directiveStart&&function ps(e,t,n){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:a}=t.type.prototype;if(o){const u=So(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,u)}s&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,s),a&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==E&&tn(E),Jo(v),u.resolving=!1,Wi()}}return s}function Xo(e,t,n){return!!(n[t+(e>>qi)]&1<{const t=e.prototype.constructor,n=t[it]||Xi(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const a=s[it]||Xi(s);if(a&&a!==n)return a;s=Object.getPrototypeOf(s)}return a=>new a})}function Xi(e){return ye(e)?()=>{const t=Xi(le(e));return t&&t()}:gr(e)}function Da(e){const t=e[Ot],n=t.type;return 2===n?t.declTNode:1===n?e[w]:null}function Qi(e){return function js(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let s=0;for(;s{const o=function _s(e){return function(...n){if(e){const o=e(...n);for(const s in o)this[s]=o[s]}}}(t);function s(...a){if(this instanceof s)return o.apply(this,a),this;const u=new s(...a);return v.annotation=u,v;function v(E,$,ne){const Se=E.hasOwnProperty(Uo)?E[Uo]:Object.defineProperty(E,Uo,{value:[]})[Uo];for(;Se.length<=ne;)Se.push(null);return(Se[ne]=Se[ne]||[]).push(u),E}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class pr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Ue({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function d(e,t){e.forEach(n=>Array.isArray(n)?d(n,t):t(n))}function m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function b(e,t){const n=[];for(let o=0;o=0?e[1|o]=n:(o=~o,function fe(e,t,n,o){let s=e.length;if(s==t)e.push(n,o);else if(1===s)e.push(o,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function Ut(e,t){const n=Vt(e,t);if(n>=0)return e[1|n]}function Vt(e,t){return function Pr(e,t,n){let o=0,s=e.length>>n;for(;s!==o;){const a=o+(s-o>>1),u=e[a<t?s=a:o=a+1}return~(s<({token:e})),-1),Es=Gn(ei("Optional"),8),ws=Gn(ei("SkipSelf"),4);var ni=(()=>((ni=ni||{})[ni.Important=1]="Important",ni[ni.DashCase=2]="DashCase",ni))();const Cl=new Map;let kd=0;const Oa="__ngContext__";function qr(e,t){an(t)?(e[Oa]=t[Re],function Tc(e){Cl.set(e[Re],e)}(t)):e[Oa]=t}let f;function y(e,t){return f(e,t)}function Y(e){const t=e[Gt];return h(t)?t[Gt]:t}function nt(e){return Kt(e[ct])}function xt(e){return Kt(e[ge])}function Kt(e){for(;null!==e&&!h(e);)e=e[ge];return e}function Vn(e,t,n,o,s){if(null!=o){let a,u=!1;h(o)?a=o:an(o)&&(u=!0,o=o[Kn]);const v=_r(o);0===e&&null!==n?null==s?jd(t,n,v):As(t,n,v,s||null,!0):1===e&&null!==n?As(t,n,v,s||null,!0):2===e?function Uc(e,t,n){const o=Ml(e,t);o&&function wm(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,v,u):3===e&&t.destroyNode(v),null!=a&&function Mm(e,t,n,o,s){const a=n[bt];a!==_r(n)&&Vn(t,e,o,a,s);for(let v=Pt;v0&&(e[n-1][ge]=o[ge]);const a=c(e,Pt+t);!function _n(e,t){Ra(e,t,t[Ve],2,null,null),t[Kn]=null,t[w]=null}(o[Ot],o);const u=a[Te];null!==u&&u.detachView(a[Ot]),o[Gt]=null,o[ge]=null,o[Rt]&=-65}return o}function $d(e,t){if(!(128&t[Rt])){const n=t[Ve];n.destroyNode&&Ra(e,t,n,3,null,null),function Fc(e){let t=e[ct];if(!t)return kc(e[Ot],e);for(;t;){let n=null;if(an(t))n=t[ct];else{const o=t[Pt];o&&(n=o)}if(!n){for(;t&&!t[ge]&&t!==e;)an(t)&&kc(t[Ot],t),t=t[Gt];null===t&&(t=e),an(t)&&kc(t[Ot],t),n=t&&t[ge]}t=n}}(t)}}function kc(e,t){if(!(128&t[Rt])){t[Rt]&=-65,t[Rt]|=128,function Em(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[s=u]():o[s=-u].unsubscribe(),a+=2}else{const u=o[s=n[a+1]];n[a].call(u)}if(null!==o){for(let a=s+1;a-1){const{encapsulation:a}=e.data[o.directiveStart+s];if(a===Pn.None||a===Pn.Emulated)return null}return Tr(o,n)}}(e,t.parent,n)}function As(e,t,n,o,s){e.insertBefore(t,n,o,s)}function jd(e,t,n){e.appendChild(t,n)}function Hd(e,t,n,o,s){null!==o?As(e,t,n,o,s):jd(e,t,n)}function Ml(e,t){return e.parentNode(t)}function zd(e,t,n){return Gd(e,t,n)}let Bc,Hc,Ol,Gd=function Yd(e,t,n){return 40&e.type?Tr(e,n):null};function Tl(e,t,n,o){const s=Ud(e,o,t),a=t[Ve],v=zd(o.parent||t[w],o,t);if(null!=s)if(Array.isArray(n))for(let E=0;Ee,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ol}()?.createScriptURL(e)||e}class nf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ae})`}}function ns(e){return e instanceof nf?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){const n=function $m(e){return e instanceof nf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ae})`)}return n===t}const Hm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Hr=(()=>((Hr=Hr||{})[Hr.NONE=0]="NONE",Hr[Hr.HTML=1]="HTML",Hr[Hr.STYLE=2]="STYLE",Hr[Hr.SCRIPT=3]="SCRIPT",Hr[Hr.URL=4]="URL",Hr[Hr.RESOURCE_URL=5]="RESOURCE_URL",Hr))();function df(e){const t=Na();return t?t.sanitize(Hr.URL,e)||"":Fa(e,"URL")?ns(e):function Yc(e){return(e=String(e)).match(Hm)?e:"unsafe:"+e}(he(e))}function ff(e){const t=Na();if(t)return tf(t.sanitize(Hr.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return tf(ns(e));throw new Z(904,!1)}function hf(e,t,n){return function tv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ff:df}(t,n)(e)}function Na(){const e=dt();return e&&e[ot]}const Kc=new pr("ENVIRONMENT_INITIALIZER"),pf=new pr("INJECTOR",-1),gf=new pr("INJECTOR_DEF_TYPES");class mf{get(t,n=ar){if(n===ar){const o=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw o.name="NullInjectorError",o}return n}}function nv(e){return{\u0275providers:e}}function rv(...e){return{\u0275providers:vf(0,e),\u0275fromNgModule:!0}}function vf(e,...t){const n=[],o=new Set;let s;return d(t,a=>{const u=a;qc(u,n,[],o)&&(s||(s=[]),s.push(u))}),void 0!==s&&yf(s,n),n}function yf(e,t){for(let n=0;n{t.push(a)})}}function qc(e,t,n,o){if(!(e=le(e)))return!1;let s=null,a=Yt(e);const u=!a&&Xt(e);if(a||u){if(u&&!u.standalone)return!1;s=e}else{const E=e.ngModule;if(a=Yt(E),!a)return!1;s=E}const v=o.has(s);if(u){if(v)return!1;if(o.add(s),u.dependencies){const E="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const $ of E)qc($,t,n,o)}}else{if(!a)return!1;{if(null!=a.imports&&!v){let $;o.add(s);try{d(a.imports,ne=>{qc(ne,t,n,o)&&($||($=[]),$.push(ne))})}finally{}void 0!==$&&yf($,t)}if(!v){const $=gr(s)||(()=>new s);t.push({provide:s,useFactory:$,deps:rn},{provide:gf,useValue:s,multi:!0},{provide:Kc,useValue:()=>pn(s),multi:!0})}const E=a.providers;null==E||v||Jc(E,ne=>{t.push(ne)})}}return s!==e&&void 0!==e.providers}function Jc(e,t){for(let n of e)ee(n)&&(n=n.\u0275providers),Array.isArray(n)?Jc(n,t):t(n)}const ov=O({provide:String,useValue:O});function Xc(e){return null!==e&&"object"==typeof e&&ov in e}function xs(e){return"function"==typeof e}const Qc=new pr("Set Injector scope."),Rl={},sv={};let eu;function Fl(){return void 0===eu&&(eu=new mf),eu}class Os{}class Cf extends Os{get destroyed(){return this._destroyed}constructor(t,n,o,s){super(),this.parent=n,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nu(t,u=>this.processProvider(u)),this.records.set(pf,qs(void 0,this)),s.has("environment")&&this.records.set(Os,qs(void 0,this));const a=this.records.get(Qc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(gf.multi,rn,Ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=nn(this),o=tn(void 0);try{return t()}finally{nn(n),tn(o)}}get(t,n=ar,o=Ct.Default){this.assertNotDestroyed(),o=rr(o);const s=nn(this),a=tn(void 0);try{if(!(o&Ct.SkipSelf)){let v=this.records.get(t);if(void 0===v){const E=function dv(e){return"function"==typeof e||"object"==typeof e&&e instanceof pr}(t)&&kt(t);v=E&&this.injectableDefInScope(E)?qs(tu(t),Rl):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&Ct.Self?Fl():this.parent).get(t,n=o&Ct.Optional&&n===ar?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[bn]=u[bn]||[]).unshift(H(t)),s)throw u;return function vr(e,t,n,o){const s=e[bn];throw t[xn]&&s.unshift(t[xn]),e.message=function Ir(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==er?e.slice(2):e;let s=H(t);if(Array.isArray(t))s=t.map(H).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let v=t[u];a.push(u+":"+("string"==typeof v?JSON.stringify(v):H(v)))}s=`{${a.join(", ")}}`}return`${n}${o?"("+o+")":""}[${s}]: ${e.replace(Nn,"\n ")}`}("\n"+e.message,s,n,o),e[or]=s,e[bn]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{tn(a),nn(s)}}resolveInjectorInitializers(){const t=nn(this),n=tn(void 0);try{const o=this.get(Kc.multi,rn,Ct.Self);for(const s of o)s()}finally{nn(t),tn(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(H(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Z(205,!1)}processProvider(t){let n=xs(t=le(t))?t:le(t&&t.provide);const o=function lv(e){return Xc(e)?qs(void 0,e.useValue):qs(Df(e),Rl)}(t);if(xs(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=qs(void 0,Rl,!0),s.factory=()=>Dr(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===Rl&&(n.value=sv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function uv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=le(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function tu(e){const t=kt(e),n=null!==t?t.factory:gr(e);if(null!==n)return n;if(e instanceof pr)throw new Z(204,!1);if(e instanceof Function)return function av(e){const t=e.length;if(t>0)throw b(t,"?"),new Z(204,!1);const n=function $t(e){return e&&(e[Ke]||e[rt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Z(204,!1)}function Df(e,t,n){let o;if(xs(e)){const s=le(e);return gr(s)||tu(s)}if(Xc(e))o=()=>le(e.useValue);else if(function bf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...Dr(e.deps||[]));else if(function _f(e){return!(!e||!e.useExisting)}(e))o=()=>pn(le(e.useExisting));else{const s=le(e&&(e.useClass||e.provide));if(!function cv(e){return!!e.deps}(e))return gr(s)||tu(s);o=()=>new s(...Dr(e.deps))}return o}function qs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nu(e,t){for(const n of e)Array.isArray(n)?nu(n,t):n&&ee(n)?nu(n.\u0275providers,t):t(n)}class fv{}class Ef{}class pv{resolveComponentFactory(t){throw function hv(e){const t=Error(`No component factory found for ${H(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new pv,e})();function gv(){return Js(Fr(),dt())}function Js(e,t){return new Ba(Tr(e,t))}let Ba=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gv,e})();function mv(e){return e instanceof Ba?e.nativeElement:e}class If{}let vv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function yv(){const e=dt(),n=Nr(Fr().index,e);return(an(n)?n:e)[Ve]}(),e})(),_v=(()=>{class e{}return e.\u0275prov=Ue({token:e,providedIn:"root",factory:()=>null}),e})();class Sf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bv=new Sf("15.2.10"),ru={},ou="ngOriginalError";function iu(e){return e[ou]}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&iu(t);for(;n&&iu(n);)n=iu(n);return n||null}}function $i(e){return e instanceof Function?e():e}function Tf(e,t,n){let o=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const a=t.length;if(s+a===o||e.charCodeAt(s+a)<=32)return s}n=s+1}}const Af="ng-template";function Ov(e,t,n){let o=0,s=!0;for(;oa?"":s[Se+1].toLowerCase();const tt=8&o?Ge:null;if(tt&&-1!==Tf(tt,$,0)||2&o&&$!==Ge){if(ri(o))return!1;u=!0}}}}else{if(!u&&!ri(o)&&!ri(E))return!1;if(u&&ri(E))continue;u=!1,o=E|1&o}}return ri(o)||u}function ri(e){return 0==(1&e)}function Fv(e,t,n,o){if(null===t)return-1;let s=0;if(o||!n){let a=!1;for(;s-1)for(n++;n0?'="'+v+'"':"")+"]"}else 8&o?s+="."+u:4&o&&(s+=" "+u);else""!==s&&!ri(u)&&(t+=Pf(a,s),s=""),o=u,a=a||!ri(o);n++}return""!==s&&(t+=Pf(a,s)),t}const An={};function Rf(e){Ff(vn(),dt(),Br()+e,!1)}function Ff(e,t,n,o){if(!o)if(3==(3&t[Rt])){const a=e.preOrderCheckHooks;null!==a&&Ki(t,a,n)}else{const a=e.preOrderHooks;null!==a&&yi(t,a,0,n)}xo(n)}function Bf(e,t=null,n=null,o){const s=$f(e,t,n,o);return s.resolveInjectorInitializers(),s}function $f(e,t=null,n=null,o,s=new Set){const a=[n||rn,rv(e)];return o=o||("object"==typeof e?void 0:H(e)),new Cf(a,t||Fl(),o||null,s)}let Ps=(()=>{class e{static create(n,o){if(Array.isArray(n))return Bf({name:""},o,n,"");{const s=n.name??"";return Bf({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=ar,e.NULL=new mf,e.\u0275prov=Ue({token:e,providedIn:"any",factory:()=>pn(pf)}),e.__NG_ELEMENT_ID__=-1,e})();function ea(e,t=Ct.Default){const n=dt();return null===n?pn(e,t):_a(Fr(),n,le(e),t)}function Gf(){throw new Error("invalid")}function Wf(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;oYe&&Ff(e,t,Ye,!1),yn(u?2:0,s),n(o,s)}finally{xo(a),yn(u?3:1,s)}}function fu(e,t,n){if(te(t)){const s=t.directiveEnd;for(let a=t.directiveStart;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=v&&u.push(v),u.push(n,o,a)}}(e,t,o,Ua(e,n,s.hostVars,An),s)}function Ei(e,t,n,o,s,a){const u=Tr(e,t);!function yu(e,t,n,o,s,a,u){if(null==a)e.removeAttribute(t,s,n);else{const v=null==u?he(a):u(a,o||"",s);e.setAttribute(t,s,v,n)}}(t[Ve],u,a,e.value,n,o,s)}function Sy(e,t,n,o,s,a){const u=a[t];if(null!==u){const v=o.setInput;for(let E=0;E0&&_u(n)}}function _u(e){for(let o=nt(e);null!==o;o=xt(o))for(let s=Pt;s0&&_u(a)}const n=e[Ot].components;if(null!==n)for(let o=0;o0&&_u(s)}}function Oy(e,t){const n=Nr(t,e),o=n[Ot];(function Py(e,t){for(let n=t.length;n-1&&(Nc(t,o),c(n,o))}this._attachedToViewContainer=!1}$d(this._lView[Ot],this._lView)}onDestroy(t){qf(this._lView[Ot],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[Rt]&=-65}reattach(){this._lView[Rt]|=64}detectChanges(){Ul(this._lView[Ot],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Z(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Vo(e,t){Ra(e,t,t[Ve],2,null,null)}(this._lView[Ot],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Z(902,!1);this._appRef=t}}class Ry extends Va{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ul(t[Ot],t,t[G],!1)}checkNoChanges(){}get context(){return null}}class sh extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Xt(t);return new ja(n,this.ngModule)}}function ah(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ly{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=rr(o);const s=this.injector.get(t,ru,o);return s!==ru||n===ru?s:this.parentInjector.get(t,n,o)}}class ja extends Ef{get inputs(){return ah(this.componentDef.inputs)}get outputs(){return ah(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Uv(e){return e.map($v).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,o,s){let a=(s=s||this.ngModule)instanceof Os?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new Ly(t,a):t,v=u.get(If,null);if(null===v)throw new Z(407,!1);const E=u.get(_v,null),$=v.createRenderer(null,this.componentDef),ne=this.componentDef.selectors[0][0]||"div",Se=o?function uy(e,t,n){return e.selectRootElement(t,n===Pn.ShadowDom)}($,o,this.componentDef.encapsulation):ln($,ne,function Fy(e){const t=e.toLowerCase();return"svg"===t?Mo:"math"===t?"math":null}(ne)),Ge=this.componentDef.onPush?288:272,tt=gu(0,null,null,1,0,null,null,null,null,null),_t=Nl(null,tt,null,Ge,null,null,v,$,E,u,null);let Ft,jt;Fi(_t);try{const qt=this.componentDef;let gn,Tt=null;qt.findHostDirectiveDefs?(gn=[],Tt=new Map,qt.findHostDirectiveDefs(qt,gn,Tt),gn.push(qt)):gn=[qt];const Sn=function ky(e,t){const n=e[Ot],o=Ye;return e[o]=t,ta(n,o,2,"#host",null)}(_t,Se),wr=function By(e,t,n,o,s,a,u,v){const E=s[Ot];!function $y(e,t,n,o){for(const s of e)t.mergedAttrs=Vr(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(Vl(t,t.mergedAttrs,!0),null!==n&&Jd(o,n,t))}(o,e,t,u);const $=a.createRenderer(t,n),ne=Nl(s,Kf(n),null,n.onPush?32:16,s[e.index],e,a,$,v||null,null,null);return E.firstCreatePass&&vu(E,e,o.length-1),Bl(s,ne),s[e.index]=ne}(Sn,Se,qt,gn,_t,v,$);jt=po(tt,Ye),Se&&function Vy(e,t,n,o){if(o)jn(e,n,["ng-version",bv.full]);else{const{attrs:s,classes:a}=function Vv(e){const t=[],n=[];let o=1,s=2;for(;o0&&qd(e,n,a.join(" "))}}($,qt,Se,o),void 0!==n&&function jy(e,t,n){const o=e.projection=[];for(let s=0;s=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Vr(s.hostAttrs,n=Vr(n,s.hostAttrs))}}(o)}function Eu(e){return e===cn?{}:e===rn?[]:e}function Yy(e,t){const n=e.viewQuery;e.viewQuery=n?(o,s)=>{t(o,s),n(o,s)}:t}function Gy(e,t){const n=e.contentQueries;e.contentQueries=n?(o,s,a)=>{t(o,s,a),n(o,s,a)}:t}function Wy(e,t){const n=e.hostBindings;e.hostBindings=n?(o,s)=>{t(o,s),n(o,s)}:t}function Hl(e){return!!wu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function wi(e,t,n){return e[t]=n}function io(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Rs(e,t,n,o){const s=io(e,t,n);return io(e,t+1,o)||s}function Iu(e,t,n,o){const s=dt();return io(s,yo(),t)&&(vn(),Ei(dr(),s,e,t,n,o)),Iu}function ra(e,t,n,o){return io(e,yo(),n)?t+he(n)+o:An}function oa(e,t,n,o,s,a){const v=Rs(e,function ur(){return fn.lFrame.bindingIndex}(),n,s);return _o(2),v?t+he(n)+o+he(s)+a:An}function Su(e,t,n,o,s,a,u,v){const E=dt(),$=oa(E,t,n,o,s,a);return $!==An&&Ei(dr(),E,e,$,u,v),Su}function bh(e,t,n,o,s,a,u,v){const E=dt(),$=vn(),ne=e+Ye,Se=$.firstCreatePass?function r_(e,t,n,o,s,a,u,v,E){const $=t.consts,ne=ta(t,e,4,u||null,mo($,v));mu(t,n,ne,mo($,E)),vi(t,ne);const Se=ne.tView=gu(2,ne,o,s,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,$);return null!==t.queries&&(t.queries.template(t,ne),Se.queries=t.queries.embeddedTView(ne)),ne}(ne,$,E,t,n,o,s,a,u):$.data[ne];ro(Se,!1);const Ge=E[Ve].createComment("");Tl($,E,Ge,Se),qr(Ge,E),Bl(E,E[ne]=th(Ge,E,Ge,Se)),de(Se)&&hu($,E,Se),null!=u&&pu(E,Se,v)}function Ch(e){return go(function ks(){return fn.lFrame.contextLView}(),Ye+e)}function Mu(e,t,n){const o=dt();return io(o,yo(),t)&&Ro(vn(),dr(),o,e,t,o[Ve],n,!1),Mu}function Tu(e,t,n,o,s){const u=s?"class":"style";Cu(e,n,t.inputs[u],u,o)}function Yl(e,t,n,o){const s=dt(),a=vn(),u=Ye+e,v=s[Ve],E=a.firstCreatePass?function i_(e,t,n,o,s,a){const u=t.consts,E=ta(t,e,2,o,mo(u,s));return mu(t,n,E,mo(u,a)),null!==E.attrs&&Vl(E,E.attrs,!1),null!==E.mergedAttrs&&Vl(E,E.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,E),E}(u,a,s,t,n,o):a.data[u],$=s[u]=ln(v,t,function $s(){return fn.lFrame.currentNamespace}()),ne=de(E);return ro(E,!0),Jd(v,$,E),32!=(32&E.flags)&&Tl(a,s,$,E),0===function x(){return fn.lFrame.elementDepthCount}()&&qr($,s),function S(){fn.lFrame.elementDepthCount++}(),ne&&(hu(a,s,E),fu(a,E,s)),null!==o&&pu(s,E),Yl}function Gl(){let e=Fr();Hi()?Bo():(e=e.parent,ro(e,!1));const t=e;!function ie(){fn.lFrame.elementDepthCount--}();const n=vn();return n.firstCreatePass&&(vi(n,e),te(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Qn(e){return 0!=(8&e.flags)}(t)&&Tu(n,t,dt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Tu(n,t,dt(),t.stylesWithoutHost,!1),Gl}function Au(e,t,n,o){return Yl(e,t,n,o),Gl(),Au}function Wl(e,t,n){const o=dt(),s=vn(),a=e+Ye,u=s.firstCreatePass?function s_(e,t,n,o,s){const a=t.consts,u=mo(a,o),v=ta(t,e,8,"ng-container",u);return null!==u&&Vl(v,u,!0),mu(t,n,v,mo(a,s)),null!==t.queries&&t.queries.elementStart(t,v),v}(a,s,o,t,n):s.data[a];ro(u,!0);const v=o[a]=o[Ve].createComment("");return Tl(s,o,v,u),qr(v,o),de(u)&&(hu(s,o,u),fu(s,u,o)),null!=n&&pu(o,u),Wl}function Zl(){let e=Fr();const t=vn();return Hi()?Bo():(e=e.parent,ro(e,!1)),t.firstCreatePass&&(vi(t,e),te(e)&&t.queries.elementEnd(e)),Zl}function xu(e,t,n){return Wl(e,t,n),Zl(),xu}function Dh(){return dt()}function Ou(e){return!!e&&"function"==typeof e.then}function Eh(e){return!!e&&"function"==typeof e.subscribe}const wh=Eh;function Pu(e,t,n,o){const s=dt(),a=vn(),u=Fr();return function Sh(e,t,n,o,s,a,u){const v=de(o),$=e.firstCreatePass&&rh(e),ne=t[G],Se=nh(t);let Ge=!0;if(3&o.type||u){const Ft=Tr(o,t),jt=u?u(Ft):Ft,qt=Se.length,gn=u?Sn=>u(_r(Sn[o.index])):o.index;let Tt=null;if(!u&&v&&(Tt=function a_(e,t,n,o){const s=e.cleanup;if(null!=s)for(let a=0;aE?v[E]:null}"string"==typeof u&&(a+=2)}return null}(e,t,s,o.index)),null!==Tt)(Tt.__ngLastListenerFn__||Tt).__ngNextListenerFn__=a,Tt.__ngLastListenerFn__=a,Ge=!1;else{a=Th(o,t,ne,a,!1);const Sn=n.listen(jt,s,a);Se.push(a,Sn),$&&$.push(s,gn,qt,qt+1)}}else a=Th(o,t,ne,a,!1);const tt=o.outputs;let _t;if(Ge&&null!==tt&&(_t=tt[s])){const Ft=_t.length;if(Ft)for(let jt=0;jt-1?Nr(e.index,t):t);let E=Mh(t,n,o,u),$=a.__ngNextListenerFn__;for(;$;)E=Mh(t,n,$,u)&&E,$=$.__ngNextListenerFn__;return s&&!1===E&&(u.preventDefault(),u.returnValue=!1),E}}function Ah(e=1){return function Zi(e){return(fn.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[xe],e--;return t}(e,fn.lFrame.contextLView))[G]}(e)}function l_(e,t){let n=null;const o=function Lv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s>17&32767}function Lu(e){return 2|e}function Fs(e){return(131068&e)>>2}function Nu(e,t){return-131069&e|t<<2}function ku(e){return 1|e}function Uh(e,t,n,o,s){const a=e[n+1],u=null===t;let v=o?rs(a):Fs(a),E=!1;for(;0!==v&&(!1===E||u);){const ne=e[v+1];p_(e[v],t)&&(E=!0,e[v+1]=o?ku(ne):Lu(ne)),v=o?rs(ne):Fs(ne)}E&&(e[n+1]=o?Lu(a):ku(a))}function p_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Vt(e,t)>=0}function Bu(e,t,n){return oi(e,t,n,!1),Bu}function $u(e,t){return oi(e,t,null,!0),$u}function oi(e,t,n,o){const s=dt(),a=vn(),u=_o(2);a.firstUpdatePass&&function Zh(e,t,n,o){const s=e.data;if(null===s[n+1]){const a=s[Br()],u=function Wh(e,t){return t>=e.expandoStartIndex}(e,n);(function Xh(e,t){return 0!=(e.flags&(t?8:16))})(a,o)&&null===t&&!u&&(t=!1),t=function E_(e,t,n,o){const s=function Zo(e){const t=fn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(n=za(n=Uu(null,e,t,n,o),t.attrs,o),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==s)if(n=Uu(s,e,t,n,o),null===a){let E=function w_(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Fs(o))return e[rs(o)]}(e,t,o);void 0!==E&&Array.isArray(E)&&(E=Uu(null,e,t,E[1],o),E=za(E,t.attrs,o),function I_(e,t,n,o){e[rs(n?t.classBindings:t.styleBindings)]=o}(e,t,o,E))}else a=function S_(e,t,n){let o;const s=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&($=!0)):ne=n,s)if(0!==E){const Ge=rs(e[v+1]);e[o+1]=Kl(Ge,v),0!==Ge&&(e[Ge+1]=Nu(e[Ge+1],o)),e[v+1]=function u_(e,t){return 131071&e|t<<17}(e[v+1],o)}else e[o+1]=Kl(v,0),0!==v&&(e[v+1]=Nu(e[v+1],o)),v=o;else e[o+1]=Kl(E,0),0===v?v=o:e[E+1]=Nu(e[E+1],o),E=o;$&&(e[o+1]=Lu(e[o+1])),Uh(e,ne,o,!0),Uh(e,ne,o,!1),function h_(e,t,n,o,s){const a=s?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Vt(a,t)>=0&&(n[o+1]=ku(n[o+1]))}(t,ne,e,o,a),u=Kl(v,E),a?t.classBindings=u:t.styleBindings=u}(s,a,t,n,u,o)}}(a,e,u,o),t!==An&&io(s,u,t)&&function qh(e,t,n,o,s,a,u,v){if(!(3&t.type))return;const E=e.data,$=E[v+1],ne=function d_(e){return 1==(1&e)}($)?Jh(E,t,n,s,Fs($),u):void 0;ql(ne)||(ql(a)||function c_(e){return 2==(2&e)}($)&&(a=Jh(E,null,n,s,v,u)),function Tm(e,t,n,o,s){if(t)s?e.addClass(n,o):e.removeClass(n,o);else{let a=-1===o.indexOf("-")?void 0:ni.DashCase;null==s?e.removeStyle(n,o,a):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),a|=ni.Important),e.setStyle(n,o,s,a))}}(o,u,ko(Br(),n),s,a))}(a,a.data[Br()],s,s[Ve],e,s[u+1]=function x_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=H(ns(e)))),e}(t,n),o,u)}function Uu(e,t,n,o,s){let a=null;const u=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v0;){const E=e[s],$=Array.isArray(E),ne=$?E[1]:E,Se=null===ne;let Ge=n[s+1];Ge===An&&(Ge=Se?rn:void 0);let tt=Se?Ut(Ge,o):ne===o?Ge:void 0;if($&&!ql(tt)&&(tt=Ut(E,o)),ql(tt)&&(v=tt,u))return v;const _t=e[s+1];s=u?rs(_t):Fs(_t)}if(null!==t){let E=a?t.residualClasses:t.residualStyles;null!=E&&(v=Ut(E,o))}return v}function ql(e){return void 0!==e}function Qh(e,t=""){const n=dt(),o=vn(),s=e+Ye,a=o.firstCreatePass?ta(o,s,1,t,null):o.data[s],u=n[s]=function At(e,t){return e.createText(t)}(n[Ve],t);Tl(o,n,u,a),ro(a,!1)}function Vu(e){return Jl("",e,""),Vu}function Jl(e,t,n){const o=dt(),s=ra(o,e,t,n);return s!==An&&Ui(o,Br(),s),Jl}function ju(e,t,n,o,s){const a=dt(),u=oa(a,e,t,n,o,s);return u!==An&&Ui(a,Br(),u),ju}const Ls=void 0;var q_=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ls,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ls,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function K_(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let fa={};function Hu(e){const t=function J_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=_p(t);if(n)return n;const o=t.split("-")[0];if(n=_p(o),n)return n;if("en"===o)return q_;throw new Z(701,!1)}function yp(e){return Hu(e)[hn.PluralCase]}function _p(e){return e in fa||(fa[e]=sn.ng&&sn.ng.common&&sn.ng.common.locales&&sn.ng.common.locales[e]),fa[e]}var hn=(()=>((hn=hn||{})[hn.LocaleId=0]="LocaleId",hn[hn.DayPeriodsFormat=1]="DayPeriodsFormat",hn[hn.DayPeriodsStandalone=2]="DayPeriodsStandalone",hn[hn.DaysFormat=3]="DaysFormat",hn[hn.DaysStandalone=4]="DaysStandalone",hn[hn.MonthsFormat=5]="MonthsFormat",hn[hn.MonthsStandalone=6]="MonthsStandalone",hn[hn.Eras=7]="Eras",hn[hn.FirstDayOfWeek=8]="FirstDayOfWeek",hn[hn.WeekendRange=9]="WeekendRange",hn[hn.DateFormat=10]="DateFormat",hn[hn.TimeFormat=11]="TimeFormat",hn[hn.DateTimeFormat=12]="DateTimeFormat",hn[hn.NumberSymbols=13]="NumberSymbols",hn[hn.NumberFormats=14]="NumberFormats",hn[hn.CurrencyCode=15]="CurrencyCode",hn[hn.CurrencySymbol=16]="CurrencySymbol",hn[hn.CurrencyName=17]="CurrencyName",hn[hn.Currencies=18]="Currencies",hn[hn.Directionality=19]="Directionality",hn[hn.PluralCase=20]="PluralCase",hn[hn.ExtraData=21]="ExtraData",hn))();const ha="en-US";let bp=ha;function Gu(e,t,n,o,s){if(e=le(e),Array.isArray(e))for(let a=0;a>20;if(xs(e)||!e.multi){const tt=new Ae(E,s,ea),_t=Zu(v,t,s?ne:ne+Ge,Se);-1===_t?(ms(Ji($,u),a,v),Wu(a,e,t.length),t.push(v),$.directiveStart++,$.directiveEnd++,s&&($.providerIndexes+=1048576),n.push(tt),u.push(tt)):(n[_t]=tt,u[_t]=tt)}else{const tt=Zu(v,t,ne+Ge,Se),_t=Zu(v,t,ne,ne+Ge),jt=_t>=0&&n[_t];if(s&&!jt||!s&&!(tt>=0&&n[tt])){ms(Ji($,u),a,v);const qt=function K0(e,t,n,o,s){const a=new Ae(e,n,ea);return a.multi=[],a.index=t,a.componentProviders=0,Yp(a,s,o&&!n),a}(s?Z0:W0,n.length,s,o,E);!s&&jt&&(n[_t].providerFactory=qt),Wu(a,e,t.length,0),t.push(v),$.directiveStart++,$.directiveEnd++,s&&($.providerIndexes+=1048576),n.push(qt),u.push(qt)}else Wu(a,e,tt>-1?tt:_t,Yp(n[s?_t:tt],E,!s&&o));!s&&o&&jt&&n[_t].componentProviders++}}}function Wu(e,t,n,o){const s=xs(t),a=function iv(e){return!!e.useClass}(t);if(s||a){const E=(a?le(t.useClass):t).prototype.ngOnDestroy;if(E){const $=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const ne=$.indexOf(n);-1===ne?$.push(n,[o,E]):$[ne+1].push(o,E)}else $.push(n,E)}}}function Yp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Zu(e,t,n,o){for(let s=n;s{n.providersResolver=(o,s)=>function G0(e,t,n){const o=vn();if(o.firstCreatePass){const s=Ne(e);Gu(n,o.data,o.blueprint,s,!0),Gu(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class pa{}class Wp{}function q0(e,t){return new Zp(e,t??null)}class Zp extends pa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sh(this);const o=Tn(t);this._bootstrapComponents=$i(o.bootstrap),this._r3Injector=$f(t,n,[{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],H(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class qu extends Wp{constructor(t){super(),this.moduleType=t}create(t){return new Zp(this.moduleType,t)}}class J0 extends pa{constructor(t,n,o){super(),this.componentFactoryResolver=new sh(this),this.instance=null;const s=new Cf([...t,{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],n||Fl(),o,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ju(e,t,n=null){return new J0(e,t,n).injector}let X0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const o=vf(0,n.type),s=o.length>0?Ju([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Ue({token:e,providedIn:"environment",factory:()=>new e(pn(Os))}),e})();function Kp(e){e.getStandaloneInjector=t=>t.get(X0).getOrCreateStandaloneInjector(e)}function ng(e,t,n){const o=Ar()+e,s=dt();return s[o]===An?wi(s,o,n?t.call(n):t()):function Ha(e,t){return e[t]}(s,o)}function rg(e,t,n,o){return sg(dt(),Ar(),e,t,n,o)}function og(e,t,n,o,s){return ag(dt(),Ar(),e,t,n,o,s)}function ig(e,t,n,o,s,a){return function lg(e,t,n,o,s,a,u,v){const E=t+n;return function zl(e,t,n,o,s){const a=Rs(e,t,n,o);return io(e,t+2,s)||a}(e,E,s,a,u)?wi(e,E+3,v?o.call(v,s,a,u):o(s,a,u)):qa(e,E+3)}(dt(),Ar(),e,t,n,o,s,a)}function qa(e,t){const n=e[t];return n===An?void 0:n}function sg(e,t,n,o,s,a){const u=t+n;return io(e,u,s)?wi(e,u+1,a?o.call(a,s):o(s)):qa(e,u+1)}function ag(e,t,n,o,s,a,u){const v=t+n;return Rs(e,v,s,a)?wi(e,v+2,u?o.call(u,s,a):o(s,a)):qa(e,v+2)}function dg(e,t){const n=vn();let o;const s=e+Ye;n.firstCreatePass?(o=function hb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[s]=o,o.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(s,o.onDestroy)):o=n.data[s];const a=o.factory||(o.factory=gr(o.type)),u=tn(ea);try{const v=Jo(!1),E=a();return Jo(v),function o_(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,dt(),s,E),E}finally{tn(u)}}function fg(e,t,n){const o=e+Ye,s=dt(),a=go(s,o);return Ja(s,o)?sg(s,Ar(),t,a.transform,n,a):a.transform(n)}function hg(e,t,n,o){const s=e+Ye,a=dt(),u=go(a,s);return Ja(a,s)?ag(a,Ar(),t,u.transform,n,o,u):u.transform(n,o)}function Ja(e,t){return e[Ot].data[t].pure}function Qu(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class vb extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let s=t,a=n||(()=>null),u=o;if(t&&"object"==typeof t){const E=t;s=E.next?.bind(E),a=E.error?.bind(E),u=E.complete?.bind(E)}this.__isAsync&&(a=Qu(a),s&&(s=Qu(s)),u&&(u=Qu(u)));const v=super.subscribe({next:s,error:a,complete:u});return t instanceof r.w0&&t.add(v),v}};function yb(){return this._results[Symbol.iterator]()}class ed{get changes(){return this._changes||(this._changes=new Mi)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ed.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=yb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const o=this;o.dirty=!1;const s=function lo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wa(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=Cb,e})();const _b=Xa,bb=class extends _b{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tView,s=Nl(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);s[L]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[Te];return null!==u&&(s[Te]=u.createEmbeddedView(o)),du(o,s,t),new Va(s)}};function Cb(){return nc(Fr(),dt())}function nc(e,t){return 4&e.type?new bb(t,e,Js(e,t)):null}let rc=(()=>{class e{}return e.__NG_ELEMENT_ID__=Db,e})();function Db(){return mg(Fr(),dt())}const Eb=rc,pg=class extends Eb{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Js(this._hostTNode,this._hostLView)}get injector(){return new Qo(this._hostTNode,this._hostLView)}get parentInjector(){const t=_i(this._hostTNode,this._hostLView);if(Kr(t)){const n=ao(t,this._hostLView),o=eo(t);return new Qo(n[Ot].data[o+8],n)}return new Qo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Pt}createEmbeddedView(t,n,o){let s,a;"number"==typeof o?s=o:null!=o&&(s=o.index,a=o.injector);const u=t.createEmbeddedView(n||{},a);return this.insert(u,s),u}createComponent(t,n,o,s,a){const u=t&&!function Di(e){return"function"==typeof e}(t);let v;if(u)v=n;else{const Se=n||{};v=Se.index,o=Se.injector,s=Se.projectableNodes,a=Se.environmentInjector||Se.ngModuleRef}const E=u?t:new ja(Xt(t)),$=o||this.parentInjector;if(!a&&null==E.ngModule){const Ge=(u?$:this.parentInjector).get(Os,null);Ge&&(a=Ge)}const ne=E.create($,s,void 0,a);return this.insert(ne.hostView,v),ne}insert(t,n){const o=t._lView,s=o[Ot];if(function to(e){return h(e[Gt])}(o)){const ne=this.indexOf(t);if(-1!==ne)this.detach(ne);else{const Se=o[Gt],Ge=new pg(Se,Se[w],Se[Gt]);Ge.detach(Ge.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;!function Lc(e,t,n,o){const s=Pt+o,a=n.length;o>0&&(n[s-1][ge]=t),o0)o.push(u[v/2]);else{const $=a[v+1],ne=t[-E];for(let Se=Pt;Se{class e{constructor(n){this.appInits=n,this.resolve=ic,this.reject=ic,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,s)=>{this.resolve=o,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{a.subscribe({complete:v,error:E})});n.push(u)}}Promise.all(n).then(()=>{o()}).catch(s=>{this.reject(s)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(pn(zg,8))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yg=new pr("AppId",{providedIn:"root",factory:function Gg(){return`${fd()}${fd()}${fd()}`}});function fd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wg=new pr("Platform Initializer"),Kb=new pr("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let qb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ac=new pr("LocaleId",{providedIn:"root",factory:()=>ir(ac,Ct.Optional|Ct.SkipSelf)||function Jb(){return typeof $localize<"u"&&$localize.locale||ha}()}),Xb=new pr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Qb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eC=(()=>{class e{compileModuleSync(n){return new qu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),a=$i(Tn(n).declarations).reduce((u,v)=>{const E=Xt(v);return E&&u.push(new ja(E)),u},[]);return new Qb(o,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rC=(()=>Promise.resolve(0))();function hd(e){typeof Zone>"u"?rC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ho{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new Z(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function oC(){let e=sn.requestAnimationFrame,t=sn.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function aC(e){const t=()=>{!function sC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(sn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,gd(e),e.isCheckStableRunning=!0,pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),gd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,s,a,u,v)=>{try{return qg(e),n.invokeTask(s,a,u,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Jg(e)}},onInvoke:(n,o,s,a,u,v,E)=>{try{return qg(e),n.invoke(s,a,u,v,E)}finally{e.shouldCoalesceRunChangeDetection&&t(),Jg(e)}},onHasTask:(n,o,s,a)=>{n.hasTask(s,a),o===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,gd(e),pd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,o,s,a)=>(n.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ho.isInAngularZone())throw new Z(909,!1)}static assertNotInAngularZone(){if(Ho.isInAngularZone())throw new Z(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,s){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+s,t,iC,ic,ic);try{return a.runTask(u,n,o)}finally{a.cancelTask(u)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function pd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function gd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function qg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jg(e){e._nesting--,pd(e)}class lC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,s){return t.apply(n,o)}}const Xg=new pr(""),Qg=new pr("");let md,cC=(()=>{class e{constructor(n,o,s){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,md||(function uC(e){md=e}(s),s.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ho.assertNotInAngularZone(),hd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())hd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,s){let a=-1;o&&o>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:s})}whenStable(n,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(pn(Ho),pn(em),pn(Qg))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac}),e})(),em=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return md?.findTestabilityInTree(this,n,o)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Vi=!1;let os=null;const tm=new pr("AllowMultipleToken"),vd=new pr("PlatformDestroyListeners"),nm=new pr("appBootstrapListener");class hC{constructor(t,n){this.name=t,this.token=n}}function om(e,t,n=[]){const o=`Platform: ${t}`,s=new pr(o);return(a=[])=>{let u=yd();if(!u||u.injector.get(tm,!1)){const v=[...n,...a,{provide:s,useValue:!0}];e?e(v):function pC(e){if(os&&!os.get(tm,!1))throw new Z(400,!1);os=e;const t=e.get(sm);(function rm(e){const t=e.get(Wg,null);t&&t.forEach(n=>n())})(e)}(function im(e=[],t){return Ps.create({name:t,providers:[{provide:Qc,useValue:"platform"},{provide:vd,useValue:new Set([()=>os=null])},...e]})}(v,o))}return function mC(e){const t=yd();if(!t)throw new Z(401,!1);return t}()}}function yd(){return os?.get(sm)??null}let sm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const s=function lm(e,t){let n;return n="noop"===e?new lC:("zone.js"===e?void 0:e)||new Ho(t),n}(o?.ngZone,function am(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),a=[{provide:Ho,useValue:s}];return s.run(()=>{const u=Ps.create({providers:a,parent:this.injector,name:n.moduleType.name}),v=n.create(u),E=v.injector.get($a,null);if(!E)throw new Z(402,!1);return s.runOutsideAngular(()=>{const $=s.onError.subscribe({next:ne=>{E.handleError(ne)}});v.onDestroy(()=>{cc(this._modules,v),$.unsubscribe()})}),function cm(e,t,n){try{const o=n();return Ou(o)?o.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(E,s,()=>{const $=v.injector.get(sc);return $.runInitializers(),$.donePromise.then(()=>(function Cp(e){P(e,"Expected localeId to be defined"),"string"==typeof e&&(bp=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(ac,ha)||ha),this._moduleDoBootstrap(v),v))})})}bootstrapModule(n,o=[]){const s=um({},o);return function dC(e,t,n){const o=new qu(n);return Promise.resolve(o)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(n){const o=n.injector.get(lc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new Z(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Z(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(vd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(pn(Ps))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function um(e,t){return Array.isArray(t)?t.reduce(um,e):{...e,...t}}let lc=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,o,s){this._zone=n,this._injector=o,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new T.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),u=new T.y(v=>{let E;this._zone.runOutsideAngular(()=>{E=this._zone.onStable.subscribe(()=>{Ho.assertNotInAngularZone(),hd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const $=this._zone.onUnstable.subscribe(()=>{Ho.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{E.unsubscribe(),$.unsubscribe()}});this.isStable=(0,B.T)(a,u.pipe((0,re.B)()))}bootstrap(n,o){const s=n instanceof Ef;if(!this._injector.get(sc).done){!s&&Bn(n);throw new Z(405,Vi)}let u;u=s?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const v=function fC(e){return e.isBoundToModule}(u)?void 0:this._injector.get(pa),$=u.create(Ps.NULL,[],o||u.selector,v),ne=$.location.nativeElement,Se=$.injector.get(Xg,null);return Se?.registerApplication(ne),$.onDestroy(()=>{this.detachView($.hostView),cc(this.components,$),Se?.unregisterApplication(ne)}),this._loadComponent($),$}tick(){if(this._runningTick)throw new Z(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;cc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(nm,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Z(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(pn(Ho),pn(Os),pn($a))},e.\u0275prov=Ue({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yC(){return!1}function _C(){}let bC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function DC(e,t,n){if(C(e)&&!n){const o=Nr(e.index,t);return new Va(o,o)}return 47&e.type?new Va(t[Ze],t):null}(Fr(),dt(),16==(16&e))}class gm{constructor(){}supports(t){return Hl(t)}create(t){return new TC(t)}}const MC=(e,t)=>t;class TC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||MC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,s=0,a=null;for(;n||o;){const u=!o||n&&n.currentIndex{u=this._trackByFn(s,v),null!==n&&Object.is(n.trackById,u)?(o&&(n=this._verifyReinsertion(n,v,u,s)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,u,s),o=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,s){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,s)):t=this._addAfter(new AC(n,o),a,s),t}_verifyReinsertion(t,n,o,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==a?t=this._reinsertAfter(a,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,a=t._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new mm),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class xC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class mm{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new xC,this.map.set(n,o)),o.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vm(e,t,n){const o=e.previousIndex;if(null===o)return o;let s=0;return n&&o{if(n&&n.key===s)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(s,o);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const a=s._prev,u=s._next;return a&&(a._next=u),u&&(u._prev=a),s._next=null,s._prev=null,s}const o=new PC(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class PC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _m(){return new Ed([new gm])}let Ed=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||_m()),deps:[[e,new ws,new Es]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(null!=o)return o;throw new Z(901,!1)}}return e.\u0275prov=Ue({token:e,providedIn:"root",factory:_m}),e})();function bm(){return new wd([new ym])}let wd=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bm()),deps:[[e,new ws,new Es]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(o)return o;throw new Z(901,!1)}}return e.\u0275prov=Ue({token:e,providedIn:"root",factory:bm}),e})();const LC=om(null,"core",[]);let NC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(pn(lc))},e.\u0275mod=Mn({type:e}),e.\u0275inj=Dt({}),e})();function kC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $C(e,t){const n=Xt(e),o=t.elementInjector||Fl();return new ja(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function UC(e){const t=Xt(e);if(!t)return null;const n=new ja(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}},4006:(gt,Oe,g)=>{"use strict";g.d(Oe,{Cf:()=>X,Fd:()=>ci,JJ:()=>Et,JL:()=>Ct,JU:()=>H,NI:()=>me,On:()=>Ce,UX:()=>fi,_Y:()=>Ye,a5:()=>Yt,nD:()=>Mr,qQ:()=>So,qu:()=>to,sg:()=>Ne,u:()=>Cr,u5:()=>fn});var i=g(4650),r=g(6895),T=g(2076),B=g(4128),re=g(4004);let O=(()=>{class R{constructor(S,ie){this._renderer=S,this._elementRef=ie,this.onChange=st=>{},this.onTouched=()=>{}}setProperty(S,ie){this._renderer.setProperty(this._elementRef.nativeElement,S,ie)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}}return R.\u0275fac=function(S){return new(S||R)(i.Y36(i.Qsj),i.Y36(i.SBq))},R.\u0275dir=i.lG2({type:R}),R})(),j=(()=>{class R extends O{}return R.\u0275fac=function(){let x;return function(ie){return(x||(x=i.n5z(R)))(ie||R)}}(),R.\u0275dir=i.lG2({type:R,features:[i.qOj]}),R})();const H=new i.OlP("NgValueAccessor"),W={provide:H,useExisting:(0,i.Gpc)(()=>ee),multi:!0},ye=new i.OlP("CompositionEventMode");let ee=(()=>{class R extends O{constructor(S,ie,st){super(S,ie),this._compositionMode=st,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function le(){const R=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(R.toLowerCase())}())}writeValue(S){this.setProperty("value",S??"")}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}}return R.\u0275fac=function(S){return new(S||R)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(ye,8))},R.\u0275dir=i.lG2({type:R,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(S,ie){1&S&&i.NdJ("input",function(Wt){return ie._handleInput(Wt.target.value)})("blur",function(){return ie.onTouched()})("compositionstart",function(){return ie._compositionStart()})("compositionend",function(Wt){return ie._compositionEnd(Wt.target.value)})},features:[i._Bn([W]),i.qOj]}),R})();const ue=!1;function ae(R){return null==R||("string"==typeof R||Array.isArray(R))&&0===R.length}const X=new i.OlP("NgValidators"),he=new i.OlP("NgAsyncValidators");function je(R){return null}function ce(R){return null!=R}function $e(R){const x=(0,i.QGY)(R)?(0,T.D)(R):R;if(ue&&!(0,i.CqO)(x)){let S="Expected async validator to return Promise or Observable.";throw"object"==typeof R&&(S+=" Are you using a synchronous validator where an async validator is expected?"),new i.vHH(-1101,S)}return x}function qe(R){let x={};return R.forEach(S=>{x=null!=S?{...x,...S}:x}),0===Object.keys(x).length?null:x}function lt(R,x){return x.map(S=>S(R))}function De(R){return R.map(x=>function ve(R){return!R.validate}(x)?x:S=>x.validate(S))}function P(R){return null!=R?function N(R){if(!R)return null;const x=R.filter(ce);return 0==x.length?null:function(S){return qe(lt(S,x))}}(De(R)):null}function K(R){return null!=R?function V(R){if(!R)return null;const x=R.filter(ce);return 0==x.length?null:function(S){const ie=lt(S,x).map($e);return(0,B.D)(ie).pipe((0,re.U)(qe))}}(De(R)):null}function z(R,x){return null===R?[x]:Array.isArray(R)?[...R,x]:[R,x]}function Be(R){return R._rawValidators}function Ue(R){return R._rawAsyncValidators}function Qe(R){return R?Array.isArray(R)?R:[R]:[]}function Dt(R,x){return Array.isArray(R)?R.includes(x):R===x}function kt(R,x){const S=Qe(x);return Qe(R).forEach(st=>{Dt(S,st)||S.push(st)}),S}function Lt(R,x){return Qe(x).filter(S=>!Dt(R,S))}class Ht{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(x){this._rawValidators=x||[],this._composedValidatorFn=P(this._rawValidators)}_setAsyncValidators(x){this._rawAsyncValidators=x||[],this._composedAsyncValidatorFn=K(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(x){this._onDestroyCallbacks.push(x)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(x=>x()),this._onDestroyCallbacks=[]}reset(x){this.control&&this.control.reset(x)}hasError(x,S){return!!this.control&&this.control.hasError(x,S)}getError(x,S){return this.control?this.control.getError(x,S):null}}class $t extends Ht{get formDirective(){return null}get path(){return null}}class Yt extends Ht{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ke{constructor(x){this._cd=x}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Et=(()=>{class R extends Ke{constructor(S){super(S)}}return R.\u0275fac=function(S){return new(S||R)(i.Y36(Yt,2))},R.\u0275dir=i.lG2({type:R,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(S,ie){2&S&&i.ekj("ng-untouched",ie.isUntouched)("ng-touched",ie.isTouched)("ng-pristine",ie.isPristine)("ng-dirty",ie.isDirty)("ng-valid",ie.isValid)("ng-invalid",ie.isInvalid)("ng-pending",ie.isPending)},features:[i.qOj]}),R})(),Ct=(()=>{class R extends Ke{constructor(S){super(S)}}return R.\u0275fac=function(S){return new(S||R)(i.Y36($t,10))},R.\u0275dir=i.lG2({type:R,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(S,ie){2&S&&i.ekj("ng-untouched",ie.isUntouched)("ng-touched",ie.isTouched)("ng-pristine",ie.isPristine)("ng-dirty",ie.isDirty)("ng-valid",ie.isValid)("ng-invalid",ie.isInvalid)("ng-pending",ie.isPending)("ng-submitted",ie.isSubmitted)},features:[i.qOj]}),R})();function Nn(R,x){return R?`with name: '${x}'`:`at index: ${x}`}const nn=!1,mr="VALID",pn="INVALID",Hn="PENDING",ir="DISABLED";function rr(R){return(vr(R)?R.validators:R)||null}function Gn(R,x){return(vr(x)?x.asyncValidators:R)||null}function vr(R){return null!=R&&!Array.isArray(R)&&"object"==typeof R}function Ir(R,x,S){const ie=R.controls;if(!(x?Object.keys(ie):ie).length)throw new i.vHH(1e3,nn?function er(R){return`\n There are no form controls registered with this ${R?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(x):"");if(!ie[S])throw new i.vHH(1001,nn?function xn(R,x){return`Cannot find form control ${Nn(R,x)}`}(x,S):"")}function Fn(R,x,S){R._forEachChild((ie,st)=>{if(void 0===S[st])throw new i.vHH(1002,nn?function Yn(R,x){return`Must supply a value for form control ${Nn(R,x)}`}(x,st):"")})}class Dn{constructor(x,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(x),this._assignAsyncValidators(S)}get validator(){return this._composedValidatorFn}set validator(x){this._rawValidators=this._composedValidatorFn=x}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(x){this._rawAsyncValidators=this._composedAsyncValidatorFn=x}get parent(){return this._parent}get valid(){return this.status===mr}get invalid(){return this.status===pn}get pending(){return this.status==Hn}get disabled(){return this.status===ir}get enabled(){return this.status!==ir}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(x){this._assignValidators(x)}setAsyncValidators(x){this._assignAsyncValidators(x)}addValidators(x){this.setValidators(kt(x,this._rawValidators))}addAsyncValidators(x){this.setAsyncValidators(kt(x,this._rawAsyncValidators))}removeValidators(x){this.setValidators(Lt(x,this._rawValidators))}removeAsyncValidators(x){this.setAsyncValidators(Lt(x,this._rawAsyncValidators))}hasValidator(x){return Dt(this._rawValidators,x)}hasAsyncValidator(x){return Dt(this._rawAsyncValidators,x)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(x={}){this.touched=!0,this._parent&&!x.onlySelf&&this._parent.markAsTouched(x)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(x=>x.markAllAsTouched())}markAsUntouched(x={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}markAsDirty(x={}){this.pristine=!1,this._parent&&!x.onlySelf&&this._parent.markAsDirty(x)}markAsPristine(x={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}markAsPending(x={}){this.status=Hn,!1!==x.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!x.onlySelf&&this._parent.markAsPending(x)}disable(x={}){const S=this._parentMarkedDirty(x.onlySelf);this.status=ir,this.errors=null,this._forEachChild(ie=>{ie.disable({...x,onlySelf:!0})}),this._updateValue(),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...x,skipPristineCheck:S}),this._onDisabledChange.forEach(ie=>ie(!0))}enable(x={}){const S=this._parentMarkedDirty(x.onlySelf);this.status=mr,this._forEachChild(ie=>{ie.enable({...x,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent}),this._updateAncestors({...x,skipPristineCheck:S}),this._onDisabledChange.forEach(ie=>ie(!1))}_updateAncestors(x){this._parent&&!x.onlySelf&&(this._parent.updateValueAndValidity(x),x.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(x){this._parent=x}getRawValue(){return this.value}updateValueAndValidity(x={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mr||this.status===Hn)&&this._runAsyncValidator(x.emitEvent)),!1!==x.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!x.onlySelf&&this._parent.updateValueAndValidity(x)}_updateTreeValidity(x={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(x)),this.updateValueAndValidity({onlySelf:!0,emitEvent:x.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ir:mr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(x){if(this.asyncValidator){this.status=Hn,this._hasOwnPendingAsyncValidator=!0;const S=$e(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(ie=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ie,{emitEvent:x})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(x,S={}){this.errors=x,this._updateControlsErrors(!1!==S.emitEvent)}get(x){let S=x;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((ie,st)=>ie&&ie._find(st),this)}getError(x,S){const ie=S?this.get(S):this;return ie&&ie.errors?ie.errors[x]:null}hasError(x,S){return!!this.getError(x,S)}get root(){let x=this;for(;x._parent;)x=x._parent;return x}_updateControlsErrors(x){this.status=this._calculateStatus(),x&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(x)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?ir:this.errors?pn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hn)?Hn:this._anyControlsHaveStatus(pn)?pn:mr}_anyControlsHaveStatus(x){return this._anyControls(S=>S.status===x)}_anyControlsDirty(){return this._anyControls(x=>x.dirty)}_anyControlsTouched(){return this._anyControls(x=>x.touched)}_updatePristine(x={}){this.pristine=!this._anyControlsDirty(),this._parent&&!x.onlySelf&&this._parent._updatePristine(x)}_updateTouched(x={}){this.touched=this._anyControlsTouched(),this._parent&&!x.onlySelf&&this._parent._updateTouched(x)}_registerOnCollectionChange(x){this._onCollectionChange=x}_setUpdateStrategy(x){vr(x)&&null!=x.updateOn&&(this._updateOn=x.updateOn)}_parentMarkedDirty(x){return!x&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(x){return null}_assignValidators(x){this._rawValidators=Array.isArray(x)?x.slice():x,this._composedValidatorFn=function Dr(R){return Array.isArray(R)?P(R):R||null}(this._rawValidators)}_assignAsyncValidators(x){this._rawAsyncValidators=Array.isArray(x)?x.slice():x,this._composedAsyncValidatorFn=function Er(R){return Array.isArray(R)?K(R):R||null}(this._rawAsyncValidators)}}class Pn extends Dn{constructor(x,S,ie){super(rr(S),Gn(ie,S)),this.controls=x,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(x,S){return this.controls[x]?this.controls[x]:(this.controls[x]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(x,S,ie={}){this.registerControl(x,S),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}removeControl(x,S={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(x,S,ie={}){this.controls[x]&&this.controls[x]._registerOnCollectionChange(()=>{}),delete this.controls[x],S&&this.registerControl(x,S),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}contains(x){return this.controls.hasOwnProperty(x)&&this.controls[x].enabled}setValue(x,S={}){Fn(this,!0,x),Object.keys(x).forEach(ie=>{Ir(this,!0,ie),this.controls[ie].setValue(x[ie],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(x,S={}){null!=x&&(Object.keys(x).forEach(ie=>{const st=this.controls[ie];st&&st.patchValue(x[ie],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(x={},S={}){this._forEachChild((ie,st)=>{ie.reset(x[st],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(x,S,ie)=>(x[ie]=S.getRawValue(),x))}_syncPendingControls(){let x=this._reduceChildren(!1,(S,ie)=>!!ie._syncPendingControls()||S);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){Object.keys(this.controls).forEach(S=>{const ie=this.controls[S];ie&&x(ie,S)})}_setUpControls(){this._forEachChild(x=>{x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(x){for(const[S,ie]of Object.entries(this.controls))if(this.contains(S)&&x(ie))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,ie,st)=>((ie.enabled||this.disabled)&&(S[st]=ie.value),S))}_reduceChildren(x,S){let ie=x;return this._forEachChild((st,Wt)=>{ie=S(ie,st,Wt)}),ie}_allControlsDisabled(){for(const x of Object.keys(this.controls))if(this.controls[x].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(x){return this.controls.hasOwnProperty(x)?this.controls[x]:null}}class Je extends Pn{}const Ee=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Xe}),Xe="always";function it(R,x){return[...x.path,R]}function St(R,x,S=Xe){yr(R,x),x.valueAccessor.writeValue(R.value),(R.disabled||"always"===S)&&x.valueAccessor.setDisabledState?.(R.disabled),function Mn(R,x){x.valueAccessor.registerOnChange(S=>{R._pendingValue=S,R._pendingChange=!0,R._pendingDirty=!0,"change"===R.updateOn&&br(R,x)})}(R,x),function Sr(R,x){const S=(ie,st)=>{x.valueAccessor.writeValue(ie),st&&x.viewToModelUpdate(ie)};R.registerOnChange(S),x._registerOnDestroy(()=>{R._unregisterOnChange(S)})}(R,x),function Wn(R,x){x.valueAccessor.registerOnTouched(()=>{R._pendingTouched=!0,"blur"===R.updateOn&&R._pendingChange&&br(R,x),"submit"!==R.updateOn&&R.markAsTouched()})}(R,x),function Ln(R,x){if(x.valueAccessor.setDisabledState){const S=ie=>{x.valueAccessor.setDisabledState(ie)};R.registerOnDisabledChange(S),x._registerOnDestroy(()=>{R._unregisterOnDisabledChange(S)})}}(R,x)}function Qt(R,x,S=!0){const ie=()=>{};x.valueAccessor&&(x.valueAccessor.registerOnChange(ie),x.valueAccessor.registerOnTouched(ie)),Jn(R,x),R&&(x._invokeOnDestroyCallbacks(),R._registerOnCollectionChange(()=>{}))}function En(R,x){R.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(x)})}function yr(R,x){const S=Be(R);null!==x.validator?R.setValidators(z(S,x.validator)):"function"==typeof S&&R.setValidators([S]);const ie=Ue(R);null!==x.asyncValidator?R.setAsyncValidators(z(ie,x.asyncValidator)):"function"==typeof ie&&R.setAsyncValidators([ie]);const st=()=>R.updateValueAndValidity();En(x._rawValidators,st),En(x._rawAsyncValidators,st)}function Jn(R,x){let S=!1;if(null!==R){if(null!==x.validator){const st=Be(R);if(Array.isArray(st)&&st.length>0){const Wt=st.filter(cr=>cr!==x.validator);Wt.length!==st.length&&(S=!0,R.setValidators(Wt))}}if(null!==x.asyncValidator){const st=Ue(R);if(Array.isArray(st)&&st.length>0){const Wt=st.filter(cr=>cr!==x.asyncValidator);Wt.length!==st.length&&(S=!0,R.setAsyncValidators(Wt))}}}const ie=()=>{};return En(x._rawValidators,ie),En(x._rawAsyncValidators,ie),S}function br(R,x){R._pendingDirty&&R.markAsDirty(),R.setValue(R._pendingValue,{emitModelToViewChange:!1}),x.viewToModelUpdate(R._pendingValue),R._pendingChange=!1}function In(R,x){if(!R.hasOwnProperty("model"))return!1;const S=R.model;return!!S.isFirstChange()||!Object.is(x,S.currentValue)}function Ot(R,x){if(!x)return null;let S,ie,st;return Array.isArray(x),x.forEach(Wt=>{Wt.constructor===ee?S=Wt:function $n(R){return Object.getPrototypeOf(R.constructor)===j}(Wt)?ie=Wt:st=Wt}),st||ie||S||null}function A(R,x){const S=R.indexOf(x);S>-1&&R.splice(S,1)}function G(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}const me=class extends Dn{constructor(x=null,S,ie){super(rr(S),Gn(ie,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(x),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vr(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=G(x)?x.value:x)}setValue(x,S={}){this.value=this._pendingValue=x,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(ie=>ie(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(x,S={}){this.setValue(x,S)}reset(x=this.defaultValue,S={}){this._applyFormState(x),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(x){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(x){this._onChange.push(x)}_unregisterOnChange(x){A(this._onChange,x)}registerOnDisabledChange(x){this._onDisabledChange.push(x)}_unregisterOnDisabledChange(x){A(this._onDisabledChange,x)}_forEachChild(x){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(x){G(x)?(this.value=this._pendingValue=x.value,x.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=x}},Te={provide:Yt,useExisting:(0,i.Gpc)(()=>Ce)},Re=(()=>Promise.resolve())();let Ce=(()=>{class R extends Yt{constructor(S,ie,st,Wt,cr,dt){super(),this._changeDetectorRef=cr,this.callSetDisabledState=dt,this.control=new me,this._registered=!1,this.update=new i.vpe,this._parent=S,this._setValidators(ie),this._setAsyncValidators(st),this.valueAccessor=Ot(0,Wt)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const ie=S.name.previousValue;this.formDirective.removeControl({name:ie,path:this._getPath(ie)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),In(S,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){St(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(S){Re.then(()=>{this.control.setValue(S,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(S){const ie=S.isDisabled.currentValue,st=0!==ie&&(0,i.D6c)(ie);Re.then(()=>{st&&!this.control.disabled?this.control.disable():!st&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(S){return this._parent?it(S,this._parent):[S]}}return R.\u0275fac=function(S){return new(S||R)(i.Y36($t,9),i.Y36(X,10),i.Y36(he,10),i.Y36(H,10),i.Y36(i.sBO,8),i.Y36(Ee,8))},R.\u0275dir=i.lG2({type:R,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([Te]),i.qOj,i.TTD]}),R})(),Ye=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=i.lG2({type:R,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),R})(),Mt=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=i.oAB({type:R}),R.\u0275inj=i.cJS({}),R})();const h=new i.OlP("NgModelWithFormControlWarning"),de={provide:$t,useExisting:(0,i.Gpc)(()=>Ne)};let Ne=(()=>{class R extends $t{constructor(S,ie,st){super(),this.callSetDisabledState=st,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(S),this._setAsyncValidators(ie)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Jn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const ie=this.form.get(S.path);return St(ie,S,this.callSetDisabledState),ie.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),ie}getControl(S){return this.form.get(S.path)}removeControl(S){Qt(S.control||null,S,!1),function Rt(R,x){const S=R.indexOf(x);S>-1&&R.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,ie){this.form.get(S.path).setValue(ie)}onSubmit(S){return this.submitted=!0,function Kn(R,x){R._syncPendingControls(),x.forEach(S=>{const ie=S.control;"submit"===ie.updateOn&&ie._pendingChange&&(S.viewToModelUpdate(ie._pendingValue),ie._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(S),"dialog"===S?.target?.method}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const ie=S.control,st=this.form.get(S.path);ie!==st&&(Qt(ie||null,S),(R=>R instanceof me)(st)&&(St(st,S,this.callSetDisabledState),S.control=st))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const ie=this.form.get(S.path);(function tr(R,x){yr(R,x)})(ie,S),ie.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const ie=this.form.get(S.path);ie&&function Xt(R,x){return Jn(R,x)}(ie,S)&&ie.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){yr(this.form,this),this._oldForm&&Jn(this._oldForm,this)}_checkFormPresent(){}}return R.\u0275fac=function(S){return new(S||R)(i.Y36(X,10),i.Y36(he,10),i.Y36(Ee,8))},R.\u0275dir=i.lG2({type:R,selectors:[["","formGroup",""]],hostBindings:function(S,ie){1&S&&i.NdJ("submit",function(Wt){return ie.onSubmit(Wt)})("reset",function(){return ie.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([de]),i.qOj,i.TTD]}),R})();const Jr={provide:Yt,useExisting:(0,i.Gpc)(()=>Cr)};let Cr=(()=>{class R extends Yt{set isDisabled(S){}constructor(S,ie,st,Wt,cr){super(),this._ngModelWarningConfig=cr,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=S,this._setValidators(ie),this._setAsyncValidators(st),this.valueAccessor=Ot(0,Wt)}ngOnChanges(S){this._added||this._setUpControl(),In(S,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}get path(){return it(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return R._ngModelWarningSentOnce=!1,R.\u0275fac=function(S){return new(S||R)(i.Y36($t,13),i.Y36(X,10),i.Y36(he,10),i.Y36(H,10),i.Y36(h,8))},R.\u0275dir=i.lG2({type:R,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Jr]),i.qOj,i.TTD]}),R})();function Lo(R){return"number"==typeof R?R:parseFloat(R)}let Rr=(()=>{class R{constructor(){this._validator=je}ngOnChanges(S){if(this.inputName in S){const ie=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(ie),this._validator=this._enabled?this.createValidator(ie):je,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=i.lG2({type:R,features:[i.TTD]}),R})();const gr={provide:X,useExisting:(0,i.Gpc)(()=>ci),multi:!0};let ci=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=S=>Lo(S),this.createValidator=S=>function Le(R){return x=>{if(ae(x.value)||ae(R))return null;const S=parseFloat(x.value);return!isNaN(S)&&S>R?{max:{max:R,actual:x.value}}:null}}(S)}}return R.\u0275fac=function(){let x;return function(ie){return(x||(x=i.n5z(R)))(ie||R)}}(),R.\u0275dir=i.lG2({type:R,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(S,ie){2&S&&i.uIk("max",ie._enabled?ie.max:null)},inputs:{max:"max"},features:[i._Bn([gr]),i.qOj]}),R})();const No={provide:X,useExisting:(0,i.Gpc)(()=>So),multi:!0};let So=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=S=>Lo(S),this.createValidator=S=>function ke(R){return x=>{if(ae(x.value)||ae(R))return null;const S=parseFloat(x.value);return!isNaN(S)&&SMr),multi:!0};let Mr=(()=>{class R extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>function Wr(R){return"number"==typeof R?R:parseInt(R,10)}(S),this.createValidator=S=>function be(R){return x=>function Z(R){return null!=R&&"number"==typeof R.length}(x.value)&&x.value.length>R?{maxlength:{requiredLength:R,actualLength:x.value.length}}:null}(S)}}return R.\u0275fac=function(){let x;return function(ie){return(x||(x=i.n5z(R)))(ie||R)}}(),R.\u0275dir=i.lG2({type:R,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(S,ie){2&S&&i.uIk("maxlength",ie._enabled?ie.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Mo]),i.qOj]}),R})(),po=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=i.oAB({type:R}),R.\u0275inj=i.cJS({imports:[Mt]}),R})();class go extends Dn{constructor(x,S,ie){super(rr(S),Gn(ie,S)),this.controls=x,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(x){return this.controls[this._adjustIndex(x)]}push(x,S={}){this.controls.push(x),this._registerControl(x),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}insert(x,S,ie={}){this.controls.splice(x,0,S),this._registerControl(S),this.updateValueAndValidity({emitEvent:ie.emitEvent})}removeAt(x,S={}){let ie=this._adjustIndex(x);ie<0&&(ie=0),this.controls[ie]&&this.controls[ie]._registerOnCollectionChange(()=>{}),this.controls.splice(ie,1),this.updateValueAndValidity({emitEvent:S.emitEvent})}setControl(x,S,ie={}){let st=this._adjustIndex(x);st<0&&(st=0),this.controls[st]&&this.controls[st]._registerOnCollectionChange(()=>{}),this.controls.splice(st,1),S&&(this.controls.splice(st,0,S),this._registerControl(S)),this.updateValueAndValidity({emitEvent:ie.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(x,S={}){Fn(this,!1,x),x.forEach((ie,st)=>{Ir(this,!1,st),this.at(st).setValue(ie,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(x,S={}){null!=x&&(x.forEach((ie,st)=>{this.at(st)&&this.at(st).patchValue(ie,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(x=[],S={}){this._forEachChild((ie,st)=>{ie.reset(x[st],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this.controls.map(x=>x.getRawValue())}clear(x={}){this.controls.length<1||(this._forEachChild(S=>S._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:x.emitEvent}))}_adjustIndex(x){return x<0?x+this.length:x}_syncPendingControls(){let x=this.controls.reduce((S,ie)=>!!ie._syncPendingControls()||S,!1);return x&&this.updateValueAndValidity({onlySelf:!0}),x}_forEachChild(x){this.controls.forEach((S,ie)=>{x(S,ie)})}_updateValue(){this.value=this.controls.filter(x=>x.enabled||this.disabled).map(x=>x.value)}_anyControls(x){return this.controls.some(S=>S.enabled&&x(S))}_setUpControls(){this._forEachChild(x=>this._registerControl(x))}_allControlsDisabled(){for(const x of this.controls)if(x.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(x){x.setParent(this),x._registerOnCollectionChange(this._onCollectionChange)}_find(x){return this.at(x)??null}}function kr(R){return!!R&&(void 0!==R.asyncValidators||void 0!==R.validators||void 0!==R.updateOn)}let to=(()=>{class R{constructor(){this.useNonNullable=!1}get nonNullable(){const S=new R;return S.useNonNullable=!0,S}group(S,ie=null){const st=this._reduceControls(S);let Wt={};return kr(ie)?Wt=ie:null!==ie&&(Wt.validators=ie.validator,Wt.asyncValidators=ie.asyncValidator),new Pn(st,Wt)}record(S,ie=null){const st=this._reduceControls(S);return new Je(st,ie)}control(S,ie,st){let Wt={};return this.useNonNullable?(kr(ie)?Wt=ie:(Wt.validators=ie,Wt.asyncValidators=st),new me(S,{...Wt,nonNullable:!0})):new me(S,ie,st)}array(S,ie,st){const Wt=S.map(cr=>this._createControl(cr));return new go(Wt,ie,st)}_reduceControls(S){const ie={};return Object.keys(S).forEach(st=>{ie[st]=this._createControl(S[st])}),ie}_createControl(S){return S instanceof me||S instanceof Dn?S:Array.isArray(S)?this.control(S[0],S.length>1?S[1]:null,S.length>2?S[2]:null):this.control(S)}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275prov=i.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),fn=(()=>{class R{static withConfig(S){return{ngModule:R,providers:[{provide:Ee,useValue:S.callSetDisabledState??Xe}]}}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=i.oAB({type:R}),R.\u0275inj=i.cJS({imports:[po]}),R})(),fi=(()=>{class R{static withConfig(S){return{ngModule:R,providers:[{provide:h,useValue:S.warnOnNgModelWithFormControl??"always"},{provide:Ee,useValue:S.callSetDisabledState??Xe}]}}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=i.oAB({type:R}),R.\u0275inj=i.cJS({imports:[po]}),R})()},1481:(gt,Oe,g)=>{"use strict";g.d(Oe,{Dx:()=>mn,b2:()=>Jt,q6:()=>rt});var i=g(6895),r=g(4650);class T extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class B extends T{static makeCurrent(){(0,i.HT)(new B)}onAndCancel(He,Ee,Xe){return He.addEventListener(Ee,Xe,!1),()=>{He.removeEventListener(Ee,Xe,!1)}}dispatchEvent(He,Ee){He.dispatchEvent(Ee)}remove(He){He.parentNode&&He.parentNode.removeChild(He)}createElement(He,Ee){return(Ee=Ee||this.getDefaultDocument()).createElement(He)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(He){return He.nodeType===Node.ELEMENT_NODE}isShadowRoot(He){return He instanceof DocumentFragment}getGlobalEventTarget(He,Ee){return"window"===Ee?window:"document"===Ee?He:"body"===Ee?He.body:null}getBaseHref(He){const Ee=function O(){return re=re||document.querySelector("base"),re?re.getAttribute("href"):null}();return null==Ee?null:function H(Je){j=j||document.createElement("a"),j.setAttribute("href",Je);const He=j.pathname;return"/"===He.charAt(0)?He:`/${He}`}(Ee)}resetBaseElement(){re=null}getUserAgent(){return window.navigator.userAgent}getCookie(He){return(0,i.Mx)(document.cookie,He)}}let j,re=null;const oe=new r.OlP("TRANSITION_ID"),W=[{provide:r.ip1,useFactory:function _e(Je,He,Ee){return()=>{Ee.get(r.CZH).donePromise.then(()=>{const Xe=(0,i.q)(),it=He.querySelectorAll(`style[ng-transition="${Je}"]`);for(let St=0;St{class Je{build(){return new XMLHttpRequest}}return Je.\u0275fac=function(Ee){return new(Ee||Je)},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const ee=new r.OlP("EventManagerPlugins");let ue=(()=>{class Je{constructor(Ee,Xe){this._zone=Xe,this._eventNameToPlugin=new Map,Ee.forEach(it=>{it.manager=this}),this._plugins=Ee.slice().reverse()}addEventListener(Ee,Xe,it){return this._findPluginFor(Xe).addEventListener(Ee,Xe,it)}addGlobalEventListener(Ee,Xe,it){return this._findPluginFor(Xe).addGlobalEventListener(Ee,Xe,it)}getZone(){return this._zone}_findPluginFor(Ee){const Xe=this._eventNameToPlugin.get(Ee);if(Xe)return Xe;const it=this._plugins;for(let St=0;St{class Je{constructor(){this.usageCount=new Map}addStyles(Ee){for(const Xe of Ee)1===this.changeUsageCount(Xe,1)&&this.onStyleAdded(Xe)}removeStyles(Ee){for(const Xe of Ee)0===this.changeUsageCount(Xe,-1)&&this.onStyleRemoved(Xe)}onStyleRemoved(Ee){}onStyleAdded(Ee){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Ee,Xe){const it=this.usageCount;let St=it.get(Ee)??0;return St+=Xe,St>0?it.set(Ee,St):it.delete(Ee),St}ngOnDestroy(){for(const Ee of this.getAllStyles())this.onStyleRemoved(Ee);this.usageCount.clear()}}return Je.\u0275fac=function(Ee){return new(Ee||Je)},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})(),X=(()=>{class Je extends Z{constructor(Ee){super(),this.doc=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Ee){for(const Xe of this.hostNodes)this.addStyleToHost(Xe,Ee)}onStyleRemoved(Ee){const Xe=this.styleRef;Xe.get(Ee)?.forEach(St=>St.remove()),Xe.delete(Ee)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Ee){this.hostNodes.add(Ee);for(const Xe of this.getAllStyles())this.addStyleToHost(Ee,Xe)}removeHost(Ee){this.hostNodes.delete(Ee)}addStyleToHost(Ee,Xe){const it=this.doc.createElement("style");it.textContent=Xe,Ee.appendChild(it);const St=this.styleRef.get(Xe);St?St.push(it):this.styleRef.set(Xe,[it])}resetHostNodes(){const Ee=this.hostNodes;Ee.clear(),Ee.add(this.doc.head)}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(i.K0))},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const he={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ze=/%COMP%/g,k=new r.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Me(Je,He){return He.flat(100).map(Ee=>Ee.replace(ze,Je))}function je(Je){return He=>{if("__ngUnwrap__"===He)return Je;!1===Je(He)&&(He.preventDefault(),He.returnValue=!1)}}let ce=(()=>{class Je{constructor(Ee,Xe,it,St){this.eventManager=Ee,this.sharedStylesHost=Xe,this.appId=it,this.removeStylesOnCompDestory=St,this.rendererByCompId=new Map,this.defaultRenderer=new $e(Ee)}createRenderer(Ee,Xe){if(!Ee||!Xe)return this.defaultRenderer;const it=this.getOrCreateRenderer(Ee,Xe);return it instanceof P?it.applyToHost(Ee):it instanceof N&&it.applyStyles(),it}getOrCreateRenderer(Ee,Xe){const it=this.rendererByCompId;let St=it.get(Xe.id);if(!St){const Qt=this.eventManager,En=this.sharedStylesHost,Ln=this.removeStylesOnCompDestory;switch(Xe.encapsulation){case r.ifc.Emulated:St=new P(Qt,En,Xe,this.appId,Ln);break;case r.ifc.ShadowDom:return new De(Qt,En,Ee,Xe);default:St=new N(Qt,En,Xe,Ln)}St.onDestroy=()=>it.delete(Xe.id),it.set(Xe.id,St)}return St}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(ue),r.LFG(X),r.LFG(r.AFp),r.LFG(k))},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})();class $e{constructor(He){this.eventManager=He,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(He,Ee){return Ee?document.createElementNS(he[Ee]||Ee,He):document.createElement(He)}createComment(He){return document.createComment(He)}createText(He){return document.createTextNode(He)}appendChild(He,Ee){(ve(He)?He.content:He).appendChild(Ee)}insertBefore(He,Ee,Xe){He&&(ve(He)?He.content:He).insertBefore(Ee,Xe)}removeChild(He,Ee){He&&He.removeChild(Ee)}selectRootElement(He,Ee){let Xe="string"==typeof He?document.querySelector(He):He;if(!Xe)throw new Error(`The selector "${He}" did not match any elements`);return Ee||(Xe.textContent=""),Xe}parentNode(He){return He.parentNode}nextSibling(He){return He.nextSibling}setAttribute(He,Ee,Xe,it){if(it){Ee=it+":"+Ee;const St=he[it];St?He.setAttributeNS(St,Ee,Xe):He.setAttribute(Ee,Xe)}else He.setAttribute(Ee,Xe)}removeAttribute(He,Ee,Xe){if(Xe){const it=he[Xe];it?He.removeAttributeNS(it,Ee):He.removeAttribute(`${Xe}:${Ee}`)}else He.removeAttribute(Ee)}addClass(He,Ee){He.classList.add(Ee)}removeClass(He,Ee){He.classList.remove(Ee)}setStyle(He,Ee,Xe,it){it&(r.JOm.DashCase|r.JOm.Important)?He.style.setProperty(Ee,Xe,it&r.JOm.Important?"important":""):He.style[Ee]=Xe}removeStyle(He,Ee,Xe){Xe&r.JOm.DashCase?He.style.removeProperty(Ee):He.style[Ee]=""}setProperty(He,Ee,Xe){He[Ee]=Xe}setValue(He,Ee){He.nodeValue=Ee}listen(He,Ee,Xe){return"string"==typeof He?this.eventManager.addGlobalEventListener(He,Ee,je(Xe)):this.eventManager.addEventListener(He,Ee,je(Xe))}}function ve(Je){return"TEMPLATE"===Je.tagName&&void 0!==Je.content}class De extends $e{constructor(He,Ee,Xe,it){super(He),this.sharedStylesHost=Ee,this.hostEl=Xe,this.shadowRoot=Xe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const St=Me(it.id,it.styles);for(const Qt of St){const En=document.createElement("style");En.textContent=Qt,this.shadowRoot.appendChild(En)}}nodeOrShadowRoot(He){return He===this.hostEl?this.shadowRoot:He}appendChild(He,Ee){return super.appendChild(this.nodeOrShadowRoot(He),Ee)}insertBefore(He,Ee,Xe){return super.insertBefore(this.nodeOrShadowRoot(He),Ee,Xe)}removeChild(He,Ee){return super.removeChild(this.nodeOrShadowRoot(He),Ee)}parentNode(He){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(He)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class N extends $e{constructor(He,Ee,Xe,it,St=Xe.id){super(He),this.sharedStylesHost=Ee,this.removeStylesOnCompDestory=it,this.rendererUsageCount=0,this.styles=Me(St,Xe.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class P extends N{constructor(He,Ee,Xe,it,St){const Qt=it+"-"+Xe.id;super(He,Ee,Xe,St,Qt),this.contentAttr=function pe(Je){return"_ngcontent-%COMP%".replace(ze,Je)}(Qt),this.hostAttr=function be(Je){return"_nghost-%COMP%".replace(ze,Je)}(Qt)}applyToHost(He){this.applyStyles(),this.setAttribute(He,this.hostAttr,"")}createElement(He,Ee){const Xe=super.createElement(He,Ee);return super.setAttribute(Xe,this.contentAttr,""),Xe}}let V=(()=>{class Je extends ae{constructor(Ee){super(Ee)}supports(Ee){return!0}addEventListener(Ee,Xe,it){return Ee.addEventListener(Xe,it,!1),()=>this.removeEventListener(Ee,Xe,it)}removeEventListener(Ee,Xe,it){return Ee.removeEventListener(Xe,it)}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(i.K0))},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const K=["alt","control","meta","shift"],z={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Be={alt:Je=>Je.altKey,control:Je=>Je.ctrlKey,meta:Je=>Je.metaKey,shift:Je=>Je.shiftKey};let Ue=(()=>{class Je extends ae{constructor(Ee){super(Ee)}supports(Ee){return null!=Je.parseEventName(Ee)}addEventListener(Ee,Xe,it){const St=Je.parseEventName(Xe),Qt=Je.eventCallback(St.fullKey,it,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(Ee,St.domEventName,Qt))}static parseEventName(Ee){const Xe=Ee.toLowerCase().split("."),it=Xe.shift();if(0===Xe.length||"keydown"!==it&&"keyup"!==it)return null;const St=Je._normalizeKey(Xe.pop());let Qt="",En=Xe.indexOf("code");if(En>-1&&(Xe.splice(En,1),Qt="code."),K.forEach(yr=>{const Jn=Xe.indexOf(yr);Jn>-1&&(Xe.splice(Jn,1),Qt+=yr+".")}),Qt+=St,0!=Xe.length||0===St.length)return null;const Ln={};return Ln.domEventName=it,Ln.fullKey=Qt,Ln}static matchEventFullKeyCode(Ee,Xe){let it=z[Ee.key]||Ee.key,St="";return Xe.indexOf("code.")>-1&&(it=Ee.code,St="code."),!(null==it||!it)&&(it=it.toLowerCase()," "===it?it="space":"."===it&&(it="dot"),K.forEach(Qt=>{Qt!==it&&(0,Be[Qt])(Ee)&&(St+=Qt+".")}),St+=it,St===Xe)}static eventCallback(Ee,Xe,it){return St=>{Je.matchEventFullKeyCode(St,Ee)&&it.runGuarded(()=>Xe(St))}}static _normalizeKey(Ee){return"esc"===Ee?"escape":Ee}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(i.K0))},Je.\u0275prov=r.Yz7({token:Je,factory:Je.\u0275fac}),Je})();const rt=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function $t(){B.makeCurrent()},multi:!0},{provide:i.K0,useFactory:function Ke(){return(0,r.RDi)(document),document},deps:[]}]),Et=new r.OlP(""),Ct=[{provide:r.rWj,useClass:class le{addToWindow(He){r.dqk.getAngularTestability=(Xe,it=!0)=>{const St=He.findTestabilityInTree(Xe,it);if(null==St)throw new Error("Could not find testability for element.");return St},r.dqk.getAllAngularTestabilities=()=>He.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>He.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(Xe=>{const it=r.dqk.getAllAngularTestabilities();let St=it.length,Qt=!1;const En=function(Ln){Qt=Qt||Ln,St--,0==St&&Xe(Qt)};it.forEach(function(Ln){Ln.whenStable(En)})})}findTestabilityInTree(He,Ee,Xe){return null==Ee?null:He.getTestability(Ee)??(Xe?(0,i.q)().isShadowRoot(Ee)?this.findTestabilityInTree(He,Ee.host,!0):this.findTestabilityInTree(He,Ee.parentElement,!0):null)}},deps:[]},{provide:r.lri,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]}],on=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function Yt(){return new r.qLn},deps:[]},{provide:ee,useClass:V,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:ee,useClass:Ue,multi:!0,deps:[i.K0]},{provide:ce,useClass:ce,deps:[ue,X,r.AFp,k]},{provide:r.FYo,useExisting:ce},{provide:Z,useExisting:X},{provide:X,useClass:X,deps:[i.K0]},{provide:ue,useClass:ue,deps:[ee,r.R0b]},{provide:i.JF,useClass:ye,deps:[]},[]];let Jt=(()=>{class Je{constructor(Ee){}static withServerTransition(Ee){return{ngModule:Je,providers:[{provide:r.AFp,useValue:Ee.appId},{provide:oe,useExisting:r.AFp},W]}}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(Et,12))},Je.\u0275mod=r.oAB({type:Je}),Je.\u0275inj=r.cJS({providers:[...on,...Ct],imports:[i.ez,r.hGG]}),Je})(),mn=(()=>{class Je{constructor(Ee){this._doc=Ee}getTitle(){return this._doc.title}setTitle(Ee){this._doc.title=Ee||""}}return Je.\u0275fac=function(Ee){return new(Ee||Je)(r.LFG(i.K0))},Je.\u0275prov=r.Yz7({token:Je,factory:function(Ee){let Xe=null;return Xe=Ee?new Ee:function sn(){return new mn((0,r.LFG)(i.K0))}(),Xe},providedIn:"root"}),Je})();typeof window<"u"&&window},6159:(gt,Oe,g)=>{"use strict";g.d(Oe,{gz:()=>Ne,y6:()=>Wr,OD:()=>w,eC:()=>K,wm:()=>Hs,wN:()=>eo,F0:()=>jr,rH:()=>_i,Bz:()=>sl,Hx:()=>Nn});var i=g(4650),r=g(2076),T=g(9646),B=g(1135),re=g(6805),O=g(9841),j=g(7272),H=g(9770),oe=g(9635),_e=g(2843),W=g(9751),le=g(515),ye=g(4033),ee=g(7579),ue=g(6895),ae=g(4004),Z=g(3900),X=g(5698),he=g(8675),ze=g(9300),we=g(5577),ke=g(590),Le=g(4351),Pe=g(8505),se=g(262),k=g(5026),pe=g(4482),be=g(5403);function Me(d){return d<=0?()=>le.E:(0,pe.e)((m,c)=>{let b=[];m.subscribe((0,be.x)(c,F=>{b.push(F),d{for(const F of b)c.next(F);c.complete()},void 0,()=>{b=null}))})}var je=g(8068),ce=g(6590),$e=g(4671);function qe(d,m){const c=arguments.length>=2;return b=>b.pipe(d?(0,ze.h)((F,J)=>d(F,J,b)):$e.y,Me(1),c?(0,ce.d)(m):(0,je.T)(()=>new re.K))}var ve=g(9718),De=g(8746),N=g(8343),P=g(8189),V=g(1481);const K="primary",z=Symbol("RouteTitle");class Be{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c[0]:c}return null}getAll(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function Ue(d){return new Be(d)}function Qe(d,m,c){const b=c.path.split("/");if(b.length>d.length||"full"===c.pathMatch&&(m.hasChildren()||b.lengthb[J]===F)}return d===m}function Ht(d){return Array.prototype.concat.apply([],d)}function $t(d){return d.length>0?d[d.length-1]:null}function Ke(d,m){for(const c in d)d.hasOwnProperty(c)&&m(d[c],c)}function et(d){return(0,i.CqO)(d)?d:(0,i.QGY)(d)?(0,r.D)(Promise.resolve(d)):(0,T.of)(d)}const rt=!1,Et={exact:function tn(d,m,c){if(!bn(d.segments,m.segments)||!mn(d.segments,m.segments,c)||d.numberOfChildren!==m.numberOfChildren)return!1;for(const b in m.children)if(!d.children[b]||!tn(d.children[b],m.children[b],c))return!1;return!0},subset:On},Ct={exact:function Jt(d,m){return kt(d,m)},subset:function en(d,m){return Object.keys(m).length<=Object.keys(d).length&&Object.keys(m).every(c=>Lt(d[c],m[c]))},ignored:()=>!0};function on(d,m,c){return Et[c.paths](d.root,m.root,c.matrixParams)&&Ct[c.queryParams](d.queryParams,m.queryParams)&&!("exact"===c.fragment&&d.fragment!==m.fragment)}function On(d,m,c){return sn(d,m,m.segments,c)}function sn(d,m,c,b){if(d.segments.length>c.length){const F=d.segments.slice(0,c.length);return!(!bn(F,c)||m.hasChildren()||!mn(F,c,b))}if(d.segments.length===c.length){if(!bn(d.segments,c)||!mn(d.segments,c,b))return!1;for(const F in m.children)if(!d.children[F]||!On(d.children[F],m.children[F],b))return!1;return!0}{const F=c.slice(0,d.segments.length),J=c.slice(d.segments.length);return!!(bn(d.segments,F)&&mn(d.segments,F,b)&&d.children[K])&&sn(d.children[K],m,J,b)}}function mn(d,m,c){return m.every((b,F)=>Ct[c](d[F].parameters,b.parameters))}class Bt{constructor(m=new wt([],{}),c={},b=null){this.root=m,this.queryParams=c,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ue(this.queryParams)),this._queryParamMap}toString(){return xn.serialize(this)}}class wt{constructor(m,c){this.segments=m,this.children=c,this.parent=null,Ke(c,(b,F)=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Yn(this)}}class ar{constructor(m,c){this.path=m,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=Ue(this.parameters)),this._parameterMap}toString(){return Gn(this)}}function bn(d,m){return d.length===m.length&&d.every((c,b)=>c.path===m[b].path)}let Nn=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:function(){return new er},providedIn:"root"}),d})();class er{parse(m){const c=new Je(m);return new Bt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(m){const c=`/${nn(m.root,!0)}`,b=function vr(d){const m=Object.keys(d).map(c=>{const b=d[c];return Array.isArray(b)?b.map(F=>`${pn(c)}=${pn(F)}`).join("&"):`${pn(c)}=${pn(b)}`}).filter(c=>!!c);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${c}${b}${"string"==typeof m.fragment?`#${function Hn(d){return encodeURI(d)}(m.fragment)}`:""}`}}const xn=new er;function Yn(d){return d.segments.map(m=>Gn(m)).join("/")}function nn(d,m){if(!d.hasChildren())return Yn(d);if(m){const c=d.children[K]?nn(d.children[K],!1):"",b=[];return Ke(d.children,(F,J)=>{J!==K&&b.push(`${J}:${nn(F,!1)}`)}),b.length>0?`${c}(${b.join("//")})`:c}{const c=function or(d,m){let c=[];return Ke(d.children,(b,F)=>{F===K&&(c=c.concat(m(b,F)))}),Ke(d.children,(b,F)=>{F!==K&&(c=c.concat(m(b,F)))}),c}(d,(b,F)=>F===K?[nn(d.children[K],!1)]:[`${F}:${nn(b,!1)}`]);return 1===Object.keys(d.children).length&&null!=d.children[K]?`${Yn(d)}/${c[0]}`:`${Yn(d)}/(${c.join("//")})`}}function mr(d){return encodeURIComponent(d).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pn(d){return mr(d).replace(/%3B/gi,";")}function ir(d){return mr(d).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function rr(d){return decodeURIComponent(d)}function Dr(d){return rr(d.replace(/\+/g,"%20"))}function Gn(d){return`${ir(d.path)}${function Er(d){return Object.keys(d).map(m=>`;${ir(m)}=${ir(d[m])}`).join("")}(d.parameters)}`}const Ir=/^[^\/()?;=#]+/;function Fn(d){const m=d.match(Ir);return m?m[0]:""}const Dn=/^[^=?&#]+/,cn=/^[^&#]+/;class Je{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wt([],{}):new wt([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(m.length>0||Object.keys(c).length>0)&&(b[K]=new wt(m,c)),b}parseSegment(){const m=Fn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new i.vHH(4009,rt);return this.capture(m),new ar(rr(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const c=Fn(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const F=Fn(this.remaining);F&&(b=F,this.capture(b))}m[rr(c)]=rr(b)}parseQueryParam(m){const c=function Pn(d){const m=d.match(Dn);return m?m[0]:""}(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const fe=function rn(d){const m=d.match(cn);return m?m[0]:""}(this.remaining);fe&&(b=fe,this.capture(b))}const F=Dr(c),J=Dr(b);if(m.hasOwnProperty(F)){let fe=m[F];Array.isArray(fe)||(fe=[fe],m[F]=fe),fe.push(J)}else m[F]=J}parseParens(m){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=Fn(this.remaining),F=this.remaining[b.length];if("/"!==F&&")"!==F&&";"!==F)throw new i.vHH(4010,rt);let J;b.indexOf(":")>-1?(J=b.slice(0,b.indexOf(":")),this.capture(J),this.capture(":")):m&&(J=K);const fe=this.parseChildren();c[J]=1===Object.keys(fe).length?fe[K]:new wt([],fe),this.consumeOptional("//")}return c}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new i.vHH(4011,rt)}}function He(d){return d.segments.length>0?new wt([],{[K]:d}):d}function Ee(d){const m={};for(const b of Object.keys(d.children)){const J=Ee(d.children[b]);(J.segments.length>0||J.hasChildren())&&(m[b]=J)}return function Xe(d){if(1===d.numberOfChildren&&d.children[K]){const m=d.children[K];return new wt(d.segments.concat(m.segments),m.children)}return d}(new wt(d.segments,m))}function it(d){return d instanceof Bt}const St=!1;function yr(d,m,c,b,F){if(0===c.length)return Wn(m.root,m.root,m.root,b,F);const J=function tr(d){if("string"==typeof d[0]&&1===d.length&&"/"===d[0])return new Sr(!0,0,d);let m=0,c=!1;const b=d.reduce((F,J,fe)=>{if("object"==typeof J&&null!=J){if(J.outlets){const We={};return Ke(J.outlets,(ft,Ut)=>{We[Ut]="string"==typeof ft?ft.split("/"):ft}),[...F,{outlets:We}]}if(J.segmentPath)return[...F,J.segmentPath]}return"string"!=typeof J?[...F,J]:0===fe?(J.split("/").forEach((We,ft)=>{0==ft&&"."===We||(0==ft&&""===We?c=!0:".."===We?m++:""!=We&&F.push(We))}),F):[...F,J]},[]);return new Sr(c,m,b)}(c);return J.toRoot()?Wn(m.root,m.root,new wt([],{}),b,F):function fe(ft){const Ut=function kn(d,m,c,b){if(d.isAbsolute)return new Xt(m.root,!0,0);if(-1===b)return new Xt(c,c===m.root,0);return function Bn(d,m,c){let b=d,F=m,J=c;for(;J>F;){if(J-=F,b=b.parent,!b)throw new i.vHH(4005,St&&"Invalid number of '../'");F=b.segments.length}return new Xt(b,!1,F-J)}(c,b+(Jn(d.commands[0])?0:1),d.numberOfDoubleDots)}(J,m,d.snapshot?._urlSegment,ft),Vt=Ut.processChildren?In(Ut.segmentGroup,Ut.index,J.commands):lr(Ut.segmentGroup,Ut.index,J.commands);return Wn(m.root,Ut.segmentGroup,Vt,b,F)}(d.snapshot?._lastPathIndex)}function Jn(d){return"object"==typeof d&&null!=d&&!d.outlets&&!d.segmentPath}function Mn(d){return"object"==typeof d&&null!=d&&d.outlets}function Wn(d,m,c,b,F){let fe,J={};b&&Ke(b,(ft,Ut)=>{J[Ut]=Array.isArray(ft)?ft.map(Vt=>`${Vt}`):`${ft}`}),fe=d===m?c:br(d,m,c);const We=He(Ee(fe));return new Bt(We,J,F)}function br(d,m,c){const b={};return Ke(d.children,(F,J)=>{b[J]=F===m?c:br(F,m,c)}),new wt(d.segments,b)}class Sr{constructor(m,c,b){if(this.isAbsolute=m,this.numberOfDoubleDots=c,this.commands=b,m&&b.length>0&&Jn(b[0]))throw new i.vHH(4003,St&&"Root segment cannot have matrix parameters");const F=b.find(Mn);if(F&&F!==$t(b))throw new i.vHH(4004,St&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Xt{constructor(m,c,b){this.segmentGroup=m,this.processChildren=c,this.index=b}}function lr(d,m,c){if(d||(d=new wt([],{})),0===d.segments.length&&d.hasChildren())return In(d,m,c);const b=function $n(d,m,c){let b=0,F=m;const J={match:!1,pathIndex:0,commandIndex:0};for(;F=c.length)return J;const fe=d.segments[F],We=c[b];if(Mn(We))break;const ft=`${We}`,Ut=b0&&void 0===ft)break;if(ft&&Ut&&"object"==typeof Ut&&void 0===Ut.outlets){if(!Gt(ft,Ut,fe))return J;b+=2}else{if(!Gt(ft,{},fe))return J;b++}F++}return{match:!0,pathIndex:F,commandIndex:b}}(d,m,c),F=c.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof J&&(J=[J]),null!==J&&(F[fe]=lr(d.children[fe],m,J))}),Ke(d.children,(J,fe)=>{void 0===b[fe]&&(F[fe]=J)}),new wt(d.segments,F)}}function Kn(d,m,c){const b=d.segments.slice(0,m);let F=0;for(;F{"string"==typeof c&&(c=[c]),null!==c&&(m[b]=Kn(new wt([],{}),0,c))}),m}function Rt(d){const m={};return Ke(d,(c,b)=>m[b]=`${c}`),m}function Gt(d,m,c){return d==c.path&&kt(m,c.parameters)}const ge="imperative";class D{constructor(m,c){this.id=m,this.url=c}}class w extends D{constructor(m,c,b="imperative",F=null){super(m,c),this.type=0,this.navigationTrigger=b,this.restoredState=F}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends D{constructor(m,c,b){super(m,c),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class G extends D{constructor(m,c,b,F){super(m,c),this.reason=b,this.code=F,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class me extends D{constructor(m,c,b,F){super(m,c),this.reason=b,this.code=F,this.type=16}}class Ie extends D{constructor(m,c,b,F){super(m,c),this.error=b,this.target=F,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ve extends D{constructor(m,c,b,F){super(m,c),this.urlAfterRedirects=b,this.state=F,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends D{constructor(m,c,b,F){super(m,c),this.urlAfterRedirects=b,this.state=F,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ct extends D{constructor(m,c,b,F,J){super(m,c),this.urlAfterRedirects=b,this.state=F,this.shouldActivate=J,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vt extends D{constructor(m,c,b,F){super(m,c),this.urlAfterRedirects=b,this.state=F,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe extends D{constructor(m,c,b,F){super(m,c),this.urlAfterRedirects=b,this.state=F,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ze{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class L{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class q{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Te{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Re{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ce{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ye{constructor(m,c,b){this.routerEvent=m,this.position=c,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let ut=(()=>{class d{createUrlTree(c,b,F,J,fe,We){return yr(c||b.root,F,J,fe,We)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac}),d})(),Mt=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:function(m){return ut.\u0275fac(m)},providedIn:"root"}),d})();class Nt{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const c=this.pathFromRoot(m);return c.length>1?c[c.length-2]:null}children(m){const c=Pt(m,this._root);return c?c.children.map(b=>b.value):[]}firstChild(m){const c=Pt(m,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(m){const c=dn(m,this._root);return c.length<2?[]:c[c.length-2].children.map(F=>F.value).filter(F=>F!==m)}pathFromRoot(m){return dn(m,this._root).map(c=>c.value)}}function Pt(d,m){if(d===m.value)return m;for(const c of m.children){const b=Pt(d,c);if(b)return b}return null}function dn(d,m){if(d===m.value)return[m];for(const c of m.children){const b=dn(d,c);if(b.length)return b.unshift(m),b}return[]}class an{constructor(m,c){this.value=m,this.children=c}toString(){return`TreeNode(${this.value})`}}function h(d){const m={};return d&&d.children.forEach(c=>m[c.value.outlet]=c),m}class te extends Nt{constructor(m,c){super(m),this.snapshot=c,Yr(this,m)}toString(){return this.snapshot.toString()}}function C(d,m){const c=function de(d,m){const fe=new zn([],{},{},"",{},K,m,null,d.root,-1,{});return new zr("",new an(fe,[]))}(d,m),b=new B.X([new ar("",{})]),F=new B.X({}),J=new B.X({}),fe=new B.X({}),We=new B.X(""),ft=new Ne(b,F,fe,We,J,K,m,c.root);return ft.snapshot=c.root,new te(new an(ft,[]),c)}class Ne{constructor(m,c,b,F,J,fe,We,ft){this.url=m,this.params=c,this.queryParams=b,this.fragment=F,this.data=J,this.outlet=fe,this.component=We,this.title=this.data?.pipe((0,ae.U)(Ut=>Ut[z]))??(0,T.of)(void 0),this._futureSnapshot=ft}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ae.U)(m=>Ue(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ae.U)(m=>Ue(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function un(d,m="emptyOnly"){const c=d.pathFromRoot;let b=0;if("always"!==m)for(b=c.length-1;b>=1;){const F=c[b],J=c[b-1];if(F.routeConfig&&""===F.routeConfig.path)b--;else{if(J.component)break;b--}}return function nr(d){return d.reduce((m,c)=>({params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(b))}class zn{get title(){return this.data?.[z]}constructor(m,c,b,F,J,fe,We,ft,Ut,Vt,qn){this.url=m,this.params=c,this.queryParams=b,this.fragment=F,this.data=J,this.outlet=fe,this.component=We,this.routeConfig=ft,this._urlSegment=Ut,this._lastPathIndex=Vt,this._resolve=qn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zr extends Nt{constructor(m,c){super(c),this.url=m,Yr(this,c)}toString(){return Jr(this._root)}}function Yr(d,m){m.value._routerState=d,m.children.forEach(c=>Yr(d,c))}function Jr(d){const m=d.children.length>0?` { ${d.children.map(Jr).join(", ")} } `:"";return`${d.value}${m}`}function Cr(d){if(d.snapshot){const m=d.snapshot,c=d._futureSnapshot;d.snapshot=c,kt(m.queryParams,c.queryParams)||d.queryParams.next(c.queryParams),m.fragment!==c.fragment&&d.fragment.next(c.fragment),kt(m.params,c.params)||d.params.next(c.params),function Dt(d,m){if(d.length!==m.length)return!1;for(let c=0;ckt(c.parameters,m[b].parameters))}(d.url,m.url);return c&&!(!d.parent!=!m.parent)&&(!d.parent||zo(d.parent,m.parent))}function fo(d,m,c){if(c&&d.shouldReuseRoute(m.value,c.value.snapshot)){const b=c.value;b._futureSnapshot=m.value;const F=function Fo(d,m,c){return m.children.map(b=>{for(const F of c.children)if(d.shouldReuseRoute(b.value,F.value.snapshot))return fo(d,b,F);return fo(d,b)})}(d,m,c);return new an(b,F)}{if(d.shouldAttach(m.value)){const J=d.retrieve(m.value);if(null!==J){const fe=J.route;return fe.value._futureSnapshot=m.value,fe.children=m.children.map(We=>fo(d,We)),fe}}const b=function ai(d){return new Ne(new B.X(d.url),new B.X(d.params),new B.X(d.queryParams),new B.X(d.fragment),new B.X(d.data),d.outlet,d.component,d)}(m.value),F=m.children.map(J=>fo(d,J));return new an(b,F)}}const Ai="ngNavigationCancelingError";function li(d,m){const{redirectTo:c,navigationBehaviorOptions:b}=it(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,F=xi(!1,0,m);return F.url=c,F.navigationBehaviorOptions=b,F}function xi(d,m,c){const b=new Error("NavigationCancelingError: "+(d||""));return b[Ai]=!0,b.cancellationCode=m,c&&(b.url=c),b}function Oi(d){return Io(d)&&it(d.url)}function Io(d){return d&&d[Ai]}class ho{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Wr,this.attachRef=null}}let Wr=(()=>{class d{constructor(){this.contexts=new Map}onChildOutletCreated(c,b){const F=this.getOrCreateContext(c);F.outlet=b,this.contexts.set(c,F)}onChildOutletDestroyed(c){const b=this.getContext(c);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let b=this.getContext(c);return b||(b=new ho,this.contexts.set(c,b)),b}getContext(c){return this.contexts.get(c)||null}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Lo=!1;let Rr=(()=>{class d{constructor(){this.activated=null,this._activatedRoute=null,this.name=K,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(Wr),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb)}ngOnChanges(c){if(c.name){const{firstChange:b,previousValue:F}=c.name;if(b)return;this.isTrackedInParentContexts(F)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(F)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,Lo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,Lo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,Lo);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,b){this.activated=c,this._activatedRoute=b,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,b){if(this.isActivated)throw new i.vHH(4013,Lo);this._activatedRoute=c;const F=this.location,fe=c.snapshot.component,We=this.parentContexts.getOrCreateContext(this.name).children,ft=new gr(c,We,F.injector);if(b&&function ci(d){return!!d.resolveComponentFactory}(b)){const Ut=b.resolveComponentFactory(fe);this.activated=F.createComponent(Ut,F.length,ft)}else this.activated=F.createComponent(fe,{index:F.length,injector:ft,environmentInjector:b??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275dir=i.lG2({type:d,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),d})();class gr{constructor(m,c,b){this.route=m,this.childContexts=c,this.parent=b}get(m,c){return m===Ne?this.route:m===Wr?this.childContexts:this.parent.get(m,c)}}let No=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=i.Xpm({type:d,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(c,b){1&c&&i._UZ(0,"router-outlet")},dependencies:[Rr],encapsulation:2}),d})();function So(d,m){return d.providers&&!d._injector&&(d._injector=(0,i.MMx)(d.providers,m,`Route: ${d.path}`)),d._injector??m}function Mo(d){const m=d.children&&d.children.map(Mo),c=m?{...d,children:m}:{...d};return!c.component&&!c.loadComponent&&(m||c.loadChildren)&&c.outlet&&c.outlet!==K&&(c.component=No),c}function Mr(d){return d.outlet||K}function _r(d,m){const c=d.filter(b=>Mr(b)===m);return c.push(...d.filter(b=>Mr(b)!==m)),c}function Qr(d){if(!d)return null;if(d.routeConfig?._injector)return d.routeConfig._injector;for(let m=d.parent;m;m=m.parent){const c=m.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Tr{constructor(m,c,b,F){this.routeReuseStrategy=m,this.futureState=c,this.currState=b,this.forwardEvent=F}activate(m){const c=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,b,m),Cr(this.futureState.root),this.activateChildRoutes(c,b,m)}deactivateChildRoutes(m,c,b){const F=h(c);m.children.forEach(J=>{const fe=J.value.outlet;this.deactivateRoutes(J,F[fe],b),delete F[fe]}),Ke(F,(J,fe)=>{this.deactivateRouteAndItsChildren(J,b)})}deactivateRoutes(m,c,b){const F=m.value,J=c?c.value:null;if(F===J)if(F.component){const fe=b.getContext(F.outlet);fe&&this.deactivateChildRoutes(m,c,fe.children)}else this.deactivateChildRoutes(m,c,b);else J&&this.deactivateRouteAndItsChildren(c,b)}deactivateRouteAndItsChildren(m,c){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,c):this.deactivateRouteAndOutlet(m,c)}detachAndStoreRouteSubtree(m,c){const b=c.getContext(m.value.outlet),F=b&&m.value.component?b.children:c,J=h(m);for(const fe of Object.keys(J))this.deactivateRouteAndItsChildren(J[fe],F);if(b&&b.outlet){const fe=b.outlet.detach(),We=b.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:fe,route:m,contexts:We})}}deactivateRouteAndOutlet(m,c){const b=c.getContext(m.value.outlet),F=b&&m.value.component?b.children:c,J=h(m);for(const fe of Object.keys(J))this.deactivateRouteAndItsChildren(J[fe],F);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(m,c,b){const F=h(c);m.children.forEach(J=>{this.activateRoutes(J,F[J.value.outlet],b),this.forwardEvent(new Ce(J.value.snapshot))}),m.children.length&&this.forwardEvent(new Te(m.value.snapshot))}activateRoutes(m,c,b){const F=m.value,J=c?c.value:null;if(Cr(F),F===J)if(F.component){const fe=b.getOrCreateContext(F.outlet);this.activateChildRoutes(m,c,fe.children)}else this.activateChildRoutes(m,c,b);else if(F.component){const fe=b.getOrCreateContext(F.outlet);if(this.routeReuseStrategy.shouldAttach(F.snapshot)){const We=this.routeReuseStrategy.retrieve(F.snapshot);this.routeReuseStrategy.store(F.snapshot,null),fe.children.onOutletReAttached(We.contexts),fe.attachRef=We.componentRef,fe.route=We.route.value,fe.outlet&&fe.outlet.attach(We.componentRef,We.route.value),Cr(We.route.value),this.activateChildRoutes(m,null,fe.children)}else{const We=Qr(F.snapshot),ft=We?.get(i._Vd)??null;fe.attachRef=null,fe.route=F,fe.resolver=ft,fe.injector=We,fe.outlet&&fe.outlet.activateWith(F,fe.injector),this.activateChildRoutes(m,null,fe.children)}}else this.activateChildRoutes(m,null,b)}}class Ri{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class po{constructor(m,c){this.component=m,this.route=c}}function go(d,m,c){const b=d._root;return kr(b,m?m._root:null,c,[b.value])}function Zr(d,m){const c=Symbol(),b=m.get(d,c);return b===c?"function"!=typeof d||(0,i.Z0I)(d)?m.get(d):d:b}function kr(d,m,c,b,F={canDeactivateChecks:[],canActivateChecks:[]}){const J=h(m);return d.children.forEach(fe=>{(function to(d,m,c,b,F={canDeactivateChecks:[],canActivateChecks:[]}){const J=d.value,fe=m?m.value:null,We=c?c.getContext(d.value.outlet):null;if(fe&&J.routeConfig===fe.routeConfig){const ft=function mo(d,m,c){if("function"==typeof c)return c(d,m);switch(c){case"pathParamsChange":return!bn(d.url,m.url);case"pathParamsOrQueryParamsChange":return!bn(d.url,m.url)||!kt(d.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zo(d,m)||!kt(d.queryParams,m.queryParams);default:return!zo(d,m)}}(fe,J,J.routeConfig.runGuardsAndResolvers);ft?F.canActivateChecks.push(new Ri(b)):(J.data=fe.data,J._resolvedData=fe._resolvedData),kr(d,m,J.component?We?We.children:null:c,b,F),ft&&We&&We.outlet&&We.outlet.isActivated&&F.canDeactivateChecks.push(new po(We.outlet.component,fe))}else fe&&To(m,We,F),F.canActivateChecks.push(new Ri(b)),kr(d,null,J.component?We?We.children:null:c,b,F)})(fe,J[fe.value.outlet],c,b.concat([fe.value]),F),delete J[fe.value.outlet]}),Ke(J,(fe,We)=>To(fe,c.getContext(We),F)),F}function To(d,m,c){const b=h(d),F=d.value;Ke(b,(J,fe)=>{To(J,F.component?m?m.children.getContext(fe):null:m,c)}),c.canDeactivateChecks.push(new po(F.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,F))}function no(d){return"function"==typeof d}function cr(d){return d instanceof re.K||"EmptyError"===d?.name}const dt=Symbol("INITIAL_VALUE");function vn(){return(0,Z.w)(d=>(0,O.a)(d.map(m=>m.pipe((0,X.q)(1),(0,he.O)(dt)))).pipe((0,ae.U)(m=>{for(const c of m)if(!0!==c){if(c===dt)return dt;if(!1===c||c instanceof Bt)return c}return!0}),(0,ze.h)(m=>m!==dt),(0,X.q)(1)))}function zi(d){return(0,oe.z)((0,Pe.b)(m=>{if(it(m))throw li(0,m)}),(0,ae.U)(m=>!0===m))}const Ar={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ur(d,m,c,b,F){const J=vo(d,m,c);return J.matched?function Yi(d,m,c,b){const F=m.canMatch;if(!F||0===F.length)return(0,T.of)(!0);const J=F.map(fe=>{const We=Zr(fe,d);return et(function ie(d){return d&&no(d.canMatch)}(We)?We.canMatch(m,c):d.runInContext(()=>We(m,c)))});return(0,T.of)(J).pipe(vn(),zi())}(b=So(m,b),m,c).pipe((0,ae.U)(fe=>!0===fe?J:{...Ar})):(0,T.of)(J)}function vo(d,m,c){if(""===m.path)return"full"===m.pathMatch&&(d.hasChildren()||c.length>0)?{...Ar}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const F=(m.matcher||Qe)(c,d,m);if(!F)return{...Ar};const J={};Ke(F.posParams,(We,ft)=>{J[ft]=We.path});const fe=F.consumed.length>0?{...J,...F.consumed[F.consumed.length-1].parameters}:J;return{matched:!0,consumedSegments:F.consumed,remainingSegments:c.slice(F.consumed.length),parameters:fe,positionalParamSegments:F.posParams??{}}}function yo(d,m,c,b){if(c.length>0&&function hi(d,m,c){return c.some(b=>Ao(d,m,b)&&Mr(b)!==K)}(d,c,b)){const J=new wt(m,function Gi(d,m,c,b){const F={};F[K]=b,b._sourceSegment=d,b._segmentIndexShift=m.length;for(const J of c)if(""===J.path&&Mr(J)!==K){const fe=new wt([],{});fe._sourceSegment=d,fe._segmentIndexShift=m.length,F[Mr(J)]=fe}return F}(d,m,b,new wt(c,d.children)));return J._sourceSegment=d,J._segmentIndexShift=m.length,{segmentGroup:J,slicedSegments:[]}}if(0===c.length&&function pi(d,m,c){return c.some(b=>Ao(d,m,b))}(d,c,b)){const J=new wt(d.segments,function _o(d,m,c,b,F){const J={};for(const fe of b)if(Ao(d,c,fe)&&!F[Mr(fe)]){const We=new wt([],{});We._sourceSegment=d,We._segmentIndexShift=m.length,J[Mr(fe)]=We}return{...F,...J}}(d,m,c,b,d.children));return J._sourceSegment=d,J._segmentIndexShift=m.length,{segmentGroup:J,slicedSegments:c}}const F=new wt(d.segments,d.children);return F._sourceSegment=d,F._segmentIndexShift=m.length,{segmentGroup:F,slicedSegments:c}}function Ao(d,m,c){return(!(d.hasChildren()||m.length>0)||"full"!==c.pathMatch)&&""===c.path}function gi(d,m,c,b){return!!(Mr(d)===b||b!==K&&Ao(m,c,d))&&("**"===d.path||vo(m,d,c).matched)}function Zo(d,m,c){return 0===m.length&&!d.children[c]}const Ko=!1;class bo{constructor(m){this.segmentGroup=m||null}}class ss{constructor(m){this.urlTree=m}}function qo(d){return(0,_e._)(new bo(d))}function Fi(d){return(0,_e._)(new ss(d))}class Wi{constructor(m,c,b,F,J){this.injector=m,this.configLoader=c,this.urlSerializer=b,this.urlTree=F,this.config=J,this.allowRedirects=!0}apply(){const m=yo(this.urlTree.root,[],[],this.config).segmentGroup,c=new wt(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,c,K).pipe((0,ae.U)(J=>this.createUrlTree(Ee(J),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(J=>{if(J instanceof ss)return this.allowRedirects=!1,this.match(J.urlTree);throw J instanceof bo?this.noMatchError(J):J}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,K).pipe((0,ae.U)(F=>this.createUrlTree(Ee(F),m.queryParams,m.fragment))).pipe((0,se.K)(F=>{throw F instanceof bo?this.noMatchError(F):F}))}noMatchError(m){return new i.vHH(4002,Ko)}createUrlTree(m,c,b){const F=He(m);return new Bt(F,c,b)}expandSegmentGroup(m,c,b,F){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(m,c,b).pipe((0,ae.U)(J=>new wt([],J))):this.expandSegment(m,b,c,b.segments,F,!0)}expandChildren(m,c,b){const F=[];for(const J of Object.keys(b.children))"primary"===J?F.unshift(J):F.push(J);return(0,r.D)(F).pipe((0,Le.b)(J=>{const fe=b.children[J],We=_r(c,J);return this.expandSegmentGroup(m,We,fe,J).pipe((0,ae.U)(ft=>({segment:ft,outlet:J})))}),(0,k.R)((J,fe)=>(J[fe.outlet]=fe.segment,J),{}),qe())}expandSegment(m,c,b,F,J,fe){return(0,r.D)(b).pipe((0,Le.b)(We=>this.expandSegmentAgainstRoute(m,c,b,We,F,J,fe).pipe((0,se.K)(Ut=>{if(Ut instanceof bo)return(0,T.of)(null);throw Ut}))),(0,ke.P)(We=>!!We),(0,se.K)((We,ft)=>{if(cr(We))return Zo(c,F,J)?(0,T.of)(new wt([],{})):qo(c);throw We}))}expandSegmentAgainstRoute(m,c,b,F,J,fe,We){return gi(F,c,J,fe)?void 0===F.redirectTo?this.matchSegmentAgainstRoute(m,c,F,J,fe):We&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,c,b,F,J,fe):qo(c):qo(c)}expandSegmentAgainstRouteUsingRedirect(m,c,b,F,J,fe){return"**"===F.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,b,F,fe):this.expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,F,J,fe)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,c,b,F){const J=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Fi(J):this.lineralizeSegments(b,J).pipe((0,we.z)(fe=>{const We=new wt(fe,{});return this.expandSegment(m,We,c,fe,F,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,F,J,fe){const{matched:We,consumedSegments:ft,remainingSegments:Ut,positionalParamSegments:Vt}=vo(c,F,J);if(!We)return qo(c);const qn=this.applyRedirectCommands(ft,F.redirectTo,Vt);return F.redirectTo.startsWith("/")?Fi(qn):this.lineralizeSegments(F,qn).pipe((0,we.z)(Pr=>this.expandSegment(m,c,b,Pr.concat(Ut),fe,!1)))}matchSegmentAgainstRoute(m,c,b,F,J){return"**"===b.path?(m=So(b,m),b.loadChildren?(b._loadedRoutes?(0,T.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):this.configLoader.loadChildren(m,b)).pipe((0,ae.U)(We=>(b._loadedRoutes=We.routes,b._loadedInjector=We.injector,new wt(F,{})))):(0,T.of)(new wt(F,{}))):ur(c,b,F,m).pipe((0,Z.w)(({matched:fe,consumedSegments:We,remainingSegments:ft})=>fe?this.getChildConfig(m=b._injector??m,b,F).pipe((0,we.z)(Vt=>{const qn=Vt.injector??m,Pr=Vt.routes,{segmentGroup:wo,slicedSegments:Po}=yo(c,We,ft,Pr),ti=new wt(wo.segments,wo.children);if(0===Po.length&&ti.hasChildren())return this.expandChildren(qn,Pr,ti).pipe((0,ae.U)(Ds=>new wt(We,Ds)));if(0===Pr.length&&0===Po.length)return(0,T.of)(new wt(We,{}));const co=Mr(b)===J;return this.expandSegment(qn,ti,Pr,Po,co?K:J,!0).pipe((0,ae.U)(Cs=>new wt(We.concat(Cs.segments),Cs.children)))})):qo(c)))}getChildConfig(m,c,b){return c.children?(0,T.of)({routes:c.children,injector:m}):c.loadChildren?void 0!==c._loadedRoutes?(0,T.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function ks(d,m,c,b){const F=m.canLoad;if(void 0===F||0===F.length)return(0,T.of)(!0);const J=F.map(fe=>{const We=Zr(fe,d);return et(function fi(d){return d&&no(d.canLoad)}(We)?We.canLoad(m,c):d.runInContext(()=>We(m,c)))});return(0,T.of)(J).pipe(vn(),zi())}(m,c,b).pipe((0,we.z)(F=>F?this.configLoader.loadChildren(m,c).pipe((0,Pe.b)(J=>{c._loadedRoutes=J.routes,c._loadedInjector=J.injector})):function ls(d){return(0,_e._)(xi(Ko,3))}())):(0,T.of)({routes:[],injector:m})}lineralizeSegments(m,c){let b=[],F=c.root;for(;;){if(b=b.concat(F.segments),0===F.numberOfChildren)return(0,T.of)(b);if(F.numberOfChildren>1||!F.children[K])return m.redirectTo,(0,_e._)(new i.vHH(4e3,Ko));F=F.children[K]}}applyRedirectCommands(m,c,b){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),m,b)}applyRedirectCreateUrlTree(m,c,b,F){const J=this.createSegmentGroup(m,c.root,b,F);return new Bt(J,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(m,c){const b={};return Ke(m,(F,J)=>{if("string"==typeof F&&F.startsWith(":")){const We=F.substring(1);b[J]=c[We]}else b[J]=F}),b}createSegmentGroup(m,c,b,F){const J=this.createSegments(m,c.segments,b,F);let fe={};return Ke(c.children,(We,ft)=>{fe[ft]=this.createSegmentGroup(m,We,b,F)}),new wt(J,fe)}createSegments(m,c,b,F){return c.map(J=>J.path.startsWith(":")?this.findPosParam(m,J,F):this.findOrReturn(J,b))}findPosParam(m,c,b){const F=b[c.path.substring(1)];if(!F)throw new i.vHH(4001,Ko);return F}findOrReturn(m,c){let b=0;for(const F of c){if(F.path===m.path)return c.splice(b),F;b++}return m}}class us{}class dr{constructor(m,c,b,F,J,fe,We){this.injector=m,this.rootComponentType=c,this.config=b,this.urlTree=F,this.url=J,this.paramsInheritanceStrategy=fe,this.urlSerializer=We}recognize(){const m=yo(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,K).pipe((0,ae.U)(c=>{if(null===c)return null;const b=new zn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},K,this.rootComponentType,null,this.urlTree.root,-1,{}),F=new an(b,c),J=new zr(this.url,F);return this.inheritParamsAndData(J._root),J}))}inheritParamsAndData(m){const c=m.value,b=un(c,this.paramsInheritanceStrategy);c.params=Object.freeze(b.params),c.data=Object.freeze(b.data),m.children.forEach(F=>this.inheritParamsAndData(F))}processSegmentGroup(m,c,b,F){return 0===b.segments.length&&b.hasChildren()?this.processChildren(m,c,b):this.processSegment(m,c,b,b.segments,F)}processChildren(m,c,b){return(0,r.D)(Object.keys(b.children)).pipe((0,Le.b)(F=>{const J=b.children[F],fe=_r(c,F);return this.processSegmentGroup(m,fe,J,F)}),(0,k.R)((F,J)=>F&&J?(F.push(...J),F):null),function lt(d,m=!1){return(0,pe.e)((c,b)=>{let F=0;c.subscribe((0,be.x)(b,J=>{const fe=d(J,F++);(fe||m)&&b.next(J),!fe&&b.complete()}))})}(F=>null!==F),(0,ce.d)(null),qe(),(0,ae.U)(F=>{if(null===F)return null;const J=hs(F);return function ds(d){d.sort((m,c)=>m.value.outlet===K?-1:c.value.outlet===K?1:m.value.outlet.localeCompare(c.value.outlet))}(J),J}))}processSegment(m,c,b,F,J){return(0,r.D)(c).pipe((0,Le.b)(fe=>this.processSegmentAgainstRoute(fe._injector??m,fe,b,F,J)),(0,ke.P)(fe=>!!fe),(0,se.K)(fe=>{if(cr(fe))return Zo(b,F,J)?(0,T.of)([]):(0,T.of)(null);throw fe}))}processSegmentAgainstRoute(m,c,b,F,J){if(c.redirectTo||!gi(c,b,F,J))return(0,T.of)(null);let fe;if("**"===c.path){const We=F.length>0?$t(F).parameters:{},ft=vi(b)+F.length,Ut=new zn(F,We,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Mr(c),c.component??c._loadedComponent??null,c,ps(b),ft,_(c));fe=(0,T.of)({snapshot:Ut,consumedSegments:[],remainingSegments:[]})}else fe=ur(b,c,F,m).pipe((0,ae.U)(({matched:We,consumedSegments:ft,remainingSegments:Ut,parameters:Vt})=>{if(!We)return null;const qn=vi(b)+ft.length;return{snapshot:new zn(ft,Vt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Mr(c),c.component??c._loadedComponent??null,c,ps(b),qn,_(c)),consumedSegments:ft,remainingSegments:Ut}}));return fe.pipe((0,Z.w)(We=>{if(null===We)return(0,T.of)(null);const{snapshot:ft,consumedSegments:Ut,remainingSegments:Vt}=We;m=c._injector??m;const qn=c._loadedInjector??m,Pr=function Bs(d){return d.children?d.children:d.loadChildren?d._loadedRoutes:[]}(c),{segmentGroup:wo,slicedSegments:Po}=yo(b,Ut,Vt,Pr.filter(co=>void 0===co.redirectTo));if(0===Po.length&&wo.hasChildren())return this.processChildren(qn,Pr,wo).pipe((0,ae.U)(co=>null===co?null:[new an(ft,co)]));if(0===Pr.length&&0===Po.length)return(0,T.of)([new an(ft,[])]);const ti=Mr(c)===J;return this.processSegment(qn,Pr,wo,Po,ti?K:J).pipe((0,ae.U)(co=>null===co?null:[new an(ft,co)]))}))}}function fs(d){const m=d.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function hs(d){const m=[],c=new Set;for(const b of d){if(!fs(b)){m.push(b);continue}const F=m.find(J=>b.value.routeConfig===J.value.routeConfig);void 0!==F?(F.children.push(...b.children),c.add(F)):m.push(b)}for(const b of c){const F=hs(b.children);m.push(new an(b.value,F))}return m.filter(b=>!c.has(b))}function ps(d){let m=d;for(;m._sourceSegment;)m=m._sourceSegment;return m}function vi(d){let m=d,c=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,c+=m._segmentIndexShift??0;return c-1}function yi(d){return d.data||{}}function _(d){return d.resolve||{}}function Zt(d){return"string"==typeof d.title||null===d.title}function Xn(d){return(0,Z.w)(m=>{const c=d(m);return c?(0,r.D)(c).pipe((0,ae.U)(()=>m)):(0,T.of)(m)})}const Rn=new i.OlP("ROUTES");let wn=(()=>{class d{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,T.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const b=et(c.loadComponent()).pipe((0,ae.U)(jn),(0,Pe.b)(J=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=J}),(0,De.x)(()=>{this.componentLoaders.delete(c)})),F=new ye.c(b,()=>new ee.x).pipe((0,N.x)());return this.componentLoaders.set(c,F),F}loadChildren(c,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,T.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const J=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,ae.U)(We=>{this.onLoadEndListener&&this.onLoadEndListener(b);let ft,Ut,Vt=!1;Array.isArray(We)?Ut=We:(ft=We.create(c).injector,Ut=Ht(ft.get(Rn,[],i.XFs.Self|i.XFs.Optional)));return{routes:Ut.map(Mo),injector:ft}}),(0,De.x)(()=>{this.childrenLoaders.delete(b)})),fe=new ye.c(J,()=>new ee.x).pipe((0,N.x)());return this.childrenLoaders.set(b,fe),fe}loadModuleFactoryOrRoutes(c){return et(c()).pipe((0,ae.U)(jn),(0,we.z)(b=>b instanceof i.YKP||Array.isArray(b)?(0,T.of)(b):(0,r.D)(this.compiler.compileModuleAsync(b))))}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function jn(d){return function fr(d){return d&&"object"==typeof d&&"default"in d}(d)?d.default:d}let Ur=(()=>{class d{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ee.x,this.configLoader=(0,i.f3M)(wn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(Nn),this.rootContexts=(0,i.f3M)(Wr),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=F=>this.events.next(new L(F)),this.configLoader.onLoadStartListener=F=>this.events.next(new Ze(F))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:b})}setupNavigations(c){return this.transitions=new B.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ge,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ze.h)(b=>0!==b.id),(0,ae.U)(b=>({...b,extractedUrl:c.urlHandlingStrategy.extract(b.rawUrl)})),(0,Z.w)(b=>{let F=!1,J=!1;return(0,T.of)(b).pipe((0,Pe.b)(fe=>{this.currentNavigation={id:fe.id,initialUrl:fe.rawUrl,extractedUrl:fe.extractedUrl,trigger:fe.source,extras:fe.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Z.w)(fe=>{const We=c.browserUrlTree.toString(),ft=!c.navigated||fe.extractedUrl.toString()!==We||We!==c.currentUrlTree.toString();if(!ft&&"reload"!==(fe.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Vt="";return this.events.next(new me(fe.id,c.serializeUrl(b.rawUrl),Vt,0)),c.rawUrlTree=fe.rawUrl,fe.resolve(null),le.E}if(c.urlHandlingStrategy.shouldProcessUrl(fe.rawUrl))return Vr(fe.source)&&(c.browserUrlTree=fe.extractedUrl),(0,T.of)(fe).pipe((0,Z.w)(Vt=>{const qn=this.transitions?.getValue();return this.events.next(new w(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Vt.source,Vt.restoredState)),qn!==this.transitions?.getValue()?le.E:Promise.resolve(Vt)}),function mi(d,m,c,b){return(0,Z.w)(F=>function cs(d,m,c,b,F){return new Wi(d,m,c,b,F).apply()}(d,m,c,F.extractedUrl,b).pipe((0,ae.U)(J=>({...F,urlAfterRedirects:J}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Pe.b)(Vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Vt.urlAfterRedirects},b.urlAfterRedirects=Vt.urlAfterRedirects}),function U(d,m,c,b,F){return(0,we.z)(J=>function xo(d,m,c,b,F,J,fe="emptyOnly"){return new dr(d,m,c,b,F,fe,J).recognize().pipe((0,Z.w)(We=>null===We?function Br(d){return new W.y(m=>m.error(d))}(new us):(0,T.of)(We)))}(d,m,c,J.urlAfterRedirects,b.serialize(J.urlAfterRedirects),b,F).pipe((0,ae.U)(fe=>({...J,targetSnapshot:fe}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Pe.b)(Vt=>{if(b.targetSnapshot=Vt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Vt.extras.skipLocationChange){const Pr=c.urlHandlingStrategy.merge(Vt.urlAfterRedirects,Vt.rawUrl);c.setBrowserUrl(Pr,Vt)}c.browserUrlTree=Vt.urlAfterRedirects}const qn=new Ve(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(qn)}));if(ft&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Vt,extractedUrl:qn,source:Pr,restoredState:wo,extras:Po}=fe,ti=new w(Vt,this.urlSerializer.serialize(qn),Pr,wo);this.events.next(ti);const co=C(qn,this.rootComponentType).snapshot;return b={...fe,targetSnapshot:co,urlAfterRedirects:qn,extras:{...Po,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(b)}{const Vt="";return this.events.next(new me(fe.id,c.serializeUrl(b.extractedUrl),Vt,1)),c.rawUrlTree=fe.rawUrl,fe.resolve(null),le.E}}),(0,Pe.b)(fe=>{const We=new ot(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(fe.urlAfterRedirects),fe.targetSnapshot);this.events.next(We)}),(0,ae.U)(fe=>b={...fe,guards:go(fe.targetSnapshot,fe.currentSnapshot,this.rootContexts)}),function Wo(d,m){return(0,we.z)(c=>{const{targetSnapshot:b,currentSnapshot:F,guards:{canActivateChecks:J,canDeactivateChecks:fe}}=c;return 0===fe.length&&0===J.length?(0,T.of)({...c,guardsResult:!0}):function is(d,m,c,b){return(0,r.D)(d).pipe((0,we.z)(F=>function Bo(d,m,c,b,F){const J=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!J||0===J.length)return(0,T.of)(!0);const fe=J.map(We=>{const ft=Qr(m)??F,Ut=Zr(We,ft);return et(function S(d){return d&&no(d.canDeactivate)}(Ut)?Ut.canDeactivate(d,m,c,b):ft.runInContext(()=>Ut(d,m,c,b))).pipe((0,ke.P)())});return(0,T.of)(fe).pipe(vn())}(F.component,F.route,c,m,b)),(0,ke.P)(F=>!0!==F,!0))}(fe,b,F,d).pipe((0,we.z)(We=>We&&function fn(d){return"boolean"==typeof d}(We)?function Fr(d,m,c,b){return(0,r.D)(m).pipe((0,Le.b)(F=>(0,j.z)(function so(d,m){return null!==d&&m&&m(new q(d)),(0,T.of)(!0)}(F.route.parent,b),function Un(d,m){return null!==d&&m&&m(new Re(d)),(0,T.of)(!0)}(F.route,b),function Hi(d,m,c){const b=m[m.length-1],J=m.slice(0,m.length-1).reverse().map(fe=>function Nr(d){const m=d.routeConfig?d.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:d,guards:m}:null}(fe)).filter(fe=>null!==fe).map(fe=>(0,H.P)(()=>{const We=fe.guards.map(ft=>{const Ut=Qr(fe.node)??c,Vt=Zr(ft,Ut);return et(function x(d){return d&&no(d.canActivateChild)}(Vt)?Vt.canActivateChild(b,d):Ut.runInContext(()=>Vt(b,d))).pipe((0,ke.P)())});return(0,T.of)(We).pipe(vn())}));return(0,T.of)(J).pipe(vn())}(d,F.path,c),function ro(d,m,c){const b=m.routeConfig?m.routeConfig.canActivate:null;if(!b||0===b.length)return(0,T.of)(!0);const F=b.map(J=>(0,H.P)(()=>{const fe=Qr(m)??c,We=Zr(J,fe);return et(function R(d){return d&&no(d.canActivate)}(We)?We.canActivate(m,d):fe.runInContext(()=>We(m,d))).pipe((0,ke.P)())}));return(0,T.of)(F).pipe(vn())}(d,F.route,c))),(0,ke.P)(F=>!0!==F,!0))}(b,J,d,m):(0,T.of)(We)),(0,ae.U)(We=>({...c,guardsResult:We})))})}(this.environmentInjector,fe=>this.events.next(fe)),(0,Pe.b)(fe=>{if(b.guardsResult=fe.guardsResult,it(fe.guardsResult))throw li(0,fe.guardsResult);const We=new ct(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(fe.urlAfterRedirects),fe.targetSnapshot,!!fe.guardsResult);this.events.next(We)}),(0,ze.h)(fe=>!!fe.guardsResult||(c.restoreHistory(fe),this.cancelNavigationTransition(fe,"",3),!1)),Xn(fe=>{if(fe.guards.canActivateChecks.length)return(0,T.of)(fe).pipe((0,Pe.b)(We=>{const ft=new vt(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(ft)}),(0,Z.w)(We=>{let ft=!1;return(0,T.of)(We).pipe(function M(d,m){return(0,we.z)(c=>{const{targetSnapshot:b,guards:{canActivateChecks:F}}=c;if(!F.length)return(0,T.of)(c);let J=0;return(0,r.D)(F).pipe((0,Le.b)(fe=>function Q(d,m,c,b){const F=d.routeConfig,J=d._resolve;return void 0!==F?.title&&!Zt(F)&&(J[z]=F.title),function Ae(d,m,c,b){const F=function at(d){return[...Object.keys(d),...Object.getOwnPropertySymbols(d)]}(d);if(0===F.length)return(0,T.of)({});const J={};return(0,r.D)(F).pipe((0,we.z)(fe=>function yt(d,m,c,b){const F=Qr(m)??b,J=Zr(d,F);return et(J.resolve?J.resolve(m,c):F.runInContext(()=>J(m,c)))}(d[fe],m,c,b).pipe((0,ke.P)(),(0,Pe.b)(We=>{J[fe]=We}))),Me(1),(0,ve.h)(J),(0,se.K)(fe=>cr(fe)?le.E:(0,_e._)(fe)))}(J,d,m,b).pipe((0,ae.U)(fe=>(d._resolvedData=fe,d.data=un(d,c).resolve,F&&Zt(F)&&(d.data[z]=F.title),null)))}(fe.route,b,d,m)),(0,Pe.b)(()=>J++),Me(1),(0,we.z)(fe=>J===F.length?(0,T.of)(c):le.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Pe.b)({next:()=>ft=!0,complete:()=>{ft||(c.restoreHistory(We),this.cancelNavigationTransition(We,"",2))}}))}),(0,Pe.b)(We=>{const ft=new xe(We.id,this.urlSerializer.serialize(We.extractedUrl),this.urlSerializer.serialize(We.urlAfterRedirects),We.targetSnapshot);this.events.next(ft)}))}),Xn(fe=>{const We=ft=>{const Ut=[];ft.routeConfig?.loadComponent&&!ft.routeConfig._loadedComponent&&Ut.push(this.configLoader.loadComponent(ft.routeConfig).pipe((0,Pe.b)(Vt=>{ft.component=Vt}),(0,ae.U)(()=>{})));for(const Vt of ft.children)Ut.push(...We(Vt));return Ut};return(0,O.a)(We(fe.targetSnapshot.root)).pipe((0,ce.d)(),(0,X.q)(1))}),Xn(()=>this.afterPreactivation()),(0,ae.U)(fe=>{const We=function Ti(d,m,c){const b=fo(d,m._root,c?c._root:void 0);return new te(b,m)}(c.routeReuseStrategy,fe.targetSnapshot,fe.currentRouterState);return b={...fe,targetRouterState:We}}),(0,Pe.b)(fe=>{c.currentUrlTree=fe.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(fe.urlAfterRedirects,fe.rawUrl),c.routerState=fe.targetRouterState,"deferred"===c.urlUpdateStrategy&&(fe.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,fe),c.browserUrlTree=fe.urlAfterRedirects)}),((d,m,c)=>(0,ae.U)(b=>(new Tr(m,b.targetRouterState,b.currentRouterState,c).activate(d),b)))(this.rootContexts,c.routeReuseStrategy,fe=>this.events.next(fe)),(0,X.q)(1),(0,Pe.b)({next:fe=>{F=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new A(fe.id,this.urlSerializer.serialize(fe.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(fe.targetRouterState.snapshot),fe.resolve(!0)},complete:()=>{F=!0}}),(0,De.x)(()=>{F||J||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,se.K)(fe=>{if(J=!0,Io(fe)){Oi(fe)||(c.navigated=!0,c.restoreHistory(b,!0));const We=new G(b.id,this.urlSerializer.serialize(b.extractedUrl),fe.message,fe.cancellationCode);if(this.events.next(We),Oi(fe)){const ft=c.urlHandlingStrategy.merge(fe.url,c.rawUrlTree),Ut={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Vr(b.source)};c.scheduleNavigation(ft,ge,null,Ut,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{c.restoreHistory(b,!0);const We=new Ie(b.id,this.urlSerializer.serialize(b.extractedUrl),fe,b.targetSnapshot??void 0);this.events.next(We);try{b.resolve(c.errorHandler(fe))}catch(ft){b.reject(ft)}}return le.E}))}))}cancelNavigationTransition(c,b,F){const J=new G(c.id,this.urlSerializer.serialize(c.extractedUrl),b,F);this.events.next(J),c.resolve(!1)}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function Vr(d){return d!==ge}let Co=(()=>{class d{buildTitle(c){let b,F=c.root;for(;void 0!==F;)b=this.getResolvedTitleForRoute(F)??b,F=F.children.find(J=>J.outlet===K);return b}getResolvedTitleForRoute(c){return c.data[z]}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:function(){return(0,i.f3M)(Kr)},providedIn:"root"}),d})(),Kr=(()=>{class d extends Co{constructor(c){super(),this.title=c}updateTitle(c){const b=this.buildTitle(c);void 0!==b&&this.title.setTitle(b)}}return d.\u0275fac=function(c){return new(c||d)(i.LFG(V.Dx))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),eo=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:function(){return(0,i.f3M)(ao)},providedIn:"root"}),d})();class Oo{shouldDetach(m){return!1}store(m,c){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,c){return m.routeConfig===c.routeConfig}}let ao=(()=>{class d extends Oo{}return d.\u0275fac=function(){let m;return function(b){return(m||(m=i.n5z(d)))(b||d)}}(),d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const Jo=new i.OlP("",{providedIn:"root",factory:()=>({})});let el=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:function(){return(0,i.f3M)(Us)},providedIn:"root"}),d})(),Us=(()=>{class d{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,b){return c}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function va(d){throw d}function Do(d,m,c){return m.parse("/")}const ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ji={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let jr=(()=>{class d{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this.options=(0,i.f3M)(Jo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||va,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Do,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(el),this.routeReuseStrategy=(0,i.f3M)(eo),this.urlCreationStrategy=(0,i.f3M)(Mt),this.titleStrategy=(0,i.f3M)(Co),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Ht((0,i.f3M)(Rn,{optional:!0})??[]),this.navigationTransitions=(0,i.f3M)(Ur),this.urlSerializer=(0,i.f3M)(Nn),this.location=(0,i.f3M)(ue.Ye),this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Bt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=C(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId??0},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ge,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const b="popstate"===c.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,b,c.state)},0)}))}navigateToSyncWithBrowser(c,b,F){const J={replaceUrl:!0},fe=F?.navigationId?F:null;if(F){const ft={...F};delete ft.navigationId,delete ft.\u0275routerPageId,0!==Object.keys(ft).length&&(J.state=ft)}const We=this.parseUrl(c);this.scheduleNavigation(We,b,fe,J)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(Mo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,b={}){const{relativeTo:F,queryParams:J,fragment:fe,queryParamsHandling:We,preserveFragment:ft}=b,Ut=ft?this.currentUrlTree.fragment:fe;let Vt=null;switch(We){case"merge":Vt={...this.currentUrlTree.queryParams,...J};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=J||null}return null!==Vt&&(Vt=this.removeEmptyProps(Vt)),this.urlCreationStrategy.createUrlTree(F,this.routerState,this.currentUrlTree,c,Vt,Ut??null)}navigateByUrl(c,b={skipLocationChange:!1}){const F=it(c)?c:this.parseUrl(c),J=this.urlHandlingStrategy.merge(F,this.rawUrlTree);return this.scheduleNavigation(J,ge,null,b)}navigate(c,b={skipLocationChange:!1}){return function Vs(d){for(let m=0;m{const J=c[F];return null!=J&&(b[F]=J),b},{})}scheduleNavigation(c,b,F,J,fe){if(this.disposed)return Promise.resolve(!1);let We,ft,Ut,Vt;return fe?(We=fe.resolve,ft=fe.reject,Ut=fe.promise):Ut=new Promise((qn,Pr)=>{We=qn,ft=Pr}),Vt="computed"===this.canceledNavigationResolution?F&&F.\u0275routerPageId?F.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Vt,source:b,restoredState:F,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:J,resolve:We,reject:ft,promise:Ut,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ut.catch(qn=>Promise.reject(qn))}setBrowserUrl(c,b){const F=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(F)||b.extras.replaceUrl){const fe={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(F,"",fe)}else{const J={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.go(F,"",J)}}restoreHistory(c,b=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-(this.browserPageId??this.currentPageId);0!==J?this.location.historyGo(J):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===J&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,b){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:b}:{navigationId:c}}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),_i=(()=>{class d{constructor(c,b,F,J,fe,We){this.router=c,this.route=b,this.tabIndexAttribute=F,this.renderer=J,this.el=fe,this.locationStrategy=We,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ee.x;const ft=fe.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ft||"area"===ft,this.isAnchorElement?this.subscription=c.events.subscribe(Ut=>{Ut instanceof A&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,i.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,i.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,i.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,b,F,J,fe){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||b||F||J||fe||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,b){const F=this.renderer,J=this.el.nativeElement;null!==b?F.setAttribute(J,c,b):F.removeAttribute(J,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return d.\u0275fac=function(c){return new(c||d)(i.Y36(jr),i.Y36(Ne),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(ue.S$))},d.\u0275dir=i.lG2({type:d,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,b){1&c&&i.NdJ("click",function(J){return b.onClick(J.button,J.ctrlKey,J.shiftKey,J.altKey,J.metaKey)}),2&c&&i.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[i.TTD]}),d})();class vs{}let Hs=(()=>{class d{preload(c,b){return b().pipe((0,se.K)(()=>(0,T.of)(null)))}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),zs=(()=>{class d{constructor(c,b,F,J,fe){this.router=c,this.injector=F,this.preloadingStrategy=J,this.loader=fe}setUpPreloading(){this.subscription=this.router.events.pipe((0,ze.h)(c=>c instanceof A),(0,Le.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,b){const F=[];for(const J of b){J.providers&&!J._injector&&(J._injector=(0,i.MMx)(J.providers,c,`Route: ${J.path}`));const fe=J._injector??c,We=J._loadedInjector??fe;(J.loadChildren&&!J._loadedRoutes&&void 0===J.canLoad||J.loadComponent&&!J._loadedComponent)&&F.push(this.preloadConfig(fe,J)),(J.children||J._loadedRoutes)&&F.push(this.processRoutes(We,J.children??J._loadedRoutes))}return(0,r.D)(F).pipe((0,P.J)())}preloadConfig(c,b){return this.preloadingStrategy.preload(b,()=>{let F;F=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(c,b):(0,T.of)(null);const J=F.pipe((0,we.z)(fe=>null===fe?(0,T.of)(void 0):(b._loadedRoutes=fe.routes,b._loadedInjector=fe.injector,this.processRoutes(fe.injector??c,fe.routes))));if(b.loadComponent&&!b._loadedComponent){const fe=this.loader.loadComponent(b);return(0,r.D)([J,fe]).pipe((0,P.J)())}return J})}}return d.\u0275fac=function(c){return new(c||d)(i.LFG(jr),i.LFG(i.Sil),i.LFG(i.lqb),i.LFG(vs),i.LFG(wn))},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const ys=new i.OlP("");let Li=(()=>{class d{constructor(c,b,F,J,fe={}){this.urlSerializer=c,this.transitions=b,this.viewportScroller=F,this.zone=J,this.options=fe,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},fe.scrollPositionRestoration=fe.scrollPositionRestoration||"disabled",fe.anchorScrolling=fe.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof w?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof A&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Ye&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ye(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return d.\u0275fac=function(c){i.$Z()},d.\u0275prov=i.Yz7({token:d,factory:d.\u0275fac}),d})();var xr=(()=>((xr=xr||{})[xr.COMPLETE=0]="COMPLETE",xr[xr.FAILED=1]="FAILED",xr[xr.REDIRECTING=2]="REDIRECTING",xr))();const Xo=!1;function Eo(d,m){return{\u0275kind:d,\u0275providers:m}}const bi=new i.OlP("",{providedIn:"root",factory:()=>!1});function Qi(){const d=(0,i.f3M)(i.zs3);return m=>{const c=d.get(i.z2F);if(m!==c.components[0])return;const b=d.get(jr),F=d.get($o);1===d.get(Uo)&&b.initialNavigation(),d.get(ei,null,i.XFs.Optional)?.setUpPreloading(),d.get(ys,null,i.XFs.Optional)?.init(),b.resetRootComponentType(c.componentTypes[0]),F.closed||(F.next(),F.complete(),F.unsubscribe())}}const $o=new i.OlP(Xo?"bootstrap done indicator":"",{factory:()=>new ee.x}),Uo=new i.OlP(Xo?"initial navigation":"",{providedIn:"root",factory:()=>1});function _s(){let d=[];return d=Xo?[{provide:i.Xts,multi:!0,useFactory:()=>{const m=(0,i.f3M)(jr);return()=>m.events.subscribe(c=>{console.group?.(`Router Event: ${c.constructor.name}`),console.log(function mt(d){if(!("type"in d))return`Unknown Router Event: ${d.constructor.name}`;switch(d.type){case 14:return`ActivationEnd(path: '${d.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${d.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${d.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${d.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}', state: ${d.state}, shouldActivate: ${d.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}', state: ${d.state})`;case 2:return`NavigationCancel(id: ${d.id}, url: '${d.url}')`;case 16:return`NavigationSkipped(id: ${d.id}, url: '${d.url}')`;case 1:return`NavigationEnd(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${d.id}, url: '${d.url}', error: ${d.error})`;case 0:return`NavigationStart(id: ${d.id}, url: '${d.url}')`;case 6:return`ResolveEnd(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}', state: ${d.state})`;case 5:return`ResolveStart(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}', state: ${d.state})`;case 10:return`RouteConfigLoadEnd(path: ${d.route.path})`;case 9:return`RouteConfigLoadStart(path: ${d.route.path})`;case 4:return`RoutesRecognized(id: ${d.id}, url: '${d.url}', urlAfterRedirects: '${d.urlAfterRedirects}', state: ${d.state})`;case 15:return`Scroll(anchor: '${d.anchor}', position: '${d.position?`${d.position[0]}, ${d.position[1]}`:null}')`}}(c)),console.log(c),console.groupEnd?.()})}}]:[],Eo(1,d)}const ei=new i.OlP(Xo?"router preloader":"");function nl(d){return Eo(0,[{provide:ei,useExisting:zs},{provide:vs,useExisting:d}])}const es=!1,Ea=new i.OlP(es?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),ol=[ue.Ye,{provide:Nn,useClass:er},jr,Wr,{provide:Ne,useFactory:function Qo(d){return d.routerState.root},deps:[jr]},wn,es?{provide:bi,useValue:!0}:[]];function il(){return new i.PXZ("Router",jr)}let sl=(()=>{class d{constructor(c){}static forRoot(c,b){return{ngModule:d,providers:[ol,es&&b?.enableTracing?_s().\u0275providers:[],{provide:Rn,multi:!0,useValue:c},{provide:Ea,useFactory:Or,deps:[[jr,new i.FiY,new i.tp0]]},{provide:Jo,useValue:b||{}},b?.useHash?{provide:ue.S$,useClass:ue.Do}:{provide:ue.S$,useClass:ue.b0},{provide:ys,useFactory:()=>{const d=(0,i.f3M)(ue.EM),m=(0,i.f3M)(i.R0b),c=(0,i.f3M)(Jo),b=(0,i.f3M)(Ur),F=(0,i.f3M)(Nn);return c.scrollOffset&&d.setOffset(c.scrollOffset),new Li(F,b,d,m,c)}},b?.preloadingStrategy?nl(b.preloadingStrategy).\u0275providers:[],{provide:i.PXZ,multi:!0,useFactory:il},b?.initialNavigation?bs(b):[],[{provide:Di,useFactory:Qi},{provide:i.tb,multi:!0,useExisting:Di}]]}}static forChild(c){return{ngModule:d,providers:[{provide:Rn,multi:!0,useValue:c}]}}}return d.\u0275fac=function(c){return new(c||d)(i.LFG(Ea,8))},d.\u0275mod=i.oAB({type:d}),d.\u0275inj=i.cJS({imports:[No]}),d})();function Or(d){if(es&&d)throw new i.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function bs(d){return["disabled"===d.initialNavigation?Eo(3,[{provide:i.ip1,multi:!0,useFactory:()=>{const m=(0,i.f3M)(jr);return()=>{m.setUpLocationChangeListener()}}},{provide:Uo,useValue:2}]).\u0275providers:[],"enabledBlocking"===d.initialNavigation?Eo(2,[{provide:Uo,useValue:0},{provide:i.ip1,multi:!0,deps:[i.zs3],useFactory:m=>{const c=m.get(ue.V_,Promise.resolve());return()=>c.then(()=>new Promise(b=>{const F=m.get(jr),J=m.get($o);(function ba(d,m){d.events.pipe((0,ze.h)(c=>c instanceof A||c instanceof G||c instanceof Ie||c instanceof me),(0,ae.U)(c=>c instanceof A||c instanceof me?xr.COMPLETE:c instanceof G&&(0===c.code||1===c.code)?xr.REDIRECTING:xr.FAILED),(0,ze.h)(c=>c!==xr.REDIRECTING),(0,X.q)(1)).subscribe(()=>{m()})})(F,()=>{b(!0)}),m.get(Ur).afterPreactivation=()=>(b(!0),J.closed?(0,T.of)(void 0):J),F.initialNavigation()}))}}]).\u0275providers:[]]}const Di=new i.OlP(es?"Router Initializer":"")},958:(gt,Oe,g)=>{"use strict";g.d(Oe,{y4:()=>ar,De:()=>sn,dy:()=>mn,oU:()=>br,ki:()=>vr,O1:()=>kn,d8:()=>Dr,jP:()=>Qt,UN:()=>Bn,r4:()=>Rt,SH:()=>Jt,X1:()=>wt,xs:()=>Gt,t4:()=>Et,j:()=>Sr,H:()=>tr,bk:()=>lr,DN:()=>Jn,Wn:()=>Tn,vk:()=>In});var i=g(5861),r=g(4650),T=g(6159),B=g(6895);class re{constructor(){this.m=new Map}reset(D){this.m=new Map(Object.entries(D))}get(D,w){const A=this.m.get(D);return void 0!==A?A:w}getBoolean(D,w=!1){const A=this.m.get(D);return void 0===A?w:"string"==typeof A?"true"===A:!!A}getNumber(D,w){const A=parseFloat(this.m.get(D));return isNaN(A)?void 0!==w?w:NaN:A}set(D,w){this.m.set(D,w)}}const O=new re,ye=ge=>ue(ge),ue=(ge=window)=>{if(typeof ge>"u")return[];ge.Ionic=ge.Ionic||{};let D=ge.Ionic.platforms;return null==D&&(D=ge.Ionic.platforms=ae(ge),D.forEach(w=>ge.document.documentElement.classList.add(`plt-${w}`))),D},ae=ge=>{const D=O.get("platform");return Object.keys(lt).filter(w=>{const A=D?.[w];return"function"==typeof A?A(ge):lt[w](ge)})},X=ge=>!!($e(ge,/iPad/i)||$e(ge,/Macintosh/i)&&se(ge)),we=ge=>$e(ge,/android|sink/i),se=ge=>qe(ge,"(any-pointer:coarse)"),pe=ge=>be(ge)||Me(ge),be=ge=>!!(ge.cordova||ge.phonegap||ge.PhoneGap),Me=ge=>!!ge.Capacitor?.isNative,$e=(ge,D)=>D.test(ge.navigator.userAgent),qe=(ge,D)=>{var w;return null===(w=ge.matchMedia)||void 0===w?void 0:w.call(ge,D).matches},lt={ipad:X,iphone:ge=>$e(ge,/iPhone/i),ios:ge=>$e(ge,/iPhone|iPod/i)||X(ge),android:we,phablet:ge=>{const D=ge.innerWidth,w=ge.innerHeight,A=Math.min(D,w),G=Math.max(D,w);return A>390&&A<520&&G>620&&G<800},tablet:ge=>{const D=ge.innerWidth,w=ge.innerHeight,A=Math.min(D,w),G=Math.max(D,w);return X(ge)||(ge=>we(ge)&&!$e(ge,/mobile/i))(ge)||A>460&&A<820&&G>780&&G<1400},cordova:be,capacitor:Me,electron:ge=>$e(ge,/electron/i),pwa:ge=>{var D;return!!(null!==(D=ge.matchMedia)&&void 0!==D&&D.call(ge,"(display-mode: standalone)").matches||ge.navigator.standalone)},mobile:se,mobileweb:ge=>se(ge)&&!pe(ge),desktop:ge=>!se(ge),hybrid:pe};var P=g(3435),V=g(9804),K=g(7579),z=g(4968),Be=g(1135),Ue=g(9841),Qe=g(9646),Dt=g(7582),kt=g(9300),Lt=g(3900),Ht=g(1884),$t=g(4006);const Yt=["tabsInner"];let Et=(()=>{class ge{constructor(w,A){this.doc=w,this.backButton=new K.x,this.keyboardDidShow=new K.x,this.keyboardDidHide=new K.x,this.pause=new K.x,this.resume=new K.x,this.resize=new K.x,A.run(()=>{let G;this.win=w.defaultView,this.backButton.subscribeWithPriority=function(me,Ie){return this.subscribe(Ve=>Ve.register(me,ot=>A.run(()=>Ie(ot))))},on(this.pause,w,"pause",A),on(this.resume,w,"resume",A),on(this.backButton,w,"ionBackButton",A),on(this.resize,this.win,"resize",A),on(this.keyboardDidShow,this.win,"ionKeyboardDidShow",A),on(this.keyboardDidHide,this.win,"ionKeyboardDidHide",A),this._readyPromise=new Promise(me=>{G=me}),this.win?.cordova?w.addEventListener("deviceready",()=>{G("cordova")},{once:!0}):G("dom")})}is(w){return((ge,D)=>("string"==typeof ge&&(D=ge,ge=void 0),ye(ge).includes(D)))(this.win,w)}platforms(){return ye(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(w){return Ct(this.win.location.href,w)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(w){const A=this.win.navigator;return!!(A?.userAgent&&A.userAgent.indexOf(w)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return ge.\u0275fac=function(w){return new(w||ge)(r.LFG(B.K0),r.LFG(r.R0b))},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const Ct=(ge,D)=>{D=D.replace(/[[\]\\]/g,"\\$&");const A=new RegExp("[\\?&]"+D+"=([^&#]*)").exec(ge);return A?decodeURIComponent(A[1].replace(/\+/g," ")):null},on=(ge,D,w,A)=>{D&&D.addEventListener(w,G=>{A.run(()=>{const me=G?.detail;ge.next(me)})})};let Jt=(()=>{class ge{constructor(w,A,G,me){this.location=A,this.serializer=G,this.router=me,this.direction=en,this.animated=On,this.guessDirection="forward",this.lastNavId=-1,me&&me.events.subscribe(Ie=>{if(Ie instanceof T.OD){const Ve=Ie.restoredState?Ie.restoredState.navigationId:Ie.id;this.guessDirection=Ve{this.pop(),Ie()})}navigateForward(w,A={}){return this.setDirection("forward",A.animated,A.animationDirection,A.animation),this.navigate(w,A)}navigateBack(w,A={}){return this.setDirection("back",A.animated,A.animationDirection,A.animation),this.navigate(w,A)}navigateRoot(w,A={}){return this.setDirection("root",A.animated,A.animationDirection,A.animation),this.navigate(w,A)}back(w={animated:!0,animationDirection:"back"}){return this.setDirection("back",w.animated,w.animationDirection,w.animation),this.location.back()}pop(){var w=this;return(0,i.Z)(function*(){let A=w.topOutlet;for(;A;){if(yield A.pop())return!0;A=A.parentOutlet}return!1})()}setDirection(w,A,G,me){this.direction=w,this.animated=tn(w,A,G),this.animationBuilder=me}setTopOutlet(w){this.topOutlet=w}consumeTransition(){let A,w="root";const G=this.animationBuilder;return"auto"===this.direction?(w=this.guessDirection,A=this.guessAnimation):(A=this.animated,w=this.direction),this.direction=en,this.animated=On,this.animationBuilder=void 0,{direction:w,animation:A,animationBuilder:G}}navigate(w,A){if(Array.isArray(w))return this.router.navigate(w,A);{const G=this.serializer.parse(w.toString());return void 0!==A.queryParams&&(G.queryParams={...A.queryParams}),void 0!==A.fragment&&(G.fragment=A.fragment),this.router.navigateByUrl(G,A)}}}return ge.\u0275fac=function(w){return new(w||ge)(r.LFG(Et),r.LFG(B.Ye),r.LFG(T.Hx),r.LFG(T.F0,8))},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const tn=(ge,D,w)=>{if(!1!==D){if(void 0!==w)return w;if("forward"===ge||"back"===ge)return ge;if("root"===ge&&!0===D)return"forward"}},en="auto",On=void 0;let sn=(()=>{class ge{get(w,A){const G=Bt();return G?G.get(w,A):null}getBoolean(w,A){const G=Bt();return!!G&&G.getBoolean(w,A)}getNumber(w,A){const G=Bt();return G?G.getNumber(w,A):0}}return ge.\u0275fac=function(w){return new(w||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();const mn=new r.OlP("USERCONFIG"),Bt=()=>{if(typeof window<"u"){const ge=window.Ionic;if(ge?.config)return ge.config}return null};class wt{constructor(D={}){this.data=D}get(D){return this.data[D]}}let ar=(()=>{class ge{constructor(){this.zone=(0,r.f3M)(r.R0b),this.applicationRef=(0,r.f3M)(r.z2F)}create(w,A,G){return new Cn(w,A,this.applicationRef,this.zone,G)}}return ge.\u0275fac=function(w){return new(w||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac}),ge})();class Cn{constructor(D,w,A,G,me){this.environmentInjector=D,this.injector=w,this.applicationRef=A,this.zone=G,this.elementReferenceKey=me,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(D,w,A,G){return this.zone.run(()=>new Promise(me=>{const Ie={...A};void 0!==this.elementReferenceKey&&(Ie[this.elementReferenceKey]=D),me(bn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,D,w,Ie,G,this.elementReferenceKey))}))}removeViewFromDom(D,w){return this.zone.run(()=>new Promise(A=>{const G=this.elRefMap.get(w);if(G){G.destroy(),this.elRefMap.delete(w);const me=this.elEventsMap.get(w);me&&(me(),this.elEventsMap.delete(w))}A()}))}}const bn=(ge,D,w,A,G,me,Ie,Ve,ot,ct,vt)=>{const xe=r.zs3.create({providers:xn(ot),parent:w}),Ze=(0,r.LMc)(Ve,{environmentInjector:D,elementInjector:xe}),L=Ze.instance,q=Ze.location.nativeElement;if(ot&&(vt&&void 0!==L[vt]&&console.error(`[Ionic Error]: ${vt} is a reserved property when using ${Ie.tagName.toLowerCase()}. Rename or remove the "${vt}" property from ${Ve.name}.`),Object.assign(L,ot)),ct)for(const Re of ct)q.classList.add(Re);const Te=Nn(ge,L,q);return Ie.appendChild(q),A.attachView(Ze.hostView),G.set(q,Ze),me.set(q,Te),q},or=[P.L,P.a,P.b,P.c,P.d],Nn=(ge,D,w)=>ge.run(()=>{const A=or.filter(G=>"function"==typeof D[G]).map(G=>{const me=Ie=>D[G](Ie.detail);return w.addEventListener(G,me),()=>w.removeEventListener(G,me)});return()=>A.forEach(G=>G())}),er=new r.OlP("NavParamsToken"),xn=ge=>[{provide:er,useValue:ge},{provide:wt,useFactory:Yn,deps:[er]}],Yn=ge=>new wt(ge),nn=(ge,D)=>{const w=ge.prototype;D.forEach(A=>{Object.defineProperty(w,A,{get(){return this.el[A]},set(G){this.z.runOutsideAngular(()=>this.el[A]=G)}})})},mr=(ge,D)=>{const w=ge.prototype;D.forEach(A=>{w[A]=function(){const G=arguments;return this.z.runOutsideAngular(()=>this.el[A].apply(this.el,G))}})},pn=(ge,D,w)=>{w.forEach(A=>ge[A]=(0,z.R)(D,A))};function Hn(ge){return function(w){const{defineCustomElementFn:A,inputs:G,methods:me}=ge;return void 0!==A&&A(),G&&nn(w,G),me&&mr(w,me),w}}const ir=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],rr=["present","dismiss","onDidDismiss","onWillDismiss"];let Dr=(()=>{let ge=class{constructor(w,A,G){this.z=G,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,w.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,w.detectChanges()}),pn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-popover"]],contentQueries:function(w,A,G){if(1&w&&r.Suo(G,r.Rgc,5),2&w){let me;r.iGM(me=r.CRH())&&(A.template=me.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),ge=(0,Dt.gn)([Hn({inputs:ir,methods:rr})],ge),ge})();const Gn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Er=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let vr=(()=>{let ge=class{constructor(w,A,G){this.z=G,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,w.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,w.detectChanges()}),pn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-modal"]],contentQueries:function(w,A,G){if(1&w&&r.Suo(G,r.Rgc,5),2&w){let me;r.iGM(me=r.CRH())&&(A.template=me.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),ge=(0,Dt.gn)([Hn({inputs:Gn,methods:Er})],ge),ge})();const Fn=(ge,D)=>((ge=ge.filter(w=>w.stackId!==D.stackId)).push(D),ge),cn=(ge,D)=>{const w=ge.createUrlTree(["."],{relativeTo:D});return ge.serializeUrl(w)},rn=(ge,D)=>!D||ge.stackId!==D.stackId,Je=(ge,D)=>{if(!ge)return;const w=He(D);for(let A=0;A=ge.length)return w[A];if(w[A]!==ge[A])return}},He=ge=>ge.split("/").map(D=>D.trim()).filter(D=>""!==D),Ee=ge=>{ge&&(ge.ref.destroy(),ge.unlistenEvents())};class Xe{constructor(D,w,A,G,me,Ie){this.containerEl=w,this.router=A,this.navCtrl=G,this.zone=me,this.location=Ie,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==D?He(D):void 0}createView(D,w){const A=cn(this.router,w),G=D?.location?.nativeElement,me=Nn(this.zone,D.instance,G);return{id:this.nextId++,stackId:Je(this.tabsPrefix,A),unlistenEvents:me,element:G,ref:D,url:A}}getExistingView(D){const w=cn(this.router,D),A=this.views.find(G=>G.url===w);return A&&A.ref.changeDetectorRef.reattach(),A}setActive(D){const w=this.navCtrl.consumeTransition();let{direction:A,animation:G,animationBuilder:me}=w;const Ie=this.activeView,Ve=rn(D,Ie);Ve&&(A="back",G=void 0);const ot=this.views.slice();let ct;const vt=this.router;vt.getCurrentNavigation?ct=vt.getCurrentNavigation():vt.navigations?.value&&(ct=vt.navigations.value),ct?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const xe=this.views.includes(D),Ze=this.insertView(D,A);xe||D.ref.changeDetectorRef.detectChanges();const L=D.animationBuilder;return void 0===me&&"back"===A&&!Ve&&void 0!==L&&(me=L),Ie&&(Ie.animationBuilder=me),this.zone.runOutsideAngular(()=>this.wait(()=>(Ie&&Ie.ref.changeDetectorRef.detach(),D.ref.changeDetectorRef.reattach(),this.transition(D,Ie,G,this.canGoBack(1),!1,me).then(()=>it(D,Ze,ot,this.location,this.zone)).then(()=>({enteringView:D,direction:A,animation:G,tabSwitch:Ve})))))}canGoBack(D,w=this.getActiveStackId()){return this.getStack(w).length>D}pop(D,w=this.getActiveStackId()){return this.zone.run(()=>{const A=this.getStack(w);if(A.length<=D)return Promise.resolve(!1);const G=A[A.length-D-1];let me=G.url;const Ie=G.savedData;if(Ie){const ot=Ie.get("primary");ot?.route?._routerState?.snapshot.url&&(me=ot.route._routerState.snapshot.url)}const{animationBuilder:Ve}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(me,{...G.savedExtras,animation:Ve}).then(()=>!0)})}startBackTransition(){const D=this.activeView;if(D){const w=this.getStack(D.stackId),A=w[w.length-2],G=A.animationBuilder;return this.wait(()=>this.transition(A,D,"back",this.canGoBack(2),!0,G))}return Promise.resolve()}endBackTransition(D){D?(this.skipTransition=!0,this.pop(1)):this.activeView&&St(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(D){const w=this.getStack(D);return w.length>0?w[w.length-1]:void 0}getRootUrl(D){const w=this.getStack(D);return w.length>0?w[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Ee),this.activeView=void 0,this.views=[]}getStack(D){return this.views.filter(w=>w.stackId===D)}insertView(D,w){return this.activeView=D,this.views=((ge,D,w)=>"root"===w?Fn(ge,D):"forward"===w?((ge,D)=>(ge.indexOf(D)>=0?ge=ge.filter(A=>A.stackId!==D.stackId||A.id<=D.id):ge.push(D),ge))(ge,D):((ge,D)=>ge.indexOf(D)>=0?ge.filter(A=>A.stackId!==D.stackId||A.id<=D.id):Fn(ge,D))(ge,D))(this.views,D,w),this.views.slice()}transition(D,w,A,G,me,Ie){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(w===D)return Promise.resolve(!1);const Ve=D?D.element:void 0,ot=w?w.element:void 0,ct=this.containerEl;return Ve&&Ve!==ot&&(Ve.classList.add("ion-page"),Ve.classList.add("ion-page-invisible"),Ve.parentElement!==ct&&ct.appendChild(Ve),ct.commit)?ct.commit(Ve,ot,{duration:void 0===A?0:void 0,direction:A,showGoBack:G,progressAnimation:me,animationBuilder:Ie}):Promise.resolve(!1)}wait(D){var w=this;return(0,i.Z)(function*(){void 0!==w.runningTask&&(yield w.runningTask,w.runningTask=void 0);const A=w.runningTask=D();return A.finally(()=>w.runningTask=void 0),A})()}}const it=(ge,D,w,A,G)=>"function"==typeof requestAnimationFrame?new Promise(me=>{requestAnimationFrame(()=>{St(ge,D,w,A,G),me()})}):Promise.resolve(),St=(ge,D,w,A,G)=>{G.run(()=>w.filter(me=>!D.includes(me)).forEach(Ee)),D.forEach(me=>{const Ve=A.path().split("?")[0].split("#")[0];if(me!==ge&&me.url!==Ve){const ot=me.element;ot.setAttribute("aria-hidden","true"),ot.classList.add("ion-page-hidden"),me.ref.changeDetectorRef.detach()}})};let Qt=(()=>{class ge{constructor(w,A,G,me,Ie,Ve,ot,ct){this.parentOutlet=ct,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Be.X(null),this.activated=null,this._activatedRoute=null,this.name=T.eC,this.stackWillChange=new r.vpe,this.stackDidChange=new r.vpe,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.parentContexts=(0,r.f3M)(T.y6),this.location=(0,r.f3M)(r.s_b),this.environmentInjector=(0,r.f3M)(r.lqb),this.inputBinder=(0,r.f3M)(Ln,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,r.f3M)(sn),this.navCtrl=(0,r.f3M)(Jt),this.nativeEl=me.nativeElement,this.name=w||T.eC,this.tabsPrefix="true"===A?cn(Ie,ot):void 0,this.stackCtrl=new Xe(this.tabsPrefix,this.nativeEl,Ie,this.navCtrl,Ve,G),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(w){this.nativeEl.animation=w}set animated(w){this.nativeEl.animated=w}set swipeGesture(w){this._swipeGesture=w,this.nativeEl.swipeHandler=w?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:A=>this.stackCtrl.endBackTransition(A)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const w=this.getContext();w?.route&&this.activateWith(w.route,w.injector)}new Promise(w=>(0,V.c)(this.nativeEl,w)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(w,A){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const A=this.getContext();this.activatedView.savedData=new Map(A.children.contexts);const G=this.activatedView.savedData.get("primary");if(G&&A.route&&(G.route={...A.route}),this.activatedView.savedExtras={},A.route){const me=A.route.snapshot;this.activatedView.savedExtras.queryParams=me.queryParams,this.activatedView.savedExtras.fragment=me.fragment}}const w=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(w)}}activateWith(w,A){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=w;let G,me=this.stackCtrl.getExistingView(w);if(me){G=this.activated=me.ref;const Ve=me.savedData;Ve&&(this.getContext().children.contexts=Ve),this.updateActivatedRouteProxy(G.instance,w)}else{const Ve=w._futureSnapshot,ot=this.parentContexts.getOrCreateContext(this.name).children,ct=new Be.X(null),vt=this.createActivatedRouteProxy(ct,w),xe=new En(vt,ot,this.location.injector);G=this.activated=this.location.createComponent(Ve.routeConfig.component??Ve.component,{index:this.location.length,injector:xe,environmentInjector:A??this.environmentInjector}),ct.next(G.instance),me=this.stackCtrl.createView(this.activated,w),this.proxyMap.set(G.instance,vt),this.currentActivatedRoute$.next({component:G.instance,activatedRoute:w})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=me,this.navCtrl.setTopOutlet(this);const Ie=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:me,tabSwitch:rn(me,Ie)}),this.stackCtrl.setActive(me).then(Ve=>{this.activateEvents.emit(G.instance),this.stackDidChange.emit(Ve)})}canGoBack(w=1,A){return this.stackCtrl.canGoBack(w,A)}pop(w=1,A){return this.stackCtrl.pop(w,A)}getLastUrl(w){const A=this.stackCtrl.getLastUrl(w);return A?A.url:void 0}getLastRouteView(w){return this.stackCtrl.getLastUrl(w)}getRootView(w){return this.stackCtrl.getRootUrl(w)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(w,A){const G=new T.gz;return G._futureSnapshot=A._futureSnapshot,G._routerState=A._routerState,G.snapshot=A.snapshot,G.outlet=A.outlet,G.component=A.component,G._paramMap=this.proxyObservable(w,"paramMap"),G._queryParamMap=this.proxyObservable(w,"queryParamMap"),G.url=this.proxyObservable(w,"url"),G.params=this.proxyObservable(w,"params"),G.queryParams=this.proxyObservable(w,"queryParams"),G.fragment=this.proxyObservable(w,"fragment"),G.data=this.proxyObservable(w,"data"),G}proxyObservable(w,A){return w.pipe((0,kt.h)(G=>!!G),(0,Lt.w)(G=>this.currentActivatedRoute$.pipe((0,kt.h)(me=>null!==me&&me.component===G),(0,Lt.w)(me=>me&&me.activatedRoute[A]),(0,Ht.x)())))}updateActivatedRouteProxy(w,A){const G=this.proxyMap.get(w);if(!G)throw new Error("Could not find activated route proxy for view");G._futureSnapshot=A._futureSnapshot,G._routerState=A._routerState,G.snapshot=A.snapshot,G.outlet=A.outlet,G.component=A.component,this.currentActivatedRoute$.next({component:w,activatedRoute:A})}}return ge.\u0275fac=function(w){return new(w||ge)(r.$8M("name"),r.$8M("tabs"),r.Y36(B.Ye),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(r.R0b),r.Y36(T.gz),r.Y36(ge,12))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),ge})();class En{constructor(D,w,A){this.route=D,this.childContexts=w,this.parent=A}get(D,w){return D===T.gz?this.route:D===T.y6?this.childContexts:this.parent.get(D,w)}}const Ln=new r.OlP("");let yr=(()=>{class ge{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(w){this.unsubscribeFromRouteData(w),this.subscribeToRouteData(w)}unsubscribeFromRouteData(w){this.outletDataSubscriptions.get(w)?.unsubscribe(),this.outletDataSubscriptions.delete(w)}subscribeToRouteData(w){const{activatedRoute:A}=w,G=(0,Ue.a)([A.queryParams,A.params,A.data]).pipe((0,Lt.w)(([me,Ie,Ve],ot)=>(Ve={...me,...Ie,...Ve},0===ot?(0,Qe.of)(Ve):Promise.resolve(Ve)))).subscribe(me=>{if(!w.isActivated||!w.activatedComponentRef||w.activatedRoute!==A||null===A.component)return void this.unsubscribeFromRouteData(w);const Ie=(0,r.qFp)(A.component);if(Ie)for(const{templateName:Ve}of Ie.inputs)w.activatedComponentRef.setInput(Ve,me[Ve]);else this.unsubscribeFromRouteData(w)});this.outletDataSubscriptions.set(w,G)}}return ge.\u0275fac=function(w){return new(w||ge)},ge.\u0275prov=r.Yz7({token:ge,factory:ge.\u0275fac}),ge})();const Jn=()=>({provide:Ln,useFactory:Mn,deps:[T.F0]});function Mn(ge){return ge?.componentInputBindingEnabled?new yr:null}const Wn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let br=(()=>{let ge=class{constructor(w,A,G,me,Ie,Ve){this.routerOutlet=w,this.navCtrl=A,this.config=G,this.r=me,this.z=Ie,Ve.detach(),this.el=this.r.nativeElement}onClick(w){const A=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),w.preventDefault()):null!=A&&(this.navCtrl.navigateBack(A,{animation:this.routerAnimation}),w.preventDefault())}};return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(Qt,8),r.Y36(Jt),r.Y36(sn),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO))},ge.\u0275dir=r.lG2({type:ge,hostBindings:function(w,A){1&w&&r.NdJ("click",function(me){return A.onClick(me)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),ge=(0,Dt.gn)([Hn({inputs:Wn})],ge),ge})(),Sr=(()=>{class ge{constructor(w,A,G,me,Ie){this.locationStrategy=w,this.navCtrl=A,this.elementRef=G,this.router=me,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const w=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=w}}onClick(w){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),w.preventDefault()}}return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(B.S$),r.Y36(Jt),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(T.rH,8))},ge.\u0275dir=r.lG2({type:ge,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(w,A){1&w&&r.NdJ("click",function(me){return A.onClick(me)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),ge})(),tr=(()=>{class ge{constructor(w,A,G,me,Ie){this.locationStrategy=w,this.navCtrl=A,this.elementRef=G,this.router=me,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const w=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=w}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(B.S$),r.Y36(Jt),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(T.rH,8))},ge.\u0275dir=r.lG2({type:ge,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(w,A){1&w&&r.NdJ("click",function(){return A.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),ge})();const Xt=["animated","animation","root","rootParams","swipeGesture"],Zn=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let kn=(()=>{let ge=class{constructor(w,A,G,me,Ie,Ve){this.z=Ie,Ve.detach(),this.el=w.nativeElement,w.nativeElement.delegate=me.create(A,G),pn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(r.SBq),r.Y36(r.lqb),r.Y36(r.zs3),r.Y36(ar),r.Y36(r.R0b),r.Y36(r.sBO))},ge.\u0275dir=r.lG2({type:ge,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),ge=(0,Dt.gn)([Hn({inputs:Xt,methods:Zn})],ge),ge})(),Bn=(()=>{class ge{constructor(w){this.navCtrl=w,this.ionTabsWillChange=new r.vpe,this.ionTabsDidChange=new r.vpe,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:w,tabSwitch:A}){const G=w.stackId;A&&void 0!==G&&this.ionTabsWillChange.emit({tab:G})}onStackDidChange({enteringView:w,tabSwitch:A}){const G=w.stackId;A&&void 0!==G&&(this.tabBar&&(this.tabBar.selectedTab=G),this.ionTabsDidChange.emit({tab:G}))}select(w){const A="string"==typeof w,G=A?w:w.detail.tab,me=this.outlet.getActiveStackId()===G,Ie=`${this.outlet.tabsPrefix}/${G}`;if(A||w.stopPropagation(),me){const Ve=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(Ve)?.url===Ie)return;const ct=this.outlet.getRootView(G);return this.navCtrl.navigateRoot(Ie,{...ct&&Ie===ct.url&&ct.savedExtras,animated:!0,animationDirection:"back"})}{const Ve=this.outlet.getLastRouteView(G),ct=Ve?.savedExtras;return this.navCtrl.navigateRoot(Ve?.url||Ie,{...ct,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(w=>{const A=w.el.getAttribute("slot");A!==this.tabBarSlot&&(this.tabBarSlot=A,this.relocateTabBar())})}relocateTabBar(){const w=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(w):this.tabsInner.nativeElement.after(w)}}return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(Jt))},ge.\u0275dir=r.lG2({type:ge,selectors:[["ion-tabs"]],viewQuery:function(w,A){if(1&w&&r.Gf(Yt,7,r.SBq),2&w){let G;r.iGM(G=r.CRH())&&(A.tabsInner=G.first)}},hostBindings:function(w,A){1&w&&r.NdJ("ionTabButtonClick",function(me){return A.select(me)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),ge})();const Tn=ge=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(ge):"function"==typeof requestAnimationFrame?requestAnimationFrame(ge):setTimeout(ge);let lr=(()=>{class ge{constructor(w,A){this.injector=w,this.elementRef=A,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(w){this.elementRef.nativeElement.value=this.lastValue=w,In(this.elementRef)}handleValueChange(w,A){w===this.elementRef.nativeElement&&(A!==this.lastValue&&(this.lastValue=A,this.onChange(A)),In(this.elementRef))}_handleBlurEvent(w){w===this.elementRef.nativeElement&&(this.onTouched(),In(this.elementRef))}registerOnChange(w){this.onChange=w}registerOnTouched(w){this.onTouched=w}setDisabledState(w){this.elementRef.nativeElement.disabled=w}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let w;try{w=this.injector.get($t.a5)}catch{}if(!w)return;w.statusChanges&&(this.statusChanges=w.statusChanges.subscribe(()=>In(this.elementRef)));const A=w.control;A&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(me=>{if(typeof A[me]<"u"){const Ie=A[me].bind(A);A[me]=(...Ve)=>{Ie(...Ve),In(this.elementRef)}}})}}return ge.\u0275fac=function(w){return new(w||ge)(r.Y36(r.zs3),r.Y36(r.SBq))},ge.\u0275dir=r.lG2({type:ge,hostBindings:function(w,A){1&w&&r.NdJ("ionBlur",function(me){return A._handleBlurEvent(me.target)})}}),ge})();const In=ge=>{Tn(()=>{const D=ge.nativeElement,w=null!=D.value&&D.value.toString().length>0,A=$n(D);Kn(D,A);const G=D.closest("ion-item");G&&Kn(G,w?[...A,"item-has-value"]:A)})},$n=ge=>{const D=ge.classList,w=[];for(let A=0;A{const w=ge.classList;w.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),w.add(...D)},Ot=(ge,D)=>ge.substring(0,D.length)===D;class Rt{shouldDetach(D){return!1}shouldAttach(D){return!1}store(D,w){}retrieve(D){return null}shouldReuseRoute(D,w){if(D.routeConfig!==w.routeConfig)return!1;const A=D.params,G=w.params,me=Object.keys(A),Ie=Object.keys(G);if(me.length!==Ie.length)return!1;for(const Ve of me)if(G[Ve]!==A[Ve])return!1;return!0}}class Gt{constructor(D){this.ctrl=D}create(D){return this.ctrl.create(D||{})}dismiss(D,w,A){return this.ctrl.dismiss(D,w,A)}getTop(){return this.ctrl.getTop()}}},12:(gt,Oe,g)=>{"use strict";g.d(Oe,{Br:()=>q,w:()=>$e,dr:()=>kt,oU:()=>G,yp:()=>$t,YG:()=>et,Sm:()=>rt,nz:()=>en,wI:()=>sn,W2:()=>mn,fr:()=>or,jY:()=>Nn,Gu:()=>er,gu:()=>xn,pK:()=>pn,Ie:()=>Hn,Ub:()=>rr,Q$:()=>vr,q_:()=>Ir,yh:()=>Fn,z0:()=>Pn,fG:()=>cn,zc:()=>rn,ki:()=>ot,uN:()=>He,I_:()=>Qt,Nh:()=>yr,oz:()=>Jn,jP:()=>w,Nd:()=>Wn,cJ:()=>Sr,GO:()=>tr,t9:()=>Xt,n0:()=>Zn,Bs:()=>Ot,wd:()=>Rt,ho:()=>ge,sr:()=>D,Pc:()=>an,IN:()=>ht,Dh:()=>bt,YI:()=>Ie,QI:()=>ve,j9:()=>De,yF:()=>Mt});var i=g(4650),r=g(4006),T=g(958),B=g(7582),re=g(4968),O=g(6895),j=g(6159),ye=(g(4963),g(9721),g(9758),g(6160),g(5067),g(7943)),ee=g(7036),ae=(g(6523),g(7346)),X=(g(2972),g(2477));g(2889),g(3006);var Le=g(5861);const Pe=ye.i,se=function(){var h=(0,Le.Z)(function*(te,C){if(!(typeof window>"u"))return yield Pe(),(0,X.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),C)});return function(C,de){return h.apply(this,arguments)}}(),k=["*"];function je(h,te){if(1&h&&(i.TgZ(0,"div",1),i.GkF(1,2),i.qZA()),2&h){const C=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",C.template)}}let $e=(()=>{class h extends T.bk{constructor(C,de){super(C,de)}writeValue(C){this.elementRef.nativeElement.checked=this.lastValue=C,(0,T.vk)(this.elementRef)}_handleIonChange(C){this.handleValueChange(C,C.checked)}}return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(C,de){1&C&&i.NdJ("ionChange",function(un){return de._handleIonChange(un.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})(),ve=(()=>{class h extends T.bk{constructor(C,de){super(C,de)}_handleChangeEvent(C){this.handleValueChange(C,C.value)}}return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(C,de){1&C&&i.NdJ("ionChange",function(un){return de._handleChangeEvent(un.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})(),De=(()=>{class h extends T.bk{constructor(C,de){super(C,de)}_handleInputEvent(C){this.handleValueChange(C,C.value)}}return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(C,de){1&C&&i.NdJ("ionInput",function(un){return de._handleInputEvent(un.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})();const N=(h,te)=>{const C=h.prototype;te.forEach(de=>{Object.defineProperty(C,de,{get(){return this.el[de]},set(Ne){this.z.runOutsideAngular(()=>this.el[de]=Ne)},configurable:!0})})},P=(h,te)=>{const C=h.prototype;te.forEach(de=>{C[de]=function(){const Ne=arguments;return this.z.runOutsideAngular(()=>this.el[de].apply(this.el,Ne))}})},V=(h,te,C)=>{C.forEach(de=>h[de]=(0,re.R)(te,de))};function z(h){return function(C){const{defineCustomElementFn:de,inputs:Ne,methods:un}=h;return void 0!==de&&de(),Ne&&N(C,Ne),un&&P(C,un),C}}let kt=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-app"]],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({})],h),h})(),$t=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","mode"]})],h),h})(),et=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionFocus","ionBlur"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],h),h})(),rt=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["collapse"]})],h),h})(),en=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),sn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],h),h})(),mn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],h),h})(),or=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["collapse","mode","translucent"]})],h),h})(),Nn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["fixed"]})],h),h})(),er=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["collapse","mode","translucent"]})],h),h})(),xn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],h),h})(),pn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],h),h})(),Hn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],h),h})(),rr=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-item-group"]],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({})],h),h})(),vr=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","mode","position"]})],h),h})(),Ir=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],h),h})(),Fn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","lines","mode"]})],h),h})(),Pn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],h),h})(),cn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["autoHide","color","disabled","menu","mode","type"]})],h),h})(),rn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["autoHide","menu"]})],h),h})(),He=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","mode"]})],h),h})(),Qt=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],h),h})(),yr=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-reorder"]],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({})],h),h})(),Jn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionItemReorder"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["disabled"],methods:["complete"]})],h),h})(),Wn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-row"]],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({})],h),h})(),Sr=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionChange"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],h),h})(),tr=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["disabled","layout","mode","type","value"]})],h),h})(),Xt=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],h),h})(),Zn=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["disabled","value"]})],h),h})(),Ot=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-thumbnail"]],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({})],h),h})(),Rt=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","size"]})],h),h})(),ge=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement,V(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),D=(()=>{let h=class{constructor(C,de,Ne){this.z=Ne,C.detach(),this.el=de.nativeElement}};return h.\u0275fac=function(C){return new(C||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,B.gn)([z({inputs:["color","mode"]})],h),h})(),w=(()=>{class h extends T.jP{constructor(C,de,Ne,un,nr,zn,zr,Yr){super(C,de,Ne,un,nr,zn,zr,Yr),this.parentOutlet=Yr}}return h.\u0275fac=function(C){return new(C||h)(i.$8M("name"),i.$8M("tabs"),i.Y36(O.Ye),i.Y36(i.SBq),i.Y36(j.F0),i.Y36(i.R0b),i.Y36(j.gz),i.Y36(h,12))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-router-outlet"]],features:[i.qOj]}),h})(),G=(()=>{class h extends T.oU{constructor(C,de,Ne,un,nr,zn){super(C,de,Ne,un,nr,zn)}}return h.\u0275fac=function(C){return new(C||h)(i.Y36(w,8),i.Y36(T.SH),i.Y36(T.De),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-back-button"]],features:[i.qOj],ngContentSelectors:k,decls:1,vars:0,template:function(C,de){1&C&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),Ie=(()=>{class h extends T.j{}return h.\u0275fac=function(){let te;return function(de){return(te||(te=i.n5z(h)))(de||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],features:[i.qOj]}),h})(),ot=(()=>{class h extends T.ki{}return h.\u0275fac=function(){let te;return function(de){return(te||(te=i.n5z(h)))(de||h)}}(),h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-modal"]],features:[i.qOj],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(C,de){1&C&&i.YNc(0,je,2,1,"div",0),2&C&&i.Q6J("ngIf",de.isCmpOpen||de.keepContentsMounted)},dependencies:[O.O5,O.tP],encapsulation:2,changeDetection:0}),h})();const vt={provide:r.Cf,useExisting:(0,i.Gpc)(()=>xe),multi:!0};let xe=(()=>{class h extends r.Fd{}return h.\u0275fac=function(){let te;return function(de){return(te||(te=i.n5z(h)))(de||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(C,de){2&C&&i.uIk("max",de._enabled?de.max:null)},features:[i._Bn([vt]),i.qOj]}),h})();const Ze={provide:r.Cf,useExisting:(0,i.Gpc)(()=>L),multi:!0};let L=(()=>{class h extends r.qQ{}return h.\u0275fac=function(){let te;return function(de){return(te||(te=i.n5z(h)))(de||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(C,de){2&C&&i.uIk("min",de._enabled?de.min:null)},features:[i._Bn([Ze]),i.qOj]}),h})(),q=(()=>{class h extends T.xs{constructor(){super(ae.a)}}return h.\u0275fac=function(C){return new(C||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),ht=(()=>{class h extends T.xs{constructor(){super(ae.m),this.angularDelegate=(0,i.f3M)(T.y4),this.injector=(0,i.f3M)(i.zs3),this.environmentInjector=(0,i.f3M)(i.lqb)}create(C){return super.create({...C,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return h.\u0275fac=function(C){return new(C||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac}),h})();class bt extends T.xs{constructor(){super(ae.c),this.angularDelegate=(0,i.f3M)(T.y4),this.injector=(0,i.f3M)(i.zs3),this.environmentInjector=(0,i.f3M)(i.lqb)}create(te){return super.create({...te,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Mt=(()=>{class h extends T.xs{constructor(){super(ae.t)}}return h.\u0275fac=function(C){return new(C||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Nt=(h,te,C)=>()=>{const de=te.defaultView;if(de&&typeof window<"u"){(0,ee.s)({...h,_zoneGate:un=>C.run(un)});const Ne="__zone_symbol__addEventListener"in te.body?"__zone_symbol__addEventListener":"addEventListener";return function ke(){var h=[];if(typeof window<"u"){var te=window;(!te.customElements||te.Element&&(!te.Element.prototype.closest||!te.Element.prototype.matches||!te.Element.prototype.remove||!te.Element.prototype.getRootNode))&&h.push(g.e(6748).then(g.t.bind(g,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||te.NodeList&&!te.NodeList.prototype.forEach||!te.fetch||!function(){try{var de=new URL("b","http://a");return de.pathname="c%20d","http://a/c%20d"===de.href&&de.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&h.push(g.e(2214).then(g.t.bind(g,4144,23)))}return Promise.all(h)}().then(()=>se(de,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:T.Wn,jmp:un=>C.runOutsideAngular(un),ael(un,nr,zn,zr){un[Ne](nr,zn,zr)},rel(un,nr,zn,zr){un.removeEventListener(nr,zn,zr)}}))}};let an=(()=>{class h{static forRoot(C){return{ngModule:h,providers:[{provide:T.dy,useValue:C},{provide:i.ip1,useFactory:Nt,multi:!0,deps:[T.dy,O.K0,i.R0b]},(0,T.DN)()]}}}return h.\u0275fac=function(C){return new(C||h)},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({providers:[T.y4,ht,bt],imports:[O.ez]}),h})()},6188:(gt,Oe,g)=>{"use strict";g.d(Oe,{Pi:()=>$e,Zw:()=>ee,aw:()=>lt,X$:()=>qe,sK:()=>ce});var i=g(4650),r=g(9646),T=g(9751),B=g(576);function re(ve){return!!ve&&(ve instanceof T.y||(0,B.m)(ve.lift)&&(0,B.m)(ve.subscribe))}var O=g(4128),j=g(7272),H=g(9770),oe=g(5698),_e=g(4782),W=g(4004),le=g(4351),ye=g(3900);class ee{}let ue=(()=>{class ve extends ee{getTranslation(N){return(0,r.of)({})}}return ve.\u0275fac=function(){let De;return function(P){return(De||(De=i.n5z(ve)))(P||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class ae{}let Z=(()=>{class ve{handle(N){return N.key}}return ve.\u0275fac=function(N){return new(N||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function X(ve,De){if(ve===De)return!0;if(null===ve||null===De)return!1;if(ve!=ve&&De!=De)return!0;let V,K,z,N=typeof ve;if(N==typeof De&&"object"==N){if(!Array.isArray(ve)){if(Array.isArray(De))return!1;for(K in z=Object.create(null),ve){if(!X(ve[K],De[K]))return!1;z[K]=!0}for(K in De)if(!(K in z)&&typeof De[K]<"u")return!1;return!0}if(!Array.isArray(De))return!1;if((V=ve.length)==De.length){for(K=0;K{ze(De[P])?P in ve?N[P]=we(ve[P],De[P]):Object.assign(N,{[P]:De[P]}):Object.assign(N,{[P]:De[P]})}),N}class ke{}let Le=(()=>{class ve extends ke{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(N,P){let V;return V="string"==typeof N?this.interpolateString(N,P):"function"==typeof N?this.interpolateFunction(N,P):N,V}getValue(N,P){let V="string"==typeof P?P.split("."):[P];P="";do{P+=V.shift(),!he(N)||!he(N[P])||"object"!=typeof N[P]&&V.length?V.length?P+=".":N=void 0:(N=N[P],P="")}while(V.length);return N}interpolateFunction(N,P){return N(P)}interpolateString(N,P){return P?N.replace(this.templateMatcher,(V,K)=>{let z=this.getValue(P,K);return he(z)?z:V}):N}}return ve.\u0275fac=function(){let De;return function(P){return(De||(De=i.n5z(ve)))(P||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class Pe{}let se=(()=>{class ve extends Pe{compile(N,P){return N}compileTranslations(N,P){return N}}return ve.\u0275fac=function(){let De;return function(P){return(De||(De=i.n5z(ve)))(P||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class k{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const pe=new i.OlP("USE_STORE"),be=new i.OlP("USE_DEFAULT_LANG"),Me=new i.OlP("DEFAULT_LANGUAGE"),je=new i.OlP("USE_EXTEND");let ce=(()=>{class ve{constructor(N,P,V,K,z,Be=!0,Ue=!1,Qe=!1,Dt){this.store=N,this.currentLoader=P,this.compiler=V,this.parser=K,this.missingTranslationHandler=z,this.useDefaultLang=Be,this.isolate=Ue,this.extend=Qe,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},Dt&&this.setDefaultLang(Dt)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(N){this.isolate?this._defaultLang=N:this.store.defaultLang=N}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(N){this.isolate?this._currentLang=N:this.store.currentLang=N}get langs(){return this.isolate?this._langs:this.store.langs}set langs(N){this.isolate?this._langs=N:this.store.langs=N}get translations(){return this.isolate?this._translations:this.store.translations}set translations(N){this.isolate?this._translations=N:this.store.translations=N}setDefaultLang(N){if(N===this.defaultLang)return;let P=this.retrieveTranslations(N);typeof P<"u"?(null==this.defaultLang&&(this.defaultLang=N),P.pipe((0,oe.q)(1)).subscribe(V=>{this.changeDefaultLang(N)})):this.changeDefaultLang(N)}getDefaultLang(){return this.defaultLang}use(N){if(N===this.currentLang)return(0,r.of)(this.translations[N]);let P=this.retrieveTranslations(N);return typeof P<"u"?(this.currentLang||(this.currentLang=N),P.pipe((0,oe.q)(1)).subscribe(V=>{this.changeLang(N)}),P):(this.changeLang(N),(0,r.of)(this.translations[N]))}retrieveTranslations(N){let P;return(typeof this.translations[N]>"u"||this.extend)&&(this._translationRequests[N]=this._translationRequests[N]||this.getTranslation(N),P=this._translationRequests[N]),P}getTranslation(N){this.pending=!0;const P=this.currentLoader.getTranslation(N).pipe((0,_e.d)(1),(0,oe.q)(1));return this.loadingTranslations=P.pipe((0,W.U)(V=>this.compiler.compileTranslations(V,N)),(0,_e.d)(1),(0,oe.q)(1)),this.loadingTranslations.subscribe({next:V=>{this.translations[N]=this.extend&&this.translations[N]?{...V,...this.translations[N]}:V,this.updateLangs(),this.pending=!1},error:V=>{this.pending=!1}}),P}setTranslation(N,P,V=!1){P=this.compiler.compileTranslations(P,N),this.translations[N]=(V||this.extend)&&this.translations[N]?we(this.translations[N],P):P,this.updateLangs(),this.onTranslationChange.emit({lang:N,translations:this.translations[N]})}getLangs(){return this.langs}addLangs(N){N.forEach(P=>{-1===this.langs.indexOf(P)&&this.langs.push(P)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(N,P,V){let K;if(P instanceof Array){let z={},Be=!1;for(let Ue of P)z[Ue]=this.getParsedResult(N,Ue,V),re(z[Ue])&&(Be=!0);if(Be){const Ue=P.map(Qe=>re(z[Qe])?z[Qe]:(0,r.of)(z[Qe]));return(0,O.D)(Ue).pipe((0,W.U)(Qe=>{let Dt={};return Qe.forEach((kt,Lt)=>{Dt[P[Lt]]=kt}),Dt}))}return z}if(N&&(K=this.parser.interpolate(this.parser.getValue(N,P),V)),typeof K>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(K=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],P),V)),typeof K>"u"){let z={key:P,translateService:this};typeof V<"u"&&(z.interpolateParams=V),K=this.missingTranslationHandler.handle(z)}return typeof K<"u"?K:P}get(N,P){if(!he(N)||!N.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,le.b)(V=>re(V=this.getParsedResult(V,N,P))?V:(0,r.of)(V)));{let V=this.getParsedResult(this.translations[this.currentLang],N,P);return re(V)?V:(0,r.of)(V)}}getStreamOnTranslationChange(N,P){if(!he(N)||!N.length)throw new Error('Parameter "key" required');return(0,j.z)((0,H.P)(()=>this.get(N,P)),this.onTranslationChange.pipe((0,ye.w)(V=>{const K=this.getParsedResult(V.translations,N,P);return"function"==typeof K.subscribe?K:(0,r.of)(K)})))}stream(N,P){if(!he(N)||!N.length)throw new Error('Parameter "key" required');return(0,j.z)((0,H.P)(()=>this.get(N,P)),this.onLangChange.pipe((0,ye.w)(V=>{const K=this.getParsedResult(V.translations,N,P);return re(K)?K:(0,r.of)(K)})))}instant(N,P){if(!he(N)||!N.length)throw new Error('Parameter "key" required');let V=this.getParsedResult(this.translations[this.currentLang],N,P);if(re(V)){if(N instanceof Array){let K={};return N.forEach((z,Be)=>{K[N[Be]]=N[Be]}),K}return N}return V}set(N,P,V=this.currentLang){this.translations[V][N]=this.compiler.compile(P,V),this.updateLangs(),this.onTranslationChange.emit({lang:V,translations:this.translations[V]})}changeLang(N){this.currentLang=N,this.onLangChange.emit({lang:N,translations:this.translations[N]}),null==this.defaultLang&&this.changeDefaultLang(N)}changeDefaultLang(N){this.defaultLang=N,this.onDefaultLangChange.emit({lang:N,translations:this.translations[N]})}reloadLang(N){return this.resetLang(N),this.getTranslation(N)}resetLang(N){this._translationRequests[N]=void 0,this.translations[N]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let N=window.navigator.languages?window.navigator.languages[0]:null;return N=N||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof N>"u"?void 0:(-1!==N.indexOf("-")&&(N=N.split("-")[0]),-1!==N.indexOf("_")&&(N=N.split("_")[0]),N)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let N=window.navigator.languages?window.navigator.languages[0]:null;return N=N||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,N}}return ve.\u0275fac=function(N){return new(N||ve)(i.LFG(k),i.LFG(ee),i.LFG(Pe),i.LFG(ke),i.LFG(ae),i.LFG(be),i.LFG(pe),i.LFG(je),i.LFG(Me))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),$e=(()=>{class ve{constructor(N,P,V){this.translateService=N,this.element=P,this._ref=V,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(K=>{K.lang===this.translateService.currentLang&&this.checkNodes(!0,K.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(K=>{this.checkNodes(!0,K.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(K=>{this.checkNodes(!0)}))}set translate(N){N&&(this.key=N,this.checkNodes())}set translateParams(N){X(this.currentParams,N)||(this.currentParams=N,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(N=!1,P){let V=this.element.nativeElement.childNodes;V.length||(this.setContent(this.element.nativeElement,this.key),V=this.element.nativeElement.childNodes);for(let K=0;K{z!==N&&(P.lastKey=N),P.originalContent||(P.originalContent=this.getContent(P)),P.currentValue=he(z)?z:P.originalContent||N,this.setContent(P,this.key?P.currentValue:P.originalContent.replace(N,P.currentValue)),this._ref.markForCheck()};if(he(V)){let z=this.translateService.getParsedResult(V,N,this.currentParams);re(z)?z.subscribe({next:K}):K(z)}else this.translateService.get(N,this.currentParams).subscribe(K)}}getContent(N){return he(N.textContent)?N.textContent:N.data}setContent(N,P){he(N.textContent)?N.textContent=P:N.data=P}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return ve.\u0275fac=function(N){return new(N||ve)(i.Y36(ce),i.Y36(i.SBq),i.Y36(i.sBO))},ve.\u0275dir=i.lG2({type:ve,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),ve})(),qe=(()=>{class ve{constructor(N,P){this.translate=N,this._ref=P,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(N,P,V){let K=z=>{this.value=void 0!==z?z:N,this.lastKey=N,this._ref.markForCheck()};if(V){let z=this.translate.getParsedResult(V,N,P);re(z.subscribe)?z.subscribe(K):K(z)}this.translate.get(N,P).subscribe(K)}transform(N,...P){if(!N||!N.length)return N;if(X(N,this.lastKey)&&X(P,this.lastParams))return this.value;let V;if(he(P[0])&&P.length)if("string"==typeof P[0]&&P[0].length){let K=P[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{V=JSON.parse(K)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${P[0]}`)}}else"object"==typeof P[0]&&!Array.isArray(P[0])&&(V=P[0]);return this.lastKey=N,this.lastParams=P,this.updateValue(N,V),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(K=>{this.lastKey&&K.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(N,V,K.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(K=>{this.lastKey&&(this.lastKey=null,this.updateValue(N,V,K.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(N,V))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return ve.\u0275fac=function(N){return new(N||ve)(i.Y36(ce,16),i.Y36(i.sBO,16))},ve.\u0275pipe=i.Yjl({name:"translate",type:ve,pure:!1}),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),lt=(()=>{class ve{static forRoot(N={}){return{ngModule:ve,providers:[N.loader||{provide:ee,useClass:ue},N.compiler||{provide:Pe,useClass:se},N.parser||{provide:ke,useClass:Le},N.missingTranslationHandler||{provide:ae,useClass:Z},k,{provide:pe,useValue:N.isolate},{provide:be,useValue:N.useDefaultLang},{provide:je,useValue:N.extend},{provide:Me,useValue:N.defaultLanguage},ce]}}static forChild(N={}){return{ngModule:ve,providers:[N.loader||{provide:ee,useClass:ue},N.compiler||{provide:Pe,useClass:se},N.parser||{provide:ke,useClass:Le},N.missingTranslationHandler||{provide:ae,useClass:Z},{provide:pe,useValue:N.isolate},{provide:be,useValue:N.useDefaultLang},{provide:je,useValue:N.extend},{provide:Me,useValue:N.defaultLanguage},ce]}}}return ve.\u0275fac=function(N){return new(N||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({}),ve})()},5861:(gt,Oe,g)=>{"use strict";function i(T,B,re,O,j,H,oe){try{var _e=T[H](oe),W=_e.value}catch(le){return void re(le)}_e.done?B(W):Promise.resolve(W).then(O,j)}function r(T){return function(){var B=this,re=arguments;return new Promise(function(O,j){var H=T.apply(B,re);function oe(W){i(H,O,j,oe,_e,"next",W)}function _e(W){i(H,O,j,oe,_e,"throw",W)}oe(void 0)})}}g.d(Oe,{Z:()=>r})},7582:(gt,Oe,g)=>{"use strict";g.d(Oe,{FC:()=>ke,KL:()=>Pe,ZT:()=>r,gn:()=>re,mG:()=>le,qq:()=>we});var i=function(P,V){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(K,z){K.__proto__=z}||function(K,z){for(var Be in z)Object.prototype.hasOwnProperty.call(z,Be)&&(K[Be]=z[Be])})(P,V)};function r(P,V){if("function"!=typeof V&&null!==V)throw new TypeError("Class extends value "+String(V)+" is not a constructor or null");function K(){this.constructor=P}i(P,V),P.prototype=null===V?Object.create(V):(K.prototype=V.prototype,new K)}function re(P,V,K,z){var Qe,Be=arguments.length,Ue=Be<3?V:null===z?z=Object.getOwnPropertyDescriptor(V,K):z;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ue=Reflect.decorate(P,V,K,z);else for(var Dt=P.length-1;Dt>=0;Dt--)(Qe=P[Dt])&&(Ue=(Be<3?Qe(Ue):Be>3?Qe(V,K,Ue):Qe(V,K))||Ue);return Be>3&&Ue&&Object.defineProperty(V,K,Ue),Ue}function le(P,V,K,z){return new(K||(K=Promise))(function(Ue,Qe){function Dt(Ht){try{Lt(z.next(Ht))}catch($t){Qe($t)}}function kt(Ht){try{Lt(z.throw(Ht))}catch($t){Qe($t)}}function Lt(Ht){Ht.done?Ue(Ht.value):function Be(Ue){return Ue instanceof K?Ue:new K(function(Qe){Qe(Ue)})}(Ht.value).then(Dt,kt)}Lt((z=z.apply(P,V||[])).next())})}function we(P){return this instanceof we?(this.v=P,this):new we(P)}function ke(P,V,K){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Be,z=K.apply(P,V||[]),Ue=[];return Be=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),Dt("next"),Dt("throw"),Dt("return",function Qe(Ke){return function(et){return Promise.resolve(et).then(Ke,$t)}}),Be[Symbol.asyncIterator]=function(){return this},Be;function Dt(Ke,et){z[Ke]&&(Be[Ke]=function(rt){return new Promise(function(Et,Ct){Ue.push([Ke,rt,Et,Ct])>1||kt(Ke,rt)})},et&&(Be[Ke]=et(Be[Ke])))}function kt(Ke,et){try{!function Lt(Ke){Ke.value instanceof we?Promise.resolve(Ke.value.v).then(Ht,$t):Yt(Ue[0][2],Ke)}(z[Ke](et))}catch(rt){Yt(Ue[0][3],rt)}}function Ht(Ke){kt("next",Ke)}function $t(Ke){kt("throw",Ke)}function Yt(Ke,et){Ke(et),Ue.shift(),Ue.length&&kt(Ue[0][0],Ue[0][1])}}function Pe(P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var K,V=P[Symbol.asyncIterator];return V?V.call(P):(P=function ae(P){var V="function"==typeof Symbol&&Symbol.iterator,K=V&&P[V],z=0;if(K)return K.call(P);if(P&&"number"==typeof P.length)return{next:function(){return P&&z>=P.length&&(P=void 0),{value:P&&P[z++],done:!P}}};throw new TypeError(V?"Object is not iterable.":"Symbol.iterator is not defined.")}(P),K={},z("next"),z("throw"),z("return"),K[Symbol.asyncIterator]=function(){return this},K);function z(Ue){K[Ue]=P[Ue]&&function(Qe){return new Promise(function(Dt,kt){!function Be(Ue,Qe,Dt,kt){Promise.resolve(kt).then(function(Lt){Ue({value:Lt,done:Dt})},Qe)}(Dt,kt,(Qe=P[Ue](Qe)).done,Qe.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},gt=>{gt(gt.s=2587)}]); \ No newline at end of file diff --git a/main.ce9293cd76812a2f.js b/main.ce9293cd76812a2f.js deleted file mode 100644 index ff876dc0..00000000 --- a/main.ce9293cd76812a2f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[179],{694:(pt,Pe,g)=>{"use strict";g.d(Pe,{E:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.speak=function(V){return(0,r.DM)(this,"speak",{otherPromise:!0},arguments)},R.prototype.stop=function(){return(0,r.DM)(this,"stop",{otherPromise:!0},arguments)},R.prototype.getVoices=function(){return(0,r.DM)(this,"getVoices",{otherPromise:!0},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="Text To Speech Advanced",R.plugin="cordova-plugin-tts-advanced",R.pluginRef="TTS",R.repo="https://github.com/spasma/cordova-plugin-tts-advanced",R.platforms=["Android","iOS"],R=(0,i.gn)([],R)}(r.On)},3771:(pt,Pe,g)=>{"use strict";g.d(Pe,{B:()=>ne});var i=g(7582),r=g(7598),T=g(4650),ne=function(R){function V(){return null!==R&&R.apply(this,arguments)||this}return(0,i.ZT)(V,R),V.prototype.isSupported=function(){return(0,r.DM)(this,"isSupported",{},arguments)},V.prototype.isImmersiveModeSupported=function(){return(0,r.DM)(this,"isImmersiveModeSupported",{},arguments)},V.prototype.immersiveWidth=function(){return(0,r.DM)(this,"immersiveWidth",{},arguments)},V.prototype.immersiveHeight=function(){return(0,r.DM)(this,"immersiveHeight",{},arguments)},V.prototype.leanMode=function(){return(0,r.DM)(this,"leanMode",{},arguments)},V.prototype.showSystemUI=function(){return(0,r.DM)(this,"showSystemUI",{},arguments)},V.prototype.showUnderStatusBar=function(){return(0,r.DM)(this,"showUnderStatusBar",{},arguments)},V.prototype.showUnderSystemUI=function(){return(0,r.DM)(this,"showUnderSystemUI",{},arguments)},V.prototype.immersiveMode=function(){return(0,r.DM)(this,"immersiveMode",{},arguments)},V.prototype.setSystemUiVisibility=function(H){return(0,r.DM)(this,"setSystemUiVisibility",{},arguments)},V.\u0275fac=function(){let H;return function(me){return(H||(H=T.n5z(V)))(me||V)}}(),V.\u0275prov=T.Yz7({token:V,factory:V.\u0275fac}),V.pluginName="AndroidFullScreen",V.plugin="cordova-plugin-fullscreen",V.pluginRef="AndroidFullScreen",V.repo="https://github.com/mesmotronic/cordova-plugin-fullscreen",V.platforms=["Android"],V=(0,i.gn)([],V)}(r.On)},9509:(pt,Pe,g)=>{"use strict";g.d(Pe,{b:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.getAppName=function(){return(0,r.DM)(this,"getAppName",{},arguments)},R.prototype.getPackageName=function(){return(0,r.DM)(this,"getPackageName",{},arguments)},R.prototype.getVersionCode=function(){return(0,r.DM)(this,"getVersionCode",{},arguments)},R.prototype.getVersionNumber=function(){return(0,r.DM)(this,"getVersionNumber",{},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="AppVersion",R.plugin="cordova-plugin-app-version",R.pluginRef="cordova.getAppVersion",R.repo="https://github.com/whiteoctober/cordova-plugin-app-version",R.platforms=["Android","iOS","Windows"],R=(0,i.gn)([],R)}(r.On)},7598:(pt,Pe,g)=>{"use strict";g.d(Pe,{On:()=>Ve,DM:()=>z,J2:()=>Te,Iq:()=>$e});var r=g(9751),T=g(4968),k={error:"cordova_not_available"},ne={error:"plugin_not_installed"};function R(ce){if(typeof window<"u"&&window.angular){var We=window.document,at=window.angular.element(We.querySelector("[ng-app]")||We.body).injector();if(at)return at.get("$q")(function(G,I){ce(G,I)});console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise(function(G,I){ce(G,I)});console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function q(ce,Le,We){var at,ve;"string"==typeof ce?at=ce:(at=ce.constructor.getPluginRef(),We=ce.constructor.getPluginName(),ve=ce.constructor.getPluginInstallName());var G=ie(at);return!(!G||Le&&typeof G[Le]>"u")||(typeof window>"u"||!window.cordova?(function _e(ce,Le){typeof process>"u"&&console.warn(Le?"Native: tried calling "+ce+"."+Le+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator":"Native: tried accessing the "+ce+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator")}(We,Le),k):(function fe(ce,Le,We){console.warn(We?"Native: tried calling "+ce+"."+We+", but the "+ce+" plugin is not installed.":"Native: tried accessing the "+ce+" plugin but it's not installed."),Le&&console.warn("Install the "+ce+" plugin: 'ionic cordova plugin add "+Le+"'")}(We,ve,Le),ne))}function ae(ce,Le,We,at,ve,G){void 0===at&&(at={}),We=function he(ce,Le,We,at){if(void 0===Le&&(Le={}),Le.sync)return ce;if("reverse"===Le.callbackOrder)ce.unshift(at),ce.unshift(We);else if("node"===Le.callbackStyle)ce.push(function(N,j){N?at(N):We(j)});else if("object"===Le.callbackStyle&&Le.successName&&Le.errorName){var ve={};ve[Le.successName]=We,ve[Le.errorName]=at,ce.push(ve)}else if(typeof Le.successIndex<"u"||typeof Le.errorIndex<"u"){var G=function(){Le.successIndex>ce.length?ce[Le.successIndex]=We:ce.splice(Le.successIndex,0,We)},I=function(){Le.errorIndex>ce.length?ce[Le.errorIndex]=at:ce.splice(Le.errorIndex,0,at)};Le.successIndex>Le.errorIndex?(I(),G()):(G(),I())}else ce.push(We),ce.push(at);return ce}(We,at,ve,G);var I=q(ce,Le);if(!0===I){var N=ie(ce.constructor.getPluginRef());return N[Le].apply(N,We)}return I}function ie(ce){return typeof window<"u"?K(window,ce):null}function K(ce,Le){for(var We=Le.split("."),at=ce,ve=0;ve"u"){var ce=typeof window<"u"?window:{},We=Date.now(),at=!1;ce.document.addEventListener("deviceready",function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-We)+" ms"),at=!0}),setTimeout(function(){!at&&ce.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")},5e3)}}()},4598:(pt,Pe,g)=>{"use strict";g.d(Pe,{A:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),Object.defineProperty(R.prototype,"cordova",{get:function(){return(0,r.J2)(this,"cordova")},set:function(V){(0,r.Iq)(this,"cordova",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"model",{get:function(){return(0,r.J2)(this,"model")},set:function(V){(0,r.Iq)(this,"model",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"platform",{get:function(){return(0,r.J2)(this,"platform")},set:function(V){(0,r.Iq)(this,"platform",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"uuid",{get:function(){return(0,r.J2)(this,"uuid")},set:function(V){(0,r.Iq)(this,"uuid",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"version",{get:function(){return(0,r.J2)(this,"version")},set:function(V){(0,r.Iq)(this,"version",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"manufacturer",{get:function(){return(0,r.J2)(this,"manufacturer")},set:function(V){(0,r.Iq)(this,"manufacturer",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isVirtual",{get:function(){return(0,r.J2)(this,"isVirtual")},set:function(V){(0,r.Iq)(this,"isVirtual",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"serial",{get:function(){return(0,r.J2)(this,"serial")},set:function(V){(0,r.Iq)(this,"serial",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"sdkVersion",{get:function(){return(0,r.J2)(this,"sdkVersion")},set:function(V){(0,r.Iq)(this,"sdkVersion",V)},enumerable:!1,configurable:!0}),Object.defineProperty(R.prototype,"isiOSAppOnMac",{get:function(){return(0,r.J2)(this,"isiOSAppOnMac")},set:function(V){(0,r.Iq)(this,"isiOSAppOnMac",V)},enumerable:!1,configurable:!0}),R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="Device",R.plugin="cordova-plugin-device",R.pluginRef="device",R.repo="https://github.com/apache/cordova-plugin-device",R.platforms=["Android","Browser","iOS","macOS","Windows"],R=(0,i.gn)([],R)}(r.On)},9986:(pt,Pe,g)=>{"use strict";g.d(Pe,{s:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.keepAwake=function(){return(0,r.DM)(this,"keepAwake",{},arguments)},R.prototype.allowSleepAgain=function(){return(0,r.DM)(this,"allowSleepAgain",{},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="Insomnia",R.plugin="cordova-plugin-insomnia",R.pluginRef="plugins.insomnia",R.repo="https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin",R.platforms=["Android","Browser","Firefox OS","iOS","Windows","Windows Phone 8"],R=(0,i.gn)([],R)}(r.On)},9102:(pt,Pe,g)=>{"use strict";g.d(Pe,{e:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.share=function(V,H,le,me){return(0,r.DM)(this,"share",{successIndex:4,errorIndex:5},arguments)},R.prototype.shareWithOptions=function(V){return(0,r.DM)(this,"shareWithOptions",{platforms:["iOS","Android"]},arguments)},R.prototype.canShareVia=function(V,H,le,me,q){return(0,r.DM)(this,"canShareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaTwitter=function(V,H,le){return(0,r.DM)(this,"shareViaTwitter",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaFacebook=function(V,H,le){return(0,r.DM)(this,"shareViaFacebook",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaFacebookWithPasteMessageHint=function(V,H,le,me){return(0,r.DM)(this,"shareViaFacebookWithPasteMessageHint",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaInstagram=function(V,H){return(0,r.DM)(this,"shareViaInstagram",{platforms:["iOS","Android"]},arguments)},R.prototype.shareViaWhatsApp=function(V,H,le){return(0,r.DM)(this,"shareViaWhatsApp",{successIndex:3,errorIndex:4,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaWhatsAppToReceiver=function(V,H,le,me){return(0,r.DM)(this,"shareViaWhatsAppToReceiver",{successIndex:4,errorIndex:5,platforms:["iOS","Android"]},arguments)},R.prototype.shareViaSMS=function(V,H){return(0,r.DM)(this,"shareViaSMS",{platforms:["iOS","Android"]},arguments)},R.prototype.canShareViaEmail=function(){return(0,r.DM)(this,"canShareViaEmail",{platforms:["iOS","Android"]},arguments)},R.prototype.shareViaEmail=function(V,H,le,me,q,re){return(0,r.DM)(this,"shareViaEmail",{platforms:["iOS","Android"],successIndex:6,errorIndex:7},arguments)},R.prototype.shareVia=function(V,H,le,me,q){return(0,r.DM)(this,"shareVia",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},R.prototype.setIPadPopupCoordinates=function(V){return(0,r.DM)(this,"setIPadPopupCoordinates",{sync:!0,platforms:["iOS"]},arguments)},R.prototype.saveToPhotoAlbum=function(V){return(0,r.DM)(this,"saveToPhotoAlbum",{platforms:["iOS"]},arguments)},R.prototype.shareViaWhatsAppToPhone=function(V,H,le,me){return(0,r.DM)(this,"shareViaWhatsAppToPhone",{successIndex:5,errorIndex:6,platforms:["iOS","Android"]},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="SocialSharing",R.plugin="cordova-plugin-x-socialsharing",R.pluginRef="plugins.socialsharing",R.repo="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin",R.platforms=["Android","Browser","iOS","Windows","Windows Phone"],R=(0,i.gn)([],R)}(r.On)},5082:(pt,Pe,g)=>{"use strict";g.d(Pe,{c:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},R.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="SplashScreen",R.plugin="cordova-plugin-splashscreen",R.pluginRef="navigator.splashscreen",R.repo="https://github.com/apache/cordova-plugin-splashscreen",R.platforms=["Amazon Fire OS","Android","iOS","Windows"],R=(0,i.gn)([],R)}(r.On)},9062:(pt,Pe,g)=>{"use strict";g.d(Pe,{A:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.overlaysWebView=function(V){return(0,r.DM)(this,"overlaysWebView",{sync:!0},arguments)},R.prototype.styleDefault=function(){return(0,r.DM)(this,"styleDefault",{sync:!0},arguments)},R.prototype.styleLightContent=function(){return(0,r.DM)(this,"styleLightContent",{sync:!0},arguments)},R.prototype.styleBlackTranslucent=function(){return(0,r.DM)(this,"styleBlackTranslucent",{sync:!0},arguments)},R.prototype.styleBlackOpaque=function(){return(0,r.DM)(this,"styleBlackOpaque",{sync:!0},arguments)},R.prototype.backgroundColorByName=function(V){return(0,r.DM)(this,"backgroundColorByName",{sync:!0},arguments)},R.prototype.backgroundColorByHexString=function(V){return(0,r.DM)(this,"backgroundColorByHexString",{sync:!0},arguments)},R.prototype.hide=function(){return(0,r.DM)(this,"hide",{sync:!0},arguments)},R.prototype.show=function(){return(0,r.DM)(this,"show",{sync:!0},arguments)},Object.defineProperty(R.prototype,"isVisible",{get:function(){return(0,r.J2)(this,"isVisible")},set:function(V){(0,r.Iq)(this,"isVisible",V)},enumerable:!1,configurable:!0}),R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="StatusBar",R.plugin="cordova-plugin-statusbar",R.pluginRef="StatusBar",R.repo="https://github.com/apache/cordova-plugin-statusbar",R.platforms=["Android","iOS","Windows"],R=(0,i.gn)([],R)}(r.On)},4879:(pt,Pe,g)=>{"use strict";g.d(Pe,{F:()=>k});var i=g(7582),r=g(7598),T=g(4650),k=function(ne){function R(){return null!==ne&&ne.apply(this,arguments)||this}return(0,i.ZT)(R,ne),R.prototype.show=function(V,H,le){return(0,r.DM)(this,"show",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.hide=function(){return(0,r.DM)(this,"hide",{},arguments)},R.prototype.showWithOptions=function(V){return(0,r.DM)(this,"showWithOptions",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showShortTop=function(V){return(0,r.DM)(this,"showShortTop",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showShortCenter=function(V){return(0,r.DM)(this,"showShortCenter",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showShortBottom=function(V){return(0,r.DM)(this,"showShortBottom",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showLongTop=function(V){return(0,r.DM)(this,"showLongTop",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showLongCenter=function(V){return(0,r.DM)(this,"showLongCenter",{observable:!0,clearFunction:"hide"},arguments)},R.prototype.showLongBottom=function(V){return(0,r.DM)(this,"showLongBottom",{observable:!0,clearFunction:"hide"},arguments)},R.\u0275fac=function(){let V;return function(le){return(V||(V=T.n5z(R)))(le||R)}}(),R.\u0275prov=T.Yz7({token:R,factory:R.\u0275fac}),R.pluginName="Toast",R.plugin="cordova-plugin-x-toast",R.pluginRef="plugins.toast",R.repo="https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin",R.platforms=["Android","BlackBerry 10","iOS","Windows","Windows Phone 8"],R=(0,i.gn)([],R)}(r.On)},9804:(pt,Pe,g)=>{"use strict";g.d(Pe,{c:()=>T,r:()=>q});const T=(z,U)=>{z.componentOnReady?z.componentOnReady().then(be=>U(be)):q(()=>U(z))},q=z=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(z):"function"==typeof requestAnimationFrame?requestAnimationFrame(z):setTimeout(z)},3435:(pt,Pe,g)=>{"use strict";g.d(Pe,{L:()=>i,a:()=>r,b:()=>T,c:()=>k,d:()=>ne,g:()=>z});const i="ionViewWillEnter",r="ionViewDidEnter",T="ionViewWillLeave",k="ionViewDidLeave",ne="ionViewWillUnload",z=U=>U.classList.contains("ion-page")?U:U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||U},4963:(pt,Pe,g)=>{"use strict";g.d(Pe,{c:()=>ie});var i=g(2972),r=g(8635);let T;const ne=K=>K.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),R=K=>(void 0===T&&(T=void 0===K.style.animationName&&void 0!==K.style.webkitAnimationName?"-webkit-":""),T),V=(K,fe,_e)=>{const Ue=fe.startsWith("animation")?R(K):"";K.style.setProperty(Ue+fe,_e)},H=(K,fe)=>{const _e=fe.startsWith("animation")?R(K):"";K.style.removeProperty(_e+fe)},q=[],Q=(K=[],fe)=>{if(void 0!==fe){const _e=Array.isArray(fe)?fe:[fe];return[...K,..._e]}return K},ie=K=>{let fe,_e,Ue,we,Ne,Re,Ce,G,I,N,j,qe,ht,Ve=[],z=[],U=[],be=!1,Te={},$e=[],ce=[],Le={},We=0,at=!1,ve=!1,ue=!0,W=!1,Ye=!0,dt=!1;const xt=K,qt=[],Vt=[],Ht=[],Ut=[],Je=[],et=[],nt=[],It=[],bt=[],on=[],Jt=[],tn="function"==typeof AnimationEffect||void 0!==i.w&&"function"==typeof i.w.AnimationEffect,en="function"==typeof Element&&"function"==typeof Element.prototype.animate&&tn,nn=()=>Jt,hn=(xe,P)=>{const Y=P.findIndex(Se=>Se.c===xe);Y>-1&&P.splice(Y,1)},nr=(xe,P)=>((P?.oneTimeCallback?Vt:qt).push({c:xe,o:P}),ht),or=()=>{if(en)Jt.forEach(xe=>{xe.cancel()}),Jt.length=0;else{const xe=Ut.slice();(0,r.r)(()=>{xe.forEach(P=>{H(P,"animation-name"),H(P,"animation-duration"),H(P,"animation-timing-function"),H(P,"animation-iteration-count"),H(P,"animation-delay"),H(P,"animation-play-state"),H(P,"animation-fill-mode"),H(P,"animation-direction")})})}},pn=()=>{et.forEach(xe=>{xe?.parentNode&&xe.parentNode.removeChild(xe)}),et.length=0},Fn=()=>void 0!==Ne?Ne:Ce?Ce.getFill():"both",Dn=()=>void 0!==I?I:void 0!==Re?Re:Ce?Ce.getDirection():"normal",En=()=>at?"linear":void 0!==Ue?Ue:Ce?Ce.getEasing():"linear",yn=()=>ve?0:void 0!==N?N:void 0!==_e?_e:Ce?Ce.getDuration():0,sn=()=>void 0!==we?we:Ce?Ce.getIterations():1,Ze=()=>void 0!==j?j:void 0!==fe?fe:Ce?Ce.getDelay():0,Nn=()=>{0!==We&&(We--,0===We&&((()=>{C(),bt.forEach(Oe=>Oe()),on.forEach(Oe=>Oe());const xe=ue?1:0,P=$e,Y=ce,Se=Le;Ut.forEach(Oe=>{const He=Oe.classList;P.forEach(ye=>He.add(ye)),Y.forEach(ye=>He.remove(ye));for(const ye in Se)Se.hasOwnProperty(ye)&&V(Oe,ye,Se[ye])}),N=void 0,I=void 0,j=void 0,qt.forEach(Oe=>Oe.c(xe,ht)),Vt.forEach(Oe=>Oe.c(xe,ht)),Vt.length=0,Ye=!0,ue&&(W=!0),ue=!0})(),Ce&&Ce.animationFinish()))},an=(xe=!0)=>{pn();const P=(K=>(K.forEach(fe=>{for(const _e in fe)if(fe.hasOwnProperty(_e)){const Ue=fe[_e];if("easing"===_e)fe["animation-timing-function"]=Ue,delete fe[_e];else{const we=ne(_e);we!==_e&&(fe[we]=Ue,delete fe[_e])}}}),K))(Ve);Ut.forEach(Y=>{if(P.length>0){const Se=((K=[])=>K.map(fe=>{const _e=fe.offset,Ue=[];for(const we in fe)fe.hasOwnProperty(we)&&"offset"!==we&&Ue.push(`${we}: ${fe[we]};`);return`${100*_e}% { ${Ue.join(" ")} }`}).join(" "))(P);qe=void 0!==K?K:(K=>{let fe=q.indexOf(K);return fe<0&&(fe=q.push(K)-1),`ion-animation-${fe}`})(Se);const Oe=((K,fe,_e)=>{var Ue;const we=(K=>{const fe=void 0!==K.getRootNode?K.getRootNode():K;return fe.head||fe})(_e),Ne=R(_e),Re=we.querySelector("#"+K);if(Re)return Re;const Ve=(null!==(Ue=_e.ownerDocument)&&void 0!==Ue?Ue:document).createElement("style");return Ve.id=K,Ve.textContent=`@${Ne}keyframes ${K} { ${fe} } @${Ne}keyframes ${K}-alt { ${fe} }`,we.appendChild(Ve),Ve})(qe,Se,Y);et.push(Oe),V(Y,"animation-duration",`${yn()}ms`),V(Y,"animation-timing-function",En()),V(Y,"animation-delay",`${Ze()}ms`),V(Y,"animation-fill-mode",Fn()),V(Y,"animation-direction",Dn());const He=sn()===1/0?"infinite":sn().toString();V(Y,"animation-iteration-count",He),V(Y,"animation-play-state","paused"),xe&&V(Y,"animation-name",`${Oe.id}-alt`),(0,r.r)(()=>{V(Y,"animation-name",Oe.id||null)})}})},kn=(xe=!0)=>{(()=>{nt.forEach(Se=>Se()),It.forEach(Se=>Se());const xe=z,P=U,Y=Te;Ut.forEach(Se=>{const Oe=Se.classList;xe.forEach(He=>Oe.add(He)),P.forEach(He=>Oe.remove(He));for(const He in Y)Y.hasOwnProperty(He)&&V(Se,He,Y[He])})})(),Ve.length>0&&(en?(Ut.forEach(xe=>{const P=xe.animate(Ve,{id:xt,delay:Ze(),duration:yn(),easing:En(),iterations:sn(),fill:Fn(),direction:Dn()});P.pause(),Jt.push(P)}),Jt.length>0&&(Jt[0].onfinish=()=>{Nn()})):an(xe)),be=!0},Tn=xe=>{if(xe=Math.min(Math.max(xe,0),.9999),en)Jt.forEach(P=>{P.currentTime=P.effect.getComputedTiming().delay+yn()*xe,P.pause()});else{const P=`-${yn()*xe}ms`;Ut.forEach(Y=>{Ve.length>0&&(V(Y,"animation-delay",P),V(Y,"animation-play-state","paused"))})}},Bn=xe=>{Jt.forEach(P=>{P.effect.updateTiming({delay:Ze(),duration:yn(),easing:En(),iterations:sn(),fill:Fn(),direction:Dn()})}),void 0!==xe&&Tn(xe)},hr=(xe=!0,P)=>{(0,r.r)(()=>{Ut.forEach(Y=>{V(Y,"animation-name",qe||null),V(Y,"animation-duration",`${yn()}ms`),V(Y,"animation-timing-function",En()),V(Y,"animation-delay",void 0!==P?`-${P*yn()}ms`:`${Ze()}ms`),V(Y,"animation-fill-mode",Fn()||null),V(Y,"animation-direction",Dn()||null);const Se=sn()===1/0?"infinite":sn().toString();V(Y,"animation-iteration-count",Se),xe&&V(Y,"animation-name",`${qe}-alt`),(0,r.r)(()=>{V(Y,"animation-name",qe||null)})})})},bn=(xe=!1,P=!0,Y)=>(xe&&Je.forEach(Se=>{Se.update(xe,P,Y)}),en?Bn(Y):hr(P,Y),ht),Mt=()=>{be&&(en?Jt.forEach(xe=>{xe.pause()}):Ut.forEach(xe=>{V(xe,"animation-play-state","paused")}),dt=!0)},pe=()=>{G=void 0,Nn()},C=()=>{G&&clearTimeout(G)},Ie=xe=>new Promise(P=>{xe?.sync&&(ve=!0,nr(()=>ve=!1,{oneTimeCallback:!0})),be||kn(),W&&(en?(Tn(0),Bn()):hr(),W=!1),Ye&&(We=Je.length+1,Ye=!1);const Y=()=>{hn(Se,Vt),P()},Se=()=>{hn(Y,Ht),P()};nr(Se,{oneTimeCallback:!0}),((xe,P)=>{Ht.push({c:xe,o:{oneTimeCallback:!0}})})(Y),Je.forEach(Oe=>{Oe.play()}),en?(Jt.forEach(xe=>{xe.play()}),(0===Ve.length||0===Ut.length)&&Nn()):(()=>{if(C(),(0,r.r)(()=>{Ut.forEach(xe=>{Ve.length>0&&V(xe,"animation-play-state","running")})}),0===Ve.length||0===Ut.length)Nn();else{const xe=Ze()||0,P=yn()||0,Y=sn()||1;isFinite(Y)&&(G=setTimeout(pe,xe+P*Y+100)),((K,fe)=>{let _e;const Ue={passive:!0},Ne=Re=>{K===Re.target&&(_e&&_e(),C(),(0,r.r)(()=>{Ut.forEach(xe=>{H(xe,"animation-duration"),H(xe,"animation-delay"),H(xe,"animation-play-state")}),(0,r.r)(Nn)}))};K&&(K.addEventListener("webkitAnimationEnd",Ne,Ue),K.addEventListener("animationend",Ne,Ue),_e=()=>{K.removeEventListener("webkitAnimationEnd",Ne,Ue),K.removeEventListener("animationend",Ne,Ue)})})(Ut[0])}})(),dt=!1}),tt=(xe,P)=>{const Y=Ve[0];return void 0===Y||void 0!==Y.offset&&0!==Y.offset?Ve=[{offset:0,[xe]:P},...Ve]:Y[xe]=P,ht};return ht={parentAnimation:Ce,elements:Ut,childAnimations:Je,id:xt,animationFinish:Nn,from:tt,to:(xe,P)=>{const Y=Ve[Ve.length-1];return void 0===Y||void 0!==Y.offset&&1!==Y.offset?Ve=[...Ve,{offset:1,[xe]:P}]:Y[xe]=P,ht},fromTo:(xe,P,Y)=>tt(xe,P).to(xe,Y),parent:xe=>(Ce=xe,ht),play:Ie,pause:()=>(Je.forEach(xe=>{xe.pause()}),Mt(),ht),stop:()=>{Je.forEach(xe=>{xe.stop()}),be&&(or(),be=!1),at=!1,ve=!1,Ye=!0,I=void 0,N=void 0,j=void 0,We=0,W=!1,ue=!0,dt=!1,Ht.forEach(xe=>xe.c(0,ht)),Ht.length=0},destroy:xe=>(Je.forEach(P=>{P.destroy(xe)}),(xe=>{or(),xe&&pn()})(xe),Ut.length=0,Je.length=0,Ve.length=0,qt.length=0,Vt.length=0,be=!1,Ye=!0,ht),keyframes:xe=>{const P=Ve!==xe;return Ve=xe,P&&(xe=>{en?nn().forEach(P=>{const Y=P.effect;if(Y.setKeyframes)Y.setKeyframes(xe);else{const Se=new KeyframeEffect(Y.target,xe,Y.getTiming());P.effect=Se}}):an()})(Ve),ht},addAnimation:xe=>{if(null!=xe)if(Array.isArray(xe))for(const P of xe)P.parent(ht),Je.push(P);else xe.parent(ht),Je.push(xe);return ht},addElement:xe=>{if(null!=xe)if(1===xe.nodeType)Ut.push(xe);else if(xe.length>=0)for(let P=0;P(Ne=xe,bn(!0),ht),direction:xe=>(Re=xe,bn(!0),ht),iterations:xe=>(we=xe,bn(!0),ht),duration:xe=>(!en&&0===xe&&(xe=1),_e=xe,bn(!0),ht),easing:xe=>(Ue=xe,bn(!0),ht),delay:xe=>(fe=xe,bn(!0),ht),getWebAnimations:nn,getKeyframes:()=>Ve,getFill:Fn,getDirection:Dn,getDelay:Ze,getIterations:sn,getEasing:En,getDuration:yn,afterAddRead:xe=>(bt.push(xe),ht),afterAddWrite:xe=>(on.push(xe),ht),afterClearStyles:(xe=[])=>{for(const P of xe)Le[P]="";return ht},afterStyles:(xe={})=>(Le=xe,ht),afterRemoveClass:xe=>(ce=Q(ce,xe),ht),afterAddClass:xe=>($e=Q($e,xe),ht),beforeAddRead:xe=>(nt.push(xe),ht),beforeAddWrite:xe=>(It.push(xe),ht),beforeClearStyles:(xe=[])=>{for(const P of xe)Te[P]="";return ht},beforeStyles:(xe={})=>(Te=xe,ht),beforeRemoveClass:xe=>(U=Q(U,xe),ht),beforeAddClass:xe=>(z=Q(z,xe),ht),onFinish:nr,isRunning:()=>0!==We&&!dt,progressStart:(xe=!1,P)=>(Je.forEach(Y=>{Y.progressStart(xe,P)}),Mt(),at=xe,be||kn(),bn(!1,!0,P),ht),progressStep:xe=>(Je.forEach(P=>{P.progressStep(xe)}),Tn(xe),ht),progressEnd:(xe,P,Y)=>(at=!1,Je.forEach(Se=>{Se.progressEnd(xe,P,Y)}),void 0!==Y&&(N=Y),W=!1,ue=!0,0===xe?(I="reverse"===Dn()?"normal":"reverse","reverse"===I&&(ue=!1),en?(bn(),Tn(1-P)):(j=(1-P)*yn()*-1,bn(!1,!1))):1===xe&&(en?(bn(),Tn(P)):(j=P*yn()*-1,bn(!1,!1))),void 0!==xe&&!Ce&&Ie(),ht)}}},7036:(pt,Pe,g)=>{"use strict";g.d(Pe,{E:()=>me,a:()=>i,s:()=>H});const i=q=>{try{if(q instanceof V)return q.value;if(!k()||"string"!=typeof q||""===q)return q;if(q.includes("onload="))return"";const re=document.createDocumentFragment(),he=document.createElement("div");re.appendChild(he),he.innerHTML=q,R.forEach(K=>{const fe=re.querySelectorAll(K);for(let _e=fe.length-1;_e>=0;_e--){const Ue=fe[_e];Ue.parentNode?Ue.parentNode.removeChild(Ue):re.removeChild(Ue);const we=T(Ue);for(let Ne=0;Ne{if(q.nodeType&&1!==q.nodeType)return;if(typeof NamedNodeMap<"u"&&!(q.attributes instanceof NamedNodeMap))return void q.remove();for(let he=q.attributes.length-1;he>=0;he--){const ae=q.attributes.item(he),Q=ae.name;if(!ne.includes(Q.toLowerCase())){q.removeAttribute(Q);continue}const ie=ae.value,K=q[Q];(null!=ie&&ie.toLowerCase().includes("javascript:")||null!=K&&K.toLowerCase().includes("javascript:"))&&q.removeAttribute(Q)}const re=T(q);for(let he=0;henull!=q.children?q.children:q.childNodes,k=()=>{var q;const he=null===(q=window?.Ionic)||void 0===q?void 0:q.config;return!he||(he.get?he.get("sanitizerEnabled",!0):!0===he.sanitizerEnabled||void 0===he.sanitizerEnabled)},ne=["class","id","href","src","name","slot"],R=["script","style","iframe","meta","link","object","embed"];class V{constructor(re){this.value=re}}const H=q=>{const re=window,he=re.Ionic;if(!he||!he.config||"Object"===he.config.constructor.name)return re.Ionic=re.Ionic||{},re.Ionic.config=Object.assign(Object.assign({},re.Ionic.config),q),re.Ionic.config},me=!1},5030:(pt,Pe,g)=>{"use strict";g.d(Pe,{C:()=>ne,a:()=>T,d:()=>k});var i=g(5861),r=g(8635);const T=function(){var R=(0,i.Z)(function*(V,H,le,me,q,re){var he;if(V)return V.attachViewToDom(H,le,q,me);if(!(re||"string"==typeof le||le instanceof HTMLElement))throw new Error("framework delegate is missing");const ae="string"==typeof le?null===(he=H.ownerDocument)||void 0===he?void 0:he.createElement(le):le;return me&&me.forEach(Q=>ae.classList.add(Q)),q&&Object.assign(ae,q),H.appendChild(ae),yield new Promise(Q=>(0,r.c)(ae,Q)),ae});return function(H,le,me,q,re,he){return R.apply(this,arguments)}}(),k=(R,V)=>{if(V){if(R)return R.removeViewFromDom(V.parentElement,V);V.remove()}return Promise.resolve()},ne=()=>{let R,V;return{attachViewToDom:function(){var me=(0,i.Z)(function*(q,re,he={},ae=[]){var Q,ie;let K;if(R=q,re){const _e="string"==typeof re?null===(Q=R.ownerDocument)||void 0===Q?void 0:Q.createElement(re):re;ae.forEach(Ue=>_e.classList.add(Ue)),Object.assign(_e,he),R.appendChild(_e),K=_e,yield new Promise(Ue=>(0,r.c)(_e,Ue))}else if(R.children.length>0&&("ION-MODAL"===R.tagName||"ION-POPOVER"===R.tagName)&&!(K=R.children[0]).classList.contains("ion-delegate-host")){const Ue=null===(ie=R.ownerDocument)||void 0===ie?void 0:ie.createElement("div");Ue.classList.add("ion-delegate-host"),ae.forEach(we=>Ue.classList.add(we)),Ue.append(...R.children),R.appendChild(Ue),K=Ue}const fe=document.querySelector("ion-app")||document.body;return V=document.createComment("ionic teleport"),R.parentNode.insertBefore(V,R),fe.appendChild(R),K??R});return function(re,he){return me.apply(this,arguments)}}(),removeViewFromDom:()=>(R&&V&&(V.parentNode.insertBefore(R,V),V.remove()),Promise.resolve())}}},2889:(pt,Pe,g)=>{"use strict";g.d(Pe,{G:()=>ne});class r{constructor(V,H,le,me,q){this.id=H,this.name=le,this.disableScroll=q,this.priority=1e6*me+H,this.ctrl=V}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const V=this.ctrl.capture(this.name,this.id,this.priority);return V&&this.disableScroll&&this.ctrl.disableScroll(this.id),V}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class T{constructor(V,H,le,me){this.id=H,this.disable=le,this.disableScroll=me,this.ctrl=V}block(){if(this.ctrl){if(this.disable)for(const V of this.disable)this.ctrl.disableGesture(V,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const V of this.disable)this.ctrl.enableGesture(V,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const k="backdrop-no-scroll",ne=new class i{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(V){var H;return new r(this,this.newID(),V.name,null!==(H=V.priority)&&void 0!==H?H:0,!!V.disableScroll)}createBlocker(V={}){return new T(this,this.newID(),V.disable,!!V.disableScroll)}start(V,H,le){return this.canStart(V)?(this.requestedStart.set(H,le),!0):(this.requestedStart.delete(H),!1)}capture(V,H,le){if(!this.start(V,H,le))return!1;const me=this.requestedStart;let q=-1e4;if(me.forEach(re=>{q=Math.max(q,re)}),q===le){this.capturedId=H,me.clear();const re=new CustomEvent("ionGestureCaptured",{detail:{gestureName:V}});return document.dispatchEvent(re),!0}return me.delete(H),!1}release(V){this.requestedStart.delete(V),this.capturedId===V&&(this.capturedId=void 0)}disableGesture(V,H){let le=this.disabledGestures.get(V);void 0===le&&(le=new Set,this.disabledGestures.set(V,le)),le.add(H)}enableGesture(V,H){const le=this.disabledGestures.get(V);void 0!==le&&le.delete(H)}disableScroll(V){this.disabledScroll.add(V),1===this.disabledScroll.size&&document.body.classList.add(k)}enableScroll(V){this.disabledScroll.delete(V),0===this.disabledScroll.size&&document.body.classList.remove(k)}canStart(V){return!(void 0!==this.capturedId||this.isDisabled(V))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(V){const H=this.disabledGestures.get(V);return!!(H&&H.size>0)}newID(){return this.gestureId++,this.gestureId}}},9019:(pt,Pe,g)=>{"use strict";g.r(Pe),g.d(Pe,{MENU_BACK_BUTTON_PRIORITY:()=>le,OVERLAY_BACK_BUTTON_PRIORITY:()=>H,blockHardwareBackButton:()=>R,shouldUseCloseWatcher:()=>ne,startHardwareBackButton:()=>V});var i=g(5861),r=g(2972),T=g(4700);g(6541);const ne=()=>T.c.get("experimentalCloseWatcher",!1)&&void 0!==r.w&&"CloseWatcher"in r.w,R=()=>{document.addEventListener("backbutton",()=>{})},V=()=>{const me=document;let q=!1;const re=()=>{if(q)return;let he=0,ae=[];const Q=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(fe,_e){ae.push({priority:fe,handler:_e,id:he++})}}});me.dispatchEvent(Q);const ie=function(){var fe=(0,i.Z)(function*(_e){try{if(_e?.handler){const Ue=_e.handler(K);null!=Ue&&(yield Ue)}}catch(Ue){console.error(Ue)}});return function(Ue){return fe.apply(this,arguments)}}(),K=()=>{if(ae.length>0){let fe={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};ae.forEach(_e=>{_e.priority>=fe.priority&&(fe=_e)}),q=!0,ae=ae.filter(_e=>_e.id!==fe.id),ie(fe).then(()=>q=!1)}};K()};if(ne()){let he;const ae=()=>{he?.destroy(),he=new r.w.CloseWatcher,he.onclose=()=>{re(),ae()}};ae()}else me.addEventListener("backbutton",re)},H=100,le=99},8635:(pt,Pe,g)=>{"use strict";g.d(Pe,{a:()=>H,b:()=>le,c:()=>T,d:()=>ie,e:()=>Q,f:()=>ae,g:()=>me,h:()=>he,i:()=>V,j:()=>Ne,k:()=>ne,l:()=>K,m:()=>k,n:()=>re,o:()=>fe,p:()=>we,q:()=>Re,r:()=>q,s:()=>Ve,t:()=>i,u:()=>_e,v:()=>Ue});const i=(z,U=0)=>new Promise(be=>{r(z,U,be)}),r=(z,U=0,be)=>{let Ce,Te;const $e={passive:!0},Le=()=>{Ce&&Ce()},We=at=>{(void 0===at||z===at.target)&&(Le(),be(at))};return z&&(z.addEventListener("webkitTransitionEnd",We,$e),z.addEventListener("transitionend",We,$e),Te=setTimeout(We,U+500),Ce=()=>{void 0!==Te&&(clearTimeout(Te),Te=void 0),z.removeEventListener("webkitTransitionEnd",We,$e),z.removeEventListener("transitionend",We,$e)}),Le},T=(z,U)=>{z.componentOnReady?z.componentOnReady().then(be=>U(be)):q(()=>U(z))},k=z=>void 0!==z.componentOnReady,ne=(z,U=[])=>{const be={};return U.forEach(Ce=>{z.hasAttribute(Ce)&&(null!==z.getAttribute(Ce)&&(be[Ce]=z.getAttribute(Ce)),z.removeAttribute(Ce))}),be},R=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],V=(z,U)=>{let be=R;return U&&U.length>0&&(be=be.filter(Ce=>!U.includes(Ce))),ne(z,be)},H=(z,U,be,Ce)=>{var Te;if(typeof window<"u"){const ce=null===(Te=window?.Ionic)||void 0===Te?void 0:Te.config;if(ce){const Le=ce.get("_ael");if(Le)return Le(z,U,be,Ce);if(ce._ael)return ce._ael(z,U,be,Ce)}}return z.addEventListener(U,be,Ce)},le=(z,U,be,Ce)=>{var Te;if(typeof window<"u"){const ce=null===(Te=window?.Ionic)||void 0===Te?void 0:Te.config;if(ce){const Le=ce.get("_rel");if(Le)return Le(z,U,be,Ce);if(ce._rel)return ce._rel(z,U,be,Ce)}}return z.removeEventListener(U,be,Ce)},me=(z,U=z)=>z.shadowRoot||U,q=z=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(z):"function"==typeof requestAnimationFrame?requestAnimationFrame(z):setTimeout(z),re=z=>!!z.shadowRoot&&!!z.attachShadow,he=z=>{const U=z.closest("ion-item");return U?U.querySelector("ion-label"):null},ae=z=>{if(z.focus(),z.classList.contains("ion-focusable")){const U=z.closest("ion-app");U&&U.setFocus([z])}},Q=(z,U)=>{let be;const Ce=z.getAttribute("aria-labelledby"),Te=z.id;let $e=null!==Ce&&""!==Ce.trim()?Ce:U+"-lbl",ce=null!==Ce&&""!==Ce.trim()?document.getElementById(Ce):he(z);return ce?(null===Ce&&(ce.id=$e),be=ce.textContent,ce.setAttribute("aria-hidden","true")):""!==Te.trim()&&(ce=document.querySelector(`label[for="${Te}"]`),ce&&(""!==ce.id?$e=ce.id:ce.id=$e=`${Te}-lbl`,be=ce.textContent)),{label:ce,labelId:$e,labelText:be}},ie=(z,U,be,Ce,Te)=>{if(z||re(U)){let $e=U.querySelector("input.aux-input");$e||($e=U.ownerDocument.createElement("input"),$e.type="hidden",$e.classList.add("aux-input"),U.appendChild($e)),$e.disabled=Te,$e.name=be,$e.value=Ce||""}},K=(z,U,be)=>Math.max(z,Math.min(U,be)),fe=(z,U)=>{if(!z){const be="ASSERT: "+U;throw console.error(be),new Error(be)}},_e=z=>z.timeStamp||Date.now(),Ue=z=>{if(z){const U=z.changedTouches;if(U&&U.length>0){const be=U[0];return{x:be.clientX,y:be.clientY}}if(void 0!==z.pageX)return{x:z.pageX,y:z.pageY}}return{x:0,y:0}},we=z=>{const U="rtl"===document.dir;switch(z){case"start":return U;case"end":return!U;default:throw new Error(`"${z}" is not a valid value for [side]. Use "start" or "end" instead.`)}},Ne=(z,U)=>{const be=z._original||z;return{_original:z,emit:Re(be.emit.bind(be),U)}},Re=(z,U=0)=>{let be;return(...Ce)=>{clearTimeout(be),be=setTimeout(z,U,...Ce)}},Ve=(z,U)=>{if(z??(z={}),U??(U={}),z===U)return!0;const be=Object.keys(z);if(be.length!==Object.keys(U).length)return!1;for(const Ce of be)if(!(Ce in U)||z[Ce]!==U[Ce])return!1;return!0}},5067:(pt,Pe,g)=>{"use strict";g.r(Pe),g.d(Pe,{GESTURE_CONTROLLER:()=>i.G,createGesture:()=>le});var i=g(2889);const r=(he,ae,Q,ie)=>{const K=T(he)?{capture:!!ie.capture,passive:!!ie.passive}:!!ie.capture;let fe,_e;return he.__zone_symbol__addEventListener?(fe="__zone_symbol__addEventListener",_e="__zone_symbol__removeEventListener"):(fe="addEventListener",_e="removeEventListener"),he[fe](ae,Q,K),()=>{he[_e](ae,Q,K)}},T=he=>{if(void 0===k)try{const ae=Object.defineProperty({},"passive",{get:()=>{k=!0}});he.addEventListener("optsTest",()=>{},ae)}catch{k=!1}return!!k};let k;const V=he=>he instanceof Document?he:he.ownerDocument,le=he=>{let ae=!1,Q=!1,ie=!0,K=!1;const fe=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},he),_e=fe.canStart,Ue=fe.onWillStart,we=fe.onStart,Ne=fe.onEnd,Re=fe.notCaptured,Ve=fe.onMove,z=fe.threshold,U=fe.passive,be=fe.blurOnStart,Ce={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},Te=((he,ae,Q)=>{const ie=Q*(Math.PI/180),K="x"===he,fe=Math.cos(ie),_e=ae*ae;let Ue=0,we=0,Ne=!1,Re=0;return{start(Ve,z){Ue=Ve,we=z,Re=0,Ne=!0},detect(Ve,z){if(!Ne)return!1;const U=Ve-Ue,be=z-we,Ce=U*U+be*be;if(Ce<_e)return!1;const Te=Math.sqrt(Ce),$e=(K?U:be)/Te;return Re=$e>fe?1:$e<-fe?-1:0,Ne=!1,!0},isGesture:()=>0!==Re,getDirection:()=>Re}})(fe.direction,fe.threshold,fe.maxAngle),$e=i.G.createGesture({name:he.gestureName,priority:he.gesturePriority,disableScroll:he.disableScroll}),We=()=>{ae&&(K=!1,Ve&&Ve(Ce))},at=()=>!!$e.capture()&&(ae=!0,ie=!1,Ce.startX=Ce.currentX,Ce.startY=Ce.currentY,Ce.startTime=Ce.currentTime,Ue?Ue(Ce).then(G):G(),!0),G=()=>{be&&(()=>{if(typeof document<"u"){const W=document.activeElement;W?.blur&&W.blur()}})(),we&&we(Ce),ie=!0},I=()=>{ae=!1,Q=!1,K=!1,ie=!0,$e.release()},N=W=>{const Ye=ae,qe=ie;if(I(),qe){if(me(Ce,W),Ye)return void(Ne&&Ne(Ce));Re&&Re(Ce)}},j=((he,ae,Q,ie,K)=>{let fe,_e,Ue,we,Ne,Re,Ve,z=0;const U=ve=>{z=Date.now()+2e3,ae(ve)&&(!_e&&Q&&(_e=r(he,"touchmove",Q,K)),Ue||(Ue=r(ve.target,"touchend",Ce,K)),we||(we=r(ve.target,"touchcancel",Ce,K)))},be=ve=>{z>Date.now()||ae(ve)&&(!Re&&Q&&(Re=r(V(he),"mousemove",Q,K)),Ve||(Ve=r(V(he),"mouseup",Te,K)))},Ce=ve=>{$e(),ie&&ie(ve)},Te=ve=>{ce(),ie&&ie(ve)},$e=()=>{_e&&_e(),Ue&&Ue(),we&&we(),_e=Ue=we=void 0},ce=()=>{Re&&Re(),Ve&&Ve(),Re=Ve=void 0},Le=()=>{$e(),ce()},We=(ve=!0)=>{ve?(fe||(fe=r(he,"touchstart",U,K)),Ne||(Ne=r(he,"mousedown",be,K))):(fe&&fe(),Ne&&Ne(),fe=Ne=void 0,Le())};return{enable:We,stop:Le,destroy:()=>{We(!1),ie=Q=ae=void 0}}})(fe.el,W=>{const Ye=re(W);return!(Q||!ie||(q(W,Ce),Ce.startX=Ce.currentX,Ce.startY=Ce.currentY,Ce.startTime=Ce.currentTime=Ye,Ce.velocityX=Ce.velocityY=Ce.deltaX=Ce.deltaY=0,Ce.event=W,_e&&!1===_e(Ce))||($e.release(),!$e.start()))&&(Q=!0,0===z?at():(Te.start(Ce.startX,Ce.startY),!0))},W=>{ae?!K&&ie&&(K=!0,me(Ce,W),requestAnimationFrame(We)):(me(Ce,W),Te.detect(Ce.currentX,Ce.currentY)&&(!Te.isGesture()||!at())&&ue())},N,{capture:!1,passive:U}),ue=()=>{I(),j.stop(),Re&&Re(Ce)};return{enable(W=!0){W||(ae&&N(void 0),I()),j.enable(W)},destroy(){$e.destroy(),j.destroy()}}},me=(he,ae)=>{if(!ae)return;const Q=he.currentX,ie=he.currentY,K=he.currentTime;q(ae,he);const fe=he.currentX,_e=he.currentY,we=(he.currentTime=re(ae))-K;if(we>0&&we<100){const Re=(_e-ie)/we;he.velocityX=(fe-Q)/we*.7+.3*he.velocityX,he.velocityY=.7*Re+.3*he.velocityY}he.deltaX=fe-he.startX,he.deltaY=_e-he.startY,he.event=ae},q=(he,ae)=>{let Q=0,ie=0;if(he){const K=he.changedTouches;if(K&&K.length>0){const fe=K[0];Q=fe.clientX,ie=fe.clientY}else void 0!==he.pageX&&(Q=he.pageX,ie=he.pageY)}ae.currentX=Q,ae.currentY=ie},re=he=>he.timeStamp||Date.now()},2458:(pt,Pe,g)=>{"use strict";g.d(Pe,{m:()=>he});var i=g(5861),r=g(2972),T=g(9019),k=g(8909),ne=g(8635),R=g(4700),V=g(4963);const H=ae=>(0,V.c)().duration(ae?400:300),le=ae=>{let Q,ie;const K=ae.width+8,fe=(0,V.c)(),_e=(0,V.c)();ae.isEndSide?(Q=K+"px",ie="0px"):(Q=-K+"px",ie="0px"),fe.addElement(ae.menuInnerEl).fromTo("transform",`translateX(${Q})`,`translateX(${ie})`);const we="ios"===(0,R.b)(ae),Ne=we?.2:.25;return _e.addElement(ae.backdropEl).fromTo("opacity",.01,Ne),H(we).addAnimation([fe,_e])},me=ae=>{let Q,ie;const K=(0,R.b)(ae),fe=ae.width;ae.isEndSide?(Q=-fe+"px",ie=fe+"px"):(Q=fe+"px",ie=-fe+"px");const _e=(0,V.c)().addElement(ae.menuInnerEl).fromTo("transform",`translateX(${ie})`,"translateX(0px)"),Ue=(0,V.c)().addElement(ae.contentEl).fromTo("transform","translateX(0px)",`translateX(${Q})`),we=(0,V.c)().addElement(ae.backdropEl).fromTo("opacity",.01,.32);return H("ios"===K).addAnimation([_e,Ue,we])},q=ae=>{const Q=(0,R.b)(ae),ie=ae.width*(ae.isEndSide?-1:1)+"px",K=(0,V.c)().addElement(ae.contentEl).fromTo("transform","translateX(0px)",`translateX(${ie})`);return H("ios"===Q).addAnimation(K)},he=(()=>{const ae=new Map,Q=[],ie=function(){var I=(0,i.Z)(function*(N){const j=yield Re(N,!0);return!!j&&j.open()});return function(j){return I.apply(this,arguments)}}(),K=function(){var I=(0,i.Z)(function*(N){const j=yield void 0!==N?Re(N,!0):Ve();return void 0!==j&&j.close()});return function(j){return I.apply(this,arguments)}}(),fe=function(){var I=(0,i.Z)(function*(N){const j=yield Re(N,!0);return!!j&&j.toggle()});return function(j){return I.apply(this,arguments)}}(),_e=function(){var I=(0,i.Z)(function*(N,j){const ue=yield Re(j);return ue&&(ue.disabled=!N),ue});return function(j,ue){return I.apply(this,arguments)}}(),Ue=function(){var I=(0,i.Z)(function*(N,j){const ue=yield Re(j);return ue&&(ue.swipeGesture=N),ue});return function(j,ue){return I.apply(this,arguments)}}(),we=function(){var I=(0,i.Z)(function*(N){if(null!=N){const j=yield Re(N);return void 0!==j&&j.isOpen()}return void 0!==(yield Ve())});return function(j){return I.apply(this,arguments)}}(),Ne=function(){var I=(0,i.Z)(function*(N){const j=yield Re(N);return!!j&&!j.disabled});return function(j){return I.apply(this,arguments)}}(),Re=function(){var I=(0,i.Z)(function*(N,j=!1){if(yield G(),"start"===N||"end"===N){const W=Q.filter(qe=>qe.side===N&&!qe.disabled);if(W.length>=1)return W.length>1&&j&&(0,k.p)(`menuController queried for a menu on the "${N}" side, but ${W.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,W.map(qe=>qe.el)),W[0].el;const Ye=Q.filter(qe=>qe.side===N);if(Ye.length>=1)return Ye.length>1&&j&&(0,k.p)(`menuController queried for a menu on the "${N}" side, but ${Ye.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,Ye.map(qe=>qe.el)),Ye[0].el}else if(null!=N)return ve(W=>W.menuId===N);return ve(W=>!W.disabled)||(Q.length>0?Q[0].el:void 0)});return function(j){return I.apply(this,arguments)}}(),Ve=function(){var I=(0,i.Z)(function*(){return yield G(),Le()});return function(){return I.apply(this,arguments)}}(),z=function(){var I=(0,i.Z)(function*(){return yield G(),We()});return function(){return I.apply(this,arguments)}}(),U=function(){var I=(0,i.Z)(function*(){return yield G(),at()});return function(){return I.apply(this,arguments)}}(),be=(I,N)=>{ae.set(I,N)},$e=function(){var I=(0,i.Z)(function*(N,j,ue){if(at())return!1;if(j){const W=yield Ve();W&&N.el!==W&&(yield W.setOpen(!1,!1))}return N._setOpen(j,ue)});return function(j,ue,W){return I.apply(this,arguments)}}(),Le=()=>ve(I=>I._isOpen),We=()=>Q.map(I=>I.el),at=()=>Q.some(I=>I.isAnimating),ve=I=>{const N=Q.find(I);if(void 0!==N)return N.el},G=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(I=>new Promise(N=>(0,ne.c)(I,N))));return be("reveal",q),be("push",me),be("overlay",le),null==r.d||r.d.addEventListener("ionBackButton",I=>{const N=Le();N&&I.detail.register(T.MENU_BACK_BUTTON_PRIORITY,()=>N.close())}),{registerAnimation:be,get:Re,getMenus:z,getOpen:Ve,isEnabled:Ne,swipeGesture:Ue,isAnimating:U,isOpen:we,enable:_e,toggle:fe,close:K,open:ie,_getOpenSync:Le,_createAnimation:(I,N)=>{const j=ae.get(I);if(!j)throw new Error("animation not registered");return j(N)},_register:I=>{Q.indexOf(I)<0&&Q.push(I)},_unregister:I=>{const N=Q.indexOf(I);N>-1&&Q.splice(N,1)},_setOpen:$e}})()},2005:(pt,Pe,g)=>{"use strict";g.d(Pe,{b:()=>R,c:()=>V,d:()=>H,e:()=>z,g:()=>Ce,l:()=>Re,s:()=>U,t:()=>q,w:()=>Ve});var i=g(5861),r=g(6541),T=g(8635);const R="ionViewWillLeave",V="ionViewDidLeave",H="ionViewWillUnload",q=Te=>new Promise(($e,ce)=>{(0,r.w)(()=>{re(Te),he(Te).then(Le=>{Le.animation&&Le.animation.destroy(),ae(Te),$e(Le)},Le=>{ae(Te),ce(Le)})})}),re=Te=>{const $e=Te.enteringEl,ce=Te.leavingEl;be($e,ce,Te.direction),Te.showGoBack?$e.classList.add("can-go-back"):$e.classList.remove("can-go-back"),U($e,!1),$e.style.setProperty("pointer-events","none"),ce&&(U(ce,!1),ce.style.setProperty("pointer-events","none"))},he=function(){var Te=(0,i.Z)(function*($e){const ce=yield Q($e);return ce&&r.B.isBrowser?ie(ce,$e):K($e)});return function(ce){return Te.apply(this,arguments)}}(),ae=Te=>{const $e=Te.enteringEl,ce=Te.leavingEl;$e.classList.remove("ion-page-invisible"),$e.style.removeProperty("pointer-events"),void 0!==ce&&(ce.classList.remove("ion-page-invisible"),ce.style.removeProperty("pointer-events"))},Q=function(){var Te=(0,i.Z)(function*($e){return $e.leavingEl&&$e.animated&&0!==$e.duration?$e.animationBuilder?$e.animationBuilder:"ios"===$e.mode?(yield Promise.resolve().then(g.bind(g,7862))).iosTransitionAnimation:(yield Promise.resolve().then(g.bind(g,7344))).mdTransitionAnimation:void 0});return function(ce){return Te.apply(this,arguments)}}(),ie=function(){var Te=(0,i.Z)(function*($e,ce){yield fe(ce,!0);const Le=$e(ce.baseEl,ce);we(ce.enteringEl,ce.leavingEl);const We=yield Ue(Le,ce);return ce.progressCallback&&ce.progressCallback(void 0),We&&Ne(ce.enteringEl,ce.leavingEl),{hasCompleted:We,animation:Le}});return function(ce,Le){return Te.apply(this,arguments)}}(),K=function(){var Te=(0,i.Z)(function*($e){const ce=$e.enteringEl,Le=$e.leavingEl;return yield fe($e,!1),we(ce,Le),Ne(ce,Le),{hasCompleted:!0}});return function(ce){return Te.apply(this,arguments)}}(),fe=function(){var Te=(0,i.Z)(function*($e,ce){(void 0!==$e.deepWait?$e.deepWait:ce)&&(yield Promise.all([z($e.enteringEl),z($e.leavingEl)])),yield _e($e.viewIsReady,$e.enteringEl)});return function(ce,Le){return Te.apply(this,arguments)}}(),_e=function(){var Te=(0,i.Z)(function*($e,ce){$e&&(yield $e(ce))});return function(ce,Le){return Te.apply(this,arguments)}}(),Ue=(Te,$e)=>{const ce=$e.progressCallback,Le=new Promise(We=>{Te.onFinish(at=>We(1===at))});return ce?(Te.progressStart(!0),ce(Te)):Te.play(),Le},we=(Te,$e)=>{Re($e,R),Re(Te,"ionViewWillEnter")},Ne=(Te,$e)=>{Re(Te,"ionViewDidEnter"),Re($e,V)},Re=(Te,$e)=>{if(Te){const ce=new CustomEvent($e,{bubbles:!1,cancelable:!1});Te.dispatchEvent(ce)}},Ve=()=>new Promise(Te=>(0,T.r)(()=>(0,T.r)(()=>Te()))),z=function(){var Te=(0,i.Z)(function*($e){const ce=$e;if(ce){if(null!=ce.componentOnReady){if(null!=(yield ce.componentOnReady()))return}else if(null!=ce.__registerHost)return void(yield new Promise(We=>(0,T.r)(We)));yield Promise.all(Array.from(ce.children).map(z))}});return function(ce){return Te.apply(this,arguments)}}(),U=(Te,$e)=>{$e?(Te.setAttribute("aria-hidden","true"),Te.classList.add("ion-page-hidden")):(Te.hidden=!1,Te.removeAttribute("aria-hidden"),Te.classList.remove("ion-page-hidden"))},be=(Te,$e,ce)=>{void 0!==Te&&(Te.style.zIndex="back"===ce?"99":"101"),void 0!==$e&&($e.style.zIndex="100")},Ce=Te=>Te.classList.contains("ion-page")?Te:Te.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||Te},8909:(pt,Pe,g)=>{"use strict";g.d(Pe,{a:()=>r,b:()=>T,p:()=>i});const i=(k,...ne)=>console.warn(`[Ionic Warning]: ${k}`,...ne),r=(k,...ne)=>console.error(`[Ionic Error]: ${k}`,...ne),T=(k,...ne)=>console.error(`<${k.tagName.toLowerCase()}> must be used inside ${ne.join(" or ")}.`)},2972:(pt,Pe,g)=>{"use strict";g.d(Pe,{d:()=>r,w:()=>i});const i=typeof window<"u"?window:void 0,r=typeof document<"u"?document:void 0},6541:(pt,Pe,g)=>{"use strict";g.d(Pe,{B:()=>re,H:()=>at,a:()=>Pn,b:()=>Ln,c:()=>qe,d:()=>qt,e:()=>vt,f:()=>xt,g:()=>ht,h:()=>Le,i:()=>Fn,j:()=>he,r:()=>an,w:()=>xe});var i=g(5861);let k,ne,R,V=!1,H=!1,le=!1,me=!1,q=!1;const re={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},he=P=>{const Y=new URL(P,Mt.$resourcesUrl$);return Y.origin!==$n.location.origin?Y.href:Y.pathname},Ue="s-id",we="sty-id",Ve="slot-fb{display:contents}slot-fb[hidden]{display:none}",z="http://www.w3.org/1999/xlink",U={},$e=P=>"object"==(P=typeof P)||"function"===P;function ce(P){var Y,Se,Oe;return null!==(Oe=null===(Se=null===(Y=P.head)||void 0===Y?void 0:Y.querySelector('meta[name="csp-nonce"]'))||void 0===Se?void 0:Se.getAttribute("content"))&&void 0!==Oe?Oe:void 0}const Le=(P,Y,...Se)=>{let Oe=null,He=null,ye=null,Qe=!1,yt=!1;const _t=[],lt=Ft=>{for(let Lt=0;LtFt[Lt]).join(" "))}}if("function"==typeof P)return P(null===Y?{}:Y,_t,G);const Et=We(P,null);return Et.$attrs$=Y,_t.length>0&&(Et.$children$=_t),Et.$key$=He,Et.$name$=ye,Et},We=(P,Y)=>({$flags$:0,$tag$:P,$text$:Y,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),at={},G={forEach:(P,Y)=>P.map(I).forEach(Y),map:(P,Y)=>P.map(I).map(Y).map(N)},I=P=>({vattrs:P.$attrs$,vchildren:P.$children$,vkey:P.$key$,vname:P.$name$,vtag:P.$tag$,vtext:P.$text$}),N=P=>{if("function"==typeof P.vtag){const Se=Object.assign({},P.vattrs);return P.vkey&&(Se.key=P.vkey),P.vname&&(Se.name=P.vname),Le(P.vtag,Se,...P.vchildren||[])}const Y=We(P.vtag,P.vtext);return Y.$attrs$=P.vattrs,Y.$children$=P.vchildren,Y.$key$=P.vkey,Y.$name$=P.vname,Y},ue=(P,Y,Se,Oe,He,ye,Qe)=>{let yt,_t,lt,Et;if(1===ye.nodeType){for(yt=ye.getAttribute("c-id"),yt&&(_t=yt.split("."),(_t[0]===Qe||"0"===_t[0])&&(lt={$flags$:0,$hostId$:_t[0],$nodeId$:_t[1],$depth$:_t[2],$index$:_t[3],$tag$:ye.tagName.toLowerCase(),$elm$:ye,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Y.push(lt),ye.removeAttribute("c-id"),P.$children$||(P.$children$=[]),P.$children$[lt.$index$]=lt,P=lt,Oe&&"0"===lt.$depth$&&(Oe[lt.$index$]=lt.$elm$))),Et=ye.childNodes.length-1;Et>=0;Et--)ue(P,Y,Se,Oe,He,ye.childNodes[Et],Qe);if(ye.shadowRoot)for(Et=ye.shadowRoot.childNodes.length-1;Et>=0;Et--)ue(P,Y,Se,Oe,He,ye.shadowRoot.childNodes[Et],Qe)}else if(8===ye.nodeType)_t=ye.nodeValue.split("."),(_t[1]===Qe||"0"===_t[1])&&(yt=_t[0],lt={$flags$:0,$hostId$:_t[1],$nodeId$:_t[2],$depth$:_t[3],$index$:_t[4],$elm$:ye,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===yt?(lt.$elm$=ye.nextSibling,lt.$elm$&&3===lt.$elm$.nodeType&&(lt.$text$=lt.$elm$.textContent,Y.push(lt),ye.remove(),P.$children$||(P.$children$=[]),P.$children$[lt.$index$]=lt,Oe&&"0"===lt.$depth$&&(Oe[lt.$index$]=lt.$elm$))):lt.$hostId$===Qe&&("s"===yt?(lt.$tag$="slot",ye["s-sn"]=_t[5]?lt.$name$=_t[5]:"",ye["s-sr"]=!0,Oe&&(lt.$elm$=Dt.createElement(lt.$tag$),lt.$name$&<.$elm$.setAttribute("name",lt.$name$),ye.parentNode.insertBefore(lt.$elm$,ye),ye.remove(),"0"===lt.$depth$&&(Oe[lt.$index$]=lt.$elm$)),Se.push(lt),P.$children$||(P.$children$=[]),P.$children$[lt.$index$]=lt):"r"===yt&&(Oe?ye.remove():(He["s-cr"]=ye,ye["s-cn"]=!0))));else if(P&&"style"===P.$tag$){const Ft=We(null,ye.textContent);Ft.$elm$=ye,Ft.$index$="0",P.$children$=[Ft]}},W=(P,Y)=>{if(1===P.nodeType){let Se=0;for(;Sezn.push(P),ht=P=>Nn(P).$modeName$,xt=P=>Nn(P).$hostElement$,qt=(P,Y,Se)=>{const Oe=xt(P);return{emit:He=>Vt(Oe,Y,{bubbles:!!(4&Se),composed:!!(2&Se),cancelable:!!(1&Se),detail:He})}},Vt=(P,Y,Se)=>{const Oe=Mt.ce(Y,Se);return P.dispatchEvent(Oe),Oe},Ht=new WeakMap,Ut=(P,Y,Se)=>{let Oe=bn.get(P);A&&Se?(Oe=Oe||new CSSStyleSheet,"string"==typeof Oe?Oe=Y:Oe.replaceSync(Y)):Oe=Y,bn.set(P,Oe)},Je=(P,Y,Se)=>{var Oe;const He=nt(Y,Se),ye=bn.get(He);if(P=11===P.nodeType?P:Dt,ye)if("string"==typeof ye){let yt,Qe=Ht.get(P=P.head||P);if(Qe||Ht.set(P,Qe=new Set),!Qe.has(He)){if(P.host&&(yt=P.querySelector(`[${we}="${He}"]`)))yt.innerHTML=ye;else{yt=Dt.createElement("style"),yt.innerHTML=ye;const _t=null!==(Oe=Mt.$nonce$)&&void 0!==Oe?Oe:ce(Dt);null!=_t&&yt.setAttribute("nonce",_t),P.insertBefore(yt,P.querySelector("link"))}4&Y.$flags$&&(yt.innerHTML+=Ve),Qe&&Qe.add(He)}}else P.adoptedStyleSheets.includes(ye)||(P.adoptedStyleSheets=[...P.adoptedStyleSheets,ye]);return He},nt=(P,Y)=>"sc-"+(Y&&32&P.$flags$?P.$tagName$+"-"+Y:P.$tagName$),It=P=>P.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),bt=(P,Y,Se,Oe,He,ye)=>{if(Se!==Oe){let Qe=kn(P,Y),yt=Y.toLowerCase();if("class"===Y){const _t=P.classList,lt=Jt(Se),Et=Jt(Oe);_t.remove(...lt.filter(Ft=>Ft&&!Et.includes(Ft))),_t.add(...Et.filter(Ft=>Ft&&!lt.includes(Ft)))}else if("style"===Y){for(const _t in Se)(!Oe||null==Oe[_t])&&(_t.includes("-")?P.style.removeProperty(_t):P.style[_t]="");for(const _t in Oe)(!Se||Oe[_t]!==Se[_t])&&(_t.includes("-")?P.style.setProperty(_t,Oe[_t]):P.style[_t]=Oe[_t])}else if("key"!==Y)if("ref"===Y)Oe&&Oe(P);else if(Qe||"o"!==Y[0]||"n"!==Y[1]){const _t=$e(Oe);if((Qe||_t&&null!==Oe)&&!He)try{if(P.tagName.includes("-"))P[Y]=Oe;else{const Et=Oe??"";"list"===Y?Qe=!1:(null==Se||P[Y]!=Et)&&(P[Y]=Et)}}catch{}let lt=!1;yt!==(yt=yt.replace(/^xlink\:?/,""))&&(Y=yt,lt=!0),null==Oe||!1===Oe?(!1!==Oe||""===P.getAttribute(Y))&&(lt?P.removeAttributeNS(z,Y):P.removeAttribute(Y)):(!Qe||4&ye||He)&&!_t&&(Oe=!0===Oe?"":Oe,lt?P.setAttributeNS(z,Y,Oe):P.setAttribute(Y,Oe))}else if(Y="-"===Y[2]?Y.slice(3):kn($n,yt)?yt.slice(2):yt[2]+Y.slice(3),Se||Oe){const _t=Y.endsWith(tn);Y=Y.replace(en,""),Se&&Mt.rel(P,Y,Se,_t),Oe&&Mt.ael(P,Y,Oe,_t)}}},on=/\s/,Jt=P=>P?P.split(on):[],tn="Capture",en=new RegExp(tn+"$"),On=(P,Y,Se,Oe)=>{const He=11===Y.$elm$.nodeType&&Y.$elm$.host?Y.$elm$.host:Y.$elm$,ye=P&&P.$attrs$||U,Qe=Y.$attrs$||U;for(Oe in ye)Oe in Qe||bt(He,Oe,ye[Oe],void 0,Se,Y.$flags$);for(Oe in Qe)bt(He,Oe,ye[Oe],Qe[Oe],Se,Y.$flags$)},nn=(P,Y,Se,Oe)=>{const He=Y.$children$[Se];let Qe,yt,_t,ye=0;if(V||(le=!0,"slot"===He.$tag$&&(k&&Oe.classList.add(k+"-s"),He.$flags$|=He.$children$?2:1)),null!==He.$text$)Qe=He.$elm$=Dt.createTextNode(He.$text$);else if(1&He.$flags$)Qe=He.$elm$=Dt.createTextNode("");else{if(me||(me="svg"===He.$tag$),Qe=He.$elm$=Dt.createElementNS(me?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&He.$flags$?"slot-fb":He.$tag$),me&&"foreignObject"===He.$tag$&&(me=!1),On(null,He,me),(P=>null!=P)(k)&&Qe["s-si"]!==k&&Qe.classList.add(Qe["s-si"]=k),He.$children$)for(ye=0;ye{Mt.$flags$|=1;const Se=P.childNodes;for(let Oe=Se.length-1;Oe>=0;Oe--){const He=Se[Oe];He["s-hn"]!==R&&He["s-ol"]&&(nr(He).insertBefore(He,Cn(He)),He["s-ol"].remove(),He["s-ol"]=void 0,He["s-sh"]=void 0,le=!0),Y&&un(He,Y)}Mt.$flags$&=-2},Nt=(P,Y,Se,Oe,He,ye)=>{let yt,Qe=P["s-cr"]&&P["s-cr"].parentNode||P;for(Qe.shadowRoot&&Qe.tagName===R&&(Qe=Qe.shadowRoot);He<=ye;++He)Oe[He]&&(yt=nn(null,Se,He,P),yt&&(Oe[He].$elm$=yt,Qe.insertBefore(yt,Cn(Y))))},Ct=(P,Y,Se)=>{for(let Oe=Y;Oe<=Se;++Oe){const He=P[Oe];if(He){const ye=He.$elm$;mr(He),ye&&(H=!0,ye["s-ol"]?ye["s-ol"].remove():un(ye,!0),ye.remove())}}},hn=(P,Y,Se=!1)=>P.$tag$===Y.$tag$&&("slot"===P.$tag$?P.$name$===Y.$name$:!!Se||P.$key$===Y.$key$),Cn=P=>P&&P["s-ol"]||P,nr=P=>(P["s-ol"]?P["s-ol"]:P).parentNode,xn=(P,Y,Se=!1)=>{const Oe=Y.$elm$=P.$elm$,He=P.$children$,ye=Y.$children$,Qe=Y.$tag$,yt=Y.$text$;let _t;null===yt?(me="svg"===Qe||"foreignObject"!==Qe&&me,"slot"===Qe&&!V||On(P,Y,me),null!==He&&null!==ye?((P,Y,Se,Oe,He=!1)=>{let dn,h,ye=0,Qe=0,yt=0,_t=0,lt=Y.length-1,Et=Y[0],Ft=Y[lt],Lt=Oe.length-1,Zt=Oe[0],Vn=Oe[Lt];for(;ye<=lt&&Qe<=Lt;)if(null==Et)Et=Y[++ye];else if(null==Ft)Ft=Y[--lt];else if(null==Zt)Zt=Oe[++Qe];else if(null==Vn)Vn=Oe[--Lt];else if(hn(Et,Zt,He))xn(Et,Zt,He),Et=Y[++ye],Zt=Oe[++Qe];else if(hn(Ft,Vn,He))xn(Ft,Vn,He),Ft=Y[--lt],Vn=Oe[--Lt];else if(hn(Et,Vn,He))("slot"===Et.$tag$||"slot"===Vn.$tag$)&&un(Et.$elm$.parentNode,!1),xn(Et,Vn,He),P.insertBefore(Et.$elm$,Ft.$elm$.nextSibling),Et=Y[++ye],Vn=Oe[--Lt];else if(hn(Ft,Zt,He))("slot"===Et.$tag$||"slot"===Vn.$tag$)&&un(Ft.$elm$.parentNode,!1),xn(Ft,Zt,He),P.insertBefore(Ft.$elm$,Et.$elm$),Ft=Y[--lt],Zt=Oe[++Qe];else{for(yt=-1,_t=ye;_t<=lt;++_t)if(Y[_t]&&null!==Y[_t].$key$&&Y[_t].$key$===Zt.$key$){yt=_t;break}yt>=0?(h=Y[yt],h.$tag$!==Zt.$tag$?dn=nn(Y&&Y[Qe],Se,yt,P):(xn(h,Zt,He),Y[yt]=void 0,dn=h.$elm$),Zt=Oe[++Qe]):(dn=nn(Y&&Y[Qe],Se,Qe,P),Zt=Oe[++Qe]),dn&&nr(Et.$elm$).insertBefore(dn,Cn(Et.$elm$))}ye>lt?Nt(P,null==Oe[Lt+1]?null:Oe[Lt+1].$elm$,Se,Oe,Qe,Lt):Qe>Lt&&Ct(Y,ye,lt)})(Oe,He,Y,ye,Se):null!==ye?(null!==P.$text$&&(Oe.textContent=""),Nt(Oe,null,Y,ye,0,ye.length-1)):null!==He&&Ct(He,0,He.length-1),me&&"svg"===Qe&&(me=!1)):(_t=Oe["s-cr"])?_t.parentNode.textContent=yt:P.$text$!==yt&&(Oe.data=yt)},or=P=>{const Y=P.childNodes;for(const Se of Y)if(1===Se.nodeType){if(Se["s-sr"]){const Oe=Se["s-sn"];Se.hidden=!1;for(const He of Y)if(He!==Se)if(He["s-hn"]!==Se["s-hn"]||""!==Oe){if(1===He.nodeType&&(Oe===He.getAttribute("slot")||Oe===He["s-sn"])){Se.hidden=!0;break}}else if(1===He.nodeType||3===He.nodeType&&""!==He.textContent.trim()){Se.hidden=!0;break}}or(Se)}},pn=[],fr=P=>{let Y,Se,Oe;for(const He of P.childNodes){if(He["s-sr"]&&(Y=He["s-cr"])&&Y.parentNode){Se=Y.parentNode.childNodes;const ye=He["s-sn"];for(Oe=Se.length-1;Oe>=0;Oe--)if(Y=Se[Oe],!Y["s-cn"]&&!Y["s-nr"]&&Y["s-hn"]!==He["s-hn"])if(rn(Y,ye)){let Qe=pn.find(yt=>yt.$nodeToRelocate$===Y);H=!0,Y["s-sn"]=Y["s-sn"]||ye,Qe?(Qe.$nodeToRelocate$["s-sh"]=He["s-hn"],Qe.$slotRefNode$=He):(Y["s-sh"]=He["s-hn"],pn.push({$slotRefNode$:He,$nodeToRelocate$:Y})),Y["s-sr"]&&pn.map(yt=>{rn(yt.$nodeToRelocate$,Y["s-sn"])&&(Qe=pn.find(_t=>_t.$nodeToRelocate$===Y),Qe&&!yt.$slotRefNode$&&(yt.$slotRefNode$=Qe.$slotRefNode$))})}else pn.some(Qe=>Qe.$nodeToRelocate$===Y)||pn.push({$nodeToRelocate$:Y})}1===He.nodeType&&fr(He)}},rn=(P,Y)=>1===P.nodeType?null===P.getAttribute("slot")&&""===Y||P.getAttribute("slot")===Y:P["s-sn"]===Y||""===Y,mr=P=>{P.$attrs$&&P.$attrs$.ref&&P.$attrs$.ref(null),P.$children$&&P.$children$.map(mr)},jn=(P,Y)=>{Y&&!P.$onRenderResolve$&&Y["s-p"]&&Y["s-p"].push(new Promise(Se=>P.$onRenderResolve$=Se))},Xn=(P,Y)=>{if(P.$flags$|=16,!(4&P.$flags$))return jn(P,P.$ancestorComponent$),xe(()=>ir(P,Y));P.$flags$|=512},ir=(P,Y)=>{const Oe=P.$lazyInstance$;let He;return Y&&(P.$flags$|=256,P.$queuedListeners$&&(P.$queuedListeners$.map(([ye,Qe])=>En(Oe,ye,Qe)),P.$queuedListeners$=void 0),He=En(Oe,"componentWillLoad")),He=br(He,()=>En(Oe,"componentWillRender")),br(He,()=>Dr(P,Oe,Y))},br=(P,Y)=>Kn(P)?P.then(Y):Y(),Kn=P=>P instanceof Promise||P&&P.then&&"function"==typeof P.then,Dr=function(){var P=(0,i.Z)(function*(Y,Se,Oe){var He;const ye=Y.$hostElement$,yt=ye["s-rc"];Oe&&(P=>{const Y=P.$cmpMeta$,Se=P.$hostElement$,Oe=Y.$flags$,ye=Je(Se.shadowRoot?Se.shadowRoot:Se.getRootNode(),Y,P.$modeName$);10&Oe&&(Se["s-sc"]=ye,Se.classList.add(ye+"-h"),2&Oe&&Se.classList.add(ye+"-s"))})(Y);vr(Y,Se,ye,Oe),yt&&(yt.map(lt=>lt()),ye["s-rc"]=void 0);{const lt=null!==(He=ye["s-p"])&&void 0!==He?He:[],Et=()=>Ir(Y);0===lt.length?Et():(Promise.all(lt).then(Et),Y.$flags$|=4,lt.length=0)}});return function(Se,Oe,He){return P.apply(this,arguments)}}(),vr=(P,Y,Se,Oe)=>{try{Y=Y.render&&Y.render(),P.$flags$&=-17,P.$flags$|=2,((P,Y,Se=!1)=>{var Oe,He,ye,Qe;const yt=P.$hostElement$,_t=P.$cmpMeta$,lt=P.$vnode$||We(null,null),Et=(P=>P&&P.$tag$===at)(Y)?Y:Le(null,null,Y);if(R=yt.tagName,_t.$attrsToReflect$&&(Et.$attrs$=Et.$attrs$||{},_t.$attrsToReflect$.map(([Ft,Lt])=>Et.$attrs$[Lt]=yt[Ft])),Se&&Et.$attrs$)for(const Ft of Object.keys(Et.$attrs$))yt.hasAttribute(Ft)&&!["key","ref","style","class"].includes(Ft)&&(Et.$attrs$[Ft]=yt[Ft]);if(Et.$tag$=null,Et.$flags$|=4,P.$vnode$=Et,Et.$elm$=lt.$elm$=yt.shadowRoot||yt,k=yt["s-sc"],V=0!=(1&_t.$flags$),ne=yt["s-cr"],H=!1,xn(lt,Et,Se),Mt.$flags$|=1,le){fr(Et.$elm$);for(const Ft of pn){const Lt=Ft.$nodeToRelocate$;if(!Lt["s-ol"]){const Zt=Dt.createTextNode("");Zt["s-nr"]=Lt,Lt.parentNode.insertBefore(Lt["s-ol"]=Zt,Lt)}}for(const Ft of pn){const Lt=Ft.$nodeToRelocate$,Zt=Ft.$slotRefNode$;if(Zt){const Vn=Zt.parentNode;let dn=Zt.nextSibling;{let h=null===(Oe=Lt["s-ol"])||void 0===Oe?void 0:Oe.previousSibling;for(;h;){let ee=null!==(He=h["s-nr"])&&void 0!==He?He:null;if(ee&&ee["s-sn"]===Lt["s-sn"]&&Vn===ee.parentNode&&(ee=ee.nextSibling,!ee||!ee["s-nr"])){dn=ee;break}h=h.previousSibling}}(!dn&&Vn!==Lt.parentNode||Lt.nextSibling!==dn)&&Lt!==dn&&(!Lt["s-hn"]&&Lt["s-ol"]&&(Lt["s-hn"]=Lt["s-ol"].parentNode.nodeName),Vn.insertBefore(Lt,dn),1===Lt.nodeType&&(Lt.hidden=null!==(ye=Lt["s-ih"])&&void 0!==ye&&ye))}else 1===Lt.nodeType&&(Se&&(Lt["s-ih"]=null!==(Qe=Lt.hidden)&&void 0!==Qe&&Qe),Lt.hidden=!0)}}H&&or(Et.$elm$),Mt.$flags$&=-2,pn.length=0,ne=void 0})(P,Y,Oe)}catch(He){Tn(He,P.$hostElement$)}return null},Ir=P=>{const Se=P.$hostElement$,He=P.$lazyInstance$,ye=P.$ancestorComponent$;En(He,"componentDidRender"),64&P.$flags$?En(He,"componentDidUpdate"):(P.$flags$|=64,yn(Se),En(He,"componentDidLoad"),P.$onReadyResolve$(Se),ye||Dn()),P.$onInstanceResolve$(Se),P.$onRenderResolve$&&(P.$onRenderResolve$(),P.$onRenderResolve$=void 0),512&P.$flags$&&ct(()=>Xn(P,!1)),P.$flags$&=-517},Fn=P=>{{const Y=Nn(P),Se=Y.$hostElement$.isConnected;return Se&&2==(18&Y.$flags$)&&Xn(Y,!1),Se}},Dn=P=>{yn(Dt.documentElement),ct(()=>Vt($n,"appload",{detail:{namespace:"ionic"}}))},En=(P,Y,Se)=>{if(P&&P[Y])try{return P[Y](Se)}catch(Oe){Tn(Oe)}},yn=P=>P.classList.add("hydrated"),Be=(P,Y,Se)=>{var Oe;const He=P.prototype;if(Y.$members$){P.watchers&&(Y.$watchers$=P.watchers);const ye=Object.entries(Y.$members$);if(ye.map(([Qe,[yt]])=>{31&yt||2&Se&&32&yt?Object.defineProperty(He,Qe,{get(){return((P,Y)=>Nn(this).$instanceValues$.get(Y))(0,Qe)},set(_t){((P,Y,Se,Oe)=>{const He=Nn(P),ye=He.$hostElement$,Qe=He.$instanceValues$.get(Y),yt=He.$flags$,_t=He.$lazyInstance$;Se=((P,Y)=>null==P||$e(P)?P:4&Y?"false"!==P&&(""===P||!!P):2&Y?parseFloat(P):1&Y?String(P):P)(Se,Oe.$members$[Y][0]);const lt=Number.isNaN(Qe)&&Number.isNaN(Se);if((!(8&yt)||void 0===Qe)&&Se!==Qe&&!lt&&(He.$instanceValues$.set(Y,Se),_t)){if(Oe.$watchers$&&128&yt){const Ft=Oe.$watchers$[Y];Ft&&Ft.map(Lt=>{try{_t[Lt](Se,Qe,Y)}catch(Zt){Tn(Zt,ye)}})}2==(18&yt)&&Xn(He,!1)}})(this,Qe,_t,Y)},configurable:!0,enumerable:!0}):1&Se&&64&yt&&Object.defineProperty(He,Qe,{value(..._t){var lt;const Et=Nn(this);return null===(lt=Et?.$onInstancePromise$)||void 0===lt?void 0:lt.then(()=>{var Ft;return null===(Ft=Et.$lazyInstance$)||void 0===Ft?void 0:Ft[Qe](..._t)})}})}),1&Se){const Qe=new Map;He.attributeChangedCallback=function(yt,_t,lt){Mt.jmp(()=>{var Et;const Ft=Qe.get(yt);if(this.hasOwnProperty(Ft))lt=this[Ft],delete this[Ft];else{if(He.hasOwnProperty(Ft)&&"number"==typeof this[Ft]&&this[Ft]==lt)return;if(null==Ft){const Lt=Nn(this),Zt=Lt?.$flags$;if(Zt&&!(8&Zt)&&128&Zt&<!==_t){const Vn=Lt.$lazyInstance$;(null===(Et=Y.$watchers$)||void 0===Et?void 0:Et[yt])?.forEach(h=>{null!=Vn[h]&&Vn[h].call(Vn,lt,_t,yt)})}return}}this[Ft]=(null!==lt||"boolean"!=typeof this[Ft])&<})},P.observedAttributes=Array.from(new Set([...Object.keys(null!==(Oe=Y.$watchers$)&&void 0!==Oe?Oe:{}),...ye.filter(([yt,_t])=>15&_t[0]).map(([yt,_t])=>{var lt;const Et=_t[1]||yt;return Qe.set(Et,yt),512&_t[0]&&(null===(lt=Y.$attrsToReflect$)||void 0===lt||lt.push([yt,Et])),Et})]))}}return P},Ee=function(){var P=(0,i.Z)(function*(Y,Se,Oe,He){let ye;if(!(32&Se.$flags$)){if(Se.$flags$|=32,Oe.$lazyBundleId$){if(ye=hr(Oe),ye.then){const Et=()=>{};ye=yield ye,Et()}ye.isProxied||(Oe.$watchers$=ye.watchers,Be(ye,Oe,2),ye.isProxied=!0);const lt=()=>{};Se.$flags$|=8;try{new ye(Se)}catch(Et){Tn(Et)}Se.$flags$&=-9,Se.$flags$|=128,lt(),Ke(Se.$lazyInstance$)}else ye=Y.constructor,customElements.whenDefined(Oe.$tagName$).then(()=>Se.$flags$|=128);if(ye.style){let lt=ye.style;"string"!=typeof lt&&(lt=lt[Se.$modeName$=(P=>zn.map(Y=>Y(P)).find(Y=>!!Y))(Y)]);const Et=nt(Oe,Se.$modeName$);if(!bn.has(Et)){const Ft=()=>{};Ut(Et,lt,!!(1&Oe.$flags$)),Ft()}}}const Qe=Se.$ancestorComponent$,yt=()=>Xn(Se,!0);Qe&&Qe["s-rc"]?Qe["s-rc"].push(yt):yt()});return function(Se,Oe,He,ye){return P.apply(this,arguments)}}(),Ke=P=>{En(P,"connectedCallback")},wt=P=>{const Y=P["s-cr"]=Dt.createComment("");Y["s-cn"]=!0,P.insertBefore(Y,P.firstChild)},Qt=P=>{En(P,"disconnectedCallback")},In=function(){var P=(0,i.Z)(function*(Y){if(!(1&Mt.$flags$)){const Se=Nn(Y);Se.$rmListeners$&&(Se.$rmListeners$.map(Oe=>Oe()),Se.$rmListeners$=void 0),Se?.$lazyInstance$?Qt(Se.$lazyInstance$):Se?.$onReadyPromise$&&Se.$onReadyPromise$.then(()=>Qt(Se.$lazyInstance$))}});return function(Se){return P.apply(this,arguments)}}(),Ln=(P,Y={})=>{var Se;const He=[],ye=Y.exclude||[],Qe=$n.customElements,yt=Dt.head,_t=yt.querySelector("meta[charset]"),lt=Dt.createElement("style"),Et=[],Ft=Dt.querySelectorAll(`[${we}]`);let Lt,Zt=!0,Vn=0;for(Object.assign(Mt,Y),Mt.$resourcesUrl$=new URL(Y.resourcesUrl||"./",Dt.baseURI).href,Mt.$flags$|=2;Vn{h[1].map(ee=>{var S;const se={$flags$:ee[0],$tagName$:ee[1],$members$:ee[2],$listeners$:ee[3]};4&se.$flags$&&(dn=!0),se.$members$=ee[2],se.$listeners$=ee[3],se.$attrsToReflect$=[],se.$watchers$=null!==(S=ee[4])&&void 0!==S?S:{};const Fe=se.$tagName$,mn=class extends HTMLElement{constructor(Yn){super(Yn),Wn(Yn=this,se),1&se.$flags$&&Yn.attachShadow({mode:"open",delegatesFocus:!!(16&se.$flags$)})}connectedCallback(){Lt&&(clearTimeout(Lt),Lt=null),Zt?Et.push(this):Mt.jmp(()=>(P=>{if(!(1&Mt.$flags$)){const Y=Nn(P),Se=Y.$cmpMeta$,Oe=()=>{};if(1&Y.$flags$)gr(P,Y,Se.$listeners$),Y?.$lazyInstance$?Ke(Y.$lazyInstance$):Y?.$onReadyPromise$&&Y.$onReadyPromise$.then(()=>Ke(Y.$lazyInstance$));else{let He;if(Y.$flags$|=1,He=P.getAttribute(Ue),He){if(1&Se.$flags$){const ye=Je(P.shadowRoot,Se,P.getAttribute("s-mode"));P.classList.remove(ye+"-h",ye+"-s")}((P,Y,Se,Oe)=>{const ye=P.shadowRoot,Qe=[],_t=ye?[]:null,lt=Oe.$vnode$=We(Y,null);Mt.$orgLocNodes$||W(Dt.body,Mt.$orgLocNodes$=new Map),P[Ue]=Se,P.removeAttribute(Ue),ue(lt,Qe,[],_t,P,P,Se),Qe.map(Et=>{const Ft=Et.$hostId$+"."+Et.$nodeId$,Lt=Mt.$orgLocNodes$.get(Ft),Zt=Et.$elm$;Lt&&pe&&""===Lt["s-en"]&&Lt.parentNode.insertBefore(Zt,Lt.nextSibling),ye||(Zt["s-hn"]=Y,Lt&&(Zt["s-ol"]=Lt,Zt["s-ol"]["s-nr"]=Zt)),Mt.$orgLocNodes$.delete(Ft)}),ye&&_t.map(Et=>{Et&&ye.appendChild(Et)})})(P,Se.$tagName$,He,Y)}He||12&Se.$flags$&&wt(P);{let ye=P;for(;ye=ye.parentNode||ye.host;)if(1===ye.nodeType&&ye.hasAttribute("s-id")&&ye["s-p"]||ye["s-p"]){jn(Y,Y.$ancestorComponent$=ye);break}}Se.$members$&&Object.entries(Se.$members$).map(([ye,[Qe]])=>{if(31&Qe&&P.hasOwnProperty(ye)){const yt=P[ye];delete P[ye],P[ye]=yt}}),Ee(P,Y,Se)}Oe()}})(this))}disconnectedCallback(){Mt.jmp(()=>In(this))}componentOnReady(){return Nn(this).$onReadyPromise$}};se.$lazyBundleId$=h[0],!ye.includes(Fe)&&!Qe.get(Fe)&&(He.push(Fe),Qe.define(Fe,Be(mn,se,1)))})}),He.length>0&&(dn&&(lt.textContent+=Ve),lt.textContent+=He+"{visibility:hidden}.hydrated{visibility:inherit}",lt.innerHTML.length)){lt.setAttribute("data-styles","");const h=null!==(Se=Mt.$nonce$)&&void 0!==Se?Se:ce(Dt);null!=h&<.setAttribute("nonce",h),yt.insertBefore(lt,_t?_t.nextSibling:yt.firstChild)}Zt=!1,Et.length?Et.map(h=>h.connectedCallback()):Mt.jmp(()=>Lt=setTimeout(Dn,30))},gr=(P,Y,Se,Oe)=>{Se&&Se.map(([He,ye,Qe])=>{const yt=Mn(P,He),_t=Qn(Y,Qe),lt=Gn(He);Mt.ael(yt,ye,_t,lt),(Y.$rmListeners$=Y.$rmListeners$||[]).push(()=>Mt.rel(yt,ye,_t,lt))})},Qn=(P,Y)=>Se=>{try{256&P.$flags$?P.$lazyInstance$[Y](Se):(P.$queuedListeners$=P.$queuedListeners$||[]).push([Y,Se])}catch(Oe){Tn(Oe)}},Mn=(P,Y)=>4&Y?Dt:8&Y?$n:16&Y?Dt.body:P,Gn=P=>C?{passive:0!=(1&P),capture:0!=(2&P)}:0!=(2&P),yr=new WeakMap,Nn=P=>yr.get(P),an=(P,Y)=>yr.set(Y.$lazyInstance$=P,Y),Wn=(P,Y)=>{const Se={$flags$:0,$hostElement$:P,$cmpMeta$:Y,$instanceValues$:new Map};return Se.$onInstancePromise$=new Promise(Oe=>Se.$onInstanceResolve$=Oe),Se.$onReadyPromise$=new Promise(Oe=>Se.$onReadyResolve$=Oe),P["s-p"]=[],P["s-rc"]=[],gr(P,Se,Y.$listeners$),yr.set(P,Se)},kn=(P,Y)=>Y in P,Tn=(P,Y)=>(0,console.error)(P,Y),Bn=new Map,hr=(P,Y,Se)=>{const Oe=P.$tagName$.replace(/-/g,"_"),He=P.$lazyBundleId$,ye=Bn.get(He);return ye?ye[Oe]:g(863)(`./${He}.entry.js`).then(Qe=>(Bn.set(He,Qe),Qe[Oe]),Tn)},bn=new Map,zn=[],$n=typeof window<"u"?window:{},Dt=$n.document||{head:{}},Mt={$flags$:0,$resourcesUrl$:"",jmp:P=>P(),raf:P=>requestAnimationFrame(P),ael:(P,Y,Se,Oe)=>P.addEventListener(Y,Se,Oe),rel:(P,Y,Se,Oe)=>P.removeEventListener(Y,Se,Oe),ce:(P,Y)=>new CustomEvent(P,Y)},Pn=P=>{Object.assign(Mt,P)},pe=!0,C=(()=>{let P=!1;try{Dt.addEventListener("e",null,Object.defineProperty({},"passive",{get(){P=!0}}))}catch{}return P})(),A=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Z=[],ge=[],Ie=(P,Y)=>Se=>{P.push(Se),q||(q=!0,Y&&4&Mt.$flags$?ct(tt):Mt.raf(tt))},ke=P=>{for(let Y=0;Y{ke(Z),ke(ge),(q=Z.length>0)&&Mt.raf(tt)},ct=P=>Promise.resolve(void 0).then(P),vt=Ie(Z,!1),xe=Ie(ge,!0)},4700:(pt,Pe,g)=>{"use strict";g.d(Pe,{a:()=>q,b:()=>We,c:()=>T,i:()=>at});var i=g(6541);class r{constructor(){this.m=new Map}reset(G){this.m=new Map(Object.entries(G))}get(G,I){const N=this.m.get(G);return void 0!==N?N:I}getBoolean(G,I=!1){const N=this.m.get(G);return void 0===N?I:"string"==typeof N?"true"===N:!!N}getNumber(G,I){const N=parseFloat(this.m.get(G));return isNaN(N)?void 0!==I?I:NaN:N}set(G,I){this.m.set(G,I)}}const T=new r,H="ionic:",le="ionic-persist-config",q=(ve,G)=>("string"==typeof ve&&(G=ve,ve=void 0),(ve=>re(ve))(ve).includes(G)),re=(ve=window)=>{if(typeof ve>"u")return[];ve.Ionic=ve.Ionic||{};let G=ve.Ionic.platforms;return null==G&&(G=ve.Ionic.platforms=he(ve),G.forEach(I=>ve.document.documentElement.classList.add(`plt-${I}`))),G},he=ve=>{const G=T.get("platform");return Object.keys(ce).filter(I=>{const N=G?.[I];return"function"==typeof N?N(ve):ce[I](ve)})},Q=ve=>!!(Te(ve,/iPad/i)||Te(ve,/Macintosh/i)&&Ne(ve)),fe=ve=>Te(ve,/android|sink/i),Ne=ve=>$e(ve,"(any-pointer:coarse)"),Ve=ve=>z(ve)||U(ve),z=ve=>!!(ve.cordova||ve.phonegap||ve.PhoneGap),U=ve=>!!ve.Capacitor?.isNative,Te=(ve,G)=>G.test(ve.navigator.userAgent),$e=(ve,G)=>{var I;return null===(I=ve.matchMedia)||void 0===I?void 0:I.call(ve,G).matches},ce={ipad:Q,iphone:ve=>Te(ve,/iPhone/i),ios:ve=>Te(ve,/iPhone|iPod/i)||Q(ve),android:fe,phablet:ve=>{const G=ve.innerWidth,I=ve.innerHeight,N=Math.min(G,I),j=Math.max(G,I);return N>390&&N<520&&j>620&&j<800},tablet:ve=>{const G=ve.innerWidth,I=ve.innerHeight,N=Math.min(G,I),j=Math.max(G,I);return Q(ve)||(ve=>fe(ve)&&!Te(ve,/mobile/i))(ve)||N>460&&N<820&&j>780&&j<1400},cordova:z,capacitor:U,electron:ve=>Te(ve,/electron/i),pwa:ve=>{var G;return!!(null!==(G=ve.matchMedia)&&void 0!==G&&G.call(ve,"(display-mode: standalone)").matches||ve.navigator.standalone)},mobile:Ne,mobileweb:ve=>Ne(ve)&&!Ve(ve),desktop:ve=>!Ne(ve),hybrid:Ve};let Le;const We=ve=>ve&&(0,i.g)(ve)||Le,at=(ve={})=>{if(typeof window>"u")return;const G=window.document,I=window,N=I.Ionic=I.Ionic||{},j={};ve._ael&&(j.ael=ve._ael),ve._rel&&(j.rel=ve._rel),ve._ce&&(j.ce=ve._ce),(0,i.a)(j);const ue=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(ve=>{try{const G=ve.sessionStorage.getItem(le);return null!==G?JSON.parse(G):{}}catch{return{}}})(I)),{persistConfig:!1}),N.config),(ve=>{const G={};return ve.location.search.slice(1).split("&").map(I=>I.split("=")).map(([I,N])=>[decodeURIComponent(I),decodeURIComponent(N)]).filter(([I])=>((ve,G)=>ve.substr(0,G.length)===G)(I,H)).map(([I,N])=>[I.slice(H.length),N]).forEach(([I,N])=>{G[I]=N}),G})(I)),ve);T.reset(ue),T.getBoolean("persistConfig")&&((ve,G)=>{try{ve.sessionStorage.setItem(le,JSON.stringify(G))}catch{return}})(I,ue),re(I),N.config=T,N.mode=Le=T.get("mode",G.documentElement.getAttribute("mode")||(q(I,"ios")?"ios":"md")),T.set("mode",Le),G.documentElement.setAttribute("mode",Le),G.documentElement.classList.add(Le),T.getBoolean("_testing")&&T.set("animated",!1);const W=qe=>{var ht;return null===(ht=qe.tagName)||void 0===ht?void 0:ht.startsWith("ION-")},Ye=qe=>["ios","md"].includes(qe);(0,i.c)(qe=>{for(;qe;){const ht=qe.mode||qe.getAttribute("mode");if(ht){if(Ye(ht))return ht;W(qe)&&console.warn('Invalid ionic mode: "'+ht+'", expected: "ios" or "md"')}qe=qe.parentElement}return Le})}},7862:(pt,Pe,g)=>{"use strict";g.r(Pe),g.d(Pe,{iosTransitionAnimation:()=>he,shadow:()=>V});var i=g(4963),r=g(2005);g(2972),g(6541);const R=Q=>document.querySelector(`${Q}.ion-cloned-element`),V=Q=>Q.shadowRoot||Q,H=Q=>{const ie="ION-TABS"===Q.tagName?Q:Q.querySelector("ion-tabs"),K="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=ie){const fe=ie.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=fe?fe.querySelector(K):null}return Q.querySelector(K)},le=(Q,ie)=>{const K="ION-TABS"===Q.tagName?Q:Q.querySelector("ion-tabs");let fe=[];if(null!=K){const _e=K.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=_e&&(fe=_e.querySelectorAll("ion-buttons"))}else fe=Q.querySelectorAll("ion-buttons");for(const _e of fe){const Ue=_e.closest("ion-header"),we=Ue&&!Ue.classList.contains("header-collapse-condense-inactive"),Ne=_e.querySelector("ion-back-button"),Re=_e.classList.contains("buttons-collapse");if(null!==Ne&&("start"===_e.slot||""===_e.slot)&&(Re&&we&&ie||!Re))return Ne}return null},q=(Q,ie,K,fe,_e,Ue,we,Ne,Re)=>{var Ve,z;const U=ie?`calc(100% - ${_e.right+4}px)`:_e.left-4+"px",be=ie?"right":"left",Ce=ie?"left":"right",Te=ie?"right":"left",$e=(null===(Ve=Ue.textContent)||void 0===Ve?void 0:Ve.trim())===(null===(z=Ne.textContent)||void 0===z?void 0:z.trim()),Le=(Re.height-ae)/we.height,We=$e?`scale(${Re.width/we.width}, ${Le})`:`scale(${Le})`,at="scale(1)",G=V(fe).querySelector("ion-icon").getBoundingClientRect(),I=ie?G.width/2-(G.right-_e.right)+"px":_e.left-G.width/2+"px",N=ie?`-${window.innerWidth-_e.right}px`:`${_e.left}px`,j=`${Re.top}px`,ue=`${_e.top}px`,qe=K?[{offset:0,transform:`translate3d(${N}, ${ue}, 0)`},{offset:1,transform:`translate3d(${I}, ${j}, 0)`}]:[{offset:0,transform:`translate3d(${I}, ${j}, 0)`},{offset:1,transform:`translate3d(${N}, ${ue}, 0)`}],xt=K?[{offset:0,opacity:1,transform:at},{offset:1,opacity:0,transform:We}]:[{offset:0,opacity:0,transform:We},{offset:1,opacity:1,transform:at}],Ht=K?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],Ut=(0,i.c)(),Je=(0,i.c)(),et=(0,i.c)(),nt=R("ion-back-button"),It=V(nt).querySelector(".button-text"),bt=V(nt).querySelector("ion-icon");nt.text=fe.text,nt.mode=fe.mode,nt.icon=fe.icon,nt.color=fe.color,nt.disabled=fe.disabled,nt.style.setProperty("display","block"),nt.style.setProperty("position","fixed"),Je.addElement(bt),Ut.addElement(It),et.addElement(nt),et.beforeStyles({position:"absolute",top:"0px",[Te]:"0px"}).keyframes(qe),Ut.beforeStyles({"transform-origin":`${be} top`}).beforeAddWrite(()=>{fe.style.setProperty("display","none"),nt.style.setProperty(be,U)}).afterAddWrite(()=>{fe.style.setProperty("display",""),nt.style.setProperty("display","none"),nt.style.removeProperty(be)}).keyframes(xt),Je.beforeStyles({"transform-origin":`${Ce} center`}).keyframes(Ht),Q.addAnimation([Ut,Je,et])},re=(Q,ie,K,fe,_e,Ue,we,Ne)=>{var Re,Ve;const z=ie?"right":"left",U=ie?`calc(100% - ${_e.right}px)`:`${_e.left}px`,Ce=`${_e.top}px`,$e=ie?`-${window.innerWidth-Ne.right-8}px`:Ne.x-8+"px",Le=Ne.y-2+"px",We=(null===(Re=we.textContent)||void 0===Re?void 0:Re.trim())===(null===(Ve=fe.textContent)||void 0===Ve?void 0:Ve.trim()),ve=Ne.height/(Ue.height-ae),G="scale(1)",I=We?`scale(${Ne.width/Ue.width}, ${ve})`:`scale(${ve})`,ue=K?[{offset:0,opacity:0,transform:`translate3d(${$e}, ${Le}, 0) ${I}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${Ce}, 0) ${G}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${Ce}, 0) ${G}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${$e}, ${Le}, 0) ${I}`}],W=R("ion-title"),Ye=(0,i.c)();W.innerText=fe.innerText,W.size=fe.size,W.color=fe.color,Ye.addElement(W),Ye.beforeStyles({"transform-origin":`${z} top`,height:`${_e.height}px`,display:"",position:"relative",[z]:U}).beforeAddWrite(()=>{fe.style.setProperty("opacity","0")}).afterAddWrite(()=>{fe.style.setProperty("opacity",""),W.style.setProperty("display","none")}).keyframes(ue),Q.addAnimation(Ye)},he=(Q,ie)=>{var K;try{const fe="cubic-bezier(0.32,0.72,0,1)",_e="opacity",Ue="transform",we="0%",Re="rtl"===Q.ownerDocument.dir,Ve=Re?"-99.5%":"99.5%",z=Re?"33%":"-33%",U=ie.enteringEl,be=ie.leavingEl,Ce="back"===ie.direction,Te=U.querySelector(":scope > ion-content"),$e=U.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ce=U.querySelectorAll(":scope > ion-header > ion-toolbar"),Le=(0,i.c)(),We=(0,i.c)();if(Le.addElement(U).duration((null!==(K=ie.duration)&&void 0!==K?K:0)||540).easing(ie.easing||fe).fill("both").beforeRemoveClass("ion-page-invisible"),be&&null!=Q){const I=(0,i.c)();I.addElement(Q),Le.addAnimation(I)}if(Te||0!==ce.length||0!==$e.length?(We.addElement(Te),We.addElement($e)):We.addElement(U.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),Le.addAnimation(We),Ce?We.beforeClearStyles([_e]).fromTo("transform",`translateX(${z})`,`translateX(${we})`).fromTo(_e,.8,1):We.beforeClearStyles([_e]).fromTo("transform",`translateX(${Ve})`,`translateX(${we})`),Te){const I=V(Te).querySelector(".transition-effect");if(I){const N=I.querySelector(".transition-cover"),j=I.querySelector(".transition-shadow"),ue=(0,i.c)(),W=(0,i.c)(),Ye=(0,i.c)();ue.addElement(I).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),W.addElement(N).beforeClearStyles([_e]).fromTo(_e,0,.1),Ye.addElement(j).beforeClearStyles([_e]).fromTo(_e,.03,.7),ue.addAnimation([W,Ye]),We.addAnimation([ue])}}const at=U.querySelector("ion-header.header-collapse-condense"),{forward:ve,backward:G}=((Q,ie,K,fe,_e)=>{const Ue=le(fe,K),we=H(_e),Ne=H(fe),Re=le(_e,K),Ve=null!==Ue&&null!==we&&!K,z=null!==Ne&&null!==Re&&K;if(Ve){const U=we.getBoundingClientRect(),be=Ue.getBoundingClientRect(),Ce=V(Ue).querySelector(".button-text"),Te=Ce.getBoundingClientRect(),ce=V(we).querySelector(".toolbar-title").getBoundingClientRect();re(Q,ie,K,we,U,ce,Ce,Te),q(Q,ie,K,Ue,be,Ce,Te,we,ce)}else if(z){const U=Ne.getBoundingClientRect(),be=Re.getBoundingClientRect(),Ce=V(Re).querySelector(".button-text"),Te=Ce.getBoundingClientRect(),ce=V(Ne).querySelector(".toolbar-title").getBoundingClientRect();re(Q,ie,K,Ne,U,ce,Ce,Te),q(Q,ie,K,Re,be,Ce,Te,Ne,ce)}return{forward:Ve,backward:z}})(Le,Re,Ce,U,be);if(ce.forEach(I=>{const N=(0,i.c)();N.addElement(I),Le.addAnimation(N);const j=(0,i.c)();j.addElement(I.querySelector("ion-title"));const ue=(0,i.c)(),W=Array.from(I.querySelectorAll("ion-buttons,[menuToggle]")),Ye=I.closest("ion-header"),qe=Ye?.classList.contains("header-collapse-condense-inactive");let ht;ht=W.filter(Ce?Ht=>{const Ut=Ht.classList.contains("buttons-collapse");return Ut&&!qe||!Ut}:Ht=>!Ht.classList.contains("buttons-collapse")),ue.addElement(ht);const dt=(0,i.c)();dt.addElement(I.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const xt=(0,i.c)();xt.addElement(V(I).querySelector(".toolbar-background"));const qt=(0,i.c)(),Vt=I.querySelector("ion-back-button");if(Vt&&qt.addElement(Vt),N.addAnimation([j,ue,dt,xt,qt]),ue.fromTo(_e,.01,1),dt.fromTo(_e,.01,1),Ce)qe||j.fromTo("transform",`translateX(${z})`,`translateX(${we})`).fromTo(_e,.01,1),dt.fromTo("transform",`translateX(${z})`,`translateX(${we})`),qt.fromTo(_e,.01,1);else if(at||j.fromTo("transform",`translateX(${Ve})`,`translateX(${we})`).fromTo(_e,.01,1),dt.fromTo("transform",`translateX(${Ve})`,`translateX(${we})`),xt.beforeClearStyles([_e,"transform"]),Ye?.translucent?xt.fromTo("transform",Re?"translateX(-100%)":"translateX(100%)","translateX(0px)"):xt.fromTo(_e,.01,"var(--opacity)"),ve||qt.fromTo(_e,.01,1),Vt&&!ve){const Ut=(0,i.c)();Ut.addElement(V(Vt).querySelector(".button-text")).fromTo("transform",Re?"translateX(-100px)":"translateX(100px)","translateX(0px)"),N.addAnimation(Ut)}}),be){const I=(0,i.c)(),N=be.querySelector(":scope > ion-content"),j=be.querySelectorAll(":scope > ion-header > ion-toolbar"),ue=be.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(N||0!==j.length||0!==ue.length?(I.addElement(N),I.addElement(ue)):I.addElement(be.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),Le.addAnimation(I),Ce){I.beforeClearStyles([_e]).fromTo("transform",`translateX(${we})`,Re?"translateX(-100%)":"translateX(100%)");const W=(0,r.g)(be);Le.afterAddWrite(()=>{"normal"===Le.getDirection()&&W.style.setProperty("display","none")})}else I.fromTo("transform",`translateX(${we})`,`translateX(${z})`).fromTo(_e,1,.8);if(N){const W=V(N).querySelector(".transition-effect");if(W){const Ye=W.querySelector(".transition-cover"),qe=W.querySelector(".transition-shadow"),ht=(0,i.c)(),dt=(0,i.c)(),xt=(0,i.c)();ht.addElement(W).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),dt.addElement(Ye).beforeClearStyles([_e]).fromTo(_e,.1,0),xt.addElement(qe).beforeClearStyles([_e]).fromTo(_e,.7,.03),ht.addAnimation([dt,xt]),I.addAnimation([ht])}}j.forEach(W=>{const Ye=(0,i.c)();Ye.addElement(W);const qe=(0,i.c)();qe.addElement(W.querySelector("ion-title"));const ht=(0,i.c)(),dt=W.querySelectorAll("ion-buttons,[menuToggle]"),xt=W.closest("ion-header"),qt=xt?.classList.contains("header-collapse-condense-inactive"),Vt=Array.from(dt).filter(It=>{const bt=It.classList.contains("buttons-collapse");return bt&&!qt||!bt});ht.addElement(Vt);const Ht=(0,i.c)(),Ut=W.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");Ut.length>0&&Ht.addElement(Ut);const Je=(0,i.c)();Je.addElement(V(W).querySelector(".toolbar-background"));const et=(0,i.c)(),nt=W.querySelector("ion-back-button");if(nt&&et.addElement(nt),Ye.addAnimation([qe,ht,Ht,et,Je]),Le.addAnimation(Ye),et.fromTo(_e,.99,0),ht.fromTo(_e,.99,0),Ht.fromTo(_e,.99,0),Ce){if(qt||qe.fromTo("transform",`translateX(${we})`,Re?"translateX(-100%)":"translateX(100%)").fromTo(_e,.99,0),Ht.fromTo("transform",`translateX(${we})`,Re?"translateX(-100%)":"translateX(100%)"),Je.beforeClearStyles([_e,"transform"]),xt?.translucent?Je.fromTo("transform","translateX(0px)",Re?"translateX(-100%)":"translateX(100%)"):Je.fromTo(_e,"var(--opacity)",0),nt&&!G){const bt=(0,i.c)();bt.addElement(V(nt).querySelector(".button-text")).fromTo("transform",`translateX(${we})`,`translateX(${(Re?-124:124)+"px"})`),Ye.addAnimation(bt)}}else qt||qe.fromTo("transform",`translateX(${we})`,`translateX(${z})`).fromTo(_e,.99,0).afterClearStyles([Ue,_e]),Ht.fromTo("transform",`translateX(${we})`,`translateX(${z})`).afterClearStyles([Ue,_e]),et.afterClearStyles([_e]),qe.afterClearStyles([_e]),ht.afterClearStyles([_e])})}return Le}catch(fe){throw fe}},ae=10},7344:(pt,Pe,g)=>{"use strict";g.r(Pe),g.d(Pe,{mdTransitionAnimation:()=>ne});var i=g(4963),r=g(2005);g(2972),g(6541);const ne=(R,V)=>{var H,le,me;const q="40px",he="back"===V.direction,Q=V.leavingEl,ie=(0,r.g)(V.enteringEl),K=ie.querySelector("ion-toolbar"),fe=(0,i.c)();if(fe.addElement(ie).fill("both").beforeRemoveClass("ion-page-invisible"),he?fe.duration((null!==(H=V.duration)&&void 0!==H?H:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):fe.duration((null!==(le=V.duration)&&void 0!==le?le:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${q})`,"translateY(0px)").fromTo("opacity",.01,1),K){const _e=(0,i.c)();_e.addElement(K),fe.addAnimation(_e)}if(Q&&he){fe.duration((null!==(me=V.duration)&&void 0!==me?me:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const _e=(0,i.c)();_e.addElement((0,r.g)(Q)).onFinish(Ue=>{1===Ue&&_e.elements.length>0&&_e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${q})`).fromTo("opacity",1,0),fe.addAnimation(_e)}return fe}},4393:(pt,Pe,g)=>{"use strict";g.d(Pe,{B:()=>ht,G:()=>dt,O:()=>xt,a:()=>re,b:()=>he,c:()=>K,d:()=>qt,e:()=>Vt,f:()=>at,g:()=>G,h:()=>j,i:()=>W,j:()=>_e,k:()=>Ue,m:()=>Q,n:()=>Ve,o:()=>Le,s:()=>qe,t:()=>fe});var i=g(5861),r=g(2972),T=g(9019),k=g(4700),ne=g(5030),R=g(8635),V=g(8909);let H=0,le=0;const me=new WeakMap,q=Je=>({create:et=>we(Je,et),dismiss:(et,nt,It)=>Te(document,et,nt,Je,It),getTop:()=>(0,i.Z)(function*(){return Le(document,Je)})()}),re=q("ion-alert"),he=q("ion-action-sheet"),Q=q("ion-modal"),K=q("ion-popover"),fe=q("ion-toast"),_e=Je=>{typeof document<"u"&&Ce(document);const et=H++;Je.overlayIndex=et},Ue=Je=>(Je.hasAttribute("id")||(Je.id="ion-overlay-"+ ++le),Je.id),we=(Je,et)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Je).then(()=>{const nt=document.createElement(Je);return nt.classList.add("overlay-hidden"),Object.assign(nt,Object.assign(Object.assign({},et),{hasController:!0})),I(document).appendChild(nt),new Promise(It=>(0,R.c)(nt,It))}):Promise.resolve(),Ne='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Ve=(Je,et)=>{const nt=Je.querySelector(Ne);U(nt,et)},z=(Je,et)=>{const nt=Array.from(Je.querySelectorAll(Ne));U(nt.length>0?nt[nt.length-1]:null,et)},U=(Je,et)=>{let nt=Je;const It=Je?.shadowRoot;It&&(nt=It.querySelector(Ne)||Je),nt?(0,R.f)(nt):et.focus()},Ce=Je=>{0===H&&(H=1,Je.addEventListener("focus",et=>{((Je,et)=>{const nt=Le(et,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),It=Je.target;nt&&It&&!nt.classList.contains("ion-disable-focus-trap")&&(nt.shadowRoot?(()=>{if(nt.contains(It))nt.lastFocus=It;else if("ION-TOAST"===It.tagName)U(nt.lastFocus,nt);else{const Jt=nt.lastFocus;Ve(nt,nt),Jt===et.activeElement&&z(nt,nt),nt.lastFocus=et.activeElement}})():(()=>{if(nt===It)nt.lastFocus=void 0;else if("ION-TOAST"===It.tagName)U(nt.lastFocus,nt);else{const Jt=(0,R.g)(nt);if(!Jt.contains(It))return;const tn=Jt.querySelector(".ion-overlay-wrapper");if(!tn)return;if(tn.contains(It)||It===Jt.querySelector("ion-backdrop"))nt.lastFocus=It;else{const en=nt.lastFocus;Ve(tn,nt),en===et.activeElement&&z(tn,nt),nt.lastFocus=et.activeElement}}})())})(et,Je)},!0),Je.addEventListener("ionBackButton",et=>{const nt=Le(Je);nt?.backdropDismiss&&et.detail.register(T.OVERLAY_BACK_BUTTON_PRIORITY,()=>{nt.dismiss(void 0,ht)})}),(0,T.shouldUseCloseWatcher)()||Je.addEventListener("keydown",et=>{if("Escape"===et.key){const nt=Le(Je);nt?.backdropDismiss&&nt.dismiss(void 0,ht)}}))},Te=(Je,et,nt,It,bt)=>{const on=Le(Je,It,bt);return on?on.dismiss(et,nt):Promise.reject("overlay does not exist")},ce=(Je,et)=>((Je,et)=>(void 0===et&&(et="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Je.querySelectorAll(et)).filter(nt=>nt.overlayIndex>0)))(Je,et).filter(nt=>!(Je=>Je.classList.contains("overlay-hidden"))(nt)),Le=(Je,et,nt)=>{const It=ce(Je,et);return void 0===nt?It[It.length-1]:It.find(bt=>bt.id===nt)},We=(Je=!1)=>{const nt=I(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");nt&&(Je?nt.setAttribute("aria-hidden","true"):nt.removeAttribute("aria-hidden"))},at=function(){var Je=(0,i.Z)(function*(et,nt,It,bt,on){var Jt,tn;if(et.presented)return;We(!0),Ht(et.el),et.presented=!0,et.willPresent.emit(),null===(Jt=et.willPresentShorthand)||void 0===Jt||Jt.emit();const en=(0,k.b)(et),On=et.enterAnimation?et.enterAnimation:k.c.get(nt,"ios"===en?It:bt);(yield N(et,On,et.el,on))&&(et.didPresent.emit(),null===(tn=et.didPresentShorthand)||void 0===tn||tn.emit()),"ION-TOAST"!==et.el.tagName&&ve(et.el),et.keyboardClose&&(null===document.activeElement||!et.el.contains(document.activeElement))&&et.el.focus(),et.el.removeAttribute("aria-hidden")});return function(nt,It,bt,on,Jt){return Je.apply(this,arguments)}}(),ve=function(){var Je=(0,i.Z)(function*(et){let nt=document.activeElement;if(!nt)return;const It=nt?.shadowRoot;It&&(nt=It.querySelector(Ne)||nt),yield et.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&nt.focus()});return function(nt){return Je.apply(this,arguments)}}(),G=function(){var Je=(0,i.Z)(function*(et,nt,It,bt,on,Jt,tn){var en,On;if(!et.presented)return!1;void 0!==r.d&&1===ce(r.d).length&&We(!1),et.presented=!1;try{et.el.style.setProperty("pointer-events","none"),et.willDismiss.emit({data:nt,role:It}),null===(en=et.willDismissShorthand)||void 0===en||en.emit({data:nt,role:It});const nn=(0,k.b)(et),un=et.leaveAnimation?et.leaveAnimation:k.c.get(bt,"ios"===nn?on:Jt);It!==dt&&(yield N(et,un,et.el,tn)),et.didDismiss.emit({data:nt,role:It}),null===(On=et.didDismissShorthand)||void 0===On||On.emit({data:nt,role:It}),(me.get(et)||[]).forEach(Ct=>Ct.destroy()),me.delete(et),et.el.classList.add("overlay-hidden"),et.el.style.removeProperty("pointer-events"),void 0!==et.el.lastFocus&&(et.el.lastFocus=void 0)}catch(nn){console.error(nn)}return et.el.remove(),Ut(),!0});return function(nt,It,bt,on,Jt,tn,en){return Je.apply(this,arguments)}}(),I=Je=>Je.querySelector("ion-app")||Je.body,N=function(){var Je=(0,i.Z)(function*(et,nt,It,bt){It.classList.remove("overlay-hidden");const Jt=nt(et.el,bt);(!et.animated||!k.c.getBoolean("animated",!0))&&Jt.duration(0),et.keyboardClose&&Jt.beforeAddWrite(()=>{const en=It.ownerDocument.activeElement;en?.matches("input,ion-input, ion-textarea")&&en.blur()});const tn=me.get(et)||[];return me.set(et,[...tn,Jt]),yield Jt.play(),!0});return function(nt,It,bt,on){return Je.apply(this,arguments)}}(),j=(Je,et)=>{let nt;const It=new Promise(bt=>nt=bt);return ue(Je,et,bt=>{nt(bt.detail)}),It},ue=(Je,et,nt)=>{const It=bt=>{(0,R.b)(Je,et,It),nt(bt)};(0,R.a)(Je,et,It)},W=Je=>"cancel"===Je||Je===ht,Ye=Je=>Je(),qe=(Je,et)=>{if("function"==typeof Je)return k.c.get("_zoneGate",Ye)(()=>{try{return Je(et)}catch(It){throw It}})},ht="backdrop",dt="gesture",xt=39,qt=Je=>{let nt,et=!1;const It=(0,ne.C)(),bt=(tn=!1)=>{if(nt&&!tn)return{delegate:nt,inline:et};const{el:en,hasController:On,delegate:nn}=Je;return et=null!==en.parentNode&&!On,nt=et?nn||It:nn,{inline:et,delegate:nt}};return{attachViewToDom:function(){var tn=(0,i.Z)(function*(en){const{delegate:On}=bt(!0);if(On)return yield On.attachViewToDom(Je.el,en);const{hasController:nn}=Je;if(nn&&void 0!==en)throw new Error("framework delegate is missing");return null});return function(On){return tn.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:tn}=bt();tn&&void 0!==Je.el&&tn.removeViewFromDom(Je.el.parentElement,Je.el)}}},Vt=()=>{let Je;const et=()=>{Je&&(Je(),Je=void 0)};return{addClickListener:(It,bt)=>{et();const on=void 0!==bt?document.getElementById(bt):null;on?Je=((tn,en)=>{const On=()=>{en.present()};return tn.addEventListener("click",On),()=>{tn.removeEventListener("click",On)}})(on,It):(0,V.p)(`A trigger element with the ID "${bt}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,It)},removeClickListener:et}},Ht=Je=>{var et;if(void 0===r.d)return;const nt=ce(r.d);for(let It=nt.length-1;It>=0;It--){const bt=nt[It],on=null!==(et=nt[It+1])&&void 0!==et?et:Je;(on.hasAttribute("aria-hidden")||"ION-TOAST"!==on.tagName)&&bt.setAttribute("aria-hidden","true")}},Ut=()=>{if(void 0===r.d)return;const Je=ce(r.d);for(let et=Je.length-1;et>=0;et--){const nt=Je[et];if(nt.removeAttribute("aria-hidden"),"ION-TOAST"!==nt.tagName)break}}},4158:(pt,Pe,g)=>{"use strict";function R(G,I){return function(N,j){I(N,j,G)}}g.d(Pe,{Fw:()=>ve,Ke:()=>Te});var z=g(4650),U=g(6895),be=g(4424),Ce=g(5021);let Te=(()=>{let G=class{constructor(N,j){this.platformId=j,this._driver=null,this._dbPromise=new Promise((ue,W)=>{if((0,U.PM)(this.platformId)){const dt=function We(){const G=()=>{};return{getItem:G,setItem:G,removeItem:G,clear:G,length:()=>0,keys:()=>[],iterate:G}}();return void ue(dt)}let Ye;const ht=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},N||{});(0,be.defineDriver)(Ce).then(()=>{Ye=(0,be.createInstance)(ht)}).then(()=>Ye.setDriver(this._getDriverOrder(ht.driverOrder))).then(()=>{this._driver=Ye.driver(),ue(Ye)}).catch(dt=>W(dt))})}get driver(){return this._driver}ready(){return this._dbPromise}_getDriverOrder(N){return N.map(j=>{switch(j){case"sqlite":return Ce._driver;case"indexeddb":return be.INDEXEDDB;case"websql":return be.WEBSQL;case"localstorage":return be.LOCALSTORAGE}})}get(N){return this._dbPromise.then(j=>j.getItem(N))}set(N,j){return this._dbPromise.then(ue=>ue.setItem(N,j))}remove(N){return this._dbPromise.then(j=>j.removeItem(N))}clear(){return this._dbPromise.then(N=>N.clear())}length(){return this._dbPromise.then(N=>N.length())}keys(){return this._dbPromise.then(N=>N.keys())}forEach(N){return this._dbPromise.then(j=>j.iterate(N))}};return G=function ne(G,I,N,j){var Ye,ue=arguments.length,W=ue<3?I:null===j?j=Object.getOwnPropertyDescriptor(I,N):j;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(G,I,N,j);else for(var qe=G.length-1;qe>=0;qe--)(Ye=G[qe])&&(W=(ue<3?Ye(W):ue>3?Ye(I,N,W):Ye(I,N))||W);return ue>3&&W&&Object.defineProperty(I,N,W),W}([R(1,(0,z.tBr)(z.Lbi))],G),G})();const ce=new z.OlP("STORAGE_CONFIG_TOKEN");function Le(G,I){return new Te(G||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},I)}var at;let ve=at=class{static forRoot(I=null){return{ngModule:at,providers:[{provide:ce,useValue:I},{provide:Te,useFactory:Le,deps:[ce,z.Lbi]}]}}};ve.\u0275fac=function(I){return new(I||ve)},ve.\u0275mod=z.oAB({type:ve}),ve.\u0275inj=z.cJS({})},227:(pt,Pe,g)=>{"use strict";g.d(Pe,{de:()=>re,ew:()=>le,Ei:()=>me,VL:()=>q});var i=g(4650),r=g(4004),T=g(5861),k=g(4707),ne=g(4158);let R=(()=>{class he{constructor(Q){this.storage=Q,this.subjects=new Map}clear(){var Q=this;return(0,T.Z)(function*(){yield Q.storage.ready(),yield Q.storage.clear(),Q.subjects.forEach(ie=>ie.next(void 0))})()}get(Q){var ie=this;return(0,T.Z)(function*(){return yield ie.storage.ready(),yield ie.storage.get(Q)})()}observe(Q){let ie=this.subjects.get(Q);return ie||(ie=new k.t(1),this.subjects.set(Q,ie),this.storage.ready().then(()=>{this.storage.get(Q).then(K=>{ie.next(K)}).catch(K=>{ie.error(K)})})),ie}remove(Q){var ie=this;return(0,T.Z)(function*(){yield ie.storage.ready(),yield ie.storage.remove(Q);const K=ie.subjects.get(Q);K&&K.next(void 0)})()}set(Q,ie){var K=this;return(0,T.Z)(function*(){yield K.storage.ready(),yield K.storage.set(Q,ie);const fe=K.subjects.get(Q);fe&&fe.next(ie)})()}static#e=this.\u0275fac=function(ie){return new(ie||he)(i.LFG(ne.Ke))};static#t=this.\u0275prov=i.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})();const V=(0,i.X6Q)()?[{name:"Max",code:"MAX",color:"#3670c6"},{name:"Fernando",code:"FER",color:"#358c75"},{name:"Lewis",code:"LEW",color:"#6cd3bf"},{name:"Charles",code:"CHA",color:"#f91537"},{name:"Lando",code:"LAN",color:"#f58020"},{name:"Nico",code:"NIC",color:"#b6babd"},{name:"Ghost",code:"GHO",color:"#606060"},{name:"Pace Car",code:"PAC",color:"#d4af37"}]:[{color:"#ff0000"},{color:"#00ff00"},{color:"#0000ff"},{color:"#ffff00"},{color:"#ff00ff"},{color:"#00ffff"},{color:"#ffffff"},{color:"#cccccc"}],H={bestlap:!0,bests1:!1,bests2:!1,bests3:!1,falsestart:!0,finallap:!0,finished:!0,finished1st:!0,finished2nd:!0,finished3rd:!0,fivelaps:!0,fuel0:!0,fuel1:!0,fuel2:!0,greenflag:!0,newleader:!0,oneminute:!0,pitenter:!1,pitexit:!1,timeout:!0,yellowflag:!0};class le{constructor(){this.connectionTimeout=3e3,this.requestTimeout=2e3,this.minReconnectDelay=3e3,this.maxReconnectDelay=8e3,this.demoControlUnit=(0,i.X6Q)()}}class me{constructor(){this.cumode=!0,this.debug=(0,i.X6Q)(),this.fixedorder=!1,this.language="",this.speech=!0,this.sectors=!1,this.voice="",this.rate=1e3,this.pitch=1e3}}class q{constructor(ae){switch(this.mode=ae,this.pause=!1,this.slotmode=!1,this.stopfin=!1,this.auto=!1,this.pace=!1,this.minLapTime=500,ae){case"practice":this.laps=0,this.time=0,this.auto=!0,this.pace=!0;break;case"qualifying":this.laps=0,this.time=18e4;break;case"race":this.laps=30,this.time=0}}}let re=(()=>{class he{constructor(Q){this.settings=Q}clear(){return this.settings.clear()}getConnection(){return this.settings.observe("connection").pipe((0,r.U)(Q=>Object.assign(new le,Q)))}setConnection(Q){return this.settings.set("connection",Q)}getDrivers(){return this.settings.observe("drivers").pipe((0,r.U)(Q=>{const ie=new Array(8);for(let K=0;K!=ie.length;++K)ie[K]=Object.assign(V[K],Q?Q[K]:null);return ie}))}setDrivers(Q){return this.settings.set("drivers",Q)}getNotifications(){return this.settings.observe("notifications").pipe((0,r.U)(Q=>{const ie={};for(let K of Object.keys(H))ie[K]=Object.assign({enabled:H[K]},Q?Q[K]:null);return ie}))}setNotifications(Q){return this.settings.set("notifications",Q)}getOptions(){return this.settings.observe("options").pipe((0,r.U)(Q=>Object.assign(new me,Q)))}setOptions(Q){return this.settings.set("options",Q)}getQualifyingSettings(){return this.settings.observe("qualifying").pipe((0,r.U)(Q=>Object.assign(new q("qualifying"),Q)))}setQualifyingSettings(Q){return this.settings.set("qualifying",Q)}getRaceSettings(){return this.settings.observe("race").pipe((0,r.U)(Q=>Object.assign(new q("race"),Q)))}setRaceSettings(Q){return this.settings.set("race",Q)}static#e=this.\u0275fac=function(ie){return new(ie||he)(i.LFG(R))};static#t=this.\u0275prov=i.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})()},6475:(pt,Pe,g)=>{"use strict";g.d(Pe,{z:()=>Q});var i=g(5861),r=g(3771),T=g(9509),k=g(4598),ne=g(9986),R=g(9102),V=g(8675),H=g(4004),le=g(1884),me=g(4650),q=g(958),re=g(5082),he=g(9062),ae=(()=>{return(ie=ae||(ae={})).Portrait="portrait",ie.Landscape="landscape",ae;var ie})();class Q{constructor(K,fe,_e,Ue,we,Ne,Re,Ve){this.platform=K,this.app=fe,this.device=_e,this.fullscreen=Ue,this.insomnia=we,this.sharing=Ne,this.splash=Re,this.exit=void 0,this.share=void 0,this.backButton=K.backButton,K.ready().then(z=>{"cordova"===z&&Ve.styleDefault()}),this.isCordova()&&this.isAndroid()&&(this.exit=()=>this.doExit()),this.isCordova()&&R.e&&(this.share=(z,U)=>this.doShare(z,U)),this.orientation=K.resize.pipe((0,V.O)(void 0),(0,H.U)(()=>K.isPortrait()?ae.Portrait:ae.Landscape),(0,le.x)())}static#e=this.PORTRAIT=ae.Portrait;static#t=this.LANDSCAPE=ae.Landscape;getName(){var K=this;return(0,i.Z)(function*(){return K.isCordova()&&T.b?(yield K.platform.ready(),K.app.getAppName()):"App"})()}getVersion(){var K=this;return(0,i.Z)(function*(){return K.isCordova()&&T.b?(yield K.platform.ready(),K.app.getVersionNumber()):"Web"})()}getVersionCode(){var K=this;return(0,i.Z)(function*(){if(K.isCordova()&&T.b)return yield K.platform.ready(),(yield K.app.getVersionCode()).toString()})()}getDeviceInfo(){var K=this;return(0,i.Z)(function*(){return K.isCordova()&&k.A?(yield K.platform.ready(),{isVirtual:K.device.isVirtual,manufacturer:K.device.manufacturer,model:K.device.model,platform:K.device.platform,version:K.device.version}):{isVirtual:!1,manufacturer:"",model:"",platform:"browser",version:""}})()}enableFullScreen(K){var fe=this;return(0,i.Z)(function*(){fe.isCordova()&&fe.isAndroid()&&r.B&&(yield fe.platform.ready(),K?fe.fullscreen.immersiveMode():fe.fullscreen.showSystemUI())})()}hideSplashScreen(){var K=this;return(0,i.Z)(function*(){K.isCordova()&&K.splash&&(yield K.platform.ready(),K.splash.hide())})()}keepAwake(K){var fe=this;return(0,i.Z)(function*(){fe.isCordova()&&ne.s&&(yield fe.platform.ready(),K?fe.insomnia.keepAwake():fe.insomnia.allowSleepAgain())})()}isAndroid(){return this.platform.is("android")}isCordova(){return this.platform.is("cordova")}doShare(K,fe){var _e=this;return(0,i.Z)(function*(){if(yield _e.platform.ready(),R.e)return _e.sharing.shareWithOptions({message:fe,subject:K})})()}doExit(){var K=this;return(0,i.Z)(function*(){yield K.platform.ready(),navigator.app&&navigator.app.exitApp&&navigator.app.exitApp()})()}static#n=this.\u0275fac=function(fe){return new(fe||Q)(me.LFG(q.t4),me.LFG(T.b),me.LFG(k.A),me.LFG(r.B),me.LFG(ne.s),me.LFG(R.e),me.LFG(re.c),me.LFG(he.A))};static#r=this.\u0275prov=me.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}},6698:(pt,Pe,g)=>{"use strict";g.d(Pe,{zi:()=>i.z,V1:()=>V,Pn:()=>q,tQ:()=>fe,ed:()=>R,vA:()=>Ne});var i=g(6475),r=g(1135),T=g(4650),k=(()=>{return(Re=k||(k={}))[Re.DEBUG=0]="DEBUG",Re[Re.INFO=1]="INFO",Re[Re.WARNING=2]="WARNING",Re[Re.ERROR=3]="ERROR",k;var Re})();let R=(()=>{class Re{constructor(){this.level=k.INFO,this.limit=50,this.records=new Array}isDebugEnabled(){return this.level===k.DEBUG}setDebugEnabled(z){this.level=z?k.DEBUG:k.INFO}debug(...z){this.log(k.DEBUG,z)}info(...z){this.log(k.INFO,z)}warn(...z){this.log(k.WARNING,z)}error(...z){this.log(k.ERROR,z)}clear(){this.records.length=0}log(z,U){if(z>=this.level){for(console.log.apply(console,U);this.records.length>=this.limit;)this.records.shift();this.records.push({level:z,time:Date.now(),args:U})}}static#e=this.\u0275fac=function(U){return new(U||Re)};static#t=this.\u0275prov=T.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})(),V=(()=>{class Re extends r.X{constructor(z){super(null),this.logger=z}next(z){this.value?this.value.disconnect().catch(U=>{this.logger.error("Error disconnecting from",this.value,U)}).then(()=>{super.next(z)}):super.next(z)}static#e=this.\u0275fac=function(U){return new(U||Re)(T.LFG(R))};static#t=this.\u0275prov=T.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();var H=g(5861),le=g(6693),me=g(6188);let q=(()=>{class Re{constructor(z,U){this.alert=z,this.translate=U}show(z){var U=this;return(0,H.Z)(function*(){return z&&(z=yield U.translateAlertOptions(z)),yield(yield U.alert.create(z)).present()})()}translateAlertOptions(z){var U=this;return(0,H.Z)(function*(){const[be,Ce,Te,$e]=yield Promise.all([U.translateString(z.header),U.translateString(z.subHeader),U.translateString(z.message),Promise.all((z.buttons||[]).map(ce=>"string"==typeof ce?U.translateString(ce):U.translateString(ce.text).then(Le=>Object.assign({},ce,{text:Le}))))]);return Object.assign({},z,{header:be,subHeader:Ce,message:Te,buttons:$e})})()}translateString(z){return z?this.translate.get(z).toPromise():Promise.resolve(z)}static#e=this.\u0275fac=function(U){return new(U||Re)(T.LFG(le.Br),T.LFG(me.sK))};static#t=this.\u0275prov=T.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();var re=g(958),he=g(4879);class ae{constructor(Ve,z){this.platform=Ve,this.toast=z}show(Ve,z,U){var be=this;return(0,H.Z)(function*(){return yield be.platform.ready(),yield be.toast.hide(),be.toast.show(Ve,z.toString(),U).toPromise()})()}}class Q{constructor(Ve){this.controller=Ve}show(Ve,z,U){var be=this;return(0,H.Z)(function*(){return(yield be.controller.create({message:Ve,duration:z,position:"center"===U?"middle":U})).present()})()}}const K=4e3;let fe=(()=>{class Re{constructor(z,U,be,Ce){this.translate=Ce,this.toast=z.is("cordova")?new ae(z,U):new Q(be)}showShortTop(z,U){return this.show("top",2e3,z,U)}showShortCenter(z,U){return this.show("center",2e3,z,U)}showShortBottom(z,U){return this.show("bottom",2e3,z,U)}showLongTop(z,U){return this.show("top",K,z,U)}showLongCenter(z,U){return this.show("center",K,z,U)}showLongBottom(z,U){return this.show("bottom",K,z,U)}show(z,U,be,Ce){var Te=this;return(0,H.Z)(function*(){const $e=yield Te.translate.get(be,Ce).toPromise();return Te.toast.show($e,U,z)})()}static#e=this.\u0275fac=function(U){return new(U||Re)(T.LFG(re.t4),T.LFG(he.F),T.LFG(le.yF),T.LFG(me.sK))};static#t=this.\u0275prov=T.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})();var _e=g(694);class Ue{constructor(Ve,z){this.speech=Ve,this.voices=new Map,z.info("Using Web Speech API")}getVoiceMap(){return this.voices.size||this.speech.getVoices().forEach(Ve=>{this.voices.set(Ve.voiceURI,Ve)}),this.voices}speak(Ve){return new Promise((z,U)=>{const be=this.__utterance__=new SpeechSynthesisUtterance;"string"==typeof Ve?be.text=Ve:(be.text=Ve.text,be.lang=Ve.locale,be.rate=Ve.rate,be.pitch=Ve.pitch,be.voice=this.getVoiceMap().get(Ve.identifier)),be.onend=()=>{z()},be.onerror=Ce=>{U(Ce)};try{this.speech.speak(be)}catch(Ce){U(Ce)}})}stop(){return new Promise((Ve,z)=>{try{this.speech.cancel(),Ve()}catch(U){z(U)}})}getVoices(){return Promise.resolve(Array.from(this.getVoiceMap(),([Ve,z])=>z).map(Ve=>({name:Ve.name,language:Ve.lang,identifier:Ve.voiceURI})))}}class we{constructor(Ve){Ve.info("Speech not supported on this platform")}speak(Ve){return Promise.resolve()}stop(){return Promise.resolve()}getVoices(){return Promise.resolve([])}}let Ne=(()=>{class Re{constructor(z,U,be){this.logger=z,this.tts=U,this.locale="en-US",this.promise=Promise.resolve(),this.pending=0,this.rate=1,this.pitch=1,be.is("cordova")?this.rate=be.is("ios")?1.5:1:this.tts=window.speechSynthesis?new Ue(window.speechSynthesis,z):new we(z)}setLocale(z){this.locale=z}setRate(z){this.rate=z}setPitch(z){this.pitch=z}setVoice(z){this.voice=z}speak(z){z!=this.lastMessage?(this.lastMessage=z,this.pending++,this.promise=this.promise.then(()=>0==--this.pending?this.tts.speak({text:z,locale:this.locale||"en-us",rate:this.rate,pitch:this.pitch,identifier:this.voice||null}).then(()=>{0===this.pending&&(this.lastMessage=null)}).catch(U=>{this.logger.error("Speech error:",U),0===this.pending&&(this.lastMessage=null)}):(this.logger.warn("Speech cancelled: "+z),Promise.resolve())).catch(U=>{this.logger.error("Speech error:",U)})):this.logger.info("Speech duplicate dismissed: "+z)}getVoices(z){return this.tts.getVoices().then(U=>(U=(U=U.filter(be=>be.language.startsWith(z))).filter(be=>!be.name.endsWith("-network"))).sort((be,Ce)=>be.name.localeCompare(Ce.name)))}static#e=this.\u0275fac=function(U){return new(U||Re)(T.LFG(R),T.LFG(_e.E),T.LFG(re.t4))};static#t=this.\u0275prov=T.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"})}return Re})()},6557:(pt,Pe,g)=>{"use strict";g.d(Pe,{t:()=>V});var i=g(4650),r=g(6475),T=g(6693);let k=(()=>{class H{onClick(){return window.open(this.href,this.target),!1}static#e=this.\u0275fac=function(q){return new(q||H)};static#t=this.\u0275dir=i.lG2({type:H,selectors:[["a","target",""]],hostBindings:function(q,re){1&q&&i.NdJ("click",function(){return re.onClick()})},inputs:{target:"target",href:"href"}})}return H})();var ne=g(6188),R=g(6895);let V=(()=>{class H{constructor(me){this.app=me,this.version=me.getVersion()}static#e=this.\u0275fac=function(q){return new(q||H)(i.Y36(r.z))};static#t=this.\u0275cmp=i.Xpm({type:H,selectors:[["ng-component"]],decls:33,vars:3,consts:[["slot","start"],["defaultHref","/"],["translate",""],["src","assets/icons/icon-128x128.png"],["href","https://github.com/tkem/openlap/","target","_system"],[1,"ion-text-wrap"]],template:function(q,re){1&q&&(i.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),i._UZ(3,"ion-back-button",1),i.qZA(),i.TgZ(4,"ion-title")(5,"span",2),i._uU(6,"About Open Lap"),i.qZA()()()(),i.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-thumbnail",0),i._UZ(10,"img",3),i.qZA(),i.TgZ(11,"ion-label")(12,"h1"),i._uU(13),i.ALo(14,"async"),i.qZA(),i.TgZ(15,"a",4),i._uU(16," https://github.com/tkem/openlap/ "),i.qZA()()(),i.TgZ(17,"ion-item")(18,"ion-label",5),i._uU(19," Copyright \xa9 2016-2024 Thomas Kemmer. "),i.qZA()(),i.TgZ(20,"ion-item")(21,"ion-label",5),i._uU(22," Licensed under the Apache License, Version 2.0. "),i.qZA()(),i.TgZ(23,"ion-item")(24,"ion-label",5)(25,"span",2),i._uU(26,"Translations"),i.qZA(),i._uU(27,": Haarman (Nederlands), SdiF (Italiano), Maikeru (Espa\xf1ol), nico12 (Fran\xe7ais), Ludevik (Slovak). "),i.qZA()(),i.TgZ(28,"ion-item")(29,"ion-label",5)(30,"span",2),i._uU(31,"iOS support"),i.qZA(),i._uU(32,": softyde, elliot2extreme. "),i.qZA()()()),2&q&&(i.xp6(13),i.hij("Open Lap ",i.lcZ(14,1,re.version),""))},dependencies:[T.Sm,T.W2,T.Gu,T.Ie,T.Q$,T.Bs,T.wd,T.sr,T.oU,k,ne.Pi,R.Ov],encapsulation:2})}return H})()},6291:(pt,Pe,g)=>{"use strict";g.d(Pe,{X:()=>le});var i=g(5698),r=g(227),T=g(4650),k=g(6698),ne=g(4006),R=g(6693),V=g(6188);let le=(()=>{class me{constructor(re,he){this.logger=re,this.settings=he,this.connection=new r.ew,this.ranges={connection:5e3,request:1e3,reconnect:{lower:2e3,upper:1e4}},this.demo=!1}ngOnInit(){this.settings.getConnection().pipe((0,i.q)(1)).toPromise().then(re=>{this.connection=re,this.ranges={connection:re.connectionTimeout,request:re.requestTimeout,reconnect:{lower:re.minReconnectDelay,upper:re.maxReconnectDelay}},this.demo=re.demoControlUnit}).catch(re=>{this.logger.error("Error getting connection parameters",re)})}ngOnDestroy(){const re={connectionTimeout:this.ranges.connection,requestTimeout:this.ranges.request,minReconnectDelay:this.ranges.reconnect.lower,maxReconnectDelay:this.ranges.reconnect.upper,demoControlUnit:this.demo};(function H(me,q){for(let re in me)if(me[re]!==q[re])return!1;return!0})(re,this.connection)||this.settings.setConnection(Object.assign({},this.connection,re)).catch(he=>{this.logger.error("Error setting connection parameters",he)})}static#e=this.\u0275fac=function(he){return new(he||me)(T.Y36(k.ed),T.Y36(r.de))};static#t=this.\u0275cmp=T.Xpm({type:me,selectors:[["ng-component"]],decls:36,vars:4,consts:[["slot","start"],["defaultHref","/"],["translate",""],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","1000","max","5000","step","500","snaps","true",3,"ngModel","ngModelChange"],["slot","end"],["legacy","true","slot","end","dualKnobs","true","min","2000","max","10000","step","1000","snaps","true",3,"ngModel","ngModelChange"],["translate","",3,"ngModel","ngModelChange"]],template:function(he,ae){1&he&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Connection"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-label",3),T._uU(11," Connection timeout "),T.qZA(),T.TgZ(12,"ion-range",4),T.NdJ("ngModelChange",function(ie){return ae.ranges.connection=ie}),T.TgZ(13,"ion-label",0),T._uU(14,"1 s"),T.qZA(),T.TgZ(15,"ion-label",5),T._uU(16,"5 s"),T.qZA()()(),T.TgZ(17,"ion-item")(18,"ion-label",3),T._uU(19," Request timeout "),T.qZA(),T.TgZ(20,"ion-range",4),T.NdJ("ngModelChange",function(ie){return ae.ranges.request=ie}),T.TgZ(21,"ion-label",0),T._uU(22,"1 s"),T.qZA(),T.TgZ(23,"ion-label",5),T._uU(24,"5 s"),T.qZA()()(),T.TgZ(25,"ion-item")(26,"ion-label",3),T._uU(27," Reconnect delay "),T.qZA(),T.TgZ(28,"ion-range",6),T.NdJ("ngModelChange",function(ie){return ae.ranges.reconnect=ie}),T.TgZ(29,"ion-label",0),T._uU(30,"2 s"),T.qZA(),T.TgZ(31,"ion-label",5),T._uU(32,"10 s"),T.qZA()()(),T.TgZ(33,"ion-item")(34,"ion-toggle",7),T.NdJ("ngModelChange",function(ie){return ae.demo=ie}),T._uU(35,"Demo Control Unit"),T.qZA()()()()),2&he&&(T.xp6(12),T.Q6J("ngModel",ae.ranges.connection),T.xp6(8),T.Q6J("ngModel",ae.ranges.request),T.xp6(8),T.Q6J("ngModel",ae.ranges.reconnect),T.xp6(6),T.Q6J("ngModel",ae.demo))},dependencies:[ne.JJ,ne.On,R.Sm,R.W2,R.Gu,R.Ie,R.Q$,R.q_,R.I_,R.wd,R.ho,R.sr,R.w,R.j9,R.oU,V.Pi],encapsulation:2})}return me})()},6928:(pt,Pe,g)=>{"use strict";g.d(Pe,{B:()=>he});var i=g(227),r=g(4650),T=g(6698),k=g(6693),ne=g(6895),R=g(4006),V=g(6188);function H(ae,Q){if(1&ae){const ie=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(ie);const fe=r.oxw();return r.KtG(fe.share())}),r.TgZ(1,"ion-label")(2,"span",3),r._uU(3,"Share"),r.qZA(),r._uU(4,"\u2026"),r.qZA()()}}function le(ae){try{return JSON.stringify(ae)}catch{return""+ae}}let me=(()=>{class ae{constructor(ie,K,fe,_e){this.app=ie,this.logger=K,this.settings=fe,this.controller=_e,this.options=new i.Ei,this.share=void 0,ie.share&&(this.share=()=>this.doShare())}get debugEnabled(){return this.options.debug}set debugEnabled(ie){this.options.debug=ie,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:ie=>{this.options=ie},error:ie=>{this.logger.error("Logging settings: ",ie)},complete:()=>{this.logger.debug("Logging settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}clear(){this.logger.clear(),this.dismiss()}dismiss(){return this.controller.dismiss()}doShare(){Promise.all([this.app.getName(),this.app.getVersion(),this.app.getDeviceInfo()]).then(([ie,K,fe])=>{const _e=this.logger.records.map(we=>[we.level,we.time,we.args.map(le).join(" ")].join("\t")).join("\n"),Ue=ie+" "+K+" ("+[fe.model,fe.platform,fe.version].join(" ")+")";return this.app.share(Ue,_e)}).catch(ie=>{this.logger.error("Error sharing log:",ie)}).then(()=>{this.dismiss()})}static#e=this.\u0275fac=function(K){return new(K||ae)(r.Y36(T.zi),r.Y36(T.ed),r.Y36(i.de),r.Y36(k.Dh))};static#t=this.\u0275cmp=r.Xpm({type:ae,selectors:[["ng-component"]],decls:9,vars:2,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["translate",""]],template:function(K,fe){1&K&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(Ue){return fe.debugEnabled=Ue}),r._uU(3,"Debug messages"),r.qZA()(),r.YNc(4,H,5,0,"ion-item",1),r.TgZ(5,"ion-item",2),r.NdJ("click",function(){return fe.clear()}),r.TgZ(6,"ion-label")(7,"span",3),r._uU(8,"Clear"),r.qZA()()()()),2&K&&(r.xp6(2),r.Q6J("ngModel",fe.debugEnabled),r.xp6(2),r.Q6J("ngIf",fe.share))},dependencies:[ne.O5,R.JJ,R.On,k.nz,k.Ie,k.Ub,k.Q$,k.w,V.Pi],encapsulation:2})}return ae})();function q(ae,Q){if(1&ae&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ae){const ie=Q.$implicit,K=r.oxw(2);r.xp6(1),r.hij(" ",K.stringify(ie),"")}}function re(ae,Q){if(1&ae&&(r.TgZ(0,"ion-item"),r._UZ(1,"ion-icon",7),r.TgZ(2,"ion-label",8)(3,"span",0),r._uU(4),r.ALo(5,"date"),r.ALo(6,"number"),r.qZA(),r.YNc(7,q,2,1,"span",6),r.qZA()()),2&ae){const ie=Q.$implicit,K=r.oxw();r.xp6(1),r.Q6J("name",null==K.icons[ie.level]?null:K.icons[ie.level].name)("ngStyle",null==K.icons[ie.level]?null:K.icons[ie.level].style),r.xp6(3),r.AsE("",r.xi3(5,5,ie.time,"HH:mm:ss"),".",r.xi3(6,8,ie.time%1e3,"3.0-0"),":"),r.xp6(3),r.Q6J("ngForOf",ie.args)}}let he=(()=>{class ae{constructor(ie,K){this.logger=ie,this.popover=K,this.icons=[{name:"bug-sharp",style:{color:"green"}},{name:"information-circle-sharp",style:{color:"blue"}},{name:"warning-sharp",style:{color:"yellow"}},{name:"alert-circle-sharp",style:{color:"red"}}]}showMenu(ie){return this.popover.create({component:me,event:ie}).then(K=>{K.present()})}stringify(ie){if("object"!=typeof ie||ie instanceof Error)return ie;try{return JSON.stringify(ie,null," ")}catch{return""+ie}}static#e=this.\u0275fac=function(K){return new(K||ae)(r.Y36(T.ed),r.Y36(k.Dh))};static#t=this.\u0275cmp=r.Xpm({type:ae,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","primary"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngFor","ngForOf"],["slot","start",3,"name","ngStyle"],[1,"ion-text-wrap"]],template:function(K,fe){1&K&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Event log"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(Ue){return fe.showMenu(Ue)}),r._UZ(9,"ion-icon",5),r.qZA()()()(),r.TgZ(10,"ion-content")(11,"ion-list"),r.YNc(12,re,8,11,"ion-item",6),r.qZA()()),2&K&&(r.xp6(12),r.Q6J("ngForOf",fe.logger.records))},dependencies:[ne.sg,ne.PC,k.YG,k.Sm,k.W2,k.Gu,k.gu,k.Ie,k.Q$,k.q_,k.wd,k.sr,k.oU,V.Pi,ne.JJ,ne.uU],encapsulation:2})}return ae})()},6659:(pt,Pe,g)=>{"use strict";g.d(Pe,{d:()=>me});var i=g(5698),r=g(4650),T=g(6698),k=g(227),ne=g(6188),R=g(6895),V=g(4006),H=g(6693);function le(q,re){if(1&q){const he=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",4),r.NdJ("ngModelChange",function(Q){const K=r.CHM(he).$implicit,fe=r.oxw();return r.KtG(fe.notifications[K.id].message=Q)}),r.ALo(2,"translate"),r.ALo(3,"translate"),r.qZA(),r.TgZ(4,"ion-buttons",5)(5,"ion-button",6),r.NdJ("click",function(){const ie=r.CHM(he).$implicit,K=r.oxw();return r.KtG(K.speak(ie.id))}),r._UZ(6,"ion-icon",7),r.qZA(),r.TgZ(7,"ion-toggle",8),r.NdJ("ngModelChange",function(Q){const K=r.CHM(he).$implicit,fe=r.oxw();return r.KtG(fe.notifications[K.id].enabled=Q)}),r.qZA()()()}if(2&q){const he=re.$implicit,ae=r.oxw();r.xp6(1),r.s9C("label",r.lcZ(2,4,he.label)),r.Q6J("ngModel",ae.notifications[he.id].message)("placeholder",r.lcZ(3,6,"notifications."+he.id)),r.xp6(6),r.Q6J("ngModel",ae.notifications[he.id].enabled)}}let me=(()=>{class q{constructor(he,ae,Q,ie){this.logger=he,this.settings=ae,this.speech=Q,this.translate=ie,this.items=[{id:"finished",label:"Race finished"},{id:"finished1st",label:"Finished first"},{id:"finished2nd",label:"Finished second"},{id:"finished3rd",label:"Finished third"},{id:"timeout",label:"Timeout"},{id:"oneminute",label:"One minute to go"},{id:"fivelaps",label:"Five laps to go"},{id:"finallap",label:"Final lap"},{id:"yellowflag",label:"Yellow flag"},{id:"greenflag",label:"Track clear"},{id:"falsestart",label:"False start"},{id:"newleader",label:"New race leader"},{id:"bestlap",label:"Fastest lap"},{id:"bests1",label:"Fastest sector 1"},{id:"bests2",label:"Fastest sector 2"},{id:"bests3",label:"Fastest sector 3"},{id:"fuel2",label:"Fuel < 20%"},{id:"fuel1",label:"Fuel < 10%"},{id:"fuel0",label:"No fuel"},{id:"pitenter",label:"Car enters pit"},{id:"pitexit",label:"Car leaves pit"}],this.notifications={};for(let K of this.items)this.notifications[K.id]={enabled:!1,message:void 0}}ngOnInit(){this.settings.getNotifications().pipe((0,i.q)(1)).toPromise().then(he=>{this.notifications=he}).catch(he=>{this.logger.error("Error getting notifications",he)})}ngOnDestroy(){this.settings.setNotifications(this.notifications).catch(he=>{this.logger.error("Error setting notifications",he)})}speak(he){this.getMessage(he).then(ae=>{this.speech.speak(ae)})}getMessage(he){return this.notifications[he]&&this.notifications[he].message?Promise.resolve(this.notifications[he].message):this.translate.get("notifications."+he).toPromise()}static#e=this.\u0275fac=function(ae){return new(ae||q)(r.Y36(T.ed),r.Y36(k.de),r.Y36(T.vA),r.Y36(ne.sK))};static#t=this.\u0275cmp=r.Xpm({type:q,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],[4,"ngFor","ngForOf"],["clearInput","","labelPlacement","stacked",3,"label","ngModel","placeholder","ngModelChange"],["slot","end"],["fill","clear",3,"click"],["name","volume-high-sharp"],["aria-label","",3,"ngModel","ngModelChange"]],template:function(ae,Q){1&ae&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Notifications"),r.qZA()()()(),r.TgZ(7,"ion-content")(8,"ion-list"),r.YNc(9,le,8,8,"ion-item",3),r.qZA()()),2&ae&&(r.xp6(9),r.Q6J("ngForOf",Q.items))},dependencies:[R.sg,V.JJ,V.On,H.YG,H.Sm,H.W2,H.Gu,H.gu,H.pK,H.Ie,H.q_,H.wd,H.ho,H.sr,H.w,H.j9,H.oU,ne.Pi,ne.X$],encapsulation:2})}return q})()},9297:(pt,Pe,g)=>{"use strict";g.r(Pe),g.d(Pe,{SettingsModule:()=>K});var i=g(6895),r=g(4006),T=g(6159),k=g(6693),ne=g(4466),R=g(6557),V=g(6291),H=g(4650),le=g(6188);function me(fe,_e){if(1&fe&&(H.TgZ(0,"ion-item",4)(1,"ion-label")(2,"h1"),H._uU(3),H.qZA(),H.TgZ(4,"h2"),H._uU(5),H.qZA(),H.TgZ(6,"p")(7,"span",2),H._uU(8,"License"),H.qZA(),H._uU(9),H.qZA()()()),2&fe){const Ue=_e.$implicit;H.Q6J("href",Ue.homepage),H.xp6(3),H.Oqu(Ue.name),H.xp6(2),H.Oqu(Ue.copyright||Ue.author),H.xp6(4),H.hij(": ",Ue.license,"")}}let q=(()=>{class fe{constructor(){this.items=[{name:"Angular",copyright:"Super-powered by Google \xa92010-2023",license:"MIT",homepage:"https://angular.io/"},{name:"Apache Cordova",copyright:"Copyright \xa9 2023 The Apache Software Foundation",license:"Apache-2.0",homepage:"https://cordova.apache.org/"},{name:"Awesome Cordova Plugins",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/danielsogl/awesome-cordova-plugins"},{name:"Ionic",copyright:"Copyright (c) 2015-present Drifty Co.",license:"MIT",homepage:"https://github.com/driftyco/ionic#readme"},{name:"RxJS",copyright:"Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors",license:"Apache-2.0",homepage:"https://github.com/ReactiveX/RxJS#readme"},{name:"cordova-plugin-app-version",copyright:"Copyright (c) 2013 White October",license:"MIT",homepage:"https://github.com/whiteoctober/cordova-plugin-app-version#readme"},{name:"cordova-plugin-ble-central",copyright:"Copyright 2014-2020 Don Coleman",license:"Apache-2.0",homepage:"https://github.com/don/cordova-plugin-ble-central#readme"},{name:"cordova-plugin-device",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-device#readme"},{name:"cordova-plugin-fullscreen",copyright:"Copyright (c) 2014, Mesmotronic Limited",license:"BSD",homepage:"https://github.com/mesmotronic/cordova-fullscreen-plugin#readme"},{name:"cordova-plugin-inappbrowser",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-inappbrowser#readme"},{name:"cordova-plugin-insomnia",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin#readme"},{name:"cordova-plugin-screen-orientation",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-screen-orientation#readme"},{name:"cordova-plugin-splashscreen",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-splashscreen#readme"},{name:"cordova-plugin-statusbar",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-statusbar#readme"},{name:"cordova-plugin-tts-advanced",author:"Sebastiaan Pasma and VILIC VANE",license:"MIT",homepage:"https://github.com/spasma/cordova-plugin-tts-advanced#readme"},{name:"cordova-plugin-whitelist",author:"Apache Software Foundation",license:"Apache-2.0",homepage:"https://github.com/apache/cordova-plugin-whitelist#readme"},{name:"cordova-plugin-x-socialsharing",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#readme"},{name:"cordova-plugin-x-toast",author:"Eddy Verbruggen",license:"MIT",homepage:"https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin#readme"},{name:"cordova-sqlite-storage",author:"various",license:"MIT",homepage:"https://github.com/litehelpers/Cordova-sqlite-storage"},{name:"cordovarduino",copyright:"Copyright (c) 2015 Xavier Seignard",license:"MIT",homepage:"https://github.com/xseignard/cordovarduino#readme"},{name:"ngx-translate",author:"Olivier Combe",license:"MIT",homepage:"https://github.com/ngx-translate/core#readme"}]}static#e=this.\u0275fac=function(we){return new(we||fe)};static#t=this.\u0275cmp=H.Xpm({type:fe,selectors:[["ng-component"]],decls:10,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["target","_system",3,"href",4,"ngFor","ngForOf"],["target","_system",3,"href"]],template:function(we,Ne){1&we&&(H.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),H._UZ(3,"ion-back-button",1),H.qZA(),H.TgZ(4,"ion-title")(5,"span",2),H._uU(6,"Open source licenses"),H.qZA()()()(),H.TgZ(7,"ion-content")(8,"ion-list"),H.YNc(9,me,10,4,"ion-item",3),H.qZA()()),2&we&&(H.xp6(9),H.Q6J("ngForOf",Ne.items))},dependencies:[i.sg,k.Sm,k.W2,k.Gu,k.Ie,k.Q$,k.q_,k.wd,k.sr,k.oU,le.Pi],encapsulation:2})}return fe})();var re=g(6928),he=g(6659),ae=g(7162),Q=g(235);const ie=[{path:"",component:ae.N},{path:"about",component:R.t},{path:"logging",component:re.B},{path:"licenses",component:q},{path:"connection",component:V.X},{path:"notifications",component:he.d},{path:"voice",component:Q.O}];let K=(()=>{class fe{static#e=this.\u0275fac=function(we){return new(we||fe)};static#t=this.\u0275mod=H.oAB({type:fe});static#n=this.\u0275inj=H.cJS({imports:[i.ez,r.u5,k.Pc,T.Bz.forChild(ie),ne.m,T.Bz]})}return fe})()},7162:(pt,Pe,g)=>{"use strict";g.d(Pe,{N:()=>le});var i=g(5861),r=g(227),T=g(4650),k=g(6698),ne=g(4006),R=g(6693),V=g(6159),H=g(6188);let le=(()=>{class me{constructor(re,he,ae){this.alert=re,this.settings=he,this.speech=ae,this.options=new r.Ei}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(re=>{this.options=re})}ngOnDestroy(){this.subscription.unsubscribe()}reset(){this.alert.show({message:"Reset all user settings to default values?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>{this.settings.clear()}}]})}updateLanguage(){var re=this;return(0,i.Z)(function*(){return re.options.language&&(yield re.speech.getVoices(re.options.language)).find(ae=>ae.identifier==re.options.voice)||(re.options.voice=""),re.settings.setOptions(re.options)})()}static#e=this.\u0275fac=function(he){return new(he||me)(T.Y36(k.Pn),T.Y36(r.de),T.Y36(k.vA))};static#t=this.\u0275cmp=T.Xpm({type:me,selectors:[["ng-component"]],decls:55,vars:10,consts:[["slot","start"],["defaultHref","/"],["translate",""],["lines","full"],[3,"label","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],["value","de"],["value","en"],["value","es"],["value","fr"],["value","it"],["value","sk"],["routerLink","/settings/voice"],["routerLink","/settings/connection"],["routerLink","/settings/notifications"],["button","",3,"click"],["routerLink","/settings/about"],["href","https://github.com/tkem/openlap/blob/master/PRIVACY.md","target","_system"],["routerLink","/settings/licenses"],["routerLink","/settings/logging"]],template:function(he,ae){1&he&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Settings"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list",3)(9,"ion-item")(10,"ion-select",4),T.NdJ("ngModelChange",function(ie){return ae.options.language=ie})("ionChange",function(){return ae.updateLanguage()}),T.ALo(11,"translate"),T.ALo(12,"translate"),T.ALo(13,"translate"),T.TgZ(14,"ion-select-option",5),T._uU(15,"Default"),T.qZA(),T.TgZ(16,"ion-select-option",6),T._uU(17,"Deutsch"),T.qZA(),T.TgZ(18,"ion-select-option",7),T._uU(19,"English"),T.qZA(),T.TgZ(20,"ion-select-option",8),T._uU(21,"Espa\xf1ol"),T.qZA(),T.TgZ(22,"ion-select-option",9),T._uU(23,"Fran\xe7ais"),T.qZA(),T.TgZ(24,"ion-select-option",10),T._uU(25,"Italiano"),T.qZA(),T.TgZ(26,"ion-select-option",11),T._uU(27,"Slovak"),T.qZA()()(),T.TgZ(28,"ion-item",12)(29,"ion-label",2),T._uU(30,"Voice"),T.qZA()(),T.TgZ(31,"ion-item",13)(32,"ion-label",2),T._uU(33,"Connection"),T.qZA()(),T.TgZ(34,"ion-item",14)(35,"ion-label",2),T._uU(36,"Notifications"),T.qZA()(),T.TgZ(37,"ion-item",15),T.NdJ("click",function(){return ae.reset()}),T.TgZ(38,"ion-label",2),T._uU(39,"Reset settings"),T.qZA()(),T.TgZ(40,"ion-list-header")(41,"ion-label",2),T._uU(42,"About"),T.qZA()(),T.TgZ(43,"ion-item",16)(44,"ion-label",2),T._uU(45,"About Open Lap"),T.qZA()(),T.TgZ(46,"ion-item",17)(47,"ion-label",2),T._uU(48,"Privacy policy"),T.qZA()(),T.TgZ(49,"ion-item",18)(50,"ion-label",2),T._uU(51,"Open source licenses"),T.qZA()(),T.TgZ(52,"ion-item",19)(53,"ion-label",2),T._uU(54,"Event log"),T.qZA()()()()),2&he&&(T.xp6(10),T.s9C("label",T.lcZ(11,4,"Language")),T.s9C("cancelText",T.lcZ(12,6,"Cancel")),T.s9C("okText",T.lcZ(13,8,"OK")),T.Q6J("ngModel",ae.options.language))},dependencies:[ne.JJ,ne.On,R.Sm,R.W2,R.Gu,R.Ie,R.Q$,R.q_,R.yh,R.t9,R.n0,R.wd,R.sr,R.QI,R.oU,R.YI,V.rH,H.Pi,H.X$],encapsulation:2})}return me})()},235:(pt,Pe,g)=>{"use strict";g.d(Pe,{O:()=>me});var i=g(5861),r=g(227),T=g(4650),k=g(6698),ne=g(6188),R=g(6895),V=g(4006),H=g(6693);function le(q,re){if(1&q&&(T.TgZ(0,"ion-select-option",12),T._uU(1),T.qZA()),2&q){const he=re.$implicit;T.s9C("value",he.identifier),T.xp6(1),T.Oqu(he.name)}}let me=(()=>{class q{constructor(he,ae,Q){this.settings=he,this.speech=ae,this.translate=Q,this.options=new r.Ei,this.voices=[]}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(he=>{this.options=he,this.updateVoices()})}ngOnDestroy(){this.subscription.unsubscribe()}resetRate(){this.options.rate=1e3,this.update()}resetPitch(){this.options.pitch=1e3,this.update()}update(){var he=this;return(0,i.Z)(function*(){return he.settings.setOptions(he.options)})()}test(){var he=this;return(0,i.Z)(function*(){const ae=he.translate.instant("notifications.example");he.speech.speak(ae)})()}updateVoices(){var he=this;return(0,i.Z)(function*(){he.voices=yield he.speech.getVoices(he.options.language)})()}static#e=this.\u0275fac=function(ae){return new(ae||q)(T.Y36(r.de),T.Y36(k.vA),T.Y36(ne.sK))};static#t=this.\u0275cmp=T.Xpm({type:q,selectors:[["ng-component"]],decls:34,vars:14,consts:[["slot","start"],["defaultHref","/"],["translate",""],[3,"label","disabled","ngModel","cancelText","okText","ngModelChange","ionChange"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["translate","",1,"ion-text-wrap"],["legacy","true","slot","end","min","200","max","1800",3,"ngModel","ngModelChange","ionChange"],["slot","end"],["fill","clear",3,"click"],["name","refresh-outline"],[3,"click"],[3,"value"]],template:function(ae,Q){1&ae&&(T.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),T._UZ(3,"ion-back-button",1),T.qZA(),T.TgZ(4,"ion-title")(5,"span",2),T._uU(6,"Voice"),T.qZA()()()(),T.TgZ(7,"ion-content")(8,"ion-list")(9,"ion-item")(10,"ion-select",3),T.NdJ("ngModelChange",function(K){return Q.options.voice=K})("ionChange",function(){return Q.update()}),T.ALo(11,"translate"),T.ALo(12,"translate"),T.ALo(13,"translate"),T.TgZ(14,"ion-select-option",4),T._uU(15,"Default"),T.qZA(),T.YNc(16,le,2,2,"ion-select-option",5),T.qZA()(),T.TgZ(17,"ion-item")(18,"ion-label",6),T._uU(19," Rate "),T.qZA(),T.TgZ(20,"ion-range",7),T.NdJ("ngModelChange",function(K){return Q.options.rate=K})("ionChange",function(){return Q.update()}),T.qZA(),T.TgZ(21,"ion-buttons",8)(22,"ion-button",9),T.NdJ("click",function(){return Q.resetRate()}),T._UZ(23,"ion-icon",10),T.qZA()()(),T.TgZ(24,"ion-item")(25,"ion-label",6),T._uU(26," Pitch "),T.qZA(),T.TgZ(27,"ion-range",7),T.NdJ("ngModelChange",function(K){return Q.options.pitch=K})("ionChange",function(){return Q.update()}),T.qZA(),T.TgZ(28,"ion-buttons",8)(29,"ion-button",9),T.NdJ("click",function(){return Q.resetPitch()}),T._UZ(30,"ion-icon",10),T.qZA()()(),T.TgZ(31,"ion-item")(32,"ion-button",11),T.NdJ("click",function(){return Q.test()}),T._uU(33,"Test"),T.qZA()()()()),2&ae&&(T.xp6(10),T.s9C("label",T.lcZ(11,8,"Voice")),T.s9C("cancelText",T.lcZ(12,10,"Cancel")),T.s9C("okText",T.lcZ(13,12,"OK")),T.Q6J("disabled",!Q.options.language||Q.voices.length<2)("ngModel",Q.options.voice),T.xp6(6),T.Q6J("ngForOf",Q.voices),T.xp6(4),T.Q6J("ngModel",Q.options.rate),T.xp6(7),T.Q6J("ngModel",Q.options.pitch))},dependencies:[R.sg,V.JJ,V.On,H.YG,H.Sm,H.W2,H.Gu,H.gu,H.Ie,H.Q$,H.q_,H.I_,H.t9,H.n0,H.wd,H.sr,H.QI,H.j9,H.oU,ne.Pi,ne.X$],encapsulation:2})}return q})()},4466:(pt,Pe,g)=>{"use strict";g.d(Pe,{m:()=>k});var i=g(6895),r=g(6188),T=g(4650);let k=(()=>{class ne{static#e=this.\u0275fac=function(H){return new(H||ne)};static#t=this.\u0275mod=T.oAB({type:ne});static#n=this.\u0275inj=T.cJS({imports:[i.ez,r.aw,r.aw]})}return ne})()},2587:(pt,Pe,g)=>{"use strict";var i=g(1481),r=g(4650),k=(g(89),g(6895)),ne=g(9646),R=g(9751),V=g(4351),H=g(9300),le=g(4004);class me{}class q{}class re{constructor(p){this.normalizedNames=new Map,this.lazyUpdate=null,p?this.lazyInit="string"==typeof p?()=>{this.headers=new Map,p.split("\n").forEach(l=>{const y=l.indexOf(":");if(y>0){const x=l.slice(0,y),De=x.toLowerCase(),je=l.slice(y+1).trim();this.maybeSetNormalizedName(x,De),this.headers.has(De)?this.headers.get(De).push(je):this.headers.set(De,[je])}})}:()=>{this.headers=new Map,Object.entries(p).forEach(([l,y])=>{let x;if(x="string"==typeof y?[y]:"number"==typeof y?[y.toString()]:y.map(De=>De.toString()),x.length>0){const De=l.toLowerCase();this.headers.set(De,x),this.maybeSetNormalizedName(l,De)}})}:this.headers=new Map}has(p){return this.init(),this.headers.has(p.toLowerCase())}get(p){this.init();const l=this.headers.get(p.toLowerCase());return l&&l.length>0?l[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(p){return this.init(),this.headers.get(p.toLowerCase())||null}append(p,l){return this.clone({name:p,value:l,op:"a"})}set(p,l){return this.clone({name:p,value:l,op:"s"})}delete(p,l){return this.clone({name:p,value:l,op:"d"})}maybeSetNormalizedName(p,l){this.normalizedNames.has(l)||this.normalizedNames.set(l,p)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(p=>this.applyUpdate(p)),this.lazyUpdate=null))}copyFrom(p){p.init(),Array.from(p.headers.keys()).forEach(l=>{this.headers.set(l,p.headers.get(l)),this.normalizedNames.set(l,p.normalizedNames.get(l))})}clone(p){const l=new re;return l.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,l.lazyUpdate=(this.lazyUpdate||[]).concat([p]),l}applyUpdate(p){const l=p.name.toLowerCase();switch(p.op){case"a":case"s":let y=p.value;if("string"==typeof y&&(y=[y]),0===y.length)return;this.maybeSetNormalizedName(p.name,l);const x=("a"===p.op?this.headers.get(l):void 0)||[];x.push(...y),this.headers.set(l,x);break;case"d":const De=p.value;if(De){let je=this.headers.get(l);if(!je)return;je=je.filter(Rt=>-1===De.indexOf(Rt)),0===je.length?(this.headers.delete(l),this.normalizedNames.delete(l)):this.headers.set(l,je)}else this.headers.delete(l),this.normalizedNames.delete(l)}}forEach(p){this.init(),Array.from(this.normalizedNames.keys()).forEach(l=>p(this.normalizedNames.get(l),this.headers.get(l)))}}class ae{encodeKey(p){return fe(p)}encodeValue(p){return fe(p)}decodeKey(p){return decodeURIComponent(p)}decodeValue(p){return decodeURIComponent(p)}}const ie=/%(\d[a-f0-9])/gi,K={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fe(d){return encodeURIComponent(d).replace(ie,(p,l)=>K[l]??p)}function _e(d){return`${d}`}class Ue{constructor(p={}){if(this.updates=null,this.cloneFrom=null,this.encoder=p.encoder||new ae,p.fromString){if(p.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Q(d,p){const l=new Map;return d.length>0&&d.replace(/^\?/,"").split("&").forEach(x=>{const De=x.indexOf("="),[je,Rt]=-1==De?[p.decodeKey(x),""]:[p.decodeKey(x.slice(0,De)),p.decodeValue(x.slice(De+1))],rt=l.get(je)||[];rt.push(Rt),l.set(je,rt)}),l}(p.fromString,this.encoder)}else p.fromObject?(this.map=new Map,Object.keys(p.fromObject).forEach(l=>{const y=p.fromObject[l],x=Array.isArray(y)?y.map(_e):[_e(y)];this.map.set(l,x)})):this.map=null}has(p){return this.init(),this.map.has(p)}get(p){this.init();const l=this.map.get(p);return l?l[0]:null}getAll(p){return this.init(),this.map.get(p)||null}keys(){return this.init(),Array.from(this.map.keys())}append(p,l){return this.clone({param:p,value:l,op:"a"})}appendAll(p){const l=[];return Object.keys(p).forEach(y=>{const x=p[y];Array.isArray(x)?x.forEach(De=>{l.push({param:y,value:De,op:"a"})}):l.push({param:y,value:x,op:"a"})}),this.clone(l)}set(p,l){return this.clone({param:p,value:l,op:"s"})}delete(p,l){return this.clone({param:p,value:l,op:"d"})}toString(){return this.init(),this.keys().map(p=>{const l=this.encoder.encodeKey(p);return this.map.get(p).map(y=>l+"="+this.encoder.encodeValue(y)).join("&")}).filter(p=>""!==p).join("&")}clone(p){const l=new Ue({encoder:this.encoder});return l.cloneFrom=this.cloneFrom||this,l.updates=(this.updates||[]).concat(p),l}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(p=>this.map.set(p,this.cloneFrom.map.get(p))),this.updates.forEach(p=>{switch(p.op){case"a":case"s":const l=("a"===p.op?this.map.get(p.param):void 0)||[];l.push(_e(p.value)),this.map.set(p.param,l);break;case"d":if(void 0===p.value){this.map.delete(p.param);break}{let y=this.map.get(p.param)||[];const x=y.indexOf(_e(p.value));-1!==x&&y.splice(x,1),y.length>0?this.map.set(p.param,y):this.map.delete(p.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(p,l){return this.map.set(p,l),this}get(p){return this.map.has(p)||this.map.set(p,p.defaultValue()),this.map.get(p)}delete(p){return this.map.delete(p),this}has(p){return this.map.has(p)}keys(){return this.map.keys()}}function Ve(d){return typeof ArrayBuffer<"u"&&d instanceof ArrayBuffer}function z(d){return typeof Blob<"u"&&d instanceof Blob}function U(d){return typeof FormData<"u"&&d instanceof FormData}class Ce{constructor(p,l,y,x){let De;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=p.toUpperCase(),function Re(d){switch(d){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||x?(this.body=void 0!==y?y:null,De=x):De=y,De&&(this.reportProgress=!!De.reportProgress,this.withCredentials=!!De.withCredentials,De.responseType&&(this.responseType=De.responseType),De.headers&&(this.headers=De.headers),De.context&&(this.context=De.context),De.params&&(this.params=De.params)),this.headers||(this.headers=new re),this.context||(this.context=new Ne),this.params){const je=this.params.toString();if(0===je.length)this.urlWithParams=l;else{const Rt=l.indexOf("?");this.urlWithParams=l+(-1===Rt?"?":RtTt.set(At,p.setHeaders[At]),rt)),p.setParams&&(Pt=Object.keys(p.setParams).reduce((Tt,At)=>Tt.set(At,p.setParams[At]),Pt)),new Ce(l,y,De,{params:Pt,headers:rt,context:Yt,reportProgress:Rt,responseType:x,withCredentials:je})}}var Te=(()=>((Te=Te||{})[Te.Sent=0]="Sent",Te[Te.UploadProgress=1]="UploadProgress",Te[Te.ResponseHeader=2]="ResponseHeader",Te[Te.DownloadProgress=3]="DownloadProgress",Te[Te.Response=4]="Response",Te[Te.User=5]="User",Te))();class $e{constructor(p,l=200,y="OK"){this.headers=p.headers||new re,this.status=void 0!==p.status?p.status:l,this.statusText=p.statusText||y,this.url=p.url||null,this.ok=this.status>=200&&this.status<300}}class ce extends $e{constructor(p={}){super(p),this.type=Te.ResponseHeader}clone(p={}){return new ce({headers:p.headers||this.headers,status:void 0!==p.status?p.status:this.status,statusText:p.statusText||this.statusText,url:p.url||this.url||void 0})}}class Le extends $e{constructor(p={}){super(p),this.type=Te.Response,this.body=void 0!==p.body?p.body:null}clone(p={}){return new Le({body:void 0!==p.body?p.body:this.body,headers:p.headers||this.headers,status:void 0!==p.status?p.status:this.status,statusText:p.statusText||this.statusText,url:p.url||this.url||void 0})}}class We extends $e{constructor(p){super(p,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${p.url||"(unknown url)"}`:`Http failure response for ${p.url||"(unknown url)"}: ${p.status} ${p.statusText}`,this.error=p.error||null}}function at(d,p){return{body:p,headers:d.headers,context:d.context,observe:d.observe,params:d.params,reportProgress:d.reportProgress,responseType:d.responseType,withCredentials:d.withCredentials}}let ve=(()=>{class d{constructor(l){this.handler=l}request(l,y,x={}){let De;if(l instanceof Ce)De=l;else{let rt,Pt;rt=x.headers instanceof re?x.headers:new re(x.headers),x.params&&(Pt=x.params instanceof Ue?x.params:new Ue({fromObject:x.params})),De=new Ce(l,y,void 0!==x.body?x.body:null,{headers:rt,context:x.context,params:Pt,reportProgress:x.reportProgress,responseType:x.responseType||"json",withCredentials:x.withCredentials})}const je=(0,ne.of)(De).pipe((0,V.b)(rt=>this.handler.handle(rt)));if(l instanceof Ce||"events"===x.observe)return je;const Rt=je.pipe((0,H.h)(rt=>rt instanceof Le));switch(x.observe||"body"){case"body":switch(De.responseType){case"arraybuffer":return Rt.pipe((0,le.U)(rt=>{if(null!==rt.body&&!(rt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return rt.body}));case"blob":return Rt.pipe((0,le.U)(rt=>{if(null!==rt.body&&!(rt.body instanceof Blob))throw new Error("Response is not a Blob.");return rt.body}));case"text":return Rt.pipe((0,le.U)(rt=>{if(null!==rt.body&&"string"!=typeof rt.body)throw new Error("Response is not a string.");return rt.body}));default:return Rt.pipe((0,le.U)(rt=>rt.body))}case"response":return Rt;default:throw new Error(`Unreachable: unhandled observe type ${x.observe}}`)}}delete(l,y={}){return this.request("DELETE",l,y)}get(l,y={}){return this.request("GET",l,y)}head(l,y={}){return this.request("HEAD",l,y)}jsonp(l,y){return this.request("JSONP",l,{params:(new Ue).append(y,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(l,y={}){return this.request("OPTIONS",l,y)}patch(l,y,x={}){return this.request("PATCH",l,at(x,y))}post(l,y,x={}){return this.request("POST",l,at(x,y))}put(l,y,x={}){return this.request("PUT",l,at(x,y))}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(me))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();function G(d,p){return p(d)}function I(d,p){return(l,y)=>p.intercept(l,{handle:x=>d(x,y)})}const j=new r.OlP("HTTP_INTERCEPTORS"),ue=new r.OlP("HTTP_INTERCEPTOR_FNS");function W(){let d=null;return(p,l)=>(null===d&&(d=((0,r.f3M)(j,{optional:!0})??[]).reduceRight(I,G)),d(p,l))}let Ye=(()=>{class d extends me{constructor(l,y){super(),this.backend=l,this.injector=y,this.chain=null}handle(l){if(null===this.chain){const y=Array.from(new Set(this.injector.get(ue)));this.chain=y.reduceRight((x,De)=>function N(d,p,l){return(y,x)=>l.runInContext(()=>p(y,De=>d(De,x)))}(x,De,this.injector),G)}return this.chain(l,y=>this.backend.handle(y))}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(q),r.LFG(r.lqb))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();const It=/^\)\]\}',?\n/;let on=(()=>{class d{constructor(l){this.xhrFactory=l}handle(l){if("JSONP"===l.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new R.y(y=>{const x=this.xhrFactory.build();if(x.open(l.method,l.urlWithParams),l.withCredentials&&(x.withCredentials=!0),l.headers.forEach((Gt,Xt)=>x.setRequestHeader(Gt,Xt.join(","))),l.headers.has("Accept")||x.setRequestHeader("Accept","application/json, text/plain, */*"),!l.headers.has("Content-Type")){const Gt=l.detectContentTypeHeader();null!==Gt&&x.setRequestHeader("Content-Type",Gt)}if(l.responseType){const Gt=l.responseType.toLowerCase();x.responseType="json"!==Gt?Gt:"text"}const De=l.serializeBody();let je=null;const Rt=()=>{if(null!==je)return je;const Gt=x.statusText||"OK",Xt=new re(x.getAllResponseHeaders()),Wt=function bt(d){return"responseURL"in d&&d.responseURL?d.responseURL:/^X-Request-URL:/m.test(d.getAllResponseHeaders())?d.getResponseHeader("X-Request-URL"):null}(x)||l.url;return je=new ce({headers:Xt,status:x.status,statusText:Gt,url:Wt}),je},rt=()=>{let{headers:Gt,status:Xt,statusText:Wt,url:er}=Rt(),Pr=null;204!==Xt&&(Pr=typeof x.response>"u"?x.responseText:x.response),0===Xt&&(Xt=Pr?200:0);let Vo=Xt>=200&&Xt<300;if("json"===l.responseType&&"string"==typeof Pr){const Fc=Pr;Pr=Pr.replace(It,"");try{Pr=""!==Pr?JSON.parse(Pr):null}catch(Lc){Pr=Fc,Vo&&(Vo=!1,Pr={error:Lc,text:Pr})}}Vo?(y.next(new Le({body:Pr,headers:Gt,status:Xt,statusText:Wt,url:er||void 0})),y.complete()):y.error(new We({error:Pr,headers:Gt,status:Xt,statusText:Wt,url:er||void 0}))},Pt=Gt=>{const{url:Xt}=Rt(),Wt=new We({error:Gt,status:x.status||0,statusText:x.statusText||"Unknown Error",url:Xt||void 0});y.error(Wt)};let Yt=!1;const Tt=Gt=>{Yt||(y.next(Rt()),Yt=!0);let Xt={type:Te.DownloadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(Xt.total=Gt.total),"text"===l.responseType&&x.responseText&&(Xt.partialText=x.responseText),y.next(Xt)},At=Gt=>{let Xt={type:Te.UploadProgress,loaded:Gt.loaded};Gt.lengthComputable&&(Xt.total=Gt.total),y.next(Xt)};return x.addEventListener("load",rt),x.addEventListener("error",Pt),x.addEventListener("timeout",Pt),x.addEventListener("abort",Pt),l.reportProgress&&(x.addEventListener("progress",Tt),null!==De&&x.upload&&x.upload.addEventListener("progress",At)),x.send(De),y.next({type:Te.Sent}),()=>{x.removeEventListener("error",Pt),x.removeEventListener("abort",Pt),x.removeEventListener("load",rt),x.removeEventListener("timeout",Pt),l.reportProgress&&(x.removeEventListener("progress",Tt),null!==De&&x.upload&&x.upload.removeEventListener("progress",At)),x.readyState!==x.DONE&&x.abort()}})}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(k.JF))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();const Jt=new r.OlP("XSRF_ENABLED"),en=new r.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),nn=new r.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class un{}let Nt=(()=>{class d{constructor(l,y,x){this.doc=l,this.platform=y,this.cookieName=x,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const l=this.doc.cookie||"";return l!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,k.Mx)(l,this.cookieName),this.lastCookieString=l),this.lastToken}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(k.K0),r.LFG(r.Lbi),r.LFG(en))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();function Ct(d,p){const l=d.url.toLowerCase();if(!(0,r.f3M)(Jt)||"GET"===d.method||"HEAD"===d.method||l.startsWith("http://")||l.startsWith("https://"))return p(d);const y=(0,r.f3M)(un).getToken(),x=(0,r.f3M)(nn);return null!=y&&!d.headers.has(x)&&(d=d.clone({headers:d.headers.set(x,y)})),p(d)}var hn=(()=>((hn=hn||{})[hn.Interceptors=0]="Interceptors",hn[hn.LegacyInterceptors=1]="LegacyInterceptors",hn[hn.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",hn[hn.NoXsrfProtection=3]="NoXsrfProtection",hn[hn.JsonpSupport=4]="JsonpSupport",hn[hn.RequestsMadeViaParent=5]="RequestsMadeViaParent",hn))();function Cn(d,p){return{\u0275kind:d,\u0275providers:p}}function nr(...d){const p=[ve,on,Ye,{provide:me,useExisting:Ye},{provide:q,useExisting:on},{provide:ue,useValue:Ct,multi:!0},{provide:Jt,useValue:!0},{provide:un,useClass:Nt}];for(const l of d)p.push(...l.\u0275providers);return(0,r.MR2)(p)}const or=new r.OlP("LEGACY_INTERCEPTOR_FN");let Xn=(()=>{class d{}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=r.oAB({type:d}),d.\u0275inj=r.cJS({providers:[nr(Cn(hn.LegacyInterceptors,[{provide:or,useFactory:W},{provide:ue,useExisting:or,multi:!0}]))]}),d})();var Kn=g(6159),Dr=g(9770),vr=g(2843),Ir=g(4968),Fn=g(7272),Dn=g(7579),En=g(5032);const yn=new R.y(En.Z);var Ze=g(6451),Be=g(3900),Ee=g(4033),Ke=g(576),st=g(8421),wt=g(4482);const In={connector:()=>new Dn.x};function Ln(d,p=In){const{connector:l}=p;return(0,wt.e)((y,x)=>{const De=l();(0,st.Xf)(d(function Qt(d){return new R.y(p=>d.subscribe(p))}(De))).subscribe(x),x.add(y.subscribe(De))})}function gr(d,p){const l=(0,Ke.m)(d)?d:()=>d;return(0,Ke.m)(p)?Ln(p,{connector:l}):y=>new Ee.c(y,l)}function Qn(d){return d?p=>Ln(d)(p):p=>gr(new Dn.x)(p)}var Mn=g(5698),Gn=g(8505),Er=g(727);class yr extends Er.w0{constructor(p,l){super()}schedule(p,l=0){return this}}const Nn={setInterval(d,p,...l){const{delegate:y}=Nn;return y?.setInterval?y.setInterval(d,p,...l):setInterval(d,p,...l)},clearInterval(d){const{delegate:p}=Nn;return(p?.clearInterval||clearInterval)(d)},delegate:void 0};var an=g(8737),kn=g(6063);class Tn{constructor(p,l=Tn.now){this.schedulerActionCtor=p,this.now=l}schedule(p,l=0,y){return new this.schedulerActionCtor(this,p).schedule(y,l)}}Tn.now=kn.l.now;const hr=new class Bn extends Tn{constructor(p,l=Tn.now){super(p,l),this.actions=[],this._active=!1}flush(p){const{actions:l}=this;if(this._active)return void l.push(p);let y;this._active=!0;do{if(y=p.execute(p.state,p.delay))break}while(p=l.shift());if(this._active=!1,y){for(;p=l.shift();)p.unsubscribe();throw y}}}(class Wn extends yr{constructor(p,l){super(p,l),this.scheduler=p,this.work=l,this.pending=!1}schedule(p,l=0){var y;if(this.closed)return this;this.state=p;const x=this.id,De=this.scheduler;return null!=x&&(this.id=this.recycleAsyncId(De,x,l)),this.pending=!0,this.delay=l,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(De,this.id,l),this}requestAsyncId(p,l,y=0){return Nn.setInterval(p.flush.bind(p,this),y)}recycleAsyncId(p,l,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return l;null!=l&&Nn.clearInterval(l)}execute(p,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(p,l);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,l){let x,y=!1;try{this.work(p)}catch(De){y=!0,x=De||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),x}unsubscribe(){if(!this.closed){const{id:p,scheduler:l}=this,{actions:y}=l;this.work=this.state=this.scheduler=null,this.pending=!1,(0,an.P)(y,this),null!=p&&(this.id=this.recycleAsyncId(l,p,null)),this.delay=null,super.unsubscribe()}}}),bn=hr;var zn=g(5403),Dt=g(9718),Mt=g(5577);function Pn(d,p){return p?l=>(0,Fn.z)(p.pipe((0,Mn.q)(1),function $n(){return(0,wt.e)((d,p)=>{d.subscribe((0,zn.x)(p,En.Z))})}()),l.pipe(Pn(d))):(0,Mt.z)((l,y)=>(0,st.Xf)(d(l,y)).pipe((0,Mn.q)(1),(0,Dt.h)(l)))}var pe=g(3532);function C(d){return d instanceof Date&&!isNaN(d)}function E(d=0,p,l=bn){let y=-1;return null!=p&&((0,pe.K)(p)?l=p:y=p),new R.y(x=>{let De=C(d)?+d-l.now():d;De<0&&(De=0);let je=0;return l.schedule(function(){x.closed||(x.next(je++),0<=y?this.schedule(void 0,y):x.complete())},De)})}const Z="Service workers are disabled or not supported by this browser";class Ie{constructor(p){if(this.serviceWorker=p,p){const y=(0,Ir.R)(p,"controllerchange").pipe((0,le.U)(()=>p.controller)),x=(0,Dr.P)(()=>(0,ne.of)(p.controller)),De=(0,Fn.z)(x,y);this.worker=De.pipe((0,H.h)(Yt=>!!Yt)),this.registration=this.worker.pipe((0,Be.w)(()=>p.getRegistration()));const Pt=(0,Ir.R)(p,"message").pipe((0,le.U)(Yt=>Yt.data)).pipe((0,H.h)(Yt=>Yt&&Yt.type)).pipe(Qn());Pt.connect(),this.events=Pt}else this.worker=this.events=this.registration=function ge(d){return(0,Dr.P)(()=>(0,vr._)(new Error(d)))}(Z)}postMessage(p,l){return this.worker.pipe((0,Mn.q)(1),(0,Gn.b)(y=>{y.postMessage({action:p,...l})})).toPromise().then(()=>{})}postMessageWithOperation(p,l,y){const x=this.waitForOperationCompleted(y),De=this.postMessage(p,l);return Promise.all([De,x]).then(([,je])=>je)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(p){let l;return l="string"==typeof p?y=>y.type===p:y=>p.includes(y.type),this.events.pipe((0,H.h)(l))}nextEventOfType(p){return this.eventsOfType(p).pipe((0,Mn.q)(1))}waitForOperationCompleted(p){return this.eventsOfType("OPERATION_COMPLETED").pipe((0,H.h)(l=>l.nonce===p),(0,Mn.q)(1),(0,le.U)(l=>{if(void 0!==l.result)return l.result;throw new Error(l.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let ke=(()=>{class d{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,this.pushManager=null,this.subscriptionChanges=new Dn.x,!l.isEnabled)return this.messages=yn,this.notificationClicks=yn,void(this.subscription=yn);this.messages=this.sw.eventsOfType("PUSH").pipe((0,le.U)(x=>x.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe((0,le.U)(x=>x.data)),this.pushManager=this.sw.registration.pipe((0,le.U)(x=>x.pushManager));const y=this.pushManager.pipe((0,Be.w)(x=>x.getSubscription()));this.subscription=(0,Ze.T)(y,this.subscriptionChanges)}requestSubscription(l){if(!this.sw.isEnabled||null===this.pushManager)return Promise.reject(new Error(Z));const y={userVisibleOnly:!0};let x=this.decodeBase64(l.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),De=new Uint8Array(new ArrayBuffer(x.length));for(let je=0;jeje.subscribe(y)),(0,Mn.q)(1)).toPromise().then(je=>(this.subscriptionChanges.next(je),je))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe((0,Mn.q)(1),(0,Be.w)(y=>{if(null===y)throw new Error("Not subscribed to push notifications.");return y.unsubscribe().then(x=>{if(!x)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Z))}decodeBase64(l){return atob(l)}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(Ie))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})(),tt=(()=>{class d{get isEnabled(){return this.sw.isEnabled}constructor(l){if(this.sw=l,!l.isEnabled)return this.versionUpdates=yn,this.available=yn,this.activated=yn,void(this.unrecoverable=yn);this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe((0,H.h)(y=>"VERSION_READY"===y.type),(0,le.U)(y=>({type:"UPDATE_AVAILABLE",current:y.currentVersion,available:y.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Z));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:l},l)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Z));const l=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:l},l)}}return d.\u0275fac=function(l){return new(l||d)(r.LFG(Ie))},d.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac}),d})();class ct{}const vt=new r.OlP("NGSW_REGISTER_SCRIPT");function xe(d,p,l,y){return()=>{if(!(0,k.NF)(y)||!("serviceWorker"in navigator)||!1===l.enabled)return;let x;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof l.registrationStrategy)x=l.registrationStrategy();else{const[je,...Rt]=(l.registrationStrategy||"registerWhenStable:30000").split(":");switch(je){case"registerImmediately":x=(0,ne.of)(null);break;case"registerWithDelay":x=P(+Rt[0]||0);break;case"registerWhenStable":x=Rt[0]?(0,Ze.T)(Y(d),P(+Rt[0])):Y(d);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${l.registrationStrategy}`)}}d.get(r.R0b).runOutsideAngular(()=>x.pipe((0,Mn.q)(1)).subscribe(()=>navigator.serviceWorker.register(p,{scope:l.scope}).catch(je=>console.error("Service worker registration failed with:",je))))}}function P(d){return(0,ne.of)(null).pipe(function A(d,p=hr){const l=E(d,p);return Pn(()=>l)}(d))}function Y(d){return d.get(r.z2F).isStable.pipe((0,H.h)(l=>l))}function Se(d,p){return new Ie((0,k.NF)(p)&&!1!==d.enabled?navigator.serviceWorker:void 0)}let Oe=(()=>{class d{static register(l,y={}){return{ngModule:d,providers:[{provide:vt,useValue:l},{provide:ct,useValue:y},{provide:Ie,useFactory:Se,deps:[ct,r.Lbi]},{provide:r.ip1,useFactory:xe,deps:[r.zs3,vt,ct,r.Lbi],multi:!0}]}}}return d.\u0275fac=function(l){return new(l||d)},d.\u0275mod=r.oAB({type:d}),d.\u0275inj=r.cJS({providers:[ke,tt]}),d})();var He=g(958),ye=g(6693),Qe=g(3771),yt=g(9509),_t=g(7582),lt=g(7598),Et=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,_t.ZT)(p,d),p.prototype.scan=function(l,y){return(0,lt.DM)(this,"scan",{observable:!0},arguments)},p.prototype.startScan=function(l){return(0,lt.DM)(this,"startScan",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.startScanWithOptions=function(l,y){return(0,lt.DM)(this,"startScanWithOptions",{observable:!0,clearFunction:"stopScan",clearWithArgs:!1},arguments)},p.prototype.stopScan=function(){return(0,lt.DM)(this,"stopScan",{},arguments)},p.prototype.setPin=function(l){return(0,lt.DM)(this,"setPin",{observable:!0},arguments)},p.prototype.connect=function(l){return(0,lt.DM)(this,"connect",{observable:!0,clearFunction:"disconnect",clearWithArgs:!0},arguments)},p.prototype.autoConnect=function(l,y,x){return(0,lt.DM)(this,"autoConnect",{sync:!0},arguments)},p.prototype.requestMtu=function(l,y){return(0,lt.DM)(this,"requestMtu",{},arguments)},p.prototype.refreshDeviceCache=function(l,y){return(0,lt.DM)(this,"refreshDeviceCache",{},arguments)},p.prototype.disconnect=function(l){return(0,lt.DM)(this,"disconnect",{},arguments)},p.prototype.read=function(l,y,x){return(0,lt.DM)(this,"read",{},arguments)},p.prototype.write=function(l,y,x,De){return(0,lt.DM)(this,"write",{},arguments)},p.prototype.writeWithoutResponse=function(l,y,x,De){return(0,lt.DM)(this,"writeWithoutResponse",{},arguments)},p.prototype.startNotification=function(l,y,x){return(0,lt.DM)(this,"startNotification",{observable:!0,destruct:!0,clearFunction:"stopNotification",clearWithArgs:!0},arguments)},p.prototype.stopNotification=function(l,y,x){return(0,lt.DM)(this,"stopNotification",{},arguments)},p.prototype.isConnected=function(l){return(0,lt.DM)(this,"isConnected",{},arguments)},p.prototype.isEnabled=function(){return(0,lt.DM)(this,"isEnabled",{},arguments)},p.prototype.startStateNotifications=function(){return(0,lt.DM)(this,"startStateNotifications",{observable:!0,clearFunction:"stopStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopStateNotifications=function(){return(0,lt.DM)(this,"stopStateNotifications",{},arguments)},p.prototype.startLocationStateNotifications=function(){return(0,lt.DM)(this,"startLocationStateNotifications",{observable:!0,clearFunction:"stopLocationStateNotifications",clearWithArgs:!1},arguments)},p.prototype.stopLocationStateNotifications=function(){return(0,lt.DM)(this,"stopLocationStateNotifications",{},arguments)},p.prototype.showBluetoothSettings=function(){return(0,lt.DM)(this,"showBluetoothSettings",{},arguments)},p.prototype.enable=function(){return(0,lt.DM)(this,"enable",{},arguments)},p.prototype.readRSSI=function(l){return(0,lt.DM)(this,"readRSSI",{},arguments)},p.prototype.connectedPeripheralsWithServices=function(l){return(0,lt.DM)(this,"connectedPeripheralsWithServices",{},arguments)},p.prototype.peripheralsWithIdentifiers=function(l){return(0,lt.DM)(this,"peripheralsWithIdentifiers",{},arguments)},p.prototype.bondedDevices=function(){return(0,lt.DM)(this,"bondedDevices",{},arguments)},p.prototype.isLocationEnabled=function(){return(0,lt.DM)(this,"isLocationEnabled",{},arguments)},p.\u0275fac=function(){let l;return function(x){return(l||(l=r.n5z(p)))(x||p)}}(),p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p.pluginName="BLE",p.plugin="cordova-plugin-ble-central",p.pluginRef="ble",p.repo="https://github.com/don/cordova-plugin-ble-central",p.platforms=["Android","iOS"],p=(0,_t.gn)([],p)}(lt.On),Ft=g(4598),Lt=g(9986),Zt=g(9102),Vn=g(5082),dn=g(9062),h=g(694),ee=g(4879),S=function(d){function p(){return null!==d&&d.apply(this,arguments)||this}return(0,_t.ZT)(p,d),p.prototype.requestPermission=function(l){return(0,lt.DM)(this,"requestPermission",{successIndex:1,errorIndex:2},arguments)},p.prototype.open=function(l){return(0,lt.DM)(this,"open",{},arguments)},p.prototype.write=function(l){return(0,lt.DM)(this,"write",{},arguments)},p.prototype.writeHex=function(l){return(0,lt.DM)(this,"writeHex",{},arguments)},p.prototype.read=function(){return(0,lt.DM)(this,"read",{},arguments)},p.prototype.registerReadCallback=function(){return(0,lt.DM)(this,"registerReadCallback",{observable:!0},arguments)},p.prototype.close=function(){return(0,lt.DM)(this,"close",{},arguments)},p.\u0275fac=function(){let l;return function(x){return(l||(l=r.n5z(p)))(x||p)}}(),p.\u0275prov=r.Yz7({token:p,factory:p.\u0275fac}),p.pluginName="Serial",p.plugin="cordovarduino",p.pluginRef="serial",p.repo="https://github.com/xseignard/cordovarduino",p.platforms=["Android"],p=(0,_t.gn)([],p)}(lt.On),se=g(4158),Fe=g(6188);class mn{constructor(p,l="/assets/i18n/",y=".json"){this.http=p,this.prefix=l,this.suffix=y}getTranslation(p){return this.http.get(`${this.prefix}${p}${this.suffix}`)}}class Yn{}var tr=g(2076);function zr(d=0,p=hr){return d<0&&(d=0),E(d,d,p)}var Yr=g(515),Jr=g(8675),Cr=g(1884),zo=g(8746),fo=g(1135),Fo=g(3888),ai=g(9672);const Ai=(0,Fo.d)(d=>function(l=null){d(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=l});function li(d,p){const{first:l,each:y,with:x=xi,scheduler:De=p??hr,meta:je=null}=C(d)?{first:d}:"number"==typeof d?{each:d}:d;if(null==l&&null==y)throw new TypeError("No timeout provided.");return(0,wt.e)((Rt,rt)=>{let Pt,Yt,Tt=null,At=0;const Gt=Xt=>{Yt=(0,ai.f)(rt,De,()=>{try{Pt.unsubscribe(),(0,st.Xf)(x({meta:je,lastValue:Tt,seen:At})).subscribe(rt)}catch(Wt){rt.error(Wt)}},Xt)};Pt=Rt.subscribe((0,zn.x)(rt,Xt=>{Yt?.unsubscribe(),At++,rt.next(Tt=Xt),y>0&&Gt(y)},void 0,void 0,()=>{Yt?.closed||Yt?.unsubscribe(),Tt=null})),!At&&Gt(null!=l?"number"==typeof l?l:+l-De.now():y)})}function xi(d){throw new Ai(d)}var Io=g(4707);function ho(d,p,l,y){l&&!(0,Ke.m)(l)&&(y=l);const x=(0,Ke.m)(l)?l:void 0;return De=>gr(new Io.t(d,p,y),x)(De)}var Wr=g(8343),Lo=g(4782),Rr=g(5026);class pr{constructor(p,l,y){this.array=void 0!==y?new Uint8Array(p,l,y):l?new Uint8Array(p,l):new Uint8Array(p)}get buffer(){return this.array.buffer}get byteLength(){return this.array.byteLength}get byteOffset(){return this.array.byteOffset}getUint4(p){return 15&this.array[p]}getUint8(p){return 15&this.array[p]|(15&this.array[p+1])<<4}getUint32(p){let l=0;return l|=(15&this.array[p+0])<<24,l|=(15&this.array[p+1])<<28,l|=(15&this.array[p+2])<<16,l|=(15&this.array[p+3])<<20,l|=(15&this.array[p+4])<<8,l|=(15&this.array[p+5])<<12,l|=(15&this.array[p+6])<<0,l|=(15&this.array[p+7])<<4,l}getUint8Array(p,l){let y=new Uint8Array(l);for(let x=0;x!=l;++x)y[x]=15&this.array[p+x];return y}setUint4(p,l){this.array[p]=48|l}setUint8(p,l){this.array[p]=15&l|48,this.array[p+1]=l>>4|48}toString(p,l){return String.fromCharCode.apply(null,[...this.subarray(p,l)])}static from(p,...l){let y=new Uint8Array(l.length+2),x=y[0]=p.charCodeAt(0);for(let De=0;De!=l.length;++De){const je=l[De];y[De+1]=48|je,x+=je}return y[y.length-1]=48|15&x,new pr(y.buffer)}static fromString(p){const l=new Uint8Array(p.split("").map(y=>y.charCodeAt(0)));return new pr(l.buffer)}subarray(p,l){return void 0!==l?this.array.subarray(p,p+l):p?this.array.subarray(p):this.array}}const ui=pr.fromString("?"),Yo=pr.fromString("=10"),Pi=pr.fromString("0");var Xr=(()=>{return(d=Xr||(Xr={}))[d.ESC=1]="ESC",d[d.PACE_CAR=1]="PACE_CAR",d[d.ENTER=2]="ENTER",d[d.START=2]="START",d[d.SPEED=5]="SPEED",d[d.BRAKE=6]="BRAKE",d[d.FUEL=7]="FUEL",d[d.CODE=8]="CODE",Xr;var d})();class Go{constructor(p,l){this.peripheral=p,this.settings=l,this.requests=new Array,this.state=new fo.X("disconnected"),this.version=null,this.connection=this.peripheral.connect({next:()=>this.connection.next(ui.buffer)});const y=this.connection.pipe(li({first:l.connectionTimeout,each:l.requestTimeout}),(0,le.U)((x,De)=>(0==De&&this.state.next("connected"),x)));this.data=y.pipe(function Oi(d){return(0,wt.e)((p,l)=>{let y,De,x=!1;const je=()=>{y=p.subscribe((0,zn.x)(l,void 0,void 0,Rt=>{De||(De=new Dn.x,(0,st.Xf)(d(De)).subscribe((0,zn.x)(l,()=>y?je():x=!0))),De&&De.next(Rt)})),x&&(y.unsubscribe(),y=null,x=!1,je())};je()})}(x=>this.doReconnect(x)),(0,Gn.b)(()=>{this.poll()}),(0,le.U)(x=>new pr(x)),Qn()),this.status=this.data.pipe((0,H.h)(x=>x.byteLength>=16&&"?:"===x.toString(0,2)),ho(1),(0,Wr.x)())}connect(){return this.state.next("connecting"),this.subscription=this.data.connect(),Promise.resolve()}disconnect(){return this.subscription&&this.subscription.unsubscribe(),Promise.resolve()}reconnect(){return new Promise(p=>{this.disconnect(),setTimeout(()=>{this.connect(),p()},this.settings.minReconnectDelay)})}getState(){return this.state.asObservable().pipe((0,Cr.x)(),(0,Lo.d)())}getFuel(){return this.status.pipe((0,le.U)(p=>p.getUint8Array(2,8)))}getStart(){return this.status.pipe((0,le.U)(p=>p.getUint4(10)))}getMode(){return this.status.pipe((0,le.U)(p=>p.getUint4(11)))}getPit(){return this.status.pipe((0,le.U)(p=>p.getUint8(12)))}getTimer(){return this.data.pipe((0,H.h)(p=>p.byteLength>=12&&"?"===p.toString(0,1)&&":"!==p.toString(1,1)),(0,H.h)(p=>{const l=p.toString(1,1);return l>="1"&&l<="8"}),(0,le.U)(p=>[p.getUint4(1)-1,p.getUint32(2),p.getUint4(10)]),(0,Cr.x)((p,l)=>p[0]===l[0]&&p[1]===l[1]))}getVersion(){return this.version||(this.version=this.data.pipe((0,H.h)(p=>6==p.byteLength&&"0"==p.toString(0,1)),(0,le.U)(p=>p.toString(1,4)),(0,Mn.q)(1)).toPromise(),this.requests.push(Pi)),this.version}reset(){this.requests.push(Yo)}setLap(p){this.setLapHi(p>>4),this.setLapLo(15&p)}setLapHi(p){this.set(17,7,p)}setLapLo(p){this.set(18,7,p)}setPosition(p,l){this.set(6,p,l)}clearPosition(){this.set(6,0,9)}setMask(p){this.requests.push(pr.from(":",15&p,p>>4))}setSpeed(p,l){this.set(0,p,l,2)}setBrake(p,l){this.set(1,p,l,2)}setFuel(p,l){this.set(2,p,l,2)}setFinished(p){this.set(7,p,1)}toggleStart(){this.trigger(Xr.START)}trigger(p){this.requests.push(pr.fromString("T"+String.fromCharCode(48|p)))}set(p,l,y,x=1){this.requests.push(pr.from("J",15&p,p>>4|l<<1,y,x))}poll(){const p=this.requests.shift()||ui;this.connection.next(p.buffer)}doReconnect(p){const l=this.state;return p.pipe((0,Rr.R)((y,x)=>"connected"===l.value?0:y+1,0),(0,Gn.b)(()=>l.next("disconnected")),(0,V.b)(y=>{const x=this.settings.minReconnectDelay*Math.pow(1.5,y);return E(Math.min(x,this.settings.maxReconnectDelay))}),(0,Gn.b)(()=>l.next("connecting")))}}var _n=g(6698);const Mo="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",Qr="$".charCodeAt(0);function ko(d){return new pr(d).toString()}class Mr{constructor(p,l,y){this.ble=l,this.logger=y,this.type="ble",this.name=p.name,this.address=p.id}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return Dn.x.create(x,y)}equals(p){return p&&p.type===this.type&&p.address===this.address}createObservable(p,l){return new R.y(y=>{this.logger.info("Connecting to BLE device "+this.address);let x=!1,De=null;return this.lastWritten=null,this.ble.connect(this.address).subscribe({next:je=>{this.logger.info("Connected to BLE device",je),x=!0,this.ble.startNotification(this.address,Mo,"39df9999-b1b4-b90b-57f1-7144ae4e4a6a").subscribe({next:([Rt,rt])=>{if(this.logger.isDebugEnabled()){const Pt=ko(Rt);Pt!==De&&(this.logger.debug("BLE received "+Pt),De=Pt)}this.onNotify(Rt,y)},error:Rt=>this.onError(Rt,y)}),p&&this.ble.isConnected(this.address).then(()=>{this.logger.info("BLE device ready"),x&&p.next(void 0)}).catch(Rt=>{this.logger.error("BLE device not connected",Rt)})},error:je=>{je instanceof Error?(this.logger.error("BLE connection error",je),y.error(je)):x?(this.logger.info("BLE device disconnected",je),y.complete()):(this.logger.error("BLE connection error",je),y.error(new Error("Connection error"))),x=!1},complete:()=>{this.logger.info("BLE connection closed"),y.complete(),x=!1}}),()=>{this.disconnect(l)}})}createObserver(p){return{next:l=>{if(this.logger.isDebugEnabled()){const y=ko(l);y!==this.lastWritten&&(this.logger.debug("BLE write "+y),this.lastWritten=y)}this.write(l)},error:l=>this.logger.error("BLE user error",l),complete:()=>this.disconnect(p)}}write(p){this.ble.writeWithoutResponse(this.address,Mo,"39df8888-b1b4-b90b-57f1-7144ae4e4a6a",p).catch(l=>{this.logger.error("BLE write error",l)})}disconnect(p){this.logger.debug("Closing BLE connection to "+this.address),this.ble.disconnect(this.address).then(()=>{this.logger.info("BLE disconnected from "+this.address)}).catch(l=>{this.logger.error("BLE disconnect error",l)}).then(()=>{p&&p.next(void 0)})}onNotify(p,l){const y=new Uint8Array(p);y[y.length-1]==Qr&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),l.next(y.buffer)}onError(p,l){l.error(p)}}let Ri=(()=>{class d extends Yn{constructor(l,y,x){super(),this.ble=l,this.logger=y,this.platform=x,this.devices=new Map,this.scanner=(0,tr.D)(this.platform.ready()).pipe((0,Be.w)(De=>"cordova"==De?zr(1e3).pipe((0,Jr.O)(null),(0,Be.w)(()=>(0,tr.D)(this.ble.isEnabled().then(()=>!0,()=>!1)))):(0,ne.of)(!1)),(0,Cr.x)(),(0,Be.w)(De=>De?(this.logger.info("Start scanning for BLE devices"),this.ble.startScanWithOptions([],{reportDuplicates:!0,scanMode:"lowLatency"}).pipe((0,zo.x)(()=>this.logger.info("Stop scanning for BLE devices")))):(this.logger.info("Not scanning for BLE devices"),(0,Yr.c)())))}scan(){return this.scanner.pipe((0,Jr.O)(...this.devices.values()),function Ti(d,p){return(0,wt.e)((l,y)=>{const x=new Set;l.subscribe((0,zn.x)(y,De=>{const je=d?d(De):De;x.has(je)||(x.add(je),y.next(De))})),p&&(0,st.Xf)(p).subscribe((0,zn.x)(y,()=>x.clear(),En.Z))})}(l=>l.id),(0,Gn.b)(l=>this.logger.debug("Discovered BLE device:",l)),(0,H.h)(l=>/Control.Unit/i.test(l.name||"")),(0,Gn.b)(l=>this.logger.info("Discovered Control Unit device:",l)),(0,Gn.b)(l=>this.devices.set(l.id,l)),(0,Gn.b)(l=>this.logger.debug("Cached devices:",Array.from(this.devices.values()))),(0,le.U)(l=>new Mr(l,this.ble,this.logger)))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(Et),r.LFG(_n.ed),r.LFG(He.t4))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Zr(d,p){return d+Math.random()*(p-d)}function kr(d){let p=new Uint8Array(d);return String.fromCharCode.apply(null,[...p])}class to{constructor(p){this.sector=0,this.pit=!1,this.events=new r.vpe,this.id=p,this.fuel="7"==this.id||"8"==this.id?0:255}start(p,l,y=1,x=0){this.maxSectorTime=l,this.minSectorTime="8"==this.id?p+.8*(l-p):"7"==this.id?p+.5*(l-p):p,this.timeout=setTimeout(()=>this.onNext(),x),this.sectors=y}stop(){clearTimeout(this.timeout)}onRefuel(){this.fuel+=16,this.timeout=this.fuel>=Zr(192,240)?setTimeout(()=>this.onNext(),this.fuelTime()):setTimeout(()=>this.onRefuel(),500)}onNext(){++this.sector>this.sectors&&(this.sector=1),"7"==this.id||"8"==this.id?(this.events.emit(this),this.timeout=setTimeout(()=>this.onNext(),Zr(this.minSectorTime,this.maxSectorTime))):((this.fuel>=16||1!==this.sector)&&this.events.emit(this),this.fuelthis.onRefuel(),1500)):this.timeout=setTimeout(()=>this.onFuel(),this.fuelTime()))}onFuel(){this.pit=!1,this.fuel=Math.max(0,this.fuel-Zr(4,16)),this.timeout=setTimeout(()=>this.onNext(),this.fuelTime())}fuelTime(){return Zr(this.minSectorTime,this.maxSectorTime)/2}}class mo{constructor(p,l,y){this.name=p,this.mode=l,this.logger=y,this.start=Date.now(),this.startSequence=0,this.cars=[new to("1"),new to("2"),new to("3"),new to("4"),new to("5"),new to("6"),new to("7"),new to("8")],this.laps=[],this.config={numCars:8,numSectors:3,maxStartTime:1500,minSectorTime:3e3,maxSectorTime:4e3},this.type="demo",this.version=pr.from("0",..."5336".split("").map(x=>x.charCodeAt(0))).buffer;for(let x=0;x!=this.config.numCars;++x)this.cars[x].events.subscribe(De=>this.laps.push(this.createLap(De.id,De.sector)));this.startAll()}connect(p,l){return Dn.x.create(this.createObserver(),this.createObservable(p,l))}equals(p){return p&&p.type===this.type&&p.name==this.name}createObservable(p,l){return new R.y(y=>(this.logger.info("Creating Demo observable with mode="+this.mode),this.subscriber=y,setTimeout(()=>{p&&p.next(void 0)},100),()=>{this.logger.info("Destroying Demo observable"),l&&l.next(void 0),delete this.subscriber}))}createObserver(){return{next:p=>{Math.random()<1e-4?this.subscriber&&(console.log("Random Demo error"),this.subscriber.error(new Error("Demo Error"))):("?"!=kr(p)&&console.log("Demo CU received "+kr(p)),"T1"==kr(p)&&this.onESC(),"T2"==kr(p)&&this.onStart(),Math.random()<1e-4?console.log("Random Demo timeout"):setTimeout(()=>{this.subscriber&&("0"==kr(p)?this.subscriber.next(this.version):this.subscriber.next(this.laps.length?this.laps.shift():this.createStatus()))},100))},error:p=>{console.log("Demo connection error:",p)},complete:()=>{console.log("Demo connection complete"),this.subscriber.complete()}}}createLap(p,l=1){const y=Date.now()-this.start;return pr.from("?",parseInt(p),y>>24&15,y>>28&15,y>>16&15,y>>20&15,y>>8&15,y>>12&15,y>>0&15,y>>4&15,l).buffer}createStatus(){return pr.from("?",10,this.cars[0].fuel>>4&15,this.cars[1].fuel>>4&15,this.cars[2].fuel>>4&15,this.cars[3].fuel>>4&15,this.cars[4].fuel>>4&15,this.cars[5].fuel>>4&15,this.cars[6].fuel>>4&15,this.cars[7].fuel>>4&15,this.startSequence,this.mode,this.getPitMask(0,4),this.getPitMask(4,8),8).buffer}getPitMask(p,l){let y=0;for(let x=p;x!=l;++x)y>>=1,y|=this.cars[x].pit?8:0;return y}onStart(){0==this.startSequence?(this.stopAll(),this.startSequence=1):7==this.startSequence?(this.startAll(),this.startSequence=0):(this.startSequence++,setTimeout(()=>this.onStart(),1e3))}onESC(){1==this.startSequence&&(this.startAll(),this.startSequence=0)}startAll(){for(let p=0;p!=this.config.numCars;++p)this.cars[p].start(this.config.minSectorTime,this.config.maxSectorTime,this.config.numSectors,Zr(0,this.config.maxStartTime))}stopAll(){for(let p=0;p!=this.config.numCars;++p)this.cars[p].stop()}}let To=(()=>{class d extends Yn{constructor(l){super(),this.logger=l}scan(){return(0,ne.of)(new mo("Demo Control Unit",6,this.logger))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(_n.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();var no=g(3099);const fi="$".charCodeAt(0);class O{constructor(p,l){this.serial=p,this.logger=l,this.type="serial",this.name="Serial USB OTG",this.connected=!1}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return Dn.x.create(x,y)}equals(p){return p&&p.type===this.type}createObservable(p,l){return new R.y(y=>(this.logger.info("Connecting to serial port"),this.open({baudRate:19200,sleepOnPause:!1}).then(()=>{this.connected=!0,this.logger.info("Connected to serial port");let x=new Uint8Array(0);this.serial.registerReadCallback().subscribe({next:De=>{x=function F(d,p){if(0==d.length)return p;if(0==p.length)return d;{let l=new Uint8Array(d.length+p.length);return l.set(d,0),l.set(p,d.byteLength),l}}(x,new Uint8Array(De));let je=-1;for(;-1!=(je=x.indexOf(fi));){let Rt=new Uint8Array(x.subarray(0,je));if(x=x.subarray(je+1),this.logger.isDebugEnabled()){const rt=String.fromCharCode.apply(null,[...Rt]);rt!==this.lastReceived&&(this.logger.debug("Serial received "+rt),this.lastReceived=rt)}y.next(Rt.buffer)}},error:De=>{this.logger.error("Error reading from serial port",De),y.error(De)}}),p&&p.next(void 0)}).catch(x=>{this.logger.error("Error connecting to serial port",x),y.error(x)}),()=>{this.close(l)}))}createObserver(p){return{next:l=>this.write(l),error:l=>this.logger.error("Serial user error",l),complete:()=>this.close(p)}}open(p){return this.serial.open(p)}write(p){const l=String.fromCharCode.apply(null,[...new Uint8Array(p)]);this.logger.isDebugEnabled()&&l!==this.lastWritten&&(this.logger.debug("Serial write "+l),this.lastWritten=l),this.serial.write('"'+l+"$").catch(y=>{this.logger.error("Serial write error",y)})}close(p){this.connected&&(this.logger.info("Closing serial port"),this.serial.close().then(()=>{this.logger.info("Serial port closed")}).catch(l=>{this.logger.error("Error closing serial port",l)}).then(()=>{p&&p.next(void 0)}),this.connected=!1)}}let w=(()=>{class d extends Yn{constructor(l,y,x){super(),this.serial=y,this.logger=x,this.scanner=(0,tr.D)(l.getDeviceInfo()).pipe((0,Be.w)(De=>l.isAndroid()&&l.isCordova()&&!De.isVirtual&&parseInt(De.version)<12?(0,tr.D)(this.serial.requestPermission().then(()=>!0,()=>!1)):(0,ne.of)(!1)),(0,Gn.b)(De=>this.logger.info("Serial device "+(De?"":"not")+" enabled")),(0,no.B)())}scan(){return this.scanner.pipe((0,Be.w)(l=>l?(0,ne.of)(new O(this.serial,this.logger)):(0,Yr.c)()))}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(_n.zi),r.LFG(S),r.LFG(_n.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();var oe=g(262);const ot="39df7777-b1b4-b90b-57f1-7144ae4e4a6a",ut="$".charCodeAt(0);function vn(d){return new pr(d).toString()}class Wo{constructor(p,l){this.device=p,this.logger=l,this.type="web-bluetooth",this.name=p.name}connect(p,l){const y=this.createObservable(p,l),x=this.createObserver(l);return Dn.x.create(x,y)}equals(p){return p&&p.type===this.type}createObservable(p,l){return new R.y(y=>{this.logger.info("Connecting to Web Bluetooth device "+this.device.id);const x=this.device.gatt.connect().then(rt=>rt.getPrimaryService(ot)),De=x.then(rt=>rt.getCharacteristic("39df9999-b1b4-b90b-57f1-7144ae4e4a6a")),je=rt=>{const Pt=rt.target.value.buffer;if(this.logger.isDebugEnabled()){const Yt=vn(Pt);Yt!==Rt&&(this.logger.debug("Web Bluetooth received "+Yt),Rt=Yt)}this.onNotify(Pt,y)};let Rt=null;return this.lastWritten=null,this.output=x.then(rt=>rt.getCharacteristic("39df8888-b1b4-b90b-57f1-7144ae4e4a6a")),De.then(rt=>rt.startNotifications().then(Pt=>rt)).then(rt=>{rt.addEventListener("characteristicvaluechanged",je),this.logger.info("Web Bluetooth device ready"),p&&p.next(void 0)}).catch(rt=>{this.onError(rt,y)}),()=>{De.then(rt=>rt.stopNotifications().then(Pt=>rt)).then(rt=>{rt.removeEventListener("characteristicvaluechanged",je)}).catch(rt=>{this.logger.error("Error stopping Web Bluetooth notifications",rt)}).then(rt=>{this.disconnect(l)})}})}createObserver(p){return{next:l=>{if(this.device.gatt.connected&&this.output){if(this.logger.isDebugEnabled()){const y=vn(l);y!==this.lastWritten&&(this.logger.debug("Web Bluetooth write "+y),this.lastWritten=y)}this.output.then(y=>y.writeValue(l)).catch(y=>{this.logger.error("Web Bluetooth write error",y)})}else this.logger.error("Web Bluetooth write while device disconnected")},error:l=>this.logger.error("Web Bluetooth user error",l),complete:()=>this.disconnect(p)}}disconnect(p){if(this.device.gatt.connected){this.logger.debug("Closing Web Bluetooth connection to "+this.device.id);try{this.device.gatt.disconnect()}catch(l){this.logger.debug("Error closing Web Bluetooth connection",l)}this.output=null,p&&p.next(void 0)}}onNotify(p,l){const y=new Uint8Array(p);y[y.length-1]==ut&&(y.copyWithin(1,0),y[0]=6==y.length?48:63),l.next(y.buffer)}onError(p,l){l.error(p)}}let is=(()=>{class d extends Yn{constructor(l,y){super(),this.logger=l,this.platform=y,this.navigator=window.navigator}scan(){return(0,tr.D)(this.platform.ready()).pipe((0,Be.w)(l=>"cordova"!=l&&this.navigator.bluetooth?(0,tr.D)(this.requestDevice()).pipe((0,oe.K)(y=>(this.logger.error("Error requesting Web Bluetooth device:",y),(0,Yr.c)()))):(0,Yr.c)()))}requestDevice(){return this.device?this.device:this.navigator.bluetooth.requestDevice({filters:[{name:"Control_Unit"}],optionalServices:[ot]}).then(l=>{const y=new Wo(l,this.logger);return this.device=Promise.resolve(y),y})}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(_n.ed),r.LFG(He.t4))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})(),Fr=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({providers:[{provide:Yn,useClass:Ri,multi:!0},{provide:Yn,useClass:To,multi:!0},{provide:Yn,useClass:w,multi:!0},{provide:Yn,useClass:is,multi:!0}]})}return d})();var Un=g(4006),so=g(4466);let ro=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,Un.u5,ye.Pc,so.m]})}return d})();const ji=["*"];let Bo=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["outline"]],inputs:{color:"color"},ngContentSelectors:ji,decls:2,vars:2,consts:[[1,"outline"]],template:function(y,x){1&y&&(r.F$t(),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&y&&r.Udp("background-color",x.color)},styles:["[_nghost-%COMP%]{white-space:nowrap;padding:0!important}[slot=start][_nghost-%COMP%]{white-space:nowrap;margin-inline-end:.5em;padding:0!important}div.outline[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;color:var(--ion-background-color);border-bottom-right-radius:.4em;width:1.65em!important;min-height:1.65em;padding:0!important;height:100%}"]})}return d})();function ks(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-col")(1,"ion-button",7),r.NdJ("click",function(){const De=r.CHM(l).$implicit,je=r.oxw(2);return r.KtG(je.setColor(De))}),r.qZA()()}if(2&d){const l=p.$implicit;r.xp6(1),r.Udp("--background",l)}}function zi(d,p){if(1&d&&(r.TgZ(0,"ion-row"),r.YNc(1,ks,2,2,"ion-col",5),r.qZA()),2&d){const l=p.$implicit;r.xp6(1),r.Q6J("ngForOf",l)}}const Yi=function(d){return{number:d}};let Tr=(()=>{class d{constructor(l,y){this.mc=y,this.placeholder="Driver {{number}}",this.colors=[["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#c0c0c0","#ffffff"],["#c02040","#408080","#4080c0","#ff8020","#ff8080","#20ffc0","#404040","#000000"]],this.driver=l.get("driver"),this.id=l.get("id"),this.color=this.driver.color}update(l,y){console.log("update",l,y);const x=("0"+y.detail.value.toString(16)).slice(-2);switch(l){case"r":this.color=this.color.substring(0,1)+x+this.color.substring(3);break;case"g":this.color=this.color.substring(0,3)+x+this.color.substring(5);break;case"b":this.color=this.color.substring(0,5)+x+this.color.substring(7)}console.log(this.color)}setColor(l){this.color=l}get r(){return this.color?Number.parseInt(this.color.substring(1,3),16):0}get g(){return this.color?Number.parseInt(this.color.substring(3,5),16):0}get b(){return this.color?Number.parseInt(this.color.substring(5,7),16):0}onSubmit(l){this.mc.dismiss(l)}onCancel(){this.mc.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(He.X1),r.Y36(ye.IN))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:36,vars:15,consts:[["mode","md"],[3,"color"],["min","0","max","255",3,"value","ionChange"],["slot","label"],["slot","end"],[4,"ngFor","ngForOf"],["translate","",3,"click"],["expand","block",3,"click"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-title")(3,"outline",1),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA()()(),r.TgZ(7,"ion-content")(8,"ion-item")(9,"ion-range",2),r.NdJ("ionChange",function(je){return x.update("r",je)}),r.TgZ(10,"ion-label",3),r._uU(11,"R"),r.qZA(),r.TgZ(12,"ion-badge",4),r._uU(13),r.qZA()()(),r.TgZ(14,"ion-item")(15,"ion-range",2),r.NdJ("ionChange",function(je){return x.update("g",je)}),r.TgZ(16,"ion-label",3),r._uU(17,"G"),r.qZA(),r.TgZ(18,"ion-badge",4),r._uU(19),r.qZA()()(),r.TgZ(20,"ion-item")(21,"ion-range",2),r.NdJ("ionChange",function(je){return x.update("b",je)}),r.TgZ(22,"ion-label",3),r._uU(23,"B"),r.qZA(),r.TgZ(24,"ion-badge",4),r._uU(25),r.qZA()()(),r.TgZ(26,"ion-item")(27,"ion-grid"),r.YNc(28,zi,2,1,"ion-row",5),r.qZA()()(),r.TgZ(29,"ion-footer")(30,"ion-toolbar")(31,"ion-buttons",4)(32,"ion-button",6),r.NdJ("click",function(){return x.onCancel()}),r._uU(33," Cancel "),r.qZA(),r.TgZ(34,"ion-button",6),r.NdJ("click",function(){return x.onSubmit(x.color)}),r._uU(35," OK "),r.qZA()()()()),2&y&&(r.xp6(3),r.Q6J("color",x.color),r.xp6(1),r.hij(" ",x.id+1," "),r.xp6(1),r.hij(" ",x.driver.name||r.xi3(6,10,x.placeholder,r.VKq(13,Yi,x.id+1))," "),r.xp6(4),r.Q6J("value",x.r),r.xp6(4),r.Oqu(x.r),r.xp6(2),r.Q6J("value",x.g),r.xp6(4),r.Oqu(x.g),r.xp6(2),r.Q6J("value",x.b),r.xp6(4),r.Oqu(x.b),r.xp6(3),r.Q6J("ngForOf",x.colors))},dependencies:[k.sg,ye.yp,ye.YG,ye.Sm,ye.wI,ye.W2,ye.fr,ye.jY,ye.Gu,ye.Ie,ye.Q$,ye.I_,ye.Nd,ye.wd,ye.sr,ye.j9,Bo,Fe.Pi,Fe.X$],encapsulation:2})}return d})();var ar=g(227);function vo(d,p){if(1&d&&(r.TgZ(0,"ion-note"),r._uU(1),r.qZA()),2&d){const l=r.oxw(),y=l.$implicit,x=l.index;r.xp6(1),r.Oqu(y.code||"#"+(x+1))}}function yo(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-button",13),r.NdJ("click",function(){r.CHM(l);const x=r.oxw().index,De=r.oxw();return r.KtG(De.speak(x))}),r._UZ(1,"ion-icon",14),r.qZA()}}const _o=function(d){return{number:d}};function Gi(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",7)(1,"ion-button",8),r.NdJ("click",function(){const De=r.CHM(l).index,je=r.oxw();return r.KtG(je.chooseColor(De))}),r.TgZ(2,"outline",9),r._uU(3),r.qZA()(),r.TgZ(4,"ion-input",10),r.NdJ("ngModelChange",function(x){const De=r.CHM(l),je=De.$implicit,Rt=De.index,rt=r.oxw();return r.KtG(je.code=rt.getCode(je.name=x,Rt))})("ionChange",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onChangeName(x))}),r.ALo(5,"translate"),r.qZA(),r.TgZ(6,"ion-buttons",3),r.YNc(7,vo,2,1,"ion-note",11),r.ALo(8,"async"),r.YNc(9,yo,2,0,"ion-button",12),r.ALo(10,"async"),r._UZ(11,"ion-reorder",3),r.qZA()()}if(2&d){const l=p.$implicit,y=p.index,x=r.oxw();r.xp6(2),r.Q6J("color",l.color),r.xp6(1),r.hij(" ",y+1," "),r.xp6(1),r.Q6J("ngModel",l.name)("placeholder",r.xi3(5,6,x.placeholder,r.VKq(13,_o,y+1))),r.xp6(3),r.Q6J("ngIf","landscape"==r.lcZ(8,9,x.orientation)),r.xp6(2),r.Q6J("ngIf","landscape"==r.lcZ(10,11,x.orientation))}}let hi=(()=>{class d{constructor(l,y,x,De,je,Rt,rt){this.app=l,this.cu=y,this.logger=x,this.settings=De,this.mc=je,this.speech=Rt,this.translate=rt,this.placeholder="Driver {{number}}",this.orientation=l.orientation}ngOnInit(){this.settings.getDrivers().pipe((0,Mn.q)(1)).toPromise().then(l=>{this.drivers=l}).catch(l=>{this.logger.error("Error getting drivers",l)})}ngOnDestroy(){this.settings.setDrivers(this.drivers).catch(l=>{this.logger.error("Error setting drivers",l)})}getCode(l,y){let x=l.replace(/\W/g,"").toUpperCase(),De=this.drivers.filter((je,Rt)=>Rt!==y).map(je=>je.code);for(let je=2;je{y.onDidDismiss().then(x=>{x.data&&(this.drivers[l].color=x.data)}),y.present()})}speak(l){this.getDriverName(l).then(y=>{this.speech.speak(y)})}pressCodeButton(){this.cu.value.trigger(Xr.CODE)}onChangeName(l){l?.target?.getInputElement().then(y=>y.blur())}getDriverName(l){return this.drivers[l]&&this.drivers[l].name?Promise.resolve(this.drivers[l].name):this.translate.get(this.placeholder,{number:l+1}).toPromise()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.zi),r.Y36(_n.V1),r.Y36(_n.ed),r.Y36(ar.de),r.Y36(ye.IN),r.Y36(_n.vA),r.Y36(Fe.sK))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:13,vars:1,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],["fill","outline","shape","round",3,"click"],["disabled","false",3,"ionItemReorder"],["class","driver",4,"ngFor","ngForOf"],[1,"driver"],["slot","start","size","large","fill","clear",1,"ion-no-padding",3,"click"],[3,"color"],["clearInput","","enterkeyhint","done",3,"ngModel","placeholder","ngModelChange","ionChange"],[4,"ngIf"],["fill","clear",3,"click",4,"ngIf"],["fill","clear",3,"click"],["name","volume-high-sharp"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Drivers"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(){return x.pressCodeButton()}),r._uU(9," CODE "),r.qZA()()()(),r.TgZ(10,"ion-content")(11,"ion-reorder-group",5),r.NdJ("ionItemReorder",function(je){return x.reorderItems(je)}),r.YNc(12,Gi,12,15,"ion-item",6),r.qZA()()),2&y&&(r.xp6(12),r.Q6J("ngForOf",x.drivers))},dependencies:[k.sg,k.O5,Un.JJ,Un.On,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.pK,ye.Ie,ye.uN,ye.Nh,ye.oz,ye.wd,ye.sr,ye.j9,ye.oU,Bo,Fe.Pi,k.Ov,Fe.X$],encapsulation:2})}return d})();var pi=g(9841);function Ao(){return(0,wt.e)((d,p)=>{let l,y=!1;d.subscribe((0,zn.x)(p,x=>{const De=l;l=x,y&&p.next([De,x]),y=!0}))})}var Zo=g(4671),Ko=g(3269);function bo(...d){const p=(0,Ko.jO)(d);return(0,wt.e)((l,y)=>{const x=d.length,De=new Array(x);let je=d.map(()=>!1),Rt=!1;for(let rt=0;rt{De[rt]=Pt,!Rt&&!je[rt]&&(je[rt]=!0,(Rt=je.every(Zo.y))&&(je=null))},En.Z));l.subscribe((0,zn.x)(y,rt=>{if(Rt){const Pt=[rt,...De];y.next(p?p(...Pt):Pt)}}))})}function ss(d,p){1&d&&(r.TgZ(0,"span"),r._uU(1,"\u2026"),r.qZA())}let qo=(()=>{class d{constructor(l,y,x,De){this.alert=l,this.settings=y,this.controller=x,this.options=new ar.Ei,this.params=De.data}get sectors(){return this.options.sectors}set sectors(l){this.options.sectors=l,this.settings.setOptions(this.options),this.dismiss()}get fixedOrder(){return this.options.fixedorder}set fixedOrder(l){this.options.fixedorder=l,this.settings.setOptions(this.options),this.dismiss()}get speech(){return this.options.speech}set speech(l){this.options.speech=l,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe(l=>{this.options=l})}ngOnDestroy(){this.subscription.unsubscribe()}onRestart(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Restart "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.restart()}]}):this.params.restart()})}onCancel(){this.dismiss().then(()=>{this.params.active?this.alert.show({message:"Cancel "+this.params.mode+"?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.params.cancel()}]}):this.params.cancel()})}dismiss(){return this.controller.dismiss({})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.Pn),r.Y36(ar.de),r.Y36(ye.Dh),r.Y36(He.X1))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:20,vars:5,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"disabled","click"],["translate",""],["button","",3,"click"],[4,"ngIf"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(je){return x.fixedOrder=je}),r._uU(3,"Order by number"),r.qZA()(),r.TgZ(4,"ion-item")(5,"ion-checkbox",0),r.NdJ("ngModelChange",function(je){return x.sectors=je}),r._uU(6,"Sector times"),r.qZA()(),r.TgZ(7,"ion-item")(8,"ion-checkbox",0),r.NdJ("ngModelChange",function(je){return x.speech=je}),r._uU(9,"Notifications"),r.qZA()(),r.TgZ(10,"ion-item",1),r.NdJ("click",function(){return x.onCancel()}),r.TgZ(11,"ion-label")(12,"span",2),r._uU(13,"Cancel"),r.qZA(),r._uU(14,"\u2026"),r.qZA()(),r.TgZ(15,"ion-item",3),r.NdJ("click",function(){return x.onRestart()}),r.TgZ(16,"ion-label")(17,"span",2),r._uU(18,"Restart"),r.qZA(),r.YNc(19,ss,2,0,"span",4),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("ngModel",x.fixedOrder),r.xp6(3),r.Q6J("ngModel",x.sectors),r.xp6(3),r.Q6J("ngModel",x.speech),r.xp6(2),r.Q6J("disabled",!x.params.active),r.xp6(9),r.Q6J("ngIf",x.params.active))},dependencies:[k.O5,Un.JJ,Un.On,ye.nz,ye.Ie,ye.Ub,ye.Q$,ye.w,Fe.Pi],encapsulation:2})}return d})();const{isArray:Fi}=Array;function as(d){return 1===d.length&&Fi(d[0])?d[0]:d}var ls=g(3268),cs=g(9635);function Wi(...d){const p=(0,Ko.jO)(d);return p?(0,cs.z)(Wi(...d),(0,ls.Z)(p)):(0,wt.e)((l,y)=>{(0,pi.l)([l,...as(d)])(y)})}function mi(...d){return Wi(...d)}function lr(d,p){return(d.best[0]||1/0)-(p.best[0]||1/0)}const Bs={practice:lr,qualifying:lr,race:function ds(d,p){return p.laps-d.laps||function xo(d,p){const l=d-p;return isNaN(l)?isNaN(d)?isNaN(p)?0:1:-1:l}(d.time,p.time)||d.id-p.id}};class fs{constructor(p,l){this.cu=p,this.options=l,this.finished=new fo.X(!1),this.yellowFlag=new fo.X(!1),this.started=!1,this.stopped=!1,this.active=0,this.realMask=null;const y=Bs[l.mode],x=(0,Ze.T)(p.getStart().pipe((0,Cr.x)(),(0,H.h)(rt=>0!=rt)),p.getState().pipe((0,H.h)(rt=>"connected"==rt))).pipe((0,le.U)(rt=>{p.setMask(this.mask)})),De=p.getTimer().pipe((0,H.h)(([rt])=>!(this.mask&1<{const Wt=Date.now();return Gtrt)),je=p.getFuel(),Rt=p.getPit();this.mask=(l.auto?0:64)|(l.pace?0:128),l.drivers?(this.mask|=function Br(d,p){let l=0;for(;d!==p;)l|=1<Pt),(0,Mt.z)(rt=>rt),(0,Rr.R)((rt,Pt)=>{const Yt=[...rt];return Yt[Pt.id]=Pt,Yt},[]),(0,le.U)(rt=>{const Pt=rt.filter(Yt=>!!Yt);return Pt.sort(y),Pt})),this.currentLap=this.grid.pipe((0,Mt.z)(rt=>rt),(0,Rr.R)((rt,Pt)=>rt>Pt.laps?rt:this.finished.value||isNaN(Pt.time)?Pt.laps:Pt.laps+1,0),(0,Jr.O)(0),ho(1),(0,Wr.x)(),(0,Cr.x)()),this.allFinished=this.ranking.pipe(mi(this.finished),(0,le.U)(([rt,Pt])=>Pt&&rt.every(Yt=>Yt.finished)),(0,Jr.O)(!1),ho(1),(0,Wr.x)(),(0,Cr.x)()),this.timer=l.time?zr(500).pipe(bo(p.getStart(),p.getState()),(0,H.h)(([rt,Pt,Yt])=>this.started&&(!this.options.pause||0==Pt&&"connected"==Yt)),(0,Rr.R)((rt,Pt)=>Math.max(0,rt-500),l.time),(0,Gn.b)(rt=>{0==rt&&(this.stopped=!0,this.finish())}),(0,no.B)(),(0,Jr.O)(l.time)):Yr.E,this.cu.setMask(this.mask),this.cu.clearPosition(),this.cu.reset()}start(){this.started=!0}stop(){this.stopped=!0,this.finish()}toggleYellowFlag(){const p=this.yellowFlag.value;this.yellowFlag.value?(this.mask=this.realMask,this.realMask=null):(this.realMask=this.mask,this.mask=255),this.cu.setMask(this.mask),this.yellowFlag.next(!p)}createGrid(p,l,y,x=0){const De=new Array;for(let je=0;x;++je)1&x&&De.push([je,NaN,0]),x>>>=1;return p.pipe((0,Jr.O)(...De),function Zi(d,p,l,y){return(0,wt.e)((x,De)=>{let je;p&&"function"!=typeof p?({duration:l,element:je,connector:y}=p):je=p;const Rt=new Map,rt=Xt=>{Rt.forEach(Xt),Xt(De)},Pt=Xt=>rt(Wt=>Wt.error(Xt));let Yt=0,Tt=!1;const At=new zn.Q(De,Xt=>{try{const Wt=d(Xt);let er=Rt.get(Wt);if(!er){Rt.set(Wt,er=y?y():new Dn.x);const Pr=function Gt(Xt,Wt){const er=new R.y(Pr=>{Yt++;const Vo=Wt.subscribe(Pr);return()=>{Vo.unsubscribe(),0==--Yt&&Tt&&At.unsubscribe()}});return er.key=Xt,er}(Wt,er);if(De.next(Pr),l){const Vo=(0,zn.x)(er,()=>{er.complete(),Vo?.unsubscribe()},void 0,void 0,()=>Rt.delete(Wt));At.add((0,st.Xf)(l(Pr)).subscribe(Vo))}}er.next(je?je(Xt):Xt)}catch(Wt){Pt(Wt)}},()=>rt(Xt=>Xt.complete()),Pt,()=>Rt.clear(),()=>(Tt=!0,0===Yt));x.subscribe(At)})}(([je])=>je),(0,le.U)(je=>(this.active|=1<{const Wt=rt[rt.length-1]||[];if(Xt&&Gt>(Wt.length>=Xt?Wt[Xt-1]:-1/0)+this.options.minLapTime)if(1===Xt)rt.push([Gt]),Pt[0]=Gt-Wt[0],Yt[0]=Math.min(Pt[0],Yt[0]||1/0),Wt.length>1&&(Pt[Wt.length]=Gt-Wt[Wt.length-1],Yt[Wt.length]=Math.min(Pt[Wt.length],Yt[Wt.length]||1/0)),!Tt&&this.isFinished(rt.length-1)&&(this.finish(At),Tt=!0);else{const er=Xt-1;Wt[er]=Gt,Pt[er]=Gt-Wt[er-1],Yt[er]=Math.min(Pt[er],Yt[er]||1/0)}return[rt,Pt,Yt,Tt]},[[],[],[],!1])).pipe(mi(y.pipe((0,le.U)(rt=>0!=(rt&~this.mask&1<[Pt?rt+1:rt,Pt],[0,!1])),l.pipe((0,le.U)(rt=>rt[je.key]),(0,Cr.x)())),(0,le.U)(([[rt,Pt,Yt,Tt],[At,Gt],Xt])=>{const er=rt[rt.length-1]||[];return{id:je.key,time:er[0],laps:rt.length?rt.length-1:0,last:Pt,best:Yt,times:rt,fuel:Xt,pit:Gt,pits:At,sector:er.length-1||(rt[rt.length-2]||[]).length,finished:Tt}}),ho(1),(0,Wr.x)()))),ho(),(0,Wr.x)())}finish(p){const l=this.mask;this.mask|=255&~this.active,void 0!==p&&(this.mask|=1<=this.options.laps)||!(this.options.slotmode||!this.finished.value)}}function hs(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"leaderboard-item",3),r.NdJ("click",function(){const De=r.CHM(l).$implicit,je=r.oxw();return r.KtG(je.showDetails(De))}),r.qZA()}if(2&d){const l=p.$implicit,y=p.odd,x=r.oxw();r.Q6J("ngClass",y?"odd":"even")("fields",x.fields)("item",l)("ranked",x.ranked)("best",x.best)}}function $s(d,p){if(1&d&&r._UZ(0,"leaderboard-lap",12),2&d){const l=p.$implicit,y=p.odd,x=p.index,De=p.count,je=r.oxw(2);r.Q6J("ngClass",y?"odd":"even")("lap",De-x)("item",je.detail)("times",l)("best",je.best)("last",null==je.detail?null:je.detail.laptimes[x+1])("intlap",je.intlaps[null==je.detail?null:je.detail.id])("fields",je.detailFields)}}const ps=function(d){return{number:d}};function vi(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-header")(1,"ion-toolbar",4)(2,"ion-title")(3,"outline",5),r._uU(4),r.qZA(),r._uU(5),r.ALo(6,"translate"),r.qZA(),r.TgZ(7,"ion-buttons",6)(8,"ion-button",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.modal.dismiss())}),r._UZ(9,"ion-icon",8),r.qZA()()()(),r.TgZ(10,"ion-content",9),r._UZ(11,"leaderboard-head",10),r.YNc(12,$s,1,8,"leaderboard-lap",11),r.qZA()}if(2&d){const l=r.oxw();r.xp6(3),r.Q6J("color",null==l.detail||null==l.detail.driver?null:l.detail.driver.color),r.xp6(1),r.hij(" ",(null==l.detail?null:l.detail.position)+1," "),r.xp6(1),r.hij(" ",(null==l.detail||null==l.detail.driver?null:l.detail.driver.name)||r.xi3(6,5,l.placeholder,r.VKq(8,ps,(null==l.detail?null:l.detail.id)+1))," "),r.xp6(6),r.Q6J("fields",l.detailFields),r.xp6(1),r.Q6J("ngForOf",null==l.detail?null:l.detail.laptimes)}}const Ki=[{practice:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],qualifying:["bestlap gap int lastlap laps status","bestlap sector1 sector2 sector3 lastlap status"],race:["time bestlap lastlap laps status","time sector1 sector2 sector3 lastlap status"]},{practice:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],qualifying:["bestlap gap int lastlap laps fuel status","bestlap sector1 sector2 sector3 lastlap fuel status"],race:["time bestlap lastlap laps pits fuel status","time sector1 sector2 sector3 lastlap fuel status"]}],yi=["lap laptime gap int status","lap laptime sector1 sector2 sector3 status"];let M=(()=>{class d{constructor(l,y){this.platform=y,this.placeholder="Driver {{number}}",this.detail=null,this.subscription=y.resize.subscribe(()=>l.markForCheck())}set items(l){if(this._items=l,l?(this.ranked=[...l],this.ranked.sort((y,x)=>y.position-x.position),this.best=l.map(y=>y.best).reduce((y,x)=>(x.forEach((De,je)=>{De<(y[je]||1/0)&&(y[je]=De)}),y),[])):(this.ranked=l,this.best=[]),this.detail){for(let y of l)if(y.id==this.detail.id){this.detail=Object.assign({},y,{laptimes:this.getLapTimes(y)});break}this.intlaps=this.getIntLaps(l)}}get items(){return this._items}get fields(){const l=Ki[this.pitlane?1:0][this.mode][this.sectors?1:0];return((this.platform.isPortrait()?"code":"number name")+" "+l).split(/\s+/)}get detailFields(){return yi[this.sectors?1:0].split(/\s+/)}getLapTimes(l){let y=[];for(let x=l.times.length-2;x>=0;--x){const De=[l.times[x+1]?.[0]].concat(l.times[x]);y.push(De)}return y}getIntLaps(l){let y={};const x=l.map(De=>[De.id,De.best[0]]).sort((De,je)=>De[1]-je[1]);return x.map(([De,je],Rt)=>[De,Rt?x[Rt-1][1]:je]).forEach(([De,je])=>{y[De]=je}),y}showDetails(l){this.detail=Object.assign({},l,{laptimes:this.getLapTimes(l)}),this.intlaps=this.getIntLaps(this._items)}onWillDismissDetails(l){this.detail=null}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(r.sBO),r.Y36(He.t4))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard"]],viewQuery:function(y,x){if(1&y&&r.Gf(ye.ki,5),2&y){let De;r.iGM(De=r.CRH())&&(x.modal=De.first)}},inputs:{mode:"mode",sectors:"sectors",pitlane:"pitlane",items:"items"},decls:4,vars:4,consts:[[1,"row",3,"fields","pos"],["class","row",3,"ngClass","fields","item","ranked","best","click",4,"ngFor","ngForOf"],[3,"isOpen","willDismiss"],[1,"row",3,"ngClass","fields","item","ranked","best","click"],["mode","md"],[3,"color"],["slot","end"],[3,"click"],["name","close-sharp"],[1,"ion-padding"],[1,"row",3,"fields"],["class","row",3,"ngClass","lap","item","times","best","last","intlap","fields",4,"ngFor","ngForOf"],[1,"row",3,"ngClass","lap","item","times","best","last","intlap","fields"]],template:function(y,x){1&y&&(r._UZ(0,"leaderboard-head",0),r.YNc(1,hs,1,5,"leaderboard-item",1),r.TgZ(2,"ion-modal",2),r.NdJ("willDismiss",function(je){return x.onWillDismissDetails(je)}),r.YNc(3,vi,13,10,"ng-template"),r.qZA()),2&y&&(r.Q6J("fields",x.fields)("pos",!0),r.xp6(1),r.Q6J("ngForOf",x.items),r.xp6(1),r.Q6J("isOpen",null!=x.detail))},styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})();const X=function(d,p){return{active:d,blink:p}};let Ae=(()=>{class d{constructor(){this.blink=!1}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["startlight"]],inputs:{active:"active",blink:"blink"},decls:1,vars:4,consts:[[3,"ngClass"]],template:function(y,x){1&y&&r._UZ(0,"div",0),2&y&&r.Q6J("ngClass",r.WLB(1,X,x.active,x.blink))},dependencies:[k.mk],styles:["@keyframes _ngcontent-%COMP%_startlight-blink{0%{background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}to{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}}div[_ngcontent-%COMP%]{display:inline-block;width:1em;height:1em;margin-left:.1em;margin-right:.1em;border-radius:50%;background:radial-gradient(circle at 60% 60%,gray 0%,black 95%,gray 100%)}div.active[_ngcontent-%COMP%]{background:radial-gradient(circle at 60% 60%,red 0%,#330000 95%,red 100%)}div.blink[_ngcontent-%COMP%]{animation-name:_ngcontent-%COMP%_startlight-blink;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear}"],changeDetection:0})}return d})();function it(d,p){if(1&d&&(r.O4$(),r._UZ(0,"circle")),2&d){const l=p.$implicit,y=r.oxw().$implicit,x=r.oxw();r.uIk("cx",y)("cy",l)("r",x.radius)}}function gt(d,p){if(1&d&&(r.O4$(),r.TgZ(0,"g"),r.YNc(1,it,1,3,"circle",1),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngForOf",l.yoffsets)}}const zt=function(d){return{blink:d}};let qn=(()=>{class d{constructor(){this.radius=.4}ngOnChanges(l){this.xoffsets=[],this.yoffsets=[];for(let y=0;y{class d{constructor(){this.onYellowFlag=new r.vpe}set cu(l){if(l){const y=l.getStart().pipe((0,Cr.x)()),x=l.getState();this.lights=y.pipe((0,le.U)(De=>1==De?5:De>1&&De<7?De-1:0)),this.blink=(0,pi.a)(y,x).pipe((0,le.U)(([De,je])=>De>=8||"connected"!==je)),this.keys=l.getVersion().then(De=>De>="5331")}else this.lights=(0,ne.of)(0),this.blink=(0,ne.of)(!1),this.keys=Promise.resolve(!1);this.controlUnit=l}get cu(){return this.controlUnit}togglePaceCar(){this.cu&&this.cu.trigger(Xr.PACE_CAR)}toggleStart(){this.cu&&this.cu.trigger(Xr.START)}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["race-control"]],inputs:{cu:"cu",yellowFlag:"yellowFlag"},outputs:{onYellowFlag:"onYellowFlag"},decls:30,vars:40,consts:[["slot","start"],[3,"disabled","click"],["viewBox","0 0 9 5"],["text-anchor","middle","x","50%","y","2","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["text-anchor","middle","x","50%","y","4","dy","0.3","font-size","2","textLength","8","lengthAdjust","spacingAndGlyphs"],["expand","full","fill","clear",1,"icon-only",3,"disabled","click"],[3,"active","blink"],["slot","end"],[3,"blink","cols","rows"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-toolbar")(1,"ion-buttons",0)(2,"ion-button",1),r.NdJ("click",function(){return x.togglePaceCar()}),r.ALo(3,"async"),r.TgZ(4,"div"),r.O4$(),r.TgZ(5,"svg",2)(6,"text",3),r._uU(7,"PACE CAR"),r.qZA(),r.TgZ(8,"text",4),r._uU(9,"ESC"),r.qZA()()()()(),r.kcU(),r.TgZ(10,"ion-button",5),r.NdJ("click",function(){return x.toggleStart()}),r.ALo(11,"async"),r._UZ(12,"startlight",6),r.ALo(13,"async"),r.ALo(14,"async"),r._UZ(15,"startlight",6),r.ALo(16,"async"),r.ALo(17,"async"),r._UZ(18,"startlight",6),r.ALo(19,"async"),r.ALo(20,"async"),r._UZ(21,"startlight",6),r.ALo(22,"async"),r.ALo(23,"async"),r._UZ(24,"startlight",6),r.ALo(25,"async"),r.ALo(26,"async"),r.qZA(),r.TgZ(27,"ion-buttons",7)(28,"ion-button",1),r.NdJ("click",function(je){return x.onYellowFlag.emit(je)}),r._UZ(29,"yellow-flag",8),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("disabled",!r.lcZ(3,16,x.keys)),r.xp6(8),r.Q6J("disabled",!r.lcZ(11,18,x.keys)),r.xp6(2),r.Q6J("active",r.lcZ(13,20,x.lights)>=1)("blink",r.lcZ(14,22,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(16,24,x.lights)>=2)("blink",r.lcZ(17,26,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(19,28,x.lights)>=3)("blink",r.lcZ(20,30,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(22,32,x.lights)>=4)("blink",r.lcZ(23,34,x.blink)),r.xp6(3),r.Q6J("active",r.lcZ(25,36,x.lights)>=5)("blink",r.lcZ(26,38,x.blink)),r.xp6(4),r.Q6J("disabled",!x.cu),r.xp6(1),r.Q6J("blink",x.yellowFlag)("cols",9)("rows",5))},dependencies:[ye.YG,ye.Sm,ye.sr,Ae,qn,k.Ov],styles:["@media (orientation: portrait){ion-toolbar[_ngcontent-%COMP%]{font-size:9vw}}@media (orientation: landscape){ion-toolbar[_ngcontent-%COMP%]{font-size:6vw}}ion-button[_ngcontent-%COMP%]{font-size:inherit;height:100%;text-align:center;white-space:nowrap}ion-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{fill:currentColor;height:1em;font-weight:700;letter-spacing:normal;padding:6px;border-radius:8px;box-shadow:0 0 2px #444,inset 0 0 2px #666}"],changeDetection:0})}return d})(),wn=(()=>{class d{ngOnChanges(l){this.path=function Rn(d,p){const l=[];for(let y=0;ycr(d),"m:ss":d=>Hn(d),s:d=>Math.floor(d/1e3).toString(),"h:mm:ss.sss":d=>cr(d,!0),"m:ss.sss":d=>Hn(d,!0),"s.sss":d=>(d/1e3).toFixed(3),"+h:mm:ss":d=>"+"+cr(d),"+m:ss":d=>"+"+Hn(d),"+s":d=>"+"+Math.floor(d/1e3).toString(),"+h:mm:ss.sss":d=>"+"+cr(d,!0),"+m:ss.sss":d=>"+"+Hn(d,!0),"+s.sss":d=>"+"+(d/1e3).toFixed(3)};let Ur=(()=>{class d{transform(l,y="h:mm:ss"){return null==l||Number.isNaN(l)?null:y in ur?ur[y](l>=0?l:0):y}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275pipe=r.Yjl({name:"time",type:d,pure:!0});static#n=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Vr(d,p){1&d&&r._UZ(0,"checkerboard",4),2&d&&r.Q6J("cols",9)("rows",5)}function Co(d,p){1&d&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Free Practice"),r.qZA(),r.BQk())}function Kr(d,p){1&d&&(r.ynx(0),r.TgZ(1,"span",5),r._uU(2,"Qualifying"),r.qZA(),r.BQk())}function eo(d,p){1&d&&r._UZ(0,"span")}function Oo(d,p){if(1&d&&(r._uU(0),r.ALo(1,"translate")),2&d){const l=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}/{{total}}",l.laps)," ")}}function ao(d,p){if(1&d&&(r._uU(0),r.ALo(1,"translate")),2&d){const l=r.oxw(4);r.hij(" ",r.xi3(1,1,"Lap {{count}}",l.laps)," ")}}function gs(d,p){if(1&d&&(r.TgZ(0,"span"),r.YNc(1,eo,1,0,"span",9),r.YNc(2,Oo,2,4,"ng-template",null,10,r.W1O),r.YNc(4,ao,2,4,"ng-template",null,11,r.W1O),r.qZA()),2&d){const l=r.MAs(3),y=r.MAs(5),x=r.oxw(3);r.xp6(1),r.Q6J("ngIf",x.laps.total)("ngIfThen",l)("ngIfElse",y)}}function Jo(d,p){if(1&d&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&d){const l=r.oxw(4);r.xp6(1),r.hij(" ",r.xi3(2,1,"{{total}} Laps",l.laps)," ")}}function el(d,p){if(1&d&&r.YNc(0,Jo,3,4,"span",6),2&d){r.oxw(2);const l=r.MAs(3),y=r.oxw();r.Q6J("ngIf",y.laps.total)("ngIfElse",l)}}function Us(d,p){if(1&d&&(r.TgZ(0,"span"),r.YNc(1,gs,6,3,"span",6),r.YNc(2,el,1,2,"ng-template",null,8,r.W1O),r.qZA()),2&d){const l=r.MAs(3),y=r.oxw(2);r.xp6(1),r.Q6J("ngIf",y.laps.count)("ngIfElse",l)}}function qi(d,p){1&d&&(r.TgZ(0,"span",5),r._uU(1,"Race"),r.qZA())}function va(d,p){if(1&d&&(r.ynx(0),r.YNc(1,Us,4,2,"span",6),r.YNc(2,qi,2,0,"ng-template",null,7,r.W1O),r.BQk()),2&d){const l=r.MAs(3),y=r.oxw();r.xp6(1),r.Q6J("ngIf",y.laps)("ngIfElse",l)}}function Do(d,p){1&d&&r._UZ(0,"checkerboard",4),2&d&&r.Q6J("cols",9)("rows",5)}function ya(d,p){if(1&d&&(r.TgZ(0,"span",12),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.hij(" ",r.xi3(2,1,l.time,"h:mm:ss")," ")}}let Ji=(()=>{class d{constructor(){}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["race-title"]],inputs:{mode:"mode",laps:"laps",time:"time",finished:"finished"},decls:8,vars:7,consts:[[3,"cols","rows",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["style","float: right",4,"ngIf"],[3,"cols","rows"],["translate",""],[4,"ngIf","ngIfElse"],["race",""],["race0",""],[4,"ngIf","ngIfThen","ngIfElse"],["race1",""],["race2",""],[2,"float","right"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-title"),r.YNc(1,Vr,1,2,"checkerboard",0),r.TgZ(2,"span",1),r.YNc(3,Co,3,0,"ng-container",2),r.YNc(4,Kr,3,0,"ng-container",2),r.YNc(5,va,4,2,"ng-container",2),r.qZA(),r.YNc(6,Do,1,2,"checkerboard",0),r.YNc(7,ya,3,4,"span",3),r.qZA()),2&y&&(r.xp6(1),r.Q6J("ngIf",x.finished),r.xp6(1),r.Q6J("ngSwitch",x.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(1),r.Q6J("ngSwitchCase","race"),r.xp6(1),r.Q6J("ngIf",x.finished),r.xp6(1),r.Q6J("ngIf",x.time&&!x.finished))},dependencies:[k.O5,k.RF,k.n9,ye.wd,wn,Fe.Pi,Ur,Fe.X$],encapsulation:2,changeDetection:0})}return d})();function Hr(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-button",4),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.toggleSpeech())}),r._UZ(1,"ion-icon",9),r.qZA()}if(2&d){const l=r.oxw();r.xp6(1),r.Q6J("name",null!=l.options&&l.options.speech?"volume-high-sharp":"volume-mute-sharp")}}function Vs(d,p){if(1&d&&(r.TgZ(0,"div"),r._UZ(1,"leaderboard",10),r.ALo(2,"async"),r.ALo(3,"async"),r.ALo(4,"async"),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("mode",l.mode)("items",r.lcZ(2,4,l.items))("pitlane",r.lcZ(3,6,l.pitlane))("sectors",r.lcZ(4,8,l.sectors))}}function _i(d,p){1&d&&(r.TgZ(0,"div",11)(1,"h1",12),r._uU(2,"Welcome to Open Lap!"),r.qZA(),r.TgZ(3,"p",12),r._uU(4," Please select a Control Unit device from the menu. "),r.qZA(),r.TgZ(5,"p",12),r._uU(6," If no devices are listed, please make sure that Bluetooth is enabled. "),r.qZA()())}const ms={position:(d,p)=>d.position-p.position,number:(d,p)=>d.id-p.id};let Hs=(()=>{class d{constructor(l,y,x,De,je,Rt,rt,Pt){this.cu=l,this.app=y,this.logger=x,this.settings=De,this.speech=je,this.popover=Rt,this.translate=rt,this.subscription=new Er.w0;const Yt=Pt.snapshot.paramMap.get("mode");switch(Yt){case"practice":case"qualifying":case"race":this.mode=Yt;break;default:this.mode="practice"}const Tt=l.pipe((0,H.h)(At=>!!At),(0,Mt.z)(At=>At.getMode()),(0,Jr.O)(0),(0,Cr.x)());this.pitlane=Tt.pipe((0,le.U)(At=>0!=(3&At))),this.sectors=De.getOptions().pipe((0,le.U)(At=>At.sectors)),this.start=l.pipe((0,H.h)(At=>!!At),(0,Mt.z)(At=>At.getStart()),(0,Cr.x)()),this.orientation=y.orientation,this.legacyAndroid=y.isAndroid()&&y.isCordova()?y.getDeviceInfo().then(At=>At.version<"12"):Promise.resolve(!1)}ngOnInit(){this.subscription.add((0,pi.a)([this.cu,this.getRaceOptions(this.mode)]).subscribe(([l,y])=>{this.session=l&&y?this.startSession(l,y):null})),this.subscription.add(this.settings.getOptions().subscribe(l=>{this.options=l}))}startSession(l,y){const x=new fs(l,y);this.lapcount=x.currentLap.pipe((0,le.U)(Tt=>({count:Tt,total:y.laps})),(0,Jr.O)({count:0,total:y.laps}));const De=this.settings.getDrivers().pipe((0,Be.w)(Tt=>{const At=Tt.map((Gt,Xt)=>{const Wt=Gt.code||"#"+(Xt+1);return Gt.name?(0,ne.of)({name:Gt.name,code:Wt,color:Gt.color}):this.getTranslations("Driver {{number}}",{number:Xt+1}).pipe((0,le.U)(er=>({name:er,code:Wt,color:Gt.color})))});return(0,pi.a)(At)})),je=[1/0,1/0,1/0,1/0],Rt=(0,Ze.T)(x.grid.pipe((0,le.U)(Tt=>Tt.pipe(Ao())),(0,Mt.z)(Tt=>Tt),(0,Mt.z)(([Tt,At])=>{const Gt=[];return At.best.forEach((Xt,Wt)=>{(Xt||1/0)=3&&Gt.push([Wt?"bests"+Wt:"bestlap",At.id]))}),!At.finished&&At.time&&(At.fuelTt.length>0&&"race"==y.mode),(0,le.U)(Tt=>Tt.map(At=>({id:At.id,finished:At.finished}))),Ao(),(0,H.h)(([Tt,At])=>At[0].finished),(0,Mt.z)(([Tt,At])=>{const Gt=[];return!Tt[0].finished&&At[0].finished&&Gt.push(At.length>1?["finished1st",At[0].id]:["finished",null]),At.length>=2&&!Tt[1]?.finished&&At[1].finished&&Gt.push(["finished2nd",At[1].id]),At.length>=3&&!Tt[2]?.finished&&At[2].finished&&Gt.push(["finished3rd",At[2].id]),(0,tr.D)(Gt)})),x.ranking.pipe((0,H.h)(Tt=>0!=Tt.length&&"race"==y.mode),(0,le.U)(Tt=>Tt[0]),Ao(),(0,H.h)(([Tt,At])=>Tt.id!=At.id),(0,le.U)(([Tt,At])=>["newleader",At.id])),x.timer.pipe((0,H.h)(Tt=>y.time>=12e4&&Tt<=6e4&&!x.finished.value),(0,Mn.q)(1),(0,le.U)(()=>["oneminute",null])),x.timer.pipe((0,le.U)(Tt=>[Tt,x.finished.value]),Ao(),(0,le.U)(([Tt,At])=>[At[0],Tt[1]]),(0,H.h)(([Tt,At])=>0==Tt&&!At),(0,Mn.q)(1),(0,le.U)(()=>["timeout",null])),x.yellowFlag.pipe((0,Cr.x)(),function gi(d){return(0,wt.e)((p,l)=>{let y=!1,x=0;p.subscribe((0,zn.x)(l,De=>(y||(y=!d(De,x++)))&&l.next(De)))})}(Tt=>!Tt),(0,le.U)(Tt=>[Tt?"yellowflag":"greenflag",null])),x.allFinished.pipe((0,H.h)(Tt=>Tt),(0,Mn.q)(1),(0,le.U)(()=>["alldone",null])),this.lapcount.pipe((0,H.h)(Tt=>y.laps>=10&&Tt.count===y.laps-4&&!x.finished.value),(0,Mn.q)(1),(0,le.U)(()=>["fivelaps",null])),this.lapcount.pipe((0,H.h)(Tt=>y.laps&&Tt.count===y.laps&&!x.finished.value),(0,Mn.q)(1),(0,le.U)(()=>["finallap",null])),this.start.pipe((0,Cr.x)(),(0,H.h)(Tt=>9===Tt),(0,le.U)(()=>["falsestart",null]))).pipe(bo(De),(0,le.U)(([[Tt,At],Gt])=>[Tt,null!==At?Gt[At]:null])),rt=this.settings.getOptions().pipe((0,le.U)(Tt=>Tt.fixedorder?"number":"position")),Pt=[],Yt=[];return this.items=(0,pi.a)([x.ranking,De,rt]).pipe((0,le.U)(([Tt,At,Gt])=>{const Xt=Tt.map((Wt,er)=>("race"==y.mode&&void 0===Pt[Wt.id]&&void 0!==Wt.time&&(Pt[Wt.id]=er),(!Wt.pit||Wt.fuelYt[Wt.id]})));return Xt.sort(ms[Gt||"position"]),Xt}),(0,no.B)()),this.subscriptions&&this.subscriptions.unsubscribe(),this.subscriptions=Rt.pipe(bo(this.settings.getOptions(),this.settings.getNotifications(),this.getTranslations("notifications"))).subscribe(([[Tt,At],Gt,Xt,Wt])=>{if(this.logger.debug("Race event: "+Tt,At),Gt.speech&&Xt[Tt]&&Xt[Tt].enabled){let er=Xt[Tt].message||Wt[Tt];this.speech.speak(At&&At.name?At.name+": "+er:er)}}),this.subscriptions.add(this.lapcount.subscribe(Tt=>{l.setLap(Tt.count)},Tt=>{this.logger.error("Lap counter error:",Tt)},()=>{this.logger.info("Lap counter finished")})),this.subscriptions.add(Rt.pipe((0,H.h)(([Tt])=>"alldone"==Tt),bo(this.getRaceOptions(y.mode))).subscribe(([[Tt],At])=>{At.stopfin&&l.toggleStart()})),"practice"!=y.mode&&l.getStart().pipe((0,Mn.q)(1)).toPromise().then(At=>{0===At&&l.toggleStart(),l.getStart().pipe(Ao(),(0,H.h)(([Gt,Xt])=>0!=Gt&&0==Xt),(0,Mn.q)(1)).toPromise().then(()=>{this.logger.info("Start "+y.mode+" mode"),x.start()})}),x}ngOnDestroy(){this.subscription.unsubscribe(),this.subscriptions&&this.subscriptions.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe()}ionViewDidEnter(){this.backButtonSubscription=this.app.backButton.subscribe(()=>{this.cu.value?this.cu.value.disconnect().catch(l=>{this.logger.error("Error disconnecting from CU:",l)}).then(()=>{this.app.exit()}):this.app.exit()})}ionViewWillLeave(){this.backButtonSubscription.unsubscribe()}restartSession(){this.session&&(this.session=this.startSession(this.session.cu,this.session.options))}cancelSession(){this.session&&this.session.stop()}getRaceOptions(l){switch(l){case"race":return this.settings.getRaceSettings();case"qualifying":return this.settings.getQualifyingSettings();default:return(0,ne.of)(new ar.VL("practice"))}}toggleSpeech(){this.options&&this.settings.setOptions(Object.assign({},this.options,{speech:!this.options.speech}))}toggleYellowFlag(){this.session&&this.session.toggleYellowFlag()}showMenu(l){return this.popover.create({component:qo,componentProps:{mode:this.mode,active:this.session&&!this.session.finished.value&&"practice"!=this.mode,restart:()=>this.restartSession(),cancel:()=>this.cancelSession()},event:l}).then(y=>{y.present()})}getTranslations(l,y){return this.translate.stream(l,y)}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.V1),r.Y36(_n.zi),r.Y36(_n.ed),r.Y36(ar.de),r.Y36(_n.vA),r.Y36(ye.Dh),r.Y36(Fe.sK),r.Y36(Kn.gz))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:22,vars:23,consts:[["slot","start"],[3,"mode","laps","time","finished"],["slot","end"],[3,"click",4,"ngIf"],[3,"click"],["slot","icon-only","name","ellipsis-vertical-sharp"],[4,"ngIf","ngIfElse"],["nocu",""],[3,"cu","yellowFlag","onYellowFlag"],["slot","icon-only",3,"name"],[3,"mode","items","pitlane","sectors"],[1,"ion-padding"],["translate",""]],template:function(y,x){if(1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-menu-button"),r.qZA(),r._UZ(4,"race-title",1),r.ALo(5,"async"),r.ALo(6,"async"),r.ALo(7,"async"),r.TgZ(8,"ion-buttons",2),r.YNc(9,Hr,2,1,"ion-button",3),r.ALo(10,"async"),r.TgZ(11,"ion-button",4),r.NdJ("click",function(je){return x.showMenu(je)}),r._UZ(12,"ion-icon",5),r.qZA()()()(),r.TgZ(13,"ion-content"),r.YNc(14,Vs,5,10,"div",6),r.ALo(15,"async"),r.YNc(16,_i,7,0,"ng-template",null,7,r.W1O),r.qZA(),r.TgZ(18,"ion-footer")(19,"race-control",8),r.NdJ("onYellowFlag",function(){return x.toggleYellowFlag()}),r.ALo(20,"async"),r.ALo(21,"async"),r.qZA()()),2&y){const De=r.MAs(17);r.xp6(4),r.Q6J("mode",x.mode)("laps",r.lcZ(5,9,x.lapcount))("time",r.lcZ(6,11,null==x.session?null:x.session.timer))("finished",r.lcZ(7,13,null==x.session?null:x.session.finished)),r.xp6(5),r.Q6J("ngIf","landscape"==r.lcZ(10,15,x.orientation)),r.xp6(5),r.Q6J("ngIf",r.lcZ(15,17,x.cu))("ngIfElse",De),r.xp6(5),r.Q6J("cu",r.lcZ(20,19,x.cu))("yellowFlag",r.lcZ(21,21,null==x.session?null:x.session.yellowFlag))}},dependencies:[k.O5,ye.YG,ye.Sm,ye.W2,ye.fr,ye.Gu,ye.gu,ye.fG,ye.sr,M,Jn,Fe.Pi,Ji,k.Ov],encapsulation:2})}return d})();const vs=["time"],js=["laps"],_a=["pause"],zs=["slotmode"];function ys(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Free Practice"),r.qZA())}function Li(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Qualifying"),r.qZA())}function Ar(d,p){1&d&&(r.TgZ(0,"span",21),r._uU(1,"Race"),r.qZA())}function ba(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item")(1,"ion-input",22,23),r.NdJ("ionInput",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onLapsInput(x))})("ionChange",function(x){r.CHM(l);const De=r.oxw();return r.KtG(De.onChangeLaps(x))}),r.ALo(3,"translate"),r.qZA()()}2&d&&(r.xp6(1),r.s9C("label",r.lcZ(3,3,"Number of laps")),r.Q6J("clearInput",!0)("maxlength",5))}function Xo(d,p){if(1&d&&(r.TgZ(0,"ion-select-option",24),r._uU(1),r.qZA()),2&d){const l=p.$implicit;r.Q6J("value",l),r.xp6(1),r.Oqu(l)}}function Ca(d,p){1&d&&(r.TgZ(0,"ion-item")(1,"ion-toggle",25,26),r._uU(3,"Finish all laps"),r.qZA()())}const Qo=function(){return[1,2,3,4,5,6]};function Eo(d){const p=Math.floor(d/36e5),l=Math.floor(d/6e4%60);return(""+p).padStart(1,"0")+":"+(""+l).padStart(2,"0")}function bi(d){const[p,l]=d.split(":");return 1e3*(3600*parseInt(p)+60*parseInt(l))}function Xi(d){return d.value&&bi(d.value)?null:{required:!0}}function tl(d){const p=parseInt(d.get("laps").value);return p&&p>0||!Xi(d.get("time"))?null:{required:!0}}let $o=(()=>{class d{constructor(l,y,x){this.mod=x,this.mode=y.get("mode"),this.form="race"==this.mode?function Qi(d,p){return d.group({laps:new Un.NI(p.get("laps")||"0"),time:new Un.NI(Eo(p.get("time")||0)),pause:new Un.NI({value:!!p.get("pause"),disabled:!p.get("time")}),slotmode:new Un.NI({value:!!p.get("slotmode"),disabled:!p.get("laps")}),stopfin:new Un.NI(p.get("stopfin")||!1),drivers:new Un.NI(p.get("drivers")||""),auto:new Un.NI(p.get("auto")||!1),pace:new Un.NI(p.get("pace")||!1)},{validator:tl})}(l,y):function Da(d,p){return d.group({time:new Un.NI(Eo(p.get("time")||3e5),Xi),pause:new Un.NI({value:p.get("pause")||!1,disabled:!p.get("time")}),stopfin:new Un.NI(p.get("stopfin")||!1),drivers:new Un.NI(p.get("drivers")||""),auto:new Un.NI(p.get("auto")||!1),pace:new Un.NI(p.get("pace")||!1)})}(l,y)}ngAfterViewInit(){this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled)}onTimeInput(l){const x=l.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,""),De=x.substring(x.length-2).padStart(2,"0"),Rt=x.substring(0,x.length-2).padStart(1,"0")+":"+De;this.timeInput.value=Rt,this.form.get("time").setValue(Rt)}onChangeTime(l){const y=bi(l.detail.value);this.timeInput.value=Eo(y),0!=y?this.form.get("pause").enable():this.form.get("pause").disable(),this.pauseToggle&&(this.pauseToggle.disabled=this.form.get("pause").disabled),this.timeInput.getInputElement().then(x=>x.blur())}onLapsInput(l){const x=l.target.value.replace(/[^0-9]+/g,"").replace(/^0+/,"")||"0";this.lapsInput.value=x,this.form.get("laps").setValue(x)}onChangeLaps(l){parseInt(l.detail.value||"0")>0?this.form.get("slotmode").enable():this.form.get("slotmode").disable(),this.slotmodeToggle&&(this.slotmodeToggle.disabled=this.form.get("slotmode").disabled),this.lapsInput.getInputElement().then(y=>y.blur())}onSubmit(l){this.mod.dismiss(Object.assign(new ar.VL(this.mode),{laps:parseInt(l.laps||"0"),time:bi(l.time||"0:00"),pause:l.pause,drivers:l.drivers?parseInt(l.drivers):void 0,auto:l.auto,pace:l.pace,slotmode:l.slotmode,stopfin:l.stopfin}))}onCancel(){this.mod.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(Un.qu),r.Y36(He.X1),r.Y36(ye.IN))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],viewQuery:function(y,x){if(1&y&&(r.Gf(vs,5),r.Gf(js,5),r.Gf(_a,7),r.Gf(zs,5)),2&y){let De;r.iGM(De=r.CRH())&&(x.timeInput=De.first),r.iGM(De=r.CRH())&&(x.lapsInput=De.first),r.iGM(De=r.CRH())&&(x.pauseToggle=De.first),r.iGM(De=r.CRH())&&(x.slotmodeToggle=De.first)}},decls:43,vars:23,consts:[["translate","",3,"ngSwitch"],["translate","",4,"ngSwitchCase"],["translate","",4,"ngSwitchDefault"],["slot","start"],[3,"click"],["name","close-sharp"],["slot","end"],["translate","","type","submit",3,"disabled","click"],[3,"formGroup"],["formControlName","time","placeholder","0:00","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["time",""],[4,"ngIf"],["formControlName","drivers",3,"label","cancelText","okText"],["translate","","value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","auto","translate",""],["formControlName","pace","translate",""],["formControlName","pause","translate",""],["pause",""],["formControlName","stopfin","translate",""],["stopfin",""],["translate",""],["formControlName","laps","placeholder","0","inputmode","decimal","enterkeyhint","done",1,"right-align",3,"label","clearInput","maxlength","ionInput","ionChange"],["laps",""],[3,"value"],["formControlName","slotmode","translate",""],["slotmode",""]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title",0),r.YNc(3,ys,2,0,"span",1),r.YNc(4,Li,2,0,"span",1),r.YNc(5,Ar,2,0,"span",2),r.qZA(),r.TgZ(6,"ion-buttons",3)(7,"ion-button",4),r.NdJ("click",function(){return x.onCancel()}),r._UZ(8,"ion-icon",5),r.qZA()(),r.TgZ(9,"ion-buttons",6)(10,"ion-button",7),r.NdJ("click",function(){return x.onSubmit(x.form.value)}),r._uU(11," Start "),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"form",8)(14,"ion-list")(15,"ion-item")(16,"ion-input",9,10),r.NdJ("ionInput",function(je){return x.onTimeInput(je)})("ionChange",function(je){return x.onChangeTime(je)}),r.ALo(18,"translate"),r.qZA()(),r.YNc(19,ba,4,5,"ion-item",11),r.TgZ(20,"ion-item")(21,"ion-select",12),r.ALo(22,"translate"),r.ALo(23,"translate"),r.ALo(24,"translate"),r.TgZ(25,"ion-select-option",13),r._uU(26,"Automatic"),r.qZA(),r.YNc(27,Xo,2,2,"ion-select-option",14),r.qZA()(),r.TgZ(28,"ion-item")(29,"ion-toggle",15),r._uU(30,"Autonomous Car"),r.qZA()(),r.TgZ(31,"ion-item")(32,"ion-toggle",16),r._uU(33,"Pace Car"),r.qZA()(),r.TgZ(34,"ion-item")(35,"ion-toggle",17,18),r._uU(37,"Stop time when paused"),r.qZA()(),r.YNc(38,Ca,4,0,"ion-item",11),r.TgZ(39,"ion-item")(40,"ion-toggle",19,20),r._uU(42,"Stop cars when finished"),r.qZA()()()()()),2&y&&(r.xp6(2),r.Q6J("ngSwitch",x.mode),r.xp6(1),r.Q6J("ngSwitchCase","practice"),r.xp6(1),r.Q6J("ngSwitchCase","qualifying"),r.xp6(6),r.Q6J("disabled",!x.form.valid),r.xp6(3),r.Q6J("formGroup",x.form),r.xp6(3),r.s9C("label",r.lcZ(18,14,"Time")),r.Q6J("clearInput",!0)("maxlength",5),r.xp6(3),r.Q6J("ngIf","race"==x.mode),r.xp6(2),r.s9C("label",r.lcZ(22,16,"Number of drivers")),r.s9C("cancelText",r.lcZ(23,18,"Cancel")),r.s9C("okText",r.lcZ(24,20,"OK")),r.xp6(6),r.Q6J("ngForOf",r.DdM(22,Qo)),r.xp6(11),r.Q6J("ngIf","race"==x.mode))},dependencies:[k.sg,k.O5,k.RF,k.n9,k.ED,Un._Y,Un.JJ,Un.JL,Un.nD,Un.sg,Un.u,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.pK,ye.Ie,ye.q_,ye.t9,ye.n0,ye.wd,ye.ho,ye.sr,ye.w,ye.QI,ye.j9,Fe.Pi,Fe.X$],encapsulation:2})}return d})();function Uo(d,p){1&d&&(r.TgZ(0,"div",2)(1,"span",3),r._uU(2,"POS"),r.qZA()())}function Ci(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NO"),r.qZA())}function Ys(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function _s(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"NAME"),r.qZA())}function ei(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}function nl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAST LAP"),r.qZA())}function rl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"BEST LAP"),r.qZA())}function dr(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S1"),r.qZA())}function fc(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S2"),r.qZA())}function es(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"S3"),r.qZA())}function hc(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"GAP"),r.qZA())}function Ea(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"INT"),r.qZA())}function ol(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAPS"),r.qZA())}function il(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"PITS"),r.qZA())}function sl(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"FUEL"),r.qZA())}function Ni(d,p){1&d&&r._UZ(0,"span",3)}function al(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"LAP"),r.qZA())}function ll(d,p){1&d&&(r.TgZ(0,"span",3),r._uU(1,"TIME"),r.qZA())}const xr=function(d){return[d,"cell"]};function bs(d,p){if(1&d&&(r.TgZ(0,"div",4),r.YNc(1,Ci,2,0,"span",5),r.YNc(2,Ys,2,0,"span",5),r.YNc(3,_s,2,0,"span",5),r.YNc(4,ei,2,0,"span",5),r.YNc(5,nl,2,0,"span",5),r.YNc(6,rl,2,0,"span",5),r.YNc(7,dr,2,0,"span",5),r.YNc(8,fc,2,0,"span",5),r.YNc(9,es,2,0,"span",5),r.YNc(10,hc,2,0,"span",5),r.YNc(11,Ea,2,0,"span",5),r.YNc(12,ol,2,0,"span",5),r.YNc(13,il,2,0,"span",5),r.YNc(14,sl,2,0,"span",5),r.YNc(15,Ni,1,0,"span",5),r.YNc(16,al,2,0,"span",5),r.YNc(17,ll,2,0,"span",5),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(19,xr,l)),r.xp6(1),r.Q6J("ngSwitchCase","number"),r.xp6(1),r.Q6J("ngSwitchCase","name"),r.xp6(1),r.Q6J("ngSwitchCase","code"),r.xp6(1),r.Q6J("ngSwitchCase","time"),r.xp6(1),r.Q6J("ngSwitchCase","lastlap"),r.xp6(1),r.Q6J("ngSwitchCase","bestlap"),r.xp6(1),r.Q6J("ngSwitchCase","sector1"),r.xp6(1),r.Q6J("ngSwitchCase","sector2"),r.xp6(1),r.Q6J("ngSwitchCase","sector3"),r.xp6(1),r.Q6J("ngSwitchCase","gap"),r.xp6(1),r.Q6J("ngSwitchCase","int"),r.xp6(1),r.Q6J("ngSwitchCase","laps"),r.xp6(1),r.Q6J("ngSwitchCase","pits"),r.xp6(1),r.Q6J("ngSwitchCase","fuel"),r.xp6(1),r.Q6J("ngSwitchCase","status"),r.xp6(1),r.Q6J("ngSwitchCase","lap"),r.xp6(1),r.Q6J("ngSwitchCase","laptime")}}let Di=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-head"]],inputs:{fields:"fields",pos:"pos"},decls:2,vars:2,consts:[["class","position cell",4,"ngIf"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[1,"position","cell"],[1,"title"],[3,"ngSwitch","ngClass"],["class","title",4,"ngSwitchCase"]],template:function(y,x){1&y&&(r.YNc(0,Uo,3,0,"div",0),r.YNc(1,bs,18,21,"div",1)),2&y&&(r.Q6J("ngIf",x.pos),r.xp6(1),r.Q6J("ngForOf",x.fields))},dependencies:[k.mk,k.sg,k.O5,k.RF,k.n9],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})(),wa=(()=>{class d{constructor(){this.min=0,this.max=1}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["gauge"]],inputs:{min:"min",max:"max",value:"value"},decls:1,vars:2,template:function(y,x){1&y&&r._UZ(0,"span"),2&y&&r.Udp("padding-right",100*(x.max-x.value)/(x.max-x.min)+"%")},styles:["span[_ngcontent-%COMP%]{display:inline-block;background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen);background-clip:content-box;min-height:.8em;width:100%}"],changeDetection:0})}return d})();function lo(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.id+1," ")}}function f(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",null==l.item.driver?null:l.item.driver.name," ")}}function m(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",null==l.item.driver?null:l.item.driver.code," ")}}function c(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(3);r.hij(" ",r.xi3(1,1,l.item.time,"m:ss.sss")," ")}}function b(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(3);r.hij(" ",r.xi3(1,1,l.item.time-l.ranked[0].time,"+s.sss")," ")}}function L(d,p){1&d&&r._uU(0," +1 Lap ")}function J(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(3);r.hij(" +",l.ranked[0].laps-l.item.laps," Laps ")}}function de(d,p){if(1&d&&(r.TgZ(0,"span",18),r.YNc(1,c,2,4,"ng-template",19),r.YNc(2,b,2,4,"ng-template",20),r.YNc(3,L,1,0,"ng-template",21),r.YNc(4,J,1,1,"ng-template",22),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngSwitch",0==l.item.position?"":(l.ranked[0].laps-l.item.laps).toString())}}const Ge=function(d){return{notime:d}};function ft(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.VKq(5,Ge,!l.item.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.best[0],"s.sss")||"NO\u2009TIME"," ")}}function kt(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.item.position&&l.item.best[0]?l.item.best[0]-l.ranked[0].best[0]:null,"+s.sss")," ")}}function Bt(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.item.position&&l.item.best[0]?l.item.best[0]-l.ranked[l.item.position-1].best[0]:null,"+s.sss")," ")}}const Zn=function(d,p,l){return{best:d,allbest:p,notime:l}};function Or(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,Zn,l.item.last[0]==l.item.best[0],l.item.last[0]==l.best[0],!l.item.last[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[0],"s.sss")||"NO\u2009TIME"," ")}}const wo=function(d,p,l){return{sector:d,best:p,allbest:l}};function Po(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,1==l.item.sector,l.item.last[1]==l.item.best[1],l.item.last[1]==l.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[1],"s.sss")," ")}}function ti(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,2==l.item.sector,l.item.last[2]==l.item.best[2],l.item.last[2]==l.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[2],"s.sss")," ")}}function co(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.kEZ(5,wo,3==l.item.sector,l.item.last[3]==l.item.best[3],l.item.last[3]==l.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.item.last[3],"s.sss")," ")}}function cl(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.laps," ")}}function Cs(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.item.pits," ")}}function Ds(d,p){if(1&d&&(r.TgZ(0,"gauge",24),r._uU(1,"\xa0"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("max",15)("value",l.item.fuel)}}function Gs(d,p){1&d&&r._UZ(0,"checkerboard",27),2&d&&r.Q6J("cols",7)("rows",5)}function Ws(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1,"PIT"),r.qZA()),2&d){const l=r.oxw(3);r.Q6J("ngClass",l.item.refuel?"inpit":"pitenter")}}function Es(d,p){if(1&d&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&d){const l=r.oxw(3);r.Q6J("ngClass",l.item.gridpos>l.item.position?"pos-up":l.item.gridpos2)}}const ws=function(d){return[d,"cell"]};function pc(d,p){if(1&d&&(r.TgZ(0,"div",2),r.YNc(1,lo,1,1,"ng-template",3),r.YNc(2,f,1,1,"ng-template",4),r.YNc(3,m,1,1,"ng-template",5),r.YNc(4,de,5,1,"ng-template",6),r.YNc(5,ft,3,7,"ng-template",7),r.YNc(6,kt,2,4,"ng-template",8),r.YNc(7,Bt,2,4,"ng-template",9),r.YNc(8,Or,3,9,"ng-template",10),r.YNc(9,Po,3,9,"ng-template",11),r.YNc(10,ti,3,9,"ng-template",12),r.YNc(11,co,3,9,"ng-template",13),r.YNc(12,cl,1,1,"ng-template",14),r.YNc(13,Cs,1,1,"ng-template",15),r.YNc(14,Ds,2,2,"ng-template",16),r.YNc(15,ul,3,3,"ng-template",17),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(2,ws,l))}}let dl=(()=>{class d{abs(l){return l<0?-l:l}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-item"]],inputs:{fields:"fields",item:"item",ranked:"ranked",best:"best"},decls:3,vars:3,consts:[[1,"position","cell",3,"color"],[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","number"],["ngSwitchCase","name"],["ngSwitchCase","code"],["ngSwitchCase","time"],["ngSwitchCase","bestlap"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","lastlap"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","laps"],["ngSwitchCase","pits"],["ngSwitchCase","fuel"],["ngSwitchCase","status"],[3,"ngSwitch"],["ngSwitchCase",""],["ngSwitchCase","0"],["ngSwitchCase","1"],["ngSwitchDefault",""],[3,"ngClass"],[3,"max","value"],[3,"cols","rows",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"cols","rows"]],template:function(y,x){1&y&&(r.TgZ(0,"outline",0),r._uU(1),r.qZA(),r.YNc(2,pc,16,4,"div",1)),2&y&&(r.Q6J("color",null==x.item.driver?null:x.item.driver.color),r.xp6(1),r.hij(" ",x.item.position+1,"\n"),r.xp6(1),r.Q6J("ngForOf",x.fields))},dependencies:[k.mk,k.sg,k.O5,k.RF,k.n9,k.ED,wn,wa,Bo,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})();function Is(d,p){if(1&d&&r._uU(0),2&d){const l=r.oxw(2);r.hij(" ",l.lap," ")}}const ki=function(d,p){return{best:d,allbest:p}};function fl(d,p){if(1&d&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[0]-l.times[1]==l.item.best[0],l.times[0]-l.times[1]==l.best[0])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[0]-l.times[1],"s.sss")," ")}}function gc(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.times[0]-l.times[1]-l.best[0]||null,"+s.sss")," ")}}function mc(d,p){if(1&d&&(r._uU(0),r.ALo(1,"time")),2&d){const l=r.oxw(2);r.hij(" ",r.xi3(1,1,l.times[0]-l.times[1]-l.intlap||null,"+s.sss")," ")}}function ts(d,p){if(1&d&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[2]-l.times[1]==l.item.best[1],l.times[2]-l.times[1]==l.best[1])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[2]-l.times[1],"s.sss")," ")}}function Ss(d,p){if(1&d&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[3]-l.times[2]==l.item.best[2],l.times[3]-l.times[2]==l.best[2])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[3]-l.times[2],"s.sss")," ")}}function vc(d,p){if(1&d&&(r.TgZ(0,"span",10),r._uU(1),r.ALo(2,"time"),r.qZA()),2&d){const l=r.oxw(2);r.Q6J("ngClass",r.WLB(5,ki,l.times[0]-l.times[3]==l.item.best[3],l.times[0]-l.times[3]==l.best[3])),r.xp6(1),r.hij(" ",r.xi3(2,2,l.times[0]-l.times[3],"s.sss")," ")}}function Id(d,p){if(1&d&&r._UZ(0,"span",10),2&d){const l=r.oxw(3);r.Q6J("ngClass",l.last[0]-l.last[1]>l.times[0]-l.times[1]?"pos-up":"pos-dn")}}function hl(d,p){if(1&d&&r.YNc(0,Id,1,1,"span",11),2&d){const l=r.oxw(2);r.Q6J("ngIf",l.last)}}const yc=function(d){return[d,"cell"]};function Sd(d,p){if(1&d&&(r.TgZ(0,"div",1),r.YNc(1,Is,1,1,"ng-template",2),r.YNc(2,fl,3,8,"ng-template",3),r.YNc(3,gc,2,4,"ng-template",4),r.YNc(4,mc,2,4,"ng-template",5),r.YNc(5,ts,3,8,"ng-template",6),r.YNc(6,Ss,3,8,"ng-template",7),r.YNc(7,vc,3,8,"ng-template",8),r.YNc(8,hl,1,1,"ng-template",9),r.qZA()),2&d){const l=p.$implicit;r.Q6J("ngSwitch",l)("ngClass",r.VKq(2,yc,l))}}let _c=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["leaderboard-lap"]],inputs:{lap:"lap",item:"item",times:"times",best:"best",last:"last",intlap:"intlap",fields:"fields"},decls:1,vars:1,consts:[[3,"ngSwitch","ngClass",4,"ngFor","ngForOf"],[3,"ngSwitch","ngClass"],["ngSwitchCase","lap"],["ngSwitchCase","laptime"],["ngSwitchCase","gap"],["ngSwitchCase","int"],["ngSwitchCase","sector1"],["ngSwitchCase","sector2"],["ngSwitchCase","sector3"],["ngSwitchCase","status"],[3,"ngClass"],[3,"ngClass",4,"ngIf"]],template:function(y,x){1&y&&r.YNc(0,Sd,9,4,"div",0),2&y&&r.Q6J("ngForOf",x.fields)},dependencies:[k.mk,k.sg,k.O5,k.RF,k.n9,Ur],styles:['@charset "UTF-8";@media (orientation: portrait){[_nghost-%COMP%]{font-size:3vw}}@media (orientation: landscape){[_nghost-%COMP%]{font-size:2.5vw}ion-modal [_nghost-%COMP%]{font-size:1.5em!important}}[_nghost-%COMP%]{display:block;width:100%}leaderboard-head[_ngcontent-%COMP%]{margin:0 2px}leaderboard-item[_ngcontent-%COMP%]{margin:0 2px 4px}leaderboard-lap[_ngcontent-%COMP%]{margin:0 2px 4px}.row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.row.odd[_ngcontent-%COMP%]{background-color:var(--ion-color-step-100)}.row.even[_ngcontent-%COMP%]{background-color:var(--ion-color-step-200)}.cell[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:1;padding:.25em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.position[_ngcontent-%COMP%]{text-align:left;width:1.9em;padding-left:0!important;padding-right:0!important}.number[_ngcontent-%COMP%]{text-align:left;width:1.65em}.lap[_ngcontent-%COMP%]{text-align:left;width:2.5em}.name[_ngcontent-%COMP%]{flex-basis:4em;flex-grow:1;text-align:left}.code[_ngcontent-%COMP%]{flex-basis:3em;flex-grow:1;text-align:left}.time[_ngcontent-%COMP%]{text-align:right;width:6em}.bestlap[_ngcontent-%COMP%], .lastlap[_ngcontent-%COMP%], .laptime[_ngcontent-%COMP%]{text-align:right;width:5em}.sector1[_ngcontent-%COMP%], .sector2[_ngcontent-%COMP%], .sector3[_ngcontent-%COMP%]{text-align:right;width:4.5em}.gap[_ngcontent-%COMP%], .int[_ngcontent-%COMP%]{text-align:right;width:5em}.laps[_ngcontent-%COMP%], .pits[_ngcontent-%COMP%]{text-align:right;width:3em}.fuel[_ngcontent-%COMP%]{text-align:left;width:4.5em}.status[_ngcontent-%COMP%]{padding-right:0!important;text-align:left;width:2em}.status[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:75%}.status[_ngcontent-%COMP%] span.inpit[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pitenter[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]{color:#0f0}.status[_ngcontent-%COMP%] span.pos-up[_ngcontent-%COMP%]:before{content:"\\25b2";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]{color:#ff4500}.status[_ngcontent-%COMP%] span.pos-dn[_ngcontent-%COMP%]:before{content:"\\25bc";display:inline-block;width:1em}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]{color:#fff}.status[_ngcontent-%COMP%] span.pos-eq[_ngcontent-%COMP%]:before{content:"\\25b2";transform:rotate(-90deg);display:inline-block;width:1em}span.title[_ngcontent-%COMP%]{font-size:75%}span.best[_ngcontent-%COMP%]{color:#0f0}span.best.allbest[_ngcontent-%COMP%]{color:#f0f}span.best.notime[_ngcontent-%COMP%], span.best.allbest.notime[_ngcontent-%COMP%]{color:inherit}span.sector[_ngcontent-%COMP%]{color:#ff0!important}gauge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:linear-gradient(to right,red,#ee0 25%,green 50%,darkGreen)}'],changeDetection:0})}return d})(),bc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,ye.Pc,so.m]})}return d})();r.B6R(M,[k.mk,k.sg,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.wd,ye.sr,ye.ki,Bo,Di,dl,_c],[Fe.X$]);let Cc=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,ye.Pc]})}return d})(),Zs=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,Un.u5,Un.UX,ye.Pc,bc,Cc,so.m]})}return d})(),Dc=(()=>{class d{constructor(l,y,x,De){this.logger=l,this.settings=y,this.controller=x,this.options=new ar.Ei,this.params=De.data}get mode(){return this.options.cumode}set mode(l){this.options.cumode=l,this.settings.setOptions(this.options),this.dismiss()}ngOnInit(){this.subscription=this.settings.getOptions().subscribe({next:l=>{this.options=l},error:l=>{this.logger.error("Tuning settings: ",l)},complete:()=>{this.logger.debug("Tuning settings complete")}})}ngOnDestroy(){this.subscription.unsubscribe()}applyAll(){this.params.apply(),this.dismiss()}dismiss(){return this.controller.dismiss()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.ed),r.Y36(ar.de),r.Y36(ye.Dh),r.Y36(He.X1))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:7,vars:1,consts:[["translate","",3,"ngModel","ngModelChange"],["button","",3,"click"],["translate",""]],template:function(y,x){1&y&&(r.TgZ(0,"ion-item-group")(1,"ion-item")(2,"ion-checkbox",0),r.NdJ("ngModelChange",function(je){return x.mode=je}),r._uU(3,"Control Unit mode"),r.qZA()(),r.TgZ(4,"ion-item",1),r.NdJ("click",function(){return x.applyAll()}),r.TgZ(5,"ion-label",2),r._uU(6,"Apply all"),r.qZA()()()),2&y&&(r.xp6(2),r.Q6J("ngModel",x.mode))},dependencies:[Un.JJ,Un.On,ye.nz,ye.Ie,ye.Ub,ye.Q$,ye.w,Fe.Pi],encapsulation:2})}return d})();const gl=function(d){return{number:d}};function Md(d,p){if(1&d&&(r.TgZ(0,"ion-label"),r._uU(1),r.ALo(2,"translate"),r.qZA()),2&d){const l=r.oxw().$implicit,y=r.oxw().ngIf,x=r.oxw();r.xp6(1),r.hij(" ",(null==y[l.id]?null:y[l.id].name)||r.xi3(2,1,x.placeholder,r.VKq(4,gl,l.id+1))," ")}}function ml(d,p){if(1&d&&(r.TgZ(0,"ion-label"),r._uU(1),r.qZA()),2&d){const l=r.oxw().$implicit,y=r.oxw().ngIf;r.xp6(1),r.hij(" ",(null==y[l.id]?null:y[l.id].code)||"#"+(l.id+1)," ")}}const Ms=function(d){return{pristine:d}};function Ec(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.update("speed",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.speed))("value",l.speed),r.xp6(2),r.Q6J("color",null==l.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.speed?"?":l.speed," ")}}function wc(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.update("brake",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.brake))("value",l.brake),r.xp6(2),r.Q6J("color",null==l.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.brake?"?":l.brake," ")}}function Ia(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",17),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.update("fuel",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.fuel))("value",l.fuel),r.xp6(2),r.Q6J("color",null==l.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.fuel?"?":l.fuel," ")}}function Td(d,p){if(1&d&&(r.ynx(0)(1,14),r.YNc(2,Ec,4,9,"ion-range",16),r.YNc(3,wc,4,9,"ion-range",16),r.YNc(4,Ia,4,9,"ion-range",16),r.BQk()()),2&d){const l=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",l.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Ad(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.updateCU("speed",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.speed))("value",y.toCU.speed[l.speed]),r.xp6(2),r.Q6J("color",null==l.speed?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.speed?"?":y.toCU.speed[l.speed]," ")}}function Sa(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.updateCU("brake",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.brake))("value",y.toCU.brake[l.brake]),r.xp6(2),r.Q6J("color",null==l.brake?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.brake?"?":y.toCU.brake[l.brake]," ")}}function xd(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-range",20),r.NdJ("ionChange",function(x){r.CHM(l);const De=r.oxw(2).$implicit,je=r.oxw(2);return r.KtG(je.updateCU("fuel",x,je.locked?void 0:De.id))}),r.ALo(1,"async"),r.TgZ(2,"ion-badge",18),r._uU(3),r.qZA()()}if(2&d){const l=r.oxw(2).$implicit,y=r.oxw(2);r.Q6J("disabled",!r.lcZ(1,5,y.connected))("ngClass",r.VKq(7,Ms,null==l.fuel))("value",y.toCU.fuel[l.fuel]),r.xp6(2),r.Q6J("color",null==l.fuel?"medium":"primary"),r.xp6(1),r.hij(" ",null==l.fuel?"?":y.toCU.fuel[l.fuel]," ")}}function Od(d,p){if(1&d&&(r.ynx(0)(1,14),r.YNc(2,Ad,4,9,"ion-range",19),r.YNc(3,Sa,4,9,"ion-range",19),r.YNc(4,xd,4,9,"ion-range",19),r.BQk()()),2&d){const l=r.oxw(3);r.xp6(1),r.Q6J("ngSwitch",l.type),r.xp6(1),r.Q6J("ngSwitchCase","speed"),r.xp6(1),r.Q6J("ngSwitchCase","brake"),r.xp6(1),r.Q6J("ngSwitchCase","fuel")}}function Pd(d,p){if(1&d&&(r.TgZ(0,"ion-item")(1,"outline",13),r._uU(2),r.qZA(),r.ynx(3,14),r.ALo(4,"async"),r.YNc(5,Md,3,6,"ion-label",15),r.YNc(6,ml,2,1,"ion-label",15),r.BQk(),r.ynx(7,14),r.ALo(8,"async"),r.YNc(9,Td,5,4,"ng-container",15),r.YNc(10,Od,5,4,"ng-container",15),r.BQk(),r.qZA()),2&d){const l=p.$implicit,y=r.oxw().ngIf,x=r.oxw();let De;r.xp6(1),r.Q6J("color",null==y[l.id]?null:y[l.id].color),r.xp6(1),r.hij(" ",l.id+1," "),r.xp6(1),r.Q6J("ngSwitch",r.lcZ(4,8,x.orientation)),r.xp6(2),r.Q6J("ngSwitchCase","landscape"),r.xp6(1),r.Q6J("ngSwitchCase","portrait"),r.xp6(1),r.Q6J("ngSwitch",null==(De=r.lcZ(8,10,x.options))?null:De.cumode),r.xp6(2),r.Q6J("ngSwitchCase",!1),r.xp6(1),r.Q6J("ngSwitchCase",!0)}}function Rd(d,p){if(1&d&&(r.ynx(0),r.YNc(1,Pd,11,12,"ion-item",12),r.BQk()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngForOf",l.models)}}const Fd=[0,1,2,3,4,5].map(d=>({id:d,speed:null,brake:null,fuel:null}));let vl=(()=>{class d{constructor(l,y,x,De,je,Rt){this.logger=l,this.cu=y,this.popover=x,this.ref=De,this.models=Fd,this.locked=!1,this.type="speed",this.placeholder="Driver {{number}}",this.fromCU={speed:[0,1,2,3,5,6,7,9,11,13,15],brake:[0,6,7,8,9,10,11,12,13,14,15],fuel:[0,3,4,5,6,7,8,9,10,11,12]},this.toCU={speed:[1,1,2,3,3,4,5,6,6,7,7,8,8,9,9,10],brake:[1,1,1,1,1,1,1,2,3,4,5,6,7,8,9,10],fuel:[1,1,1,1,2,3,4,5,6,7,8,9,10,10,10,10]},this.subject=new Dn.x,this.connected=y.pipe((0,H.h)(rt=>!!rt),(0,Be.w)(rt=>rt.getState()),(0,le.U)(rt=>"connected"==rt)),this.drivers=Rt.getDrivers(),this.options=Rt.getOptions(),this.orientation=je.orientation}ngOnInit(){this.subject.pipe(function pl(d,p=hr){return(0,wt.e)((l,y)=>{let x=null,De=null,je=null;const Rt=()=>{if(x){x.unsubscribe(),x=null;const Pt=De;De=null,y.next(Pt)}};function rt(){const Pt=je+d,Yt=p.now();if(Yt{De=Pt,je=p.now(),x||(x=p.schedule(rt,d),y.add(x))},()=>{Rt(),y.complete()},void 0,()=>{De=x=null}))})}(400)).subscribe(l=>{for(let y of void 0!==l.id?[this.models[l.id]]:this.models)switch(l.type){case"speed":this.cu.value.setSpeed(y.id,y.speed);break;case"brake":this.cu.value.setBrake(y.id,y.brake);break;case"fuel":this.cu.value.setFuel(y.id,y.fuel)}})}ngOnDestroy(){this.subject.complete()}applyAll(){for(let l of this.models)null!==l.speed&&this.cu.value.setSpeed(l.id,l.speed),null!==l.brake&&this.cu.value.setBrake(l.id,l.brake),null!==l.fuel&&this.cu.value.setFuel(l.id,l.fuel)}showMenu(l){return this.popover.create({component:Dc,componentProps:{apply:()=>this.applyAll()},event:l}).then(y=>{y.present()})}update(l,y,x){const De=y.detail.value;this.logger.debug("Set",l,"to",De,"for",x);for(let je of void 0!==x?[this.models[x]]:this.models)je[l]=De;this.subject.next({id:x,type:l}),this.ref.detectChanges()}updateCU(l,y,x){let De=y.detail.value;switch(l){case"speed":De=this.fromCU.speed[y.detail.value];break;case"brake":De=this.fromCU.brake[y.detail.value];break;case"fuel":De=this.fromCU.fuel[y.detail.value]}this.logger.debug("Set",l,"to",De,"for",x);for(let je of void 0!==x?[this.models[x]]:this.models)je[l]=De;this.subject.next({id:x,type:l}),this.ref.detectChanges()}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.ed),r.Y36(_n.V1),r.Y36(ye.Dh),r.Y36(r.sBO),r.Y36(_n.zi),r.Y36(ar.de))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["ng-component"]],decls:25,vars:5,consts:[["slot","start"],["defaultHref","/"],["translate",""],["slot","end"],[3,"click"],["slot","icon-only",3,"name"],["slot","icon-only","name","ellipsis-vertical-sharp"],[3,"ngModel","ngModelChange"],["value","speed"],["value","brake"],["value","fuel"],[4,"ngIf"],[4,"ngFor","ngForOf"],["slot","start",3,"color"],[3,"ngSwitch"],[4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","0","max","15","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"],["slot","end",1,"tuning",3,"color"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange",4,"ngSwitchCase"],["min","1","max","10","snaps","true","aria-label","",3,"disabled","ngClass","value","ionChange"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-buttons",0),r._UZ(3,"ion-back-button",1),r.qZA(),r.TgZ(4,"ion-title")(5,"span",2),r._uU(6,"Tuning"),r.qZA()(),r.TgZ(7,"ion-buttons",3)(8,"ion-button",4),r.NdJ("click",function(){return x.locked=!x.locked}),r._UZ(9,"ion-icon",5),r.qZA(),r.TgZ(10,"ion-button",4),r.NdJ("click",function(je){return x.showMenu(je)}),r._UZ(11,"ion-icon",6),r.qZA()()()(),r.TgZ(12,"ion-content")(13,"ion-segment",7),r.NdJ("ngModelChange",function(je){return x.type=je}),r.TgZ(14,"ion-segment-button",8)(15,"ion-label",2),r._uU(16,"Speed"),r.qZA()(),r.TgZ(17,"ion-segment-button",9)(18,"ion-label",2),r._uU(19,"Brake"),r.qZA()(),r.TgZ(20,"ion-segment-button",10)(21,"ion-label",2),r._uU(22,"Fuel"),r.qZA()()(),r.YNc(23,Rd,2,1,"ng-container",11),r.ALo(24,"async"),r.qZA()),2&y&&(r.xp6(9),r.Q6J("name",x.locked?"link-sharp":"unlink-sharp"),r.xp6(4),r.Q6J("ngModel",x.type),r.xp6(10),r.Q6J("ngIf",r.lcZ(24,3,x.drivers)))},dependencies:[k.mk,k.sg,k.O5,k.RF,k.n9,Un.JJ,Un.On,ye.yp,ye.YG,ye.Sm,ye.W2,ye.Gu,ye.gu,ye.Ie,ye.Q$,ye.I_,ye.cJ,ye.GO,ye.wd,ye.sr,ye.QI,ye.j9,ye.oU,Bo,Fe.Pi,k.Ov,Fe.X$],encapsulation:2})}return d})(),yl=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,Un.u5,ye.Pc,so.m]})}return d})();const Ma=[{path:"",redirectTo:"rms/practice",pathMatch:"full"},{path:"rms/:mode",component:Hs},{path:"drivers",component:hi},{path:"tuning",component:vl},{path:"settings",loadChildren:()=>Promise.resolve().then(g.bind(g,9297)).then(d=>d.SettingsModule)},{path:"**",component:Hs}];let Ta=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[Kn.Bz.forRoot(Ma,{preloadingStrategy:Kn.wm,useHash:!0}),Kn.Bz]})}return d})(),_l=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d});static#n=this.\u0275inj=r.cJS({imports:[k.ez,so.m,ye.Pc,Ta]})}return d})();var bl=g(590),Ic=(g(9297),g(7162));function Mc(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",2),r.NdJ("click",function(){r.CHM(l);const x=r.oxw().$implicit,De=r.oxw();return r.KtG(De.onSelect(x))}),r.TgZ(1,"ion-label")(2,"h2"),r._uU(3),r.qZA(),r.TgZ(4,"h4"),r._uU(5),r.qZA()()()}if(2&d){const l=r.oxw().$implicit;r.xp6(3),r.Oqu(l.name),r.xp6(2),r.Oqu(l.address)}}function Tc(d,p){if(1&d&&r.YNc(0,Mc,6,2,"ion-item",1),2&d){const l=p.$implicit,y=r.oxw();r.Q6J("ngIf",!l.equals(y.selected))}}g(6557),g(6928),g(6291),g(6659),g(235);let Aa=(()=>{class d{constructor(l,y,x,De,je){this.backends=l,this.logger=y,this.platform=x,this.settings=De,this.toast=je,this.subscription=new Er.w0}ngOnInit(){this.platform.ready().then(()=>{const l=this.backends.map(y=>y.scan().pipe((0,oe.K)(x=>(this.logger.error("Scan error:",x),this.toast.showLongCenter(x.toString()),(0,Yr.c)()))));this.peripherals=(0,tr.D)(l).pipe((0,Mt.z)(y=>y),(0,H.h)(y=>"demo"!=y.type||this.demoControlUnit),(0,Gn.b)(y=>{!this.selected&&"web-bluetooth"==y.type&&this.onSelect(y)}),(0,Rr.R)((y,x)=>y.concat(x),[]))}),this.subscription.add(this.settings.getConnection().subscribe(l=>{this.demoControlUnit=l.demoControlUnit}))}ngOnDestroy(){this.subscription.unsubscribe()}onSelect(l){this.settings.getConnection().pipe((0,Mn.q)(1)).subscribe(y=>{this.settings.setConnection(Object.assign({},y,{type:l.type,name:l.name,address:l.address}))})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(Yn),r.Y36(_n.ed),r.Y36(He.t4),r.Y36(ar.de),r.Y36(_n.tQ))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["connections"]],inputs:{selected:"selected"},decls:2,vars:3,consts:[["ngFor","",3,"ngForOf"],["button","","menuClose","",3,"click",4,"ngIf"],["button","","menuClose","",3,"click"]],template:function(y,x){1&y&&(r.YNc(0,Tc,1,1,"ng-template",0),r.ALo(1,"async")),2&y&&r.Q6J("ngForOf",r.lcZ(1,1,x.peripherals))},dependencies:[k.sg,k.O5,ye.Ie,ye.Q$,k.Ov],encapsulation:2})}return d})(),Ac=(()=>{class d{transform(l){return l?l.replace(/^5(\d)(\d+)$/,"$1.$2"):"..."}static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275pipe=r.Yjl({name:"cuversion",type:d,pure:!0});static#n=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function xc(d,p){if(1&d&&(r.TgZ(0,"h3")(1,"span",5),r._uU(2,"Firmware version"),r.qZA(),r._uU(3),r.ALo(4,"cuversion"),r.ALo(5,"async"),r.qZA()),2&d){const l=r.oxw();r.xp6(3),r.hij(" ",r.lcZ(4,1,r.lcZ(5,3,l.version))," ")}}function oo(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item",18),r.NdJ("click",function(){r.CHM(l);const x=r.oxw(2);return r.KtG(x.exitApp())}),r._UZ(1,"ion-icon",19),r.TgZ(2,"ion-label",5),r._uU(3,"Exit"),r.qZA()()}}function xa(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"div")(1,"ion-item-group")(2,"ion-menu-toggle",6)(3,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startPractice())}),r._UZ(4,"ion-icon",8),r.TgZ(5,"ion-label",5),r._uU(6,"Free Practice"),r.qZA()(),r.TgZ(7,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startQualifying())}),r._UZ(8,"ion-icon",9),r.TgZ(9,"ion-label",5),r._uU(10,"Qualifying"),r.qZA()(),r.TgZ(11,"ion-item",7),r.NdJ("click",function(){r.CHM(l);const x=r.oxw();return r.KtG(x.startRace())}),r._UZ(12,"ion-icon",10),r.TgZ(13,"ion-label",5),r._uU(14,"Race"),r.qZA()()()(),r.TgZ(15,"ion-item-group")(16,"ion-menu-toggle",6)(17,"ion-item",11),r._UZ(18,"ion-icon",12),r.TgZ(19,"ion-label",5),r._uU(20,"Drivers"),r.qZA()(),r.TgZ(21,"ion-item",13),r._UZ(22,"ion-icon",14),r.TgZ(23,"ion-label",5),r._uU(24,"Tuning"),r.qZA()()()(),r.TgZ(25,"ion-item-group")(26,"ion-menu-toggle",6)(27,"ion-item",15),r._UZ(28,"ion-icon",16),r.TgZ(29,"ion-label",5),r._uU(30,"Settings"),r.qZA()(),r.YNc(31,oo,4,0,"ion-item",17),r.qZA()()()}if(2&d){const l=r.oxw();r.xp6(3),r.Q6J("disabled",!l.cu),r.xp6(4),r.Q6J("disabled",!l.cu),r.xp6(4),r.Q6J("disabled",!l.cu),r.xp6(10),r.Q6J("disabled",!l.cu),r.xp6(10),r.Q6J("ngIf",l.exitApp)}}function Dl(d,p){if(1&d&&(r.TgZ(0,"ion-item-group"),r._UZ(1,"connections",20),r.qZA()),2&d){const l=r.oxw(2);r.xp6(1),r.Q6J("selected",null==l.cu?null:l.cu.peripheral)}}function Oa(d,p){if(1&d){const l=r.EpF();r.TgZ(0,"ion-item-group")(1,"ion-item",18),r.NdJ("click",function(){r.CHM(l);const x=r.oxw(2);return r.KtG(x.reconnect())}),r._UZ(2,"ion-icon",21),r.TgZ(3,"ion-label",5),r._uU(4,"Reconnect"),r.qZA()()()}}function qr(d,p){if(1&d&&(r.TgZ(0,"div"),r.YNc(1,Dl,2,1,"ion-item-group",3),r.YNc(2,Oa,5,0,"ion-item-group",3),r.qZA()),2&d){const l=r.oxw();r.xp6(1),r.Q6J("ngIf",l.open),r.xp6(1),r.Q6J("ngIf",l.cu)}}let Ts=(()=>{class d{constructor(l,y,x,De,je,Rt){this.app=l,this.logger=y,this.settings=x,this.alert=De,this.mod=je,this.nav=Rt,this.exitApp=null,this.driversPage=hi,this.tuningPage=vl,this.settingsPage=Ic.N,this.initialized=!1,l.exit&&(this.exitApp=()=>this.onExitApp())}ngOnChanges(l){"cu"in l&&(this.mode=!!this.cu,this.version=this.cu?this.cu.getVersion():Promise.resolve(void 0))}onMenuOpen(){!this.initialized&&this.connections&&(navigator.bluetooth&&this.connections.ngOnInit(),this.initialized=!0),this.open=!0}onMenuClose(){this.mode=!!this.cu,this.open=!1}onMenuToggle(){this.mode=!this.mode}reconnect(){this.cu&&(this.logger.info("Reconnecting to",this.cu.peripheral),this.cu.reconnect().then(()=>{this.version=this.cu.getVersion()}))}startPractice(){return this.nav.navigateRoot("rms/practice")}startQualifying(){this.settings.getQualifyingSettings().pipe((0,Mn.q)(1)).subscribe(l=>this.mod.create({component:$o,componentProps:l}).then(y=>{y.onDidDismiss().then(x=>{x.data&&this.settings.setQualifyingSettings(x.data).then(()=>{this.nav.navigateRoot("rms/qualifying")})}),y.present()}))}startRace(){this.settings.getRaceSettings().pipe((0,Mn.q)(1)).subscribe(l=>this.mod.create({component:$o,componentProps:l}).then(y=>{y.onDidDismiss().then(x=>{x.data&&this.settings.setRaceSettings(x.data).then(()=>{this.nav.navigateRoot("rms/race")})}),y.present()}))}onExitApp(){this.alert.show({message:"Exit Open Lap?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>this.exit()}]})}exit(){this.logger.info("Exiting application"),this.cu?this.cu.disconnect().catch(l=>{this.logger.error("Error disconnecting from CU:",l)}).then(()=>{this.app.exit()}):this.app.exit(),this.logger.info("Exited application")}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.zi),r.Y36(_n.ed),r.Y36(ar.de),r.Y36(_n.Pn),r.Y36(ye.IN),r.Y36(He.SH))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["menu"]],viewQuery:function(y,x){if(1&y&&r.Gf(Aa,5),2&y){let De;r.iGM(De=r.CRH())&&(x.connections=De.first)}},inputs:{cu:"cu"},features:[r.TTD],decls:14,vars:9,consts:[["contentId","menu-content",3,"ionDidClose","ionDidOpen"],["lines","none"],[3,"color","click"],[4,"ngIf"],["slot","end",3,"name"],["translate",""],["auto-hide","false"],["button","",3,"disabled","click"],["name","speedometer-sharp","slot","start"],["name","stopwatch-sharp","slot","start"],["name","trophy-sharp","slot","start"],["button","","routerLink","/drivers"],["name","people-sharp","slot","start"],["button","","routerLink","/tuning",3,"disabled"],["name","build-sharp","slot","start"],["button","","routerLink","/settings"],["menuClose","","name","settings-sharp","slot","start"],["button","",3,"click",4,"ngIf"],["button","",3,"click"],["name","exit-sharp","slot","start"],[3,"selected"],["name","refresh-sharp","slot","start"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-menu",0),r.NdJ("ionDidClose",function(){return x.onMenuClose()})("ionDidOpen",function(){return x.onMenuOpen()}),r.TgZ(1,"ion-content")(2,"ion-list",1)(3,"ion-item",2),r.NdJ("click",function(){return x.onMenuToggle()}),r.TgZ(4,"ion-label")(5,"h1"),r._uU(6),r.ALo(7,"translate"),r.qZA(),r.TgZ(8,"h2"),r._uU(9),r.qZA(),r.YNc(10,xc,6,5,"h3",3),r.qZA(),r._UZ(11,"ion-icon",4),r.qZA(),r.YNc(12,xa,32,5,"div",3),r.YNc(13,qr,3,2,"div",3),r.qZA()()()),2&y&&(r.xp6(3),r.Q6J("color",x.cu?"primary":"danger"),r.xp6(3),r.Oqu(x.cu?x.cu.peripheral.name:r.lcZ(7,7,"No connection")),r.xp6(3),r.Oqu(null==x.cu?null:x.cu.peripheral.address),r.xp6(1),r.Q6J("ngIf",x.cu),r.xp6(1),r.Q6J("name",x.mode?"caret-down-sharp":"caret-up-sharp"),r.xp6(1),r.Q6J("ngIf",x.mode),r.xp6(1),r.Q6J("ngIf",!x.mode))},dependencies:[k.O5,Fe.Pi,ye.W2,ye.gu,ye.Ie,ye.Ub,ye.Q$,ye.q_,ye.z0,ye.zc,ye.YI,Kn.rH,Aa,k.Ov,Fe.X$,Ac],encapsulation:2})}return d})();const wl={connected:"Connected to {{device}}",connecting:"Connecting to {{device}}",disconnected:"Disconnected from {{device}}"};let Oc=(()=>{class d{constructor(l,y,x,De,je,Rt,rt,Pt,Yt,Tt){this.app=l,this.cu=y,this.backends=x,this.alert=De,this.logger=je,this.settings=Rt,this.speech=rt,this.toast=Pt,this.translate=Yt,this.updates=Tt,this.stateSubscription=new Er.w0,window.screen&&(window.screen.orientation.addEventListener("change",()=>{l.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))}),window.screen.orientation&&window.screen.orientation.type&&l.enableFullScreen(window.screen.orientation.type.startsWith("landscape"))),l.keepAwake(!0),Yt.setDefaultLang("en")}ngOnInit(){this.app.getVersion().then(l=>{this.app.getVersionCode().then(y=>{y&&(l+=" ("+y+")"),this.logger.info("Open Lap",l,(0,r.X6Q)()?"[dev]":"[prod]","on",window?.navigator?.userAgent)})}),this.settings.getOptions().subscribe(l=>{this.logger.setDebugEnabled(l.debug),this.setLanguage(l.language),this.speech.setVoice(l.voice),this.speech.setRate(l.rate/1e3),this.speech.setPitch(l.pitch/1e3)})}ngOnDestroy(){this.cu.next(null)}ngAfterViewInit(){this.updates.isEnabled?(this.logger.info("Service worker enabled"),this.updates.available.subscribe(()=>{this.logger.info("Update available"),this.update()})):this.logger.debug("Service worker not enabled"),new Promise(l=>setTimeout(l,100)).then(()=>{this.connect()})}update(){this.alert.show({message:"A new version of Open Lap is available. Do you want to update now?",buttons:[{text:"Cancel",role:"cancel"},{text:"OK",handler:()=>document.location.reload()}]})}setLanguage(l){this.translate.use(l||this.translate.getBrowserLang()||"en").toPromise().then(y=>{this.translate.get("notifications.locale").toPromise().then(x=>{this.speech.setLocale(x)})})}showConnectionToast(l,y){this.toast.showShortCenter(wl[l]||"Connecting to {{device}}",{device:y}).catch(De=>{this.logger.error("Error showing toast",De)})}connect(){this.settings.getConnection().subscribe(l=>{this.stateSubscription.unsubscribe(),l&&l.name?(this.logger.info("Connecting to "+l.name),(0,tr.D)(this.backends.map(y=>y.scan())).pipe((0,Mt.z)(y=>y),(0,bl.P)(y=>y.equals(l)),li(3e3)).toPromise().then(y=>{const x=new Go(y,l);this.stateSubscription=x.getState().subscribe(De=>this.showConnectionToast(De,x.peripheral.name)),this.cu.next(x),x.connect()}).catch(y=>{this.logger.error("Error connecting to "+l.name+":",y)}).then(()=>{this.app.hideSplashScreen()})):(this.app.hideSplashScreen(),this.cu.next(null))})}static#e=this.\u0275fac=function(y){return new(y||d)(r.Y36(_n.zi),r.Y36(_n.V1),r.Y36(Yn),r.Y36(_n.Pn),r.Y36(_n.ed),r.Y36(ar.de),r.Y36(_n.vA),r.Y36(_n.tQ),r.Y36(Fe.sK),r.Y36(tt))};static#t=this.\u0275cmp=r.Xpm({type:d,selectors:[["app-root"]],decls:4,vars:3,consts:[[3,"cu"],["main","","id","menu-content"]],template:function(y,x){1&y&&(r.TgZ(0,"ion-app"),r._UZ(1,"menu",0),r.ALo(2,"async"),r._UZ(3,"ion-router-outlet",1),r.qZA()),2&y&&(r.xp6(1),r.Q6J("cu",r.lcZ(2,1,x.cu)))},dependencies:[ye.dr,ye.jP,Ts,k.Ov],encapsulation:2})}return d})();const Pa={production:!0};let Pc=(()=>{class d{constructor(l){this.logger=l}handleError(l){this.logger.error("Error:",l)}static#e=this.\u0275fac=function(y){return new(y||d)(r.LFG(_n.ed))};static#t=this.\u0275prov=r.Yz7({token:d,factory:d.\u0275fac})}return d})();function Il(d){return new mn(d,"./assets/i18n/",".json")}function Rc(d){return{enabled:!d.is("cordova")&&Pa.production,registrationStrategy:"registerImmediately"}}let Sl=(()=>{class d{static#e=this.\u0275fac=function(y){return new(y||d)};static#t=this.\u0275mod=r.oAB({type:d,bootstrap:[Oc]});static#n=this.\u0275inj=r.cJS({providers:[Qe.B,yt.b,Et,Ft.A,Lt.s,S,Zt.e,Vn.c,dn.A,h.E,ee.F,{provide:Kn.wN,useClass:He.r4},{provide:r.qLn,useClass:Pc},{provide:ct,useFactory:Rc,deps:[He.t4]}],imports:[i.b2,Xn,ye.Pc.forRoot(),se.Fw.forRoot(),Fe.aw.forRoot({loader:{provide:Fe.Zw,useFactory:Il,deps:[ve]}}),Fr,ro,_l,Zs,so.m,yl,Ta,Oe.register("ngsw-worker.js")]})}return d})();Pa.production&&(0,r.G48)(),i.q6().bootstrapModule(Sl).catch(d=>console.log(d))},5021:function(pt){pt.exports=function(){"use strict";function Pe(H){return Pe.result?Pe.result:H&&"function"==typeof H.getSerializer?Pe.result=H.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function g(H,le){return(g.result=g.result||{})[le]?g.result[le]:H&&"function"==typeof H.getDriver?g.result[le]=H.getDriver(le):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function i(H){return g(H,H.WEBSQL)}var T=new Promise(function(H,le){typeof sqlitePlugin<"u"?H():typeof cordova>"u"?le(new Error("cordova is not defined.")):document.addEventListener("deviceready",function(){return H()},!1)}).catch(function(){return Promise.resolve()});function k(){return T.then(function(){if(typeof sqlitePlugin<"u"&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")})}var R={_driver:"cordovaSQLiteDriver",_initStorage:function ne(H){var le=this,me={db:null};if(H)for(var q in H)me[q]="string"!=typeof H[q]?H[q].toString():H[q];var re=k().then(function(Q){return new Promise(function(ie,K){try{me.location=me.location||"default",me.db=Q({name:me.name,version:String(me.version),description:me.description,size:me.size,key:me.dbKey,location:me.location})}catch(fe){K(fe)}me.db.transaction(function(fe){fe.executeSql("CREATE TABLE IF NOT EXISTS "+me.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){le._dbInfo=me,ie()},function(_e,Ue){K(Ue)})})})}),he=Pe(le),ae=i(le);return Promise.all([he,ae,re]).then(function(Q){return me.serializer=Q[0],re})},_support:function(){return k().then(function(le){return!!le}).catch(function(){return!1})}};return function V(H){var le=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function me(he,ae){he[ae]=function(){var Q=this,ie=arguments;return i(Q).then(function(K){return K[ae].apply(Q,ie)})}}for(var q=0,re=le.length;q{pt.exports=function r(T,k,ne){function R(le,me){if(!k[le]){if(!T[le]){if(V)return V(le,!0);var re=new Error("Cannot find module '"+le+"'");throw re.code="MODULE_NOT_FOUND",re}var he=k[le]={exports:{}};T[le][0].call(he.exports,function(ae){return R(T[le][1][ae]||ae)},he,he.exports,r,T,k,ne)}return k[le].exports}for(var V=void 0,H=0;H"u"&&r(3);var q=Promise;function re(C,E){E&&C.then(function(A){E(null,A)},function(A){E(A)})}function he(C,E,A){"function"==typeof E&&C.then(E),"function"==typeof A&&C.catch(A)}function ae(C){return"string"!=typeof C&&(console.warn(C+" used as a key, but it is not a string."),C=String(C)),C}function Q(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var ie="local-forage-detect-blob-support",K=void 0,fe={},_e=Object.prototype.toString,Ue="readonly",we="readwrite";function Ne(C){for(var E=C.length,A=new ArrayBuffer(E),Z=new Uint8Array(A),ge=0;ge=43)}}).catch(function(){return!1})}(C).then(function(E){return K=E})}function z(C){var E=fe[C.name],A={};A.promise=new q(function(Z,ge){A.resolve=Z,A.reject=ge}),E.deferredOperations.push(A),E.dbReady=E.dbReady?E.dbReady.then(function(){return A.promise}):A.promise}function U(C){var A=fe[C.name].deferredOperations.pop();if(A)return A.resolve(),A.promise}function be(C,E){var Z=fe[C.name].deferredOperations.pop();if(Z)return Z.reject(E),Z.promise}function Ce(C,E){return new q(function(A,Z){if(fe[C.name]=fe[C.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},C.db){if(!E)return A(C.db);z(C),C.db.close()}var ge=[C.name];E&&ge.push(C.version);var Ie=H.open.apply(H,ge);E&&(Ie.onupgradeneeded=function(ke){var tt=Ie.result;try{tt.createObjectStore(C.storeName),ke.oldVersion<=1&&tt.createObjectStore(ie)}catch(ct){if("ConstraintError"!==ct.name)throw ct;console.warn('The database "'+C.name+'" has been upgraded from version '+ke.oldVersion+" to version "+ke.newVersion+', but the storage "'+C.storeName+'" already exists.')}}),Ie.onerror=function(ke){ke.preventDefault(),Z(Ie.error)},Ie.onsuccess=function(){A(Ie.result),U(C)}})}function Te(C){return Ce(C,!1)}function $e(C){return Ce(C,!0)}function ce(C,E){if(!C.db)return!0;var A=!C.db.objectStoreNames.contains(C.storeName),ge=C.version>C.db.version;if(C.versionC.version&&(C.version=Ie)}return!0}return!1}function We(C){return me([Ne(atob(C.data))],{type:C.type})}function at(C){return C&&C.__local_forage_encoded_blob}function ve(C){var E=this,A=E._initReady().then(function(){var Z=fe[E._dbInfo.name];if(Z&&Z.dbReady)return Z.dbReady});return he(A,C,C),A}function I(C,E,A,Z){void 0===Z&&(Z=1);try{var ge=C.db.transaction(C.storeName,E);A(null,ge)}catch(Ie){if(Z>0&&(!C.db||"InvalidStateError"===Ie.name||"NotFoundError"===Ie.name))return q.resolve().then(function(){if(!C.db||"NotFoundError"===Ie.name&&!C.db.objectStoreNames.contains(C.storeName)&&C.version<=C.db.version)return C.db&&(C.version=C.db.version+1),$e(C)}).then(function(){return function G(C){z(C);for(var E=fe[C.name],A=E.forages,Z=0;Z>4,xe[ge++]=(15&ke)<<4|tt>>2,xe[ge++]=(3&tt)<<6|63&ct;return vt}function or(C){var Z,E=new Uint8Array(C),A="";for(Z=0;Z>2],A+=Je[(3&E[Z])<<4|E[Z+1]>>4],A+=Je[(15&E[Z+1])<<2|E[Z+2]>>6],A+=Je[63&E[Z+2]];return E.length%3==2?A=A.substring(0,A.length-1)+"=":E.length%3==1&&(A=A.substring(0,A.length-2)+"=="),A}var rn={serialize:function pn(C,E){var A="";if(C&&(A=nr.call(C)),C&&("[object ArrayBuffer]"===A||C.buffer&&"[object ArrayBuffer]"===nr.call(C.buffer))){var Z,ge=It;C instanceof ArrayBuffer?(Z=C,ge+=on):(Z=C.buffer,"[object Int8Array]"===A?ge+=tn:"[object Uint8Array]"===A?ge+=en:"[object Uint8ClampedArray]"===A?ge+=On:"[object Int16Array]"===A?ge+=nn:"[object Uint16Array]"===A?ge+=Nt:"[object Int32Array]"===A?ge+=un:"[object Uint32Array]"===A?ge+=Ct:"[object Float32Array]"===A?ge+=rr:"[object Float64Array]"===A?ge+=hn:E(new Error("Failed to get type for BinaryArray"))),E(ge+or(Z))}else if("[object Blob]"===A){var Ie=new FileReader;Ie.onload=function(){var ke=et+C.type+"~"+or(this.result);E(It+Jt+ke)},Ie.readAsArrayBuffer(C)}else try{E(JSON.stringify(C))}catch(ke){console.error("Couldn't convert value into a JSON string: ",C),E(null,ke)}},deserialize:function fr(C){if(C.substring(0,bt)!==It)return JSON.parse(C);var Z,E=C.substring(Cn),A=C.substring(bt,Cn);if(A===Jt&&nt.test(E)){var ge=E.match(nt);Z=ge[1],E=E.substring(ge[0].length)}var Ie=xn(E);switch(A){case on:return Ie;case Jt:return me([Ie],{type:Z});case tn:return new Int8Array(Ie);case en:return new Uint8Array(Ie);case On:return new Uint8ClampedArray(Ie);case nn:return new Int16Array(Ie);case Nt:return new Uint16Array(Ie);case un:return new Int32Array(Ie);case Ct:return new Uint32Array(Ie);case rr:return new Float32Array(Ie);case hn:return new Float64Array(Ie);default:throw new Error("Unkown type: "+A)}},stringToBuffer:xn,bufferToString:or};function mr(C,E,A,Z){C.executeSql("CREATE TABLE IF NOT EXISTS "+E.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],A,Z)}function jn(C,E,A,Z,ge,Ie){C.executeSql(A,Z,ge,function(ke,tt){tt.code===tt.SYNTAX_ERR?ke.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],function(ct,vt){vt.rows.length?Ie(ct,tt):mr(ct,E,function(){ct.executeSql(A,Z,ge,Ie)},Ie)},Ie):Ie(ke,tt)},Ie)}function br(C,E,A,Z){var ge=this;C=ae(C);var Ie=new q(function(ke,tt){ge.ready().then(function(){void 0===E&&(E=null);var ct=E,vt=ge._dbInfo;vt.serializer.serialize(E,function(xe,P){P?tt(P):vt.db.transaction(function(Y){jn(Y,vt,"INSERT OR REPLACE INTO "+vt.storeName+" (key, value) VALUES (?, ?)",[C,xe],function(){ke(ct)},function(Se,Oe){tt(Oe)})},function(Y){if(Y.code===Y.QUOTA_ERR){if(Z>0)return void ke(br.apply(ge,[C,ct,A,Z-1]));tt(Y)}})})}).catch(tt)});return re(Ie,A),Ie}var sn={_driver:"webSQLStorage",_initStorage:function gn(C){var E=this,A={db:null};if(C)for(var Z in C)A[Z]="string"!=typeof C[Z]?C[Z].toString():C[Z];var ge=new q(function(Ie,ke){try{A.db=openDatabase(A.name,String(A.version),A.description,A.size)}catch(tt){return ke(tt)}A.db.transaction(function(tt){mr(tt,A,function(){E._dbInfo=A,Ie()},function(ct,vt){ke(vt)})},ke)});return A.serializer=rn,ge},_support:function Ut(){return"function"==typeof openDatabase}(),iterate:function ir(C,E){var A=this,Z=new q(function(ge,Ie){A.ready().then(function(){var ke=A._dbInfo;ke.db.transaction(function(tt){jn(tt,ke,"SELECT * FROM "+ke.storeName,[],function(ct,vt){for(var xe=vt.rows,P=xe.length,Y=0;Y '__WebKitDatabaseInfoTable__'",[],function(ge,Ie){for(var ke=[],tt=0;tt0}var yr={_driver:"localStorageWrapper",_initStorage:function st(C){var A={};if(C)for(var Z in C)A[Z]=C[Z];return A.keyPrefix=Be(C,this._defaultConfig),Ke()?(this._dbInfo=A,A.serializer=rn,q.resolve()):q.reject()},_support:function Ze(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}(),iterate:function In(C,E){var A=this,Z=A.ready().then(function(){for(var ge=A._dbInfo,Ie=ge.keyPrefix,ke=Ie.length,tt=localStorage.length,ct=1,vt=0;vt=0;ge--){var Ie=localStorage.key(ge);0===Ie.indexOf(Z)&&localStorage.removeItem(Ie)}});return re(A,C),A},length:function Qn(C){var A=this.keys().then(function(Z){return Z.length});return re(A,C),A},key:function Ln(C,E){var A=this,Z=A.ready().then(function(){var Ie,ge=A._dbInfo;try{Ie=localStorage.key(C)}catch{Ie=null}return Ie&&(Ie=Ie.substring(ge.keyPrefix.length)),Ie});return re(Z,E),Z},keys:function gr(C){var E=this,A=E.ready().then(function(){for(var Z=E._dbInfo,ge=localStorage.length,Ie=[],ke=0;ke=0;ke--){var tt=localStorage.key(ke);0===tt.indexOf(Ie)&&localStorage.removeItem(tt)}}):q.reject("Invalid arguments"),E),ge}},Nn=function(E,A){return E===A||"number"==typeof E&&"number"==typeof A&&isNaN(E)&&isNaN(A)},an=function(E,A){for(var Z=E.length,ge=0;ge"u"?"undefined":ne(A))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var Z in A){if("storeName"===Z&&(A[Z]=A[Z].replace(/\W/g,"_")),"version"===Z&&"number"!=typeof A[Z])return new Error("Database version must be a number.");this._config[Z]=A[Z]}return!("driver"in A)||!A.driver||this.setDriver(this._config.driver)}return"string"==typeof A?this._config[A]:this._config},C.prototype.defineDriver=function(A,Z,ge){var Ie=new q(function(ke,tt){try{var ct=A._driver,vt=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!A._driver)return void tt(vt);for(var xe=zn.concat("_initStorage"),P=0,Y=xe.length;P{"use strict";g.d(Pe,{X:()=>r});var i=g(7579);class r extends i.x{constructor(k){super(),this._value=k}get value(){return this.getValue()}_subscribe(k){const ne=super._subscribe(k);return!ne.closed&&k.next(this._value),ne}getValue(){const{hasError:k,thrownError:ne,_value:R}=this;if(k)throw ne;return this._throwIfClosed(),R}next(k){super.next(this._value=k)}}},9751:(pt,Pe,g)=>{"use strict";g.d(Pe,{y:()=>H});var i=g(930),r=g(727),T=g(8822),k=g(9635),ne=g(2416),R=g(576),V=g(2806);let H=(()=>{class re{constructor(ae){ae&&(this._subscribe=ae)}lift(ae){const Q=new re;return Q.source=this,Q.operator=ae,Q}subscribe(ae,Q,ie){const K=function q(re){return re&&re instanceof i.Lv||function me(re){return re&&(0,R.m)(re.next)&&(0,R.m)(re.error)&&(0,R.m)(re.complete)}(re)&&(0,r.Nn)(re)}(ae)?ae:new i.Hp(ae,Q,ie);return(0,V.x)(()=>{const{operator:fe,source:_e}=this;K.add(fe?fe.call(K,_e):_e?this._subscribe(K):this._trySubscribe(K))}),K}_trySubscribe(ae){try{return this._subscribe(ae)}catch(Q){ae.error(Q)}}forEach(ae,Q){return new(Q=le(Q))((ie,K)=>{const fe=new i.Hp({next:_e=>{try{ae(_e)}catch(Ue){K(Ue),fe.unsubscribe()}},error:K,complete:ie});this.subscribe(fe)})}_subscribe(ae){var Q;return null===(Q=this.source)||void 0===Q?void 0:Q.subscribe(ae)}[T.L](){return this}pipe(...ae){return(0,k.U)(ae)(this)}toPromise(ae){return new(ae=le(ae))((Q,ie)=>{let K;this.subscribe(fe=>K=fe,fe=>ie(fe),()=>Q(K))})}}return re.create=he=>new re(he),re})();function le(re){var he;return null!==(he=re??ne.v.Promise)&&void 0!==he?he:Promise}},4707:(pt,Pe,g)=>{"use strict";g.d(Pe,{t:()=>T});var i=g(7579),r=g(6063);class T extends i.x{constructor(ne=1/0,R=1/0,V=r.l){super(),this._bufferSize=ne,this._windowTime=R,this._timestampProvider=V,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=R===1/0,this._bufferSize=Math.max(1,ne),this._windowTime=Math.max(1,R)}next(ne){const{isStopped:R,_buffer:V,_infiniteTimeWindow:H,_timestampProvider:le,_windowTime:me}=this;R||(V.push(ne),!H&&V.push(le.now()+me)),this._trimBuffer(),super.next(ne)}_subscribe(ne){this._throwIfClosed(),this._trimBuffer();const R=this._innerSubscribe(ne),{_infiniteTimeWindow:V,_buffer:H}=this,le=H.slice();for(let me=0;me{"use strict";g.d(Pe,{x:()=>V});var i=g(9751),r=g(727);const k=(0,g(3888).d)(le=>function(){le(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ne=g(8737),R=g(2806);let V=(()=>{class le extends i.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(q){const re=new H(this,this);return re.operator=q,re}_throwIfClosed(){if(this.closed)throw new k}next(q){(0,R.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const re of this.currentObservers)re.next(q)}})}error(q){(0,R.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=q;const{observers:re}=this;for(;re.length;)re.shift().error(q)}})}complete(){(0,R.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:q}=this;for(;q.length;)q.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var q;return(null===(q=this.observers)||void 0===q?void 0:q.length)>0}_trySubscribe(q){return this._throwIfClosed(),super._trySubscribe(q)}_subscribe(q){return this._throwIfClosed(),this._checkFinalizedStatuses(q),this._innerSubscribe(q)}_innerSubscribe(q){const{hasError:re,isStopped:he,observers:ae}=this;return re||he?r.Lc:(this.currentObservers=null,ae.push(q),new r.w0(()=>{this.currentObservers=null,(0,ne.P)(ae,q)}))}_checkFinalizedStatuses(q){const{hasError:re,thrownError:he,isStopped:ae}=this;re?q.error(he):ae&&q.complete()}asObservable(){const q=new i.y;return q.source=this,q}}return le.create=(me,q)=>new H(me,q),le})();class H extends V{constructor(me,q){super(),this.destination=me,this.source=q}next(me){var q,re;null===(re=null===(q=this.destination)||void 0===q?void 0:q.next)||void 0===re||re.call(q,me)}error(me){var q,re;null===(re=null===(q=this.destination)||void 0===q?void 0:q.error)||void 0===re||re.call(q,me)}complete(){var me,q;null===(q=null===(me=this.destination)||void 0===me?void 0:me.complete)||void 0===q||q.call(me)}_subscribe(me){var q,re;return null!==(re=null===(q=this.source)||void 0===q?void 0:q.subscribe(me))&&void 0!==re?re:r.Lc}}},930:(pt,Pe,g)=>{"use strict";g.d(Pe,{Hp:()=>ie,Lv:()=>re});var i=g(576),r=g(727),T=g(2416),k=g(7849),ne=g(5032);const R=le("C",void 0,void 0);function le(we,Ne,Re){return{kind:we,value:Ne,error:Re}}var me=g(3410),q=g(2806);class re extends r.w0{constructor(Ne){super(),this.isStopped=!1,Ne?(this.destination=Ne,(0,r.Nn)(Ne)&&Ne.add(this)):this.destination=Ue}static create(Ne,Re,Ve){return new ie(Ne,Re,Ve)}next(Ne){this.isStopped?_e(function H(we){return le("N",we,void 0)}(Ne),this):this._next(Ne)}error(Ne){this.isStopped?_e(function V(we){return le("E",void 0,we)}(Ne),this):(this.isStopped=!0,this._error(Ne))}complete(){this.isStopped?_e(R,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Ne){this.destination.next(Ne)}_error(Ne){try{this.destination.error(Ne)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const he=Function.prototype.bind;function ae(we,Ne){return he.call(we,Ne)}class Q{constructor(Ne){this.partialObserver=Ne}next(Ne){const{partialObserver:Re}=this;if(Re.next)try{Re.next(Ne)}catch(Ve){K(Ve)}}error(Ne){const{partialObserver:Re}=this;if(Re.error)try{Re.error(Ne)}catch(Ve){K(Ve)}else K(Ne)}complete(){const{partialObserver:Ne}=this;if(Ne.complete)try{Ne.complete()}catch(Re){K(Re)}}}class ie extends re{constructor(Ne,Re,Ve){let z;if(super(),(0,i.m)(Ne)||!Ne)z={next:Ne??void 0,error:Re??void 0,complete:Ve??void 0};else{let U;this&&T.v.useDeprecatedNextContext?(U=Object.create(Ne),U.unsubscribe=()=>this.unsubscribe(),z={next:Ne.next&&ae(Ne.next,U),error:Ne.error&&ae(Ne.error,U),complete:Ne.complete&&ae(Ne.complete,U)}):z=Ne}this.destination=new Q(z)}}function K(we){T.v.useDeprecatedSynchronousErrorHandling?(0,q.O)(we):(0,k.h)(we)}function _e(we,Ne){const{onStoppedNotification:Re}=T.v;Re&&me.z.setTimeout(()=>Re(we,Ne))}const Ue={closed:!0,next:ne.Z,error:function fe(we){throw we},complete:ne.Z}},727:(pt,Pe,g)=>{"use strict";g.d(Pe,{Lc:()=>R,w0:()=>ne,Nn:()=>V});var i=g(576);const T=(0,g(3888).d)(le=>function(q){le(this),this.message=q?`${q.length} errors occurred during unsubscription:\n${q.map((re,he)=>`${he+1}) ${re.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=q});var k=g(8737);class ne{constructor(me){this.initialTeardown=me,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let me;if(!this.closed){this.closed=!0;const{_parentage:q}=this;if(q)if(this._parentage=null,Array.isArray(q))for(const ae of q)ae.remove(this);else q.remove(this);const{initialTeardown:re}=this;if((0,i.m)(re))try{re()}catch(ae){me=ae instanceof T?ae.errors:[ae]}const{_finalizers:he}=this;if(he){this._finalizers=null;for(const ae of he)try{H(ae)}catch(Q){me=me??[],Q instanceof T?me=[...me,...Q.errors]:me.push(Q)}}if(me)throw new T(me)}}add(me){var q;if(me&&me!==this)if(this.closed)H(me);else{if(me instanceof ne){if(me.closed||me._hasParent(this))return;me._addParent(this)}(this._finalizers=null!==(q=this._finalizers)&&void 0!==q?q:[]).push(me)}}_hasParent(me){const{_parentage:q}=this;return q===me||Array.isArray(q)&&q.includes(me)}_addParent(me){const{_parentage:q}=this;this._parentage=Array.isArray(q)?(q.push(me),q):q?[q,me]:me}_removeParent(me){const{_parentage:q}=this;q===me?this._parentage=null:Array.isArray(q)&&(0,k.P)(q,me)}remove(me){const{_finalizers:q}=this;q&&(0,k.P)(q,me),me instanceof ne&&me._removeParent(this)}}ne.EMPTY=(()=>{const le=new ne;return le.closed=!0,le})();const R=ne.EMPTY;function V(le){return le instanceof ne||le&&"closed"in le&&(0,i.m)(le.remove)&&(0,i.m)(le.add)&&(0,i.m)(le.unsubscribe)}function H(le){(0,i.m)(le)?le():le.unsubscribe()}},2416:(pt,Pe,g)=>{"use strict";g.d(Pe,{v:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(pt,Pe,g)=>{"use strict";g.d(Pe,{c:()=>R});var i=g(9751),r=g(727),T=g(8343),k=g(5403),ne=g(4482);class R extends i.y{constructor(H,le){super(),this.source=H,this.subjectFactory=le,this._subject=null,this._refCount=0,this._connection=null,(0,ne.A)(H)&&(this.lift=H.lift)}_subscribe(H){return this.getSubject().subscribe(H)}getSubject(){const H=this._subject;return(!H||H.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:H}=this;this._subject=this._connection=null,H?.unsubscribe()}connect(){let H=this._connection;if(!H){H=this._connection=new r.w0;const le=this.getSubject();H.add(this.source.subscribe((0,k.x)(le,void 0,()=>{this._teardown(),le.complete()},me=>{this._teardown(),le.error(me)},()=>this._teardown()))),H.closed&&(this._connection=null,H=r.w0.EMPTY)}return H}refCount(){return(0,T.x)()(this)}}},9841:(pt,Pe,g)=>{"use strict";g.d(Pe,{a:()=>me,l:()=>q});var i=g(9751),r=g(4742),T=g(2076),k=g(4671),ne=g(3268),R=g(3269),V=g(1810),H=g(5403),le=g(9672);function me(...he){const ae=(0,R.yG)(he),Q=(0,R.jO)(he),{args:ie,keys:K}=(0,r.D)(he);if(0===ie.length)return(0,T.D)([],ae);const fe=new i.y(q(ie,ae,K?_e=>(0,V.n)(K,_e):k.y));return Q?fe.pipe((0,ne.Z)(Q)):fe}function q(he,ae,Q=k.y){return ie=>{re(ae,()=>{const{length:K}=he,fe=new Array(K);let _e=K,Ue=K;for(let we=0;we{const Ne=(0,T.D)(he[we],ae);let Re=!1;Ne.subscribe((0,H.x)(ie,Ve=>{fe[we]=Ve,Re||(Re=!0,Ue--),Ue||ie.next(Q(fe.slice()))},()=>{--_e||ie.complete()}))},ie)},ie)}}function re(he,ae,Q){he?(0,le.f)(Q,he,ae):ae()}},7272:(pt,Pe,g)=>{"use strict";g.d(Pe,{z:()=>ne});var i=g(8189),T=g(3269),k=g(2076);function ne(...R){return function r(){return(0,i.J)(1)}()((0,k.D)(R,(0,T.yG)(R)))}},9770:(pt,Pe,g)=>{"use strict";g.d(Pe,{P:()=>T});var i=g(9751),r=g(8421);function T(k){return new i.y(ne=>{(0,r.Xf)(k()).subscribe(ne)})}},515:(pt,Pe,g)=>{"use strict";g.d(Pe,{E:()=>r,c:()=>T});var i=g(9751);const r=new i.y(ne=>ne.complete());function T(ne){return ne?function k(ne){return new i.y(R=>ne.schedule(()=>R.complete()))}(ne):r}},4128:(pt,Pe,g)=>{"use strict";g.d(Pe,{D:()=>H});var i=g(9751),r=g(4742),T=g(8421),k=g(3269),ne=g(5403),R=g(3268),V=g(1810);function H(...le){const me=(0,k.jO)(le),{args:q,keys:re}=(0,r.D)(le),he=new i.y(ae=>{const{length:Q}=q;if(!Q)return void ae.complete();const ie=new Array(Q);let K=Q,fe=Q;for(let _e=0;_e{Ue||(Ue=!0,fe--),ie[_e]=we},()=>K--,void 0,()=>{(!K||!Ue)&&(fe||ae.next(re?(0,V.n)(re,ie):ie),ae.complete())}))}});return me?he.pipe((0,R.Z)(me)):he}},2076:(pt,Pe,g)=>{"use strict";g.d(Pe,{D:()=>Ve});var i=g(8421),r=g(9672),T=g(4482),k=g(5403);function ne(z,U=0){return(0,T.e)((be,Ce)=>{be.subscribe((0,k.x)(Ce,Te=>(0,r.f)(Ce,z,()=>Ce.next(Te),U),()=>(0,r.f)(Ce,z,()=>Ce.complete(),U),Te=>(0,r.f)(Ce,z,()=>Ce.error(Te),U)))})}function R(z,U=0){return(0,T.e)((be,Ce)=>{Ce.add(z.schedule(()=>be.subscribe(Ce),U))})}var le=g(9751),q=g(2202),re=g(576);function ae(z,U){if(!z)throw new Error("Iterable cannot be null");return new le.y(be=>{(0,r.f)(be,U,()=>{const Ce=z[Symbol.asyncIterator]();(0,r.f)(be,U,()=>{Ce.next().then(Te=>{Te.done?be.complete():be.next(Te.value)})},0,!0)})})}var Q=g(3670),ie=g(8239),K=g(1144),fe=g(6495),_e=g(2206),Ue=g(4532),we=g(3260);function Ve(z,U){return U?function Re(z,U){if(null!=z){if((0,Q.c)(z))return function V(z,U){return(0,i.Xf)(z).pipe(R(U),ne(U))}(z,U);if((0,K.z)(z))return function me(z,U){return new le.y(be=>{let Ce=0;return U.schedule(function(){Ce===z.length?be.complete():(be.next(z[Ce++]),be.closed||this.schedule())})})}(z,U);if((0,ie.t)(z))return function H(z,U){return(0,i.Xf)(z).pipe(R(U),ne(U))}(z,U);if((0,_e.D)(z))return ae(z,U);if((0,fe.T)(z))return function he(z,U){return new le.y(be=>{let Ce;return(0,r.f)(be,U,()=>{Ce=z[q.h](),(0,r.f)(be,U,()=>{let Te,$e;try{({value:Te,done:$e}=Ce.next())}catch(ce){return void be.error(ce)}$e?be.complete():be.next(Te)},0,!0)}),()=>(0,re.m)(Ce?.return)&&Ce.return()})}(z,U);if((0,we.L)(z))return function Ne(z,U){return ae((0,we.Q)(z),U)}(z,U)}throw(0,Ue.z)(z)}(z,U):(0,i.Xf)(z)}},4968:(pt,Pe,g)=>{"use strict";g.d(Pe,{R:()=>me});var i=g(8421),r=g(9751),T=g(5577),k=g(1144),ne=g(576),R=g(3268);const V=["addListener","removeListener"],H=["addEventListener","removeEventListener"],le=["on","off"];function me(Q,ie,K,fe){if((0,ne.m)(K)&&(fe=K,K=void 0),fe)return me(Q,ie,K).pipe((0,R.Z)(fe));const[_e,Ue]=function ae(Q){return(0,ne.m)(Q.addEventListener)&&(0,ne.m)(Q.removeEventListener)}(Q)?H.map(we=>Ne=>Q[we](ie,Ne,K)):function re(Q){return(0,ne.m)(Q.addListener)&&(0,ne.m)(Q.removeListener)}(Q)?V.map(q(Q,ie)):function he(Q){return(0,ne.m)(Q.on)&&(0,ne.m)(Q.off)}(Q)?le.map(q(Q,ie)):[];if(!_e&&(0,k.z)(Q))return(0,T.z)(we=>me(we,ie,K))((0,i.Xf)(Q));if(!_e)throw new TypeError("Invalid event target");return new r.y(we=>{const Ne=(...Re)=>we.next(1Ue(Ne)})}function q(Q,ie){return K=>fe=>Q[K](ie,fe)}},8421:(pt,Pe,g)=>{"use strict";g.d(Pe,{Xf:()=>he});var i=g(7582),r=g(1144),T=g(8239),k=g(9751),ne=g(3670),R=g(2206),V=g(4532),H=g(6495),le=g(3260),me=g(576),q=g(7849),re=g(8822);function he(we){if(we instanceof k.y)return we;if(null!=we){if((0,ne.c)(we))return function ae(we){return new k.y(Ne=>{const Re=we[re.L]();if((0,me.m)(Re.subscribe))return Re.subscribe(Ne);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(we);if((0,r.z)(we))return function Q(we){return new k.y(Ne=>{for(let Re=0;Re{we.then(Re=>{Ne.closed||(Ne.next(Re),Ne.complete())},Re=>Ne.error(Re)).then(null,q.h)})}(we);if((0,R.D)(we))return fe(we);if((0,H.T)(we))return function K(we){return new k.y(Ne=>{for(const Re of we)if(Ne.next(Re),Ne.closed)return;Ne.complete()})}(we);if((0,le.L)(we))return function _e(we){return fe((0,le.Q)(we))}(we)}throw(0,V.z)(we)}function fe(we){return new k.y(Ne=>{(function Ue(we,Ne){var Re,Ve,z,U;return(0,i.mG)(this,void 0,void 0,function*(){try{for(Re=(0,i.KL)(we);!(Ve=yield Re.next()).done;)if(Ne.next(Ve.value),Ne.closed)return}catch(be){z={error:be}}finally{try{Ve&&!Ve.done&&(U=Re.return)&&(yield U.call(Re))}finally{if(z)throw z.error}}Ne.complete()})})(we,Ne).catch(Re=>Ne.error(Re))})}},6451:(pt,Pe,g)=>{"use strict";g.d(Pe,{T:()=>R});var i=g(8189),r=g(8421),T=g(515),k=g(3269),ne=g(2076);function R(...V){const H=(0,k.yG)(V),le=(0,k._6)(V,1/0),me=V;return me.length?1===me.length?(0,r.Xf)(me[0]):(0,i.J)(le)((0,ne.D)(me,H)):T.E}},9646:(pt,Pe,g)=>{"use strict";g.d(Pe,{of:()=>T});var i=g(3269),r=g(2076);function T(...k){const ne=(0,i.yG)(k);return(0,r.D)(k,ne)}},2843:(pt,Pe,g)=>{"use strict";g.d(Pe,{_:()=>T});var i=g(9751),r=g(576);function T(k,ne){const R=(0,r.m)(k)?k:()=>k,V=H=>H.error(R());return new i.y(ne?H=>ne.schedule(V,0,H):V)}},5403:(pt,Pe,g)=>{"use strict";g.d(Pe,{Q:()=>T,x:()=>r});var i=g(930);function r(k,ne,R,V,H){return new T(k,ne,R,V,H)}class T extends i.Lv{constructor(ne,R,V,H,le,me){super(ne),this.onFinalize=le,this.shouldUnsubscribe=me,this._next=R?function(q){try{R(q)}catch(re){ne.error(re)}}:super._next,this._error=H?function(q){try{H(q)}catch(re){ne.error(re)}finally{this.unsubscribe()}}:super._error,this._complete=V?function(){try{V()}catch(q){ne.error(q)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ne;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:R}=this;super.unsubscribe(),!R&&(null===(ne=this.onFinalize)||void 0===ne||ne.call(this))}}}},262:(pt,Pe,g)=>{"use strict";g.d(Pe,{K:()=>k});var i=g(8421),r=g(5403),T=g(4482);function k(ne){return(0,T.e)((R,V)=>{let me,H=null,le=!1;H=R.subscribe((0,r.x)(V,void 0,void 0,q=>{me=(0,i.Xf)(ne(q,k(ne)(R))),H?(H.unsubscribe(),H=null,me.subscribe(V)):le=!0})),le&&(H.unsubscribe(),H=null,me.subscribe(V))})}},4351:(pt,Pe,g)=>{"use strict";g.d(Pe,{b:()=>T});var i=g(5577),r=g(576);function T(k,ne){return(0,r.m)(ne)?(0,i.z)(k,ne,1):(0,i.z)(k,1)}},6590:(pt,Pe,g)=>{"use strict";g.d(Pe,{d:()=>T});var i=g(4482),r=g(5403);function T(k){return(0,i.e)((ne,R)=>{let V=!1;ne.subscribe((0,r.x)(R,H=>{V=!0,R.next(H)},()=>{V||R.next(k),R.complete()}))})}},1884:(pt,Pe,g)=>{"use strict";g.d(Pe,{x:()=>k});var i=g(4671),r=g(4482),T=g(5403);function k(R,V=i.y){return R=R??ne,(0,r.e)((H,le)=>{let me,q=!0;H.subscribe((0,T.x)(le,re=>{const he=V(re);(q||!R(me,he))&&(q=!1,me=he,le.next(re))}))})}function ne(R,V){return R===V}},9300:(pt,Pe,g)=>{"use strict";g.d(Pe,{h:()=>T});var i=g(4482),r=g(5403);function T(k,ne){return(0,i.e)((R,V)=>{let H=0;R.subscribe((0,r.x)(V,le=>k.call(ne,le,H++)&&V.next(le)))})}},8746:(pt,Pe,g)=>{"use strict";g.d(Pe,{x:()=>r});var i=g(4482);function r(T){return(0,i.e)((k,ne)=>{try{k.subscribe(ne)}finally{ne.add(T)}})}},590:(pt,Pe,g)=>{"use strict";g.d(Pe,{P:()=>V});var i=g(6805),r=g(9300),T=g(5698),k=g(6590),ne=g(8068),R=g(4671);function V(H,le){const me=arguments.length>=2;return q=>q.pipe(H?(0,r.h)((re,he)=>H(re,he,q)):R.y,(0,T.q)(1),me?(0,k.d)(le):(0,ne.T)(()=>new i.K))}},4004:(pt,Pe,g)=>{"use strict";g.d(Pe,{U:()=>T});var i=g(4482),r=g(5403);function T(k,ne){return(0,i.e)((R,V)=>{let H=0;R.subscribe((0,r.x)(V,le=>{V.next(k.call(ne,le,H++))}))})}},9718:(pt,Pe,g)=>{"use strict";g.d(Pe,{h:()=>r});var i=g(4004);function r(T){return(0,i.U)(()=>T)}},8189:(pt,Pe,g)=>{"use strict";g.d(Pe,{J:()=>T});var i=g(5577),r=g(4671);function T(k=1/0){return(0,i.z)(r.y,k)}},5577:(pt,Pe,g)=>{"use strict";g.d(Pe,{z:()=>H});var i=g(4004),r=g(8421),T=g(4482),k=g(9672),ne=g(5403),V=g(576);function H(le,me,q=1/0){return(0,V.m)(me)?H((re,he)=>(0,i.U)((ae,Q)=>me(re,ae,he,Q))((0,r.Xf)(le(re,he))),q):("number"==typeof me&&(q=me),(0,T.e)((re,he)=>function R(le,me,q,re,he,ae,Q,ie){const K=[];let fe=0,_e=0,Ue=!1;const we=()=>{Ue&&!K.length&&!fe&&me.complete()},Ne=Ve=>fe{ae&&me.next(Ve),fe++;let z=!1;(0,r.Xf)(q(Ve,_e++)).subscribe((0,ne.x)(me,U=>{he?.(U),ae?Ne(U):me.next(U)},()=>{z=!0},void 0,()=>{if(z)try{for(fe--;K.length&&feRe(U)):Re(U)}we()}catch(U){me.error(U)}}))};return le.subscribe((0,ne.x)(me,Ne,()=>{Ue=!0,we()})),()=>{ie?.()}}(re,he,le,q)))}},8343:(pt,Pe,g)=>{"use strict";g.d(Pe,{x:()=>T});var i=g(4482),r=g(5403);function T(){return(0,i.e)((k,ne)=>{let R=null;k._refCount++;const V=(0,r.x)(ne,void 0,void 0,void 0,()=>{if(!k||k._refCount<=0||0<--k._refCount)return void(R=null);const H=k._connection,le=R;R=null,H&&(!le||H===le)&&H.unsubscribe(),ne.unsubscribe()});k.subscribe(V),V.closed||(R=k.connect())})}},5026:(pt,Pe,g)=>{"use strict";g.d(Pe,{R:()=>k});var i=g(4482),r=g(5403);function k(ne,R){return(0,i.e)(function T(ne,R,V,H,le){return(me,q)=>{let re=V,he=R,ae=0;me.subscribe((0,r.x)(q,Q=>{const ie=ae++;he=re?ne(he,Q,ie):(re=!0,Q),H&&q.next(he)},le&&(()=>{re&&q.next(he),q.complete()})))}}(ne,R,arguments.length>=2,!0))}},3099:(pt,Pe,g)=>{"use strict";g.d(Pe,{B:()=>ne});var i=g(8421),r=g(7579),T=g(930),k=g(4482);function ne(V={}){const{connector:H=(()=>new r.x),resetOnError:le=!0,resetOnComplete:me=!0,resetOnRefCountZero:q=!0}=V;return re=>{let he,ae,Q,ie=0,K=!1,fe=!1;const _e=()=>{ae?.unsubscribe(),ae=void 0},Ue=()=>{_e(),he=Q=void 0,K=fe=!1},we=()=>{const Ne=he;Ue(),Ne?.unsubscribe()};return(0,k.e)((Ne,Re)=>{ie++,!fe&&!K&&_e();const Ve=Q=Q??H();Re.add(()=>{ie--,0===ie&&!fe&&!K&&(ae=R(we,q))}),Ve.subscribe(Re),!he&&ie>0&&(he=new T.Hp({next:z=>Ve.next(z),error:z=>{fe=!0,_e(),ae=R(Ue,le,z),Ve.error(z)},complete:()=>{K=!0,_e(),ae=R(Ue,me),Ve.complete()}}),(0,i.Xf)(Ne).subscribe(he))})(re)}}function R(V,H,...le){if(!0===H)return void V();if(!1===H)return;const me=new T.Hp({next:()=>{me.unsubscribe(),V()}});return(0,i.Xf)(H(...le)).subscribe(me)}},4782:(pt,Pe,g)=>{"use strict";g.d(Pe,{d:()=>T});var i=g(4707),r=g(3099);function T(k,ne,R){let V,H=!1;return k&&"object"==typeof k?({bufferSize:V=1/0,windowTime:ne=1/0,refCount:H=!1,scheduler:R}=k):V=k??1/0,(0,r.B)({connector:()=>new i.t(V,ne,R),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:H})}},8675:(pt,Pe,g)=>{"use strict";g.d(Pe,{O:()=>k});var i=g(7272),r=g(3269),T=g(4482);function k(...ne){const R=(0,r.yG)(ne);return(0,T.e)((V,H)=>{(R?(0,i.z)(ne,V,R):(0,i.z)(ne,V)).subscribe(H)})}},3900:(pt,Pe,g)=>{"use strict";g.d(Pe,{w:()=>k});var i=g(8421),r=g(4482),T=g(5403);function k(ne,R){return(0,r.e)((V,H)=>{let le=null,me=0,q=!1;const re=()=>q&&!le&&H.complete();V.subscribe((0,T.x)(H,he=>{le?.unsubscribe();let ae=0;const Q=me++;(0,i.Xf)(ne(he,Q)).subscribe(le=(0,T.x)(H,ie=>H.next(R?R(he,ie,Q,ae++):ie),()=>{le=null,re()}))},()=>{q=!0,re()}))})}},5698:(pt,Pe,g)=>{"use strict";g.d(Pe,{q:()=>k});var i=g(515),r=g(4482),T=g(5403);function k(ne){return ne<=0?()=>i.E:(0,r.e)((R,V)=>{let H=0;R.subscribe((0,T.x)(V,le=>{++H<=ne&&(V.next(le),ne<=H&&V.complete())}))})}},8505:(pt,Pe,g)=>{"use strict";g.d(Pe,{b:()=>ne});var i=g(576),r=g(4482),T=g(5403),k=g(4671);function ne(R,V,H){const le=(0,i.m)(R)||V||H?{next:R,error:V,complete:H}:R;return le?(0,r.e)((me,q)=>{var re;null===(re=le.subscribe)||void 0===re||re.call(le);let he=!0;me.subscribe((0,T.x)(q,ae=>{var Q;null===(Q=le.next)||void 0===Q||Q.call(le,ae),q.next(ae)},()=>{var ae;he=!1,null===(ae=le.complete)||void 0===ae||ae.call(le),q.complete()},ae=>{var Q;he=!1,null===(Q=le.error)||void 0===Q||Q.call(le,ae),q.error(ae)},()=>{var ae,Q;he&&(null===(ae=le.unsubscribe)||void 0===ae||ae.call(le)),null===(Q=le.finalize)||void 0===Q||Q.call(le)}))}):k.y}},8068:(pt,Pe,g)=>{"use strict";g.d(Pe,{T:()=>k});var i=g(6805),r=g(4482),T=g(5403);function k(R=ne){return(0,r.e)((V,H)=>{let le=!1;V.subscribe((0,T.x)(H,me=>{le=!0,H.next(me)},()=>le?H.complete():H.error(R())))})}function ne(){return new i.K}},6063:(pt,Pe,g)=>{"use strict";g.d(Pe,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},3410:(pt,Pe,g)=>{"use strict";g.d(Pe,{z:()=>i});const i={setTimeout(r,T,...k){const{delegate:ne}=i;return ne?.setTimeout?ne.setTimeout(r,T,...k):setTimeout(r,T,...k)},clearTimeout(r){const{delegate:T}=i;return(T?.clearTimeout||clearTimeout)(r)},delegate:void 0}},2202:(pt,Pe,g)=>{"use strict";g.d(Pe,{h:()=>r});const r=function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(pt,Pe,g)=>{"use strict";g.d(Pe,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(pt,Pe,g)=>{"use strict";g.d(Pe,{K:()=>r});const r=(0,g(3888).d)(T=>function(){T(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(pt,Pe,g)=>{"use strict";g.d(Pe,{_6:()=>R,jO:()=>k,yG:()=>ne});var i=g(576),r=g(3532);function T(V){return V[V.length-1]}function k(V){return(0,i.m)(T(V))?V.pop():void 0}function ne(V){return(0,r.K)(T(V))?V.pop():void 0}function R(V,H){return"number"==typeof T(V)?V.pop():H}},4742:(pt,Pe,g)=>{"use strict";g.d(Pe,{D:()=>ne});const{isArray:i}=Array,{getPrototypeOf:r,prototype:T,keys:k}=Object;function ne(V){if(1===V.length){const H=V[0];if(i(H))return{args:H,keys:null};if(function R(V){return V&&"object"==typeof V&&r(V)===T}(H)){const le=k(H);return{args:le.map(me=>H[me]),keys:le}}}return{args:V,keys:null}}},8737:(pt,Pe,g)=>{"use strict";function i(r,T){if(r){const k=r.indexOf(T);0<=k&&r.splice(k,1)}}g.d(Pe,{P:()=>i})},3888:(pt,Pe,g)=>{"use strict";function i(r){const k=r(ne=>{Error.call(ne),ne.stack=(new Error).stack});return k.prototype=Object.create(Error.prototype),k.prototype.constructor=k,k}g.d(Pe,{d:()=>i})},1810:(pt,Pe,g)=>{"use strict";function i(r,T){return r.reduce((k,ne,R)=>(k[ne]=T[R],k),{})}g.d(Pe,{n:()=>i})},2806:(pt,Pe,g)=>{"use strict";g.d(Pe,{O:()=>k,x:()=>T});var i=g(2416);let r=null;function T(ne){if(i.v.useDeprecatedSynchronousErrorHandling){const R=!r;if(R&&(r={errorThrown:!1,error:null}),ne(),R){const{errorThrown:V,error:H}=r;if(r=null,V)throw H}}else ne()}function k(ne){i.v.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=ne)}},9672:(pt,Pe,g)=>{"use strict";function i(r,T,k,ne=0,R=!1){const V=T.schedule(function(){k(),R?r.add(this.schedule(null,ne)):this.unsubscribe()},ne);if(r.add(V),!R)return V}g.d(Pe,{f:()=>i})},4671:(pt,Pe,g)=>{"use strict";function i(r){return r}g.d(Pe,{y:()=>i})},1144:(pt,Pe,g)=>{"use strict";g.d(Pe,{z:()=>i});const i=r=>r&&"number"==typeof r.length&&"function"!=typeof r},2206:(pt,Pe,g)=>{"use strict";g.d(Pe,{D:()=>r});var i=g(576);function r(T){return Symbol.asyncIterator&&(0,i.m)(T?.[Symbol.asyncIterator])}},576:(pt,Pe,g)=>{"use strict";function i(r){return"function"==typeof r}g.d(Pe,{m:()=>i})},3670:(pt,Pe,g)=>{"use strict";g.d(Pe,{c:()=>T});var i=g(8822),r=g(576);function T(k){return(0,r.m)(k[i.L])}},6495:(pt,Pe,g)=>{"use strict";g.d(Pe,{T:()=>T});var i=g(2202),r=g(576);function T(k){return(0,r.m)(k?.[i.h])}},8239:(pt,Pe,g)=>{"use strict";g.d(Pe,{t:()=>r});var i=g(576);function r(T){return(0,i.m)(T?.then)}},3260:(pt,Pe,g)=>{"use strict";g.d(Pe,{L:()=>k,Q:()=>T});var i=g(7582),r=g(576);function T(ne){return(0,i.FC)(this,arguments,function*(){const V=ne.getReader();try{for(;;){const{value:H,done:le}=yield(0,i.qq)(V.read());if(le)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(H)}}finally{V.releaseLock()}})}function k(ne){return(0,r.m)(ne?.getReader)}},3532:(pt,Pe,g)=>{"use strict";g.d(Pe,{K:()=>r});var i=g(576);function r(T){return T&&(0,i.m)(T.schedule)}},4482:(pt,Pe,g)=>{"use strict";g.d(Pe,{A:()=>r,e:()=>T});var i=g(576);function r(k){return(0,i.m)(k?.lift)}function T(k){return ne=>{if(r(ne))return ne.lift(function(R){try{return k(R,this)}catch(V){this.error(V)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(pt,Pe,g)=>{"use strict";g.d(Pe,{Z:()=>k});var i=g(4004);const{isArray:r}=Array;function k(ne){return(0,i.U)(R=>function T(ne,R){return r(R)?ne(...R):ne(R)}(ne,R))}},5032:(pt,Pe,g)=>{"use strict";function i(){}g.d(Pe,{Z:()=>i})},9635:(pt,Pe,g)=>{"use strict";g.d(Pe,{U:()=>T,z:()=>r});var i=g(4671);function r(...k){return T(k)}function T(k){return 0===k.length?i.y:1===k.length?k[0]:function(R){return k.reduce((V,H)=>H(V),R)}}},7849:(pt,Pe,g)=>{"use strict";g.d(Pe,{h:()=>T});var i=g(2416),r=g(3410);function T(k){r.z.setTimeout(()=>{const{onUnhandledError:ne}=i.v;if(!ne)throw k;ne(k)})}},4532:(pt,Pe,g)=>{"use strict";function i(r){return new TypeError(`You provided ${null!==r&&"object"==typeof r?"an invalid object":`'${r}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}g.d(Pe,{z:()=>i})},89:(pt,Pe,g)=>{"use strict";var i,r;void 0!==(r="function"==typeof(i=function(){Zone.__load_patch("cordova",function(T,k,ne){if(T.cordova)var H="function",le=ne.patchMethod(T.cordova,"exec",function(){return function(me,q){return q.length>0&&typeof q[0]===H&&(q[0]=k.current.wrap(q[0],"cordova.exec.success")),q.length>1&&typeof q[1]===H&&(q[1]=k.current.wrap(q[1],"cordova.exec.error")),le.apply(me,q)}})}),Zone.__load_patch("cordova.FileReader",function(T,k){T.cordova&&typeof T.FileReader<"u"&&document.addEventListener("deviceReady",function(){var ne=T.FileReader;["abort","error","load","loadstart","loadend","progress"].forEach(function(R){var V=k.__symbol__("ON_PROPERTY"+R);Object.defineProperty(ne.prototype,V,{configurable:!0,get:function(){return this._realReader&&this._realReader[V]}})})})})})?i.call(Pe,g,Pe,pt):i)&&(pt.exports=r)},863:(pt,Pe,g)=>{var i={"./ion-accordion_2.entry.js":[9654,8592,9654],"./ion-action-sheet.entry.js":[3648,8592,3648],"./ion-alert.entry.js":[1118,8592,1118],"./ion-app_8.entry.js":[53,8592,53],"./ion-avatar_3.entry.js":[4753,4753],"./ion-back-button.entry.js":[2073,8592,2073],"./ion-backdrop.entry.js":[8939,8939],"./ion-breadcrumb_2.entry.js":[7544,8592,7544],"./ion-button_2.entry.js":[5652,5652],"./ion-card_5.entry.js":[388,388],"./ion-checkbox.entry.js":[9922,8592,9922],"./ion-chip.entry.js":[657,657],"./ion-col_3.entry.js":[9824,9824],"./ion-datetime-button.entry.js":[9230,4539,9230],"./ion-datetime_3.entry.js":[4959,4539,8592,4959],"./ion-fab_3.entry.js":[5836,8592,5836],"./ion-img.entry.js":[1033,1033],"./ion-infinite-scroll_2.entry.js":[8034,8592,8034],"./ion-input.entry.js":[1217,8592,1217],"./ion-item-option_3.entry.js":[2933,8592,2933],"./ion-item_8.entry.js":[4711,8592,4711],"./ion-loading.entry.js":[9434,8592,9434],"./ion-menu_3.entry.js":[8136,8592,8136],"./ion-modal.entry.js":[2349,8592,2349],"./ion-nav_2.entry.js":[5349,8592,5349],"./ion-picker-column-internal.entry.js":[7602,8592,7602],"./ion-picker-internal.entry.js":[9016,9016],"./ion-popover.entry.js":[3804,8592,3804],"./ion-progress-bar.entry.js":[4174,4174],"./ion-radio_2.entry.js":[4432,8592,4432],"./ion-range.entry.js":[1709,8592,1709],"./ion-refresher_2.entry.js":[3326,8592,3326],"./ion-reorder_2.entry.js":[3583,8592,3583],"./ion-ripple-effect.entry.js":[9958,9958],"./ion-route_4.entry.js":[4330,4330],"./ion-searchbar.entry.js":[8628,8592,8628],"./ion-segment_2.entry.js":[9325,8592,9325],"./ion-select_3.entry.js":[2773,8592,2773],"./ion-spinner.entry.js":[4908,8592,4908],"./ion-split-pane.entry.js":[9536,9536],"./ion-tab-bar_2.entry.js":[438,8592,438],"./ion-tab_2.entry.js":[1536,1536],"./ion-text.entry.js":[4376,4376],"./ion-textarea.entry.js":[6560,8592,6560],"./ion-toast.entry.js":[6120,8592,6120],"./ion-toggle.entry.js":[5168,8592,5168]};function r(T){if(!g.o(i,T))return Promise.resolve().then(()=>{var R=new Error("Cannot find module '"+T+"'");throw R.code="MODULE_NOT_FOUND",R});var k=i[T],ne=k[0];return Promise.all(k.slice(1).map(g.e)).then(()=>g(ne))}r.keys=()=>Object.keys(i),r.id=863,pt.exports=r},6895:(pt,Pe,g)=>{"use strict";g.d(Pe,{Do:()=>_e,ED:()=>P,EM:()=>So,HT:()=>k,JF:()=>Xr,JJ:()=>zo,K0:()=>R,Mx:()=>zn,NF:()=>Lo,O5:()=>Ie,Ov:()=>Lt,PC:()=>He,PM:()=>Rr,RF:()=>vt,S$:()=>ie,V_:()=>le,Ye:()=>Ue,b0:()=>fe,bD:()=>Oi,ez:()=>xi,mk:()=>Mt,n9:()=>xe,q:()=>T,sg:()=>A,tP:()=>ye,uU:()=>Fe,w_:()=>ne});var i=g(4650);let r=null;function T(){return r}function k(_){r||(r=_)}class ne{}const R=new i.OlP("DocumentToken");let V=(()=>{class _{historyGo(M){throw new Error("Not implemented")}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275prov=i.Yz7({token:_,factory:function(){return function H(){return(0,i.LFG)(me)}()},providedIn:"platform"}),_})();const le=new i.OlP("Location Initialized");let me=(()=>{class _ extends V{constructor(M){super(),this._doc=M,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return T().getBaseHref(this._doc)}onPopState(M){const X=T().getGlobalEventTarget(this._doc,"window");return X.addEventListener("popstate",M,!1),()=>X.removeEventListener("popstate",M)}onHashChange(M){const X=T().getGlobalEventTarget(this._doc,"window");return X.addEventListener("hashchange",M,!1),()=>X.removeEventListener("hashchange",M)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(M){this._location.pathname=M}pushState(M,X,Ae){q()?this._history.pushState(M,X,Ae):this._location.hash=Ae}replaceState(M,X,Ae){q()?this._history.replaceState(M,X,Ae):this._location.hash=Ae}forward(){this._history.forward()}back(){this._history.back()}historyGo(M=0){this._history.go(M)}getState(){return this._history.state}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(R))},_.\u0275prov=i.Yz7({token:_,factory:function(){return function re(){return new me((0,i.LFG)(R))}()},providedIn:"platform"}),_})();function q(){return!!window.history.pushState}function he(_,$){if(0==_.length)return $;if(0==$.length)return _;let M=0;return _.endsWith("/")&&M++,$.startsWith("/")&&M++,2==M?_+$.substring(1):1==M?_+$:_+"/"+$}function ae(_){const $=_.match(/#|\?|$/),M=$&&$.index||_.length;return _.slice(0,M-("/"===_[M-1]?1:0))+_.slice(M)}function Q(_){return _&&"?"!==_[0]?"?"+_:_}let ie=(()=>{class _{historyGo(M){throw new Error("Not implemented")}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275prov=i.Yz7({token:_,factory:function(){return(0,i.f3M)(fe)},providedIn:"root"}),_})();const K=new i.OlP("appBaseHref");let fe=(()=>{class _ extends ie{constructor(M,X){super(),this._platformLocation=M,this._removeListenerFns=[],this._baseHref=X??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}prepareExternalUrl(M){return he(this._baseHref,M)}path(M=!1){const X=this._platformLocation.pathname+Q(this._platformLocation.search),Ae=this._platformLocation.hash;return Ae&&M?`${X}${Ae}`:X}pushState(M,X,Ae,it){const gt=this.prepareExternalUrl(Ae+Q(it));this._platformLocation.pushState(M,X,gt)}replaceState(M,X,Ae,it){const gt=this.prepareExternalUrl(Ae+Q(it));this._platformLocation.replaceState(M,X,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(V),i.LFG(K,8))},_.\u0275prov=i.Yz7({token:_,factory:_.\u0275fac,providedIn:"root"}),_})(),_e=(()=>{class _ extends ie{constructor(M,X){super(),this._platformLocation=M,this._baseHref="",this._removeListenerFns=[],null!=X&&(this._baseHref=X)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(M){this._removeListenerFns.push(this._platformLocation.onPopState(M),this._platformLocation.onHashChange(M))}getBaseHref(){return this._baseHref}path(M=!1){let X=this._platformLocation.hash;return null==X&&(X="#"),X.length>0?X.substring(1):X}prepareExternalUrl(M){const X=he(this._baseHref,M);return X.length>0?"#"+X:X}pushState(M,X,Ae,it){let gt=this.prepareExternalUrl(Ae+Q(it));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(M,X,gt)}replaceState(M,X,Ae,it){let gt=this.prepareExternalUrl(Ae+Q(it));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(M,X,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(M=0){this._platformLocation.historyGo?.(M)}}return _.\u0275fac=function(M){return new(M||_)(i.LFG(V),i.LFG(K,8))},_.\u0275prov=i.Yz7({token:_,factory:_.\u0275fac}),_})(),Ue=(()=>{class _{constructor(M){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=M;const X=this._locationStrategy.getBaseHref();this._basePath=function Ve(_){if(new RegExp("^(https?:)?//").test(_)){const[,M]=_.split(/\/\/[^\/]+/);return M}return _}(ae(Re(X))),this._locationStrategy.onPopState(Ae=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ae.state,type:Ae.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(M=!1){return this.normalize(this._locationStrategy.path(M))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(M,X=""){return this.path()==this.normalize(M+Q(X))}normalize(M){return _.stripTrailingSlash(function Ne(_,$){if(!_||!$.startsWith(_))return $;const M=$.substring(_.length);return""===M||["/",";","?","#"].includes(M[0])?M:$}(this._basePath,Re(M)))}prepareExternalUrl(M){return M&&"/"!==M[0]&&(M="/"+M),this._locationStrategy.prepareExternalUrl(M)}go(M,X="",Ae=null){this._locationStrategy.pushState(Ae,"",M,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Q(X)),Ae)}replaceState(M,X="",Ae=null){this._locationStrategy.replaceState(Ae,"",M,X),this._notifyUrlChangeListeners(this.prepareExternalUrl(M+Q(X)),Ae)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(M=0){this._locationStrategy.historyGo?.(M)}onUrlChange(M){return this._urlChangeListeners.push(M),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(X=>{this._notifyUrlChangeListeners(X.url,X.state)})),()=>{const X=this._urlChangeListeners.indexOf(M);this._urlChangeListeners.splice(X,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(M="",X){this._urlChangeListeners.forEach(Ae=>Ae(M,X))}subscribe(M,X,Ae){return this._subject.subscribe({next:M,error:X,complete:Ae})}}return _.normalizeQueryParams=Q,_.joinWithSlash=he,_.stripTrailingSlash=ae,_.\u0275fac=function(M){return new(M||_)(i.LFG(ie))},_.\u0275prov=i.Yz7({token:_,factory:function(){return function we(){return new Ue((0,i.LFG)(ie))}()},providedIn:"root"}),_})();function Re(_){return _.replace(/\/index.html$/,"")}var U=(()=>((U=U||{})[U.Decimal=0]="Decimal",U[U.Percent=1]="Percent",U[U.Currency=2]="Currency",U[U.Scientific=3]="Scientific",U))(),Ce=(()=>((Ce=Ce||{})[Ce.Format=0]="Format",Ce[Ce.Standalone=1]="Standalone",Ce))(),Te=(()=>((Te=Te||{})[Te.Narrow=0]="Narrow",Te[Te.Abbreviated=1]="Abbreviated",Te[Te.Wide=2]="Wide",Te[Te.Short=3]="Short",Te))(),$e=(()=>(($e=$e||{})[$e.Short=0]="Short",$e[$e.Medium=1]="Medium",$e[$e.Long=2]="Long",$e[$e.Full=3]="Full",$e))(),ce=(()=>((ce=ce||{})[ce.Decimal=0]="Decimal",ce[ce.Group=1]="Group",ce[ce.List=2]="List",ce[ce.PercentSign=3]="PercentSign",ce[ce.PlusSign=4]="PlusSign",ce[ce.MinusSign=5]="MinusSign",ce[ce.Exponential=6]="Exponential",ce[ce.SuperscriptingExponent=7]="SuperscriptingExponent",ce[ce.PerMille=8]="PerMille",ce[ce.Infinity=9]="Infinity",ce[ce.NaN=10]="NaN",ce[ce.TimeSeparator=11]="TimeSeparator",ce[ce.CurrencyDecimal=12]="CurrencyDecimal",ce[ce.CurrencyGroup=13]="CurrencyGroup",ce))();function ue(_,$){return It((0,i.cg1)(_)[i.wAp.DateFormat],$)}function W(_,$){return It((0,i.cg1)(_)[i.wAp.TimeFormat],$)}function Ye(_,$){return It((0,i.cg1)(_)[i.wAp.DateTimeFormat],$)}function qe(_,$){const M=(0,i.cg1)(_),X=M[i.wAp.NumberSymbols][$];if(typeof X>"u"){if($===ce.CurrencyDecimal)return M[i.wAp.NumberSymbols][ce.Decimal];if($===ce.CurrencyGroup)return M[i.wAp.NumberSymbols][ce.Group]}return X}function Ut(_){if(!_[i.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${_[i.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function It(_,$){for(let M=$;M>-1;M--)if(typeof _[M]<"u")return _[M];throw new Error("Locale data API: locale data undefined")}function bt(_){const[$,M]=_.split(":");return{hours:+$,minutes:+M}}const en=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,On={},nn=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var un=(()=>((un=un||{})[un.Short=0]="Short",un[un.ShortGMT=1]="ShortGMT",un[un.Long=2]="Long",un[un.Extended=3]="Extended",un))(),Nt=(()=>((Nt=Nt||{})[Nt.FullYear=0]="FullYear",Nt[Nt.Month=1]="Month",Nt[Nt.Date=2]="Date",Nt[Nt.Hours=3]="Hours",Nt[Nt.Minutes=4]="Minutes",Nt[Nt.Seconds=5]="Seconds",Nt[Nt.FractionalSeconds=6]="FractionalSeconds",Nt[Nt.Day=7]="Day",Nt))(),Ct=(()=>((Ct=Ct||{})[Ct.DayPeriods=0]="DayPeriods",Ct[Ct.Days=1]="Days",Ct[Ct.Months=2]="Months",Ct[Ct.Eras=3]="Eras",Ct))();function rr(_,$,M,X){let Ae=function yn(_){if(Ze(_))return _;if("number"==typeof _&&!isNaN(_))return new Date(_);if("string"==typeof _){if(_=_.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(_)){const[Ae,it=1,gt=1]=_.split("-").map(zt=>+zt);return hn(Ae,it-1,gt)}const M=parseFloat(_);if(!isNaN(_-M))return new Date(M);let X;if(X=_.match(en))return function sn(_){const $=new Date(0);let M=0,X=0;const Ae=_[8]?$.setUTCFullYear:$.setFullYear,it=_[8]?$.setUTCHours:$.setHours;_[9]&&(M=Number(_[9]+_[10]),X=Number(_[9]+_[11])),Ae.call($,Number(_[1]),Number(_[2])-1,Number(_[3]));const gt=Number(_[4]||0)-M,zt=Number(_[5]||0)-X,qn=Number(_[6]||0),Jn=Math.floor(1e3*parseFloat("0."+(_[7]||0)));return it.call($,gt,zt,qn,Jn),$}(X)}const $=new Date(_);if(!Ze($))throw new Error(`Unable to convert "${_}" into a date`);return $}(_);$=Cn(M,$)||$;let zt,gt=[];for(;$;){if(zt=nn.exec($),!zt){gt.push($);break}{gt=gt.concat(zt.slice(1));const Rn=gt.pop();if(!Rn)break;$=Rn}}let qn=Ae.getTimezoneOffset();X&&(qn=Fn(X,qn),Ae=function En(_,$,M){const X=M?-1:1,Ae=_.getTimezoneOffset();return function Dn(_,$){return(_=new Date(_.getTime())).setMinutes(_.getMinutes()+$),_}(_,X*(Fn($,Ae)-Ae))}(Ae,X,!0));let Jn="";return gt.forEach(Rn=>{const wn=function Ir(_){if(vr[_])return vr[_];let $;switch(_){case"G":case"GG":case"GGG":$=rn(Ct.Eras,Te.Abbreviated);break;case"GGGG":$=rn(Ct.Eras,Te.Wide);break;case"GGGGG":$=rn(Ct.Eras,Te.Narrow);break;case"y":$=pn(Nt.FullYear,1,0,!1,!0);break;case"yy":$=pn(Nt.FullYear,2,0,!0,!0);break;case"yyy":$=pn(Nt.FullYear,3,0,!1,!0);break;case"yyyy":$=pn(Nt.FullYear,4,0,!1,!0);break;case"Y":$=Dr(1);break;case"YY":$=Dr(2,!0);break;case"YYY":$=Dr(3);break;case"YYYY":$=Dr(4);break;case"M":case"L":$=pn(Nt.Month,1,1);break;case"MM":case"LL":$=pn(Nt.Month,2,1);break;case"MMM":$=rn(Ct.Months,Te.Abbreviated);break;case"MMMM":$=rn(Ct.Months,Te.Wide);break;case"MMMMM":$=rn(Ct.Months,Te.Narrow);break;case"LLL":$=rn(Ct.Months,Te.Abbreviated,Ce.Standalone);break;case"LLLL":$=rn(Ct.Months,Te.Wide,Ce.Standalone);break;case"LLLLL":$=rn(Ct.Months,Te.Narrow,Ce.Standalone);break;case"w":$=Kn(1);break;case"ww":$=Kn(2);break;case"W":$=Kn(1,!0);break;case"d":$=pn(Nt.Date,1);break;case"dd":$=pn(Nt.Date,2);break;case"c":case"cc":$=pn(Nt.Day,1);break;case"ccc":$=rn(Ct.Days,Te.Abbreviated,Ce.Standalone);break;case"cccc":$=rn(Ct.Days,Te.Wide,Ce.Standalone);break;case"ccccc":$=rn(Ct.Days,Te.Narrow,Ce.Standalone);break;case"cccccc":$=rn(Ct.Days,Te.Short,Ce.Standalone);break;case"E":case"EE":case"EEE":$=rn(Ct.Days,Te.Abbreviated);break;case"EEEE":$=rn(Ct.Days,Te.Wide);break;case"EEEEE":$=rn(Ct.Days,Te.Narrow);break;case"EEEEEE":$=rn(Ct.Days,Te.Short);break;case"a":case"aa":case"aaa":$=rn(Ct.DayPeriods,Te.Abbreviated);break;case"aaaa":$=rn(Ct.DayPeriods,Te.Wide);break;case"aaaaa":$=rn(Ct.DayPeriods,Te.Narrow);break;case"b":case"bb":case"bbb":$=rn(Ct.DayPeriods,Te.Abbreviated,Ce.Standalone,!0);break;case"bbbb":$=rn(Ct.DayPeriods,Te.Wide,Ce.Standalone,!0);break;case"bbbbb":$=rn(Ct.DayPeriods,Te.Narrow,Ce.Standalone,!0);break;case"B":case"BB":case"BBB":$=rn(Ct.DayPeriods,Te.Abbreviated,Ce.Format,!0);break;case"BBBB":$=rn(Ct.DayPeriods,Te.Wide,Ce.Format,!0);break;case"BBBBB":$=rn(Ct.DayPeriods,Te.Narrow,Ce.Format,!0);break;case"h":$=pn(Nt.Hours,1,-12);break;case"hh":$=pn(Nt.Hours,2,-12);break;case"H":$=pn(Nt.Hours,1);break;case"HH":$=pn(Nt.Hours,2);break;case"m":$=pn(Nt.Minutes,1);break;case"mm":$=pn(Nt.Minutes,2);break;case"s":$=pn(Nt.Seconds,1);break;case"ss":$=pn(Nt.Seconds,2);break;case"S":$=pn(Nt.FractionalSeconds,1);break;case"SS":$=pn(Nt.FractionalSeconds,2);break;case"SSS":$=pn(Nt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":$=gn(un.Short);break;case"ZZZZZ":$=gn(un.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":$=gn(un.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":$=gn(un.Long);break;default:return null}return vr[_]=$,$}(Rn);Jn+=wn?wn(Ae,M,qn):"''"===Rn?"'":Rn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jn}function hn(_,$,M){const X=new Date(0);return X.setFullYear(_,$,M),X.setHours(0,0,0),X}function Cn(_,$){const M=function We(_){return(0,i.cg1)(_)[i.wAp.LocaleId]}(_);if(On[M]=On[M]||{},On[M][$])return On[M][$];let X="";switch($){case"shortDate":X=ue(_,$e.Short);break;case"mediumDate":X=ue(_,$e.Medium);break;case"longDate":X=ue(_,$e.Long);break;case"fullDate":X=ue(_,$e.Full);break;case"shortTime":X=W(_,$e.Short);break;case"mediumTime":X=W(_,$e.Medium);break;case"longTime":X=W(_,$e.Long);break;case"fullTime":X=W(_,$e.Full);break;case"short":const Ae=Cn(_,"shortTime"),it=Cn(_,"shortDate");X=nr(Ye(_,$e.Short),[Ae,it]);break;case"medium":const gt=Cn(_,"mediumTime"),zt=Cn(_,"mediumDate");X=nr(Ye(_,$e.Medium),[gt,zt]);break;case"long":const qn=Cn(_,"longTime"),Jn=Cn(_,"longDate");X=nr(Ye(_,$e.Long),[qn,Jn]);break;case"full":const Rn=Cn(_,"fullTime"),wn=Cn(_,"fullDate");X=nr(Ye(_,$e.Full),[Rn,wn])}return X&&(On[M][$]=X),X}function nr(_,$){return $&&(_=_.replace(/\{([^}]+)}/g,function(M,X){return null!=$&&X in $?$[X]:M})),_}function xn(_,$,M="-",X,Ae){let it="";(_<0||Ae&&_<=0)&&(Ae?_=1-_:(_=-_,it=M));let gt=String(_);for(;gt.length<$;)gt="0"+gt;return X&&(gt=gt.slice(gt.length-$)),it+gt}function pn(_,$,M=0,X=!1,Ae=!1){return function(it,gt){let zt=function fr(_,$){switch(_){case Nt.FullYear:return $.getFullYear();case Nt.Month:return $.getMonth();case Nt.Date:return $.getDate();case Nt.Hours:return $.getHours();case Nt.Minutes:return $.getMinutes();case Nt.Seconds:return $.getSeconds();case Nt.FractionalSeconds:return $.getMilliseconds();case Nt.Day:return $.getDay();default:throw new Error(`Unknown DateType value "${_}".`)}}(_,it);if((M>0||zt>-M)&&(zt+=M),_===Nt.Hours)0===zt&&-12===M&&(zt=12);else if(_===Nt.FractionalSeconds)return function or(_,$){return xn(_,3).substring(0,$)}(zt,$);const qn=qe(gt,ce.MinusSign);return xn(zt,$,qn,X,Ae)}}function rn(_,$,M=Ce.Format,X=!1){return function(Ae,it){return function mr(_,$,M,X,Ae,it){switch(M){case Ct.Months:return function G(_,$,M){const X=(0,i.cg1)(_),it=It([X[i.wAp.MonthsFormat],X[i.wAp.MonthsStandalone]],$);return It(it,M)}($,Ae,X)[_.getMonth()];case Ct.Days:return function ve(_,$,M){const X=(0,i.cg1)(_),it=It([X[i.wAp.DaysFormat],X[i.wAp.DaysStandalone]],$);return It(it,M)}($,Ae,X)[_.getDay()];case Ct.DayPeriods:const gt=_.getHours(),zt=_.getMinutes();if(it){const Jn=function Je(_){const $=(0,i.cg1)(_);return Ut($),($[i.wAp.ExtraData][2]||[]).map(X=>"string"==typeof X?bt(X):[bt(X[0]),bt(X[1])])}($),Rn=function et(_,$,M){const X=(0,i.cg1)(_);Ut(X);const it=It([X[i.wAp.ExtraData][0],X[i.wAp.ExtraData][1]],$)||[];return It(it,M)||[]}($,Ae,X),wn=Jn.findIndex(cr=>{if(Array.isArray(cr)){const[Hn,ur]=cr,Ur=gt>=Hn.hours&&zt>=Hn.minutes,Vr=gt0?Math.floor(Ae/60):Math.ceil(Ae/60);switch(_){case un.Short:return(Ae>=0?"+":"")+xn(gt,2,it)+xn(Math.abs(Ae%60),2,it);case un.ShortGMT:return"GMT"+(Ae>=0?"+":"")+xn(gt,1,it);case un.Long:return"GMT"+(Ae>=0?"+":"")+xn(gt,2,it)+":"+xn(Math.abs(Ae%60),2,it);case un.Extended:return 0===X?"Z":(Ae>=0?"+":"")+xn(gt,2,it)+":"+xn(Math.abs(Ae%60),2,it);default:throw new Error(`Unknown zone width "${_}"`)}}}const jn=0,Xn=4;function br(_){return hn(_.getFullYear(),_.getMonth(),_.getDate()+(Xn-_.getDay()))}function Kn(_,$=!1){return function(M,X){let Ae;if($){const it=new Date(M.getFullYear(),M.getMonth(),1).getDay()-1,gt=M.getDate();Ae=1+Math.floor((gt+it)/7)}else{const it=br(M),gt=function ir(_){const $=hn(_,jn,1).getDay();return hn(_,0,1+($<=Xn?Xn:Xn+7)-$)}(it.getFullYear()),zt=it.getTime()-gt.getTime();Ae=1+Math.round(zt/6048e5)}return xn(Ae,_,qe(X,ce.MinusSign))}}function Dr(_,$=!1){return function(M,X){return xn(br(M).getFullYear(),_,qe(X,ce.MinusSign),$)}}const vr={};function Fn(_,$){_=_.replace(/:/g,"");const M=Date.parse("Jan 01, 1970 00:00:00 "+_)/6e4;return isNaN(M)?$:M}function Ze(_){return _ instanceof Date&&!isNaN(_.valueOf())}const Be=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ee=22,Ke=".",st="0",wt=";",Qt=",",In="#";function kn(_){const $=parseInt(_);if(isNaN($))throw new Error("Invalid integer literal when parsing "+_);return $}function zn(_,$){$=encodeURIComponent($);for(const M of _.split(";")){const X=M.indexOf("="),[Ae,it]=-1==X?[M,""]:[M.slice(0,X),M.slice(X+1)];if(Ae.trim()===$)return decodeURIComponent(it)}return null}const $n=/\s+/,Dt=[];let Mt=(()=>{class _{constructor(M,X,Ae,it){this._iterableDiffers=M,this._keyValueDiffers=X,this._ngEl=Ae,this._renderer=it,this.initialClasses=Dt,this.stateMap=new Map}set klass(M){this.initialClasses=null!=M?M.trim().split($n):Dt}set ngClass(M){this.rawClass="string"==typeof M?M.trim().split($n):M}ngDoCheck(){for(const X of this.initialClasses)this._updateState(X,!0);const M=this.rawClass;if(Array.isArray(M)||M instanceof Set)for(const X of M)this._updateState(X,!0);else if(null!=M)for(const X of Object.keys(M))this._updateState(X,Boolean(M[X]));this._applyStateDiff()}_updateState(M,X){const Ae=this.stateMap.get(M);void 0!==Ae?(Ae.enabled!==X&&(Ae.changed=!0,Ae.enabled=X),Ae.touched=!0):this.stateMap.set(M,{enabled:X,changed:!0,touched:!0})}_applyStateDiff(){for(const M of this.stateMap){const X=M[0],Ae=M[1];Ae.changed?(this._toggleClass(X,Ae.enabled),Ae.changed=!1):Ae.touched||(Ae.enabled&&this._toggleClass(X,!1),this.stateMap.delete(X)),Ae.touched=!1}}_toggleClass(M,X){(M=M.trim()).length>0&&M.split($n).forEach(Ae=>{X?this._renderer.addClass(this._ngEl.nativeElement,Ae):this._renderer.removeClass(this._ngEl.nativeElement,Ae)})}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),_})();class E{constructor($,M,X,Ae){this.$implicit=$,this.ngForOf=M,this.index=X,this.count=Ae}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let A=(()=>{class _{set ngForOf(M){this._ngForOf=M,this._ngForOfDirty=!0}set ngForTrackBy(M){this._trackByFn=M}get ngForTrackBy(){return this._trackByFn}constructor(M,X,Ae){this._viewContainer=M,this._template=X,this._differs=Ae,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(M){M&&(this._template=M)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const M=this._ngForOf;!this._differ&&M&&(this._differ=this._differs.find(M).create(this.ngForTrackBy))}if(this._differ){const M=this._differ.diff(this._ngForOf);M&&this._applyChanges(M)}}_applyChanges(M){const X=this._viewContainer;M.forEachOperation((Ae,it,gt)=>{if(null==Ae.previousIndex)X.createEmbeddedView(this._template,new E(Ae.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)X.remove(null===it?void 0:it);else if(null!==it){const zt=X.get(it);X.move(zt,gt),Z(zt,Ae)}});for(let Ae=0,it=X.length;Ae{Z(X.get(Ae.currentIndex),Ae)})}static ngTemplateContextGuard(M,X){return!0}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),_})();function Z(_,$){_.context.$implicit=$.item}let Ie=(()=>{class _{constructor(M,X){this._viewContainer=M,this._context=new ke,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=X}set ngIf(M){this._context.$implicit=this._context.ngIf=M,this._updateView()}set ngIfThen(M){tt("ngIfThen",M),this._thenTemplateRef=M,this._thenViewRef=null,this._updateView()}set ngIfElse(M){tt("ngIfElse",M),this._elseTemplateRef=M,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(M,X){return!0}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),_})();class ke{constructor(){this.$implicit=null,this.ngIf=null}}function tt(_,$){if($&&!$.createEmbeddedView)throw new Error(`${_} must be a TemplateRef, but received '${(0,i.AaK)($)}'.`)}class ct{constructor($,M){this._viewContainerRef=$,this._templateRef=M,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState($){$&&!this._created?this.create():!$&&this._created&&this.destroy()}}let vt=(()=>{class _{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(M){this._ngSwitch=M,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(M){this._defaultViews.push(M)}_matchCase(M){const X=M==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||X,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),X}_updateDefaultCases(M){if(this._defaultViews.length>0&&M!==this._defaultUsed){this._defaultUsed=M;for(const X of this._defaultViews)X.enforceState(M)}}}return _.\u0275fac=function(M){return new(M||_)},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),_})(),xe=(()=>{class _{constructor(M,X,Ae){this.ngSwitch=Ae,Ae._addCase(),this._view=new ct(M,X)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(vt,9))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),_})(),P=(()=>{class _{constructor(M,X,Ae){Ae._addDefault(new ct(M,X))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(vt,9))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngSwitchDefault",""]],standalone:!0}),_})(),He=(()=>{class _{constructor(M,X,Ae){this._ngEl=M,this._differs=X,this._renderer=Ae,this._ngStyle=null,this._differ=null}set ngStyle(M){this._ngStyle=M,!this._differ&&M&&(this._differ=this._differs.find(M).create())}ngDoCheck(){if(this._differ){const M=this._differ.diff(this._ngStyle);M&&this._applyChanges(M)}}_setStyle(M,X){const[Ae,it]=M.split("."),gt=-1===Ae.indexOf("-")?void 0:i.JOm.DashCase;null!=X?this._renderer.setStyle(this._ngEl.nativeElement,Ae,it?`${X}${it}`:X,gt):this._renderer.removeStyle(this._ngEl.nativeElement,Ae,gt)}_applyChanges(M){M.forEachRemovedItem(X=>this._setStyle(X.key,null)),M.forEachAddedItem(X=>this._setStyle(X.key,X.currentValue)),M.forEachChangedItem(X=>this._setStyle(X.key,X.currentValue))}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),_})(),ye=(()=>{class _{constructor(M){this._viewContainerRef=M,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(M){if(M.ngTemplateOutlet||M.ngTemplateOutletInjector){const X=this._viewContainerRef;if(this._viewRef&&X.remove(X.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Ae,ngTemplateOutletContext:it,ngTemplateOutletInjector:gt}=this;this._viewRef=X.createEmbeddedView(Ae,it,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&M.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.s_b))},_.\u0275dir=i.lG2({type:_,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),_})();function yt(_,$){return new i.vHH(2100,!1)}class _t{createSubscription($,M){return $.subscribe({next:M,error:X=>{throw X}})}dispose($){$.unsubscribe()}}class lt{createSubscription($,M){return $.then(M,X=>{throw X})}dispose($){}}const Et=new lt,Ft=new _t;let Lt=(()=>{class _{constructor(M){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=M}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(M){return this._obj?M!==this._obj?(this._dispose(),this.transform(M)):this._latestValue:(M&&this._subscribe(M),this._latestValue)}_subscribe(M){this._obj=M,this._strategy=this._selectStrategy(M),this._subscription=this._strategy.createSubscription(M,X=>this._updateLatestValue(M,X))}_selectStrategy(M){if((0,i.QGY)(M))return Et;if((0,i.F4k)(M))return Ft;throw yt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(M,X){M===this._obj&&(this._latestValue=X,this._ref.markForCheck())}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.sBO,16))},_.\u0275pipe=i.Yjl({name:"async",type:_,pure:!1,standalone:!0}),_})();const S=new i.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),se=new i.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Fe=(()=>{class _{constructor(M,X,Ae){this.locale=M,this.defaultTimezone=X,this.defaultOptions=Ae}transform(M,X,Ae,it){if(null==M||""===M||M!=M)return null;try{return rr(M,X??this.defaultOptions?.dateFormat??"mediumDate",it||this.locale,Ae??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(gt){throw yt()}}}return _.\u0275fac=function(M){return new(M||_)(i.Y36(i.soG,16),i.Y36(S,24),i.Y36(se,24))},_.\u0275pipe=i.Yjl({name:"date",type:_,pure:!0,standalone:!0}),_})(),zo=(()=>{class _{constructor(M){this._locale=M}transform(M,X,Ae){if(!function Fo(_){return!(null==_||""===_||_!=_)}(M))return null;Ae=Ae||this._locale;try{return function Er(_,$,M){return function Qn(_,$,M,X,Ae,it,gt=!1){let zt="",qn=!1;if(isFinite(_)){let Jn=function an(_){let X,Ae,it,gt,zt,$=Math.abs(_)+"",M=0;for((Ae=$.indexOf(Ke))>-1&&($=$.replace(Ke,"")),(it=$.search(/e/i))>0?(Ae<0&&(Ae=it),Ae+=+$.slice(it+1),$=$.substring(0,it)):Ae<0&&(Ae=$.length),it=0;$.charAt(it)===st;it++);if(it===(zt=$.length))X=[0],Ae=1;else{for(zt--;$.charAt(zt)===st;)zt--;for(Ae-=it,X=[],gt=0;it<=zt;it++,gt++)X[gt]=Number($.charAt(it))}return Ae>Ee&&(X=X.splice(0,Ee-1),M=Ae-1,Ae=1),{digits:X,exponent:M,integerLen:Ae}}(_);gt&&(Jn=function Nn(_){if(0===_.digits[0])return _;const $=_.digits.length-_.integerLen;return _.exponent?_.exponent+=2:(0===$?_.digits.push(0,0):1===$&&_.digits.push(0),_.integerLen+=2),_}(Jn));let Rn=$.minInt,wn=$.minFrac,cr=$.maxFrac;if(it){const Kr=it.match(Be);if(null===Kr)throw new Error(`${it} is not a valid digit info`);const eo=Kr[1],Oo=Kr[3],ao=Kr[5];null!=eo&&(Rn=kn(eo)),null!=Oo&&(wn=kn(Oo)),null!=ao?cr=kn(ao):null!=Oo&&wn>cr&&(cr=wn)}!function Wn(_,$,M){if($>M)throw new Error(`The minimum number of digits after fraction (${$}) is higher than the maximum (${M}).`);let X=_.digits,Ae=X.length-_.integerLen;const it=Math.min(Math.max($,Ae),M);let gt=it+_.integerLen,zt=X[gt];if(gt>0){X.splice(Math.max(_.integerLen,gt));for(let wn=gt;wn=5)if(gt-1<0){for(let wn=0;wn>gt;wn--)X.unshift(0),_.integerLen++;X.unshift(1),_.integerLen++}else X[gt-1]++;for(;Ae=Jn?ur.pop():qn=!1),cr>=10?1:0},0);Rn&&(X.unshift(Rn),_.integerLen++)}(Jn,wn,cr);let Hn=Jn.digits,ur=Jn.integerLen;const Ur=Jn.exponent;let Vr=[];for(qn=Hn.every(Kr=>!Kr);ur0?Vr=Hn.splice(ur,Hn.length):(Vr=Hn,Hn=[0]);const Co=[];for(Hn.length>=$.lgSize&&Co.unshift(Hn.splice(-$.lgSize,Hn.length).join(""));Hn.length>$.gSize;)Co.unshift(Hn.splice(-$.gSize,Hn.length).join(""));Hn.length&&Co.unshift(Hn.join("")),zt=Co.join(qe(M,X)),Vr.length&&(zt+=qe(M,Ae)+Vr.join("")),Ur&&(zt+=qe(M,ce.Exponential)+"+"+Ur)}else zt=qe(M,ce.Infinity);return zt=_<0&&!qn?$.negPre+zt+$.negSuf:$.posPre+zt+$.posSuf,zt}(_,function yr(_,$="-"){const M={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},X=_.split(wt),Ae=X[0],it=X[1],gt=-1!==Ae.indexOf(Ke)?Ae.split(Ke):[Ae.substring(0,Ae.lastIndexOf(st)+1),Ae.substring(Ae.lastIndexOf(st)+1)],zt=gt[0],qn=gt[1]||"";M.posPre=zt.substring(0,zt.indexOf(In));for(let Rn=0;Rn{class _{}return _.\u0275fac=function(M){return new(M||_)},_.\u0275mod=i.oAB({type:_}),_.\u0275inj=i.cJS({}),_})();const Oi="browser",Io="server";function Lo(_){return _===Oi}function Rr(_){return _===Io}let So=(()=>{class _{}return _.\u0275prov=(0,i.Yz7)({token:_,providedIn:"root",factory:()=>new Hi((0,i.LFG)(R),window)}),_})();class Hi{constructor($,M){this.document=$,this.window=M,this.offset=()=>[0,0]}setOffset($){this.offset=Array.isArray($)?()=>$:$}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition($){this.supportsScrolling()&&this.window.scrollTo($[0],$[1])}scrollToAnchor($){if(!this.supportsScrolling())return;const M=function Yo(_,$){const M=_.getElementById($)||_.getElementsByName($)[0];if(M)return M;if("function"==typeof _.createTreeWalker&&_.body&&(_.body.createShadowRoot||_.body.attachShadow)){const X=_.createTreeWalker(_.body,NodeFilter.SHOW_ELEMENT);let Ae=X.currentNode;for(;Ae;){const it=Ae.shadowRoot;if(it){const gt=it.getElementById($)||it.querySelector(`[name="${$}"]`);if(gt)return gt}Ae=X.nextNode()}}return null}(this.document,$);M&&(this.scrollToElement(M),M.focus())}setHistoryScrollRestoration($){if(this.supportScrollRestoration()){const M=this.window.history;M&&M.scrollRestoration&&(M.scrollRestoration=$)}}scrollToElement($){const M=$.getBoundingClientRect(),X=M.left+this.window.pageXOffset,Ae=M.top+this.window.pageYOffset,it=this.offset();this.window.scrollTo(X-it[0],Ae-it[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const $=ui(this.window.history)||ui(Object.getPrototypeOf(this.window.history));return!(!$||!$.writable&&!$.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ui(_){return Object.getOwnPropertyDescriptor(_,"scrollRestoration")}class Xr{}},4650:(pt,Pe,g)=>{"use strict";g.d(Pe,{$8M:()=>Qi,$WT:()=>Tn,$Z:()=>Gf,AFp:()=>Yg,ALo:()=>dg,AaK:()=>H,AsE:()=>Hu,B6R:()=>Ln,BQk:()=>Zl,CHM:()=>Wo,CRH:()=>Dg,CZH:()=>sc,CqO:()=>wh,D6c:()=>kC,DdM:()=>ng,EJc:()=>Xb,EpF:()=>Dh,F$t:()=>xh,F4k:()=>Eh,FYo:()=>If,FiY:()=>Es,G48:()=>_C,Gf:()=>bg,GfV:()=>Sf,GkF:()=>xu,Gpc:()=>q,Hsn:()=>Oh,JOm:()=>ni,KtG:()=>is,LFG:()=>gn,LMc:()=>$C,Lbi:()=>Kb,Lck:()=>q0,MAs:()=>Ch,MMx:()=>Ju,MR2:()=>nv,NdJ:()=>Pu,O4$:()=>ds,OlP:()=>dr,Oqu:()=>Vu,P3R:()=>hf,PXZ:()=>hC,Q6J:()=>Mu,QGY:()=>Ou,Qsj:()=>vv,R0b:()=>jo,RDi:()=>Rm,Rgc:()=>Xa,SBq:()=>Ba,Sil:()=>eC,Suo:()=>Cg,TTD:()=>No,TgZ:()=>Yl,Udp:()=>Bu,VKq:()=>rg,W1O:()=>Sg,WLB:()=>og,X6Q:()=>yC,XFs:()=>bt,Xpm:()=>In,Xts:()=>Kc,Y36:()=>ea,YKP:()=>Wp,YNc:()=>bh,Yjl:()=>Nn,Yz7:()=>qe,Z0I:()=>qt,ZZ4:()=>Ed,_Bn:()=>Gp,_UZ:()=>Au,_Vd:()=>ka,_c5:()=>LC,_uU:()=>Qh,aQg:()=>wd,c2e:()=>qb,cJS:()=>dt,cg1:()=>ju,dDg:()=>cC,dqk:()=>nn,eFA:()=>om,eJc:()=>ad,ekj:()=>$u,eoX:()=>em,f3M:()=>Xn,g9A:()=>Wg,h0i:()=>pa,hGG:()=>NC,hij:()=>Jl,iGM:()=>_g,ifc:()=>En,ip1:()=>zg,jDz:()=>Kp,kEZ:()=>ig,kL8:()=>yp,kcU:()=>fs,lG2:()=>yr,lcZ:()=>fg,lqb:()=>Os,lri:()=>Xg,n5z:()=>bi,oAB:()=>Mn,oxw:()=>Ah,qFp:()=>UC,qLn:()=>$a,qOj:()=>Du,qZA:()=>Gl,rWj:()=>Qg,s9C:()=>Ru,sBO:()=>bC,s_b:()=>rc,soG:()=>ac,tBr:()=>Ws,tb:()=>nm,tp0:()=>ws,uIk:()=>Iu,vHH:()=>K,vpe:()=>Mi,wAp:()=>cn,xi3:()=>hg,xp6:()=>Rf,ynx:()=>Wl,z2F:()=>lc,zSh:()=>Qc,zWS:()=>Su,zs3:()=>Ps});var i=g(7579),r=g(727),T=g(9751),k=g(6451),ne=g(3099);function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function V(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function H(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(H).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function le(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const me=R({__forward_ref__:R});function q(e){return e.__forward_ref__=q,e.toString=function(){return H(this())},e}function re(e){return he(e)?e():e}function he(e){return"function"==typeof e&&e.hasOwnProperty(me)&&e.__forward_ref__===q}function ae(e){return e&&!!e.\u0275providers}const ie="https://g.co/ng/security#xss";class K extends Error{constructor(t,n){super(fe(t,n)),this.code=t}}function fe(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function _e(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(e,t){throw new K(-201,!1)}function N(e,t){null==e&&function j(e,t,n,o){throw new Error(`ASSERTION ERROR: ${e}`+(null==o?"":` [Expected=> ${n} ${o} ${t} <=Actual]`))}(t,e,null,"!=")}function qe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dt(e){return{providers:e.providers||[],imports:e.imports||[]}}function xt(e){return Vt(e,Je)||Vt(e,nt)}function qt(e){return null!==xt(e)}function Vt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ut(e){return e&&(e.hasOwnProperty(et)||e.hasOwnProperty(It))?e[et]:null}const Je=R({\u0275prov:R}),et=R({\u0275inj:R}),nt=R({ngInjectableDef:R}),It=R({ngInjectorDef:R});var bt=(()=>((bt=bt||{})[bt.Default=0]="Default",bt[bt.Host=1]="Host",bt[bt.Self=2]="Self",bt[bt.SkipSelf=4]="SkipSelf",bt[bt.Optional=8]="Optional",bt))();let on;function tn(e){const t=on;return on=e,t}function en(e,t,n){const o=xt(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&bt.Optional?null:void 0!==t?t:void Ve(H(e))}const nn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),rr={},hn="__NG_DI_FLAG__",Cn="ngTempTokenPath",nr="ngTokenPath",xn=/\n/gm,or="\u0275",pn="__source";let fr;function rn(e){const t=fr;return fr=e,t}function mr(e,t=bt.Default){if(void 0===fr)throw new K(-203,!1);return null===fr?en(e,void 0,t):fr.get(e,t&bt.Optional?null:void 0,t)}function gn(e,t=bt.Default){return(function Jt(){return on}()||mr)(re(e),t)}function Xn(e,t=bt.Default){return gn(e,ir(t))}function ir(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function br(e){const t=[];for(let n=0;n((Dn=Dn||{})[Dn.OnPush=0]="OnPush",Dn[Dn.Default=1]="Default",Dn))(),En=(()=>{return(e=En||(En={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",En;var e})();const yn={},sn=[],Ze=R({\u0275cmp:R}),Be=R({\u0275dir:R}),Ee=R({\u0275pipe:R}),Ke=R({\u0275mod:R}),st=R({\u0275fac:R}),wt=R({__NG_ELEMENT_ID__:R});let Qt=0;function In(e){return Fn(()=>{const t=hr(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Dn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||En.Emulated,id:"c"+Qt++,styles:e.styles||sn,_:null,schemas:e.schemas||null,tView:null};bn(n);const o=e.dependencies;return n.directiveDefs=zn(o,!1),n.pipeDefs=zn(o,!0),n})}function Ln(e,t,n){const o=e.\u0275cmp;o.directiveDefs=zn(t,!1),o.pipeDefs=zn(n,!0)}function gr(e){return an(e)||Wn(e)}function Qn(e){return null!==e}function Mn(e){return Fn(()=>({type:e.type,bootstrap:e.bootstrap||sn,declarations:e.declarations||sn,imports:e.imports||sn,exports:e.exports||sn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Er(e,t){if(null==e)return yn;const n={};for(const o in e)if(e.hasOwnProperty(o)){let s=e[o],a=s;Array.isArray(s)&&(a=s[1],s=s[0]),n[s]=o,t&&(t[s]=a)}return n}function yr(e){return Fn(()=>{const t=hr(e);return bn(t),t})}function Nn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function an(e){return e[Ze]||null}function Wn(e){return e[Be]||null}function kn(e){return e[Ee]||null}function Tn(e){const t=an(e)||Wn(e)||kn(e);return null!==t&&t.standalone}function Bn(e,t){const n=e[Ke]||null;if(!n&&!0===t)throw new Error(`Type ${H(e)} does not have '\u0275mod' property.`);return n}function hr(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||sn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Er(e.inputs,t),outputs:Er(e.outputs)}}function bn(e){e.features?.forEach(t=>t(e))}function zn(e,t){if(!e)return null;const n=t?kn:gr;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Qn)}const $n=0,Dt=1,Mt=2,Pn=3,pe=4,C=5,E=6,A=7,Z=8,ge=9,Ie=10,ke=11,tt=12,ct=13,vt=14,xe=15,P=16,Y=17,Se=18,Oe=19,He=20,ye=21,Qe=22,_t=1,lt=2,Et=7,Ft=8,Lt=9,Zt=10;function dn(e){return Array.isArray(e)&&"object"==typeof e[_t]}function h(e){return Array.isArray(e)&&!0===e[_t]}function ee(e){return 0!=(4&e.flags)}function S(e){return e.componentOffset>-1}function se(e){return 1==(1&e.flags)}function Fe(e){return!!e.template}function mn(e){return 0!=(256&e[Mt])}function pr(e,t){return e.hasOwnProperty(st)?e[st]:null}class ci{constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function No(){return So}function So(e){return e.type.prototype.ngOnChanges&&(e.setInput=ui),Hi}function Hi(){const e=Pi(this),t=e?.current;if(t){const n=e.previous;if(n===yn)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function ui(e,t,n,o){const s=this.declaredInputs[n],a=Pi(e)||function Xr(e,t){return e[Yo]=t}(e,{previous:yn,current:null}),u=a.current||(a.current={}),v=a.previous,D=v[s];u[s]=new ci(D&&D.currentValue,t,v===yn),e[o]=t}No.ngInherit=!0;const Yo="__ngSimpleChanges__";function Pi(e){return e[Yo]||null}const _n=function(e,t,n){},Mo="svg";function _r(e){for(;Array.isArray(e);)e=e[$n];return e}function ko(e,t){return _r(t[e])}function Mr(e,t){return _r(t[e.index])}function po(e,t){return e.data[t]}function go(e,t){return e[t]}function Nr(e,t){const n=t[e];return dn(n)?n:n[$n]}function kr(e){return 64==(64&e[Mt])}function mo(e,t){return null==t?null:e[t]}function To(e){e[Se]=0}function no(e,t){e[C]+=t;let n=e,o=e[Pn];for(;null!==o&&(1===t&&1===n[C]||-1===t&&0===n[C]);)o[C]+=t,n=o,o=o[Pn]}const ln={lFrame:ls(null),bindingsEnabled:!0};function ot(){return ln.bindingsEnabled}function ut(){return ln.lFrame.lView}function vn(){return ln.lFrame.tView}function Wo(e){return ln.lFrame.contextLView=e,e[Z]}function is(e){return ln.lFrame.contextLView=null,e}function Fr(){let e=Un();for(;null!==e&&64===e.type;)e=e.parent;return e}function Un(){return ln.lFrame.currentTNode}function ro(e,t){const n=ln.lFrame;n.currentTNode=e,n.isParent=t}function ji(){return ln.lFrame.isParent}function Bo(){ln.lFrame.isParent=!1}function Tr(){const e=ln.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function yo(){return ln.lFrame.bindingIndex++}function _o(e){const t=ln.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function pi(e,t){const n=ln.lFrame;n.bindingIndex=n.bindingRootIndex=e,gi(t)}function gi(e){ln.lFrame.currentDirectiveIndex=e}function Ko(){return ln.lFrame.currentQueryIndex}function bo(e){ln.lFrame.currentQueryIndex=e}function ss(e){const t=e[Dt];return 2===t.type?t.declTNode:1===t.type?e[E]:null}function qo(e,t,n){if(n&bt.SkipSelf){let s=t,a=e;for(;!(s=s.parent,null!==s||n&bt.Host||(s=ss(a),null===s||(a=a[xe],10&s.type))););if(null===s)return!1;t=s,e=a}const o=ln.lFrame=as();return o.currentTNode=t,o.lView=e,!0}function Fi(e){const t=as(),n=e[Dt];ln.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function as(){const e=ln.lFrame,t=null===e?null:e.child;return null===t?ls(e):t}function ls(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cs(){const e=ln.lFrame;return ln.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wi=cs;function mi(){const e=cs();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Br(){return ln.lFrame.selectedIndex}function xo(e){ln.lFrame.selectedIndex=e}function lr(){const e=ln.lFrame;return po(e.tView,e.selectedIndex)}function ds(){ln.lFrame.currentNamespace=Mo}function fs(){!function hs(){ln.lFrame.currentNamespace=null}()}function vi(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[D]<0&&(e[Se]+=65536),(v>11>16&&(3&e[Mt])===t){e[Mt]+=2048,_n(4,v,a);try{a.call(v)}finally{_n(5,v,a)}}}else{_n(4,v,a);try{a.call(v)}finally{_n(5,v,a)}}}const X=-1;class Ae{constructor(t,n,o){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=o}}function Hn(e,t,n){let o=0;for(;ot){u=a-1;break}}}for(;a>16}(e),o=t;for(;n>0;)o=o[xe],n--;return o}let gs=!0;function Jo(e){const t=gs;return gs=e,t}const Us=255,qi=5;let va=0;const Do={};function Ji(e,t){const n=Vs(e,t);if(-1!==n)return n;const o=t[Dt];o.firstCreatePass&&(e.injectorIndex=t.length,Hr(o.data,e),Hr(t,null),Hr(o.blueprint,null));const s=_i(e,t),a=e.injectorIndex;if(Kr(s)){const u=eo(s),v=ao(s,t),D=v[Dt].data;for(let B=0;B<8;B++)t[a+B]=v[u+B]|D[u+B]}return t[a+8]=s,a}function Hr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _i(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,s=t;for(;null!==s;){if(o=Da(s),null===o)return X;if(n++,s=s[xe],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return X}function ms(e,t,n){!function ya(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(wt)&&(o=n[wt]),null==o&&(o=n[wt]=va++);const s=o&Us;t.data[e+(s>>qi)]|=1<=0?t&Us:Eo:t}(n);if("function"==typeof a){if(!qo(t,e,o))return o&bt.Host?vs(s,0,o):js(t,n,o,s);try{const u=a(o);if(null!=u||o&bt.Optional)return u;Ve()}finally{Wi()}}else if("number"==typeof a){let u=null,v=Vs(e,t),D=X,B=o&bt.Host?t[P][E]:null;for((-1===v||o&bt.SkipSelf)&&(D=-1===v?_i(e,t):t[v+8],D!==X&&Ca(o,!1)?(u=t[Dt],v=eo(D),t=ao(D,t)):v=-1);-1!==v;){const te=t[Dt];if(Xo(a,v,te.data)){const Me=ys(v,t,n,u,o,B);if(Me!==Do)return Me}D=t[v+8],D!==X&&Ca(o,t[Dt].data[v+8]===B)&&Xo(a,v,t)?(u=te,v=eo(D),t=ao(D,t)):v=-1}}return s}function ys(e,t,n,o,s,a){const u=t[Dt],v=u.data[e+8],te=Li(v,u,n,null==o?S(v)&&gs:o!=u&&0!=(3&v.type),s&bt.Host&&a===v);return null!==te?Ar(t,u,te,v):Do}function Li(e,t,n,o,s){const a=e.providerIndexes,u=t.data,v=1048575&a,D=e.directiveStart,te=a>>20,ze=s?v+te:e.directiveEnd;for(let Xe=o?v:v+te;Xe=D&&mt.type===n)return Xe}if(s){const Xe=u[D];if(Xe&&Fe(Xe)&&Xe.type===n)return D}return null}function Ar(e,t,n,o){let s=e[n];const a=t.data;if(function it(e){return e instanceof Ae}(s)){const u=s;u.resolving&&function we(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new K(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Ue(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():_e(e)}(a[n]));const v=Jo(u.canSeeViewProviders);u.resolving=!0;const D=u.injectImpl?tn(u.injectImpl):null;qo(e,o,bt.Default);try{s=e[n]=u.factory(void 0,a,e,o),t.firstCreatePass&&n>=o.directiveStart&&function ps(e,t,n){const{ngOnChanges:o,ngOnInit:s,ngDoCheck:a}=t.type.prototype;if(o){const u=So(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,u),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,u)}s&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,s),a&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==D&&tn(D),Jo(v),u.resolving=!1,Wi()}}return s}function Xo(e,t,n){return!!(n[t+(e>>qi)]&1<{const t=e.prototype.constructor,n=t[st]||Xi(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const a=s[st]||Xi(s);if(a&&a!==n)return a;s=Object.getPrototypeOf(s)}return a=>new a})}function Xi(e){return he(e)?()=>{const t=Xi(re(e));return t&&t()}:pr(e)}function Da(e){const t=e[Dt],n=t.type;return 2===n?t.declTNode:1===n?e[E]:null}function Qi(e){return function Hs(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let s=0;for(;s{const o=function _s(e){return function(...n){if(e){const o=e(...n);for(const s in o)this[s]=o[s]}}}(t);function s(...a){if(this instanceof s)return o.apply(this,a),this;const u=new s(...a);return v.annotation=u,v;function v(D,B,te){const Me=D.hasOwnProperty(Uo)?D[Uo]:Object.defineProperty(D,Uo,{value:[]})[Uo];for(;Me.length<=te;)Me.push(null);return(Me[te]=Me[te]||[]).push(u),D}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}class dr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=qe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function f(e,t){e.forEach(n=>Array.isArray(n)?f(n,t):t(n))}function m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function c(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function b(e,t){const n=[];for(let o=0;o=0?e[1|o]=n:(o=~o,function de(e,t,n,o){let s=e.length;if(s==t)e.push(n,o);else if(1===s)e.push(o,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function kt(e,t){const n=Bt(e,t);if(n>=0)return e[1|n]}function Bt(e,t){return function Or(e,t,n){let o=0,s=e.length>>n;for(;s!==o;){const a=o+(s-o>>1),u=e[a<t?s=a:o=a+1}return~(s<({token:e})),-1),Es=Kn(ei("Optional"),8),ws=Kn(ei("SkipSelf"),4);var ni=(()=>((ni=ni||{})[ni.Important=1]="Important",ni[ni.DashCase=2]="DashCase",ni))();const Cl=new Map;let kd=0;const Oa="__ngContext__";function qr(e,t){dn(t)?(e[Oa]=t[He],function Tc(e){Cl.set(e[He],e)}(t)):e[Oa]=t}let l;function y(e,t){return l(e,t)}function De(e){const t=e[Pn];return h(t)?t[Pn]:t}function rt(e){return Yt(e[ct])}function Pt(e){return Yt(e[pe])}function Yt(e){for(;null!==e&&!h(e);)e=e[pe];return e}function Tt(e,t,n,o,s){if(null!=o){let a,u=!1;h(o)?a=o:dn(o)&&(u=!0,o=o[$n]);const v=_r(o);0===e&&null!==n?null==s?Hd(t,n,v):As(t,n,v,s||null,!0):1===e&&null!==n?As(t,n,v,s||null,!0):2===e?function Uc(e,t,n){const o=Ml(e,t);o&&function wm(e,t,n,o){e.removeChild(t,n,o)}(e,o,t,n)}(t,v,u):3===e&&t.destroyNode(v),null!=a&&function Mm(e,t,n,o,s){const a=n[Et];a!==_r(n)&&Tt(t,e,o,a,s);for(let v=Zt;v0&&(e[n-1][pe]=o[pe]);const a=c(e,Zt+t);!function er(e,t){Ra(e,t,t[ke],2,null,null),t[$n]=null,t[E]=null}(o[Dt],o);const u=a[Oe];null!==u&&u.detachView(a[Dt]),o[Pn]=null,o[pe]=null,o[Mt]&=-65}return o}function $d(e,t){if(!(128&t[Mt])){const n=t[ke];n.destroyNode&&Ra(e,t,n,3,null,null),function Fc(e){let t=e[ct];if(!t)return kc(e[Dt],e);for(;t;){let n=null;if(dn(t))n=t[ct];else{const o=t[Zt];o&&(n=o)}if(!n){for(;t&&!t[pe]&&t!==e;)dn(t)&&kc(t[Dt],t),t=t[Pn];null===t&&(t=e),dn(t)&&kc(t[Dt],t),n=t&&t[pe]}t=n}}(t)}}function kc(e,t){if(!(128&t[Mt])){t[Mt]&=-65,t[Mt]|=128,function Em(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[s=u]():o[s=-u].unsubscribe(),a+=2}else{const u=o[s=n[a+1]];n[a].call(u)}if(null!==o){for(let a=s+1;a-1){const{encapsulation:a}=e.data[o.directiveStart+s];if(a===En.None||a===En.Emulated)return null}return Mr(o,n)}}(e,t.parent,n)}function As(e,t,n,o,s){e.insertBefore(t,n,o,s)}function Hd(e,t,n){e.appendChild(t,n)}function jd(e,t,n,o,s){null!==o?As(e,t,n,o,s):Hd(e,t,n)}function Ml(e,t){return e.parentNode(t)}function zd(e,t,n){return Gd(e,t,n)}let Bc,jc,Ol,Gd=function Yd(e,t,n){return 40&e.type?Mr(e,n):null};function Tl(e,t,n,o){const s=Ud(e,o,t),a=t[ke],v=zd(o.parent||t[E],o,t);if(null!=s)if(Array.isArray(n))for(let D=0;De,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ol}()?.createScriptURL(e)||e}class nf{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ie})`}}function ns(e){return e instanceof nf?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){const n=function $m(e){return e instanceof nf&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ie})`)}return n===t}const jm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var jr=(()=>((jr=jr||{})[jr.NONE=0]="NONE",jr[jr.HTML=1]="HTML",jr[jr.STYLE=2]="STYLE",jr[jr.SCRIPT=3]="SCRIPT",jr[jr.URL=4]="URL",jr[jr.RESOURCE_URL=5]="RESOURCE_URL",jr))();function df(e){const t=Na();return t?t.sanitize(jr.URL,e)||"":Fa(e,"URL")?ns(e):function Yc(e){return(e=String(e)).match(jm)?e:"unsafe:"+e}(_e(e))}function ff(e){const t=Na();if(t)return tf(t.sanitize(jr.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return tf(ns(e));throw new K(904,!1)}function hf(e,t,n){return function tv(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ff:df}(t,n)(e)}function Na(){const e=ut();return e&&e[tt]}const Kc=new dr("ENVIRONMENT_INITIALIZER"),pf=new dr("INJECTOR",-1),gf=new dr("INJECTOR_DEF_TYPES");class mf{get(t,n=rr){if(n===rr){const o=new Error(`NullInjectorError: No provider for ${H(t)}!`);throw o.name="NullInjectorError",o}return n}}function nv(e){return{\u0275providers:e}}function rv(...e){return{\u0275providers:vf(0,e),\u0275fromNgModule:!0}}function vf(e,...t){const n=[],o=new Set;let s;return f(t,a=>{const u=a;qc(u,n,[],o)&&(s||(s=[]),s.push(u))}),void 0!==s&&yf(s,n),n}function yf(e,t){for(let n=0;n{t.push(a)})}}function qc(e,t,n,o){if(!(e=re(e)))return!1;let s=null,a=Ut(e);const u=!a&&an(e);if(a||u){if(u&&!u.standalone)return!1;s=e}else{const D=e.ngModule;if(a=Ut(D),!a)return!1;s=D}const v=o.has(s);if(u){if(v)return!1;if(o.add(s),u.dependencies){const D="function"==typeof u.dependencies?u.dependencies():u.dependencies;for(const B of D)qc(B,t,n,o)}}else{if(!a)return!1;{if(null!=a.imports&&!v){let B;o.add(s);try{f(a.imports,te=>{qc(te,t,n,o)&&(B||(B=[]),B.push(te))})}finally{}void 0!==B&&yf(B,t)}if(!v){const B=pr(s)||(()=>new s);t.push({provide:s,useFactory:B,deps:sn},{provide:gf,useValue:s,multi:!0},{provide:Kc,useValue:()=>gn(s),multi:!0})}const D=a.providers;null==D||v||Jc(D,te=>{t.push(te)})}}return s!==e&&void 0!==e.providers}function Jc(e,t){for(let n of e)ae(n)&&(n=n.\u0275providers),Array.isArray(n)?Jc(n,t):t(n)}const ov=R({provide:String,useValue:R});function Xc(e){return null!==e&&"object"==typeof e&&ov in e}function xs(e){return"function"==typeof e}const Qc=new dr("Set Injector scope."),Rl={},sv={};let eu;function Fl(){return void 0===eu&&(eu=new mf),eu}class Os{}class Cf extends Os{get destroyed(){return this._destroyed}constructor(t,n,o,s){super(),this.parent=n,this.source=o,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,nu(t,u=>this.processProvider(u)),this.records.set(pf,qs(void 0,this)),s.has("environment")&&this.records.set(Os,qs(void 0,this));const a=this.records.get(Qc);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(gf.multi,sn,bt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=rn(this),o=tn(void 0);try{return t()}finally{rn(n),tn(o)}}get(t,n=rr,o=bt.Default){this.assertNotDestroyed(),o=ir(o);const s=rn(this),a=tn(void 0);try{if(!(o&bt.SkipSelf)){let v=this.records.get(t);if(void 0===v){const D=function dv(e){return"function"==typeof e||"object"==typeof e&&e instanceof dr}(t)&&xt(t);v=D&&this.injectableDefInScope(D)?qs(tu(t),Rl):null,this.records.set(t,v)}if(null!=v)return this.hydrate(t,v)}return(o&bt.Self?Fl():this.parent).get(t,n=o&bt.Optional&&n===rr?null:n)}catch(u){if("NullInjectorError"===u.name){if((u[Cn]=u[Cn]||[]).unshift(H(t)),s)throw u;return function vr(e,t,n,o){const s=e[Cn];throw t[pn]&&s.unshift(t[pn]),e.message=function Ir(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==or?e.slice(2):e;let s=H(t);if(Array.isArray(t))s=t.map(H).join(" -> ");else if("object"==typeof t){let a=[];for(let u in t)if(t.hasOwnProperty(u)){let v=t[u];a.push(u+":"+("string"==typeof v?JSON.stringify(v):H(v)))}s=`{${a.join(", ")}}`}return`${n}${o?"("+o+")":""}[${s}]: ${e.replace(xn,"\n ")}`}("\n"+e.message,s,n,o),e[nr]=s,e[Cn]=null,e}(u,t,"R3InjectorError",this.source)}throw u}finally{tn(a),rn(s)}}resolveInjectorInitializers(){const t=rn(this),n=tn(void 0);try{const o=this.get(Kc.multi,sn,bt.Self);for(const s of o)s()}finally{rn(t),tn(n)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(H(o));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new K(205,!1)}processProvider(t){let n=xs(t=re(t))?t:re(t&&t.provide);const o=function lv(e){return Xc(e)?qs(void 0,e.useValue):qs(Df(e),Rl)}(t);if(xs(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=qs(void 0,Rl,!0),s.factory=()=>br(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,o)}hydrate(t,n){return n.value===Rl&&(n.value=sv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function uv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=re(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function tu(e){const t=xt(e),n=null!==t?t.factory:pr(e);if(null!==n)return n;if(e instanceof dr)throw new K(204,!1);if(e instanceof Function)return function av(e){const t=e.length;if(t>0)throw b(t,"?"),new K(204,!1);const n=function Ht(e){return e&&(e[Je]||e[nt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new K(204,!1)}function Df(e,t,n){let o;if(xs(e)){const s=re(e);return pr(s)||tu(s)}if(Xc(e))o=()=>re(e.useValue);else if(function bf(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...br(e.deps||[]));else if(function _f(e){return!(!e||!e.useExisting)}(e))o=()=>gn(re(e.useExisting));else{const s=re(e&&(e.useClass||e.provide));if(!function cv(e){return!!e.deps}(e))return pr(s)||tu(s);o=()=>new s(...br(e.deps))}return o}function qs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function nu(e,t){for(const n of e)Array.isArray(n)?nu(n,t):n&&ae(n)?nu(n.\u0275providers,t):t(n)}class fv{}class Ef{}class pv{resolveComponentFactory(t){throw function hv(e){const t=Error(`No component factory found for ${H(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let ka=(()=>{class e{}return e.NULL=new pv,e})();function gv(){return Js(Fr(),ut())}function Js(e,t){return new Ba(Mr(e,t))}let Ba=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gv,e})();function mv(e){return e instanceof Ba?e.nativeElement:e}class If{}let vv=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function yv(){const e=ut(),n=Nr(Fr().index,e);return(dn(n)?n:e)[ke]}(),e})(),_v=(()=>{class e{}return e.\u0275prov=qe({token:e,providedIn:"root",factory:()=>null}),e})();class Sf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const bv=new Sf("15.2.10"),ru={},ou="ngOriginalError";function iu(e){return e[ou]}class $a{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&iu(t);for(;n&&iu(n);)n=iu(n);return n||null}}function $i(e){return e instanceof Function?e():e}function Tf(e,t,n){let o=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const a=t.length;if(s+a===o||e.charCodeAt(s+a)<=32)return s}n=s+1}}const Af="ng-template";function Ov(e,t,n){let o=0,s=!0;for(;oa?"":s[Me+1].toLowerCase();const Xe=8&o?ze:null;if(Xe&&-1!==Tf(Xe,B,0)||2&o&&B!==ze){if(ri(o))return!1;u=!0}}}}else{if(!u&&!ri(o)&&!ri(D))return!1;if(u&&ri(D))continue;u=!1,o=D|1&o}}return ri(o)||u}function ri(e){return 0==(1&e)}function Fv(e,t,n,o){if(null===t)return-1;let s=0;if(o||!n){let a=!1;for(;s-1)for(n++;n0?'="'+v+'"':"")+"]"}else 8&o?s+="."+u:4&o&&(s+=" "+u);else""!==s&&!ri(u)&&(t+=Pf(a,s),s=""),o=u,a=a||!ri(o);n++}return""!==s&&(t+=Pf(a,s)),t}const An={};function Rf(e){Ff(vn(),ut(),Br()+e,!1)}function Ff(e,t,n,o){if(!o)if(3==(3&t[Mt])){const a=e.preOrderCheckHooks;null!==a&&Ki(t,a,n)}else{const a=e.preOrderHooks;null!==a&&yi(t,a,0,n)}xo(n)}function Bf(e,t=null,n=null,o){const s=$f(e,t,n,o);return s.resolveInjectorInitializers(),s}function $f(e,t=null,n=null,o,s=new Set){const a=[n||sn,rv(e)];return o=o||("object"==typeof e?void 0:H(e)),new Cf(a,t||Fl(),o||null,s)}let Ps=(()=>{class e{static create(n,o){if(Array.isArray(n))return Bf({name:""},o,n,"");{const s=n.name??"";return Bf({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=rr,e.NULL=new mf,e.\u0275prov=qe({token:e,providedIn:"any",factory:()=>gn(pf)}),e.__NG_ELEMENT_ID__=-1,e})();function ea(e,t=bt.Default){const n=ut();return null===n?gn(e,t):_a(Fr(),n,re(e),t)}function Gf(){throw new Error("invalid")}function Wf(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;oQe&&Ff(e,t,Qe,!1),_n(u?2:0,s),n(o,s)}finally{xo(a),_n(u?3:1,s)}}function fu(e,t,n){if(ee(t)){const s=t.directiveEnd;for(let a=t.directiveStart;a0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(u)!=v&&u.push(v),u.push(n,o,a)}}(e,t,o,Ua(e,n,s.hostVars,An),s)}function Ei(e,t,n,o,s,a){const u=Mr(e,t);!function yu(e,t,n,o,s,a,u){if(null==a)e.removeAttribute(t,s,n);else{const v=null==u?_e(a):u(a,o||"",s);e.setAttribute(t,s,v,n)}}(t[ke],u,a,e.value,n,o,s)}function Sy(e,t,n,o,s,a){const u=a[t];if(null!==u){const v=o.setInput;for(let D=0;D0&&_u(n)}}function _u(e){for(let o=rt(e);null!==o;o=Pt(o))for(let s=Zt;s0&&_u(a)}const n=e[Dt].components;if(null!==n)for(let o=0;o0&&_u(s)}}function Oy(e,t){const n=Nr(t,e),o=n[Dt];(function Py(e,t){for(let n=t.length;n-1&&(Nc(t,o),c(n,o))}this._attachedToViewContainer=!1}$d(this._lView[Dt],this._lView)}onDestroy(t){qf(this._lView[Dt],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[Mt]&=-65}reattach(){this._lView[Mt]|=64}detectChanges(){Ul(this._lView[Dt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new K(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Vo(e,t){Ra(e,t,t[ke],2,null,null)}(this._lView[Dt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new K(902,!1);this._appRef=t}}class Ry extends Va{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ul(t[Dt],t,t[Z],!1)}checkNoChanges(){}get context(){return null}}class sh extends ka{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=an(t);return new Ha(n,this.ngModule)}}function ah(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Ly{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,o){o=ir(o);const s=this.injector.get(t,ru,o);return s!==ru||n===ru?s:this.parentInjector.get(t,n,o)}}class Ha extends Ef{get inputs(){return ah(this.componentDef.inputs)}get outputs(){return ah(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Uv(e){return e.map($v).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,o,s){let a=(s=s||this.ngModule)instanceof Os?s:s?.injector;a&&null!==this.componentDef.getStandaloneInjector&&(a=this.componentDef.getStandaloneInjector(a)||a);const u=a?new Ly(t,a):t,v=u.get(If,null);if(null===v)throw new K(407,!1);const D=u.get(_v,null),B=v.createRenderer(null,this.componentDef),te=this.componentDef.selectors[0][0]||"div",Me=o?function uy(e,t,n){return e.selectRootElement(t,n===En.ShadowDom)}(B,o,this.componentDef.encapsulation):Wt(B,te,function Fy(e){const t=e.toLowerCase();return"svg"===t?Mo:"math"===t?"math":null}(te)),ze=this.componentDef.onPush?288:272,Xe=gu(0,null,null,1,0,null,null,null,null,null),mt=Nl(null,Xe,null,ze,null,null,v,B,D,u,null);let Ot,$t;Fi(mt);try{const Kt=this.componentDef;let fn,St=null;Kt.findHostDirectiveDefs?(fn=[],St=new Map,Kt.findHostDirectiveDefs(Kt,fn,St),fn.push(Kt)):fn=[Kt];const Sn=function ky(e,t){const n=e[Dt],o=Qe;return e[o]=t,ta(n,o,2,"#host",null)}(mt,Me),wr=function By(e,t,n,o,s,a,u,v){const D=s[Dt];!function $y(e,t,n,o){for(const s of e)t.mergedAttrs=Vr(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(Vl(t,t.mergedAttrs,!0),null!==n&&Jd(o,n,t))}(o,e,t,u);const B=a.createRenderer(t,n),te=Nl(s,Kf(n),null,n.onPush?32:16,s[e.index],e,a,B,v||null,null,null);return D.firstCreatePass&&vu(D,e,o.length-1),Bl(s,te),s[e.index]=te}(Sn,Me,Kt,fn,mt,v,B);$t=po(Xe,Qe),Me&&function Vy(e,t,n,o){if(o)Hn(e,n,["ng-version",bv.full]);else{const{attrs:s,classes:a}=function Vv(e){const t=[],n=[];let o=1,s=2;for(;o0&&qd(e,n,a.join(" "))}}(B,Kt,Me,o),void 0!==n&&function Hy(e,t,n){const o=e.projection=[];for(let s=0;s=0;o--){const s=e[o];s.hostVars=t+=s.hostVars,s.hostAttrs=Vr(s.hostAttrs,n=Vr(n,s.hostAttrs))}}(o)}function Eu(e){return e===yn?{}:e===sn?[]:e}function Yy(e,t){const n=e.viewQuery;e.viewQuery=n?(o,s)=>{t(o,s),n(o,s)}:t}function Gy(e,t){const n=e.contentQueries;e.contentQueries=n?(o,s,a)=>{t(o,s,a),n(o,s,a)}:t}function Wy(e,t){const n=e.hostBindings;e.hostBindings=n?(o,s)=>{t(o,s),n(o,s)}:t}function jl(e){return!!wu(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function wi(e,t,n){return e[t]=n}function io(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Rs(e,t,n,o){const s=io(e,t,n);return io(e,t+1,o)||s}function Iu(e,t,n,o){const s=ut();return io(s,yo(),t)&&(vn(),Ei(lr(),s,e,t,n,o)),Iu}function ra(e,t,n,o){return io(e,yo(),n)?t+_e(n)+o:An}function oa(e,t,n,o,s,a){const v=Rs(e,function ar(){return ln.lFrame.bindingIndex}(),n,s);return _o(2),v?t+_e(n)+o+_e(s)+a:An}function Su(e,t,n,o,s,a,u,v){const D=ut(),B=oa(D,t,n,o,s,a);return B!==An&&Ei(lr(),D,e,B,u,v),Su}function bh(e,t,n,o,s,a,u,v){const D=ut(),B=vn(),te=e+Qe,Me=B.firstCreatePass?function r_(e,t,n,o,s,a,u,v,D){const B=t.consts,te=ta(t,e,4,u||null,mo(B,v));mu(t,n,te,mo(B,D)),vi(t,te);const Me=te.tView=gu(2,te,o,s,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,B);return null!==t.queries&&(t.queries.template(t,te),Me.queries=t.queries.embeddedTView(te)),te}(te,B,D,t,n,o,s,a,u):B.data[te];ro(Me,!1);const ze=D[ke].createComment("");Tl(B,D,ze,Me),qr(ze,D),Bl(D,D[te]=th(ze,D,ze,Me)),se(Me)&&hu(B,D,Me),null!=u&&pu(D,Me,v)}function Ch(e){return go(function ks(){return ln.lFrame.contextLView}(),Qe+e)}function Mu(e,t,n){const o=ut();return io(o,yo(),t)&&Ro(vn(),lr(),o,e,t,o[ke],n,!1),Mu}function Tu(e,t,n,o,s){const u=s?"class":"style";Cu(e,n,t.inputs[u],u,o)}function Yl(e,t,n,o){const s=ut(),a=vn(),u=Qe+e,v=s[ke],D=a.firstCreatePass?function i_(e,t,n,o,s,a){const u=t.consts,D=ta(t,e,2,o,mo(u,s));return mu(t,n,D,mo(u,a)),null!==D.attrs&&Vl(D,D.attrs,!1),null!==D.mergedAttrs&&Vl(D,D.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,D),D}(u,a,s,t,n,o):a.data[u],B=s[u]=Wt(v,t,function $s(){return ln.lFrame.currentNamespace}()),te=se(D);return ro(D,!0),Jd(v,B,D),32!=(32&D.flags)&&Tl(a,s,B,D),0===function O(){return ln.lFrame.elementDepthCount}()&&qr(B,s),function w(){ln.lFrame.elementDepthCount++}(),te&&(hu(a,s,D),fu(a,D,s)),null!==o&&pu(s,D),Yl}function Gl(){let e=Fr();ji()?Bo():(e=e.parent,ro(e,!1));const t=e;!function oe(){ln.lFrame.elementDepthCount--}();const n=vn();return n.firstCreatePass&&(vi(n,e),ee(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Jn(e){return 0!=(8&e.flags)}(t)&&Tu(n,t,ut(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Rn(e){return 0!=(16&e.flags)}(t)&&Tu(n,t,ut(),t.stylesWithoutHost,!1),Gl}function Au(e,t,n,o){return Yl(e,t,n,o),Gl(),Au}function Wl(e,t,n){const o=ut(),s=vn(),a=e+Qe,u=s.firstCreatePass?function s_(e,t,n,o,s){const a=t.consts,u=mo(a,o),v=ta(t,e,8,"ng-container",u);return null!==u&&Vl(v,u,!0),mu(t,n,v,mo(a,s)),null!==t.queries&&t.queries.elementStart(t,v),v}(a,s,o,t,n):s.data[a];ro(u,!0);const v=o[a]=o[ke].createComment("");return Tl(s,o,v,u),qr(v,o),se(u)&&(hu(s,o,u),fu(s,u,o)),null!=n&&pu(o,u),Wl}function Zl(){let e=Fr();const t=vn();return ji()?Bo():(e=e.parent,ro(e,!1)),t.firstCreatePass&&(vi(t,e),ee(e)&&t.queries.elementEnd(e)),Zl}function xu(e,t,n){return Wl(e,t,n),Zl(),xu}function Dh(){return ut()}function Ou(e){return!!e&&"function"==typeof e.then}function Eh(e){return!!e&&"function"==typeof e.subscribe}const wh=Eh;function Pu(e,t,n,o){const s=ut(),a=vn(),u=Fr();return function Sh(e,t,n,o,s,a,u){const v=se(o),B=e.firstCreatePass&&rh(e),te=t[Z],Me=nh(t);let ze=!0;if(3&o.type||u){const Ot=Mr(o,t),$t=u?u(Ot):Ot,Kt=Me.length,fn=u?Sn=>u(_r(Sn[o.index])):o.index;let St=null;if(!u&&v&&(St=function a_(e,t,n,o){const s=e.cleanup;if(null!=s)for(let a=0;aD?v[D]:null}"string"==typeof u&&(a+=2)}return null}(e,t,s,o.index)),null!==St)(St.__ngLastListenerFn__||St).__ngNextListenerFn__=a,St.__ngLastListenerFn__=a,ze=!1;else{a=Th(o,t,te,a,!1);const Sn=n.listen($t,s,a);Me.push(a,Sn),B&&B.push(s,fn,Kt,Kt+1)}}else a=Th(o,t,te,a,!1);const Xe=o.outputs;let mt;if(ze&&null!==Xe&&(mt=Xe[s])){const Ot=mt.length;if(Ot)for(let $t=0;$t-1?Nr(e.index,t):t);let D=Mh(t,n,o,u),B=a.__ngNextListenerFn__;for(;B;)D=Mh(t,n,B,u)&&D,B=B.__ngNextListenerFn__;return s&&!1===D&&(u.preventDefault(),u.returnValue=!1),D}}function Ah(e=1){return function Zi(e){return(ln.lFrame.contextLView=function us(e,t){for(;e>0;)t=t[xe],e--;return t}(e,ln.lFrame.contextLView))[Z]}(e)}function l_(e,t){let n=null;const o=function Lv(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s>17&32767}function Lu(e){return 2|e}function Fs(e){return(131068&e)>>2}function Nu(e,t){return-131069&e|t<<2}function ku(e){return 1|e}function Uh(e,t,n,o,s){const a=e[n+1],u=null===t;let v=o?rs(a):Fs(a),D=!1;for(;0!==v&&(!1===D||u);){const te=e[v+1];p_(e[v],t)&&(D=!0,e[v+1]=o?ku(te):Lu(te)),v=o?rs(te):Fs(te)}D&&(e[n+1]=o?Lu(a):ku(a))}function p_(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Bt(e,t)>=0}function Bu(e,t,n){return oi(e,t,n,!1),Bu}function $u(e,t){return oi(e,t,null,!0),$u}function oi(e,t,n,o){const s=ut(),a=vn(),u=_o(2);a.firstUpdatePass&&function Zh(e,t,n,o){const s=e.data;if(null===s[n+1]){const a=s[Br()],u=function Wh(e,t){return t>=e.expandoStartIndex}(e,n);(function Xh(e,t){return 0!=(e.flags&(t?8:16))})(a,o)&&null===t&&!u&&(t=!1),t=function E_(e,t,n,o){const s=function Zo(e){const t=ln.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let a=o?t.residualClasses:t.residualStyles;if(null===s)0===(o?t.classBindings:t.styleBindings)&&(n=za(n=Uu(null,e,t,n,o),t.attrs,o),a=null);else{const u=t.directiveStylingLast;if(-1===u||e[u]!==s)if(n=Uu(s,e,t,n,o),null===a){let D=function w_(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Fs(o))return e[rs(o)]}(e,t,o);void 0!==D&&Array.isArray(D)&&(D=Uu(null,e,t,D[1],o),D=za(D,t.attrs,o),function I_(e,t,n,o){e[rs(n?t.classBindings:t.styleBindings)]=o}(e,t,o,D))}else a=function S_(e,t,n){let o;const s=t.directiveEnd;for(let a=1+t.directiveStylingLast;a0)&&(B=!0)):te=n,s)if(0!==D){const ze=rs(e[v+1]);e[o+1]=Kl(ze,v),0!==ze&&(e[ze+1]=Nu(e[ze+1],o)),e[v+1]=function u_(e,t){return 131071&e|t<<17}(e[v+1],o)}else e[o+1]=Kl(v,0),0!==v&&(e[v+1]=Nu(e[v+1],o)),v=o;else e[o+1]=Kl(D,0),0===v?v=o:e[D+1]=Nu(e[D+1],o),D=o;B&&(e[o+1]=Lu(e[o+1])),Uh(e,te,o,!0),Uh(e,te,o,!1),function h_(e,t,n,o,s){const a=s?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&Bt(a,t)>=0&&(n[o+1]=ku(n[o+1]))}(t,te,e,o,a),u=Kl(v,D),a?t.classBindings=u:t.styleBindings=u}(s,a,t,n,u,o)}}(a,e,u,o),t!==An&&io(s,u,t)&&function qh(e,t,n,o,s,a,u,v){if(!(3&t.type))return;const D=e.data,B=D[v+1],te=function d_(e){return 1==(1&e)}(B)?Jh(D,t,n,s,Fs(B),u):void 0;ql(te)||(ql(a)||function c_(e){return 2==(2&e)}(B)&&(a=Jh(D,null,n,s,v,u)),function Tm(e,t,n,o,s){if(t)s?e.addClass(n,o):e.removeClass(n,o);else{let a=-1===o.indexOf("-")?void 0:ni.DashCase;null==s?e.removeStyle(n,o,a):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),a|=ni.Important),e.setStyle(n,o,s,a))}}(o,u,ko(Br(),n),s,a))}(a,a.data[Br()],s,s[ke],e,s[u+1]=function x_(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=H(ns(e)))),e}(t,n),o,u)}function Uu(e,t,n,o,s){let a=null;const u=n.directiveEnd;let v=n.directiveStylingLast;for(-1===v?v=n.directiveStart:v++;v0;){const D=e[s],B=Array.isArray(D),te=B?D[1]:D,Me=null===te;let ze=n[s+1];ze===An&&(ze=Me?sn:void 0);let Xe=Me?kt(ze,o):te===o?ze:void 0;if(B&&!ql(Xe)&&(Xe=kt(D,o)),ql(Xe)&&(v=Xe,u))return v;const mt=e[s+1];s=u?rs(mt):Fs(mt)}if(null!==t){let D=a?t.residualClasses:t.residualStyles;null!=D&&(v=kt(D,o))}return v}function ql(e){return void 0!==e}function Qh(e,t=""){const n=ut(),o=vn(),s=e+Qe,a=o.firstCreatePass?ta(o,s,1,t,null):o.data[s],u=n[s]=function At(e,t){return e.createText(t)}(n[ke],t);Tl(o,n,u,a),ro(a,!1)}function Vu(e){return Jl("",e,""),Vu}function Jl(e,t,n){const o=ut(),s=ra(o,e,t,n);return s!==An&&Ui(o,Br(),s),Jl}function Hu(e,t,n,o,s){const a=ut(),u=oa(a,e,t,n,o,s);return u!==An&&Ui(a,Br(),u),Hu}const Ls=void 0;var q_=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ls,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ls,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function K_(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let fa={};function ju(e){const t=function J_(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=_p(t);if(n)return n;const o=t.split("-")[0];if(n=_p(o),n)return n;if("en"===o)return q_;throw new K(701,!1)}function yp(e){return ju(e)[cn.PluralCase]}function _p(e){return e in fa||(fa[e]=nn.ng&&nn.ng.common&&nn.ng.common.locales&&nn.ng.common.locales[e]),fa[e]}var cn=(()=>((cn=cn||{})[cn.LocaleId=0]="LocaleId",cn[cn.DayPeriodsFormat=1]="DayPeriodsFormat",cn[cn.DayPeriodsStandalone=2]="DayPeriodsStandalone",cn[cn.DaysFormat=3]="DaysFormat",cn[cn.DaysStandalone=4]="DaysStandalone",cn[cn.MonthsFormat=5]="MonthsFormat",cn[cn.MonthsStandalone=6]="MonthsStandalone",cn[cn.Eras=7]="Eras",cn[cn.FirstDayOfWeek=8]="FirstDayOfWeek",cn[cn.WeekendRange=9]="WeekendRange",cn[cn.DateFormat=10]="DateFormat",cn[cn.TimeFormat=11]="TimeFormat",cn[cn.DateTimeFormat=12]="DateTimeFormat",cn[cn.NumberSymbols=13]="NumberSymbols",cn[cn.NumberFormats=14]="NumberFormats",cn[cn.CurrencyCode=15]="CurrencyCode",cn[cn.CurrencySymbol=16]="CurrencySymbol",cn[cn.CurrencyName=17]="CurrencyName",cn[cn.Currencies=18]="Currencies",cn[cn.Directionality=19]="Directionality",cn[cn.PluralCase=20]="PluralCase",cn[cn.ExtraData=21]="ExtraData",cn))();const ha="en-US";let bp=ha;function Gu(e,t,n,o,s){if(e=re(e),Array.isArray(e))for(let a=0;a>20;if(xs(e)||!e.multi){const Xe=new Ae(D,s,ea),mt=Zu(v,t,s?te:te+ze,Me);-1===mt?(ms(Ji(B,u),a,v),Wu(a,e,t.length),t.push(v),B.directiveStart++,B.directiveEnd++,s&&(B.providerIndexes+=1048576),n.push(Xe),u.push(Xe)):(n[mt]=Xe,u[mt]=Xe)}else{const Xe=Zu(v,t,te+ze,Me),mt=Zu(v,t,te,te+ze),$t=mt>=0&&n[mt];if(s&&!$t||!s&&!(Xe>=0&&n[Xe])){ms(Ji(B,u),a,v);const Kt=function K0(e,t,n,o,s){const a=new Ae(e,n,ea);return a.multi=[],a.index=t,a.componentProviders=0,Yp(a,s,o&&!n),a}(s?Z0:W0,n.length,s,o,D);!s&&$t&&(n[mt].providerFactory=Kt),Wu(a,e,t.length,0),t.push(v),B.directiveStart++,B.directiveEnd++,s&&(B.providerIndexes+=1048576),n.push(Kt),u.push(Kt)}else Wu(a,e,Xe>-1?Xe:mt,Yp(n[s?mt:Xe],D,!s&&o));!s&&o&&$t&&n[mt].componentProviders++}}}function Wu(e,t,n,o){const s=xs(t),a=function iv(e){return!!e.useClass}(t);if(s||a){const D=(a?re(t.useClass):t).prototype.ngOnDestroy;if(D){const B=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const te=B.indexOf(n);-1===te?B.push(n,[o,D]):B[te+1].push(o,D)}else B.push(n,D)}}}function Yp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Zu(e,t,n,o){for(let s=n;s{n.providersResolver=(o,s)=>function G0(e,t,n){const o=vn();if(o.firstCreatePass){const s=Fe(e);Gu(n,o.data,o.blueprint,s,!0),Gu(t,o.data,o.blueprint,s,!1)}}(o,s?s(e):e,t)}}class pa{}class Wp{}function q0(e,t){return new Zp(e,t??null)}class Zp extends pa{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new sh(this);const o=Bn(t);this._bootstrapComponents=$i(o.bootstrap),this._r3Injector=$f(t,n,[{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],H(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class qu extends Wp{constructor(t){super(),this.moduleType=t}create(t){return new Zp(this.moduleType,t)}}class J0 extends pa{constructor(t,n,o){super(),this.componentFactoryResolver=new sh(this),this.instance=null;const s=new Cf([...t,{provide:pa,useValue:this},{provide:ka,useValue:this.componentFactoryResolver}],n||Fl(),o,new Set(["environment"]));this.injector=s,s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Ju(e,t,n=null){return new J0(e,t,n).injector}let X0=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const o=vf(0,n.type),s=o.length>0?Ju([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,s)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=qe({token:e,providedIn:"environment",factory:()=>new e(gn(Os))}),e})();function Kp(e){e.getStandaloneInjector=t=>t.get(X0).getOrCreateStandaloneInjector(e)}function ng(e,t,n){const o=Tr()+e,s=ut();return s[o]===An?wi(s,o,n?t.call(n):t()):function ja(e,t){return e[t]}(s,o)}function rg(e,t,n,o){return sg(ut(),Tr(),e,t,n,o)}function og(e,t,n,o,s){return ag(ut(),Tr(),e,t,n,o,s)}function ig(e,t,n,o,s,a){return function lg(e,t,n,o,s,a,u,v){const D=t+n;return function zl(e,t,n,o,s){const a=Rs(e,t,n,o);return io(e,t+2,s)||a}(e,D,s,a,u)?wi(e,D+3,v?o.call(v,s,a,u):o(s,a,u)):qa(e,D+3)}(ut(),Tr(),e,t,n,o,s,a)}function qa(e,t){const n=e[t];return n===An?void 0:n}function sg(e,t,n,o,s,a){const u=t+n;return io(e,u,s)?wi(e,u+1,a?o.call(a,s):o(s)):qa(e,u+1)}function ag(e,t,n,o,s,a,u){const v=t+n;return Rs(e,v,s,a)?wi(e,v+2,u?o.call(u,s,a):o(s,a)):qa(e,v+2)}function dg(e,t){const n=vn();let o;const s=e+Qe;n.firstCreatePass?(o=function hb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[s]=o,o.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(s,o.onDestroy)):o=n.data[s];const a=o.factory||(o.factory=pr(o.type)),u=tn(ea);try{const v=Jo(!1),D=a();return Jo(v),function o_(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,ut(),s,D),D}finally{tn(u)}}function fg(e,t,n){const o=e+Qe,s=ut(),a=go(s,o);return Ja(s,o)?sg(s,Tr(),t,a.transform,n,a):a.transform(n)}function hg(e,t,n,o){const s=e+Qe,a=ut(),u=go(a,s);return Ja(a,s)?ag(a,Tr(),t,u.transform,n,o,u):u.transform(n,o)}function Ja(e,t){return e[Dt].data[t].pure}function Qu(e){return t=>{setTimeout(e,void 0,t)}}const Mi=class vb extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,o){let s=t,a=n||(()=>null),u=o;if(t&&"object"==typeof t){const D=t;s=D.next?.bind(D),a=D.error?.bind(D),u=D.complete?.bind(D)}this.__isAsync&&(a=Qu(a),s&&(s=Qu(s)),u&&(u=Qu(u)));const v=super.subscribe({next:s,error:a,complete:u});return t instanceof r.w0&&t.add(v),v}};function yb(){return this._results[Symbol.iterator]()}class ed{get changes(){return this._changes||(this._changes=new Mi)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=ed.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=yb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const o=this;o.dirty=!1;const s=function lo(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function wa(e,t,n){if(e.length!==t.length)return!1;for(let o=0;o{class e{}return e.__NG_ELEMENT_ID__=Cb,e})();const _b=Xa,bb=class extends _b{constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}createEmbeddedView(t,n){const o=this._declarationTContainer.tView,s=Nl(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,null,n||null);s[Y]=this._declarationLView[this._declarationTContainer.index];const u=this._declarationLView[Oe];return null!==u&&(s[Oe]=u.createEmbeddedView(o)),du(o,s,t),new Va(s)}};function Cb(){return nc(Fr(),ut())}function nc(e,t){return 4&e.type?new bb(t,e,Js(e,t)):null}let rc=(()=>{class e{}return e.__NG_ELEMENT_ID__=Db,e})();function Db(){return mg(Fr(),ut())}const Eb=rc,pg=class extends Eb{constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Js(this._hostTNode,this._hostLView)}get injector(){return new Qo(this._hostTNode,this._hostLView)}get parentInjector(){const t=_i(this._hostTNode,this._hostLView);if(Kr(t)){const n=ao(t,this._hostLView),o=eo(t);return new Qo(n[Dt].data[o+8],n)}return new Qo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Zt}createEmbeddedView(t,n,o){let s,a;"number"==typeof o?s=o:null!=o&&(s=o.index,a=o.injector);const u=t.createEmbeddedView(n||{},a);return this.insert(u,s),u}createComponent(t,n,o,s,a){const u=t&&!function Di(e){return"function"==typeof e}(t);let v;if(u)v=n;else{const Me=n||{};v=Me.index,o=Me.injector,s=Me.projectableNodes,a=Me.environmentInjector||Me.ngModuleRef}const D=u?t:new Ha(an(t)),B=o||this.parentInjector;if(!a&&null==D.ngModule){const ze=(u?B:this.parentInjector).get(Os,null);ze&&(a=ze)}const te=D.create(B,s,void 0,a);return this.insert(te.hostView,v),te}insert(t,n){const o=t._lView,s=o[Dt];if(function to(e){return h(e[Pn])}(o)){const te=this.indexOf(t);if(-1!==te)this.detach(te);else{const Me=o[Pn],ze=new pg(Me,Me[E],Me[Pn]);ze.detach(ze.indexOf(t))}}const a=this._adjustIndex(n),u=this._lContainer;!function Lc(e,t,n,o){const s=Zt+o,a=n.length;o>0&&(n[s-1][pe]=t),o0)o.push(u[v/2]);else{const B=a[v+1],te=t[-D];for(let Me=Zt;Me{class e{constructor(n){this.appInits=n,this.resolve=ic,this.reject=ic,this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,s)=>{this.resolve=o,this.reject=s})}runInitializers(){if(this.initialized)return;const n=[],o=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let s=0;s{a.subscribe({complete:v,error:D})});n.push(u)}}Promise.all(n).then(()=>{o()}).catch(s=>{this.reject(s)}),0===n.length&&o(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(gn(zg,8))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yg=new dr("AppId",{providedIn:"root",factory:function Gg(){return`${fd()}${fd()}${fd()}`}});function fd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Wg=new dr("Platform Initializer"),Kb=new dr("Platform ID",{providedIn:"platform",factory:()=>"unknown"});let qb=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ac=new dr("LocaleId",{providedIn:"root",factory:()=>Xn(ac,bt.Optional|bt.SkipSelf)||function Jb(){return typeof $localize<"u"&&$localize.locale||ha}()}),Xb=new dr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class Qb{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let eC=(()=>{class e{compileModuleSync(n){return new qu(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const o=this.compileModuleSync(n),a=$i(Bn(n).declarations).reduce((u,v)=>{const D=an(v);return D&&u.push(new Ha(D)),u},[]);return new Qb(o,a)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rC=(()=>Promise.resolve(0))();function hd(e){typeof Zone>"u"?rC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class jo{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mi(!1),this.onMicrotaskEmpty=new Mi(!1),this.onStable=new Mi(!1),this.onError=new Mi(!1),typeof Zone>"u")throw new K(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function oC(){let e=nn.requestAnimationFrame,t=nn.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function aC(e){const t=()=>{!function sC(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(nn,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,gd(e),e.isCheckStableRunning=!0,pd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),gd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,o,s,a,u,v)=>{try{return qg(e),n.invokeTask(s,a,u,v)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Jg(e)}},onInvoke:(n,o,s,a,u,v,D)=>{try{return qg(e),n.invoke(s,a,u,v,D)}finally{e.shouldCoalesceRunChangeDetection&&t(),Jg(e)}},onHasTask:(n,o,s,a)=>{n.hasTask(s,a),o===s&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,gd(e),pd(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,o,s,a)=>(n.handleError(s,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!jo.isInAngularZone())throw new K(909,!1)}static assertNotInAngularZone(){if(jo.isInAngularZone())throw new K(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,s){const a=this._inner,u=a.scheduleEventTask("NgZoneEvent: "+s,t,iC,ic,ic);try{return a.runTask(u,n,o)}finally{a.cancelTask(u)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function pd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function gd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function qg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jg(e){e._nesting--,pd(e)}class lC{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mi,this.onMicrotaskEmpty=new Mi,this.onStable=new Mi,this.onError=new Mi}run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,s){return t.apply(n,o)}}const Xg=new dr(""),Qg=new dr("");let md,cC=(()=>{class e{constructor(n,o,s){this._ngZone=n,this.registry=o,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,md||(function uC(e){md=e}(s),s.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{jo.assertNotInAngularZone(),hd(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())hd(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,s){let a=-1;o&&o>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(u=>u.timeoutId!==a),n(this._didWork,this.getPendingTasks())},o)),this._callbacks.push({doneCb:n,timeoutId:a,updateCb:s})}whenStable(n,o,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,s){return[]}}return e.\u0275fac=function(n){return new(n||e)(gn(jo),gn(em),gn(Qg))},e.\u0275prov=qe({token:e,factory:e.\u0275fac}),e})(),em=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return md?.findTestabilityInTree(this,n,o)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Vi=!1;let os=null;const tm=new dr("AllowMultipleToken"),vd=new dr("PlatformDestroyListeners"),nm=new dr("appBootstrapListener");class hC{constructor(t,n){this.name=t,this.token=n}}function om(e,t,n=[]){const o=`Platform: ${t}`,s=new dr(o);return(a=[])=>{let u=yd();if(!u||u.injector.get(tm,!1)){const v=[...n,...a,{provide:s,useValue:!0}];e?e(v):function pC(e){if(os&&!os.get(tm,!1))throw new K(400,!1);os=e;const t=e.get(sm);(function rm(e){const t=e.get(Wg,null);t&&t.forEach(n=>n())})(e)}(function im(e=[],t){return Ps.create({name:t,providers:[{provide:Qc,useValue:"platform"},{provide:vd,useValue:new Set([()=>os=null])},...e]})}(v,o))}return function mC(e){const t=yd();if(!t)throw new K(401,!1);return t}()}}function yd(){return os?.get(sm)??null}let sm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){const s=function lm(e,t){let n;return n="noop"===e?new lC:("zone.js"===e?void 0:e)||new jo(t),n}(o?.ngZone,function am(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(o)),a=[{provide:jo,useValue:s}];return s.run(()=>{const u=Ps.create({providers:a,parent:this.injector,name:n.moduleType.name}),v=n.create(u),D=v.injector.get($a,null);if(!D)throw new K(402,!1);return s.runOutsideAngular(()=>{const B=s.onError.subscribe({next:te=>{D.handleError(te)}});v.onDestroy(()=>{cc(this._modules,v),B.unsubscribe()})}),function cm(e,t,n){try{const o=n();return Ou(o)?o.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(D,s,()=>{const B=v.injector.get(sc);return B.runInitializers(),B.donePromise.then(()=>(function Cp(e){N(e,"Expected localeId to be defined"),"string"==typeof e&&(bp=e.toLowerCase().replace(/_/g,"-"))}(v.injector.get(ac,ha)||ha),this._moduleDoBootstrap(v),v))})})}bootstrapModule(n,o=[]){const s=um({},o);return function dC(e,t,n){const o=new qu(n);return Promise.resolve(o)}(0,0,n).then(a=>this.bootstrapModuleFactory(a,s))}_moduleDoBootstrap(n){const o=n.injector.get(lc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>o.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new K(-403,!1);n.instance.ngDoBootstrap(o)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new K(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());const n=this._injector.get(vd,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(gn(Ps))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function um(e,t){return Array.isArray(t)?t.reduce(um,e):{...e,...t}}let lc=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,o,s){this._zone=n,this._injector=o,this._exceptionHandler=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new T.y(v=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{v.next(this._stable),v.complete()})}),u=new T.y(v=>{let D;this._zone.runOutsideAngular(()=>{D=this._zone.onStable.subscribe(()=>{jo.assertNotInAngularZone(),hd(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,v.next(!0))})})});const B=this._zone.onUnstable.subscribe(()=>{jo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{v.next(!1)}))});return()=>{D.unsubscribe(),B.unsubscribe()}});this.isStable=(0,k.T)(a,u.pipe((0,ne.B)()))}bootstrap(n,o){const s=n instanceof Ef;if(!this._injector.get(sc).done){!s&&Tn(n);throw new K(405,Vi)}let u;u=s?n:this._injector.get(ka).resolveComponentFactory(n),this.componentTypes.push(u.componentType);const v=function fC(e){return e.isBoundToModule}(u)?void 0:this._injector.get(pa),B=u.create(Ps.NULL,[],o||u.selector,v),te=B.location.nativeElement,Me=B.injector.get(Xg,null);return Me?.registerApplication(te),B.onDestroy(()=>{this.detachView(B.hostView),cc(this.components,B),Me?.unregisterApplication(te)}),this._loadComponent(B),B}tick(){if(this._runningTick)throw new K(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;cc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(nm,[]);o.push(...this._bootstrapListeners),o.forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>cc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new K(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(gn(jo),gn(Os),gn($a))},e.\u0275prov=qe({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function yC(){return!1}function _C(){}let bC=(()=>{class e{}return e.__NG_ELEMENT_ID__=CC,e})();function CC(e){return function DC(e,t,n){if(S(e)&&!n){const o=Nr(e.index,t);return new Va(o,o)}return 47&e.type?new Va(t[P],t):null}(Fr(),ut(),16==(16&e))}class gm{constructor(){}supports(t){return jl(t)}create(t){return new TC(t)}}const MC=(e,t)=>t;class TC{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||MC}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,s=0,a=null;for(;n||o;){const u=!o||n&&n.currentIndex{u=this._trackByFn(s,v),null!==n&&Object.is(n.trackById,u)?(o&&(n=this._verifyReinsertion(n,v,u,s)),Object.is(n.item,v)||this._addIdentityChange(n,v)):(n=this._mismatch(n,v,u,s),o=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,s){let a;return null===t?a=this._itTail:(a=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,a,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,a,s)):t=this._addAfter(new AC(n,o),a,s),t}_verifyReinsertion(t,n,o,s){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==a?t=this._reinsertAfter(a,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,a=t._nextRemoved;return null===s?this._removalsHead=a:s._nextRemoved=a,null===a?this._removalsTail=s:a._prevRemoved=s,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new mm),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AC{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class xC{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class mm{constructor(){this.map=new Map}put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new xC,this.map.set(n,o)),o.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function vm(e,t,n){const o=e.previousIndex;if(null===o)return o;let s=0;return n&&o{if(n&&n.key===s)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const a=this._getOrCreateRecordForKey(s,o);n=this._insertBeforeOrAppend(n,a)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const a=s._prev,u=s._next;return a&&(a._next=u),u&&(u._prev=a),s._next=null,s._prev=null,s}const o=new PC(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class PC{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _m(){return new Ed([new gm])}let Ed=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(null!=o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||_m()),deps:[[e,new ws,new Es]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(null!=o)return o;throw new K(901,!1)}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:_m}),e})();function bm(){return new wd([new ym])}let wd=(()=>{class e{constructor(n){this.factories=n}static create(n,o){if(o){const s=o.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||bm()),deps:[[e,new ws,new Es]]}}find(n){const o=this.factories.find(s=>s.supports(n));if(o)return o;throw new K(901,!1)}}return e.\u0275prov=qe({token:e,providedIn:"root",factory:bm}),e})();const LC=om(null,"core",[]);let NC=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(gn(lc))},e.\u0275mod=Mn({type:e}),e.\u0275inj=dt({}),e})();function kC(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function $C(e,t){const n=an(e),o=t.elementInjector||Fl();return new Ha(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}function UC(e){const t=an(e);if(!t)return null;const n=new Ha(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}},4006:(pt,Pe,g)=>{"use strict";g.d(Pe,{Cf:()=>fe,Fd:()=>ci,JJ:()=>It,JL:()=>bt,JU:()=>H,NI:()=>ge,On:()=>ye,UX:()=>fi,_Y:()=>Qe,a5:()=>Ut,nD:()=>Sr,qQ:()=>So,qu:()=>to,sg:()=>Fe,u:()=>Cr,u5:()=>ln});var i=g(4650),r=g(6895),T=g(2076),k=g(4128),ne=g(4004);let R=(()=>{class F{constructor(w,oe){this._renderer=w,this._elementRef=oe,this.onChange=ot=>{},this.onTouched=()=>{}}setProperty(w,oe){this._renderer.setProperty(this._elementRef.nativeElement,w,oe)}registerOnTouched(w){this.onTouched=w}registerOnChange(w){this.onChange=w}setDisabledState(w){this.setProperty("disabled",w)}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(i.Qsj),i.Y36(i.SBq))},F.\u0275dir=i.lG2({type:F}),F})(),V=(()=>{class F extends R{}return F.\u0275fac=function(){let O;return function(oe){return(O||(O=i.n5z(F)))(oe||F)}}(),F.\u0275dir=i.lG2({type:F,features:[i.qOj]}),F})();const H=new i.OlP("NgValueAccessor"),q={provide:H,useExisting:(0,i.Gpc)(()=>ae),multi:!0},he=new i.OlP("CompositionEventMode");let ae=(()=>{class F extends R{constructor(w,oe,ot){super(w,oe),this._compositionMode=ot,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function re(){const F=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(F.toLowerCase())}())}writeValue(w){this.setProperty("value",w??"")}_handleInput(w){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(w)}_compositionStart(){this._composing=!0}_compositionEnd(w){this._composing=!1,this._compositionMode&&this.onChange(w)}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(he,8))},F.\u0275dir=i.lG2({type:F,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(w,oe){1&w&&i.NdJ("input",function(jt){return oe._handleInput(jt.target.value)})("blur",function(){return oe.onTouched()})("compositionstart",function(){return oe._compositionStart()})("compositionend",function(jt){return oe._compositionEnd(jt.target.value)})},features:[i._Bn([q]),i.qOj]}),F})();const Q=!1;function ie(F){return null==F||("string"==typeof F||Array.isArray(F))&&0===F.length}const fe=new i.OlP("NgValidators"),_e=new i.OlP("NgAsyncValidators");function $e(F){return null}function ce(F){return null!=F}function Le(F){const O=(0,i.QGY)(F)?(0,T.D)(F):F;if(Q&&!(0,i.CqO)(O)){let w="Expected async validator to return Promise or Observable.";throw"object"==typeof F&&(w+=" Are you using a synchronous validator where an async validator is expected?"),new i.vHH(-1101,w)}return O}function We(F){let O={};return F.forEach(w=>{O=null!=w?{...O,...w}:O}),0===Object.keys(O).length?null:O}function at(F,O){return O.map(w=>w(F))}function G(F){return F.map(O=>function ve(F){return!F.validate}(O)?O:w=>O.validate(w))}function N(F){return null!=F?function I(F){if(!F)return null;const O=F.filter(ce);return 0==O.length?null:function(w){return We(at(w,O))}}(G(F)):null}function ue(F){return null!=F?function j(F){if(!F)return null;const O=F.filter(ce);return 0==O.length?null:function(w){const oe=at(w,O).map(Le);return(0,k.D)(oe).pipe((0,ne.U)(We))}}(G(F)):null}function W(F,O){return null===F?[O]:Array.isArray(F)?[...F,O]:[F,O]}function Ye(F){return F._rawValidators}function qe(F){return F._rawAsyncValidators}function ht(F){return F?Array.isArray(F)?F:[F]:[]}function dt(F,O){return Array.isArray(F)?F.includes(O):F===O}function xt(F,O){const w=ht(O);return ht(F).forEach(ot=>{dt(w,ot)||w.push(ot)}),w}function qt(F,O){return ht(O).filter(w=>!dt(F,w))}class Vt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(O){this._rawValidators=O||[],this._composedValidatorFn=N(this._rawValidators)}_setAsyncValidators(O){this._rawAsyncValidators=O||[],this._composedAsyncValidatorFn=ue(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(O){this._onDestroyCallbacks.push(O)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(O=>O()),this._onDestroyCallbacks=[]}reset(O){this.control&&this.control.reset(O)}hasError(O,w){return!!this.control&&this.control.hasError(O,w)}getError(O,w){return this.control?this.control.getError(O,w):null}}class Ht extends Vt{get formDirective(){return null}get path(){return null}}class Ut extends Vt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Je{constructor(O){this._cd=O}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let It=(()=>{class F extends Je{constructor(w){super(w)}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(Ut,2))},F.\u0275dir=i.lG2({type:F,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(w,oe){2&w&&i.ekj("ng-untouched",oe.isUntouched)("ng-touched",oe.isTouched)("ng-pristine",oe.isPristine)("ng-dirty",oe.isDirty)("ng-valid",oe.isValid)("ng-invalid",oe.isInvalid)("ng-pending",oe.isPending)},features:[i.qOj]}),F})(),bt=(()=>{class F extends Je{constructor(w){super(w)}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(Ht,10))},F.\u0275dir=i.lG2({type:F,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(w,oe){2&w&&i.ekj("ng-untouched",oe.isUntouched)("ng-touched",oe.isTouched)("ng-pristine",oe.isPristine)("ng-dirty",oe.isDirty)("ng-valid",oe.isValid)("ng-invalid",oe.isInvalid)("ng-pending",oe.isPending)("ng-submitted",oe.isSubmitted)},features:[i.qOj]}),F})();function xn(F,O){return F?`with name: '${O}'`:`at index: ${O}`}const rn=!1,mr="VALID",gn="INVALID",jn="PENDING",Xn="DISABLED";function ir(F){return(vr(F)?F.validators:F)||null}function Kn(F,O){return(vr(O)?O.asyncValidators:F)||null}function vr(F){return null!=F&&!Array.isArray(F)&&"object"==typeof F}function Ir(F,O,w){const oe=F.controls;if(!(O?Object.keys(oe):oe).length)throw new i.vHH(1e3,rn?function or(F){return`\n There are no form controls registered with this ${F?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(O):"");if(!oe[w])throw new i.vHH(1001,rn?function pn(F,O){return`Cannot find form control ${xn(F,O)}`}(O,w):"")}function Fn(F,O,w){F._forEachChild((oe,ot)=>{if(void 0===w[ot])throw new i.vHH(1002,rn?function fr(F,O){return`Must supply a value for form control ${xn(F,O)}`}(O,ot):"")})}class Dn{constructor(O,w){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(O),this._assignAsyncValidators(w)}get validator(){return this._composedValidatorFn}set validator(O){this._rawValidators=this._composedValidatorFn=O}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(O){this._rawAsyncValidators=this._composedAsyncValidatorFn=O}get parent(){return this._parent}get valid(){return this.status===mr}get invalid(){return this.status===gn}get pending(){return this.status==jn}get disabled(){return this.status===Xn}get enabled(){return this.status!==Xn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(O){this._assignValidators(O)}setAsyncValidators(O){this._assignAsyncValidators(O)}addValidators(O){this.setValidators(xt(O,this._rawValidators))}addAsyncValidators(O){this.setAsyncValidators(xt(O,this._rawAsyncValidators))}removeValidators(O){this.setValidators(qt(O,this._rawValidators))}removeAsyncValidators(O){this.setAsyncValidators(qt(O,this._rawAsyncValidators))}hasValidator(O){return dt(this._rawValidators,O)}hasAsyncValidator(O){return dt(this._rawAsyncValidators,O)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(O={}){this.touched=!0,this._parent&&!O.onlySelf&&this._parent.markAsTouched(O)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(O=>O.markAllAsTouched())}markAsUntouched(O={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(w=>{w.markAsUntouched({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}markAsDirty(O={}){this.pristine=!1,this._parent&&!O.onlySelf&&this._parent.markAsDirty(O)}markAsPristine(O={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(w=>{w.markAsPristine({onlySelf:!0})}),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}markAsPending(O={}){this.status=jn,!1!==O.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!O.onlySelf&&this._parent.markAsPending(O)}disable(O={}){const w=this._parentMarkedDirty(O.onlySelf);this.status=Xn,this.errors=null,this._forEachChild(oe=>{oe.disable({...O,onlySelf:!0})}),this._updateValue(),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...O,skipPristineCheck:w}),this._onDisabledChange.forEach(oe=>oe(!0))}enable(O={}){const w=this._parentMarkedDirty(O.onlySelf);this.status=mr,this._forEachChild(oe=>{oe.enable({...O,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent}),this._updateAncestors({...O,skipPristineCheck:w}),this._onDisabledChange.forEach(oe=>oe(!1))}_updateAncestors(O){this._parent&&!O.onlySelf&&(this._parent.updateValueAndValidity(O),O.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(O){this._parent=O}getRawValue(){return this.value}updateValueAndValidity(O={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mr||this.status===jn)&&this._runAsyncValidator(O.emitEvent)),!1!==O.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!O.onlySelf&&this._parent.updateValueAndValidity(O)}_updateTreeValidity(O={emitEvent:!0}){this._forEachChild(w=>w._updateTreeValidity(O)),this.updateValueAndValidity({onlySelf:!0,emitEvent:O.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xn:mr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(O){if(this.asyncValidator){this.status=jn,this._hasOwnPendingAsyncValidator=!0;const w=Le(this.asyncValidator(this));this._asyncValidationSubscription=w.subscribe(oe=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(oe,{emitEvent:O})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(O,w={}){this.errors=O,this._updateControlsErrors(!1!==w.emitEvent)}get(O){let w=O;return null==w||(Array.isArray(w)||(w=w.split(".")),0===w.length)?null:w.reduce((oe,ot)=>oe&&oe._find(ot),this)}getError(O,w){const oe=w?this.get(w):this;return oe&&oe.errors?oe.errors[O]:null}hasError(O,w){return!!this.getError(O,w)}get root(){let O=this;for(;O._parent;)O=O._parent;return O}_updateControlsErrors(O){this.status=this._calculateStatus(),O&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(O)}_initObservables(){this.valueChanges=new i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Xn:this.errors?gn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(jn)?jn:this._anyControlsHaveStatus(gn)?gn:mr}_anyControlsHaveStatus(O){return this._anyControls(w=>w.status===O)}_anyControlsDirty(){return this._anyControls(O=>O.dirty)}_anyControlsTouched(){return this._anyControls(O=>O.touched)}_updatePristine(O={}){this.pristine=!this._anyControlsDirty(),this._parent&&!O.onlySelf&&this._parent._updatePristine(O)}_updateTouched(O={}){this.touched=this._anyControlsTouched(),this._parent&&!O.onlySelf&&this._parent._updateTouched(O)}_registerOnCollectionChange(O){this._onCollectionChange=O}_setUpdateStrategy(O){vr(O)&&null!=O.updateOn&&(this._updateOn=O.updateOn)}_parentMarkedDirty(O){return!O&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(O){return null}_assignValidators(O){this._rawValidators=Array.isArray(O)?O.slice():O,this._composedValidatorFn=function br(F){return Array.isArray(F)?N(F):F||null}(this._rawValidators)}_assignAsyncValidators(O){this._rawAsyncValidators=Array.isArray(O)?O.slice():O,this._composedAsyncValidatorFn=function Dr(F){return Array.isArray(F)?ue(F):F||null}(this._rawAsyncValidators)}}class En extends Dn{constructor(O,w,oe){super(ir(w),Kn(oe,w)),this.controls=O,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(O,w){return this.controls[O]?this.controls[O]:(this.controls[O]=w,w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange),w)}addControl(O,w,oe={}){this.registerControl(O,w),this.updateValueAndValidity({emitEvent:oe.emitEvent}),this._onCollectionChange()}removeControl(O,w={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}setControl(O,w,oe={}){this.controls[O]&&this.controls[O]._registerOnCollectionChange(()=>{}),delete this.controls[O],w&&this.registerControl(O,w),this.updateValueAndValidity({emitEvent:oe.emitEvent}),this._onCollectionChange()}contains(O){return this.controls.hasOwnProperty(O)&&this.controls[O].enabled}setValue(O,w={}){Fn(this,!0,O),Object.keys(O).forEach(oe=>{Ir(this,!0,oe),this.controls[oe].setValue(O[oe],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(O,w={}){null!=O&&(Object.keys(O).forEach(oe=>{const ot=this.controls[oe];ot&&ot.patchValue(O[oe],{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(O={},w={}){this._forEachChild((oe,ot)=>{oe.reset(O[ot],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this._reduceChildren({},(O,w,oe)=>(O[oe]=w.getRawValue(),O))}_syncPendingControls(){let O=this._reduceChildren(!1,(w,oe)=>!!oe._syncPendingControls()||w);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){Object.keys(this.controls).forEach(w=>{const oe=this.controls[w];oe&&O(oe,w)})}_setUpControls(){this._forEachChild(O=>{O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(O){for(const[w,oe]of Object.entries(this.controls))if(this.contains(w)&&O(oe))return!0;return!1}_reduceValue(){return this._reduceChildren({},(w,oe,ot)=>((oe.enabled||this.disabled)&&(w[ot]=oe.value),w))}_reduceChildren(O,w){let oe=O;return this._forEachChild((ot,jt)=>{oe=w(oe,ot,jt)}),oe}_allControlsDisabled(){for(const O of Object.keys(this.controls))if(this.controls[O].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(O){return this.controls.hasOwnProperty(O)?this.controls[O]:null}}class Ze extends En{}const Ee=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ke}),Ke="always";function st(F,O){return[...O.path,F]}function wt(F,O,w=Ke){gr(F,O),O.valueAccessor.writeValue(F.value),(F.disabled||"always"===w)&&O.valueAccessor.setDisabledState?.(F.disabled),function Mn(F,O){O.valueAccessor.registerOnChange(w=>{F._pendingValue=w,F._pendingChange=!0,F._pendingDirty=!0,"change"===F.updateOn&&Er(F,O)})}(F,O),function yr(F,O){const w=(oe,ot)=>{O.valueAccessor.writeValue(oe),ot&&O.viewToModelUpdate(oe)};F.registerOnChange(w),O._registerOnDestroy(()=>{F._unregisterOnChange(w)})}(F,O),function Gn(F,O){O.valueAccessor.registerOnTouched(()=>{F._pendingTouched=!0,"blur"===F.updateOn&&F._pendingChange&&Er(F,O),"submit"!==F.updateOn&&F.markAsTouched()})}(F,O),function Ln(F,O){if(O.valueAccessor.setDisabledState){const w=oe=>{O.valueAccessor.setDisabledState(oe)};F.registerOnDisabledChange(w),O._registerOnDestroy(()=>{F._unregisterOnDisabledChange(w)})}}(F,O)}function Qt(F,O,w=!0){const oe=()=>{};O.valueAccessor&&(O.valueAccessor.registerOnChange(oe),O.valueAccessor.registerOnTouched(oe)),Qn(F,O),F&&(O._invokeOnDestroyCallbacks(),F._registerOnCollectionChange(()=>{}))}function In(F,O){F.forEach(w=>{w.registerOnValidatorChange&&w.registerOnValidatorChange(O)})}function gr(F,O){const w=Ye(F);null!==O.validator?F.setValidators(W(w,O.validator)):"function"==typeof w&&F.setValidators([w]);const oe=qe(F);null!==O.asyncValidator?F.setAsyncValidators(W(oe,O.asyncValidator)):"function"==typeof oe&&F.setAsyncValidators([oe]);const ot=()=>F.updateValueAndValidity();In(O._rawValidators,ot),In(O._rawAsyncValidators,ot)}function Qn(F,O){let w=!1;if(null!==F){if(null!==O.validator){const ot=Ye(F);if(Array.isArray(ot)&&ot.length>0){const jt=ot.filter(sr=>sr!==O.validator);jt.length!==ot.length&&(w=!0,F.setValidators(jt))}}if(null!==O.asyncValidator){const ot=qe(F);if(Array.isArray(ot)&&ot.length>0){const jt=ot.filter(sr=>sr!==O.asyncValidator);jt.length!==ot.length&&(w=!0,F.setAsyncValidators(jt))}}}const oe=()=>{};return In(O._rawValidators,oe),In(O._rawAsyncValidators,oe),w}function Er(F,O){F._pendingDirty&&F.markAsDirty(),F.setValue(F._pendingValue,{emitModelToViewChange:!1}),O.viewToModelUpdate(F._pendingValue),F._pendingChange=!1}function bn(F,O){if(!F.hasOwnProperty("model"))return!1;const w=F.model;return!!w.isFirstChange()||!Object.is(O,w.currentValue)}function Dt(F,O){if(!O)return null;let w,oe,ot;return Array.isArray(O),O.forEach(jt=>{jt.constructor===ae?w=jt:function zn(F){return Object.getPrototypeOf(F.constructor)===V}(jt)?oe=jt:ot=jt}),ot||oe||w||null}function A(F,O){const w=F.indexOf(O);w>-1&&F.splice(w,1)}function Z(F){return"object"==typeof F&&null!==F&&2===Object.keys(F).length&&"value"in F&&"disabled"in F}const ge=class extends Dn{constructor(O=null,w,oe){super(ir(w),Kn(oe,w)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(O),this._setUpdateStrategy(w),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vr(w)&&(w.nonNullable||w.initialValueIsDefault)&&(this.defaultValue=Z(O)?O.value:O)}setValue(O,w={}){this.value=this._pendingValue=O,this._onChange.length&&!1!==w.emitModelToViewChange&&this._onChange.forEach(oe=>oe(this.value,!1!==w.emitViewToModelChange)),this.updateValueAndValidity(w)}patchValue(O,w={}){this.setValue(O,w)}reset(O=this.defaultValue,w={}){this._applyFormState(O),this.markAsPristine(w),this.markAsUntouched(w),this.setValue(this.value,w),this._pendingChange=!1}_updateValue(){}_anyControls(O){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(O){this._onChange.push(O)}_unregisterOnChange(O){A(this._onChange,O)}registerOnDisabledChange(O){this._onDisabledChange.push(O)}_unregisterOnDisabledChange(O){A(this._onDisabledChange,O)}_forEachChild(O){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(O){Z(O)?(this.value=this._pendingValue=O.value,O.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=O}},Oe={provide:Ut,useExisting:(0,i.Gpc)(()=>ye)},He=(()=>Promise.resolve())();let ye=(()=>{class F extends Ut{constructor(w,oe,ot,jt,sr,ut){super(),this._changeDetectorRef=sr,this.callSetDisabledState=ut,this.control=new ge,this._registered=!1,this.update=new i.vpe,this._parent=w,this._setValidators(oe),this._setAsyncValidators(ot),this.valueAccessor=Dt(0,jt)}ngOnChanges(w){if(this._checkForErrors(),!this._registered||"name"in w){if(this._registered&&(this._checkName(),this.formDirective)){const oe=w.name.previousValue;this.formDirective.removeControl({name:oe,path:this._getPath(oe)})}this._setUpControl()}"isDisabled"in w&&this._updateDisabled(w),bn(w,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(w){He.then(()=>{this.control.setValue(w,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(w){const oe=w.isDisabled.currentValue,ot=0!==oe&&(0,i.D6c)(oe);He.then(()=>{ot&&!this.control.disabled?this.control.disable():!ot&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(w){return this._parent?st(w,this._parent):[w]}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(Ht,9),i.Y36(fe,10),i.Y36(_e,10),i.Y36(H,10),i.Y36(i.sBO,8),i.Y36(Ee,8))},F.\u0275dir=i.lG2({type:F,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i._Bn([Oe]),i.qOj,i.TTD]}),F})(),Qe=(()=>{class F{}return F.\u0275fac=function(w){return new(w||F)},F.\u0275dir=i.lG2({type:F,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),F})(),Ft=(()=>{class F{}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=i.oAB({type:F}),F.\u0275inj=i.cJS({}),F})();const h=new i.OlP("NgModelWithFormControlWarning"),se={provide:Ht,useExisting:(0,i.Gpc)(()=>Fe)};let Fe=(()=>{class F extends Ht{constructor(w,oe,ot){super(),this.callSetDisabledState=ot,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.vpe,this._setValidators(w),this._setAsyncValidators(oe)}ngOnChanges(w){this._checkFormPresent(),w.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(w){const oe=this.form.get(w.path);return wt(oe,w,this.callSetDisabledState),oe.updateValueAndValidity({emitEvent:!1}),this.directives.push(w),oe}getControl(w){return this.form.get(w.path)}removeControl(w){Qt(w.control||null,w,!1),function Mt(F,O){const w=F.indexOf(O);w>-1&&F.splice(w,1)}(this.directives,w)}addFormGroup(w){this._setUpFormContainer(w)}removeFormGroup(w){this._cleanUpFormContainer(w)}getFormGroup(w){return this.form.get(w.path)}addFormArray(w){this._setUpFormContainer(w)}removeFormArray(w){this._cleanUpFormContainer(w)}getFormArray(w){return this.form.get(w.path)}updateModel(w,oe){this.form.get(w.path).setValue(oe)}onSubmit(w){return this.submitted=!0,function $n(F,O){F._syncPendingControls(),O.forEach(w=>{const oe=w.control;"submit"===oe.updateOn&&oe._pendingChange&&(w.viewToModelUpdate(oe._pendingValue),oe._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(w),"dialog"===w?.target?.method}onReset(){this.resetForm()}resetForm(w){this.form.reset(w),this.submitted=!1}_updateDomValue(){this.directives.forEach(w=>{const oe=w.control,ot=this.form.get(w.path);oe!==ot&&(Qt(oe||null,w),(F=>F instanceof ge)(ot)&&(wt(ot,w,this.callSetDisabledState),w.control=ot))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(w){const oe=this.form.get(w.path);(function Nn(F,O){gr(F,O)})(oe,w),oe.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(w){if(this.form){const oe=this.form.get(w.path);oe&&function an(F,O){return Qn(F,O)}(oe,w)&&oe.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){gr(this.form,this),this._oldForm&&Qn(this._oldForm,this)}_checkFormPresent(){}}return F.\u0275fac=function(w){return new(w||F)(i.Y36(fe,10),i.Y36(_e,10),i.Y36(Ee,8))},F.\u0275dir=i.lG2({type:F,selectors:[["","formGroup",""]],hostBindings:function(w,oe){1&w&&i.NdJ("submit",function(jt){return oe.onSubmit(jt)})("reset",function(){return oe.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([se]),i.qOj,i.TTD]}),F})();const Jr={provide:Ut,useExisting:(0,i.Gpc)(()=>Cr)};let Cr=(()=>{class F extends Ut{set isDisabled(w){}constructor(w,oe,ot,jt,sr){super(),this._ngModelWarningConfig=sr,this._added=!1,this.update=new i.vpe,this._ngModelWarningSent=!1,this._parent=w,this._setValidators(oe),this._setAsyncValidators(ot),this.valueAccessor=Dt(0,jt)}ngOnChanges(w){this._added||this._setUpControl(),bn(w,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(w){this.viewModel=w,this.update.emit(w)}get path(){return st(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return F._ngModelWarningSentOnce=!1,F.\u0275fac=function(w){return new(w||F)(i.Y36(Ht,13),i.Y36(fe,10),i.Y36(_e,10),i.Y36(H,10),i.Y36(h,8))},F.\u0275dir=i.lG2({type:F,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i._Bn([Jr]),i.qOj,i.TTD]}),F})();function Lo(F){return"number"==typeof F?F:parseFloat(F)}let Rr=(()=>{class F{constructor(){this._validator=$e}ngOnChanges(w){if(this.inputName in w){const oe=this.normalizeInput(w[this.inputName].currentValue);this._enabled=this.enabled(oe),this._validator=this._enabled?this.createValidator(oe):$e,this._onChange&&this._onChange()}}validate(w){return this._validator(w)}registerOnValidatorChange(w){this._onChange=w}enabled(w){return null!=w}}return F.\u0275fac=function(w){return new(w||F)},F.\u0275dir=i.lG2({type:F,features:[i.TTD]}),F})();const pr={provide:fe,useExisting:(0,i.Gpc)(()=>ci),multi:!0};let ci=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=w=>Lo(w),this.createValidator=w=>function Re(F){return O=>{if(ie(O.value)||ie(F))return null;const w=parseFloat(O.value);return!isNaN(w)&&w>F?{max:{max:F,actual:O.value}}:null}}(w)}}return F.\u0275fac=function(){let O;return function(oe){return(O||(O=i.n5z(F)))(oe||F)}}(),F.\u0275dir=i.lG2({type:F,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(w,oe){2&w&&i.uIk("max",oe._enabled?oe.max:null)},inputs:{max:"max"},features:[i._Bn([pr]),i.qOj]}),F})();const No={provide:fe,useExisting:(0,i.Gpc)(()=>So),multi:!0};let So=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=w=>Lo(w),this.createValidator=w=>function Ne(F){return O=>{if(ie(O.value)||ie(F))return null;const w=parseFloat(O.value);return!isNaN(w)&&wSr),multi:!0};let Sr=(()=>{class F extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=w=>function Wr(F){return"number"==typeof F?F:parseInt(F,10)}(w),this.createValidator=w=>function Ce(F){return O=>function K(F){return null!=F&&"number"==typeof F.length}(O.value)&&O.value.length>F?{maxlength:{requiredLength:F,actualLength:O.value.length}}:null}(w)}}return F.\u0275fac=function(){let O;return function(oe){return(O||(O=i.n5z(F)))(oe||F)}}(),F.\u0275dir=i.lG2({type:F,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(w,oe){2&w&&i.uIk("maxlength",oe._enabled?oe.maxlength:null)},inputs:{maxlength:"maxlength"},features:[i._Bn([Mo]),i.qOj]}),F})(),po=(()=>{class F{}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=i.oAB({type:F}),F.\u0275inj=i.cJS({imports:[Ft]}),F})();class go extends Dn{constructor(O,w,oe){super(ir(w),Kn(oe,w)),this.controls=O,this._initObservables(),this._setUpdateStrategy(w),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(O){return this.controls[this._adjustIndex(O)]}push(O,w={}){this.controls.push(O),this._registerControl(O),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}insert(O,w,oe={}){this.controls.splice(O,0,w),this._registerControl(w),this.updateValueAndValidity({emitEvent:oe.emitEvent})}removeAt(O,w={}){let oe=this._adjustIndex(O);oe<0&&(oe=0),this.controls[oe]&&this.controls[oe]._registerOnCollectionChange(()=>{}),this.controls.splice(oe,1),this.updateValueAndValidity({emitEvent:w.emitEvent})}setControl(O,w,oe={}){let ot=this._adjustIndex(O);ot<0&&(ot=0),this.controls[ot]&&this.controls[ot]._registerOnCollectionChange(()=>{}),this.controls.splice(ot,1),w&&(this.controls.splice(ot,0,w),this._registerControl(w)),this.updateValueAndValidity({emitEvent:oe.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(O,w={}){Fn(this,!1,O),O.forEach((oe,ot)=>{Ir(this,!1,ot),this.at(ot).setValue(oe,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w)}patchValue(O,w={}){null!=O&&(O.forEach((oe,ot)=>{this.at(ot)&&this.at(ot).patchValue(oe,{onlySelf:!0,emitEvent:w.emitEvent})}),this.updateValueAndValidity(w))}reset(O=[],w={}){this._forEachChild((oe,ot)=>{oe.reset(O[ot],{onlySelf:!0,emitEvent:w.emitEvent})}),this._updatePristine(w),this._updateTouched(w),this.updateValueAndValidity(w)}getRawValue(){return this.controls.map(O=>O.getRawValue())}clear(O={}){this.controls.length<1||(this._forEachChild(w=>w._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:O.emitEvent}))}_adjustIndex(O){return O<0?O+this.length:O}_syncPendingControls(){let O=this.controls.reduce((w,oe)=>!!oe._syncPendingControls()||w,!1);return O&&this.updateValueAndValidity({onlySelf:!0}),O}_forEachChild(O){this.controls.forEach((w,oe)=>{O(w,oe)})}_updateValue(){this.value=this.controls.filter(O=>O.enabled||this.disabled).map(O=>O.value)}_anyControls(O){return this.controls.some(w=>w.enabled&&O(w))}_setUpControls(){this._forEachChild(O=>this._registerControl(O))}_allControlsDisabled(){for(const O of this.controls)if(O.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(O){O.setParent(this),O._registerOnCollectionChange(this._onCollectionChange)}_find(O){return this.at(O)??null}}function kr(F){return!!F&&(void 0!==F.asyncValidators||void 0!==F.validators||void 0!==F.updateOn)}let to=(()=>{class F{constructor(){this.useNonNullable=!1}get nonNullable(){const w=new F;return w.useNonNullable=!0,w}group(w,oe=null){const ot=this._reduceControls(w);let jt={};return kr(oe)?jt=oe:null!==oe&&(jt.validators=oe.validator,jt.asyncValidators=oe.asyncValidator),new En(ot,jt)}record(w,oe=null){const ot=this._reduceControls(w);return new Ze(ot,oe)}control(w,oe,ot){let jt={};return this.useNonNullable?(kr(oe)?jt=oe:(jt.validators=oe,jt.asyncValidators=ot),new ge(w,{...jt,nonNullable:!0})):new ge(w,oe,ot)}array(w,oe,ot){const jt=w.map(sr=>this._createControl(sr));return new go(jt,oe,ot)}_reduceControls(w){const oe={};return Object.keys(w).forEach(ot=>{oe[ot]=this._createControl(w[ot])}),oe}_createControl(w){return w instanceof ge||w instanceof Dn?w:Array.isArray(w)?this.control(w[0],w.length>1?w[1]:null,w.length>2?w[2]:null):this.control(w)}}return F.\u0275fac=function(w){return new(w||F)},F.\u0275prov=i.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),ln=(()=>{class F{static withConfig(w){return{ngModule:F,providers:[{provide:Ee,useValue:w.callSetDisabledState??Ke}]}}}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=i.oAB({type:F}),F.\u0275inj=i.cJS({imports:[po]}),F})(),fi=(()=>{class F{static withConfig(w){return{ngModule:F,providers:[{provide:h,useValue:w.warnOnNgModelWithFormControl??"always"},{provide:Ee,useValue:w.callSetDisabledState??Ke}]}}}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=i.oAB({type:F}),F.\u0275inj=i.cJS({imports:[po]}),F})()},1481:(pt,Pe,g)=>{"use strict";g.d(Pe,{Dx:()=>un,b2:()=>Jt,q6:()=>nt});var i=g(6895),r=g(4650);class T extends i.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class k extends T{static makeCurrent(){(0,i.HT)(new k)}onAndCancel(Be,Ee,Ke){return Be.addEventListener(Ee,Ke,!1),()=>{Be.removeEventListener(Ee,Ke,!1)}}dispatchEvent(Be,Ee){Be.dispatchEvent(Ee)}remove(Be){Be.parentNode&&Be.parentNode.removeChild(Be)}createElement(Be,Ee){return(Ee=Ee||this.getDefaultDocument()).createElement(Be)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Be){return Be.nodeType===Node.ELEMENT_NODE}isShadowRoot(Be){return Be instanceof DocumentFragment}getGlobalEventTarget(Be,Ee){return"window"===Ee?window:"document"===Ee?Be:"body"===Ee?Be.body:null}getBaseHref(Be){const Ee=function R(){return ne=ne||document.querySelector("base"),ne?ne.getAttribute("href"):null}();return null==Ee?null:function H(Ze){V=V||document.createElement("a"),V.setAttribute("href",Ze);const Be=V.pathname;return"/"===Be.charAt(0)?Be:`/${Be}`}(Ee)}resetBaseElement(){ne=null}getUserAgent(){return window.navigator.userAgent}getCookie(Be){return(0,i.Mx)(document.cookie,Be)}}let V,ne=null;const le=new r.OlP("TRANSITION_ID"),q=[{provide:r.ip1,useFactory:function me(Ze,Be,Ee){return()=>{Ee.get(r.CZH).donePromise.then(()=>{const Ke=(0,i.q)(),st=Be.querySelectorAll(`style[ng-transition="${Ze}"]`);for(let wt=0;wt{class Ze{build(){return new XMLHttpRequest}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const ae=new r.OlP("EventManagerPlugins");let Q=(()=>{class Ze{constructor(Ee,Ke){this._zone=Ke,this._eventNameToPlugin=new Map,Ee.forEach(st=>{st.manager=this}),this._plugins=Ee.slice().reverse()}addEventListener(Ee,Ke,st){return this._findPluginFor(Ke).addEventListener(Ee,Ke,st)}addGlobalEventListener(Ee,Ke,st){return this._findPluginFor(Ke).addGlobalEventListener(Ee,Ke,st)}getZone(){return this._zone}_findPluginFor(Ee){const Ke=this._eventNameToPlugin.get(Ee);if(Ke)return Ke;const st=this._plugins;for(let wt=0;wt{class Ze{constructor(){this.usageCount=new Map}addStyles(Ee){for(const Ke of Ee)1===this.changeUsageCount(Ke,1)&&this.onStyleAdded(Ke)}removeStyles(Ee){for(const Ke of Ee)0===this.changeUsageCount(Ke,-1)&&this.onStyleRemoved(Ke)}onStyleRemoved(Ee){}onStyleAdded(Ee){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Ee,Ke){const st=this.usageCount;let wt=st.get(Ee)??0;return wt+=Ke,wt>0?st.set(Ee,wt):st.delete(Ee),wt}ngOnDestroy(){for(const Ee of this.getAllStyles())this.onStyleRemoved(Ee);this.usageCount.clear()}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})(),fe=(()=>{class Ze extends K{constructor(Ee){super(),this.doc=Ee,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Ee){for(const Ke of this.hostNodes)this.addStyleToHost(Ke,Ee)}onStyleRemoved(Ee){const Ke=this.styleRef;Ke.get(Ee)?.forEach(wt=>wt.remove()),Ke.delete(Ee)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Ee){this.hostNodes.add(Ee);for(const Ke of this.getAllStyles())this.addStyleToHost(Ee,Ke)}removeHost(Ee){this.hostNodes.delete(Ee)}addStyleToHost(Ee,Ke){const st=this.doc.createElement("style");st.textContent=Ke,Ee.appendChild(st);const wt=this.styleRef.get(Ke);wt?wt.push(st):this.styleRef.set(Ke,[st])}resetHostNodes(){const Ee=this.hostNodes;Ee.clear(),Ee.add(this.doc.head)}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(i.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const _e={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ue=/%COMP%/g,U=new r.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Te(Ze,Be){return Be.flat(100).map(Ee=>Ee.replace(Ue,Ze))}function $e(Ze){return Be=>{if("__ngUnwrap__"===Be)return Ze;!1===Ze(Be)&&(Be.preventDefault(),Be.returnValue=!1)}}let ce=(()=>{class Ze{constructor(Ee,Ke,st,wt){this.eventManager=Ee,this.sharedStylesHost=Ke,this.appId=st,this.removeStylesOnCompDestory=wt,this.rendererByCompId=new Map,this.defaultRenderer=new Le(Ee)}createRenderer(Ee,Ke){if(!Ee||!Ke)return this.defaultRenderer;const st=this.getOrCreateRenderer(Ee,Ke);return st instanceof N?st.applyToHost(Ee):st instanceof I&&st.applyStyles(),st}getOrCreateRenderer(Ee,Ke){const st=this.rendererByCompId;let wt=st.get(Ke.id);if(!wt){const Qt=this.eventManager,In=this.sharedStylesHost,Ln=this.removeStylesOnCompDestory;switch(Ke.encapsulation){case r.ifc.Emulated:wt=new N(Qt,In,Ke,this.appId,Ln);break;case r.ifc.ShadowDom:return new G(Qt,In,Ee,Ke);default:wt=new I(Qt,In,Ke,Ln)}wt.onDestroy=()=>st.delete(Ke.id),st.set(Ke.id,wt)}return wt}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(Q),r.LFG(fe),r.LFG(r.AFp),r.LFG(U))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();class Le{constructor(Be){this.eventManager=Be,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Be,Ee){return Ee?document.createElementNS(_e[Ee]||Ee,Be):document.createElement(Be)}createComment(Be){return document.createComment(Be)}createText(Be){return document.createTextNode(Be)}appendChild(Be,Ee){(ve(Be)?Be.content:Be).appendChild(Ee)}insertBefore(Be,Ee,Ke){Be&&(ve(Be)?Be.content:Be).insertBefore(Ee,Ke)}removeChild(Be,Ee){Be&&Be.removeChild(Ee)}selectRootElement(Be,Ee){let Ke="string"==typeof Be?document.querySelector(Be):Be;if(!Ke)throw new Error(`The selector "${Be}" did not match any elements`);return Ee||(Ke.textContent=""),Ke}parentNode(Be){return Be.parentNode}nextSibling(Be){return Be.nextSibling}setAttribute(Be,Ee,Ke,st){if(st){Ee=st+":"+Ee;const wt=_e[st];wt?Be.setAttributeNS(wt,Ee,Ke):Be.setAttribute(Ee,Ke)}else Be.setAttribute(Ee,Ke)}removeAttribute(Be,Ee,Ke){if(Ke){const st=_e[Ke];st?Be.removeAttributeNS(st,Ee):Be.removeAttribute(`${Ke}:${Ee}`)}else Be.removeAttribute(Ee)}addClass(Be,Ee){Be.classList.add(Ee)}removeClass(Be,Ee){Be.classList.remove(Ee)}setStyle(Be,Ee,Ke,st){st&(r.JOm.DashCase|r.JOm.Important)?Be.style.setProperty(Ee,Ke,st&r.JOm.Important?"important":""):Be.style[Ee]=Ke}removeStyle(Be,Ee,Ke){Ke&r.JOm.DashCase?Be.style.removeProperty(Ee):Be.style[Ee]=""}setProperty(Be,Ee,Ke){Be[Ee]=Ke}setValue(Be,Ee){Be.nodeValue=Ee}listen(Be,Ee,Ke){return"string"==typeof Be?this.eventManager.addGlobalEventListener(Be,Ee,$e(Ke)):this.eventManager.addEventListener(Be,Ee,$e(Ke))}}function ve(Ze){return"TEMPLATE"===Ze.tagName&&void 0!==Ze.content}class G extends Le{constructor(Be,Ee,Ke,st){super(Be),this.sharedStylesHost=Ee,this.hostEl=Ke,this.shadowRoot=Ke.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const wt=Te(st.id,st.styles);for(const Qt of wt){const In=document.createElement("style");In.textContent=Qt,this.shadowRoot.appendChild(In)}}nodeOrShadowRoot(Be){return Be===this.hostEl?this.shadowRoot:Be}appendChild(Be,Ee){return super.appendChild(this.nodeOrShadowRoot(Be),Ee)}insertBefore(Be,Ee,Ke){return super.insertBefore(this.nodeOrShadowRoot(Be),Ee,Ke)}removeChild(Be,Ee){return super.removeChild(this.nodeOrShadowRoot(Be),Ee)}parentNode(Be){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Be)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class I extends Le{constructor(Be,Ee,Ke,st,wt=Ke.id){super(Be),this.sharedStylesHost=Ee,this.removeStylesOnCompDestory=st,this.rendererUsageCount=0,this.styles=Te(wt,Ke.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class N extends I{constructor(Be,Ee,Ke,st,wt){const Qt=st+"-"+Ke.id;super(Be,Ee,Ke,wt,Qt),this.contentAttr=function be(Ze){return"_ngcontent-%COMP%".replace(Ue,Ze)}(Qt),this.hostAttr=function Ce(Ze){return"_nghost-%COMP%".replace(Ue,Ze)}(Qt)}applyToHost(Be){this.applyStyles(),this.setAttribute(Be,this.hostAttr,"")}createElement(Be,Ee){const Ke=super.createElement(Be,Ee);return super.setAttribute(Ke,this.contentAttr,""),Ke}}let j=(()=>{class Ze extends ie{constructor(Ee){super(Ee)}supports(Ee){return!0}addEventListener(Ee,Ke,st){return Ee.addEventListener(Ke,st,!1),()=>this.removeEventListener(Ee,Ke,st)}removeEventListener(Ee,Ke,st){return Ee.removeEventListener(Ke,st)}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(i.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const ue=["alt","control","meta","shift"],W={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ye={alt:Ze=>Ze.altKey,control:Ze=>Ze.ctrlKey,meta:Ze=>Ze.metaKey,shift:Ze=>Ze.shiftKey};let qe=(()=>{class Ze extends ie{constructor(Ee){super(Ee)}supports(Ee){return null!=Ze.parseEventName(Ee)}addEventListener(Ee,Ke,st){const wt=Ze.parseEventName(Ke),Qt=Ze.eventCallback(wt.fullKey,st,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.q)().onAndCancel(Ee,wt.domEventName,Qt))}static parseEventName(Ee){const Ke=Ee.toLowerCase().split("."),st=Ke.shift();if(0===Ke.length||"keydown"!==st&&"keyup"!==st)return null;const wt=Ze._normalizeKey(Ke.pop());let Qt="",In=Ke.indexOf("code");if(In>-1&&(Ke.splice(In,1),Qt="code."),ue.forEach(gr=>{const Qn=Ke.indexOf(gr);Qn>-1&&(Ke.splice(Qn,1),Qt+=gr+".")}),Qt+=wt,0!=Ke.length||0===wt.length)return null;const Ln={};return Ln.domEventName=st,Ln.fullKey=Qt,Ln}static matchEventFullKeyCode(Ee,Ke){let st=W[Ee.key]||Ee.key,wt="";return Ke.indexOf("code.")>-1&&(st=Ee.code,wt="code."),!(null==st||!st)&&(st=st.toLowerCase()," "===st?st="space":"."===st&&(st="dot"),ue.forEach(Qt=>{Qt!==st&&(0,Ye[Qt])(Ee)&&(wt+=Qt+".")}),wt+=st,wt===Ke)}static eventCallback(Ee,Ke,st){return wt=>{Ze.matchEventFullKeyCode(wt,Ee)&&st.runGuarded(()=>Ke(wt))}}static _normalizeKey(Ee){return"esc"===Ee?"escape":Ee}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(i.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:Ze.\u0275fac}),Ze})();const nt=(0,r.eFA)(r._c5,"browser",[{provide:r.Lbi,useValue:i.bD},{provide:r.g9A,useValue:function Ht(){k.makeCurrent()},multi:!0},{provide:i.K0,useFactory:function Je(){return(0,r.RDi)(document),document},deps:[]}]),It=new r.OlP(""),bt=[{provide:r.rWj,useClass:class re{addToWindow(Be){r.dqk.getAngularTestability=(Ke,st=!0)=>{const wt=Be.findTestabilityInTree(Ke,st);if(null==wt)throw new Error("Could not find testability for element.");return wt},r.dqk.getAllAngularTestabilities=()=>Be.getAllTestabilities(),r.dqk.getAllAngularRootElements=()=>Be.getAllRootElements(),r.dqk.frameworkStabilizers||(r.dqk.frameworkStabilizers=[]),r.dqk.frameworkStabilizers.push(Ke=>{const st=r.dqk.getAllAngularTestabilities();let wt=st.length,Qt=!1;const In=function(Ln){Qt=Qt||Ln,wt--,0==wt&&Ke(Qt)};st.forEach(function(Ln){Ln.whenStable(In)})})}findTestabilityInTree(Be,Ee,Ke){return null==Ee?null:Be.getTestability(Ee)??(Ke?(0,i.q)().isShadowRoot(Ee)?this.findTestabilityInTree(Be,Ee.host,!0):this.findTestabilityInTree(Be,Ee.parentElement,!0):null)}},deps:[]},{provide:r.lri,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]},{provide:r.dDg,useClass:r.dDg,deps:[r.R0b,r.eoX,r.rWj]}],on=[{provide:r.zSh,useValue:"root"},{provide:r.qLn,useFactory:function Ut(){return new r.qLn},deps:[]},{provide:ae,useClass:j,multi:!0,deps:[i.K0,r.R0b,r.Lbi]},{provide:ae,useClass:qe,multi:!0,deps:[i.K0]},{provide:ce,useClass:ce,deps:[Q,fe,r.AFp,U]},{provide:r.FYo,useExisting:ce},{provide:K,useExisting:fe},{provide:fe,useClass:fe,deps:[i.K0]},{provide:Q,useClass:Q,deps:[ae,r.R0b]},{provide:i.JF,useClass:he,deps:[]},[]];let Jt=(()=>{class Ze{constructor(Ee){}static withServerTransition(Ee){return{ngModule:Ze,providers:[{provide:r.AFp,useValue:Ee.appId},{provide:le,useExisting:r.AFp},q]}}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(It,12))},Ze.\u0275mod=r.oAB({type:Ze}),Ze.\u0275inj=r.cJS({providers:[...on,...bt],imports:[i.ez,r.hGG]}),Ze})(),un=(()=>{class Ze{constructor(Ee){this._doc=Ee}getTitle(){return this._doc.title}setTitle(Ee){this._doc.title=Ee||""}}return Ze.\u0275fac=function(Ee){return new(Ee||Ze)(r.LFG(i.K0))},Ze.\u0275prov=r.Yz7({token:Ze,factory:function(Ee){let Ke=null;return Ke=Ee?new Ee:function nn(){return new un((0,r.LFG)(i.K0))}(),Ke},providedIn:"root"}),Ze})();typeof window<"u"&&window},6159:(pt,Pe,g)=>{"use strict";g.d(Pe,{gz:()=>Fe,y6:()=>Wr,OD:()=>E,eC:()=>ue,wm:()=>js,wN:()=>eo,F0:()=>Hr,rH:()=>_i,Bz:()=>sl,Hx:()=>xn});var i=g(4650),r=g(2076),T=g(9646),k=g(1135),ne=g(6805),R=g(9841),V=g(7272),H=g(9770),le=g(9635),me=g(2843),q=g(9751),re=g(515),he=g(4033),ae=g(7579),Q=g(6895),ie=g(4004),K=g(3900),fe=g(5698),_e=g(8675),Ue=g(9300),we=g(5577),Ne=g(590),Re=g(4351),Ve=g(8505),z=g(262),U=g(5026),be=g(4482),Ce=g(5403);function Te(f){return f<=0?()=>re.E:(0,be.e)((m,c)=>{let b=[];m.subscribe((0,Ce.x)(c,L=>{b.push(L),f{for(const L of b)c.next(L);c.complete()},void 0,()=>{b=null}))})}var $e=g(8068),ce=g(6590),Le=g(4671);function We(f,m){const c=arguments.length>=2;return b=>b.pipe(f?(0,Ue.h)((L,J)=>f(L,J,b)):Le.y,Te(1),c?(0,ce.d)(m):(0,$e.T)(()=>new ne.K))}var ve=g(9718),G=g(8746),I=g(8343),N=g(8189),j=g(1481);const ue="primary",W=Symbol("RouteTitle");class Ye{constructor(m){this.params=m||{}}has(m){return Object.prototype.hasOwnProperty.call(this.params,m)}get(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c[0]:c}return null}getAll(m){if(this.has(m)){const c=this.params[m];return Array.isArray(c)?c:[c]}return[]}get keys(){return Object.keys(this.params)}}function qe(f){return new Ye(f)}function ht(f,m,c){const b=c.path.split("/");if(b.length>f.length||"full"===c.pathMatch&&(m.hasChildren()||b.lengthb[J]===L)}return f===m}function Vt(f){return Array.prototype.concat.apply([],f)}function Ht(f){return f.length>0?f[f.length-1]:null}function Je(f,m){for(const c in f)f.hasOwnProperty(c)&&m(f[c],c)}function et(f){return(0,i.CqO)(f)?f:(0,i.QGY)(f)?(0,r.D)(Promise.resolve(f)):(0,T.of)(f)}const nt=!1,It={exact:function tn(f,m,c){if(!Cn(f.segments,m.segments)||!un(f.segments,m.segments,c)||f.numberOfChildren!==m.numberOfChildren)return!1;for(const b in m.children)if(!f.children[b]||!tn(f.children[b],m.children[b],c))return!1;return!0},subset:On},bt={exact:function Jt(f,m){return xt(f,m)},subset:function en(f,m){return Object.keys(m).length<=Object.keys(f).length&&Object.keys(m).every(c=>qt(f[c],m[c]))},ignored:()=>!0};function on(f,m,c){return It[c.paths](f.root,m.root,c.matrixParams)&&bt[c.queryParams](f.queryParams,m.queryParams)&&!("exact"===c.fragment&&f.fragment!==m.fragment)}function On(f,m,c){return nn(f,m,m.segments,c)}function nn(f,m,c,b){if(f.segments.length>c.length){const L=f.segments.slice(0,c.length);return!(!Cn(L,c)||m.hasChildren()||!un(L,c,b))}if(f.segments.length===c.length){if(!Cn(f.segments,c)||!un(f.segments,c,b))return!1;for(const L in m.children)if(!f.children[L]||!On(f.children[L],m.children[L],b))return!1;return!0}{const L=c.slice(0,f.segments.length),J=c.slice(f.segments.length);return!!(Cn(f.segments,L)&&un(f.segments,L,b)&&f.children[ue])&&nn(f.children[ue],m,J,b)}}function un(f,m,c){return m.every((b,L)=>bt[c](f[L].parameters,b.parameters))}class Nt{constructor(m=new Ct([],{}),c={},b=null){this.root=m,this.queryParams=c,this.fragment=b}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return pn.serialize(this)}}class Ct{constructor(m,c){this.segments=m,this.children=c,this.parent=null,Je(c,(b,L)=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return fr(this)}}class rr{constructor(m,c){this.path=m,this.parameters=c}get parameterMap(){return this._parameterMap||(this._parameterMap=qe(this.parameters)),this._parameterMap}toString(){return Kn(this)}}function Cn(f,m){return f.length===m.length&&f.every((c,b)=>c.path===m[b].path)}let xn=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:function(){return new or},providedIn:"root"}),f})();class or{parse(m){const c=new Ze(m);return new Nt(c.parseRootSegment(),c.parseQueryParams(),c.parseFragment())}serialize(m){const c=`/${rn(m.root,!0)}`,b=function vr(f){const m=Object.keys(f).map(c=>{const b=f[c];return Array.isArray(b)?b.map(L=>`${gn(c)}=${gn(L)}`).join("&"):`${gn(c)}=${gn(b)}`}).filter(c=>!!c);return m.length?`?${m.join("&")}`:""}(m.queryParams);return`${c}${b}${"string"==typeof m.fragment?`#${function jn(f){return encodeURI(f)}(m.fragment)}`:""}`}}const pn=new or;function fr(f){return f.segments.map(m=>Kn(m)).join("/")}function rn(f,m){if(!f.hasChildren())return fr(f);if(m){const c=f.children[ue]?rn(f.children[ue],!1):"",b=[];return Je(f.children,(L,J)=>{J!==ue&&b.push(`${J}:${rn(L,!1)}`)}),b.length>0?`${c}(${b.join("//")})`:c}{const c=function nr(f,m){let c=[];return Je(f.children,(b,L)=>{L===ue&&(c=c.concat(m(b,L)))}),Je(f.children,(b,L)=>{L!==ue&&(c=c.concat(m(b,L)))}),c}(f,(b,L)=>L===ue?[rn(f.children[ue],!1)]:[`${L}:${rn(b,!1)}`]);return 1===Object.keys(f.children).length&&null!=f.children[ue]?`${fr(f)}/${c[0]}`:`${fr(f)}/(${c.join("//")})`}}function mr(f){return encodeURIComponent(f).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gn(f){return mr(f).replace(/%3B/gi,";")}function Xn(f){return mr(f).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ir(f){return decodeURIComponent(f)}function br(f){return ir(f.replace(/\+/g,"%20"))}function Kn(f){return`${Xn(f.path)}${function Dr(f){return Object.keys(f).map(m=>`;${Xn(m)}=${Xn(f[m])}`).join("")}(f.parameters)}`}const Ir=/^[^\/()?;=#]+/;function Fn(f){const m=f.match(Ir);return m?m[0]:""}const Dn=/^[^=?&#]+/,yn=/^[^&#]+/;class Ze{constructor(m){this.url=m,this.remaining=m}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ct([],{}):new Ct([],this.parseChildren())}parseQueryParams(){const m={};if(this.consumeOptional("?"))do{this.parseQueryParam(m)}while(this.consumeOptional("&"));return m}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const m=[];for(this.peekStartsWith("(")||m.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),m.push(this.parseSegment());let c={};this.peekStartsWith("/(")&&(this.capture("/"),c=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(m.length>0||Object.keys(c).length>0)&&(b[ue]=new Ct(m,c)),b}parseSegment(){const m=Fn(this.remaining);if(""===m&&this.peekStartsWith(";"))throw new i.vHH(4009,nt);return this.capture(m),new rr(ir(m),this.parseMatrixParams())}parseMatrixParams(){const m={};for(;this.consumeOptional(";");)this.parseParam(m);return m}parseParam(m){const c=Fn(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const L=Fn(this.remaining);L&&(b=L,this.capture(b))}m[ir(c)]=ir(b)}parseQueryParam(m){const c=function En(f){const m=f.match(Dn);return m?m[0]:""}(this.remaining);if(!c)return;this.capture(c);let b="";if(this.consumeOptional("=")){const de=function sn(f){const m=f.match(yn);return m?m[0]:""}(this.remaining);de&&(b=de,this.capture(b))}const L=br(c),J=br(b);if(m.hasOwnProperty(L)){let de=m[L];Array.isArray(de)||(de=[de],m[L]=de),de.push(J)}else m[L]=J}parseParens(m){const c={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=Fn(this.remaining),L=this.remaining[b.length];if("/"!==L&&")"!==L&&";"!==L)throw new i.vHH(4010,nt);let J;b.indexOf(":")>-1?(J=b.slice(0,b.indexOf(":")),this.capture(J),this.capture(":")):m&&(J=ue);const de=this.parseChildren();c[J]=1===Object.keys(de).length?de[ue]:new Ct([],de),this.consumeOptional("//")}return c}peekStartsWith(m){return this.remaining.startsWith(m)}consumeOptional(m){return!!this.peekStartsWith(m)&&(this.remaining=this.remaining.substring(m.length),!0)}capture(m){if(!this.consumeOptional(m))throw new i.vHH(4011,nt)}}function Be(f){return f.segments.length>0?new Ct([],{[ue]:f}):f}function Ee(f){const m={};for(const b of Object.keys(f.children)){const J=Ee(f.children[b]);(J.segments.length>0||J.hasChildren())&&(m[b]=J)}return function Ke(f){if(1===f.numberOfChildren&&f.children[ue]){const m=f.children[ue];return new Ct(f.segments.concat(m.segments),m.children)}return f}(new Ct(f.segments,m))}function st(f){return f instanceof Nt}const wt=!1;function gr(f,m,c,b,L){if(0===c.length)return Gn(m.root,m.root,m.root,b,L);const J=function Nn(f){if("string"==typeof f[0]&&1===f.length&&"/"===f[0])return new yr(!0,0,f);let m=0,c=!1;const b=f.reduce((L,J,de)=>{if("object"==typeof J&&null!=J){if(J.outlets){const Ge={};return Je(J.outlets,(ft,kt)=>{Ge[kt]="string"==typeof ft?ft.split("/"):ft}),[...L,{outlets:Ge}]}if(J.segmentPath)return[...L,J.segmentPath]}return"string"!=typeof J?[...L,J]:0===de?(J.split("/").forEach((Ge,ft)=>{0==ft&&"."===Ge||(0==ft&&""===Ge?c=!0:".."===Ge?m++:""!=Ge&&L.push(Ge))}),L):[...L,J]},[]);return new yr(c,m,b)}(c);return J.toRoot()?Gn(m.root,m.root,new Ct([],{}),b,L):function de(ft){const kt=function kn(f,m,c,b){if(f.isAbsolute)return new an(m.root,!0,0);if(-1===b)return new an(c,c===m.root,0);return function Tn(f,m,c){let b=f,L=m,J=c;for(;J>L;){if(J-=L,b=b.parent,!b)throw new i.vHH(4005,wt&&"Invalid number of '../'");L=b.segments.length}return new an(b,!1,L-J)}(c,b+(Qn(f.commands[0])?0:1),f.numberOfDoubleDots)}(J,m,f.snapshot?._urlSegment,ft),Bt=kt.processChildren?bn(kt.segmentGroup,kt.index,J.commands):hr(kt.segmentGroup,kt.index,J.commands);return Gn(m.root,kt.segmentGroup,Bt,b,L)}(f.snapshot?._lastPathIndex)}function Qn(f){return"object"==typeof f&&null!=f&&!f.outlets&&!f.segmentPath}function Mn(f){return"object"==typeof f&&null!=f&&f.outlets}function Gn(f,m,c,b,L){let de,J={};b&&Je(b,(ft,kt)=>{J[kt]=Array.isArray(ft)?ft.map(Bt=>`${Bt}`):`${ft}`}),de=f===m?c:Er(f,m,c);const Ge=Be(Ee(de));return new Nt(Ge,J,L)}function Er(f,m,c){const b={};return Je(f.children,(L,J)=>{b[J]=L===m?c:Er(L,m,c)}),new Ct(f.segments,b)}class yr{constructor(m,c,b){if(this.isAbsolute=m,this.numberOfDoubleDots=c,this.commands=b,m&&b.length>0&&Qn(b[0]))throw new i.vHH(4003,wt&&"Root segment cannot have matrix parameters");const L=b.find(Mn);if(L&&L!==Ht(b))throw new i.vHH(4004,wt&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class an{constructor(m,c,b){this.segmentGroup=m,this.processChildren=c,this.index=b}}function hr(f,m,c){if(f||(f=new Ct([],{})),0===f.segments.length&&f.hasChildren())return bn(f,m,c);const b=function zn(f,m,c){let b=0,L=m;const J={match:!1,pathIndex:0,commandIndex:0};for(;L=c.length)return J;const de=f.segments[L],Ge=c[b];if(Mn(Ge))break;const ft=`${Ge}`,kt=b0&&void 0===ft)break;if(ft&&kt&&"object"==typeof kt&&void 0===kt.outlets){if(!Pn(ft,kt,de))return J;b+=2}else{if(!Pn(ft,{},de))return J;b++}L++}return{match:!0,pathIndex:L,commandIndex:b}}(f,m,c),L=c.slice(b.commandIndex);if(b.match&&b.pathIndex{"string"==typeof J&&(J=[J]),null!==J&&(L[de]=hr(f.children[de],m,J))}),Je(f.children,(J,de)=>{void 0===b[de]&&(L[de]=J)}),new Ct(f.segments,L)}}function $n(f,m,c){const b=f.segments.slice(0,m);let L=0;for(;L{"string"==typeof c&&(c=[c]),null!==c&&(m[b]=$n(new Ct([],{}),0,c))}),m}function Mt(f){const m={};return Je(f,(c,b)=>m[b]=`${c}`),m}function Pn(f,m,c){return f==c.path&&xt(m,c.parameters)}const pe="imperative";class C{constructor(m,c){this.id=m,this.url=c}}class E extends C{constructor(m,c,b="imperative",L=null){super(m,c),this.type=0,this.navigationTrigger=b,this.restoredState=L}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class A extends C{constructor(m,c,b){super(m,c),this.urlAfterRedirects=b,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Z extends C{constructor(m,c,b,L){super(m,c),this.reason=b,this.code=L,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ge extends C{constructor(m,c,b,L){super(m,c),this.reason=b,this.code=L,this.type=16}}class Ie extends C{constructor(m,c,b,L){super(m,c),this.error=b,this.target=L,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ke extends C{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tt extends C{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ct extends C{constructor(m,c,b,L,J){super(m,c),this.urlAfterRedirects=b,this.state=L,this.shouldActivate=J,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vt extends C{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xe extends C{constructor(m,c,b,L){super(m,c),this.urlAfterRedirects=b,this.state=L,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class P{constructor(m){this.route=m,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Y{constructor(m){this.route=m,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Se{constructor(m){this.snapshot=m,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Oe{constructor(m){this.snapshot=m,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class He{constructor(m){this.snapshot=m,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ye{constructor(m){this.snapshot=m,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qe{constructor(m,c,b){this.routerEvent=m,this.position=c,this.anchor=b,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let lt=(()=>{class f{createUrlTree(c,b,L,J,de,Ge){return gr(c||b.root,L,J,de,Ge)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac}),f})(),Ft=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:function(m){return lt.\u0275fac(m)},providedIn:"root"}),f})();class Lt{constructor(m){this._root=m}get root(){return this._root.value}parent(m){const c=this.pathFromRoot(m);return c.length>1?c[c.length-2]:null}children(m){const c=Zt(m,this._root);return c?c.children.map(b=>b.value):[]}firstChild(m){const c=Zt(m,this._root);return c&&c.children.length>0?c.children[0].value:null}siblings(m){const c=Vn(m,this._root);return c.length<2?[]:c[c.length-2].children.map(L=>L.value).filter(L=>L!==m)}pathFromRoot(m){return Vn(m,this._root).map(c=>c.value)}}function Zt(f,m){if(f===m.value)return m;for(const c of m.children){const b=Zt(f,c);if(b)return b}return null}function Vn(f,m){if(f===m.value)return[m];for(const c of m.children){const b=Vn(f,c);if(b.length)return b.unshift(m),b}return[]}class dn{constructor(m,c){this.value=m,this.children=c}toString(){return`TreeNode(${this.value})`}}function h(f){const m={};return f&&f.children.forEach(c=>m[c.value.outlet]=c),m}class ee extends Lt{constructor(m,c){super(m),this.snapshot=c,Yr(this,m)}toString(){return this.snapshot.toString()}}function S(f,m){const c=function se(f,m){const de=new tr([],{},{},"",{},ue,m,null,f.root,-1,{});return new zr("",new dn(de,[]))}(f,m),b=new k.X([new rr("",{})]),L=new k.X({}),J=new k.X({}),de=new k.X({}),Ge=new k.X(""),ft=new Fe(b,L,de,Ge,J,ue,m,c.root);return ft.snapshot=c.root,new ee(new dn(ft,[]),c)}class Fe{constructor(m,c,b,L,J,de,Ge,ft){this.url=m,this.params=c,this.queryParams=b,this.fragment=L,this.data=J,this.outlet=de,this.component=Ge,this.title=this.data?.pipe((0,ie.U)(kt=>kt[W]))??(0,T.of)(void 0),this._futureSnapshot=ft}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ie.U)(m=>qe(m)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ie.U)(m=>qe(m)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function mn(f,m="emptyOnly"){const c=f.pathFromRoot;let b=0;if("always"!==m)for(b=c.length-1;b>=1;){const L=c[b],J=c[b-1];if(L.routeConfig&&""===L.routeConfig.path)b--;else{if(J.component)break;b--}}return function Yn(f){return f.reduce((m,c)=>({params:{...m.params,...c.params},data:{...m.data,...c.data},resolve:{...c.data,...m.resolve,...c.routeConfig?.data,...c._resolvedData}}),{params:{},data:{},resolve:{}})}(c.slice(b))}class tr{get title(){return this.data?.[W]}constructor(m,c,b,L,J,de,Ge,ft,kt,Bt,Zn){this.url=m,this.params=c,this.queryParams=b,this.fragment=L,this.data=J,this.outlet=de,this.component=Ge,this.routeConfig=ft,this._urlSegment=kt,this._lastPathIndex=Bt,this._resolve=Zn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=qe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=qe(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zr extends Lt{constructor(m,c){super(c),this.url=m,Yr(this,c)}toString(){return Jr(this._root)}}function Yr(f,m){m.value._routerState=f,m.children.forEach(c=>Yr(f,c))}function Jr(f){const m=f.children.length>0?` { ${f.children.map(Jr).join(", ")} } `:"";return`${f.value}${m}`}function Cr(f){if(f.snapshot){const m=f.snapshot,c=f._futureSnapshot;f.snapshot=c,xt(m.queryParams,c.queryParams)||f.queryParams.next(c.queryParams),m.fragment!==c.fragment&&f.fragment.next(c.fragment),xt(m.params,c.params)||f.params.next(c.params),function dt(f,m){if(f.length!==m.length)return!1;for(let c=0;cxt(c.parameters,m[b].parameters))}(f.url,m.url);return c&&!(!f.parent!=!m.parent)&&(!f.parent||zo(f.parent,m.parent))}function fo(f,m,c){if(c&&f.shouldReuseRoute(m.value,c.value.snapshot)){const b=c.value;b._futureSnapshot=m.value;const L=function Fo(f,m,c){return m.children.map(b=>{for(const L of c.children)if(f.shouldReuseRoute(b.value,L.value.snapshot))return fo(f,b,L);return fo(f,b)})}(f,m,c);return new dn(b,L)}{if(f.shouldAttach(m.value)){const J=f.retrieve(m.value);if(null!==J){const de=J.route;return de.value._futureSnapshot=m.value,de.children=m.children.map(Ge=>fo(f,Ge)),de}}const b=function ai(f){return new Fe(new k.X(f.url),new k.X(f.params),new k.X(f.queryParams),new k.X(f.fragment),new k.X(f.data),f.outlet,f.component,f)}(m.value),L=m.children.map(J=>fo(f,J));return new dn(b,L)}}const Ai="ngNavigationCancelingError";function li(f,m){const{redirectTo:c,navigationBehaviorOptions:b}=st(m)?{redirectTo:m,navigationBehaviorOptions:void 0}:m,L=xi(!1,0,m);return L.url=c,L.navigationBehaviorOptions=b,L}function xi(f,m,c){const b=new Error("NavigationCancelingError: "+(f||""));return b[Ai]=!0,b.cancellationCode=m,c&&(b.url=c),b}function Oi(f){return Io(f)&&st(f.url)}function Io(f){return f&&f[Ai]}class ho{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Wr,this.attachRef=null}}let Wr=(()=>{class f{constructor(){this.contexts=new Map}onChildOutletCreated(c,b){const L=this.getOrCreateContext(c);L.outlet=b,this.contexts.set(c,L)}onChildOutletDestroyed(c){const b=this.getContext(c);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const c=this.contexts;return this.contexts=new Map,c}onOutletReAttached(c){this.contexts=c}getOrCreateContext(c){let b=this.getContext(c);return b||(b=new ho,this.contexts.set(c,b)),b}getContext(c){return this.contexts.get(c)||null}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Lo=!1;let Rr=(()=>{class f{constructor(){this.activated=null,this._activatedRoute=null,this.name=ue,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(Wr),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb)}ngOnChanges(c){if(c.name){const{firstChange:b,previousValue:L}=c.name;if(b)return;this.isTrackedInParentContexts(L)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(L)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(c){return this.parentContexts.getContext(c)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const c=this.parentContexts.getContext(this.name);c?.route&&(c.attachRef?this.attach(c.attachRef,c.route):this.activateWith(c.route,c.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,Lo);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,Lo);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,Lo);this.location.detach();const c=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(c.instance),c}attach(c,b){this.activated=c,this._activatedRoute=b,this.location.insert(c.hostView),this.attachEvents.emit(c.instance)}deactivate(){if(this.activated){const c=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(c)}}activateWith(c,b){if(this.isActivated)throw new i.vHH(4013,Lo);this._activatedRoute=c;const L=this.location,de=c.snapshot.component,Ge=this.parentContexts.getOrCreateContext(this.name).children,ft=new pr(c,Ge,L.injector);if(b&&function ci(f){return!!f.resolveComponentFactory}(b)){const kt=b.resolveComponentFactory(de);this.activated=L.createComponent(kt,L.length,ft)}else this.activated=L.createComponent(de,{index:L.length,injector:ft,environmentInjector:b??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275dir=i.lG2({type:f,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),f})();class pr{constructor(m,c,b){this.route=m,this.childContexts=c,this.parent=b}get(m,c){return m===Fe?this.route:m===Wr?this.childContexts:this.parent.get(m,c)}}let No=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275cmp=i.Xpm({type:f,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(c,b){1&c&&i._UZ(0,"router-outlet")},dependencies:[Rr],encapsulation:2}),f})();function So(f,m){return f.providers&&!f._injector&&(f._injector=(0,i.MMx)(f.providers,m,`Route: ${f.path}`)),f._injector??m}function Mo(f){const m=f.children&&f.children.map(Mo),c=m?{...f,children:m}:{...f};return!c.component&&!c.loadComponent&&(m||c.loadChildren)&&c.outlet&&c.outlet!==ue&&(c.component=No),c}function Sr(f){return f.outlet||ue}function _r(f,m){const c=f.filter(b=>Sr(b)===m);return c.push(...f.filter(b=>Sr(b)!==m)),c}function Qr(f){if(!f)return null;if(f.routeConfig?._injector)return f.routeConfig._injector;for(let m=f.parent;m;m=m.parent){const c=m.routeConfig;if(c?._loadedInjector)return c._loadedInjector;if(c?._injector)return c._injector}return null}class Mr{constructor(m,c,b,L){this.routeReuseStrategy=m,this.futureState=c,this.currState=b,this.forwardEvent=L}activate(m){const c=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(c,b,m),Cr(this.futureState.root),this.activateChildRoutes(c,b,m)}deactivateChildRoutes(m,c,b){const L=h(c);m.children.forEach(J=>{const de=J.value.outlet;this.deactivateRoutes(J,L[de],b),delete L[de]}),Je(L,(J,de)=>{this.deactivateRouteAndItsChildren(J,b)})}deactivateRoutes(m,c,b){const L=m.value,J=c?c.value:null;if(L===J)if(L.component){const de=b.getContext(L.outlet);de&&this.deactivateChildRoutes(m,c,de.children)}else this.deactivateChildRoutes(m,c,b);else J&&this.deactivateRouteAndItsChildren(c,b)}deactivateRouteAndItsChildren(m,c){m.value.component&&this.routeReuseStrategy.shouldDetach(m.value.snapshot)?this.detachAndStoreRouteSubtree(m,c):this.deactivateRouteAndOutlet(m,c)}detachAndStoreRouteSubtree(m,c){const b=c.getContext(m.value.outlet),L=b&&m.value.component?b.children:c,J=h(m);for(const de of Object.keys(J))this.deactivateRouteAndItsChildren(J[de],L);if(b&&b.outlet){const de=b.outlet.detach(),Ge=b.children.onOutletDeactivated();this.routeReuseStrategy.store(m.value.snapshot,{componentRef:de,route:m,contexts:Ge})}}deactivateRouteAndOutlet(m,c){const b=c.getContext(m.value.outlet),L=b&&m.value.component?b.children:c,J=h(m);for(const de of Object.keys(J))this.deactivateRouteAndItsChildren(J[de],L);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.resolver=null,b.route=null)}activateChildRoutes(m,c,b){const L=h(c);m.children.forEach(J=>{this.activateRoutes(J,L[J.value.outlet],b),this.forwardEvent(new ye(J.value.snapshot))}),m.children.length&&this.forwardEvent(new Oe(m.value.snapshot))}activateRoutes(m,c,b){const L=m.value,J=c?c.value:null;if(Cr(L),L===J)if(L.component){const de=b.getOrCreateContext(L.outlet);this.activateChildRoutes(m,c,de.children)}else this.activateChildRoutes(m,c,b);else if(L.component){const de=b.getOrCreateContext(L.outlet);if(this.routeReuseStrategy.shouldAttach(L.snapshot)){const Ge=this.routeReuseStrategy.retrieve(L.snapshot);this.routeReuseStrategy.store(L.snapshot,null),de.children.onOutletReAttached(Ge.contexts),de.attachRef=Ge.componentRef,de.route=Ge.route.value,de.outlet&&de.outlet.attach(Ge.componentRef,Ge.route.value),Cr(Ge.route.value),this.activateChildRoutes(m,null,de.children)}else{const Ge=Qr(L.snapshot),ft=Ge?.get(i._Vd)??null;de.attachRef=null,de.route=L,de.resolver=ft,de.injector=Ge,de.outlet&&de.outlet.activateWith(L,de.injector),this.activateChildRoutes(m,null,de.children)}}else this.activateChildRoutes(m,null,b)}}class Ri{constructor(m){this.path=m,this.route=this.path[this.path.length-1]}}class po{constructor(m,c){this.component=m,this.route=c}}function go(f,m,c){const b=f._root;return kr(b,m?m._root:null,c,[b.value])}function Zr(f,m){const c=Symbol(),b=m.get(f,c);return b===c?"function"!=typeof f||(0,i.Z0I)(f)?m.get(f):f:b}function kr(f,m,c,b,L={canDeactivateChecks:[],canActivateChecks:[]}){const J=h(m);return f.children.forEach(de=>{(function to(f,m,c,b,L={canDeactivateChecks:[],canActivateChecks:[]}){const J=f.value,de=m?m.value:null,Ge=c?c.getContext(f.value.outlet):null;if(de&&J.routeConfig===de.routeConfig){const ft=function mo(f,m,c){if("function"==typeof c)return c(f,m);switch(c){case"pathParamsChange":return!Cn(f.url,m.url);case"pathParamsOrQueryParamsChange":return!Cn(f.url,m.url)||!xt(f.queryParams,m.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zo(f,m)||!xt(f.queryParams,m.queryParams);default:return!zo(f,m)}}(de,J,J.routeConfig.runGuardsAndResolvers);ft?L.canActivateChecks.push(new Ri(b)):(J.data=de.data,J._resolvedData=de._resolvedData),kr(f,m,J.component?Ge?Ge.children:null:c,b,L),ft&&Ge&&Ge.outlet&&Ge.outlet.isActivated&&L.canDeactivateChecks.push(new po(Ge.outlet.component,de))}else de&&To(m,Ge,L),L.canActivateChecks.push(new Ri(b)),kr(f,null,J.component?Ge?Ge.children:null:c,b,L)})(de,J[de.value.outlet],c,b.concat([de.value]),L),delete J[de.value.outlet]}),Je(J,(de,Ge)=>To(de,c.getContext(Ge),L)),L}function To(f,m,c){const b=h(f),L=f.value;Je(b,(J,de)=>{To(J,L.component?m?m.children.getContext(de):null:m,c)}),c.canDeactivateChecks.push(new po(L.component&&m&&m.outlet&&m.outlet.isActivated?m.outlet.component:null,L))}function no(f){return"function"==typeof f}function sr(f){return f instanceof ne.K||"EmptyError"===f?.name}const ut=Symbol("INITIAL_VALUE");function vn(){return(0,K.w)(f=>(0,R.a)(f.map(m=>m.pipe((0,fe.q)(1),(0,_e.O)(ut)))).pipe((0,ie.U)(m=>{for(const c of m)if(!0!==c){if(c===ut)return ut;if(!1===c||c instanceof Nt)return c}return!0}),(0,Ue.h)(m=>m!==ut),(0,fe.q)(1)))}function zi(f){return(0,le.z)((0,Ve.b)(m=>{if(st(m))throw li(0,m)}),(0,ie.U)(m=>!0===m))}const Tr={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ar(f,m,c,b,L){const J=vo(f,m,c);return J.matched?function Yi(f,m,c,b){const L=m.canMatch;if(!L||0===L.length)return(0,T.of)(!0);const J=L.map(de=>{const Ge=Zr(de,f);return et(function oe(f){return f&&no(f.canMatch)}(Ge)?Ge.canMatch(m,c):f.runInContext(()=>Ge(m,c)))});return(0,T.of)(J).pipe(vn(),zi())}(b=So(m,b),m,c).pipe((0,ie.U)(de=>!0===de?J:{...Tr})):(0,T.of)(J)}function vo(f,m,c){if(""===m.path)return"full"===m.pathMatch&&(f.hasChildren()||c.length>0)?{...Tr}:{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};const L=(m.matcher||ht)(c,f,m);if(!L)return{...Tr};const J={};Je(L.posParams,(Ge,ft)=>{J[ft]=Ge.path});const de=L.consumed.length>0?{...J,...L.consumed[L.consumed.length-1].parameters}:J;return{matched:!0,consumedSegments:L.consumed,remainingSegments:c.slice(L.consumed.length),parameters:de,positionalParamSegments:L.posParams??{}}}function yo(f,m,c,b){if(c.length>0&&function hi(f,m,c){return c.some(b=>Ao(f,m,b)&&Sr(b)!==ue)}(f,c,b)){const J=new Ct(m,function Gi(f,m,c,b){const L={};L[ue]=b,b._sourceSegment=f,b._segmentIndexShift=m.length;for(const J of c)if(""===J.path&&Sr(J)!==ue){const de=new Ct([],{});de._sourceSegment=f,de._segmentIndexShift=m.length,L[Sr(J)]=de}return L}(f,m,b,new Ct(c,f.children)));return J._sourceSegment=f,J._segmentIndexShift=m.length,{segmentGroup:J,slicedSegments:[]}}if(0===c.length&&function pi(f,m,c){return c.some(b=>Ao(f,m,b))}(f,c,b)){const J=new Ct(f.segments,function _o(f,m,c,b,L){const J={};for(const de of b)if(Ao(f,c,de)&&!L[Sr(de)]){const Ge=new Ct([],{});Ge._sourceSegment=f,Ge._segmentIndexShift=m.length,J[Sr(de)]=Ge}return{...L,...J}}(f,m,c,b,f.children));return J._sourceSegment=f,J._segmentIndexShift=m.length,{segmentGroup:J,slicedSegments:c}}const L=new Ct(f.segments,f.children);return L._sourceSegment=f,L._segmentIndexShift=m.length,{segmentGroup:L,slicedSegments:c}}function Ao(f,m,c){return(!(f.hasChildren()||m.length>0)||"full"!==c.pathMatch)&&""===c.path}function gi(f,m,c,b){return!!(Sr(f)===b||b!==ue&&Ao(m,c,f))&&("**"===f.path||vo(m,f,c).matched)}function Zo(f,m,c){return 0===m.length&&!f.children[c]}const Ko=!1;class bo{constructor(m){this.segmentGroup=m||null}}class ss{constructor(m){this.urlTree=m}}function qo(f){return(0,me._)(new bo(f))}function Fi(f){return(0,me._)(new ss(f))}class Wi{constructor(m,c,b,L,J){this.injector=m,this.configLoader=c,this.urlSerializer=b,this.urlTree=L,this.config=J,this.allowRedirects=!0}apply(){const m=yo(this.urlTree.root,[],[],this.config).segmentGroup,c=new Ct(m.segments,m.children);return this.expandSegmentGroup(this.injector,this.config,c,ue).pipe((0,ie.U)(J=>this.createUrlTree(Ee(J),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,z.K)(J=>{if(J instanceof ss)return this.allowRedirects=!1,this.match(J.urlTree);throw J instanceof bo?this.noMatchError(J):J}))}match(m){return this.expandSegmentGroup(this.injector,this.config,m.root,ue).pipe((0,ie.U)(L=>this.createUrlTree(Ee(L),m.queryParams,m.fragment))).pipe((0,z.K)(L=>{throw L instanceof bo?this.noMatchError(L):L}))}noMatchError(m){return new i.vHH(4002,Ko)}createUrlTree(m,c,b){const L=Be(m);return new Nt(L,c,b)}expandSegmentGroup(m,c,b,L){return 0===b.segments.length&&b.hasChildren()?this.expandChildren(m,c,b).pipe((0,ie.U)(J=>new Ct([],J))):this.expandSegment(m,b,c,b.segments,L,!0)}expandChildren(m,c,b){const L=[];for(const J of Object.keys(b.children))"primary"===J?L.unshift(J):L.push(J);return(0,r.D)(L).pipe((0,Re.b)(J=>{const de=b.children[J],Ge=_r(c,J);return this.expandSegmentGroup(m,Ge,de,J).pipe((0,ie.U)(ft=>({segment:ft,outlet:J})))}),(0,U.R)((J,de)=>(J[de.outlet]=de.segment,J),{}),We())}expandSegment(m,c,b,L,J,de){return(0,r.D)(b).pipe((0,Re.b)(Ge=>this.expandSegmentAgainstRoute(m,c,b,Ge,L,J,de).pipe((0,z.K)(kt=>{if(kt instanceof bo)return(0,T.of)(null);throw kt}))),(0,Ne.P)(Ge=>!!Ge),(0,z.K)((Ge,ft)=>{if(sr(Ge))return Zo(c,L,J)?(0,T.of)(new Ct([],{})):qo(c);throw Ge}))}expandSegmentAgainstRoute(m,c,b,L,J,de,Ge){return gi(L,c,J,de)?void 0===L.redirectTo?this.matchSegmentAgainstRoute(m,c,L,J,de):Ge&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(m,c,b,L,J,de):qo(c):qo(c)}expandSegmentAgainstRouteUsingRedirect(m,c,b,L,J,de){return"**"===L.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(m,b,L,de):this.expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,L,J,de)}expandWildCardWithParamsAgainstRouteUsingRedirect(m,c,b,L){const J=this.applyRedirectCommands([],b.redirectTo,{});return b.redirectTo.startsWith("/")?Fi(J):this.lineralizeSegments(b,J).pipe((0,we.z)(de=>{const Ge=new Ct(de,{});return this.expandSegment(m,Ge,c,de,L,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(m,c,b,L,J,de){const{matched:Ge,consumedSegments:ft,remainingSegments:kt,positionalParamSegments:Bt}=vo(c,L,J);if(!Ge)return qo(c);const Zn=this.applyRedirectCommands(ft,L.redirectTo,Bt);return L.redirectTo.startsWith("/")?Fi(Zn):this.lineralizeSegments(L,Zn).pipe((0,we.z)(Or=>this.expandSegment(m,c,b,Or.concat(kt),de,!1)))}matchSegmentAgainstRoute(m,c,b,L,J){return"**"===b.path?(m=So(b,m),b.loadChildren?(b._loadedRoutes?(0,T.of)({routes:b._loadedRoutes,injector:b._loadedInjector}):this.configLoader.loadChildren(m,b)).pipe((0,ie.U)(Ge=>(b._loadedRoutes=Ge.routes,b._loadedInjector=Ge.injector,new Ct(L,{})))):(0,T.of)(new Ct(L,{}))):ar(c,b,L,m).pipe((0,K.w)(({matched:de,consumedSegments:Ge,remainingSegments:ft})=>de?this.getChildConfig(m=b._injector??m,b,L).pipe((0,we.z)(Bt=>{const Zn=Bt.injector??m,Or=Bt.routes,{segmentGroup:wo,slicedSegments:Po}=yo(c,Ge,ft,Or),ti=new Ct(wo.segments,wo.children);if(0===Po.length&&ti.hasChildren())return this.expandChildren(Zn,Or,ti).pipe((0,ie.U)(Ds=>new Ct(Ge,Ds)));if(0===Or.length&&0===Po.length)return(0,T.of)(new Ct(Ge,{}));const co=Sr(b)===J;return this.expandSegment(Zn,ti,Or,Po,co?ue:J,!0).pipe((0,ie.U)(Cs=>new Ct(Ge.concat(Cs.segments),Cs.children)))})):qo(c)))}getChildConfig(m,c,b){return c.children?(0,T.of)({routes:c.children,injector:m}):c.loadChildren?void 0!==c._loadedRoutes?(0,T.of)({routes:c._loadedRoutes,injector:c._loadedInjector}):function ks(f,m,c,b){const L=m.canLoad;if(void 0===L||0===L.length)return(0,T.of)(!0);const J=L.map(de=>{const Ge=Zr(de,f);return et(function fi(f){return f&&no(f.canLoad)}(Ge)?Ge.canLoad(m,c):f.runInContext(()=>Ge(m,c)))});return(0,T.of)(J).pipe(vn(),zi())}(m,c,b).pipe((0,we.z)(L=>L?this.configLoader.loadChildren(m,c).pipe((0,Ve.b)(J=>{c._loadedRoutes=J.routes,c._loadedInjector=J.injector})):function ls(f){return(0,me._)(xi(Ko,3))}())):(0,T.of)({routes:[],injector:m})}lineralizeSegments(m,c){let b=[],L=c.root;for(;;){if(b=b.concat(L.segments),0===L.numberOfChildren)return(0,T.of)(b);if(L.numberOfChildren>1||!L.children[ue])return m.redirectTo,(0,me._)(new i.vHH(4e3,Ko));L=L.children[ue]}}applyRedirectCommands(m,c,b){return this.applyRedirectCreateUrlTree(c,this.urlSerializer.parse(c),m,b)}applyRedirectCreateUrlTree(m,c,b,L){const J=this.createSegmentGroup(m,c.root,b,L);return new Nt(J,this.createQueryParams(c.queryParams,this.urlTree.queryParams),c.fragment)}createQueryParams(m,c){const b={};return Je(m,(L,J)=>{if("string"==typeof L&&L.startsWith(":")){const Ge=L.substring(1);b[J]=c[Ge]}else b[J]=L}),b}createSegmentGroup(m,c,b,L){const J=this.createSegments(m,c.segments,b,L);let de={};return Je(c.children,(Ge,ft)=>{de[ft]=this.createSegmentGroup(m,Ge,b,L)}),new Ct(J,de)}createSegments(m,c,b,L){return c.map(J=>J.path.startsWith(":")?this.findPosParam(m,J,L):this.findOrReturn(J,b))}findPosParam(m,c,b){const L=b[c.path.substring(1)];if(!L)throw new i.vHH(4001,Ko);return L}findOrReturn(m,c){let b=0;for(const L of c){if(L.path===m.path)return c.splice(b),L;b++}return m}}class us{}class lr{constructor(m,c,b,L,J,de,Ge){this.injector=m,this.rootComponentType=c,this.config=b,this.urlTree=L,this.url=J,this.paramsInheritanceStrategy=de,this.urlSerializer=Ge}recognize(){const m=yo(this.urlTree.root,[],[],this.config.filter(c=>void 0===c.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,m,ue).pipe((0,ie.U)(c=>{if(null===c)return null;const b=new tr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ue,this.rootComponentType,null,this.urlTree.root,-1,{}),L=new dn(b,c),J=new zr(this.url,L);return this.inheritParamsAndData(J._root),J}))}inheritParamsAndData(m){const c=m.value,b=mn(c,this.paramsInheritanceStrategy);c.params=Object.freeze(b.params),c.data=Object.freeze(b.data),m.children.forEach(L=>this.inheritParamsAndData(L))}processSegmentGroup(m,c,b,L){return 0===b.segments.length&&b.hasChildren()?this.processChildren(m,c,b):this.processSegment(m,c,b,b.segments,L)}processChildren(m,c,b){return(0,r.D)(Object.keys(b.children)).pipe((0,Re.b)(L=>{const J=b.children[L],de=_r(c,L);return this.processSegmentGroup(m,de,J,L)}),(0,U.R)((L,J)=>L&&J?(L.push(...J),L):null),function at(f,m=!1){return(0,be.e)((c,b)=>{let L=0;c.subscribe((0,Ce.x)(b,J=>{const de=f(J,L++);(de||m)&&b.next(J),!de&&b.complete()}))})}(L=>null!==L),(0,ce.d)(null),We(),(0,ie.U)(L=>{if(null===L)return null;const J=hs(L);return function ds(f){f.sort((m,c)=>m.value.outlet===ue?-1:c.value.outlet===ue?1:m.value.outlet.localeCompare(c.value.outlet))}(J),J}))}processSegment(m,c,b,L,J){return(0,r.D)(c).pipe((0,Re.b)(de=>this.processSegmentAgainstRoute(de._injector??m,de,b,L,J)),(0,Ne.P)(de=>!!de),(0,z.K)(de=>{if(sr(de))return Zo(b,L,J)?(0,T.of)([]):(0,T.of)(null);throw de}))}processSegmentAgainstRoute(m,c,b,L,J){if(c.redirectTo||!gi(c,b,L,J))return(0,T.of)(null);let de;if("**"===c.path){const Ge=L.length>0?Ht(L).parameters:{},ft=vi(b)+L.length,kt=new tr(L,Ge,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Sr(c),c.component??c._loadedComponent??null,c,ps(b),ft,_(c));de=(0,T.of)({snapshot:kt,consumedSegments:[],remainingSegments:[]})}else de=ar(b,c,L,m).pipe((0,ie.U)(({matched:Ge,consumedSegments:ft,remainingSegments:kt,parameters:Bt})=>{if(!Ge)return null;const Zn=vi(b)+ft.length;return{snapshot:new tr(ft,Bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,yi(c),Sr(c),c.component??c._loadedComponent??null,c,ps(b),Zn,_(c)),consumedSegments:ft,remainingSegments:kt}}));return de.pipe((0,K.w)(Ge=>{if(null===Ge)return(0,T.of)(null);const{snapshot:ft,consumedSegments:kt,remainingSegments:Bt}=Ge;m=c._injector??m;const Zn=c._loadedInjector??m,Or=function Bs(f){return f.children?f.children:f.loadChildren?f._loadedRoutes:[]}(c),{segmentGroup:wo,slicedSegments:Po}=yo(b,kt,Bt,Or.filter(co=>void 0===co.redirectTo));if(0===Po.length&&wo.hasChildren())return this.processChildren(Zn,Or,wo).pipe((0,ie.U)(co=>null===co?null:[new dn(ft,co)]));if(0===Or.length&&0===Po.length)return(0,T.of)([new dn(ft,[])]);const ti=Sr(c)===J;return this.processSegment(Zn,Or,wo,Po,ti?ue:J).pipe((0,ie.U)(co=>null===co?null:[new dn(ft,co)]))}))}}function fs(f){const m=f.value.routeConfig;return m&&""===m.path&&void 0===m.redirectTo}function hs(f){const m=[],c=new Set;for(const b of f){if(!fs(b)){m.push(b);continue}const L=m.find(J=>b.value.routeConfig===J.value.routeConfig);void 0!==L?(L.children.push(...b.children),c.add(L)):m.push(b)}for(const b of c){const L=hs(b.children);m.push(new dn(b.value,L))}return m.filter(b=>!c.has(b))}function ps(f){let m=f;for(;m._sourceSegment;)m=m._sourceSegment;return m}function vi(f){let m=f,c=m._segmentIndexShift??0;for(;m._sourceSegment;)m=m._sourceSegment,c+=m._segmentIndexShift??0;return c-1}function yi(f){return f.data||{}}function _(f){return f.resolve||{}}function zt(f){return"string"==typeof f.title||null===f.title}function qn(f){return(0,K.w)(m=>{const c=f(m);return c?(0,r.D)(c).pipe((0,ie.U)(()=>m)):(0,T.of)(m)})}const Rn=new i.OlP("ROUTES");let wn=(()=>{class f{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(c){if(this.componentLoaders.get(c))return this.componentLoaders.get(c);if(c._loadedComponent)return(0,T.of)(c._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(c);const b=et(c.loadComponent()).pipe((0,ie.U)(Hn),(0,Ve.b)(J=>{this.onLoadEndListener&&this.onLoadEndListener(c),c._loadedComponent=J}),(0,G.x)(()=>{this.componentLoaders.delete(c)})),L=new he.c(b,()=>new ae.x).pipe((0,I.x)());return this.componentLoaders.set(c,L),L}loadChildren(c,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,T.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const J=this.loadModuleFactoryOrRoutes(b.loadChildren).pipe((0,ie.U)(Ge=>{this.onLoadEndListener&&this.onLoadEndListener(b);let ft,kt,Bt=!1;Array.isArray(Ge)?kt=Ge:(ft=Ge.create(c).injector,kt=Vt(ft.get(Rn,[],i.XFs.Self|i.XFs.Optional)));return{routes:kt.map(Mo),injector:ft}}),(0,G.x)(()=>{this.childrenLoaders.delete(b)})),de=new he.c(J,()=>new ae.x).pipe((0,I.x)());return this.childrenLoaders.set(b,de),de}loadModuleFactoryOrRoutes(c){return et(c()).pipe((0,ie.U)(Hn),(0,we.z)(b=>b instanceof i.YKP||Array.isArray(b)?(0,T.of)(b):(0,r.D)(this.compiler.compileModuleAsync(b))))}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Hn(f){return function cr(f){return f&&"object"==typeof f&&"default"in f}(f)?f.default:f}let Ur=(()=>{class f{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new ae.x,this.configLoader=(0,i.f3M)(wn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(xn),this.rootContexts=(0,i.f3M)(Wr),this.navigationId=0,this.afterPreactivation=()=>(0,T.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=L=>this.events.next(new Y(L)),this.configLoader.onLoadStartListener=L=>this.events.next(new P(L))}complete(){this.transitions?.complete()}handleNavigationRequest(c){const b=++this.navigationId;this.transitions?.next({...this.transitions.value,...c,id:b})}setupNavigations(c){return this.transitions=new k.X({id:0,targetPageId:0,currentUrlTree:c.currentUrlTree,currentRawUrl:c.currentUrlTree,extractedUrl:c.urlHandlingStrategy.extract(c.currentUrlTree),urlAfterRedirects:c.urlHandlingStrategy.extract(c.currentUrlTree),rawUrl:c.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:pe,restoredState:null,currentSnapshot:c.routerState.snapshot,targetSnapshot:null,currentRouterState:c.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ue.h)(b=>0!==b.id),(0,ie.U)(b=>({...b,extractedUrl:c.urlHandlingStrategy.extract(b.rawUrl)})),(0,K.w)(b=>{let L=!1,J=!1;return(0,T.of)(b).pipe((0,Ve.b)(de=>{this.currentNavigation={id:de.id,initialUrl:de.rawUrl,extractedUrl:de.extractedUrl,trigger:de.source,extras:de.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,K.w)(de=>{const Ge=c.browserUrlTree.toString(),ft=!c.navigated||de.extractedUrl.toString()!==Ge||Ge!==c.currentUrlTree.toString();if(!ft&&"reload"!==(de.extras.onSameUrlNavigation??c.onSameUrlNavigation)){const Bt="";return this.events.next(new ge(de.id,c.serializeUrl(b.rawUrl),Bt,0)),c.rawUrlTree=de.rawUrl,de.resolve(null),re.E}if(c.urlHandlingStrategy.shouldProcessUrl(de.rawUrl))return Vr(de.source)&&(c.browserUrlTree=de.extractedUrl),(0,T.of)(de).pipe((0,K.w)(Bt=>{const Zn=this.transitions?.getValue();return this.events.next(new E(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),Bt.source,Bt.restoredState)),Zn!==this.transitions?.getValue()?re.E:Promise.resolve(Bt)}),function mi(f,m,c,b){return(0,K.w)(L=>function cs(f,m,c,b,L){return new Wi(f,m,c,b,L).apply()}(f,m,c,L.extractedUrl,b).pipe((0,ie.U)(J=>({...L,urlAfterRedirects:J}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,c.config),(0,Ve.b)(Bt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Bt.urlAfterRedirects},b.urlAfterRedirects=Bt.urlAfterRedirects}),function $(f,m,c,b,L){return(0,we.z)(J=>function xo(f,m,c,b,L,J,de="emptyOnly"){return new lr(f,m,c,b,L,de,J).recognize().pipe((0,K.w)(Ge=>null===Ge?function Br(f){return new q.y(m=>m.error(f))}(new us):(0,T.of)(Ge)))}(f,m,c,J.urlAfterRedirects,b.serialize(J.urlAfterRedirects),b,L).pipe((0,ie.U)(de=>({...J,targetSnapshot:de}))))}(this.environmentInjector,this.rootComponentType,c.config,this.urlSerializer,c.paramsInheritanceStrategy),(0,Ve.b)(Bt=>{if(b.targetSnapshot=Bt.targetSnapshot,"eager"===c.urlUpdateStrategy){if(!Bt.extras.skipLocationChange){const Or=c.urlHandlingStrategy.merge(Bt.urlAfterRedirects,Bt.rawUrl);c.setBrowserUrl(Or,Bt)}c.browserUrlTree=Bt.urlAfterRedirects}const Zn=new ke(Bt.id,this.urlSerializer.serialize(Bt.extractedUrl),this.urlSerializer.serialize(Bt.urlAfterRedirects),Bt.targetSnapshot);this.events.next(Zn)}));if(ft&&c.urlHandlingStrategy.shouldProcessUrl(c.rawUrlTree)){const{id:Bt,extractedUrl:Zn,source:Or,restoredState:wo,extras:Po}=de,ti=new E(Bt,this.urlSerializer.serialize(Zn),Or,wo);this.events.next(ti);const co=S(Zn,this.rootComponentType).snapshot;return b={...de,targetSnapshot:co,urlAfterRedirects:Zn,extras:{...Po,skipLocationChange:!1,replaceUrl:!1}},(0,T.of)(b)}{const Bt="";return this.events.next(new ge(de.id,c.serializeUrl(b.extractedUrl),Bt,1)),c.rawUrlTree=de.rawUrl,de.resolve(null),re.E}}),(0,Ve.b)(de=>{const Ge=new tt(de.id,this.urlSerializer.serialize(de.extractedUrl),this.urlSerializer.serialize(de.urlAfterRedirects),de.targetSnapshot);this.events.next(Ge)}),(0,ie.U)(de=>b={...de,guards:go(de.targetSnapshot,de.currentSnapshot,this.rootContexts)}),function Wo(f,m){return(0,we.z)(c=>{const{targetSnapshot:b,currentSnapshot:L,guards:{canActivateChecks:J,canDeactivateChecks:de}}=c;return 0===de.length&&0===J.length?(0,T.of)({...c,guardsResult:!0}):function is(f,m,c,b){return(0,r.D)(f).pipe((0,we.z)(L=>function Bo(f,m,c,b,L){const J=m&&m.routeConfig?m.routeConfig.canDeactivate:null;if(!J||0===J.length)return(0,T.of)(!0);const de=J.map(Ge=>{const ft=Qr(m)??L,kt=Zr(Ge,ft);return et(function w(f){return f&&no(f.canDeactivate)}(kt)?kt.canDeactivate(f,m,c,b):ft.runInContext(()=>kt(f,m,c,b))).pipe((0,Ne.P)())});return(0,T.of)(de).pipe(vn())}(L.component,L.route,c,m,b)),(0,Ne.P)(L=>!0!==L,!0))}(de,b,L,f).pipe((0,we.z)(Ge=>Ge&&function ln(f){return"boolean"==typeof f}(Ge)?function Fr(f,m,c,b){return(0,r.D)(m).pipe((0,Re.b)(L=>(0,V.z)(function so(f,m){return null!==f&&m&&m(new Se(f)),(0,T.of)(!0)}(L.route.parent,b),function Un(f,m){return null!==f&&m&&m(new He(f)),(0,T.of)(!0)}(L.route,b),function ji(f,m,c){const b=m[m.length-1],J=m.slice(0,m.length-1).reverse().map(de=>function Nr(f){const m=f.routeConfig?f.routeConfig.canActivateChild:null;return m&&0!==m.length?{node:f,guards:m}:null}(de)).filter(de=>null!==de).map(de=>(0,H.P)(()=>{const Ge=de.guards.map(ft=>{const kt=Qr(de.node)??c,Bt=Zr(ft,kt);return et(function O(f){return f&&no(f.canActivateChild)}(Bt)?Bt.canActivateChild(b,f):kt.runInContext(()=>Bt(b,f))).pipe((0,Ne.P)())});return(0,T.of)(Ge).pipe(vn())}));return(0,T.of)(J).pipe(vn())}(f,L.path,c),function ro(f,m,c){const b=m.routeConfig?m.routeConfig.canActivate:null;if(!b||0===b.length)return(0,T.of)(!0);const L=b.map(J=>(0,H.P)(()=>{const de=Qr(m)??c,Ge=Zr(J,de);return et(function F(f){return f&&no(f.canActivate)}(Ge)?Ge.canActivate(m,f):de.runInContext(()=>Ge(m,f))).pipe((0,Ne.P)())}));return(0,T.of)(L).pipe(vn())}(f,L.route,c))),(0,Ne.P)(L=>!0!==L,!0))}(b,J,f,m):(0,T.of)(Ge)),(0,ie.U)(Ge=>({...c,guardsResult:Ge})))})}(this.environmentInjector,de=>this.events.next(de)),(0,Ve.b)(de=>{if(b.guardsResult=de.guardsResult,st(de.guardsResult))throw li(0,de.guardsResult);const Ge=new ct(de.id,this.urlSerializer.serialize(de.extractedUrl),this.urlSerializer.serialize(de.urlAfterRedirects),de.targetSnapshot,!!de.guardsResult);this.events.next(Ge)}),(0,Ue.h)(de=>!!de.guardsResult||(c.restoreHistory(de),this.cancelNavigationTransition(de,"",3),!1)),qn(de=>{if(de.guards.canActivateChecks.length)return(0,T.of)(de).pipe((0,Ve.b)(Ge=>{const ft=new vt(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(ft)}),(0,K.w)(Ge=>{let ft=!1;return(0,T.of)(Ge).pipe(function M(f,m){return(0,we.z)(c=>{const{targetSnapshot:b,guards:{canActivateChecks:L}}=c;if(!L.length)return(0,T.of)(c);let J=0;return(0,r.D)(L).pipe((0,Re.b)(de=>function X(f,m,c,b){const L=f.routeConfig,J=f._resolve;return void 0!==L?.title&&!zt(L)&&(J[W]=L.title),function Ae(f,m,c,b){const L=function it(f){return[...Object.keys(f),...Object.getOwnPropertySymbols(f)]}(f);if(0===L.length)return(0,T.of)({});const J={};return(0,r.D)(L).pipe((0,we.z)(de=>function gt(f,m,c,b){const L=Qr(m)??b,J=Zr(f,L);return et(J.resolve?J.resolve(m,c):L.runInContext(()=>J(m,c)))}(f[de],m,c,b).pipe((0,Ne.P)(),(0,Ve.b)(Ge=>{J[de]=Ge}))),Te(1),(0,ve.h)(J),(0,z.K)(de=>sr(de)?re.E:(0,me._)(de)))}(J,f,m,b).pipe((0,ie.U)(de=>(f._resolvedData=de,f.data=mn(f,c).resolve,L&&zt(L)&&(f.data[W]=L.title),null)))}(de.route,b,f,m)),(0,Ve.b)(()=>J++),Te(1),(0,we.z)(de=>J===L.length?(0,T.of)(c):re.E))})}(c.paramsInheritanceStrategy,this.environmentInjector),(0,Ve.b)({next:()=>ft=!0,complete:()=>{ft||(c.restoreHistory(Ge),this.cancelNavigationTransition(Ge,"",2))}}))}),(0,Ve.b)(Ge=>{const ft=new xe(Ge.id,this.urlSerializer.serialize(Ge.extractedUrl),this.urlSerializer.serialize(Ge.urlAfterRedirects),Ge.targetSnapshot);this.events.next(ft)}))}),qn(de=>{const Ge=ft=>{const kt=[];ft.routeConfig?.loadComponent&&!ft.routeConfig._loadedComponent&&kt.push(this.configLoader.loadComponent(ft.routeConfig).pipe((0,Ve.b)(Bt=>{ft.component=Bt}),(0,ie.U)(()=>{})));for(const Bt of ft.children)kt.push(...Ge(Bt));return kt};return(0,R.a)(Ge(de.targetSnapshot.root)).pipe((0,ce.d)(),(0,fe.q)(1))}),qn(()=>this.afterPreactivation()),(0,ie.U)(de=>{const Ge=function Ti(f,m,c){const b=fo(f,m._root,c?c._root:void 0);return new ee(b,m)}(c.routeReuseStrategy,de.targetSnapshot,de.currentRouterState);return b={...de,targetRouterState:Ge}}),(0,Ve.b)(de=>{c.currentUrlTree=de.urlAfterRedirects,c.rawUrlTree=c.urlHandlingStrategy.merge(de.urlAfterRedirects,de.rawUrl),c.routerState=de.targetRouterState,"deferred"===c.urlUpdateStrategy&&(de.extras.skipLocationChange||c.setBrowserUrl(c.rawUrlTree,de),c.browserUrlTree=de.urlAfterRedirects)}),((f,m,c)=>(0,ie.U)(b=>(new Mr(m,b.targetRouterState,b.currentRouterState,c).activate(f),b)))(this.rootContexts,c.routeReuseStrategy,de=>this.events.next(de)),(0,fe.q)(1),(0,Ve.b)({next:de=>{L=!0,this.lastSuccessfulNavigation=this.currentNavigation,c.navigated=!0,this.events.next(new A(de.id,this.urlSerializer.serialize(de.extractedUrl),this.urlSerializer.serialize(c.currentUrlTree))),c.titleStrategy?.updateTitle(de.targetRouterState.snapshot),de.resolve(!0)},complete:()=>{L=!0}}),(0,G.x)(()=>{L||J||this.cancelNavigationTransition(b,"",1),this.currentNavigation?.id===b.id&&(this.currentNavigation=null)}),(0,z.K)(de=>{if(J=!0,Io(de)){Oi(de)||(c.navigated=!0,c.restoreHistory(b,!0));const Ge=new Z(b.id,this.urlSerializer.serialize(b.extractedUrl),de.message,de.cancellationCode);if(this.events.next(Ge),Oi(de)){const ft=c.urlHandlingStrategy.merge(de.url,c.rawUrlTree),kt={skipLocationChange:b.extras.skipLocationChange,replaceUrl:"eager"===c.urlUpdateStrategy||Vr(b.source)};c.scheduleNavigation(ft,pe,null,kt,{resolve:b.resolve,reject:b.reject,promise:b.promise})}else b.resolve(!1)}else{c.restoreHistory(b,!0);const Ge=new Ie(b.id,this.urlSerializer.serialize(b.extractedUrl),de,b.targetSnapshot??void 0);this.events.next(Ge);try{b.resolve(c.errorHandler(de))}catch(ft){b.reject(ft)}}return re.E}))}))}cancelNavigationTransition(c,b,L){const J=new Z(c.id,this.urlSerializer.serialize(c.extractedUrl),b,L);this.events.next(J),c.resolve(!1)}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function Vr(f){return f!==pe}let Co=(()=>{class f{buildTitle(c){let b,L=c.root;for(;void 0!==L;)b=this.getResolvedTitleForRoute(L)??b,L=L.children.find(J=>J.outlet===ue);return b}getResolvedTitleForRoute(c){return c.data[W]}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:function(){return(0,i.f3M)(Kr)},providedIn:"root"}),f})(),Kr=(()=>{class f extends Co{constructor(c){super(),this.title=c}updateTitle(c){const b=this.buildTitle(c);void 0!==b&&this.title.setTitle(b)}}return f.\u0275fac=function(c){return new(c||f)(i.LFG(j.Dx))},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),eo=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:function(){return(0,i.f3M)(ao)},providedIn:"root"}),f})();class Oo{shouldDetach(m){return!1}store(m,c){}shouldAttach(m){return!1}retrieve(m){return null}shouldReuseRoute(m,c){return m.routeConfig===c.routeConfig}}let ao=(()=>{class f extends Oo{}return f.\u0275fac=function(){let m;return function(b){return(m||(m=i.n5z(f)))(b||f)}}(),f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const Jo=new i.OlP("",{providedIn:"root",factory:()=>({})});let el=(()=>{class f{}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:function(){return(0,i.f3M)(Us)},providedIn:"root"}),f})(),Us=(()=>{class f{shouldProcessUrl(c){return!0}extract(c){return c}merge(c,b){return c}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();function va(f){throw f}function Do(f,m,c){return m.parse("/")}const ya={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ji={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Hr=(()=>{class f{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this.options=(0,i.f3M)(Jo,{optional:!0})||{},this.errorHandler=this.options.errorHandler||va,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Do,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(el),this.routeReuseStrategy=(0,i.f3M)(eo),this.urlCreationStrategy=(0,i.f3M)(Ft),this.titleStrategy=(0,i.f3M)(Co),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Vt((0,i.f3M)(Rn,{optional:!0})??[]),this.navigationTransitions=(0,i.f3M)(Ur),this.urlSerializer=(0,i.f3M)(xn),this.location=(0,i.f3M)(Q.Ye),this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Nt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=S(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(c=>{this.lastSuccessfulId=c.id,this.currentPageId=this.browserPageId??0},c=>{this.console.warn(`Unhandled Navigation Error: ${c}`)})}resetRootComponentType(c){this.routerState.root.component=c,this.navigationTransitions.rootComponentType=c}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const c=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),pe,c)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(c=>{const b="popstate"===c.type?"popstate":"hashchange";"popstate"===b&&setTimeout(()=>{this.navigateToSyncWithBrowser(c.url,b,c.state)},0)}))}navigateToSyncWithBrowser(c,b,L){const J={replaceUrl:!0},de=L?.navigationId?L:null;if(L){const ft={...L};delete ft.navigationId,delete ft.\u0275routerPageId,0!==Object.keys(ft).length&&(J.state=ft)}const Ge=this.parseUrl(c);this.scheduleNavigation(Ge,b,de,J)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(c){this.config=c.map(Mo),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(c,b={}){const{relativeTo:L,queryParams:J,fragment:de,queryParamsHandling:Ge,preserveFragment:ft}=b,kt=ft?this.currentUrlTree.fragment:de;let Bt=null;switch(Ge){case"merge":Bt={...this.currentUrlTree.queryParams,...J};break;case"preserve":Bt=this.currentUrlTree.queryParams;break;default:Bt=J||null}return null!==Bt&&(Bt=this.removeEmptyProps(Bt)),this.urlCreationStrategy.createUrlTree(L,this.routerState,this.currentUrlTree,c,Bt,kt??null)}navigateByUrl(c,b={skipLocationChange:!1}){const L=st(c)?c:this.parseUrl(c),J=this.urlHandlingStrategy.merge(L,this.rawUrlTree);return this.scheduleNavigation(J,pe,null,b)}navigate(c,b={skipLocationChange:!1}){return function Vs(f){for(let m=0;m{const J=c[L];return null!=J&&(b[L]=J),b},{})}scheduleNavigation(c,b,L,J,de){if(this.disposed)return Promise.resolve(!1);let Ge,ft,kt,Bt;return de?(Ge=de.resolve,ft=de.reject,kt=de.promise):kt=new Promise((Zn,Or)=>{Ge=Zn,ft=Or}),Bt="computed"===this.canceledNavigationResolution?L&&L.\u0275routerPageId?L.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Bt,source:b,restoredState:L,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:c,extras:J,resolve:Ge,reject:ft,promise:kt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kt.catch(Zn=>Promise.reject(Zn))}setBrowserUrl(c,b){const L=this.urlSerializer.serialize(c);if(this.location.isCurrentPathEqualTo(L)||b.extras.replaceUrl){const de={...b.extras.state,...this.generateNgRouterState(b.id,this.browserPageId)};this.location.replaceState(L,"",de)}else{const J={...b.extras.state,...this.generateNgRouterState(b.id,b.targetPageId)};this.location.go(L,"",J)}}restoreHistory(c,b=!1){if("computed"===this.canceledNavigationResolution){const J=this.currentPageId-(this.browserPageId??this.currentPageId);0!==J?this.location.historyGo(J):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===J&&(this.resetState(c),this.browserUrlTree=c.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetState(c),this.resetUrlToCurrentUrlTree())}resetState(c){this.routerState=c.currentRouterState,this.currentUrlTree=c.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,c.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(c,b){return"computed"===this.canceledNavigationResolution?{navigationId:c,\u0275routerPageId:b}:{navigationId:c}}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),_i=(()=>{class f{constructor(c,b,L,J,de,Ge){this.router=c,this.route=b,this.tabIndexAttribute=L,this.renderer=J,this.el=de,this.locationStrategy=Ge,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new ae.x;const ft=de.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ft||"area"===ft,this.isAnchorElement?this.subscription=c.events.subscribe(kt=>{kt instanceof A&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(c){this._preserveFragment=(0,i.D6c)(c)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(c){this._skipLocationChange=(0,i.D6c)(c)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(c){this._replaceUrl=(0,i.D6c)(c)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(c){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",c)}ngOnChanges(c){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(c){null!=c?(this.commands=Array.isArray(c)?c:[c],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(c,b,L,J,de){return!!(null===this.urlTree||this.isAnchorElement&&(0!==c||b||L||J||de||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const c=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",c)}applyAttributeValue(c,b){const L=this.renderer,J=this.el.nativeElement;null!==b?L.setAttribute(J,c,b):L.removeAttribute(J,c)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return f.\u0275fac=function(c){return new(c||f)(i.Y36(Hr),i.Y36(Fe),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(Q.S$))},f.\u0275dir=i.lG2({type:f,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(c,b){1&c&&i.NdJ("click",function(J){return b.onClick(J.button,J.ctrlKey,J.shiftKey,J.altKey,J.metaKey)}),2&c&&i.uIk("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[i.TTD]}),f})();class vs{}let js=(()=>{class f{preload(c,b){return b().pipe((0,z.K)(()=>(0,T.of)(null)))}}return f.\u0275fac=function(c){return new(c||f)},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),zs=(()=>{class f{constructor(c,b,L,J,de){this.router=c,this.injector=L,this.preloadingStrategy=J,this.loader=de}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ue.h)(c=>c instanceof A),(0,Re.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(c,b){const L=[];for(const J of b){J.providers&&!J._injector&&(J._injector=(0,i.MMx)(J.providers,c,`Route: ${J.path}`));const de=J._injector??c,Ge=J._loadedInjector??de;(J.loadChildren&&!J._loadedRoutes&&void 0===J.canLoad||J.loadComponent&&!J._loadedComponent)&&L.push(this.preloadConfig(de,J)),(J.children||J._loadedRoutes)&&L.push(this.processRoutes(Ge,J.children??J._loadedRoutes))}return(0,r.D)(L).pipe((0,N.J)())}preloadConfig(c,b){return this.preloadingStrategy.preload(b,()=>{let L;L=b.loadChildren&&void 0===b.canLoad?this.loader.loadChildren(c,b):(0,T.of)(null);const J=L.pipe((0,we.z)(de=>null===de?(0,T.of)(void 0):(b._loadedRoutes=de.routes,b._loadedInjector=de.injector,this.processRoutes(de.injector??c,de.routes))));if(b.loadComponent&&!b._loadedComponent){const de=this.loader.loadComponent(b);return(0,r.D)([J,de]).pipe((0,N.J)())}return J})}}return f.\u0275fac=function(c){return new(c||f)(i.LFG(Hr),i.LFG(i.Sil),i.LFG(i.lqb),i.LFG(vs),i.LFG(wn))},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})();const ys=new i.OlP("");let Li=(()=>{class f{constructor(c,b,L,J,de={}){this.urlSerializer=c,this.transitions=b,this.viewportScroller=L,this.zone=J,this.options=de,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},de.scrollPositionRestoration=de.scrollPositionRestoration||"disabled",de.anchorScrolling=de.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof E?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=c.navigationTrigger,this.restoredId=c.restoredState?c.restoredState.navigationId:0):c instanceof A&&(this.lastId=c.id,this.scheduleScrollEvent(c,this.urlSerializer.parse(c.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(c=>{c instanceof Qe&&(c.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(c.position):c.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(c.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(c,b){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Qe(c,"popstate"===this.lastSource?this.store[this.restoredId]:null,b))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return f.\u0275fac=function(c){i.$Z()},f.\u0275prov=i.Yz7({token:f,factory:f.\u0275fac}),f})();var Ar=(()=>((Ar=Ar||{})[Ar.COMPLETE=0]="COMPLETE",Ar[Ar.FAILED=1]="FAILED",Ar[Ar.REDIRECTING=2]="REDIRECTING",Ar))();const Xo=!1;function Eo(f,m){return{\u0275kind:f,\u0275providers:m}}const bi=new i.OlP("",{providedIn:"root",factory:()=>!1});function Qi(){const f=(0,i.f3M)(i.zs3);return m=>{const c=f.get(i.z2F);if(m!==c.components[0])return;const b=f.get(Hr),L=f.get($o);1===f.get(Uo)&&b.initialNavigation(),f.get(ei,null,i.XFs.Optional)?.setUpPreloading(),f.get(ys,null,i.XFs.Optional)?.init(),b.resetRootComponentType(c.componentTypes[0]),L.closed||(L.next(),L.complete(),L.unsubscribe())}}const $o=new i.OlP(Xo?"bootstrap done indicator":"",{factory:()=>new ae.x}),Uo=new i.OlP(Xo?"initial navigation":"",{providedIn:"root",factory:()=>1});function _s(){let f=[];return f=Xo?[{provide:i.Xts,multi:!0,useFactory:()=>{const m=(0,i.f3M)(Hr);return()=>m.events.subscribe(c=>{console.group?.(`Router Event: ${c.constructor.name}`),console.log(function yt(f){if(!("type"in f))return`Unknown Router Event: ${f.constructor.name}`;switch(f.type){case 14:return`ActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${f.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${f.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state}, shouldActivate: ${f.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 2:return`NavigationCancel(id: ${f.id}, url: '${f.url}')`;case 16:return`NavigationSkipped(id: ${f.id}, url: '${f.url}')`;case 1:return`NavigationEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${f.id}, url: '${f.url}', error: ${f.error})`;case 0:return`NavigationStart(id: ${f.id}, url: '${f.url}')`;case 6:return`ResolveEnd(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 5:return`ResolveStart(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 10:return`RouteConfigLoadEnd(path: ${f.route.path})`;case 9:return`RouteConfigLoadStart(path: ${f.route.path})`;case 4:return`RoutesRecognized(id: ${f.id}, url: '${f.url}', urlAfterRedirects: '${f.urlAfterRedirects}', state: ${f.state})`;case 15:return`Scroll(anchor: '${f.anchor}', position: '${f.position?`${f.position[0]}, ${f.position[1]}`:null}')`}}(c)),console.log(c),console.groupEnd?.()})}}]:[],Eo(1,f)}const ei=new i.OlP(Xo?"router preloader":"");function nl(f){return Eo(0,[{provide:ei,useExisting:zs},{provide:vs,useExisting:f}])}const es=!1,Ea=new i.OlP(es?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),ol=[Q.Ye,{provide:xn,useClass:or},Hr,Wr,{provide:Fe,useFactory:function Qo(f){return f.routerState.root},deps:[Hr]},wn,es?{provide:bi,useValue:!0}:[]];function il(){return new i.PXZ("Router",Hr)}let sl=(()=>{class f{constructor(c){}static forRoot(c,b){return{ngModule:f,providers:[ol,es&&b?.enableTracing?_s().\u0275providers:[],{provide:Rn,multi:!0,useValue:c},{provide:Ea,useFactory:xr,deps:[[Hr,new i.FiY,new i.tp0]]},{provide:Jo,useValue:b||{}},b?.useHash?{provide:Q.S$,useClass:Q.Do}:{provide:Q.S$,useClass:Q.b0},{provide:ys,useFactory:()=>{const f=(0,i.f3M)(Q.EM),m=(0,i.f3M)(i.R0b),c=(0,i.f3M)(Jo),b=(0,i.f3M)(Ur),L=(0,i.f3M)(xn);return c.scrollOffset&&f.setOffset(c.scrollOffset),new Li(L,b,f,m,c)}},b?.preloadingStrategy?nl(b.preloadingStrategy).\u0275providers:[],{provide:i.PXZ,multi:!0,useFactory:il},b?.initialNavigation?bs(b):[],[{provide:Di,useFactory:Qi},{provide:i.tb,multi:!0,useExisting:Di}]]}}static forChild(c){return{ngModule:f,providers:[{provide:Rn,multi:!0,useValue:c}]}}}return f.\u0275fac=function(c){return new(c||f)(i.LFG(Ea,8))},f.\u0275mod=i.oAB({type:f}),f.\u0275inj=i.cJS({imports:[No]}),f})();function xr(f){if(es&&f)throw new i.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function bs(f){return["disabled"===f.initialNavigation?Eo(3,[{provide:i.ip1,multi:!0,useFactory:()=>{const m=(0,i.f3M)(Hr);return()=>{m.setUpLocationChangeListener()}}},{provide:Uo,useValue:2}]).\u0275providers:[],"enabledBlocking"===f.initialNavigation?Eo(2,[{provide:Uo,useValue:0},{provide:i.ip1,multi:!0,deps:[i.zs3],useFactory:m=>{const c=m.get(Q.V_,Promise.resolve());return()=>c.then(()=>new Promise(b=>{const L=m.get(Hr),J=m.get($o);(function ba(f,m){f.events.pipe((0,Ue.h)(c=>c instanceof A||c instanceof Z||c instanceof Ie||c instanceof ge),(0,ie.U)(c=>c instanceof A||c instanceof ge?Ar.COMPLETE:c instanceof Z&&(0===c.code||1===c.code)?Ar.REDIRECTING:Ar.FAILED),(0,Ue.h)(c=>c!==Ar.REDIRECTING),(0,fe.q)(1)).subscribe(()=>{m()})})(L,()=>{b(!0)}),m.get(Ur).afterPreactivation=()=>(b(!0),J.closed?(0,T.of)(void 0):J),L.initialNavigation()}))}}]).\u0275providers:[]]}const Di=new i.OlP(es?"Router Initializer":"")},958:(pt,Pe,g)=>{"use strict";g.d(Pe,{y4:()=>rr,De:()=>nn,dy:()=>un,oU:()=>Er,ki:()=>vr,O1:()=>kn,d8:()=>br,jP:()=>Qt,UN:()=>Tn,r4:()=>Mt,SH:()=>Jt,X1:()=>Ct,xs:()=>Pn,t4:()=>It,j:()=>yr,H:()=>Nn,bk:()=>hr,DN:()=>Qn,Wn:()=>Bn,vk:()=>bn});var i=g(5861),r=g(4650),T=g(6159),k=g(6895);class ne{constructor(){this.m=new Map}reset(C){this.m=new Map(Object.entries(C))}get(C,E){const A=this.m.get(C);return void 0!==A?A:E}getBoolean(C,E=!1){const A=this.m.get(C);return void 0===A?E:"string"==typeof A?"true"===A:!!A}getNumber(C,E){const A=parseFloat(this.m.get(C));return isNaN(A)?void 0!==E?E:NaN:A}set(C,E){this.m.set(C,E)}}const R=new ne,he=pe=>Q(pe),Q=(pe=window)=>{if(typeof pe>"u")return[];pe.Ionic=pe.Ionic||{};let C=pe.Ionic.platforms;return null==C&&(C=pe.Ionic.platforms=ie(pe),C.forEach(E=>pe.document.documentElement.classList.add(`plt-${E}`))),C},ie=pe=>{const C=R.get("platform");return Object.keys(at).filter(E=>{const A=C?.[E];return"function"==typeof A?A(pe):at[E](pe)})},fe=pe=>!!(Le(pe,/iPad/i)||Le(pe,/Macintosh/i)&&z(pe)),we=pe=>Le(pe,/android|sink/i),z=pe=>We(pe,"(any-pointer:coarse)"),be=pe=>Ce(pe)||Te(pe),Ce=pe=>!!(pe.cordova||pe.phonegap||pe.PhoneGap),Te=pe=>!!pe.Capacitor?.isNative,Le=(pe,C)=>C.test(pe.navigator.userAgent),We=(pe,C)=>{var E;return null===(E=pe.matchMedia)||void 0===E?void 0:E.call(pe,C).matches},at={ipad:fe,iphone:pe=>Le(pe,/iPhone/i),ios:pe=>Le(pe,/iPhone|iPod/i)||fe(pe),android:we,phablet:pe=>{const C=pe.innerWidth,E=pe.innerHeight,A=Math.min(C,E),Z=Math.max(C,E);return A>390&&A<520&&Z>620&&Z<800},tablet:pe=>{const C=pe.innerWidth,E=pe.innerHeight,A=Math.min(C,E),Z=Math.max(C,E);return fe(pe)||(pe=>we(pe)&&!Le(pe,/mobile/i))(pe)||A>460&&A<820&&Z>780&&Z<1400},cordova:Ce,capacitor:Te,electron:pe=>Le(pe,/electron/i),pwa:pe=>{var C;return!!(null!==(C=pe.matchMedia)&&void 0!==C&&C.call(pe,"(display-mode: standalone)").matches||pe.navigator.standalone)},mobile:z,mobileweb:pe=>z(pe)&&!be(pe),desktop:pe=>!z(pe),hybrid:be};var N=g(3435),j=g(9804),ue=g(7579),W=g(4968),Ye=g(1135),qe=g(9841),ht=g(9646),dt=g(7582),xt=g(9300),qt=g(3900),Vt=g(1884),Ht=g(4006);const Ut=["tabsInner"];let It=(()=>{class pe{constructor(E,A){this.doc=E,this.backButton=new ue.x,this.keyboardDidShow=new ue.x,this.keyboardDidHide=new ue.x,this.pause=new ue.x,this.resume=new ue.x,this.resize=new ue.x,A.run(()=>{let Z;this.win=E.defaultView,this.backButton.subscribeWithPriority=function(ge,Ie){return this.subscribe(ke=>ke.register(ge,tt=>A.run(()=>Ie(tt))))},on(this.pause,E,"pause",A),on(this.resume,E,"resume",A),on(this.backButton,E,"ionBackButton",A),on(this.resize,this.win,"resize",A),on(this.keyboardDidShow,this.win,"ionKeyboardDidShow",A),on(this.keyboardDidHide,this.win,"ionKeyboardDidHide",A),this._readyPromise=new Promise(ge=>{Z=ge}),this.win?.cordova?E.addEventListener("deviceready",()=>{Z("cordova")},{once:!0}):Z("dom")})}is(E){return((pe,C)=>("string"==typeof pe&&(C=pe,pe=void 0),he(pe).includes(C)))(this.win,E)}platforms(){return he(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(E){return bt(this.win.location.href,E)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(E){const A=this.win.navigator;return!!(A?.userAgent&&A.userAgent.indexOf(E)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return pe.\u0275fac=function(E){return new(E||pe)(r.LFG(k.K0),r.LFG(r.R0b))},pe.\u0275prov=r.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const bt=(pe,C)=>{C=C.replace(/[[\]\\]/g,"\\$&");const A=new RegExp("[\\?&]"+C+"=([^&#]*)").exec(pe);return A?decodeURIComponent(A[1].replace(/\+/g," ")):null},on=(pe,C,E,A)=>{C&&C.addEventListener(E,Z=>{A.run(()=>{const ge=Z?.detail;pe.next(ge)})})};let Jt=(()=>{class pe{constructor(E,A,Z,ge){this.location=A,this.serializer=Z,this.router=ge,this.direction=en,this.animated=On,this.guessDirection="forward",this.lastNavId=-1,ge&&ge.events.subscribe(Ie=>{if(Ie instanceof T.OD){const ke=Ie.restoredState?Ie.restoredState.navigationId:Ie.id;this.guessDirection=ke{this.pop(),Ie()})}navigateForward(E,A={}){return this.setDirection("forward",A.animated,A.animationDirection,A.animation),this.navigate(E,A)}navigateBack(E,A={}){return this.setDirection("back",A.animated,A.animationDirection,A.animation),this.navigate(E,A)}navigateRoot(E,A={}){return this.setDirection("root",A.animated,A.animationDirection,A.animation),this.navigate(E,A)}back(E={animated:!0,animationDirection:"back"}){return this.setDirection("back",E.animated,E.animationDirection,E.animation),this.location.back()}pop(){var E=this;return(0,i.Z)(function*(){let A=E.topOutlet;for(;A;){if(yield A.pop())return!0;A=A.parentOutlet}return!1})()}setDirection(E,A,Z,ge){this.direction=E,this.animated=tn(E,A,Z),this.animationBuilder=ge}setTopOutlet(E){this.topOutlet=E}consumeTransition(){let A,E="root";const Z=this.animationBuilder;return"auto"===this.direction?(E=this.guessDirection,A=this.guessAnimation):(A=this.animated,E=this.direction),this.direction=en,this.animated=On,this.animationBuilder=void 0,{direction:E,animation:A,animationBuilder:Z}}navigate(E,A){if(Array.isArray(E))return this.router.navigate(E,A);{const Z=this.serializer.parse(E.toString());return void 0!==A.queryParams&&(Z.queryParams={...A.queryParams}),void 0!==A.fragment&&(Z.fragment=A.fragment),this.router.navigateByUrl(Z,A)}}}return pe.\u0275fac=function(E){return new(E||pe)(r.LFG(It),r.LFG(k.Ye),r.LFG(T.Hx),r.LFG(T.F0,8))},pe.\u0275prov=r.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const tn=(pe,C,E)=>{if(!1!==C){if(void 0!==E)return E;if("forward"===pe||"back"===pe)return pe;if("root"===pe&&!0===C)return"forward"}},en="auto",On=void 0;let nn=(()=>{class pe{get(E,A){const Z=Nt();return Z?Z.get(E,A):null}getBoolean(E,A){const Z=Nt();return!!Z&&Z.getBoolean(E,A)}getNumber(E,A){const Z=Nt();return Z?Z.getNumber(E,A):0}}return pe.\u0275fac=function(E){return new(E||pe)},pe.\u0275prov=r.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const un=new r.OlP("USERCONFIG"),Nt=()=>{if(typeof window<"u"){const pe=window.Ionic;if(pe?.config)return pe.config}return null};class Ct{constructor(C={}){this.data=C}get(C){return this.data[C]}}let rr=(()=>{class pe{constructor(){this.zone=(0,r.f3M)(r.R0b),this.applicationRef=(0,r.f3M)(r.z2F)}create(E,A,Z){return new hn(E,A,this.applicationRef,this.zone,Z)}}return pe.\u0275fac=function(E){return new(E||pe)},pe.\u0275prov=r.Yz7({token:pe,factory:pe.\u0275fac}),pe})();class hn{constructor(C,E,A,Z,ge){this.environmentInjector=C,this.injector=E,this.applicationRef=A,this.zone=Z,this.elementReferenceKey=ge,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(C,E,A,Z){return this.zone.run(()=>new Promise(ge=>{const Ie={...A};void 0!==this.elementReferenceKey&&(Ie[this.elementReferenceKey]=C),ge(Cn(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,C,E,Ie,Z,this.elementReferenceKey))}))}removeViewFromDom(C,E){return this.zone.run(()=>new Promise(A=>{const Z=this.elRefMap.get(E);if(Z){Z.destroy(),this.elRefMap.delete(E);const ge=this.elEventsMap.get(E);ge&&(ge(),this.elEventsMap.delete(E))}A()}))}}const Cn=(pe,C,E,A,Z,ge,Ie,ke,tt,ct,vt)=>{const xe=r.zs3.create({providers:pn(tt),parent:E}),P=(0,r.LMc)(ke,{environmentInjector:C,elementInjector:xe}),Y=P.instance,Se=P.location.nativeElement;if(tt&&(vt&&void 0!==Y[vt]&&console.error(`[Ionic Error]: ${vt} is a reserved property when using ${Ie.tagName.toLowerCase()}. Rename or remove the "${vt}" property from ${ke.name}.`),Object.assign(Y,tt)),ct)for(const He of ct)Se.classList.add(He);const Oe=xn(pe,Y,Se);return Ie.appendChild(Se),A.attachView(P.hostView),Z.set(Se,P),ge.set(Se,Oe),Se},nr=[N.L,N.a,N.b,N.c,N.d],xn=(pe,C,E)=>pe.run(()=>{const A=nr.filter(Z=>"function"==typeof C[Z]).map(Z=>{const ge=Ie=>C[Z](Ie.detail);return E.addEventListener(Z,ge),()=>E.removeEventListener(Z,ge)});return()=>A.forEach(Z=>Z())}),or=new r.OlP("NavParamsToken"),pn=pe=>[{provide:or,useValue:pe},{provide:Ct,useFactory:fr,deps:[or]}],fr=pe=>new Ct(pe),rn=(pe,C)=>{const E=pe.prototype;C.forEach(A=>{Object.defineProperty(E,A,{get(){return this.el[A]},set(Z){this.z.runOutsideAngular(()=>this.el[A]=Z)}})})},mr=(pe,C)=>{const E=pe.prototype;C.forEach(A=>{E[A]=function(){const Z=arguments;return this.z.runOutsideAngular(()=>this.el[A].apply(this.el,Z))}})},gn=(pe,C,E)=>{E.forEach(A=>pe[A]=(0,W.R)(C,A))};function jn(pe){return function(E){const{defineCustomElementFn:A,inputs:Z,methods:ge}=pe;return void 0!==A&&A(),Z&&rn(E,Z),ge&&mr(E,ge),E}}const Xn=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],ir=["present","dismiss","onDidDismiss","onWillDismiss"];let br=(()=>{let pe=class{constructor(E,A,Z){this.z=Z,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,E.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,E.detectChanges()}),gn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},pe.\u0275dir=r.lG2({type:pe,selectors:[["ion-popover"]],contentQueries:function(E,A,Z){if(1&E&&r.Suo(Z,r.Rgc,5),2&E){let ge;r.iGM(ge=r.CRH())&&(A.template=ge.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),pe=(0,dt.gn)([jn({inputs:Xn,methods:ir})],pe),pe})();const Kn=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Dr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let vr=(()=>{let pe=class{constructor(E,A,Z){this.z=Z,this.isCmpOpen=!1,this.el=A.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,E.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,E.detectChanges()}),gn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.R0b))},pe.\u0275dir=r.lG2({type:pe,selectors:[["ion-modal"]],contentQueries:function(E,A,Z){if(1&E&&r.Suo(Z,r.Rgc,5),2&E){let ge;r.iGM(ge=r.CRH())&&(A.template=ge.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),pe=(0,dt.gn)([jn({inputs:Kn,methods:Dr})],pe),pe})();const Fn=(pe,C)=>((pe=pe.filter(E=>E.stackId!==C.stackId)).push(C),pe),yn=(pe,C)=>{const E=pe.createUrlTree(["."],{relativeTo:C});return pe.serializeUrl(E)},sn=(pe,C)=>!C||pe.stackId!==C.stackId,Ze=(pe,C)=>{if(!pe)return;const E=Be(C);for(let A=0;A=pe.length)return E[A];if(E[A]!==pe[A])return}},Be=pe=>pe.split("/").map(C=>C.trim()).filter(C=>""!==C),Ee=pe=>{pe&&(pe.ref.destroy(),pe.unlistenEvents())};class Ke{constructor(C,E,A,Z,ge,Ie){this.containerEl=E,this.router=A,this.navCtrl=Z,this.zone=ge,this.location=Ie,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==C?Be(C):void 0}createView(C,E){const A=yn(this.router,E),Z=C?.location?.nativeElement,ge=xn(this.zone,C.instance,Z);return{id:this.nextId++,stackId:Ze(this.tabsPrefix,A),unlistenEvents:ge,element:Z,ref:C,url:A}}getExistingView(C){const E=yn(this.router,C),A=this.views.find(Z=>Z.url===E);return A&&A.ref.changeDetectorRef.reattach(),A}setActive(C){const E=this.navCtrl.consumeTransition();let{direction:A,animation:Z,animationBuilder:ge}=E;const Ie=this.activeView,ke=sn(C,Ie);ke&&(A="back",Z=void 0);const tt=this.views.slice();let ct;const vt=this.router;vt.getCurrentNavigation?ct=vt.getCurrentNavigation():vt.navigations?.value&&(ct=vt.navigations.value),ct?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const xe=this.views.includes(C),P=this.insertView(C,A);xe||C.ref.changeDetectorRef.detectChanges();const Y=C.animationBuilder;return void 0===ge&&"back"===A&&!ke&&void 0!==Y&&(ge=Y),Ie&&(Ie.animationBuilder=ge),this.zone.runOutsideAngular(()=>this.wait(()=>(Ie&&Ie.ref.changeDetectorRef.detach(),C.ref.changeDetectorRef.reattach(),this.transition(C,Ie,Z,this.canGoBack(1),!1,ge).then(()=>st(C,P,tt,this.location,this.zone)).then(()=>({enteringView:C,direction:A,animation:Z,tabSwitch:ke})))))}canGoBack(C,E=this.getActiveStackId()){return this.getStack(E).length>C}pop(C,E=this.getActiveStackId()){return this.zone.run(()=>{const A=this.getStack(E);if(A.length<=C)return Promise.resolve(!1);const Z=A[A.length-C-1];let ge=Z.url;const Ie=Z.savedData;if(Ie){const tt=Ie.get("primary");tt?.route?._routerState?.snapshot.url&&(ge=tt.route._routerState.snapshot.url)}const{animationBuilder:ke}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(ge,{...Z.savedExtras,animation:ke}).then(()=>!0)})}startBackTransition(){const C=this.activeView;if(C){const E=this.getStack(C.stackId),A=E[E.length-2],Z=A.animationBuilder;return this.wait(()=>this.transition(A,C,"back",this.canGoBack(2),!0,Z))}return Promise.resolve()}endBackTransition(C){C?(this.skipTransition=!0,this.pop(1)):this.activeView&&wt(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(C){const E=this.getStack(C);return E.length>0?E[E.length-1]:void 0}getRootUrl(C){const E=this.getStack(C);return E.length>0?E[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(Ee),this.activeView=void 0,this.views=[]}getStack(C){return this.views.filter(E=>E.stackId===C)}insertView(C,E){return this.activeView=C,this.views=((pe,C,E)=>"root"===E?Fn(pe,C):"forward"===E?((pe,C)=>(pe.indexOf(C)>=0?pe=pe.filter(A=>A.stackId!==C.stackId||A.id<=C.id):pe.push(C),pe))(pe,C):((pe,C)=>pe.indexOf(C)>=0?pe.filter(A=>A.stackId!==C.stackId||A.id<=C.id):Fn(pe,C))(pe,C))(this.views,C,E),this.views.slice()}transition(C,E,A,Z,ge,Ie){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(E===C)return Promise.resolve(!1);const ke=C?C.element:void 0,tt=E?E.element:void 0,ct=this.containerEl;return ke&&ke!==tt&&(ke.classList.add("ion-page"),ke.classList.add("ion-page-invisible"),ke.parentElement!==ct&&ct.appendChild(ke),ct.commit)?ct.commit(ke,tt,{duration:void 0===A?0:void 0,direction:A,showGoBack:Z,progressAnimation:ge,animationBuilder:Ie}):Promise.resolve(!1)}wait(C){var E=this;return(0,i.Z)(function*(){void 0!==E.runningTask&&(yield E.runningTask,E.runningTask=void 0);const A=E.runningTask=C();return A.finally(()=>E.runningTask=void 0),A})()}}const st=(pe,C,E,A,Z)=>"function"==typeof requestAnimationFrame?new Promise(ge=>{requestAnimationFrame(()=>{wt(pe,C,E,A,Z),ge()})}):Promise.resolve(),wt=(pe,C,E,A,Z)=>{Z.run(()=>E.filter(ge=>!C.includes(ge)).forEach(Ee)),C.forEach(ge=>{const ke=A.path().split("?")[0].split("#")[0];if(ge!==pe&&ge.url!==ke){const tt=ge.element;tt.setAttribute("aria-hidden","true"),tt.classList.add("ion-page-hidden"),ge.ref.changeDetectorRef.detach()}})};let Qt=(()=>{class pe{constructor(E,A,Z,ge,Ie,ke,tt,ct){this.parentOutlet=ct,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Ye.X(null),this.activated=null,this._activatedRoute=null,this.name=T.eC,this.stackWillChange=new r.vpe,this.stackDidChange=new r.vpe,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.parentContexts=(0,r.f3M)(T.y6),this.location=(0,r.f3M)(r.s_b),this.environmentInjector=(0,r.f3M)(r.lqb),this.inputBinder=(0,r.f3M)(Ln,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,r.f3M)(nn),this.navCtrl=(0,r.f3M)(Jt),this.nativeEl=ge.nativeElement,this.name=E||T.eC,this.tabsPrefix="true"===A?yn(Ie,tt):void 0,this.stackCtrl=new Ke(this.tabsPrefix,this.nativeEl,Ie,this.navCtrl,ke,Z),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(E){this.nativeEl.animation=E}set animated(E){this.nativeEl.animated=E}set swipeGesture(E){this._swipeGesture=E,this.nativeEl.swipeHandler=E?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:A=>this.stackCtrl.endBackTransition(A)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const E=this.getContext();E?.route&&this.activateWith(E.route,E.injector)}new Promise(E=>(0,j.c)(this.nativeEl,E)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(E,A){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const A=this.getContext();this.activatedView.savedData=new Map(A.children.contexts);const Z=this.activatedView.savedData.get("primary");if(Z&&A.route&&(Z.route={...A.route}),this.activatedView.savedExtras={},A.route){const ge=A.route.snapshot;this.activatedView.savedExtras.queryParams=ge.queryParams,this.activatedView.savedExtras.fragment=ge.fragment}}const E=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(E)}}activateWith(E,A){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=E;let Z,ge=this.stackCtrl.getExistingView(E);if(ge){Z=this.activated=ge.ref;const ke=ge.savedData;ke&&(this.getContext().children.contexts=ke),this.updateActivatedRouteProxy(Z.instance,E)}else{const ke=E._futureSnapshot,tt=this.parentContexts.getOrCreateContext(this.name).children,ct=new Ye.X(null),vt=this.createActivatedRouteProxy(ct,E),xe=new In(vt,tt,this.location.injector);Z=this.activated=this.location.createComponent(ke.routeConfig.component??ke.component,{index:this.location.length,injector:xe,environmentInjector:A??this.environmentInjector}),ct.next(Z.instance),ge=this.stackCtrl.createView(this.activated,E),this.proxyMap.set(Z.instance,vt),this.currentActivatedRoute$.next({component:Z.instance,activatedRoute:E})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=ge,this.navCtrl.setTopOutlet(this);const Ie=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:ge,tabSwitch:sn(ge,Ie)}),this.stackCtrl.setActive(ge).then(ke=>{this.activateEvents.emit(Z.instance),this.stackDidChange.emit(ke)})}canGoBack(E=1,A){return this.stackCtrl.canGoBack(E,A)}pop(E=1,A){return this.stackCtrl.pop(E,A)}getLastUrl(E){const A=this.stackCtrl.getLastUrl(E);return A?A.url:void 0}getLastRouteView(E){return this.stackCtrl.getLastUrl(E)}getRootView(E){return this.stackCtrl.getRootUrl(E)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(E,A){const Z=new T.gz;return Z._futureSnapshot=A._futureSnapshot,Z._routerState=A._routerState,Z.snapshot=A.snapshot,Z.outlet=A.outlet,Z.component=A.component,Z._paramMap=this.proxyObservable(E,"paramMap"),Z._queryParamMap=this.proxyObservable(E,"queryParamMap"),Z.url=this.proxyObservable(E,"url"),Z.params=this.proxyObservable(E,"params"),Z.queryParams=this.proxyObservable(E,"queryParams"),Z.fragment=this.proxyObservable(E,"fragment"),Z.data=this.proxyObservable(E,"data"),Z}proxyObservable(E,A){return E.pipe((0,xt.h)(Z=>!!Z),(0,qt.w)(Z=>this.currentActivatedRoute$.pipe((0,xt.h)(ge=>null!==ge&&ge.component===Z),(0,qt.w)(ge=>ge&&ge.activatedRoute[A]),(0,Vt.x)())))}updateActivatedRouteProxy(E,A){const Z=this.proxyMap.get(E);if(!Z)throw new Error("Could not find activated route proxy for view");Z._futureSnapshot=A._futureSnapshot,Z._routerState=A._routerState,Z.snapshot=A.snapshot,Z.outlet=A.outlet,Z.component=A.component,this.currentActivatedRoute$.next({component:E,activatedRoute:A})}}return pe.\u0275fac=function(E){return new(E||pe)(r.$8M("name"),r.$8M("tabs"),r.Y36(k.Ye),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(r.R0b),r.Y36(T.gz),r.Y36(pe,12))},pe.\u0275dir=r.lG2({type:pe,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),pe})();class In{constructor(C,E,A){this.route=C,this.childContexts=E,this.parent=A}get(C,E){return C===T.gz?this.route:C===T.y6?this.childContexts:this.parent.get(C,E)}}const Ln=new r.OlP("");let gr=(()=>{class pe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(E){this.unsubscribeFromRouteData(E),this.subscribeToRouteData(E)}unsubscribeFromRouteData(E){this.outletDataSubscriptions.get(E)?.unsubscribe(),this.outletDataSubscriptions.delete(E)}subscribeToRouteData(E){const{activatedRoute:A}=E,Z=(0,qe.a)([A.queryParams,A.params,A.data]).pipe((0,qt.w)(([ge,Ie,ke],tt)=>(ke={...ge,...Ie,...ke},0===tt?(0,ht.of)(ke):Promise.resolve(ke)))).subscribe(ge=>{if(!E.isActivated||!E.activatedComponentRef||E.activatedRoute!==A||null===A.component)return void this.unsubscribeFromRouteData(E);const Ie=(0,r.qFp)(A.component);if(Ie)for(const{templateName:ke}of Ie.inputs)E.activatedComponentRef.setInput(ke,ge[ke]);else this.unsubscribeFromRouteData(E)});this.outletDataSubscriptions.set(E,Z)}}return pe.\u0275fac=function(E){return new(E||pe)},pe.\u0275prov=r.Yz7({token:pe,factory:pe.\u0275fac}),pe})();const Qn=()=>({provide:Ln,useFactory:Mn,deps:[T.F0]});function Mn(pe){return pe?.componentInputBindingEnabled?new gr:null}const Gn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Er=(()=>{let pe=class{constructor(E,A,Z,ge,Ie,ke){this.routerOutlet=E,this.navCtrl=A,this.config=Z,this.r=ge,this.z=Ie,ke.detach(),this.el=this.r.nativeElement}onClick(E){const A=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),E.preventDefault()):null!=A&&(this.navCtrl.navigateBack(A,{animation:this.routerAnimation}),E.preventDefault())}};return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(Qt,8),r.Y36(Jt),r.Y36(nn),r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.sBO))},pe.\u0275dir=r.lG2({type:pe,hostBindings:function(E,A){1&E&&r.NdJ("click",function(ge){return A.onClick(ge)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),pe=(0,dt.gn)([jn({inputs:Gn})],pe),pe})(),yr=(()=>{class pe{constructor(E,A,Z,ge,Ie){this.locationStrategy=E,this.navCtrl=A,this.elementRef=Z,this.router=ge,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const E=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=E}}onClick(E){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),E.preventDefault()}}return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(k.S$),r.Y36(Jt),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(T.rH,8))},pe.\u0275dir=r.lG2({type:pe,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(E,A){1&E&&r.NdJ("click",function(ge){return A.onClick(ge)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),pe})(),Nn=(()=>{class pe{constructor(E,A,Z,ge,Ie){this.locationStrategy=E,this.navCtrl=A,this.elementRef=Z,this.router=ge,this.routerLink=Ie,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const E=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=E}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(k.S$),r.Y36(Jt),r.Y36(r.SBq),r.Y36(T.F0),r.Y36(T.rH,8))},pe.\u0275dir=r.lG2({type:pe,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(E,A){1&E&&r.NdJ("click",function(){return A.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[r.TTD]}),pe})();const an=["animated","animation","root","rootParams","swipeGesture"],Wn=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let kn=(()=>{let pe=class{constructor(E,A,Z,ge,Ie,ke){this.z=Ie,ke.detach(),this.el=E.nativeElement,E.nativeElement.delegate=ge.create(A,Z),gn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(r.SBq),r.Y36(r.lqb),r.Y36(r.zs3),r.Y36(rr),r.Y36(r.R0b),r.Y36(r.sBO))},pe.\u0275dir=r.lG2({type:pe,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),pe=(0,dt.gn)([jn({inputs:an,methods:Wn})],pe),pe})(),Tn=(()=>{class pe{constructor(E){this.navCtrl=E,this.ionTabsWillChange=new r.vpe,this.ionTabsDidChange=new r.vpe,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:E,tabSwitch:A}){const Z=E.stackId;A&&void 0!==Z&&this.ionTabsWillChange.emit({tab:Z})}onStackDidChange({enteringView:E,tabSwitch:A}){const Z=E.stackId;A&&void 0!==Z&&(this.tabBar&&(this.tabBar.selectedTab=Z),this.ionTabsDidChange.emit({tab:Z}))}select(E){const A="string"==typeof E,Z=A?E:E.detail.tab,ge=this.outlet.getActiveStackId()===Z,Ie=`${this.outlet.tabsPrefix}/${Z}`;if(A||E.stopPropagation(),ge){const ke=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(ke)?.url===Ie)return;const ct=this.outlet.getRootView(Z);return this.navCtrl.navigateRoot(Ie,{...ct&&Ie===ct.url&&ct.savedExtras,animated:!0,animationDirection:"back"})}{const ke=this.outlet.getLastRouteView(Z),ct=ke?.savedExtras;return this.navCtrl.navigateRoot(ke?.url||Ie,{...ct,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(E=>{const A=E.el.getAttribute("slot");A!==this.tabBarSlot&&(this.tabBarSlot=A,this.relocateTabBar())})}relocateTabBar(){const E=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(E):this.tabsInner.nativeElement.after(E)}}return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(Jt))},pe.\u0275dir=r.lG2({type:pe,selectors:[["ion-tabs"]],viewQuery:function(E,A){if(1&E&&r.Gf(Ut,7,r.SBq),2&E){let Z;r.iGM(Z=r.CRH())&&(A.tabsInner=Z.first)}},hostBindings:function(E,A){1&E&&r.NdJ("ionTabButtonClick",function(ge){return A.select(ge)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),pe})();const Bn=pe=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(pe):"function"==typeof requestAnimationFrame?requestAnimationFrame(pe):setTimeout(pe);let hr=(()=>{class pe{constructor(E,A){this.injector=E,this.elementRef=A,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(E){this.elementRef.nativeElement.value=this.lastValue=E,bn(this.elementRef)}handleValueChange(E,A){E===this.elementRef.nativeElement&&(A!==this.lastValue&&(this.lastValue=A,this.onChange(A)),bn(this.elementRef))}_handleBlurEvent(E){E===this.elementRef.nativeElement&&(this.onTouched(),bn(this.elementRef))}registerOnChange(E){this.onChange=E}registerOnTouched(E){this.onTouched=E}setDisabledState(E){this.elementRef.nativeElement.disabled=E}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let E;try{E=this.injector.get(Ht.a5)}catch{}if(!E)return;E.statusChanges&&(this.statusChanges=E.statusChanges.subscribe(()=>bn(this.elementRef)));const A=E.control;A&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(ge=>{if(typeof A[ge]<"u"){const Ie=A[ge].bind(A);A[ge]=(...ke)=>{Ie(...ke),bn(this.elementRef)}}})}}return pe.\u0275fac=function(E){return new(E||pe)(r.Y36(r.zs3),r.Y36(r.SBq))},pe.\u0275dir=r.lG2({type:pe,hostBindings:function(E,A){1&E&&r.NdJ("ionBlur",function(ge){return A._handleBlurEvent(ge.target)})}}),pe})();const bn=pe=>{Bn(()=>{const C=pe.nativeElement,E=null!=C.value&&C.value.toString().length>0,A=zn(C);$n(C,A);const Z=C.closest("ion-item");Z&&$n(Z,E?[...A,"item-has-value"]:A)})},zn=pe=>{const C=pe.classList,E=[];for(let A=0;A{const E=pe.classList;E.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),E.add(...C)},Dt=(pe,C)=>pe.substring(0,C.length)===C;class Mt{shouldDetach(C){return!1}shouldAttach(C){return!1}store(C,E){}retrieve(C){return null}shouldReuseRoute(C,E){if(C.routeConfig!==E.routeConfig)return!1;const A=C.params,Z=E.params,ge=Object.keys(A),Ie=Object.keys(Z);if(ge.length!==Ie.length)return!1;for(const ke of ge)if(Z[ke]!==A[ke])return!1;return!0}}class Pn{constructor(C){this.ctrl=C}create(C){return this.ctrl.create(C||{})}dismiss(C,E,A){return this.ctrl.dismiss(C,E,A)}getTop(){return this.ctrl.getTop()}}},6693:(pt,Pe,g)=>{"use strict";g.d(Pe,{Br:()=>Se,w:()=>Le,dr:()=>xt,oU:()=>Z,yp:()=>Ht,YG:()=>et,Sm:()=>nt,nz:()=>en,wI:()=>nn,W2:()=>un,fr:()=>nr,jY:()=>xn,Gu:()=>or,gu:()=>pn,pK:()=>gn,Ie:()=>jn,Ub:()=>ir,Q$:()=>vr,q_:()=>Ir,yh:()=>Fn,z0:()=>En,fG:()=>yn,zc:()=>sn,ki:()=>tt,uN:()=>Be,I_:()=>Qt,Nh:()=>gr,oz:()=>Qn,jP:()=>E,Nd:()=>Gn,cJ:()=>yr,GO:()=>Nn,t9:()=>an,n0:()=>Wn,Bs:()=>Dt,wd:()=>Mt,ho:()=>pe,sr:()=>C,Pc:()=>dn,IN:()=>_t,Dh:()=>Et,YI:()=>Ie,QI:()=>ve,j9:()=>G,yF:()=>Ft});var i=g(4650),r=g(4006),T=g(958),k=g(7582),ne=g(4968),R=g(6895),V=g(6159),he=(g(4963),g(2005),g(7862),g(7344),g(5067),g(4700)),ae=g(7036),ie=(g(2458),g(4393)),fe=(g(2972),g(6541));g(2889),g(9019);var Re=g(5861);const Ve=he.i,z=function(){var h=(0,Re.Z)(function*(ee,S){if(!(typeof window>"u"))return yield Ve(),(0,fe.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"lang":["onLangChanged"],"dir":["onDirChanged"],"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"formatOptions":[16],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"formatOptions":["formatOptionsChanged"],"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"presentation":["presentationChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),S)});return function(S,se){return h.apply(this,arguments)}}(),U=["*"];function $e(h,ee){if(1&h&&(i.TgZ(0,"div",1),i.GkF(1,2),i.qZA()),2&h){const S=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",S.template)}}let Le=(()=>{class h extends T.bk{constructor(S,se){super(S,se)}writeValue(S){this.elementRef.nativeElement.checked=this.lastValue=S,(0,T.vk)(this.elementRef)}_handleIonChange(S){this.handleValueChange(S,S.checked)}}return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(S,se){1&S&&i.NdJ("ionChange",function(mn){return se._handleIonChange(mn.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})(),ve=(()=>{class h extends T.bk{constructor(S,se){super(S,se)}_handleChangeEvent(S){this.handleValueChange(S,S.value)}}return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(S,se){1&S&&i.NdJ("ionChange",function(mn){return se._handleChangeEvent(mn.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})(),G=(()=>{class h extends T.bk{constructor(S,se){super(S,se)}_handleInputEvent(S){this.handleValueChange(S,S.value)}}return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.zs3),i.Y36(i.SBq))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(S,se){1&S&&i.NdJ("ionInput",function(mn){return se._handleInputEvent(mn.target)})},features:[i._Bn([{provide:r.JU,useExisting:h,multi:!0}]),i.qOj]}),h})();const I=(h,ee)=>{const S=h.prototype;ee.forEach(se=>{Object.defineProperty(S,se,{get(){return this.el[se]},set(Fe){this.z.runOutsideAngular(()=>this.el[se]=Fe)},configurable:!0})})},N=(h,ee)=>{const S=h.prototype;ee.forEach(se=>{S[se]=function(){const Fe=arguments;return this.z.runOutsideAngular(()=>this.el[se].apply(this.el,Fe))}})},j=(h,ee,S)=>{S.forEach(se=>h[se]=(0,ne.R)(ee,se))};function W(h){return function(S){const{defineCustomElementFn:se,inputs:Fe,methods:mn}=h;return void 0!==se&&se(),Fe&&I(S,Fe),mn&&N(S,mn),S}}let xt=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-app"]],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({})],h),h})(),Ht=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","mode"]})],h),h})(),et=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionFocus","ionBlur"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],h),h})(),nt=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["collapse"]})],h),h})(),en=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),nn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],h),h})(),un=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],h),h})(),nr=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["collapse","mode","translucent"]})],h),h})(),xn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["fixed"]})],h),h})(),or=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["collapse","mode","translucent"]})],h),h})(),pn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],h),h})(),gn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],h),h})(),jn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],h),h})(),ir=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-item-group"]],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({})],h),h})(),vr=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","mode","position"]})],h),h})(),Ir=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],h),h})(),Fn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","lines","mode"]})],h),h})(),En=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],h),h})(),yn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["autoHide","color","disabled","menu","mode","type"]})],h),h})(),sn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["autoHide","menu"]})],h),h})(),Be=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","mode"]})],h),h})(),Qt=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],h),h})(),gr=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-reorder"]],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({})],h),h})(),Qn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionItemReorder"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["disabled"],methods:["complete"]})],h),h})(),Gn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-row"]],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({})],h),h})(),yr=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionChange"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],h),h})(),Nn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["disabled","layout","mode","type","value"]})],h),h})(),an=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],h),h})(),Wn=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["disabled","value"]})],h),h})(),Dt=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-thumbnail"]],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({})],h),h})(),Mt=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","size"]})],h),h})(),pe=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement,j(this,this.el,["ionChange","ionFocus","ionBlur"])}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],h),h})(),C=(()=>{let h=class{constructor(S,se,Fe){this.z=Fe,S.detach(),this.el=se.nativeElement}};return h.\u0275fac=function(S){return new(S||h)(i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(i.R0b))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h=(0,k.gn)([W({inputs:["color","mode"]})],h),h})(),E=(()=>{class h extends T.jP{constructor(S,se,Fe,mn,Yn,tr,zr,Yr){super(S,se,Fe,mn,Yn,tr,zr,Yr),this.parentOutlet=Yr}}return h.\u0275fac=function(S){return new(S||h)(i.$8M("name"),i.$8M("tabs"),i.Y36(R.Ye),i.Y36(i.SBq),i.Y36(V.F0),i.Y36(i.R0b),i.Y36(V.gz),i.Y36(h,12))},h.\u0275dir=i.lG2({type:h,selectors:[["ion-router-outlet"]],features:[i.qOj]}),h})(),Z=(()=>{class h extends T.oU{constructor(S,se,Fe,mn,Yn,tr){super(S,se,Fe,mn,Yn,tr)}}return h.\u0275fac=function(S){return new(S||h)(i.Y36(E,8),i.Y36(T.SH),i.Y36(T.De),i.Y36(i.SBq),i.Y36(i.R0b),i.Y36(i.sBO))},h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-back-button"]],features:[i.qOj],ngContentSelectors:U,decls:1,vars:0,template:function(S,se){1&S&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),h})(),Ie=(()=>{class h extends T.j{}return h.\u0275fac=function(){let ee;return function(se){return(ee||(ee=i.n5z(h)))(se||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["","routerLink","",5,"a",5,"area"]],features:[i.qOj]}),h})(),tt=(()=>{class h extends T.ki{}return h.\u0275fac=function(){let ee;return function(se){return(ee||(ee=i.n5z(h)))(se||h)}}(),h.\u0275cmp=i.Xpm({type:h,selectors:[["ion-modal"]],features:[i.qOj],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(S,se){1&S&&i.YNc(0,$e,2,1,"div",0),2&S&&i.Q6J("ngIf",se.isCmpOpen||se.keepContentsMounted)},dependencies:[R.O5,R.tP],encapsulation:2,changeDetection:0}),h})();const vt={provide:r.Cf,useExisting:(0,i.Gpc)(()=>xe),multi:!0};let xe=(()=>{class h extends r.Fd{}return h.\u0275fac=function(){let ee;return function(se){return(ee||(ee=i.n5z(h)))(se||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(S,se){2&S&&i.uIk("max",se._enabled?se.max:null)},features:[i._Bn([vt]),i.qOj]}),h})();const P={provide:r.Cf,useExisting:(0,i.Gpc)(()=>Y),multi:!0};let Y=(()=>{class h extends r.qQ{}return h.\u0275fac=function(){let ee;return function(se){return(ee||(ee=i.n5z(h)))(se||h)}}(),h.\u0275dir=i.lG2({type:h,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(S,se){2&S&&i.uIk("min",se._enabled?se.min:null)},features:[i._Bn([P]),i.qOj]}),h})(),Se=(()=>{class h extends T.xs{constructor(){super(ie.a)}}return h.\u0275fac=function(S){return new(S||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})(),_t=(()=>{class h extends T.xs{constructor(){super(ie.m),this.angularDelegate=(0,i.f3M)(T.y4),this.injector=(0,i.f3M)(i.zs3),this.environmentInjector=(0,i.f3M)(i.lqb)}create(S){return super.create({...S,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return h.\u0275fac=function(S){return new(S||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac}),h})();class Et extends T.xs{constructor(){super(ie.c),this.angularDelegate=(0,i.f3M)(T.y4),this.injector=(0,i.f3M)(i.zs3),this.environmentInjector=(0,i.f3M)(i.lqb)}create(ee){return super.create({...ee,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Ft=(()=>{class h extends T.xs{constructor(){super(ie.t)}}return h.\u0275fac=function(S){return new(S||h)},h.\u0275prov=i.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})();const Lt=(h,ee,S)=>()=>{const se=ee.defaultView;if(se&&typeof window<"u"){(0,ae.s)({...h,_zoneGate:mn=>S.run(mn)});const Fe="__zone_symbol__addEventListener"in ee.body?"__zone_symbol__addEventListener":"addEventListener";return function Ne(){var h=[];if(typeof window<"u"){var ee=window;(!ee.customElements||ee.Element&&(!ee.Element.prototype.closest||!ee.Element.prototype.matches||!ee.Element.prototype.remove||!ee.Element.prototype.getRootNode))&&h.push(g.e(6748).then(g.t.bind(g,723,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||ee.NodeList&&!ee.NodeList.prototype.forEach||!ee.fetch||!function(){try{var se=new URL("b","http://a");return se.pathname="c%20d","http://a/c%20d"===se.href&&se.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&h.push(g.e(2214).then(g.t.bind(g,4144,23)))}return Promise.all(h)}().then(()=>z(se,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:T.Wn,jmp:mn=>S.runOutsideAngular(mn),ael(mn,Yn,tr,zr){mn[Fe](Yn,tr,zr)},rel(mn,Yn,tr,zr){mn.removeEventListener(Yn,tr,zr)}}))}};let dn=(()=>{class h{static forRoot(S){return{ngModule:h,providers:[{provide:T.dy,useValue:S},{provide:i.ip1,useFactory:Lt,multi:!0,deps:[T.dy,R.K0,i.R0b]},(0,T.DN)()]}}}return h.\u0275fac=function(S){return new(S||h)},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({providers:[T.y4,_t,Et],imports:[R.ez]}),h})()},6188:(pt,Pe,g)=>{"use strict";g.d(Pe,{Pi:()=>Le,Zw:()=>ae,aw:()=>at,X$:()=>We,sK:()=>ce});var i=g(4650),r=g(9646),T=g(9751),k=g(576);function ne(ve){return!!ve&&(ve instanceof T.y||(0,k.m)(ve.lift)&&(0,k.m)(ve.subscribe))}var R=g(4128),V=g(7272),H=g(9770),le=g(5698),me=g(4782),q=g(4004),re=g(4351),he=g(3900);class ae{}let Q=(()=>{class ve extends ae{getTranslation(I){return(0,r.of)({})}}return ve.\u0275fac=function(){let G;return function(N){return(G||(G=i.n5z(ve)))(N||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class ie{}let K=(()=>{class ve{handle(I){return I.key}}return ve.\u0275fac=function(I){return new(I||ve)},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();function fe(ve,G){if(ve===G)return!0;if(null===ve||null===G)return!1;if(ve!=ve&&G!=G)return!0;let j,ue,W,I=typeof ve;if(I==typeof G&&"object"==I){if(!Array.isArray(ve)){if(Array.isArray(G))return!1;for(ue in W=Object.create(null),ve){if(!fe(ve[ue],G[ue]))return!1;W[ue]=!0}for(ue in G)if(!(ue in W)&&typeof G[ue]<"u")return!1;return!0}if(!Array.isArray(G))return!1;if((j=ve.length)==G.length){for(ue=0;ue{Ue(G[N])?N in ve?I[N]=we(ve[N],G[N]):Object.assign(I,{[N]:G[N]}):Object.assign(I,{[N]:G[N]})}),I}class Ne{}let Re=(()=>{class ve extends Ne{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(I,N){let j;return j="string"==typeof I?this.interpolateString(I,N):"function"==typeof I?this.interpolateFunction(I,N):I,j}getValue(I,N){let j="string"==typeof N?N.split("."):[N];N="";do{N+=j.shift(),!_e(I)||!_e(I[N])||"object"!=typeof I[N]&&j.length?j.length?N+=".":I=void 0:(I=I[N],N="")}while(j.length);return I}interpolateFunction(I,N){return I(N)}interpolateString(I,N){return N?I.replace(this.templateMatcher,(j,ue)=>{let W=this.getValue(N,ue);return _e(W)?W:j}):I}}return ve.\u0275fac=function(){let G;return function(N){return(G||(G=i.n5z(ve)))(N||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class Ve{}let z=(()=>{class ve extends Ve{compile(I,N){return I}compileTranslations(I,N){return I}}return ve.\u0275fac=function(){let G;return function(N){return(G||(G=i.n5z(ve)))(N||ve)}}(),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})();class U{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new i.vpe,this.onLangChange=new i.vpe,this.onDefaultLangChange=new i.vpe}}const be=new i.OlP("USE_STORE"),Ce=new i.OlP("USE_DEFAULT_LANG"),Te=new i.OlP("DEFAULT_LANGUAGE"),$e=new i.OlP("USE_EXTEND");let ce=(()=>{class ve{constructor(I,N,j,ue,W,Ye=!0,qe=!1,ht=!1,dt){this.store=I,this.currentLoader=N,this.compiler=j,this.parser=ue,this.missingTranslationHandler=W,this.useDefaultLang=Ye,this.isolate=qe,this.extend=ht,this.pending=!1,this._onTranslationChange=new i.vpe,this._onLangChange=new i.vpe,this._onDefaultLangChange=new i.vpe,this._langs=[],this._translations={},this._translationRequests={},dt&&this.setDefaultLang(dt)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(I){this.isolate?this._defaultLang=I:this.store.defaultLang=I}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(I){this.isolate?this._currentLang=I:this.store.currentLang=I}get langs(){return this.isolate?this._langs:this.store.langs}set langs(I){this.isolate?this._langs=I:this.store.langs=I}get translations(){return this.isolate?this._translations:this.store.translations}set translations(I){this.isolate?this._translations=I:this.store.translations=I}setDefaultLang(I){if(I===this.defaultLang)return;let N=this.retrieveTranslations(I);typeof N<"u"?(null==this.defaultLang&&(this.defaultLang=I),N.pipe((0,le.q)(1)).subscribe(j=>{this.changeDefaultLang(I)})):this.changeDefaultLang(I)}getDefaultLang(){return this.defaultLang}use(I){if(I===this.currentLang)return(0,r.of)(this.translations[I]);let N=this.retrieveTranslations(I);return typeof N<"u"?(this.currentLang||(this.currentLang=I),N.pipe((0,le.q)(1)).subscribe(j=>{this.changeLang(I)}),N):(this.changeLang(I),(0,r.of)(this.translations[I]))}retrieveTranslations(I){let N;return(typeof this.translations[I]>"u"||this.extend)&&(this._translationRequests[I]=this._translationRequests[I]||this.getTranslation(I),N=this._translationRequests[I]),N}getTranslation(I){this.pending=!0;const N=this.currentLoader.getTranslation(I).pipe((0,me.d)(1),(0,le.q)(1));return this.loadingTranslations=N.pipe((0,q.U)(j=>this.compiler.compileTranslations(j,I)),(0,me.d)(1),(0,le.q)(1)),this.loadingTranslations.subscribe({next:j=>{this.translations[I]=this.extend&&this.translations[I]?{...j,...this.translations[I]}:j,this.updateLangs(),this.pending=!1},error:j=>{this.pending=!1}}),N}setTranslation(I,N,j=!1){N=this.compiler.compileTranslations(N,I),this.translations[I]=(j||this.extend)&&this.translations[I]?we(this.translations[I],N):N,this.updateLangs(),this.onTranslationChange.emit({lang:I,translations:this.translations[I]})}getLangs(){return this.langs}addLangs(I){I.forEach(N=>{-1===this.langs.indexOf(N)&&this.langs.push(N)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(I,N,j){let ue;if(N instanceof Array){let W={},Ye=!1;for(let qe of N)W[qe]=this.getParsedResult(I,qe,j),ne(W[qe])&&(Ye=!0);if(Ye){const qe=N.map(ht=>ne(W[ht])?W[ht]:(0,r.of)(W[ht]));return(0,R.D)(qe).pipe((0,q.U)(ht=>{let dt={};return ht.forEach((xt,qt)=>{dt[N[qt]]=xt}),dt}))}return W}if(I&&(ue=this.parser.interpolate(this.parser.getValue(I,N),j)),typeof ue>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ue=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],N),j)),typeof ue>"u"){let W={key:N,translateService:this};typeof j<"u"&&(W.interpolateParams=j),ue=this.missingTranslationHandler.handle(W)}return typeof ue<"u"?ue:N}get(I,N){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe((0,re.b)(j=>ne(j=this.getParsedResult(j,I,N))?j:(0,r.of)(j)));{let j=this.getParsedResult(this.translations[this.currentLang],I,N);return ne(j)?j:(0,r.of)(j)}}getStreamOnTranslationChange(I,N){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');return(0,V.z)((0,H.P)(()=>this.get(I,N)),this.onTranslationChange.pipe((0,he.w)(j=>{const ue=this.getParsedResult(j.translations,I,N);return"function"==typeof ue.subscribe?ue:(0,r.of)(ue)})))}stream(I,N){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');return(0,V.z)((0,H.P)(()=>this.get(I,N)),this.onLangChange.pipe((0,he.w)(j=>{const ue=this.getParsedResult(j.translations,I,N);return ne(ue)?ue:(0,r.of)(ue)})))}instant(I,N){if(!_e(I)||!I.length)throw new Error('Parameter "key" required');let j=this.getParsedResult(this.translations[this.currentLang],I,N);if(ne(j)){if(I instanceof Array){let ue={};return I.forEach((W,Ye)=>{ue[I[Ye]]=I[Ye]}),ue}return I}return j}set(I,N,j=this.currentLang){this.translations[j][I]=this.compiler.compile(N,j),this.updateLangs(),this.onTranslationChange.emit({lang:j,translations:this.translations[j]})}changeLang(I){this.currentLang=I,this.onLangChange.emit({lang:I,translations:this.translations[I]}),null==this.defaultLang&&this.changeDefaultLang(I)}changeDefaultLang(I){this.defaultLang=I,this.onDefaultLangChange.emit({lang:I,translations:this.translations[I]})}reloadLang(I){return this.resetLang(I),this.getTranslation(I)}resetLang(I){this._translationRequests[I]=void 0,this.translations[I]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof I>"u"?void 0:(-1!==I.indexOf("-")&&(I=I.split("-")[0]),-1!==I.indexOf("_")&&(I=I.split("_")[0]),I)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let I=window.navigator.languages?window.navigator.languages[0]:null;return I=I||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,I}}return ve.\u0275fac=function(I){return new(I||ve)(i.LFG(U),i.LFG(ae),i.LFG(Ve),i.LFG(Ne),i.LFG(ie),i.LFG(Ce),i.LFG(be),i.LFG($e),i.LFG(Te))},ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),Le=(()=>{class ve{constructor(I,N,j){this.translateService=I,this.element=N,this._ref=j,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ue=>{ue.lang===this.translateService.currentLang&&this.checkNodes(!0,ue.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ue=>{this.checkNodes(!0,ue.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ue=>{this.checkNodes(!0)}))}set translate(I){I&&(this.key=I,this.checkNodes())}set translateParams(I){fe(this.currentParams,I)||(this.currentParams=I,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(I=!1,N){let j=this.element.nativeElement.childNodes;j.length||(this.setContent(this.element.nativeElement,this.key),j=this.element.nativeElement.childNodes);for(let ue=0;ue{W!==I&&(N.lastKey=I),N.originalContent||(N.originalContent=this.getContent(N)),N.currentValue=_e(W)?W:N.originalContent||I,this.setContent(N,this.key?N.currentValue:N.originalContent.replace(I,N.currentValue)),this._ref.markForCheck()};if(_e(j)){let W=this.translateService.getParsedResult(j,I,this.currentParams);ne(W)?W.subscribe({next:ue}):ue(W)}else this.translateService.get(I,this.currentParams).subscribe(ue)}}getContent(I){return _e(I.textContent)?I.textContent:I.data}setContent(I,N){_e(I.textContent)?I.textContent=N:I.data=N}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return ve.\u0275fac=function(I){return new(I||ve)(i.Y36(ce),i.Y36(i.SBq),i.Y36(i.sBO))},ve.\u0275dir=i.lG2({type:ve,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),ve})(),We=(()=>{class ve{constructor(I,N){this.translate=I,this._ref=N,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(I,N,j){let ue=W=>{this.value=void 0!==W?W:I,this.lastKey=I,this._ref.markForCheck()};if(j){let W=this.translate.getParsedResult(j,I,N);ne(W.subscribe)?W.subscribe(ue):ue(W)}this.translate.get(I,N).subscribe(ue)}transform(I,...N){if(!I||!I.length)return I;if(fe(I,this.lastKey)&&fe(N,this.lastParams))return this.value;let j;if(_e(N[0])&&N.length)if("string"==typeof N[0]&&N[0].length){let ue=N[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{j=JSON.parse(ue)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${N[0]}`)}}else"object"==typeof N[0]&&!Array.isArray(N[0])&&(j=N[0]);return this.lastKey=I,this.lastParams=N,this.updateValue(I,j),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ue=>{this.lastKey&&ue.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(I,j,ue.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ue=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,j,ue.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(I,j))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return ve.\u0275fac=function(I){return new(I||ve)(i.Y36(ce,16),i.Y36(i.sBO,16))},ve.\u0275pipe=i.Yjl({name:"translate",type:ve,pure:!1}),ve.\u0275prov=i.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),at=(()=>{class ve{static forRoot(I={}){return{ngModule:ve,providers:[I.loader||{provide:ae,useClass:Q},I.compiler||{provide:Ve,useClass:z},I.parser||{provide:Ne,useClass:Re},I.missingTranslationHandler||{provide:ie,useClass:K},U,{provide:be,useValue:I.isolate},{provide:Ce,useValue:I.useDefaultLang},{provide:$e,useValue:I.extend},{provide:Te,useValue:I.defaultLanguage},ce]}}static forChild(I={}){return{ngModule:ve,providers:[I.loader||{provide:ae,useClass:Q},I.compiler||{provide:Ve,useClass:z},I.parser||{provide:Ne,useClass:Re},I.missingTranslationHandler||{provide:ie,useClass:K},{provide:be,useValue:I.isolate},{provide:Ce,useValue:I.useDefaultLang},{provide:$e,useValue:I.extend},{provide:Te,useValue:I.defaultLanguage},ce]}}}return ve.\u0275fac=function(I){return new(I||ve)},ve.\u0275mod=i.oAB({type:ve}),ve.\u0275inj=i.cJS({}),ve})()},5861:(pt,Pe,g)=>{"use strict";function i(T,k,ne,R,V,H,le){try{var me=T[H](le),q=me.value}catch(re){return void ne(re)}me.done?k(q):Promise.resolve(q).then(R,V)}function r(T){return function(){var k=this,ne=arguments;return new Promise(function(R,V){var H=T.apply(k,ne);function le(q){i(H,R,V,le,me,"next",q)}function me(q){i(H,R,V,le,me,"throw",q)}le(void 0)})}}g.d(Pe,{Z:()=>r})},7582:(pt,Pe,g)=>{"use strict";g.d(Pe,{FC:()=>Ne,KL:()=>Ve,ZT:()=>r,gn:()=>ne,mG:()=>re,qq:()=>we});var i=function(G,I){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,j){N.__proto__=j}||function(N,j){for(var ue in j)Object.prototype.hasOwnProperty.call(j,ue)&&(N[ue]=j[ue])})(G,I)};function r(G,I){if("function"!=typeof I&&null!==I)throw new TypeError("Class extends value "+String(I)+" is not a constructor or null");function N(){this.constructor=G}i(G,I),G.prototype=null===I?Object.create(I):(N.prototype=I.prototype,new N)}function ne(G,I,N,j){var Ye,ue=arguments.length,W=ue<3?I:null===j?j=Object.getOwnPropertyDescriptor(I,N):j;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)W=Reflect.decorate(G,I,N,j);else for(var qe=G.length-1;qe>=0;qe--)(Ye=G[qe])&&(W=(ue<3?Ye(W):ue>3?Ye(I,N,W):Ye(I,N))||W);return ue>3&&W&&Object.defineProperty(I,N,W),W}function re(G,I,N,j){return new(N||(N=Promise))(function(W,Ye){function qe(xt){try{dt(j.next(xt))}catch(qt){Ye(qt)}}function ht(xt){try{dt(j.throw(xt))}catch(qt){Ye(qt)}}function dt(xt){xt.done?W(xt.value):function ue(W){return W instanceof N?W:new N(function(Ye){Ye(W)})}(xt.value).then(qe,ht)}dt((j=j.apply(G,I||[])).next())})}function we(G){return this instanceof we?(this.v=G,this):new we(G)}function Ne(G,I,N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ue,j=N.apply(G,I||[]),W=[];return ue={},Ye("next"),Ye("throw"),Ye("return"),ue[Symbol.asyncIterator]=function(){return this},ue;function Ye(Vt){j[Vt]&&(ue[Vt]=function(Ht){return new Promise(function(Ut,Je){W.push([Vt,Ht,Ut,Je])>1||qe(Vt,Ht)})})}function qe(Vt,Ht){try{!function ht(Vt){Vt.value instanceof we?Promise.resolve(Vt.value.v).then(dt,xt):qt(W[0][2],Vt)}(j[Vt](Ht))}catch(Ut){qt(W[0][3],Ut)}}function dt(Vt){qe("next",Vt)}function xt(Vt){qe("throw",Vt)}function qt(Vt,Ht){Vt(Ht),W.shift(),W.length&&qe(W[0][0],W[0][1])}}function Ve(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N,I=G[Symbol.asyncIterator];return I?I.call(G):(G=function ie(G){var I="function"==typeof Symbol&&Symbol.iterator,N=I&&G[I],j=0;if(N)return N.call(G);if(G&&"number"==typeof G.length)return{next:function(){return G&&j>=G.length&&(G=void 0),{value:G&&G[j++],done:!G}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}(G),N={},j("next"),j("throw"),j("return"),N[Symbol.asyncIterator]=function(){return this},N);function j(W){N[W]=G[W]&&function(Ye){return new Promise(function(qe,ht){!function ue(W,Ye,qe,ht){Promise.resolve(ht).then(function(dt){W({value:dt,done:qe})},Ye)}(qe,ht,(Ye=G[W](Ye)).done,Ye.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},pt=>{pt(pt.s=2587)}]); \ No newline at end of file diff --git a/ngsw.json b/ngsw.json index 022f1c78..eedf47b7 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1711652593271, + "timestamp": 1733172980017, "index": "/openlap/index.html", "assetGroups": [ { @@ -11,68 +11,68 @@ "ignoreVary": true }, "urls": [ - "/openlap/1033.167ef10a8a053fc6.js", - "/openlap/1118.b5a4af53a44d7dd6.js", - "/openlap/1217.3da5b6d542c52398.js", - "/openlap/1536.02fe8d3d726e810e.js", - "/openlap/1709.209a245c12f6202e.js", - "/openlap/2073.1550887c6e4ed9bc.js", - "/openlap/2349.5e24a7b190a17a67.js", + "/openlap/1033.910a0dc08ce8318d.js", + "/openlap/1118.3ab8e4b8552c0171.js", + "/openlap/1217.c1a65013184f7441.js", + "/openlap/1536.b496f43a95670730.js", + "/openlap/1709.2e5186348c16e379.js", + "/openlap/2073.e38a9980dd36649f.js", + "/openlap/2349.0f2f0c16e7c243e7.js", "/openlap/2658.144c039844d38716.js", - "/openlap/2773.a1b20ff95ab58e61.js", - "/openlap/2933.bce0c7f48482e495.js", - "/openlap/3326.1b9da0cf2e3464e2.js", - "/openlap/3583.4ced66c75eaab352.js", - "/openlap/3648.6faea5eaa70b4f10.js", - "/openlap/3804.c8924e937d9b7ced.js", - "/openlap/388.4a65b665064a31c4.js", - "/openlap/4174.d738213b3e8d39b5.js", - "/openlap/4330.592c723b956a2e04.js", - "/openlap/4376.2688505d3f070692.js", - "/openlap/438.bb63b63129023b72.js", - "/openlap/4432.67d7fe7a2df0f8b0.js", + "/openlap/2773.8e8e2e3b657d9c11.js", + "/openlap/2933.b44a82976b2b3c2f.js", + "/openlap/3326.266a5c13af0cb48e.js", + "/openlap/3583.b3b4eb40c2ce239a.js", + "/openlap/3648.698f4e5be9f133c0.js", + "/openlap/3804.ab701045223f512e.js", + "/openlap/388.49bf6520ed21777d.js", + "/openlap/4174.a2c2c730c94bf11d.js", + "/openlap/4330.b69bca90c7366064.js", + "/openlap/4376.d30652ab150075e8.js", + "/openlap/438.f140c2797d5f414d.js", + "/openlap/4432.1271cd50c95b74b6.js", "/openlap/4539.c6646bf5dcd630ae.js", - "/openlap/4711.9764fdba012c43bf.js", - "/openlap/4753.0c7c8f9be88e8111.js", - "/openlap/4899.470542121cd5357f.js", - "/openlap/4908.9cabf052845645b4.js", - "/openlap/4959.d6984cebd1ca3211.js", - "/openlap/5168.74b5105297f0daa0.js", - "/openlap/53.89e93d4e85a41b7a.js", - "/openlap/5349.d02be9566b42eeeb.js", - "/openlap/5652.221d55618ffa083a.js", - "/openlap/5836.9d9177a2f14062f5.js", - "/openlap/6120.bf9e34a35e5b1e95.js", - "/openlap/6560.0b7cb0507ffcc3ff.js", - "/openlap/657.f376cf1439c08bb6.js", + "/openlap/4711.6ffdcd6a980e7f3a.js", + "/openlap/4753.fd6e30580f2f0bc8.js", + "/openlap/4908.388fa7d3b6b0b98e.js", + "/openlap/4959.5dc3a9939fe0f324.js", + "/openlap/5168.af2b0f08220166b5.js", + "/openlap/53.33a7c44905acc703.js", + "/openlap/5349.e28e58b0df6246bc.js", + "/openlap/5652.7ef16a32cd56ec42.js", + "/openlap/5733.e0b7596ff3dd7c8d.js", + "/openlap/5836.14294a00ddc7331d.js", + "/openlap/6120.3c95d80ea1c26c15.js", + "/openlap/6560.02dd0a02f1f1e231.js", + "/openlap/657.344c8cb4e3aa160e.js", "/openlap/6821.a638185a1ea8f011.js", "/openlap/6881.01369d90fa5e3b7a.js", - "/openlap/7011.4d31bb8ae0bcb818.js", - "/openlap/7544.54a9193a99de1fd0.js", - "/openlap/7602.f0ef3441c23607b2.js", + "/openlap/7544.980463cd88be4044.js", + "/openlap/7602.b4f472adcedd22c1.js", "/openlap/7700.b428b0a4661941aa.js", - "/openlap/8034.85ee8398add6a750.js", - "/openlap/8136.28e99921932bfb7b.js", - "/openlap/8628.6891ab7e2db50789.js", - "/openlap/8939.aac6b620c7813872.js", - "/openlap/9016.7a02c689313d929e.js", - "/openlap/9230.55b2631b7e9d76a3.js", - "/openlap/9325.d836b747c6cb9521.js", - "/openlap/9434.dfefbe3c4dc4585d.js", - "/openlap/9536.239147caca7d1ac9.js", - "/openlap/9654.e8c1c3c9a482d5e9.js", - "/openlap/9824.eec6ad02aa886fdb.js", - "/openlap/9922.62563a4f5c8feebf.js", - "/openlap/9958.c6588f6bbb62a839.js", - "/openlap/common.76046d847a885780.js", + "/openlap/8034.221491c6a7f86c6d.js", + "/openlap/8136.3ee745146a680b50.js", + "/openlap/8628.862cf0bd6211ebd2.js", + "/openlap/8939.161cab4e573063c8.js", + "/openlap/9016.5096b518c907d596.js", + "/openlap/9230.3965478050903c1e.js", + "/openlap/9325.6c31291c6f3a6e1f.js", + "/openlap/9434.7a55c6707979e529.js", + "/openlap/9536.07c8aff388dd8f0f.js", + "/openlap/9590.cc09d408e257b2f9.js", + "/openlap/9654.3029b9c3c7da8863.js", + "/openlap/9824.8beae4328afbc659.js", + "/openlap/9922.2a34b5d8ec43d5d9.js", + "/openlap/9958.d7c737839985b5f9.js", + "/openlap/common.87519601aff3a93a.js", "/openlap/index.html", - "/openlap/main.ce9293cd76812a2f.js", + "/openlap/main.227f8d170de07f4a.js", "/openlap/manifest.webmanifest", "/openlap/polyfills-core-js.e5d40a25add030b2.js", "/openlap/polyfills-dom.5c5f23fb57b03028.js", "/openlap/polyfills.d4788768f8be496e.js", - "/openlap/runtime.7529eb1f117b8255.js", - "/openlap/styles.8c542959e4a074e6.css" + "/openlap/runtime.c7152c634304e86f.js", + "/openlap/styles.ff7e220835382aaf.css" ], "patterns": [] }, @@ -90,6 +90,7 @@ "/openlap/assets/i18n/es.json", "/openlap/assets/i18n/fr.json", "/openlap/assets/i18n/it.json", + "/openlap/assets/i18n/pt.json", "/openlap/assets/i18n/sk.json", "/openlap/assets/icons/icon-128x128.png", "/openlap/assets/icons/icon-144x144.png", @@ -105,65 +106,66 @@ ], "dataGroups": [], "hashTable": { - "/openlap/1033.167ef10a8a053fc6.js": "7eba350833c1a762cb2705ad46ba03f8883404b4", - "/openlap/1118.b5a4af53a44d7dd6.js": "6c6dd525b1e173356811c08d8e3d24d278900ca0", - "/openlap/1217.3da5b6d542c52398.js": "6d8fe14e22f047df097fc801c1c27447a7562ecf", - "/openlap/1536.02fe8d3d726e810e.js": "4d5cc0f1cf3b1006b75082f1d921acff6f4bfb6e", - "/openlap/1709.209a245c12f6202e.js": "fbff3ed85651eec401c540d413d45c361281f4f6", - "/openlap/2073.1550887c6e4ed9bc.js": "07f9f9608132dd8a9431e94f6475ae09da3a02c6", - "/openlap/2349.5e24a7b190a17a67.js": "85153ceb9bf60741f9caa5612fea29f96ff18d3d", + "/openlap/1033.910a0dc08ce8318d.js": "a903af7694ff0b4956620d52201f114e3a1a2f0e", + "/openlap/1118.3ab8e4b8552c0171.js": "a028cb3f486ab6e1d10c1c47dfaa164bc424c39d", + "/openlap/1217.c1a65013184f7441.js": "088028d36b594502b355cfdf1c26760bf5c22506", + "/openlap/1536.b496f43a95670730.js": "ed18d19b631459c49ecd8feb155f48e941a5295b", + "/openlap/1709.2e5186348c16e379.js": "5cc71f877527b090b8e49762eef0655ddc53c5c4", + "/openlap/2073.e38a9980dd36649f.js": "66f618141b85c2e52cfe07fabdab42a4e3a506a1", + "/openlap/2349.0f2f0c16e7c243e7.js": "fc20dd9da68cd16037993231c068fe867fb5e8ca", "/openlap/2658.144c039844d38716.js": "45dd6ffde4ac4b70c6982adcce435a8d3f456c6b", - "/openlap/2773.a1b20ff95ab58e61.js": "8ba65fd42f1c81734e7260802cd6c4439ad84db8", - "/openlap/2933.bce0c7f48482e495.js": "050ef65061a3e4826e39715d5c5ef204f8a8e650", - "/openlap/3326.1b9da0cf2e3464e2.js": "f3f12c509b8d75c8606537c797a637cf12b20f9d", - "/openlap/3583.4ced66c75eaab352.js": "78cf43b37dc2a1ea63d1cc178f4c7c045c149c86", - "/openlap/3648.6faea5eaa70b4f10.js": "c6d4e9d8f4095143c38828ad1bf7bff9674e82b2", - "/openlap/3804.c8924e937d9b7ced.js": "5d4211eedf4c4c4192828162a49da180222b66f5", - "/openlap/388.4a65b665064a31c4.js": "2e410b75d7b919f387e5cd9b213fe6990e23321d", - "/openlap/4174.d738213b3e8d39b5.js": "a1f0ba1123d703a36e31d024d3f7a249cbe74342", - "/openlap/4330.592c723b956a2e04.js": "76812a9f8303618e421ec9ffff66f1577c733716", - "/openlap/4376.2688505d3f070692.js": "442d0e3235cfca46b2fcd6edcd2a7a360e3038d7", - "/openlap/438.bb63b63129023b72.js": "6bcfce2fc173a85134daee3e0696773a4e19bbee", - "/openlap/4432.67d7fe7a2df0f8b0.js": "b95526f18a87b6ab7c3bf22dba475c00fc590ff6", + "/openlap/2773.8e8e2e3b657d9c11.js": "60b545c5399e6335e1985992520e0e87d5d801c2", + "/openlap/2933.b44a82976b2b3c2f.js": "6e55354c6d64cdbf5f68d850b01584337a4cae1d", + "/openlap/3326.266a5c13af0cb48e.js": "be086170e0b588c19d7c968c2161f7b7f9c25cc7", + "/openlap/3583.b3b4eb40c2ce239a.js": "e7377972d77ff2824f088e320665e8bfc226ab4d", + "/openlap/3648.698f4e5be9f133c0.js": "0826927417d8bc98b0fc8c09fc9a965fc1323d38", + "/openlap/3804.ab701045223f512e.js": "3b3cfc5633b3c701b9c2e64f63c3b7db8fc92886", + "/openlap/388.49bf6520ed21777d.js": "8defda1c9881e7af3028bf4571db7d20b1695e68", + "/openlap/4174.a2c2c730c94bf11d.js": "8646e55bdf9d6de41499a534698ca0b7786adf4a", + "/openlap/4330.b69bca90c7366064.js": "bca684d5c45220fea6397fcf71d8bd84752d2f4a", + "/openlap/4376.d30652ab150075e8.js": "43064748f43147ba9b08a7b2065235e41a89f188", + "/openlap/438.f140c2797d5f414d.js": "6c6fb948c06b3d7a031cf579d1480dd1721431ff", + "/openlap/4432.1271cd50c95b74b6.js": "02f932e0dbed910527152b52b974c7ea6c7f1c68", "/openlap/4539.c6646bf5dcd630ae.js": "62149d141394119bd16393ac286d651462730155", - "/openlap/4711.9764fdba012c43bf.js": "90a6b111146720bc6e8cfa698cac9c6a100dcceb", - "/openlap/4753.0c7c8f9be88e8111.js": "ffde0e856a095914bdccd32d910296795f1d22e0", - "/openlap/4899.470542121cd5357f.js": "9ca96a4b4ceb694b317d177af82e5bc6c093d255", - "/openlap/4908.9cabf052845645b4.js": "4722bbde876e87bd8cea9c16981c7e2907a0d87e", - "/openlap/4959.d6984cebd1ca3211.js": "1262ab6189a69d0ef1192a5b3ae96f3edf29505e", - "/openlap/5168.74b5105297f0daa0.js": "6df959174657816ccb25a80340aea53efc977d7a", - "/openlap/53.89e93d4e85a41b7a.js": "073b4acd6d906cd8a489162f4b40f132aa3d0ff1", - "/openlap/5349.d02be9566b42eeeb.js": "33f83d847b3403d126c0b47679801bc315602460", - "/openlap/5652.221d55618ffa083a.js": "64ec6ded58549d793c377d3aabd790a0a746c9ec", - "/openlap/5836.9d9177a2f14062f5.js": "761b01897c54945e4b359b985899bda327dc716b", - "/openlap/6120.bf9e34a35e5b1e95.js": "4297b731150a2f583d088b0c6969e9ac596ae865", - "/openlap/6560.0b7cb0507ffcc3ff.js": "40e1b2e93964ecc5ac608318e804f9fe0cb7be20", - "/openlap/657.f376cf1439c08bb6.js": "37b92920879ceaa4b31acf2f4d25bde974938d6c", + "/openlap/4711.6ffdcd6a980e7f3a.js": "088f1f9962d0918d4dc6abec973f4ee98f40d164", + "/openlap/4753.fd6e30580f2f0bc8.js": "0414be5af486f16806e26c608c3c6fee8a0e4b0c", + "/openlap/4908.388fa7d3b6b0b98e.js": "73a054c747e8a7c947bc9532f3c4ae37e83ff112", + "/openlap/4959.5dc3a9939fe0f324.js": "0d42bdae5ebea086c5ac1c9cfa5e8a111b2316c0", + "/openlap/5168.af2b0f08220166b5.js": "2164c0fae12e8fe4269bfdc840a6526e129f5293", + "/openlap/53.33a7c44905acc703.js": "99fe04a266d2010fd71a8e4a0ab137d9cf622408", + "/openlap/5349.e28e58b0df6246bc.js": "f475d09a67b475eaead7bb67d64876f249e92e98", + "/openlap/5652.7ef16a32cd56ec42.js": "7ba9cd292c3d60eb2775dfd8a49dfd9059f5fd3c", + "/openlap/5733.e0b7596ff3dd7c8d.js": "a5599ca8ca1a4bb99c0b610c66769a7088cced5c", + "/openlap/5836.14294a00ddc7331d.js": "2c3afe7d7095bafa159449d4ee90b68d7513eb3f", + "/openlap/6120.3c95d80ea1c26c15.js": "314c0803bdb6e603ee70f1c59f32b9a7d445597b", + "/openlap/6560.02dd0a02f1f1e231.js": "4150ff13b4f7ef98383f97f947231c0e729b5482", + "/openlap/657.344c8cb4e3aa160e.js": "428789cd7351e94541bf7ebdfc153800da351c98", "/openlap/6821.a638185a1ea8f011.js": "3c724d0188ed67f0aff449b9170fdb05de0974a8", "/openlap/6881.01369d90fa5e3b7a.js": "6c61ebb20b0748659b33ef528c97c40e601deec1", - "/openlap/7011.4d31bb8ae0bcb818.js": "306037e6c488555a6b4a7766190722a65974343d", - "/openlap/7544.54a9193a99de1fd0.js": "142394e223238c756375991becd920abf6e3b3d6", - "/openlap/7602.f0ef3441c23607b2.js": "b9710fccb1423a846a428ecc354a7774d2e774eb", + "/openlap/7544.980463cd88be4044.js": "1e84a46e21f88e4e93842660f73a48eb0887ae51", + "/openlap/7602.b4f472adcedd22c1.js": "7c1425894358ab3b0b24be446d658c4bd5c08157", "/openlap/7700.b428b0a4661941aa.js": "08028a2e24fd229319afe8a4d90ec7c04d2735c9", - "/openlap/8034.85ee8398add6a750.js": "18f932312c44e5d28b4e280398de419a8848bb1a", - "/openlap/8136.28e99921932bfb7b.js": "9bc279e4edfc3107422faca5bc0ae4a9d8161681", - "/openlap/8628.6891ab7e2db50789.js": "8e7b033d55ff1a9dc2ce91b7352cb3da622cfd56", - "/openlap/8939.aac6b620c7813872.js": "b16c8a689a7992de070d2455b1c214b7ad30ad43", - "/openlap/9016.7a02c689313d929e.js": "1b51b56a54f4a67bb4fe2181d142f5fb08fb7278", - "/openlap/9230.55b2631b7e9d76a3.js": "ffa3bf4059cf80f759deeae9f60f6775ff6df3fb", - "/openlap/9325.d836b747c6cb9521.js": "1499820bc631fc99b25ca47dea5b42c556ae85eb", - "/openlap/9434.dfefbe3c4dc4585d.js": "a3c50eb2eb4ad71aa73fd534385c8bbd9d79b754", - "/openlap/9536.239147caca7d1ac9.js": "958fade2c34ad0d058ccbaa5f1f5ead7c1fd344d", - "/openlap/9654.e8c1c3c9a482d5e9.js": "c7e0d00856630ea6c995bb180e4fa22a76346aed", - "/openlap/9824.eec6ad02aa886fdb.js": "855ced06debe5694a4f7ee12e43e712b032c73f1", - "/openlap/9922.62563a4f5c8feebf.js": "7368f4186c0a7281a56986e54cb938b0c59dae29", - "/openlap/9958.c6588f6bbb62a839.js": "42dd477eacb1be04e3666aa21715f835ef93f4e8", + "/openlap/8034.221491c6a7f86c6d.js": "4b00171c773e9f25cc42e5dc9556f6da28a3d225", + "/openlap/8136.3ee745146a680b50.js": "f00c7b830497560c01ea4feb053ba481cc18dce1", + "/openlap/8628.862cf0bd6211ebd2.js": "0d8a04b5da33a7350e7163a3ab5723d6c02caab0", + "/openlap/8939.161cab4e573063c8.js": "05223ee176b8fe6ed8bfde61d40fe21ef5d39407", + "/openlap/9016.5096b518c907d596.js": "342f635654876d24c02bb142dd1651e12cfaf8d1", + "/openlap/9230.3965478050903c1e.js": "4db7b5aacbba7d2575258e412602ef90cf492380", + "/openlap/9325.6c31291c6f3a6e1f.js": "294cbfb6dbb7f5de1299a023516b7f078d80a048", + "/openlap/9434.7a55c6707979e529.js": "5fc132311afe2e31a6445fd56399d257b5cfbddf", + "/openlap/9536.07c8aff388dd8f0f.js": "459cc7d9d340a928a3296cbdfafeab747f1c41b1", + "/openlap/9590.cc09d408e257b2f9.js": "67e794e59f8ca202d2472c4d08e2a0dcdfc70e39", + "/openlap/9654.3029b9c3c7da8863.js": "0723027c485b46950d6d7e350762fb6035ee43c6", + "/openlap/9824.8beae4328afbc659.js": "2706ef58450e3218fc8fb8d8a7d2973dfad40c7f", + "/openlap/9922.2a34b5d8ec43d5d9.js": "6dc2192c2381a20684650633aac726d36497b6d7", + "/openlap/9958.d7c737839985b5f9.js": "f7615690cdd2a31dc3bb22978be08dae924630ed", "/openlap/assets/favicon.ico": "eaac94c0af3e74f589945296e6aea7c2e87d5a72", "/openlap/assets/i18n/de.json": "7900dc2372b13ab34675b33b171d45929e9790e7", "/openlap/assets/i18n/en.json": "e673605813f593c3f4861167b1a81ce8ac6402aa", "/openlap/assets/i18n/es.json": "ba63e98033446c7cf8eed22288d1e4d4f1c01225", "/openlap/assets/i18n/fr.json": "3f2ed3616ae60a903d5b0ce8f1da39f188a050b4", "/openlap/assets/i18n/it.json": "880e9d79c1f10a6e5c59d96eebdc06dc7788e4b0", + "/openlap/assets/i18n/pt.json": "0bcb58d2f076c142a5f4d5c8c8f44a8361c632d5", "/openlap/assets/i18n/sk.json": "4ec20008b1e3051bf2d0e65abd3d07abcf5246eb", "/openlap/assets/icons/icon-128x128.png": "f40f15a391b35c399d8194f64bb70e62cf81f060", "/openlap/assets/icons/icon-144x144.png": "e7f5b797ecf854ecb39989bdb276b7216e9c4208", @@ -173,15 +175,15 @@ "/openlap/assets/icons/icon-512x512.png": "0f85b72ed5c17f8a71cc3d7337dab94dca8fa821", "/openlap/assets/icons/icon-72x72.png": "eda460f85a2aad3c217a429a7a2171f120878c59", "/openlap/assets/icons/icon-96x96.png": "71f89f3b9f1dac01437f2b91d631f72c54673dc1", - "/openlap/common.76046d847a885780.js": "15c0142dd56eaedd6db66ae4a2a7db2b5b5b8c78", - "/openlap/index.html": "01d98e241aa417c33d2e2aadd2888b921e8141a5", - "/openlap/main.ce9293cd76812a2f.js": "9c188a04aea4dca0b7dab947efdf3190fe517dcf", + "/openlap/common.87519601aff3a93a.js": "7a8fb3e3acad630ad27f7ebde84da7caca5d1ff6", + "/openlap/index.html": "29709cc37860b8c0852378089ca57fc25c828668", + "/openlap/main.227f8d170de07f4a.js": "99da6237edfd1836746cb4d7a3508d66ec1ab193", "/openlap/manifest.webmanifest": "cb0305d657912e2d792330661d18a691e9dcfe15", "/openlap/polyfills-core-js.e5d40a25add030b2.js": "a10a72fc2c6e6ae4f9e144777c453d4ca706853f", "/openlap/polyfills-dom.5c5f23fb57b03028.js": "06f5dc30f55bf9a3d9c6f9bca07c0041a6bbdaa0", "/openlap/polyfills.d4788768f8be496e.js": "3cda53753ebe9ab6bb6fe6beb032e1a967ca5567", - "/openlap/runtime.7529eb1f117b8255.js": "a93c36bf693c518b9f29269c065a967d28ea2305", - "/openlap/styles.8c542959e4a074e6.css": "a7b58d08f2b922fac1352dea51f261345e5a80c1" + "/openlap/runtime.c7152c634304e86f.js": "ca381e21f26faf63e02568fecaaab73e2c6d953a", + "/openlap/styles.ff7e220835382aaf.css": "0e31e2e3aeca0a8987c00fe596c4ce11192feef1" }, "navigationUrls": [ { diff --git a/runtime.7529eb1f117b8255.js b/runtime.7529eb1f117b8255.js deleted file mode 100644 index b260f790..00000000 --- a/runtime.7529eb1f117b8255.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,v={},g={};function t(e){var r=g[e];if(void 0!==r)return r.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,t),a.exports}t.m=v,e=[],t.O=(r,a,c,b)=>{if(!a){var f=1/0;for(d=0;d=b)&&Object.keys(t.O).every(p=>t.O[p](a[n]))?a.splice(n--,1):(l=!1,b0&&e[d-1][2]>b;d--)e[d]=e[d-1];e[d]=[a,c,b]},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var r,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,c){if(1&c&&(a=this(a)),8&c||"object"==typeof a&&a&&(4&c&&a.__esModule||16&c&&"function"==typeof a.then))return a;var b=Object.create(null);t.r(b);var d={};r=r||[null,e({}),e([]),e(e)];for(var f=2&c&&a;"object"==typeof f&&!~r.indexOf(f);f=e(f))Object.getOwnPropertyNames(f).forEach(l=>d[l]=()=>a[l]);return d.default=()=>a,t.d(b,d),b}})(),t.d=(e,r)=>{for(var a in r)t.o(r,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:r[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,a)=>(t.f[a](e,r),r),[])),t.u=e=>(({2214:"polyfills-core-js",6748:"polyfills-dom",8592:"common"}[e]||e)+"."+{53:"89e93d4e85a41b7a",388:"4a65b665064a31c4",438:"bb63b63129023b72",657:"f376cf1439c08bb6",1033:"167ef10a8a053fc6",1118:"b5a4af53a44d7dd6",1217:"3da5b6d542c52398",1536:"02fe8d3d726e810e",1709:"209a245c12f6202e",2073:"1550887c6e4ed9bc",2214:"e5d40a25add030b2",2349:"5e24a7b190a17a67",2658:"144c039844d38716",2773:"a1b20ff95ab58e61",2933:"bce0c7f48482e495",3326:"1b9da0cf2e3464e2",3583:"4ced66c75eaab352",3648:"6faea5eaa70b4f10",3804:"c8924e937d9b7ced",4174:"d738213b3e8d39b5",4330:"592c723b956a2e04",4376:"2688505d3f070692",4432:"67d7fe7a2df0f8b0",4539:"c6646bf5dcd630ae",4711:"9764fdba012c43bf",4753:"0c7c8f9be88e8111",4899:"470542121cd5357f",4908:"9cabf052845645b4",4959:"d6984cebd1ca3211",5168:"74b5105297f0daa0",5349:"d02be9566b42eeeb",5652:"221d55618ffa083a",5836:"9d9177a2f14062f5",6120:"bf9e34a35e5b1e95",6560:"0b7cb0507ffcc3ff",6748:"5c5f23fb57b03028",6821:"a638185a1ea8f011",6881:"01369d90fa5e3b7a",7011:"4d31bb8ae0bcb818",7544:"54a9193a99de1fd0",7602:"f0ef3441c23607b2",7700:"b428b0a4661941aa",8034:"85ee8398add6a750",8136:"28e99921932bfb7b",8592:"76046d847a885780",8628:"6891ab7e2db50789",8939:"aac6b620c7813872",9016:"7a02c689313d929e",9230:"55b2631b7e9d76a3",9325:"d836b747c6cb9521",9434:"dfefbe3c4dc4585d",9536:"239147caca7d1ac9",9654:"e8c1c3c9a482d5e9",9824:"eec6ad02aa886fdb",9922:"62563a4f5c8feebf",9958:"c6588f6bbb62a839"}[e]+".js"),t.miniCssF=e=>{},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={},r="app:";t.l=(a,c,b,d)=>{if(e[a])e[a].push(c);else{var f,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{f.onerror=f.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],f.parentNode&&f.parentNode.removeChild(f),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=s.bind(null,f.onerror),f.onload=s.bind(null,f.onload),l&&document.head.appendChild(f)}}})(),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.tt=()=>(void 0===e&&(e={createScriptURL:r=>r},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),t.tu=e=>t.tt().createScriptURL(e),t.p="",(()=>{var e={3666:0};t.f.j=(c,b)=>{var d=t.o(e,c)?e[c]:void 0;if(0!==d)if(d)b.push(d[2]);else if(3666!=c){var f=new Promise((o,s)=>d=e[c]=[o,s]);b.push(d[2]=f);var l=t.p+t.u(c),n=new Error;t.l(l,o=>{if(t.o(e,c)&&(0!==(d=e[c])&&(e[c]=void 0),d)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+c+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,d[1](n)}},"chunk-"+c,c)}else e[c]=0},t.O.j=c=>0===e[c];var r=(c,b)=>{var n,i,[d,f,l]=b,o=0;if(d.some(u=>0!==e[u])){for(n in f)t.o(f,n)&&(t.m[n]=f[n]);if(l)var s=l(t)}for(c&&c(b);o{"use strict";var e,v={},g={};function t(e){var f=g[e];if(void 0!==f)return f.exports;var a=g[e]={exports:{}};return v[e].call(a.exports,a,a.exports,t),a.exports}t.m=v,e=[],t.O=(f,a,b,d)=>{if(!a){var r=1/0;for(c=0;c=d)&&Object.keys(t.O).every(p=>t.O[p](a[n]))?a.splice(n--,1):(l=!1,d0&&e[c-1][2]>d;c--)e[c]=e[c-1];e[c]=[a,b,d]},t.n=e=>{var f=e&&e.__esModule?()=>e.default:()=>e;return t.d(f,{a:f}),f},(()=>{var f,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;t.t=function(a,b){if(1&b&&(a=this(a)),8&b||"object"==typeof a&&a&&(4&b&&a.__esModule||16&b&&"function"==typeof a.then))return a;var d=Object.create(null);t.r(d);var c={};f=f||[null,e({}),e([]),e(e)];for(var r=2&b&&a;"object"==typeof r&&!~f.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach(l=>c[l]=()=>a[l]);return c.default=()=>a,t.d(d,c),d}})(),t.d=(e,f)=>{for(var a in f)t.o(f,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:f[a]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((f,a)=>(t.f[a](e,f),f),[])),t.u=e=>(({2214:"polyfills-core-js",6748:"polyfills-dom",8592:"common"}[e]||e)+"."+{53:"33a7c44905acc703",388:"49bf6520ed21777d",438:"f140c2797d5f414d",657:"344c8cb4e3aa160e",1033:"910a0dc08ce8318d",1118:"3ab8e4b8552c0171",1217:"c1a65013184f7441",1536:"b496f43a95670730",1709:"2e5186348c16e379",2073:"e38a9980dd36649f",2214:"e5d40a25add030b2",2349:"0f2f0c16e7c243e7",2658:"144c039844d38716",2773:"8e8e2e3b657d9c11",2933:"b44a82976b2b3c2f",3326:"266a5c13af0cb48e",3583:"b3b4eb40c2ce239a",3648:"698f4e5be9f133c0",3804:"ab701045223f512e",4174:"a2c2c730c94bf11d",4330:"b69bca90c7366064",4376:"d30652ab150075e8",4432:"1271cd50c95b74b6",4539:"c6646bf5dcd630ae",4711:"6ffdcd6a980e7f3a",4753:"fd6e30580f2f0bc8",4908:"388fa7d3b6b0b98e",4959:"5dc3a9939fe0f324",5168:"af2b0f08220166b5",5349:"e28e58b0df6246bc",5652:"7ef16a32cd56ec42",5733:"e0b7596ff3dd7c8d",5836:"14294a00ddc7331d",6120:"3c95d80ea1c26c15",6560:"02dd0a02f1f1e231",6748:"5c5f23fb57b03028",6821:"a638185a1ea8f011",6881:"01369d90fa5e3b7a",7544:"980463cd88be4044",7602:"b4f472adcedd22c1",7700:"b428b0a4661941aa",8034:"221491c6a7f86c6d",8136:"3ee745146a680b50",8592:"87519601aff3a93a",8628:"862cf0bd6211ebd2",8939:"161cab4e573063c8",9016:"5096b518c907d596",9230:"3965478050903c1e",9325:"6c31291c6f3a6e1f",9434:"7a55c6707979e529",9536:"07c8aff388dd8f0f",9590:"cc09d408e257b2f9",9654:"3029b9c3c7da8863",9824:"8beae4328afbc659",9922:"2a34b5d8ec43d5d9",9958:"d7c737839985b5f9"}[e]+".js"),t.miniCssF=e=>{},t.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={},f="app:";t.l=(a,b,d,c)=>{if(e[a])e[a].push(b);else{var r,l;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(u);var y=e[a];if(delete e[a],r.parentNode&&r.parentNode.removeChild(r),y&&y.forEach(_=>_(p)),m)return m(p)},u=setTimeout(s.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=s.bind(null,r.onerror),r.onload=s.bind(null,r.onload),l&&document.head.appendChild(r)}}})(),t.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;t.tt=()=>(void 0===e&&(e={createScriptURL:f=>f},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),t.tu=e=>t.tt().createScriptURL(e),t.p="",(()=>{var e={3666:0};t.f.j=(b,d)=>{var c=t.o(e,b)?e[b]:void 0;if(0!==c)if(c)d.push(c[2]);else if(3666!=b){var r=new Promise((o,s)=>c=e[b]=[o,s]);d.push(c[2]=r);var l=t.p+t.u(b),n=new Error;t.l(l,o=>{if(t.o(e,b)&&(0!==(c=e[b])&&(e[b]=void 0),c)){var s=o&&("load"===o.type?"missing":o.type),u=o&&o.target&&o.target.src;n.message="Loading chunk "+b+" failed.\n("+s+": "+u+")",n.name="ChunkLoadError",n.type=s,n.request=u,c[1](n)}},"chunk-"+b,b)}else e[b]=0},t.O.j=b=>0===e[b];var f=(b,d)=>{var n,i,[c,r,l]=d,o=0;if(c.some(u=>0!==e[u])){for(n in r)t.o(r,n)&&(t.m[n]=r[n]);if(l)var s=l(t)}for(b&&b(d);o.ion-page{position:relative;contain:layout style;height:100%}.split-pane-visible>.ion-page.split-pane-main{position:relative}ion-route,ion-route-redirect,ion-router,ion-select-option,ion-nav-controller,ion-menu-controller,ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-modal-controller,ion-picker-controller,ion-popover-controller,ion-toast-controller,.ion-page-hidden{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding: 20px}@supports (padding-top: 20px){html{--ion-safe-area-top: var(--ion-statusbar-padding)}}@supports (padding-top: env(safe-area-inset-top)){html{--ion-safe-area-top: env(safe-area-inset-top);--ion-safe-area-bottom: env(safe-area-inset-bottom);--ion-safe-area-left: env(safe-area-inset-left);--ion-safe-area-right: env(safe-area-inset-right)}}ion-card.ion-color .ion-inherit-color,ion-card-header.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none;overflow-y:hidden}.menu-content-open ion-content{--overflow: hidden}.menu-content-open .ion-content-scroll-host{overflow:hidden}.ios .menu-content-reveal{box-shadow:-8px 0 42px #00000014}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px #00000014}.md .menu-content-reveal,.md .menu-content-push{box-shadow:4px 0 16px #0000002e}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width: 0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:.3s transform cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion: reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width: 0px;--inner-border-width: 0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}.ion-datetime-button-overlay{--width: fit-content;--height: fit-content}.ion-datetime-button-overlay ion-datetime.datetime-grid{width:320px;min-height:320px}.popover-viewport:has(>ion-content){overflow:hidden}@supports not selector(:has(> ion-content)){.popover-viewport{overflow:hidden}}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}label,input,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}a,a div,a span,a ion-icon,a ion-label,button,button div,button span,button ion-icon,button ion-label,.ion-tappable,[tappable],[tappable] div,[tappable] span,[tappable] ion-icon,[tappable] ion-label,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{padding:0;border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin:0;padding:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}@supports (-webkit-touch-callout: none){html{font:var(--ion-dynamic-font, 16px var(--ion-font-family))}}a{background-color:transparent;color:var(--ion-color-primary, #3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:1.625rem}h2{margin-top:18px;font-size:1.5rem}h3{font-size:1.375rem}h4{font-size:1.25rem}h5{font-size:1.125rem}h6{font-size:1rem}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-hide,.ion-hide-up,.ion-hide-down{display:none!important}@media (min-width: 576px){.ion-hide-sm-up{display:none!important}}@media (max-width: 575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width: 768px){.ion-hide-md-up{display:none!important}}@media (max-width: 767.98px){.ion-hide-md-down{display:none!important}}@media (min-width: 992px){.ion-hide-lg-up{display:none!important}}@media (max-width: 991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width: 1200px){.ion-hide-xl-up{display:none!important}}@media (max-width: 1199.98px){.ion-hide-xl-down{display:none!important}}.ion-no-padding{--padding-start: 0;--padding-end: 0;--padding-top: 0;--padding-bottom: 0;padding:0}.ion-padding{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-top{--padding-top: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px)}.ion-padding-start{--padding-start: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px)}.ion-padding-end{--padding-end: var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-padding-bottom{--padding-bottom: var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-vertical{--padding-top: var(--ion-padding, 16px);--padding-bottom: var(--ion-padding, 16px);padding-top:var(--ion-padding, 16px);padding-bottom:var(--ion-padding, 16px)}.ion-padding-horizontal{--padding-start: var(--ion-padding, 16px);--padding-end: var(--ion-padding, 16px);padding-inline-start:var(--ion-padding, 16px);padding-inline-end:var(--ion-padding, 16px)}.ion-no-margin{--margin-start: 0;--margin-end: 0;--margin-top: 0;--margin-bottom: 0;margin:0}.ion-margin{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-top{--margin-top: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px)}.ion-margin-start{--margin-start: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px)}.ion-margin-end{--margin-end: var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-margin-bottom{--margin-bottom: var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-vertical{--margin-top: var(--ion-margin, 16px);--margin-bottom: var(--ion-margin, 16px);margin-top:var(--ion-margin, 16px);margin-bottom:var(--ion-margin, 16px)}.ion-margin-horizontal{--margin-start: var(--ion-margin, 16px);--margin-end: var(--ion-margin, 16px);margin-inline-start:var(--ion-margin, 16px);margin-inline-end:var(--ion-margin, 16px)}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}:host-context([dir=rtl]) .ion-float-start{float:right!important}[dir=rtl] .ion-float-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-start:dir(rtl){float:right!important}}.ion-float-end{float:right!important}:host-context([dir=rtl]) .ion-float-end{float:left!important}[dir=rtl] .ion-float-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-end:dir(rtl){float:left!important}}@media (min-width: 576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}:host-context([dir=rtl]) .ion-float-sm-start{float:right!important}[dir=rtl] .ion-float-sm-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-sm-start:dir(rtl){float:right!important}}.ion-float-sm-end{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end{float:left!important}[dir=rtl] .ion-float-sm-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-sm-end:dir(rtl){float:left!important}}}@media (min-width: 768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}:host-context([dir=rtl]) .ion-float-md-start{float:right!important}[dir=rtl] .ion-float-md-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-md-start:dir(rtl){float:right!important}}.ion-float-md-end{float:right!important}:host-context([dir=rtl]) .ion-float-md-end{float:left!important}[dir=rtl] .ion-float-md-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-md-end:dir(rtl){float:left!important}}}@media (min-width: 992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}:host-context([dir=rtl]) .ion-float-lg-start{float:right!important}[dir=rtl] .ion-float-lg-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-lg-start:dir(rtl){float:right!important}}.ion-float-lg-end{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end{float:left!important}[dir=rtl] .ion-float-lg-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-lg-end:dir(rtl){float:left!important}}}@media (min-width: 1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}:host-context([dir=rtl]) .ion-float-xl-start{float:right!important}[dir=rtl] .ion-float-xl-start{float:right!important}@supports selector(:dir(rtl)){.ion-float-xl-start:dir(rtl){float:right!important}}.ion-float-xl-end{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end{float:left!important}[dir=rtl] .ion-float-xl-end{float:left!important}@supports selector(:dir(rtl)){.ion-float-xl-end:dir(rtl){float:left!important}}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width: 576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width: 768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width: 992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width: 1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width: 576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width: 768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width: 992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width: 1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}a{color:var(--ion-text-color)}ion-badge.tuning{width:2em!important}ion-item{--highlight-color-focused: var(--ion-text-color);--highlight-color-valid: var(--ion-text-color)}ion-list-header{--color: var(--ion-color-primary)}ion-menu ion-item-group+ion-item-group{border-top:1px solid}ion-range.pristine{--knob-size: 0}ion-input.right-align :not(.has-focus){text-align:right}ion-item.driver ion-button{margin-inline-end:8px}ion-item.driver ion-buttons{margin-left:0}ion-item.driver ion-buttons ion-note{width:3em}@keyframes blink-checkered-flag{0%{opacity:0}20%{opacity:1}40%{opacity:0}60%{opacity:1}80%{opacity:0}to{opacity:1}}ion-title checkerboard{animation-name:blink-checkered-flag;animation-duration:3s;vertical-align:-.2em;margin-left:4px;margin-right:4px}ion-button.icon-only{--ripple-color: var(--ion-color-medium)}ion-button{--background-hover:transparent !important}@media only screen and (min-width: 768px) and (max-height: 600px){ion-modal{--width: 600px;--ion-safe-area-right: 0px;--ion-safe-area-left: 0px;--border-radius: 2px;--box-shadow: 0 28px 48px rgba(0, 0, 0, .4)}} diff --git a/svg/logo-x.svg b/svg/logo-x.svg new file mode 100644 index 00000000..17018598 --- /dev/null +++ b/svg/logo-x.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/svg/server-outline.svg b/svg/server-outline.svg index ca498ca2..5ec07244 100644 --- a/svg/server-outline.svg +++ b/svg/server-outline.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/server-sharp.svg b/svg/server-sharp.svg index d7132586..4578d738 100644 --- a/svg/server-sharp.svg +++ b/svg/server-sharp.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/svg/server.svg b/svg/server.svg index 3496267d..919d7cf1 100644 --- a/svg/server.svg +++ b/svg/server.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file