1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RouterPage-DHU27l36.js","assets/RouterPage-DbwOqOpx.css","assets/FosterApplicationPage-Bc5f9JM6.js","assets/SignUpForm-Cq-eNQS_.js","assets/PInput-B4D7YZGq.js","assets/phone-BfEgewkX.js","assets/PInput-reG7A_cG.css","assets/TrustFooter-DkWotLZc.js","assets/TrustFooter-FITvPvl1.css","assets/SmsConsentCheckbox-BIurFiru.js","assets/SmsConsentCheckbox-QtDV4GRQ.css","assets/AccountLinkingModal-DniMDJCD.js","assets/AccountLinkingModal-BWLjwBz_.css","assets/capabilities-BxxUeBCF.js","assets/programs-BU1zaTfV.js","assets/signup-o6NcK4o6.js","assets/foster-Ce7nl-LN.js","assets/submitError-Crrxf9mD.js","assets/invite-DUOY35AE.js","assets/organizationVerificationCode-B-ljk9uy.js","assets/useUnsavedChangesGuard-CDF4_DXy.js","assets/inviteStatus-BZMhTMVA.js","assets/logo-stacked-DMI_3xJo.js","assets/SignUpForm-D_xFa_iv.css","assets/FosterApplicationPage-BHmIDKMp.css","assets/TermsPage-BD17JM3s.js","assets/TermsPage-BUhW3j12.css","assets/PrivacyPage-Cs_U-vgo.js","assets/PrivacyPage-BwdvmfFu.css","assets/FAQPage-CytMrr6O.js","assets/AppSearchBar-DZ7aME-3.js","assets/AppSearchBar-CCAyJnPH.css","assets/FAQPage-DqnDK-PO.css","assets/InviteCapture-gPu0ewGn.js","assets/invite-Qrc9HWFs.js","assets/InviteCapture-B9GowAI4.css","assets/ReferralPage-BEe-TfDN.js","assets/referrals-BFxlUP9w.js","assets/ReferralPage-Ro7Y9SEf.css","assets/ReferralCapture-OrwH03bk.js","assets/ReferralCapture-BY5Zdq-o.css","assets/SignupPage-D6XMjqUU.js","assets/FosterWelcome-1Ktg0Mlz.js","assets/logo-small-GPuerWgY.js","assets/FosterWelcome-Dd466kpQ.css","assets/FosterOnboardingStep1-BOK7Tv4a.js","assets/fosterProfile-Ay9NimUt.js","assets/FosterOnboardingStep1-kdWI2QBg.css","assets/FosterOnboardingStep2-Bpl-lpdZ.js","assets/useActiveOrganization-WSiCsbhd.js","assets/fosterOnboardingStep2Options-tDhfC8Pr.js","assets/FosterOnboardingStep2-axx8_Eh5.css","assets/FosterOnboardingStep3-B2vhvQ3T.js","assets/FosterOnboardingStep3-83Wbo5oe.css","assets/FosterDownloadApp-6BSly3yC.js","assets/FosterDownloadApp-CKVYxq02.css","assets/FosterHomePage-hzM76p-s.js","assets/logo-horizontal_logo_lockup-darkmode-24ByhrdE.js","assets/paw-filled-BzJ0RPMN.js","assets/CarePillBadge-BuklCTfy.js","assets/ageDisplay-CU3MQM_i.js","assets/animalStages-CJHNc6Xk.js","assets/CarePillBadge-uzydu0wn.css","assets/animalPhotoUtils-MhJKVcr8.js","assets/animalMediaOptimization-D_8RNxhq.js","assets/fosterCurrentAnimals-DpDW1ynN.js","assets/fosterCurrentAnimals-COSO5o2o.css","assets/useAnimals-kd6UKD2X.js","assets/animal-DW7SFz_x.js","assets/staleWriteConflict-D-vL37kG.js","assets/useLitters-CxRYMfKm.js","assets/AnnouncementCard-lOn3ItcC.js","assets/AnnouncementCard-JQwfWt0Y.css","assets/useGroups-DZeSxPAL.js","assets/healthNotes-BmCIpxDx.js","assets/file-D-n4VKH6.js","assets/firebaseStorage-OIQM2UVN.js","assets/bookingService-DXOhBl9j.js","assets/date-CUw3Qvze.js","assets/open-outline-CIS8RGT4.js","assets/FosterPendingInterestsCard-CPTOO_39.js","assets/AnimalAvatar-CTDE548D.js","assets/AnimalAvatar-BZXyCK_h.css","assets/FosterPendingInterestsCard-CIQmqcmB.css","assets/BaseCoachMark.vue_vue_type_style_index_0_lang-PURWAZbn.js","assets/BaseCoachMark-DslROw1N.css","assets/useAdoptionShareOpportunities-Cmky-UHK.js","assets/OllieNavAction-DJZod8U5.js","assets/OllieNavAction-BAAuaVpW.css","assets/CoordinatorAvatar-Ctrsow4z.js","assets/FallbackAvatar-BN3XXAeu.js","assets/FallbackAvatar-CxNq9bpd.css","assets/CoordinatorAvatar-DlB-Uo7-.css","assets/FosterSupportCards-Bgy2IQns.js","assets/FosterSupportCards-CIQynHPR.css","assets/FosterBottomNav-BSDuFNe1.js","assets/FosterBottomNav-BTR2TEaO.css","assets/bookingTime-BOL0iaBb.js","assets/luxon-D8LvV7_N.js","assets/calendar-Hilrxgv7.js","assets/WeightInput-C3opliY6.js","assets/WeightInput-D-pLCZo6.css","assets/EmergencyContactModal-eogqRv8z.js","assets/EmergencyContactModal-DTijyu__.css","assets/FosterHomePage-SvAZwHZ4.css","assets/AdoptionSharePage-De8OiOdv.js","assets/index-Cj1WYYju.js","assets/index-DidNGJM_.js","assets/AdoptionSharePage-CV1P9lqe.css","assets/FosterAnimalsPage-R7q_lasp.js","assets/BasePill-rR8WIu-w.js","assets/BasePill-BVrqbeM9.css","assets/species-BbT1ueT5.js","assets/FosterAnimalsPage-DYJML72g.css","assets/FosterResourcesPage-Dxf_PKTy.js","assets/FosterResourcesPage-Bdqx6evE.css","assets/FosterCommunityPage-DoWrmwDm.js","assets/FosterCommunityPage-CkgoR8Mr.css","assets/FosterMessagesPage-BihJ-sbl.js","assets/blocks-umqG0-ry.js","assets/moderation-CL1-2IT-.js","assets/MessageListItem-BB2GRjeX.js","assets/messageRouting-BsvjBq4n.js","assets/PawChaseOverlay-Cahl3IkR.js","assets/MiniAnimalCard-BJzWD7rs.js","assets/MiniAnimalCard-CPziBy1P.css","assets/PawChaseOverlay-DWxeBpJp.css","assets/MessageListItem-B6yJrCQH.css","assets/FosterMessagesPage-DVFSYeGv.css","assets/FosterOlliePage-DlRtWw2l.js","assets/useOllieChat-DbNS7qVL.js","assets/AnimatePresence-BEHLkvDj.js","assets/fosterAvailability-DNq5ZMWb.js","assets/CareUpdatePhotoLightbox-Y7WMwsTF.js","assets/CareUpdatePhotoLightbox-DApqN0Du.css","assets/ChatBubble-jwttaNVI.js","assets/ChatBubble-mJhgNYvk.css","assets/useOllieChat-CJXZnGr9.css","assets/FosterStaffDirectoryPage-DXYPxINA.js","assets/AppHeader-D15vuOvQ.js","assets/AppHeader-CaMuEf6S.css","assets/FosterStaffDirectoryPage-RAP7Vo1m.css","assets/FosterSettingsPage-BDq8hxte.js","assets/Backgroun
1dThemePicker-DbqyCCUK.js","assets/BackgroundThemePicker-phizrDxf.css","assets/FosterSettingsPage-DF9yTKQT.css","assets/FosterPreferencesPage-Dld700-V.js","assets/FosterPreferencesPage-DWTaGlQT.css","assets/FosterAvailabilityPage-BTPRkPTe.js","assets/ExpectedEndDateField-DNWHjv2W.js","assets/ExpectedEndDateField-CzENz7pm.css","assets/FosterAvailabilityPage-C87SLc7N.css","assets/FosterHistoryPage-BDxY4gIT.js","assets/FosterHistoryPage-BK_3rlw1.css","assets/FosterFAQPage-C6Wl1KA9.js","assets/FosterFAQPage-B7yAPYOT.css","assets/BookingFlow-BWOew7MR.js","assets/booking-DZc_f1ru.js","assets/staleAnimalLink-qRK5253y.js","assets/status-DKPQp2Yv.js","assets/BookingFlow-5nNy4VzV.css","assets/FosterAnimalProfile-Cy99U8fv.js","assets/WeightTracker-CeZtpdbV.js","assets/animalProfileFormat-hwAu-woM.js","assets/animalProfileNavigation-2a5pOZqb.js","assets/BaseMiniMenu-CIYVE7Fa.js","assets/BaseMiniMenu-B8dSCMb9.css","assets/useLongPress-DlsK2uig.js","assets/relativeTime-BDUuQyZv.js","assets/bookingStatus-Ku_0OvCX.js","assets/BaseModal-M-ONrIzC.js","assets/BaseModal-hHlS-7Ko.css","assets/WeightTracker-Bad44s47.css","assets/PButton-Cv_AbxSp.js","assets/PButton-BMGvNT5N.css","assets/weightUnitPreference-DbV7dLTa.js","assets/FosterAnimalProfile-_N4sbgNs.css","assets/FosterSubmitInterestPage-DMwVFkSM.js","assets/vue3-lottie.es-DfIoDEn0.js","assets/_commonjsHelpers-CXUWDbkB.js","assets/FosterSubmitInterestPage-BfQb7G24.css","assets/FosterPage-C8G8Clt-.js","assets/phonecall-YWi1tPkX.js","assets/ReportReasonModal-Cw5gDFHT.js","assets/ReportReasonModal-BVNmMJEJ.css","assets/useFosters-C0KCbdw-.js","assets/fosterService-CbZu7yES.js","assets/capabilityMatching-BJpd6pIo.js","assets/fosterProfileInsights-0Yv9jQJl.js","assets/FosterPage-C9pDAcfi.css","assets/StaffProfilePage-Do3gE6fM.js","assets/staffController-Dw4PjLEM.js","assets/safeUrl-CJAzb0IZ.js","assets/StaffProfilePage-BHXLnT3O.css","assets/HomePage-D6YBQyju.js","assets/intakeSubmission-DKZKQZrE.js","assets/useEnabledSpecies-CAviwisp.js","assets/AnimalIntakeModal-DRerxgW8.js","assets/PToggle-B2L4oc1A.js","assets/PToggle-BaZUaSvj.css","assets/PToggleButton-DeP07bJV.js","assets/PToggleButton-C5RbUyXD.css","assets/PPhotoUpload-DVjlqFNj.js","assets/PPhotoUpload-DjSTjzbz.css","assets/sterilization-C-caUu-s.js","assets/billing-DyES8_lk.js","assets/orgOwnership-oah7gSJM.js","assets/billing-sXJQbiV8.css","assets/ProSparkle-VzmKIZcT.js","assets/ProSparkle-DufDihcm.css","assets/VolunteerListItem-xvOJbhN2.js","assets/fosterMatchUtils-CbkACqLJ.js","assets/VolunteerListItem-UeaSaJ_Q.css","assets/useSmsCreditWarning-I919dkrq.js","assets/useBillingPaywall-GatBdzL_.js","assets/pleaDraftService-BlVae5KO.js","assets/plea-Cgn7VUmQ.js","assets/sterilization-Dfko0bfG.css","assets/SidePanel-BmpyyusI.js","assets/SidePanel-BjO_DFyr.css","assets/intakeSubmission-Ez826F7k.js","assets/TransferPartnerPicker-BJo9PxCg.js","assets/TransferPartnerPicker-DQa7JZv2.css","assets/AnimalIntakeModal-D-cqiSeM.css","assets/CoordinatorBottomNav-Dz9ifMDH.js","assets/CoordinatorBottomNav-C5VMDwfh.css","assets/useInvitePhone-DXhLt9yU.js","assets/InviteFostersModal-Bs4rOrrz.js","assets/InviteFostersModal-5mLiiKYb.css","assets/staff-BuC2DdFn.js","assets/HomePage-4_AGiy4W.css","assets/FosterMessageThreadPage-DlWOs5XT.js","assets/FosterMessageThreadPage-B3cSkSNJ.css","assets/VolunteerDirectory-DNtFn5zQ.js","assets/foster-DUidQH-l.js","assets/useTierOneLiveRefetch-CBFNKNlp.js","assets/VolunteerDirectory-DuaR_YDc.css","assets/SendPleaPage-BjULbEqI.js","assets/SendPleaPage-KNwGEE90.css","assets/WeeklySchedule-CL2CtY4x.js","assets/WeeklySchedule-gg0ygIEy.css","assets/VerificationDashboard-Bcc1GSNM.js","assets/VerificationDashboard-CIwg4xcs.css","assets/ReportsDashboard-BT3SRgjd.js","assets/ReportsDashboard-DDK0gxsn.css","assets/ReportsPage-Bp7DzRxZ.js","assets/nativeFileViewer-C01Z_HR7.js","assets/ReportsPage-S_QEm19Y.css","assets/ImpactReportPage-R-6qpGSt.js","assets/ImpactReportPage-CHc8BccV.css","assets/OrgSignupsDashboard-CXVSLqhe.js","assets/OrgSignupsDashboard-B2TNYQXo.css","assets/AiUsageDashboard-Bkx76J2W.js","assets/AiUsageDashboard-B1Gb38Db.css","assets/EditPleaPage-BWGLP1fI.js","assets/EditPleaPage-D9ORnHGZ.css","assets/NotificationPage-Dv0b_a8W.js","assets/NotificationPage-Cq6tT7lp.css","assets/App
1ointmentDashboard-BgRAcoBY.js","assets/cat-playing-animation-D74Sy8ZQ.js","assets/AppointmentDashboard-BKHm9SJS.css","assets/PublicIntakePage-DGQ2G9qI.js","assets/useIntakeSubmissions-8hPftBPt.js","assets/PublicIntakePage-mIl8brbw.css","assets/PublicIntakeSubmissionPage-CMbZwZdF.js","assets/PublicIntakeSubmissionPage-0yaapZMB.css","assets/OrganizationDetailsPage-BY8yXXa5.js","assets/organization-y7J9O_zP.js","assets/orgMapper-DXHhrVjC.js","assets/useSponsorRole-DHbP6OUj.js","assets/OrganizationDetailsPage-BDJZS-TF.css","assets/BillingPage-Bm4LEJi7.js","assets/BillingPage-BIpkkHoZ.css","assets/TeamPage-DT_vTogg.js","assets/ScrollableTable-DDjaSAuX.js","assets/ScrollableTable-B7flcI14.css","assets/TeamPage-CsLE049M.css","assets/OrgShapePage-CC5hDeOX.js","assets/OrgShapePage-rc6gUC_m.css","assets/AnimalRecordsPage-Bh8EtC3W.js","assets/AnimalStatusBadge-CHO6cyGX.js","assets/AnimalStatusBadge-DOnioaGT.css","assets/AnimalRecordsPage-bWNQzZvE.css","assets/AllAnimalsPage-DcVyBQaE.js","assets/fosterPicker-DhUxRUjK.js","assets/fosterPicker-D2I90Mu0.css","assets/AllAnimalsPage-BYrITfXk.css","assets/SignInPage-B-I2aEAM.js","assets/SignInPage-DERlBi_b.css","assets/ResumeSignupPage-DB0ByG_H.js","assets/ResumeSignupPage-tBcIXBms.css","assets/PendingVerificationPage-DK2xpoaW.js","assets/PendingVerificationPage-CmVZnUpA.css","assets/VerificationRequestPage-BWiS_hRQ.js","assets/VerificationRequestPage-DZvSgQ2q.css","assets/SignUpFlow_1-BZQiebS3.js","assets/SignUpFlow_1-BIuKUwo2.css","assets/SignUpFlow_2-BhXCoDe7.js","assets/SignUpFlow_2-XMmLUydc.css","assets/SignUpFlow_3-D-Z5c5v8.js","assets/SignUpFlow_3-Bsp75sng.css","assets/ForgotPasswordPage-1vgHAFI_.js","assets/arrow-left-CmOA
16Sh5.js","assets/ForgotPasswordPage-hdlvh6rE.css","assets/VerificationPage-B3i0vYQK.js","assets/VerificationPage-C1OrJoUA.css","assets/NewPasswordPage-DZ53K-Lu.js","assets/NewPasswordPage-BOUebnqI.css","assets/OnboardingPage_1-CYwlLfT4.js","assets/OnboardingPage_1-1CLRROzk.css","assets/OnboardingPage_2-BL8E9MSB.js","assets/OnboardingPage_2-CMDxz7k7.css","assets/OnboardingPage_3-CX61dDVk.js","assets/OnboardingPage_3-BI-4BAUL.css","assets/EditProfilePage-D3WAu6x5.js","assets/EditProfilePage-AU2Inwnr.css","assets/FosterEditProfilePage-CRt0KsD5.js","assets/FosterEditProfilePage-Bp1BRZou.css","assets/ChangePasswordPage-BqQuxAwC.js","assets/ChangePasswordPage-p7pL5F0K.css","assets/NotificationPreferencesPage-CNtNEWKg.js","assets/pushNotifications-BQV74sFH.js","assets/NotificationPreferencesPage-DwHg4yA8.css","assets/MessagesPage-DWvSwUuN.js","assets/ui-Do-sfO9r.js","assets/MessagesPage-DGh4-kJT.css","assets/CoordinatorAssistantPage-DALeRwVv.js","assets/FosterDirectoryPage-DgcEB9mW.js","assets/FosterDirectoryPage-Cb-bpKHW.css","assets/FosterMessagePage-hvqcWJOu.js","assets/FosterMessagePage-yYVF7oiM.css","assets/AnimalProfilePage-CxEXx7R4.js","assets/FosterAssignModal-Dm-H_4Zi.js","assets/GroupActionDialog-BiRx5fpJ.js","assets/GroupActionDialog-sLL4ErmA.css","assets/FosterAssignModal-ntKzWdWS.css","assets/PickupConfirmModal-CmgbpzMf.js","assets/PickupConfirmModal-CUvyydvn.css","assets/AnimalProfilePage-C35aA7eF.css","assets/ActionSheetExample-BKugxr9C.js","assets/ActionSheetExample-CjaUkt6G.css","assets/SchedulingDemo-CT2mPogu.js","assets/SchedulingDemo-BlGT9bsq.css"])))=>i.map(i=>d[i]); 2var e=Object.defineProperty,t=(t,n,i)=>((t,n,i)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i)(t,"symbol"!=typeof n?n+"":n,i);function n(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const i={},o=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),r=(null==n?void 0:n.nonce)||(null==n?void 0:n.getAttribute("nonce"));o=e(t.map(e=>{if((e=function(e){return"/"+e}(e))in i)return;i[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector('link[href="'.concat(e,'"]').concat(n)))return;const o=document.createElement("link");return o.rel=t?"stylesheet":"modulepreload",t||(o.as="script"),o.crossOrigin="",o.href=e,r&&o.setAttribute("nonce",r),document.head.appendChild(o),t?new Promise((t,n)=>{o.addEventListener("load",t),o.addEventListener("error",()=>n(new Error("Unable to preload CSS for ".concat(e))))}):void 0}))}function r(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return o.then(t=>{for(const e of t||[])"rejected"===e.status&&r(e.reason);return e().catch(r)})};function r(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const a={},s=[],l=()=>{},c=()=>!1,d=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),p=Object.assign,h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},m=Object.prototype.hasOwnProperty,f=(e,t)=>m.call(e,t),g=Array.isArray,b=e=>"[object Map]"===C(e),v=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),w=e=>"function"==typeof e,x=e=>"string"==typeof e,k=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,E=e=>(_(e)||w(e))&&w(e.then)&&w(e.catch),S=Object.prototype.toString,C=e=>S.call(e),T=e=>"[object Object]"===C(e),I=e=>x(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}
2,O=/-\w/g,R=P(e=>e.replace(O,e=>e.slice(1).toUpperCase())),L=/\B([A-Z])/g,D=P(e=>e.replace(L,"-$1").toLowerCase()),N=P(e=>e.charAt(0).toUpperCase()+e.slice(1)),M=P(e=>e?"on".concat(N(e)):""),z=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},B=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},F=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let V;const U=()=>V||(V="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function q(e){if(g(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],o=x(i)?$(i):q(i);if(o)for(const e in o)t[e]=o[e]}return t}if(x(e)||_(e))return e}const H=/;(?![^(]*\))/g,W=/:([^]+)/,G=/\/\*[^]*?\*\//g;function $(e){const t={};return e.replace(G,"").split(H).forEach(e=>{if(e){const n=e.split(W);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Y(e){let t="";if(x(e))t=e;else if(g(e))for(let n=0;n<e.length;n++){const i=Y(e[n]);i&&(t+=i+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const X=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function K(e){return!!e||""===e}function J(e,t){if(e===t)return!0;let n=y(e),i=y(t);if(n||i)return!(!n||!i)&&e.getTime()===t.getTime();if(n=k(e),i=k(t),n||i)return e===t;if(n=g(e),i=g(t),n||i)return!(!n||!i)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=J(e[i],t[i]);return n}(e,t);if(n=_(e),i=_(t),n||i){if(!n||!i)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const i=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(i&&!o||!i&&o||!J(e[n],t[n]))return!1}}return String(e)===String(t)}function Z(e,t){return e.findIndex(e=>J(e,t))}const Q=e=>!(!e||!0!==e.__v_isRef),ee=e=>x(e)?e:null==e?"":g(e)||_(e)&&(e.toString===S||!w(e.toString))?Q(e)?ee(e.value):JSON.stringify(e,te,2):String(e),te=(e,t)=>Q(t)?te(e,t.value):b(t)?{["Map(".concat(t.size,")")]:[...t.entries()].reduce((e,[t,n],i)=>(e[ne(t,i)+" =>"]=n,e),{})}:v(t)?{["Set(".concat(t.size,")")]:[...t.values()].map(e=>ne(e))}:k(t)?ne(t):!_(t)||g(t)||T(t)?t:String(t),ne=(e,t="")=>{var n;return k(e)?"Symbol(".concat(null!=(n=e.description)?n:t,")"):e};function ie(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)}let oe,re;class ae{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&oe&&(oe.active?(this.parent=oe,this.index=(oe.scopes||(oe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}const n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){const t=oe;try{return oe=this,e()}finally{oe=t}}}on(){1===++this._on&&(this.prevScope=oe,oe=this)}off(){if(this._on>0&&0===--this._on){if(oe===this)oe=this.prevScope;else{let e=oe;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){const e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function se(){return oe}const le=new WeakSet;class ce{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,oe&&(oe.active?oe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,le.has(this)&&(le.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||he(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,Ce(this),ge(this);const e=re,t=ke;re=this,ke=!0;try{return this.fn()}finally{be(this),re=e,ke=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)we(e);this.deps=this.depsTail=void 0,Ce(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?le.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ve(this)&&this.run()}get dirty(){return ve(this)}}let de,ue,pe=0;function he(e,t=!1){if(e.flags|=8,t)return e.next=ue,void(ue=e);e.next=de,de=e}function me(){pe++}function fe(){if(--pe>0)return;if(ue){let e=ue;for(ue=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;de;){let n=de;for(de=void 0;n;){const i=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=i}}if(e)throw e}function ge(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function be(e){let t,n=e.depsTail,i=n;for(;i;){const e=i.prevDep;-1===i.version?(i===n&&(n=e),we(i),xe(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=e}e.deps=t,e.depsTail=n}function ve(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ye(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ye(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Te)return;if(e.globalVersion=Te,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ve(e)))return;e.flags|=2;const t=e.dep,n=re,i=ke;re=e,ke=!0;try{ge(e);const n=e.fn(e._value);(0===t.version||z(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(o){throw t.version++,o}finally{re=n,ke=i,be(e),e.flags&=-3}}function we(e,t=!1){const{dep:n,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.c
2omputed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)we(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function xe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ke=!0;const _e=[];function Ee(){_e.push(ke),ke=!1}function Se(){const e=_e.pop();ke=void 0===e||e}function Ce(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=re;re=void 0;try{t()}finally{re=e}}}let Te=0;class Ie{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ae{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!re||!ke||re===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==re)t=this.activeLink=new Ie(re,this),re.deps?(t.prevDep=re.depsTail,re.depsTail.nextDep=t,re.depsTail=t):re.deps=re.depsTail=t,Pe(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=re.depsTail,t.nextDep=void 0,re.depsTail.nextDep=t,re.depsTail=t,re.deps===t&&(re.deps=e)}return t}trigger(e){this.version++,Te++,this.notify(e)}notify(e){me();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{fe()}}}function Pe(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Pe(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Oe=new WeakMap,Re=Symbol(""),Le=Symbol(""),De=Symbol("");function Ne(e,t,n){if(ke&&re){let t=Oe.get(e);t||Oe.set(e,t=new Map);let i=t.get(n);i||(t.set(n,i=new Ae),i.map=t,i.key=n),i.track()}}function Me(e,t,n,i,o,r){const a=Oe.get(e);if(!a)return void Te++;const s=e=>{e&&e.trigger()};if(me(),"clear"===t)a.forEach(s);else{const o=g(e),r=o&&I(n);if(o&&"length"===n){const e=Number(i);a.forEach((t,n)=>{("length"===n||n===De||!k(n)&&n>=e)&&s(t)})}else switch((void 0!==n||a.has(void 0))&&s(a.get(n)),r&&s(a.get(De)),t){case"add":o?r&&s(a.get("length")):(s(a.get(Re)),b(e)&&s(a.get(Le)));break;case"delete":o||(s(a.get(Re)),b(e)&&s(a.get(Le)));break;case"set":b(e)&&s(a.get(Re))}}fe()}function ze(e){const t=kt(e);return t===e?t:(Ne(t,0,De),wt(e)?t:t.map(_t))}function je(e){return Ne(e=kt(e),0,De),e}function Be(e,t){return yt(e)?Et(vt(e)?_t(t):t):_t(t)}const Fe={__proto__:null,[Symbol.iterator](){return Ve(this,Symbol.iterator,e=>Be(this,e))},concat(...e){return ze(this).concat(...e.map(e=>g(e)?ze(e):e))},entries(){return Ve(this,"entries",e=>(e[1]=Be(this,e[1]),e))},every(e,t){return qe(this,"every",e,t,void 0,arguments)},filter(e,t){return qe(this,"filter",e,t,e=>e.map(e=>Be(this,e)),arguments)},find(e,t){return qe(this,"find",e,t,e=>Be(this,e),arguments)},findIndex(e,t){return qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qe(this,"findLast",e,t,e=>Be(this,e),arguments)},findLastIndex(e,t){return qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return We(this,"includes",e)},indexOf(...e){return We(this,"indexOf",e)},join(e){return ze(this).join(e)},lastIndexOf(...e){return We(this,"lastIndexOf",e)},map(e,t){return qe(this,"map",e,t,void 0,arguments)},pop(){return Ge(this,"pop")},push(...e){return Ge(this,"push",e)},reduce(e,...t){return He(this,"reduce",e,t)},reduceRight(e,...t){return He(this,"reduceRight",e,t)},shift(){return Ge(this,"shift")},some(e,t){return qe(this,"some",e,t,void 0,arguments)},splice(...e){return Ge(this,"splice",e)},toReversed(){return ze(this).toReversed()},toSorted(e){return ze(this).toSorted(e)},toSpliced(...e){return ze(this).toSpliced(...e)},unshift(...e){return Ge(this,"unshift",e)},values(){return Ve(this,"values",e=>Be(this,e))}};function Ve(e,t,n){const i=je(e),o=i[t]();return i===e||wt(e)||(o._next=o.next,o.next=()=>{const e=o._next();return e.done||(e.value=n(e.value)),e}),o}const Ue=Array.prototype;function qe(e,t,n,i,o,r){const a=je(e),s=a!==e&&!wt(e),l=a[t];
2if(l!==Ue[t]){const t=l.apply(e,r);return s?_t(t):t}let c=n;a!==e&&(s?c=function(t,i){return n.call(this,Be(e,t),i,e)}:n.length>2&&(c=function(t,i){return n.call(this,t,i,e)}));const d=l.call(a,c,i);return s&&o?o(d):d}function He(e,t,n,i){const o=je(e);let r=n,a=!1;o!==e&&(o!==e&&!wt(e)?(a=0===i.length,r=function(t,i,o){return a&&(a=!1,t=Be(e,t)),n.call(this,t,Be(e,i),o,e)}):n.length>3&&(r=function(t,i,o){return n.call(this,t,i,o,e)}));const s=o[t](r,...i);return a?Be(e,s):s}function We(e,t,n){const i=kt(e);Ne(i,0,De);const o=i[t](...n);return-1!==o&&!1!==o||!xt(n[0])?o:(n[0]=kt(n[0]),i[t](...n))}function Ge(e,t,n=[]){Ee(),me();const i=kt(e)[t].apply(e,n);return fe(),Se(),i}const $e=r("__proto__,__v_isRef,__isVue"),Ye=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(k));function Xe(e){k(e)||(e=String(e));const t=kt(this);return Ne(t,0,e),t.hasOwnProperty(e)}class Ke{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!i;if("__v_isReadonly"===t)return i;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(i?o?ht:pt:o?ut:dt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=g(e);if(!i){let e;if(r&&(e=Fe[t]))return e;if("hasOwnProperty"===t)return Xe}const a=Reflect.get(e,t,St(e)?e:n);if(k(t)?Ye.has(t):$e(t))return a;if(i||Ne(e,0,t),o)return a;if(St(a)){const e=r&&I(t)?a:a.value;return i&&_(e)?gt(e):e}return _(a)?i?gt(a):mt(a):a}}class Je extends Ke{constructor(e=!1){super(!1,e)}set(e,t,n,i){let o=e[t];const r=g(e)&&I(t);if(!this._isShallow){const e=yt(o);if(wt(n)||yt(n)||(o=kt(o),n=kt(n)),!r&&St(o)&&!St(n))return e||(o.value=n),!0}const a=r?Number(t)<e.length:f(e,t),s=Reflect.set(e,t,n,St(e)?e:i);return e===kt(i)&&s&&(a?z(n,o)&&Me(e,"set",t,n):Me(e,"add",t,n)),s}deleteProperty(e,t){const n=f(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&Me(e,"delete",t,void 0),i}has(e,t){const n=Reflect.has(e,t);return k(t)&&Ye.has(t)||Ne(e,0,t),n}ownKeys(e){return Ne(e,0,g(e)?"length":Re),Reflect.ownKeys(e)}}class Ze extends Ke{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Qe=new Je,et=new Ze,tt=new Je(!0),nt=e=>e,it=e=>Reflect.getPrototypeOf(e);function ot(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function rt(e,t){const n={get(n){const i=this.__v_raw,o=kt(i),r=kt(n);e||(z(n,r)&&Ne(o,0,n),Ne(o,0,r));const{has:a}=it(o),s=t?nt:e?Et:_t;return a.call(o,n)?s(i.get(n)):a.call(o,r)?s(i.get(r)):void(i!==o&&i.get(n))},get size(){const t=this.__v_raw;return!e&&Ne(kt(t),0,Re),t.size},has(t){const n=this.__v_raw,i=kt(n),o=kt(t);return e||(z(t,o)&&Ne(i,0,t),Ne(i,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},forEach(n,i){const o=this,r=o.__v_raw,a=t?nt:e?Et:_t;return!e&&Ne(kt(r),0,Re),r.forEach((e,t)=>n.call(i,a(e),a(t),o))}};p(n,e?{add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear")}:{add(e){const n=kt(this),i=it(n),o=kt(e),r=t||wt(e)||yt(e)?e:o;return i.has.call(n,r)||z(e,r)&&i.has.call(n,e)||z(o,r)&&i.has.call(n,o)||(n.add(r),Me(n,"add",r,r)),this},set(e,n){t||wt(n)||yt(n)||(n=kt(n));const i=kt(this),{has:o,get:r}=it(i);let a=o.call(i,e);a||(e=kt(e),a=o.call(i,e));const s=r.call(i,e);return i.set(e,n),a?z(n,s)&&Me(i,"set",e,n):Me(i,"add",e,n),this},delete(e){const t=kt(this),{has:n,get:i}=it(t);let o=n.call(t,e);o||(e=kt(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&Me(t,"delete",e,void 0),r},clear(){const e=kt(this),t=0!==e.size,n=e.clear();return t&&Me(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=function(e,t,n){return function(...i){const o=this.__v_raw,r=kt(o),a=b(r),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=o[e](...i),d=n?nt:t?Et:_t;return!t&&Ne(r,0,l?Le:Re),p(Object.create(c),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}}})}}(i,e,t)}),n}function at(e,t){const n=rt(e,t);return(t,i,o)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(f(n,i)&&i in t?n:t,i,o)}const st={get:at(!1,!1)},lt={get:at(!1,!0)},ct={get:at(!0,!1)},dt=new WeakMap,ut=new WeakMap,pt=new WeakMap,ht=new WeakMap;function mt(e){return yt(e)?e:bt(e,!1,Qe,st,dt)}function ft(e){return bt(e,!1,tt,lt,ut)}function gt(e){return bt(e,!0,et,ct,pt)}function bt(e,t,n,i,o){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;if(e.__v_skip||!Object.isExtensible(e))return e;const r=o.get(e);if(r)return r;const a=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(C(e).slice(8,-1));if(0===a)return e;const s=new Proxy(e,2===a?i:n);return o.set(e,s),s}function vt(e){return yt(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function yt(e){return!(!e||!e.__v_isReadonly)}function wt(e){return!(!e||!e.__v_isShallow)}function xt(e){return!!e&&!!e.__v_raw}function kt(e){const t=e&&e.__v_raw;return t?kt(t):e}const _t=e=>_(e)?mt(e):e,Et=e=>_(e)?gt(e):e;function St(e){return!!e&&!0===e.__v_isRef}function Ct(e){return It(e,!1)}function Tt(e){return It(e,!0)}function It(e,t){return St(e)?e:new At(e,t)}class At{constructor(e,t){this.dep=new Ae,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:kt(e),this._value=t?e:_t(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||wt(e)||yt(e);z(e=n?e:kt(e),t)&&(this._rawValue=e,this._value=n?e:_t(e),this.dep.trigger())}}function Pt(e){return St(e)?e.value:e}function Ot(e){return w(e)?e():Pt(e)}const Rt={get:(e,t,n)=>"__v_raw"===t?e:Pt(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return St(o)&&!St(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function Lt(e){return vt(e)?e:new Proxy(e,Rt)}class Dt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ae(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Te-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&re!==this)return he(this,!0),!0}get value(){const e=this.dep.track();return ye(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Nt(e,t,n=!1){let i,o;w(e)?i=e:(i=e.get,o=e.set);return new Dt(i,o,n)}const Mt={},zt=new WeakMap;let jt;function Bt(e,t,n=a){const{immediate:i,deep:o,once:r,scheduler:s,augmentJob:c,call:d}=n,u=e=>o?e:wt(e)||!1===o||0===o?Ft(e,1):Ft(e);let p,m,f,b,v=!1,y=!1;if(St(e)?(m=()=>e.value,v=wt(e)):vt(e)?(m=()=>u(e),v=!0):g(e)?(y=!0,v=e.some(e=>vt(e)||wt(e)),m=()=>e.map(e=>St(e)?e.value:vt(e)?u(e):w(e)?d?d(e,2):e():void 0)):m=w(e)?t?d?()=>d(e,2):e:()=>{if(f){Ee();try{f()}finally{Se()}}const t=jt;jt=p;try{return d?d(e,3,[b]):e(b)}finally{jt=t}}:l,t&&o){const e=m,t=!0===o?1/0:o;m=()=>Ft(e(),t)}const x=se(),k=()=>{p.stop(),x&&x.active&&h(x.effects,p)};if(r&&t){const e=t;t=(...t)=>{const n=e(...t);return k(),n}}let _=y?new Array(e.length).fill(Mt):Mt;const E=e=>{if(1&p.flags&&(p.dirty||e))if(t){const n=p.run();if(e||o||v||(y?n.some((e,t)=>z(e,_[t])):z(n,_))){f&&f();const e=jt;jt=p;try{const e=[n,_===Mt?void 0:y&&_[0]===Mt?[]:_,b];_=n,d?d(t,3,e):t(...e)}finally{jt=e}}}else p.run()};
2return c&&c(E),p=new ce(m),p.scheduler=s?()=>s(E,!1):E,b=e=>function(e,t=!1,n=jt){if(n){let t=zt.get(n);t||zt.set(n,t=[]),t.push(e)}}(e,!1,p),f=p.onStop=()=>{const e=zt.get(p);if(e){if(d)d(e,4);else for(const t of e)t();zt.delete(p)}},t?i?E(!0):_=p.run():s?s(E.bind(null,!0),!0):p.run(),k.pause=p.pause.bind(p),k.resume=p.resume.bind(p),k.stop=k,k}function Ft(e,t=1/0,n){if(t<=0||!_(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,St(e))Ft(e.value,t,n);else if(g(e))for(let i=0;i<e.length;i++)Ft(e[i],t,n);else if(v(e)||b(e))e.forEach(e=>{Ft(e,t,n)});else if(T(e)){for(const i in e)Ft(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&Ft(e[i],t,n)}return e}function Vt(e,t,n,i){try{return i?e(...i):e()}catch(o){qt(o,t,n)}}function Ut(e,t,n,i){if(w(e)){const o=Vt(e,t,n,i);return o&&E(o)&&o.catch(e=>{qt(e,t,n)}),o}if(g(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Ut(e[r],t,n,i));return o}}function qt(e,t,n,i=!0){t&&t.vnode;const{errorHandler:o,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||a;if(t){let i=t.parent;const r=t.proxy,a="https://vuejs.org/error-reference/#runtime-".concat(n);for(;i;){const t=i.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,a))return;i=i.parent}if(o)return Ee(),Vt(o,null,10,[e,r,a]),void Se()}!function(e,t,n,i=!0,o=!1){if(o)throw e}(e,0,0,i,r)}const Ht=[];let Wt=-1;const Gt=[];let $t=null,Yt=0;const Xt=Promise.resolve();let Kt=null;function Jt(e){const t=Kt||Xt;return e?t.then(this?e.bind(this):e):t}function Zt(e){if(!(1&e.flags)){const t=on(e),n=Ht[Ht.length-1];!n||!(2&e.flags)&&t>=on(n)?Ht.push(e):Ht.splice(function(e){let t=Wt+1,n=Ht.length;for(;t<n;){const i=t+n>>>1,o=Ht[i],r=on(o);r<e||r===e&&2&o.flags?t=i+1:n=i}return t}(t),0,e),e.flags|=1,Qt()}}function Qt(){Kt||(Kt=Xt.then(rn))}function en(e){g(e)?Gt.push(...e):$t&&-1===e.id?$t.splice(Yt+1,0,e):1&e.flags||(Gt.push(e),e.flags|=1),Qt()}function tn(e,t,n=Wt+1){for(;n<Ht.length;n++){const t=Ht[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;Ht.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function nn(e){if(Gt.length){const e=[...new Set(Gt)].sort((e,t)=>on(e)-on(t));if(Gt.length=0,$t)return void $t.push(...e);for($t=e,Yt=0;Yt<$t.length;Yt++){const e=$t[Yt];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}$t=null,Yt=0}}const on=e=>null==e.id?2&e.flags?-1:1/0:e.id;function rn(e){try{for(Wt=0;Wt<Ht.length;Wt++){const e=Ht[Wt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Vt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Wt<Ht.length;Wt++){const e=Ht[Wt];e&&(e.flags&=-2)}Wt=-1,Ht.length=0,nn(),Kt=null,(Ht.length||Gt.length)&&rn()}}let an=null,sn=null;function ln(e){const t=an;return an=e,sn=e&&e.type.__scopeId||null,t}function cn(e,t=an,n){if(!t)return e;if(e._n)return e;const i=(...n)=>{i._d&&Vo(-1);const o=ln(t),r=Mo.length;let a;try{a=e(...n)}finally{for(let e=Mo.length;e>r;e--)Bo();ln(o),i._d&&Vo(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function dn(e,t){if(null===an)return e;const n=wr(an),i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,r,s,l=a]=t[o];e&&(w(e)&&(e={mounted:e,updated:e}),e.deep&&Ft(r),i.push({dir:e,instance:n,value:r,oldValue:void 0,arg:s,modifiers:l}))}return e}function un(e,t,n,i){const o=e.dirs,r=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];r&&(s.oldValue=r[a].value);let l=s.dir[i];l&&(Ee(),Ut(l,n,8,[e.el,s,e,t]),Se())}}function pn(e,t){if(lr){let n=lr.provides;const i=lr.parent&&lr.parent.provides;i===n&&(n=lr.provides=Object.create(i)),n[e]=t}}function hn(e,t,n=!1){const i=cr();if(i||Zi){let o=Zi?Zi._context.provides:i?null==i.parent||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&w(t)?t.call(i&&i.proxy):t}}function mn(){return!(!cr()&&!Zi)}const fn=Symbol.for("v-scx");function gn(e,t){return vn(e,null,t)}function bn(e,t,n){return vn(e,t,n)}function vn(e,t,n=a){const{immediate:i,deep:o,flush:r,once:s}=n,c=p({},n),d=t&&i||!t&&"post"!==r;let u;if(fr)if("sync"===r){const e=hn(fn);u=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){const e=()=>{};return e.stop=l,e.resume=l,e.pause=l,e}const h=lr;
2c.call=(e,t,n)=>Ut(e,h,t,n);let m=!1;"post"===r?c.scheduler=e=>{_o(e,h&&h.suspense)}:"sync"!==r&&(m=!0,c.scheduler=(e,t)=>{t?e():Zt(e)}),c.augmentJob=e=>{t&&(e.flags|=4),m&&(e.flags|=2,h&&(e.id=h.uid,e.i=h))};const f=Bt(e,t,c);return fr&&(u?u.push(f):d&&f()),f}function yn(e,t,n){const i=this.proxy,o=x(e)?e.includes(".")?wn(i,e):()=>i[e]:e.bind(i,i);let r;w(t)?r=t:(r=t.handler,n=t);const a=pr(this),s=vn(o,r.bind(i),n);return a(),s}function wn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}const xn=new WeakMap,kn=Symbol("_vte"),_n=e=>e.__isTeleport,En=e=>e&&(e.disabled||""===e.disabled),Sn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Cn=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Tn=(e,t)=>{const n=e&&e.to;if(x(n)){if(t){return t(n)}return null}return n};function In(e,t,n,{o:{insert:i},m:o},r=2){0===r&&i(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:d}=e,u=2===r;if(u&&i(a,t,n),!xn.has(e)&&(!u||En(d))&&16&l)for(let p=0;p<c.length;p++)o(c[p],t,n,2);u&&i(s,t,n)}const An={name:"Teleport",__isTeleport:!0,process(e,t,n,i,o,r,a,s,l,c){const{mc:d,pc:u,pbc:p,o:{insert:h,querySelector:m,createText:f,createComment:g,parentNode:b}}=c,v=En(t.props);let{dynamicChildren:y}=t;const w=(e,t,n)=>{16&e.shapeFlag&&d(e.children,t,n,o,r,a,s,l)},x=(e=t)=>{const n=En(e.props),i=e.target=Tn(e.props,m),r=On(i,e,f,h);i&&("svg"!==a&&Sn(i)?a="svg":"mathml"!==a&&Cn(i)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(i),n||(w(e,i,r),Pn(e,!1)))},k=e=>{const t=()=>{if(xn.get(e)===t){if(xn.delete(e),En(e.props)){const t=b(e.el)||n;w(e,t,e.anchor),Pn(e,!0)}x(e)}};xn.set(e,t),_o(t,r)};if(null==e){const e=t.el=f(""),o=t.anchor=f("");if(h(e,n,i),h(o,n,i),(_=t.props)&&(_.defer||""===_.defer)||r&&r.pendingBranch)return void k(t);v&&(w(t,n,o),Pn(t,!0)),x()}else{t.el=e.el;const i=t.anchor=e.anchor,d=xn.get(e);if(d)return d.flags|=8,xn.delete(e),void k(t);t.targetStart=e.targetStart;const h=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=En(e.props),b=g?n:h,w=g?i:f;
2if("svg"===a||Sn(h)?a="svg":("mathml"===a||Cn(h))&&(a="mathml"),y?(p(e.dynamicChildren,y,b,o,r,a,s),To(e,t,!0)):l||u(e,t,b,w,o,r,a,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):In(t,n,i,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=Tn(t.props,m);e&&(t.target=e,In(t,e,null,c,0))}else g&&In(t,h,f,c,1);Pn(t,v)}var _},remove(e,t,n,{um:i,o:{remove:o}},r){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:d,target:u,props:p}=e,h=En(p),m=r||!h,f=xn.get(e);if(f&&(f.flags|=8,xn.delete(e)),u&&(o(c),o(d)),r&&o(l),!f&&(h||u)&&16&a)for(let g=0;g<s.length;g++){const e=s[g];i(e,t,n,m,!!e.dynamicChildren)}},move:In,hydrate:function(e,t,n,i,o,r,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:d}},u){function p(e,n){let i=n;for(;i;){if(i&&8===i.nodeType)if("teleport start anchor"===i.data)t.targetStart=i;else if("teleport anchor"===i.data){t.targetAnchor=i,e._lpa=t.targetAnchor&&a(t.targetAnchor);break}i=a(i)}}function h(e,t){t.anchor=u(a(e),t,s(e),n,i,o,r)}const m=t.target=Tn(t.props,l),f=En(t.props);if(m){const l=m._lpa||m.firstChild;16&t.shapeFlag&&(f?(h(e,t),p(m,l),t.targetAnchor||On(m,t,d,c,s(e)===m?e:null)):(t.anchor=a(e),p(m,l),t.targetAnchor||On(m,t,d,c),u(l&&a(l),t,m,n,i,o,r))),Pn(t,f)}else f&&16&t.shapeFlag&&(h(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}};function Pn(e,t){const n=e.ctx;if(n&&n.ut){let i,o;for(t?(i=e.el,o=e.anchor):(i=e.targetStart,o=e.targetAnchor);i&&i!==o;)1===i.nodeType&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function On(e,t,n,i,o=null){const r=t.targetStart=n(""),a=t.targetAnchor=n("");return r[kn]=a,e&&(i(r,e,o),i(a,e,o)),a}const Rn=Symbol("_leaveCb"),Ln=Symbol("_enterCb");function Dn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ui(()=>{e.isMounted=!0}),mi(()=>{e.isUnmounting=!0}),e}const Nn=[Function,Array],Mn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nn,onEnter:Nn,onAfterEnter:Nn,onEnterCancelled:Nn,onBeforeLeave:Nn,onLeave:Nn,onAfterLeave:Nn,onLeaveCancelled:Nn,onBeforeAppear:Nn,onAppear:Nn,onAfterAppear:Nn,onAppearCancelled:Nn},zn=e=>{const t=e.subTree;return t.component?zn(t.component):t};function jn(e){let t=e[0];if(e.length>1)for(const n of e)if(n.type!==Do){t=n;break}return t}const Bn={name:"BaseTransition",props:Mn,setup(e,{slots:t}){const n=cr(),i=Dn();return()=>{const o=t.default&&Wn(t.default(),!0),r=o&&o.length?jn(o):n.subTree?er():void 0;if(!r)return;const a=kt(e),{mode:s}=a;if(i.isLeaving)return Un(r);const l=qn(r);if(!l)return Un(r);let c=Vn(l,a,i,n,e=>c=e);l.type!==Do&&Hn(l,c);let d=n.subTree&&qn(n.subTree);if(d&&d.type!==Do&&!Go(d,l)&&zn(n).type!==Do){let e=Vn(d,a,i,n);if(Hn(d,e),"out-in"===s&&l.type!==Do)return i.isLeaving=!0,e.afterLeave=()=>{i.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave,d=void 0},Un(r);"in-out"===s&&l.type!==Do?e.delayLeave=(e,t,n)=>{Fn(i,d)[String(d.key)]=d,e[Rn]=()=>{t(),e[Rn]=void 0,delete c.delayedLeave,d=void 0},c.delayedLeave=()=>{n(),delete c.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return r}}};function Fn(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Vn(e,t,n,i,o){const{appear:r,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:p,onLeave:h,onAfterLeave:m,onLeaveCancelled:f,onBeforeAppear:b,onAppear:v,onAfterAppear:y,onAppearCancelled:w}=t,x=String(e.key),k=Fn(n,e),_=(e,t)=>{e&&Ut(e,i,9,t)},E=(e,t)=>{const n=t[1];_(e,t),g(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},S={mode:a,persisted:s,beforeEnter(t){let i=l;if(!n.isMounted){if(!r)return;i=b||l}t[Rn]&&t[Rn](!0);const o=k[x];o&&Go(e,o)&&o.el[Rn]&&o.el[Rn](),_(i,[t])},enter(t){if(k[x]===e)return;let i=c,o=d,a=u;if(!n.isMounted){if(!r)return;i=v||c,o=y||d,a=w||u}let s=!1;t[Ln]=e=>{s||(s=!0,_(e?a:o,[t]),S.delayedLeave&&S.delayedLeave(),t[Ln]=void 0)};const l=t[Ln].bind(null,!1);i?E(i,[t,l]):l()},leave(t,i){const o=String(e.key);if(t[Ln]&&t[Ln](!0),n.isUnmounting)return i();_(p,[t]);let r=!1;t[Rn]=n=>{r||(r=!0,i(),_(n?f:m,[t]),t[Rn]=void 0,k[o]===e&&delete k[o])};const a=t[Rn].bind(null,!1);k[o]=e,h?E(h,[t,a]):a()},clone(e){const r=Vn(e,t,n,i,o);return o&&o(r),r}};return S}function Un(e){if(ii(e))return(e=Jo(e)).children=null,e}function qn(e){if(!ii(e))return _n(e.type)&&e.children?jn(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&w(n.default))return n.default()}}function Hn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Hn(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Wn(e,t=!1,n){let i=[],o=0;for(let r=0;r<e.length;r++){let a=e[r];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:r);
2a.type===Ro?(128&a.patchFlag&&o++,i=i.concat(Wn(a.children,t,s))):(t||a.type!==Do)&&i.push(null!=s?Jo(a,{key:s}):a)}if(o>1)for(let r=0;r<i.length;r++)i[r].patchFlag=-2;return i}function Gn(e,t){return w(e)?(()=>p({name:e.name},t,{setup:e}))():e}function $n(){const e=cr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Yn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Xn(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}const Kn=new WeakMap;function Jn(e,t,n,i,o=!1){if(g(e))return void e.forEach((e,r)=>Jn(e,t&&(g(t)?t[r]:t),n,i,o));if(ei(i)&&!o)return void(512&i.shapeFlag&&i.type.__asyncResolved&&i.component.subTree.component&&Jn(e,t,n,i.component.subTree));const r=4&i.shapeFlag?wr(i.component):i.el,s=o?null:r,{i:l,r:d}=e,u=t&&t.r,p=l.refs===a?l.refs={}:l.refs,m=l.setupState,b=kt(m),v=m===a?c:e=>!Xn(p,e)&&f(b,e),y=(e,t)=>!t||!Xn(p,t);if(null!=u&&u!==d)if(Zn(t),x(u))p[u]=null,v(u)&&(m[u]=null);else if(St(u)){const e=t;y(0,e.k)&&(u.value=null),e.k&&(p[e.k]=null)}if(w(d))Vt(d,l,12,[s,p]);else{const t=x(d),i=St(d);if(t||i){const a=()=>{if(e.f){const n=t?v(d)?m[d]:p[d]:y()||!e.k?d.value:p[e.k];if(o)g(n)&&h(n,r);else if(g(n))n.includes(r)||n.push(r);else if(t)p[d]=[r],v(d)&&(m[d]=p[d]);else{const t=[r];y(0,e.k)&&(d.value=t),e.k&&(p[e.k]=t)}}else t?(p[d]=s,v(d)&&(m[d]=s)):i&&(y(0,e.k)&&(d.value=s),e.k&&(p[e.k]=s))};if(s){const t=()=>{a(),Kn.delete(e)};t.id=-1,Kn.set(e,t),_o(t,n)}else Zn(e),a()}}}function Zn(e){const t=Kn.get(e);t&&(t.flags|=8,Kn.delete(e))}const Qn=e=>8===e.nodeType;U().requestIdleCallback,U().cancelIdleCallback;const ei=e=>!!e.type.__asyncLoader;function ti(e){w(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:o=200,hydrate:r,timeout:a,suspensible:s=!0,onError:l}=e;let c,d=null,u=0;const p=()=>{let e;return d||(e=d=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{l(e,()=>t((u++,d=null,p())),()=>n(e),u+1)});throw e}).then(t=>e!==d&&d?d:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Gn({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,t,n){const i=e.isConnected;let o=!1;(t.bu||(t.bu=[])).push(()=>o=!0);const a=()=>{o||!e.parentNode||i&&!e.isConnected||n()},s=r?()=>{const n=r(a,t=>function(e,t){if(Qn(e)&&"["===e.data){let n=1,i=e.nextSibling;for(;i;){if(1===i.nodeType){if(!1===t(i))break}else if(Qn(i))if("]"===i.data){if(0===--n)break}else"["===i.data&&n++;i=i.nextSibling}}else t(e)}(e,t));n&&(t.bum||(t.bum=[])).push(n)}:a;c?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return c},setup(){const e=lr;if(Yn(e),c)return()=>ni(c,e);const t=t=>{d=null,qt(t,e,13,!i)};if(s&&e.suspense||fr)return p().then(t=>()=>ni(t,e)).catch(e=>(t(e),()=>i?Ko(i,{error:e}):null));const r=Ct(!1),l=Ct(),u=Ct(!!o);let h,m;return fi(()=>{null!=h&&clearTimeout(h),null!=m&&clearTimeout(m)}),o&&(m=setTimeout(()=>{e.isUnmounted||(u.value=!1)},o)),null!=a&&(h=setTimeout(()=>{if(!e.isUnmounted&&!r.value&&!l.value){const e=new Error("Async component timed out after ".concat(a,"ms."));t(e),l.value=e}},a)),p().then(()=>{e.isUnmounted||(r.value=!0,e.parent&&ii(e.parent.vnode)&&e.parent.update())}).catch(n=>{e.isUnmounted?d=null:(t(n),l.value=n)}),()=>r.value&&c?ni(c,e):l.value&&i?Ko(i,{error:l.value}):n&&!u.value?ni(n,e):void 0}})}function ni(e,t){const{ref:n,props:i,children:o,ce:r}=t.vnode,a=Ko(e,i,o);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const ii=e=>e.type.__isKeepAlive;function oi(e,t){ai(e,"a",t)}function ri(e,t){ai(e,"da",t)}function ai(e,t,n=lr){const i=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(li(t,i,n),n){let e=n.parent;for(;e&&e.parent;)ii(e.parent.vnode)&&si(i,t,n,e),e=e.parent}}function si(e,t,n,i){const o=li(t,e,i,!0);fi(()=>{h(i[t],o)},n)}function li(e,t,n=lr,i=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Ee();const o=pr(n),r=Ut(t,n,e,i);return o(),Se(),r});return i?o.unshift(r):o.push(r),r}}const ci=e=>(t,n=lr)=>{fr&&"sp"!==e||li(e,(...e)=>t(...e),n)},di=ci("bm"),ui=ci("m"),pi=ci("bu"),hi=ci("u"),mi=ci("bum"),fi=ci("um"),gi=ci("sp"),bi=ci("rtg"),vi=ci("rtc");function yi(e,t=lr){li("ec",e,t)}const wi="components";function xi(e,t){return Ei(wi,e,!0,t)||e}const ki=Symbol.for("v-ndc");function _i(e){return x(e)?Ei(wi,e,!1)||e:e||ki}function Ei(e,t,n=!0,i=!1){const o=an||lr;if(o){const n=o.type;{const e=xr(n,!1);if(e&&(e===t||e===R(t)||e===N(R(t))))return n}const r=Si(o[e]||n[e],t)||Si(o.appContext[e],t);return!r&&i?n:r}}function Si(e,t){return e&&(e[t]||e[R(t)]||e[N(R(t))])}function Ci(e,t,n,i){let o;const r=n,a=g(e);if(a||x(e)){let n=!1,i=!1;a&&vt(e)&&(n=!wt(e),i=yt(e),e=je(e)),o=new Array(e.length);for(let a=0,s=e.length;a<s;a++)o[a]=t(n?i?Et(_t(e[a])):_t(e[a]):e[a],a,void 0,r)}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,r)}else if(_(e))if(e[Symbol.iterator])o=Array.from(e,(e,n)=>t(e,n,void 0,r));else{const n=Object.keys(e);o=new Array(n.length);for(let i=0,a=n.length;i<a;i++){const a=n[i];o[i]=t(e[a],a,i,r)}}else o=[];return o}function Ti(e,t,n={},i,o,r){if(an.ce||an.parent&&ei(an.parent)&&an.parent.ce){const e=null!=r&&null==n.key?p({},n,{key:r}):n,o=Object.keys(e).length>0;return"default"!==t&&(e.name=t),jo(),Ho(Ro,null,[Ko("slot",e,i)],o?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const s=Mo.length;let l;jo();try{const o=a&&Ii(a(n)),s=n.key||r||o&&o.key;l=Ho(Ro,{key:(s&&!k(s)?s:"_".concat(t))+(!o&&i?"_fb":"")},o||(i?i():[]),o&&1===e._?64:-2)}catch(c){for(let e=Mo.length;e>s;e--)Bo();throw c}finally{a&&a._c&&(a._d=!0)}return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function Ii(e){return e.some(e=>!Wo(e)||e.type!==Do&&!(e.type===Ro&&!Ii(e.children)))?e:null}const Ai=e=>e?mr(e)?wr(e):Ai(e.parent):null,Pi=p(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ai(e.parent),$root:e=>Ai(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vi(e),$forceUpdate:e=>e.f||(e.f=()=>{Zt(e.update)}),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>yn.bind(e)}),Oi=(e,t)=>e!==a&&!e.__isScriptSetup&&f(e,t),Ri={get({_:e},t){if("__v_skip"===t)return!0;
vendor: 5,286 bytes, line 2
2const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:l,appContext:c}=e;if("$"!==t[0]){const e=s[t];if(void 0!==e)switch(e){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Oi(i,t))return s[t]=1,i[t];if(o!==a&&f(o,t))return s[t]=2,o[t];if(f(r,t))return s[t]=3,r[t];if(n!==a&&f(n,t))return s[t]=4,n[t];zi&&(s[t]=0)}}const d=Pi[t];let u,p;return d?("$attrs"===t&&Ne(e.attrs,0,""),d(e)):(u=l.__cssModules)&&(u=u[t])?u:n!==a&&f(n,t)?(s[t]=4,n[t]):(p=c.config.globalProperties,f(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return Oi(o,t)?(o[t]=n,!0):i!==a&&f(i,t)?(i[t]=n,!0):!f(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(r[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,props:r,type:s}},l){let c;return!!(n[l]||e!==a&&"$"!==l[0]&&f(e,l)||Oi(t,l)||f(r,l)||f(i,l)||f(Pi,l)||f(o.config.globalProperties,l)||(c=s.__cssModules)&&c[l])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:f(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Li(){return Ni().slots}function Di(){return Ni().attrs}function Ni(e){const t=cr();return t.setupContext||(t.setupContext=yr(t))}function Mi(e){return g(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let zi=!0;function ji(e){const t=Vi(e),n=e.proxy,i=e.ctx;zi=!1,t.beforeCreate&&Bi(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:a,watch:s,provide:c,inject:d,created:u,beforeMount:p,mounted:h,beforeUpdate:m,updated:f,activated:b,deactivated:v,beforeDestroy:y,beforeUnmount:x,destroyed:k,unmounted:E,render:S,renderTracked:C,renderTriggered:T,errorCaptured:I,serverPrefetch:A,expose:P,inheritAttrs:O,components:R,directives:L,filters:D}=t;if(d&&function(e,t){g(e)&&(e=Wi(e));for(const n in e){const i=e[n];let o;o=_(i)?"default"in i?hn(i.from||n,i.default,!0):hn(i.from||n):hn(i),St(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(d,i,null),a)for(const l in a){const e=a[l];w(e)&&(i[l]=e.bind(n))}if(o){const t=o.call(n,n);_(t)&&(e.data=mt(t))}if(zi=!0,r)for(const g in r){const e=r[g],t=w(e)?e.bind(n,n):w(e.get)?e.get.bind(n,n):l,o=!w(e)&&w(e.set)?e.set.bind(n):l,a=kr({get:t,set:o});Object.defineProperty(i,g,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(s)for(const l in s)Fi(s[l],i,n,l);if(c){const e=w(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{pn(t,e[t])})}function N(e,t){g(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(u&&Bi(u,e,"c"),N(di,p),N(ui,h),N(pi,m),N(hi,f),N(oi,b),N(ri,v),N(yi,I),N(vi,C),N(bi,T),N(mi,x),N(fi,E),N(gi,A),g(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});S&&e.render===l&&(e.render=S),null!=O&&(e.inheritAttrs=O),R&&(e.components=R),L&&(e.directives=L),A&&Yn(e)}function Bi(e,t,n){Ut(g(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fi(e,t,n,i){let o=i.includes(".")?wn(n,i):()=>n[i];if(x(e)){const n=t[e];w(n)&&bn(o,n)}else if(w(e))bn(o,e.bind(n));else if(_(e))if(g(e))e.forEach(e=>Fi(e,t,n,i));else{const i=w(e.handler)?e.handler.bind(n):t[e.handler];w(i)&&bn(o,i,e)}}function Vi(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:o.length||n||i?(l={},o.length&&o.forEach(e=>Ui(l,e,a,!0)),Ui(l,t,a)):l=t,_(t)&&r.set(t,l),l}function Ui(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&Ui(e,r,n,!0),o&&o.forEach(t=>Ui(e,t,n,!0));for(const a in t)if(i&&"expose"===a);else{const i=qi[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const qi={data:Hi,props:Yi,emits:Yi,methods:$i,computed:$i,beforeCreate:Gi,created:Gi,beforeMount:Gi,mounted:Gi,beforeUpdate:Gi,updated:Gi,beforeDestroy:Gi,beforeUnmount:Gi,destroyed:Gi,unmounted:Gi,activated:Gi,deactivated:Gi,errorCaptured:Gi,serverPrefetch:Gi,components:$i,directives:$i,watch:function(e,t){if(!e)return t;if(!t)return e;const n=p(Object.create(null),e);for(const i in t)n[i]=Gi(e[i],t[i]);return n},provide:Hi,inject:function(e,t){return $i(Wi(e),Wi(t))}};function Hi(e,t){return t?e?function(){return p(w(e)?e.call(this,this):e,w(t)?t.call(this,this):t)}:t:e}function Wi(e){if(g(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Gi(e,t){return e?[...new Set([].concat(e,t))]:t}function $i(e,t){return e?p(Object.create(null),e,t):t}function Yi(e,t){return e?g(e)&&g(t)?[...new Set([...e,...t])]:p(Object.create(null),Mi(e),Mi(null!=t?t:{})):t}function Xi(){return{app:null,config:{isNativeTag:c,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ki=0;function Ji(e,t){return function(t,n=null){w(t)||(t=p({},t)),null==n||_(n)||(n=null);const i=Xi(),o=new WeakSet,r=[];let a=!1;const s=i.app={_uid:Ki++,_component:t,_props:n,_container:null,_context:i,_instance:null,version:Er,get config(){return i.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&w(e.install)?(o.add(e),e.install(s,...t)):w(e)&&(o.add(e),e(s,...t))),s),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>
2t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(o,r,l){if(!a){const r=s._ceVNode||Ko(t,n);return r.appContext=i,!0===l?l="svg":!1===l&&(l=void 0),e(r,o,l),a=!0,s._container=o,o.__vue_app__=s,wr(r.component)}},onUnmount(e){r.push(e)},unmount(){a&&(Ut(r,s._instance,16),e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s),runWithContext(e){const t=Zi;Zi=s;try{return e()}finally{Zi=t}}};return s}}let Zi=null;function Qi(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||a;let o=n;const r=t.startsWith("update:"),s=r&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e["".concat(t,"Modifiers")]||e["".concat(R(t),"Modifiers")]||e["".concat(D(t),"Modifiers")])(i,t.slice(7));let l;s&&(s.trim&&(o=n.map(e=>x(e)?e.trim():e)),s.number&&(o=n.map(F)));let c=i[l=M(t)]||i[l=M(R(t))];!c&&r&&(c=i[l=M(D(t))]),c&&Ut(c,e,6,o);const d=i[l+"Once"];if(d){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,Ut(d,e,6,o)}}const eo=new WeakMap;function to(e,t,n=!1){const i=n?eo:t.emitsCache,o=i.get(e);if(void 0!==o)return o;const r=e.emits;let a={},s=!1;if(!w(e)){const i=e=>{const n=to(e,t,!0);n&&(s=!0,p(a,n))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return r||s?(g(r)?r.forEach(e=>a[e]=null):p(a,r),_(e)&&i.set(e,a),a):(_(e)&&i.set(e,null),null)}function no(e,t){return!(!e||!d(t))&&(t="Once"===(t=t.slice(2))?t:t.replace(/Once$/,""),f(e,t[0].toLowerCase()+t.slice(1))||f(e,D(t))||f(e,t))}function io(e){const{type:t,vnode:n,proxy:i,withProxy:o,propsOptions:[r],slots:a,attrs:s,emit:l,render:c,renderCache:d,props:p,data:h,setupState:m,ctx:f,inheritAttrs:g}=e,b=ln(e);let v,y;try{if(4&n.shapeFlag){const e=o||i,t=e;v=tr(c.call(t,e,d,p,m,h,f)),y=s}else{const e=t;0,v=tr(e.length>1?e(p,{attrs:s,slots:a,emit:l}):e(p,null)),y=t.props?s:oo(s)}}catch(x){Mo.length=0,qt(x,e,1),v=Ko(Do)}let w=v;if(y&&!1!==g){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(r&&e.some(u)&&(y=ro(y,r)),w=Jo(w,y,!1,!0))}return n.dirs&&(w=Jo(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&Hn(w,n.transition),v=w,ln(b),v}const oo=e=>{let t;for(const n in e)("class"===n||"style"===n||d(n))&&((t||(t={}))[n]=e[n]);return t},ro=(e,t)=>{const n={};for(const i in e)u(i)&&i.slice(9)in t||(n[i]=e[i]);return n};function ao(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let o=0;o<i.length;o++){const r=i[o];if(so(t,e,r)&&!no(n,r))return!0}return!1}function so(e,t,n){const i=e[n],o=t[n];return"style"===n&&_(i)&&_(o)?!J(i,o):i!==o}const lo={},co=()=>Object.create(lo),uo=e=>Object.getPrototypeOf(e)===lo;function po(e,t,n,i){const[o,r]=e.propsOptions;let s,l=!1;if(t)for(let a in t){if(A(a))continue;const c=t[a];let d;o&&f(o,d=R(a))?r&&r.includes(d)?(s||(s={}))[d]=c:n[d]=c:no(e.emitsOptions,a)||a in i&&c===i[a]||(i[a]=c,l=!0)}if(r){const t=kt(n),i=s||a;for(let a=0;a<r.length;a++){const s=r[a];n[s]=ho(o,t,s,i[s],e,!f(i,s))}}return l}function ho(e,t,n,i,o,r){const a=e[n];if(null!=a){const e=f(a,"default");if(e&&void 0===i){const e=a.default;if(a.type!==Function&&!a.skipFactory&&w(e)){const{propsDefaults:r}=o;if(n in r)i=r[n];else{const a=pr(o);i=r[n]=e.call(null,t),a()}}else i=e;o.ce&&o.ce._setProp(n,i)}a[0]&&(r&&!e?i=!1:!a[1]||""!==i&&i!==D(n)||(i=!0))}return i}const mo=new WeakMap;function fo(e,t,n=!1){const i=n?mo:t.propsCache,o=i.get(e);if(o)return o;const r=e.props,l={},c=[];let d=!1;if(!w(e)){const i=e=>{d=!0;const[n,i]=fo(e,t,!0);p(l,n),i&&c.push(...i)};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}if(!r&&!d)return _(e)&&i.set(e,s),s;if(g(r))for(let s=0;s<r.length;s++){const e=R(r[s]);go(e)&&(l[e]=a)}else if(r)for(const a in r){const e=R(a);if(go(e)){const t=r[a],n=l[e]=g(t)||w(t)?{type:t}:p({},t),i=n.type;let o=!1,s=!0;if(g(i))for(let e=0;e<i.length;++e){const t=i[e],n=w(t)&&t.name;if("Boolean"===n){o=!0;break}"String"===n&&(s=!1)}else o=w(i)&&"Boolean"===i.name;n[0]=o,n[1]=s,(o||f(n,"default"))&&c.push(e)}}const u=[l,c];return _(e)&&i.set(e,u),u}function go(e){return"$"!==e[0]&&!A(e)}const bo=e=>"_"===e||"_ctx"===e||"$stable"===e,vo=e=>g(e)?e.map(tr):[tr(e)],yo=(e,t,n)=>{if(t._n)return t;const i=cn((...e)=>vo(t(...e)),n);return i._c=!1,i},wo=(e,t,n)=>{const i=e._ctx;for(const o in e){if(bo(o))continue;const n=e[o];if(w(n))t[o]=yo(0,n,i);else if(null!=n){const e=vo(n);t[o]=()=>e}}},xo=(e,t)=>{const n=vo(t);e.slots.default=()=>n},ko=(e,t,n)=>{for(const i in t)!n&&bo(i)||(e[i]=t[i])},_o=function(e,t){t&&t.pendingBranch?g(e)?t.effects.push(...e):t.effects.push(e):en(e)};function Eo(e){return function(e){U().__VUE__=!0;const{insert:t,remove:n,patchProp:i,createElement:o,createText:r,createComment:c,setText:d,setElementText:u,parentNode:p,nextSibling:h,setScopeId:m=l,insertStaticContent:g}=e,b=(e,t,n,i=null,o=null,r=null,a=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Go(e,t)&&(i=Z(e),$(e,o,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=t;switch(c){case Lo:v(e,t,n,i);break;case Do:y(e,t,n,i);break;case No:null==e&&w(t,n,i,a);break;case Ro:L(e,t,n,i,o,r,a,s,l);break;default:1&u?_(e,t,n,i,o,r,a,s,l):6&u?N(e,t,n,i,o,r,a,s,l):(64&u||128&u)&&c.process(e,t,n,i,o,r,a,s,l,te)}null!=d&&o?Jn(d,e&&e.ref,r,t||e,!t):null==d&&e&&null!=e.ref&&Jn(e.ref,null,r,e,!0)},v=(e,n,i,o)=>
2{if(null==e)t(n.el=r(n.children),i,o);else{const t=n.el=e.el;n.children!==e.children&&d(t,n.children)}},y=(e,n,i,o)=>{null==e?t(n.el=c(n.children||""),i,o):n.el=e.el},w=(e,t,n,i)=>{[e.el,e.anchor]=g(e.children,t,n,i,e.el,e.anchor)},x=({el:e,anchor:n},i,o)=>{let r;for(;e&&e!==n;)r=h(e),t(e,i,o),e=r;t(n,i,o)},k=({el:e,anchor:t})=>{let i;for(;e&&e!==t;)i=h(e),n(e),e=i;n(t)},_=(e,t,n,i,o,r,a,s,l)=>{if("svg"===t.type?a="svg":"math"===t.type&&(a="mathml"),null==e)S(t,n,i,o,r,a,s,l);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),I(e,t,o,r,a,s,l)}finally{n&&n._endPatch()}}},S=(e,n,r,a,s,l,c,d)=>{let p,h;const{props:m,shapeFlag:f,transition:g,dirs:b}=e;if(p=e.el=o(e.type,l,m&&m.is,m),8&f?u(p,e.children):16&f&&T(e.children,p,null,a,s,So(e,l),c,d),b&&un(e,null,a,"created"),C(p,e,e.scopeId,c,a),m){for(const e in m)"value"===e||A(e)||i(p,e,null,m[e],l,a);"value"in m&&i(p,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&rr(h,a,e)}b&&un(e,null,a,"beforeMount");const v=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g);v&&g.beforeEnter(p),t(p,n,r),((h=m&&m.onVnodeMounted)||v||b)&&_o(()=>{try{h&&rr(h,a,e),v&&g.enter(p),b&&un(e,null,a,"mounted")}finally{}},s)},C=(e,t,n,i,o)=>{if(n&&m(e,n),i)for(let r=0;r<i.length;r++)m(e,i[r]);if(o){let n=o.subTree;if(t===n||Oo(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode;C(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},T=(e,t,n,i,o,r,a,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?nr(e[c]):tr(e[c]);b(null,l,t,n,i,o,r,a,s)}},I=(e,t,n,o,r,s,l)=>{const c=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:h}=t;d|=16&e.patchFlag;const m=e.props||a,f=t.props||a;let g;if(n&&Co(n,!1),(g=f.onVnodeBeforeUpdate)&&rr(g,n,t,e),h&&un(t,e,n,"beforeUpdate"),n&&Co(n,!0),!p||e.dynamicChildren&&e.dynamicChildren.length===p.length||(d=0,l=!1,p=null),(m.innerHTML&&null==f.innerHTML||m.textContent&&null==f.textContent)&&u(c,""),p?P(e.dynamicChildren,p,c,n,o,So(t,r),s):l||q(e,t,c,null,n,o,So(t,r),s,!1),d>0){if(16&d)O(c,m,f,n,r);else if(2&d&&m.class!==f.class&&i(c,"class",null,f.class,r),4&d&&i(c,"style",m.style,f.style,r),8&d){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const o=e[t],a=m[o],s=f[o];s===a&&"value"!==o||i(c,o,a,s,r,n)}}1&d&&e.children!==t.children&&u(c,t.children)}else l||null!=p||O(c,m,f,n,r);((g=f.onVnodeUpdated)||h)&&_o(()=>{g&&rr(g,n,t,e),h&&un(t,e,n,"updated")},o)},P=(e,t,n,i,o,r,a)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],d=l.el&&(l.type===Ro||!Go(l,c)||198&l.shapeFlag)?p(l.el):n;b(l,c,d,null,i,o,r,a,!0)}},O=(e,t,n,o,r)=>{if(t!==n){if(t!==a)for(const a in t)A(a)||a in n||i(e,a,t[a],null,r,o);for(const a in n){if(A(a))continue;const s=n[a],l=t[a];s!==l&&"value"!==a&&i(e,a,l,s,r,o)}"value"in n&&i(e,"value",t.value,n.value,r)}},L=(e,n,i,o,a,s,l,c,d)=>{const u=n.el=e?e.el:r(""),p=n.anchor=e?e.anchor:r("");let{patchFlag:h,dynamicChildren:m,slotScopeIds:f}=n;f&&(c=c?c.concat(f):f),null==e?(t(u,i,o),t(p,i,o),T(n.children||[],i,p,a,s,l,c,d)):h>0&&64&h&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(P(e.dynamicChildren,m,i,a,s,l,c),(null!=n.key||a&&n===a.subTree)&&To(e,n,!0)):q(e,n,i,p,a,s,l,c,d)},N=(e,t,n,i,o,r,a,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,i,a,l):M(t,n,i,o,r,a,l):z(e,t,l)},M=(e,t,n,i,o,r,s)=>{const l=e.component=function(e,t,n){const i=e.type,o=(t?t.appContext:e.appContext)||ar,r={uid:sr++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ae(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:fo(i,o),emitsOptions:to(i,o),emit:null,emitted:null,propsDefaults:a,inheritAttrs:i.inheritAttrs,ctx:a,data:a,props:a,attrs:a,slots:a,refs:a,setupState:a,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,
2sp:null};r.ctx={_:r},r.root=t?t.root:r,r.emit=Qi.bind(null,r),e.ce&&e.ce(r);return r}(e,i,o);if(ii(e)&&(l.ctx.renderer=te),function(e,t=!1,n=!1){t&&ur(t);const{props:i,children:o}=e.vnode,r=mr(e);(function(e,t,n,i=!1){const o={},r=co();e.propsDefaults=Object.create(null),po(e,t,o,r);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=i?o:ft(o):e.type.props?e.props=o:e.props=r,e.attrs=r})(e,i,r,t),((e,t,n)=>{const i=e.slots=co();if(32&e.vnode.shapeFlag){const e=t._;e?(ko(i,t,n),n&&B(i,"_",e,!0)):wo(t,i)}else t&&xo(e,t)})(e,o,n||t);const a=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ri);const{setup:i}=n;if(i){Ee();const n=e.setupContext=i.length>1?yr(e):null,o=pr(e),r=Vt(i,e,0,[e.props,n]),a=E(r);if(Se(),o(),!a&&!e.sp||ei(e)||Yn(e),a){if(r.then(hr,hr),t)return r.then(t=>{gr(e,t)}).catch(t=>{qt(t,e,0)});e.asyncDep=r}else gr(e,r)}else br(e)}(e,t):void 0;t&&ur(!1)}(l,!1,s),l.asyncDep){if(o&&o.registerDep(l,F,s),!e.el){const i=l.subTree=Ko(Do);y(null,i,t,n),e.placeholder=i.el}}else F(l,e,t,n,o,r,s)},z=(e,t,n)=>{const i=t.component=e.component;if(function(e,t,n){const{props:i,children:o,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||i!==a&&(i?!a||ao(i,a,c):!!a);if(1024&l)return!0;if(16&l)return i?ao(i,a,c):!!a;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(so(a,i,n)&&!no(c,n))return!0}}return!1}(e,t,n)){if(i.asyncDep&&!i.asyncResolved)return void V(i,t,n);i.next=t,i.update()}else t.el=e.el,i.vnode=t},F=(e,t,n,i,o,r,a)=>{const s=()=>
vendor: 4,303 bytes, line 2
2{if(e.isMounted){let{next:t,bu:n,u:i,parent:s,vnode:l}=e;{const n=Io(e);if(n)return t&&(t.el=l.el,V(e,t,a)),void n.asyncDep.then(()=>{_o(()=>{e.isUnmounted||c()},o)})}let d,u=t;Co(e,!1),t?(t.el=l.el,V(e,t,a)):t=l,n&&j(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&rr(d,s,t,l),Co(e,!0);const h=io(e),m=e.subTree;e.subTree=h,b(m,h,p(m.el),Z(m),e,o,r),t.el=h.el,null===u&&function({vnode:e,parent:t,suspense:n},i){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=i,e=n),n!==e)break;(e=t.vnode).el=i,t=t.parent}n&&n.activeBranch===e&&(n.vnode.el=i)}(e,h.el),i&&_o(i,o),(d=t.props&&t.props.onVnodeUpdated)&&_o(()=>rr(d,s,t,l),o)}else{let a;const{el:s,props:l}=t,{bm:c,m:d,parent:u,root:p,type:h}=e,m=ei(t);Co(e,!1),c&&j(c),!m&&(a=l&&l.onVnodeBeforeMount)&&rr(a,u,t),Co(e,!0);{p.ce&&p.ce._hasShadowRoot()&&p.ce._injectChildStyle(h,e.parent?e.parent.type:void 0);const a=e.subTree=io(e);b(null,a,n,i,e,o,r),t.el=a.el}if(d&&_o(d,o),!m&&(a=l&&l.onVnodeMounted)){const e=t;_o(()=>rr(a,u,e),o)}(256&t.shapeFlag||u&&ei(u.vnode)&&256&u.vnode.shapeFlag)&&e.a&&_o(e.a,o),e.isMounted=!0,t=n=i=null}};e.scope.on();const l=e.effect=new ce(s);e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l);d.i=e,d.id=e.uid,l.scheduler=()=>Zt(d),Co(e,!0),c()},V=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,i){const{props:o,attrs:r,vnode:{patchFlag:a}}=e,s=kt(o),[l]=e.propsOptions;let c=!1;if(!(i||a>0)||16&a){let i;po(e,t,o,r)&&(c=!0);for(const r in s)t&&(f(t,r)||(i=D(r))!==r&&f(t,i))||(l?!n||void 0===n[r]&&void 0===n[i]||(o[r]=ho(l,s,r,void 0,e,!0)):delete o[r]);if(r!==s)for(const e in r)t&&f(t,e)||(delete r[e],c=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];if(no(e.emitsOptions,a))continue;const d=t[a];if(l)if(f(r,a))d!==r[a]&&(r[a]=d,c=!0);else{const t=R(a);o[t]=ho(l,s,t,d,e,!1)}else d!==r[a]&&(r[a]=d,c=!0)}}c&&Me(e.attrs,"set","")}(e,t.props,i,n),((e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=a;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:ko(o,t,n):(r=!t.$stable,wo(t,o)),s=t}else t&&(xo(e,t),s={default:1});if(r)for(const a in o)bo(a)||null!=s[a]||delete o[a]})(e,t.children,n),Ee(),tn(e),Se()},q=(e,t,n,i,o,r,a,s,l=!1)=>{const c=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:m}=t;if(h>0){if(128&h)return void W(c,p,n,i,o,r,a,s,l);if(256&h)return void H(c,p,n,i,o,r,a,s,l)}8&m?(16&d&&J(c,o,r),p!==c&&u(n,p)):16&d?16&m?W(c,p,n,i,o,r,a,s,l):J(c,o,r,!0):(8&d&&u(n,""),16&m&&T(p,n,i,o,r,a,s,l))},H=(e,t,n,i,o,r,a,l,c)=>{t=t||s;const d=(e=e||s).length,u=t.length,p=Math.min(d,u);let h;for(h=0;h<p;h++){const i=t[h]=c?nr(t[h]):tr(t[h]);b(e[h],i,n,null,o,r,a,l,c)}d>u?J(e,o,r,!0,!1,p):T(t,n,i,o,r,a,l,c,p)},W=(e,t,n,i,o,r,a,l,c)=>{let d=0;const u=t.length;let p=e.length-1,h=u-1;for(;d<=p&&d<=h;){const i=e[d],s=t[d]=c?nr(t[d]):tr(t[d]);if(!Go(i,s))break;b(i,s,n,null,o,r,a,l,c),d++}for(;d<=p&&d<=h;){const i=e[p],s=t[h]=c?nr(t[h]):tr(t[h]);if(!Go(i,s))break;b(i,s,n,null,o,r,a,l,c),p--,h--}if(d>p){if(d<=h){const e=h+1,s=e<u?t[e].el:i;for(;d<=h;)b(null,t[d]=c?nr(t[d]):tr(t[d]),n,s,o,r,a,l,c),d++}}else if(d>h)for(;d<=p;)$(e[d],o,r,!0),d++;else{const m=d,f=d,g=new Map;for(d=f;d<=h;d++){const e=t[d]=c?nr(t[d]):tr(t[d]);null!=e.key&&g.set(e.key,d)}let v,y=0;const w=h-f+1;let x=!1,k=0;const _=new Array(w);for(d=0;d<w;d++)_[d]=0;for(d=m;d<=p;d++){const i=e[d];if(y>=w){$(i,o,r,!0);continue}let s;if(null!=i.key)s=g.get(i.key);else for(v=f;v<=h;v++)if(0===_[v-f]&&Go(i,t[v])){s=v;break}void 0===s?$(i,o,r,!0):(_[s-f]=d+1,s>=k?k=s:x=!0,b(i,t[s],n,null,o,r,a,l,c),y++)}const E=x?function(e){const t=e.slice(),n=[0];let i,o,r,a,s;const l=e.length;for(i=0;i<l;i++){const l=e[i];if(0!==l){if(o=n[n.length-1],e[o]<l){t[i]=o,n.push(i);continue}for(r=0,a=n.length-1;r<a;)s=r+a>>1,e[n[s]]<l?r=s+1:a=s;l<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}r=n.length,a=n[r-1];for(;r-- >0;)n[r]=a,a=t[a];return n}(_):s;for(v=E.length-1,d=w-1;d>=0;d--){const e=f+d,s=t[e],p=t[e+1],h=e+1<u?p.el||Po(p):i;0===_[d]?b(null,s,n,h,o,r,a,l,c):x&&(v<0||d!==E[v]?G(s,n,h,2):v--)}}},G=(e,i,o,r,a=null)=>{const{el:s,type:l,transition:c,children:d,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,i,o,r);if(128&u)return void e.suspense.move(i,o,r);if(64&u)return void l.move(e,i,o,te);
2if(l===Ro){t(s,i,o);for(let e=0;e<d.length;e++)G(d[e],i,o,r);return void t(e.anchor,i,o)}if(l===No)return void x(e,i,o);if(2!==r&&1&u&&c)if(0===r)c.persisted&&!s[Rn]?t(s,i,o):(c.beforeEnter(s),t(s,i,o),_o(()=>c.enter(s),a));else{const{leave:r,delayLeave:a,afterLeave:l}=c,d=()=>{e.ctx.isUnmounted?n(s):t(s,i,o)},u=()=>{const e=s._isLeaving||!!s[Rn];s._isLeaving&&s[Rn](!0),c.persisted&&!e?d():r(s,()=>{d(),l&&l()})};a?a(s,d,u):u()}else t(s,i,o)},$=(e,t,n,i=!1,o=!1)=>{const{type:r,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:p,cacheIndex:h,memo:m}=e;if(-2===u&&(o=!1),null!=s&&(Ee(),Jn(s,null,n,e,!0),Se()),null!=h&&(t.renderCache[h]=void 0),256&d)return void t.ctx.deactivate(e);const f=1&d&&p,g=!ei(e);let b;if(g&&(b=a&&a.onVnodeBeforeUnmount)&&rr(b,t,e),6&d)K(e.component,n,i);else{if(128&d)return void e.suspense.unmount(n,i);f&&un(e,null,t,"beforeUnmount"),64&d?e.type.remove(e,t,n,te,i):c&&!c.hasOnce&&(r!==Ro||u>0&&64&u)?J(c,t,n,!1,!0):(r===Ro&&384&u||!o&&16&d)&&J(l,t,n),i&&Y(e)}const v=null!=m&&null==h;(g&&(b=a&&a.onVnodeUnmounted)||f||v)&&_o(()=>{b&&rr(b,t,e),f&&un(e,null,t,"unmounted"),v&&(e.el=null)},n)},Y=e=>{const{type:t,el:i,anchor:o,transition:r}=e;if(t===Ro)return void X(i,o);if(t===No)return void k(e);const a=()=>{n(i),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:n}=r,o=()=>t(i,a);n?n(e.el,a,o):o()}else a()},X=(e,t)=>{let i;for(;e!==t;)i=h(e),n(e),e=i;n(t)},K=(e,t,n)=>{const{bum:i,scope:o,job:r,subTree:a,um:s,m:l,a:c}=e;Ao(l),Ao(c),i&&j(i),o.stop(),r&&(r.flags|=8,$(a,e,t,n)),s&&_o(s,t),_o(()=>{e.isUnmounted=!0},t)},J=(e,t,n,i=!1,o=!1,r=0)=>{for(let a=r;a<e.length;a++)$(e[a],t,n,i,o)}
2,Z=e=>{if(6&e.shapeFlag)return Z(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=h(e.anchor||e.el),n=t&&t[kn];return n?h(n):t};let Q=!1;const ee=(e,t,n)=>{let i;null==e?t._vnode&&($(t._vnode,null,null,!0),i=t._vnode.component):b(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,tn(i),nn(),Q=!1)},te={p:b,um:$,m:G,r:Y,mt:M,mc:T,pc:q,pbc:P,n:Z,o:e};let ne;return{render:ee,hydrate:ne,createApp:Ji(ee)}}(e)}function So({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Co({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function To(e,t,n=!1){const i=e.children,o=t.children;if(g(i)&&g(o))for(let r=0;r<i.length;r++){const e=i[r];let t=o[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[r]=nr(o[r]),t.el=e.el),n||-2===t.patchFlag||To(e,t)),t.type===Lo&&(-1===t.patchFlag&&(t=o[r]=nr(t)),t.el=e.el),t.type!==Do||t.el||(t.el=e.el)}}function Io(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Io(t)}function Ao(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Po(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Po(t.subTree):null}const Oo=e=>e.__isSuspense;const Ro=Symbol.for("v-fgt"),Lo=Symbol.for("v-txt"),Do=Symbol.for("v-cmt"),No=Symbol.for("v-stc"),Mo=[];let zo=null;function jo(e=!1){Mo.push(zo=e?null:[])}function Bo(){Mo.pop(),zo=Mo[Mo.length-1]||null}let Fo=1;function Vo(e,t=!1){Fo+=e,e<0&&zo&&t&&(zo.hasOnce=!0)}function Uo(e){return e.dynamicChildren=Fo>0?zo||s:null,Bo(),Fo>0&&zo&&zo.push(e),e}function qo(e,t,n,i,o,r){return Uo(Xo(e,t,n,i,o,r,!0))}function Ho(e,t,n,i,o){return Uo(Ko(e,t,n,i,o,!0))}function Wo(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}const $o=({key:e})=>null!=e?e:null,Yo=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?x(e)||St(e)||w(e)?{i:an,r:e,k:t,f:!!n}:e:null);function Xo(e,t=null,n=null,i=0,o=null,r=(e===Ro?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$o(t),ref:t&&Yo(t),scopeId:sn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:an};return s?(ir(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=x(n)?8:16),Fo>0&&!a&&zo&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&zo.push(l),l}const Ko=function(e,t=null,n=null,i=0,o=null,r=!1){e&&e!==ki||(e=Do);if(Wo(e)){const i=Jo(e,t,!0);return n&&ir(i,n),Fo>0&&!r&&zo&&(6&i.shapeFlag?zo[zo.indexOf(e)]=i:zo.push(i)),i.patchFlag=-2,i}a=e,w(a)&&"__vccOpts"in a&&(e=e.__vccOpts);var a;if(t){t=function(e){return e?xt(e)||uo(e)?p({},e):e:null}(t);let{class:e,style:n}=t;e&&!x(e)&&(t.class=Y(e)),_(n)&&(xt(n)&&!g(n)&&(n=p({},n)),t.style=q(n))}const s=x(e)?1:Oo(e)?128:_n(e)?64:_(e)?4:w(e)?2:0;return Xo(e,t,n,i,o,s,r,!0)};function Jo(e,t,n=!1,i=!1){const{props:o,ref:r,patchFlag:a,children:s,transition:l}=e,c=t?or(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&$o(c),ref:t&&t.ref?n&&r?g(r)?r.concat(Yo(t)):[r,Yo(t)]:Yo(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ro?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jo(e.ssContent),ssFallback:e.ssFallback&&Jo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&i&&Hn(d,l.clone(d)),d}function Zo(e=" ",t=0){return Ko(Lo,null,e,t)}function Qo(e,t){const n=Ko(No,null,e);return n.staticCount=t,n}function er(e="",t=!1){return t?(jo(),Ho(Do,null,e)):Ko(Do,null,e)}function tr(e){return null==e||"boolean"==typeof e?Ko(Do):g(e)?Ko(Ro,null,e.slice()):Wo(e)?nr(e):Ko(Lo,null,String(e))}function nr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Jo(e)}function ir(e,t){let n=0;const{shapeFlag:i}=e;if(null==t)t=null;else if(g(t))n=16;else if("object"==typeof t){if(65&i){const n=t.default;return void(n&&(n._c&&(n._d=!1),ir(e,n()),n._c&&(n._d=!0)))}{n=32;const i=t._;i||uo(t)?3===i&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else if(w(t)){if(65&i)return void ir(e,{default:t});t={default:t,_ctx:an},n=32}else t=String(t),64&i?(n=16,t=[Zo(t)]):n=8;e.children=t,e.shapeFlag|=n}function or(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const e in i)if("class"===e)t.class!==i.class&&(t.class=Y([t.class,i.class]));else if("style"===e)t.style=q([t.style,i.style]);else if(d(e)){const n=t[e],o=i[e];!o||n===o||g(n)&&n.includes(o)?null!=o||null!=n||u(e)||(t[e]=o):t[e]=n?[].concat(n,o):o}else""!==e&&(t[e]=i[e])}return t}function rr(e,t,n,i=null){Ut(e,t,7,[n,i])}const ar=Xi();let sr=0;let lr=null;const cr=()=>lr||an;let dr,ur;{const e=U(),t=(t,n)=>{let i;return(i=e[t])||(i=e[t]=[]),i.push(n),e=>{i.length>
21?i.forEach(t=>t(e)):i[0](e)}};dr=t("__VUE_INSTANCE_SETTERS__",e=>lr=e),ur=t("__VUE_SSR_SETTERS__",e=>fr=e)}const pr=e=>{const t=lr;return dr(e),e.scope.on(),()=>{e.scope.off(),dr(t)}},hr=()=>{lr&&lr.scope.off(),dr(null)};function mr(e){return 4&e.vnode.shapeFlag}let fr=!1;function gr(e,t,n){w(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=Lt(t)),br(e)}function br(e,t,n){const i=e.type;e.render||(e.render=i.render||l);{const t=pr(e);Ee();try{ji(e)}finally{Se(),t()}}}const vr={get:(e,t)=>(Ne(e,0,""),e[t])};function yr(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,vr),slots:e.slots,emit:e.emit,expose:t}}function wr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Lt((t=e.exposed,!f(t,"__v_skip")&&Object.isExtensible(t)&&B(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Pi?Pi[n](e):void 0,has:(e,t)=>t in e||t in Pi})):e.proxy;var t}function xr(e,t=!0){return w(e)?e.displayName||e.name:e.name||t&&e.__name}const kr=(e,t)=>Nt(e,0,fr);function _r(e,t,n){try{Vo(-1);const i=arguments.length;return 2===i?_(t)&&!g(t)?Wo(t)?Ko(e,null,[t]):Ko(e,t):Ko(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&Wo(n)&&(n=[n]),Ko(e,t,n))}finally{Vo(1)}}const Er="3.5.40";let Sr;const Cr="undefined"!=typeof window&&window.trustedTypes;if(Cr)try{Sr=Cr.createPolicy("vue",{createHTML:e=>e})}catch(T8){}const Tr=Sr?e=>Sr.createHTML(e):e=>e,Ir="undefined"!=typeof document?document:null,Ar=Ir&&Ir.createElement("template"),Pr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o="svg"===t?Ir.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ir.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Ir.createElement(e,{is:n}):Ir.createElement(e);return"select"===e&&i&&null!=i.multiple&&o.setAttribute("multiple",i.multiple),o},createText:e=>Ir.createTextNode(e),createComment:e=>Ir.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
2{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ir.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,r){const a=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==r&&(o=o.nextSibling););else{Ar.innerHTML=Tr("svg"===i?"<svg>".concat(e,"</svg>"):"mathml"===i?"<math>".concat(e,"</math>"):e);const o=Ar.content;if("svg"===i||"mathml"===i){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Or="transition",Rr="animation",Lr=Symbol("_vtc"),Dr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Nr=p({},Mn,Dr),Mr=e=>(e.displayName="Transition",e.props=Nr,e),zr=Mr((e,{slots:t})=>_r(Bn,Fr(e),t)),jr=(e,t=[])=>{g(e)?e.forEach(e=>e(...t)):e&&e(...t)},Br=e=>!!e&&(g(e)?e.some(e=>e.length>1):e.length>1);function Fr(e){const t={};for(const p in e)p in Dr||(t[p]=e[p]);if(!1===e.css)return t;const{name:n="v",type:i,duration:o,enterFromClass:r="".concat(n,"-enter-from"),enterActiveClass:a="".concat(n,"-enter-active"),enterToClass:s="".concat(n,"-enter-to"),appearFromClass:l=r,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:u="".concat(n,"-leave-from"),leaveActiveClass:h="".concat(n,"-leave-active"),leaveToClass:m="".concat(n,"-leave-to")}=e,f=function(e){if(null==e)return null;if(_(e))return[Vr(e.enter),Vr(e.leave)];{const t=Vr(e);return[t,t]}}(o),g=f&&f[0],b=f&&f[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:w,onLeave:x,onLeaveCancelled:k,onBeforeAppear:E=v,onAppear:S=y,onAppearCancelled:C=w}=t,T=(e,t,n,i)=>{e._enterCancelled=i,qr(e,t?d:s),qr(e,t?c:a),n&&n()},I=(e,t)=>{e._isLeaving=!1,qr(e,u),qr(e,m),qr(e,h),t&&t()},A=e=>(t,n)=>{const o=e?S:y,a=()=>T(t,e,n);jr(o,[t,a]),Hr(()=>{qr(t,e?l:r),Ur(t,e?d:s),Br(o)||Gr(t,i,g,a)})};return p(t,{onBeforeEnter(e){jr(v,[e]),Ur(e,r),Ur(e,a)},onBeforeAppear(e){jr(E,[e]),Ur(e,l),Ur(e,c)},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>I(e,t);Ur(e,u),e._enterCancelled?(Ur(e,h),Kr(e)):(Kr(e),Ur(e,h)),Hr(()=>{e._isLeaving&&(qr(e,u),Ur(e,m),Br(x)||Gr(e,i,b,n))}),jr(x,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),jr(w,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),jr(C,[e])},onLeaveCancelled(e){I(e),jr(k,[e])}})}function Vr(e){const t=(e=>{const t=x(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ur(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Lr]||(e[Lr]=new Set)).add(t)}function qr(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Lr];n&&(n.delete(t),n.size||(e[Lr]=void 0))}function Hr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Wr=0;function Gr(e,t,n,i){const o=e._endId=++Wr,r=()=>{o===e._endId&&i()};if(null!=n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=$r(e,t);if(!a)return i();const c=a+"end";let d=0;const u=()=>{e.removeEventListener(c,p),r()},p=t=>{t.target===e&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},s+1),e.addEventListener(c,p)}function $r(e,t){const n=window.getComputedStyle(e),i=e=>(n[e]||"").split(", "),o=i("".concat(Or,"Delay")),r=i("".concat(Or,"Duration")),a=Yr(o,r),s=i("".concat(Rr,"Delay")),l=i("".concat(Rr,"Duration")),c=Yr(s,l);let d=null,u=0,p=0;t===Or?a>0&&(d=Or,u=a,p=r.length):t===Rr?c>0&&(d=Rr,u=c,p=l.length):(u=Math.max(a,c),d=u>0?a>c?Or:Rr:null,p=d?d===Or?r.length:l.length:0);return{type:d,timeout:u,propCount:p,hasTransform:d===Or&&/\b(?:transform|all)(?:,|$)/.test(i("".concat(Or,"Property")).toString())}}function Yr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Xr(t)+Xr(e[n])))}function Xr(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Kr(e){return(e?e.ownerDocument:document).body.offsetHeight}const Jr=Symbol("_vod"),Zr=Symbol("_vsh"),Qr={name:"show",beforeMount(e,{value:t},{transition:n}){e[Jr]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):ea(e,t)}
2,mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),ea(e,!0),i.enter(e)):i.leave(e,()=>{ea(e,!1)}):ea(e,t))},beforeUnmount(e,{value:t}){ea(e,t)}};function ea(e,t){e.style.display=t?e[Jr]:"none",e[Zr]=!t}const ta=Symbol("");function na(e){const t=cr();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll('[data-v-owner="'.concat(t.uid,'"]'))).forEach(e=>oa(e,n))},i=()=>{const i=e(t.proxy);t.ce?oa(t.ce,i):ia(t.subTree,i),n(i)};pi(()=>{en(i)}),ui(()=>{bn(i,l,{flush:"post"});const e=new MutationObserver(i);e.observe(t.subTree.el.parentNode,{childList:!0}),fi(()=>e.disconnect())})}function ia(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ia(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)oa(e.el,t);else if(e.type===Ro)e.children.forEach(e=>ia(e,t));else if(e.type===No){let{el:n,anchor:i}=e;for(;n&&(oa(n,t),n!==i);)n=n.nextSibling}}function oa(e,t){if(1===e.nodeType){const n=e.style;let i="";for(const e in t){const o=ie(t[e]);n.setProperty("--".concat(e),o),i+="--".concat(e,": ").concat(o,";")}n[ta]=i}}const ra=/(?:^|;)\s*display\s*:/;const aa=/\s*!important$/;function sa(e,t,n){if(g(n))n.forEach(n=>sa(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=function(e,t){const n=ca[t];if(n)return n;let i=R(t);if("filter"!==i&&i in e)return ca[t]=i;i=N(i);for(let o=0;o<la.length;o++){const n=la[o]+i;if(n in e)return ca[t]=n}return t}(e,t);aa.test(n)?e.setProperty(D(i),n.replace(aa,""),"important"):e[i]=n}}const la=["Webkit","Moz","ms"],ca={};function da(e,t,n,i){return"TEXTAREA"===e.tagName&&("width"===t||"height"===t)&&x(i)&&n===i}const ua="http://www.w3.org/1999/xlink";function pa(e,t,n,i,o,r=X(t)){i&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(ua,t.slice(6,t.length)):e.setAttributeNS(ua,t,n):null==n||r&&!K(n)?e.removeAttribute(t):e.setAttribute(t,r?"":k(n)?String(n):n)}function ha(e,t,n,i,o){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Tr(n):n));const r=e.tagName;if("value"===t&&"PROGRESS"!==r&&!r.includes("-")){const i="OPTION"===r?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n);return i===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let a=!1;if(""===n||null==n){const i=typeof e[t];"boolean"===i?n=K(n):null==n&&"string"===i?(n="",a=!0):"number"===i&&(n=0,a=!0)}try{e[t]=n}catch(T8){}a&&e.removeAttribute(o||t)}function ma(e,t,n,i){e.addEventListener(t,n,i)}const fa=Symbol("_vei");function ga(e,t,n,i,o=null){const r=e[fa]||(e[fa]={}),a=r[t];if(i&&a)a.value=i;else{const[n,s]=function(e){let t,n;for(;(n=e.match(ba))&&!va.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;const i=":"===e[2]?e.slice(3):D(e.slice(2));return[i,t]}(t);if(i){const a=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const i=n.value;if(g(i)){const n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};const o=i.slice(),r=[e];for(let i=0;i<o.length&&!e._stopped;i++){const e=o[i];e&&Ut(e,t,5,r)}}else Ut(i,t,5,[e])};return n.value=e,n.attached=xa(),n}(i,o);ma(e,n,a,s)}else a&&(!function(e,t,n,i){e.removeEventListener(t,n,i)}(e,n,a,s),r[t]=void 0)}}const ba=/(Once|Passive|Capture)$/,va=/^on:?(?:Once|Passive|Capture)$/;let ya=0;const wa=Promise.resolve(),xa=()=>ya||(wa.then(()=>ya=0),ya=Date.now());const ka=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const _a=new WeakMap,Ea=new WeakMap,Sa=Symbol("_moveCb"),Ca=Symbol("_enterCb"),Ta=e=>(delete e.props.mode,e),Ia=Ta({name:"TransitionGroup",props:p({},Nr,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cr(),i=Dn();let o,r;return hi(()=>{if(!o.length)return;const t=e.moveClass||"".concat(e.name||"v","-move");if(!function(e,t,n){const i=e.cloneNode(),o=e[Lr];o&&o.forEach(e=>{e.split(/\s+/).forEach(e=>e&&i.classList.remove(e))});
2n.split(/\s+/).forEach(e=>e&&i.classList.add(e)),i.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(i);const{hasTransform:a}=$r(i);return r.removeChild(i),a}(o[0].el,n.vnode.el,t))return void(o=[]);o.forEach(Pa),o.forEach(Oa);const i=o.filter(Ra);Kr(n.vnode.el),i.forEach(e=>{const n=e.el,i=n.style;Ur(n,t),i.transform=i.webkitTransform=i.transitionDuration="";const o=n[Sa]=e=>{e&&e.target!==n||e&&!e.propertyName.endsWith("transform")||(n.removeEventListener("transitionend",o),n[Sa]=null,qr(n,t))};n.addEventListener("transitionend",o)}),o=[]}),()=>{const a=kt(e),s=Fr(a);let l=a.tag||Ro;if(o=[],r)for(let e=0;e<r.length;e++){const t=r[e];t.el&&t.el instanceof Element&&!t.el[Zr]&&(o.push(t),Hn(t,Vn(t,s,i,n)),_a.set(t,La(t.el)))}r=t.default?Wn(t.default()):[];for(let e=0;e<r.length;e++){const t=r[e];null!=t.key&&Hn(t,Vn(t,s,i,n))}return Ko(l,null,r)}}}),Aa=Ia;function Pa(e){const t=e.el;t[Sa]&&t[Sa](),t[Ca]&&t[Ca]()}function Oa(e){Ea.set(e,La(e.el))}function Ra(e){const t=_a.get(e),n=Ea.get(e),i=t.left-n.left,o=t.top-n.top;if(i||o){const t=e.el,n=t.style,r=t.getBoundingClientRect();let a=1,s=1;return t.offsetWidth&&(a=r.width/t.offsetWidth),t.offsetHeight&&(s=r.height/t.offsetHeight),Number.isFinite(a)&&0!==a||(a=1),Number.isFinite(s)&&0!==s||(s=1),Math.abs(a-1)<.01&&(a=1),Math.abs(s-1)<.01&&(s=1),n.transform=n.webkitTransform="translate(".concat(i/a,"px,").concat(o/s,"px)"),n.transitionDuration="0s",e}}function La(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}const Da=e=>{const t=e.props["onUpdate:modelValue"]||!1;return g(t)?e=>j(t,e):t};function Na(e){e.target.composing=!0}function Ma(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const za=Symbol("_assign");function ja(e,t,n){return t&&(e=e.trim()),n&&(e=F(e)),e}const Ba={created(e,{modifiers:{lazy:t,trim:n,number:i}},o){e[za]=Da(o);const r=i||o.props&&"number"===o.props.type;ma(e,t?"change":"input",t=>{t.target.composing||e[za](ja(e.value,n,r))}),(n||r)&&ma(e,"change",()=>{e.value=ja(e.value,n,r)}),t||(ma(e,"compositionstart",Na),ma(e,"compositionend",Ma),ma(e,"change",Ma))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:o,number:r}},a){if(e[za]=Da(a),e.composing)return;const s=null==t?"":t;if((!r&&"number"!==e.type||/^0\d/.test(e.value)?e.value:F(e.value))===s)return;const l=e.getRootNode();if((l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&"range"!==e.type){if(i&&t===n)return;if(o&&e.value.trim()===s)return}e.value=s}},Fa={deep:!0,created(e,t,n){e[za]=Da(n),ma(e,"change",()=>{const t=e._modelValue,n=Wa(e),i=e.checked,o=e[za];if(g(t)){const e=Z(t,n),r=-1!==e;if(i&&!r)o(t.concat(n));else if(!i&&r){const n=[...t];n.splice(e,1),o(n)}}else if(v(t)){const e=new Set(t);i?e.add(n):e.delete(n),o(e)}else o(Ga(e,i))})},mounted:Va,beforeUpdate(e,t,n){e[za]=Da(n),Va(e,t,n)}};function Va(e,{value:t,oldValue:n},i){let o;if(e._modelValue=t,g(t))o=Z(t,i.props.value)>-1;else if(v(t))o=t.has(i.props.value);else{if(t===n)return;o=J(t,Ga(e,!0))}e.checked!==o&&(e.checked=o)}const Ua={created(e,{value:t},n){e.checked=J(t,n.props.value),e[za]=Da(n),ma(e,"change",()=>{e[za](Wa(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[za]=Da(i),t!==n&&(e.checked=J(t,i.props.value))}},qa={deep:!0,created(e,{value:t,modifiers:{number:n}},i){e._modelValue=t,ma(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?F(Wa(e)):Wa(e));e[za](e.multiple?v(e._modelValue)?new Set(t):t:t[0]),e._assigning=!0,Jt(()=>{e._assigning=!1})}),e[za]=Da(i)},mounted(e,{value:t}){Ha(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[za]=Da(n)},updated(e,{value:t}){e._assigning||Ha(e,t)}};function Ha(e,t){const n=e.multiple,i=g(t);if(!n||i||v(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],a=Wa(r);if(n)if(i){const e=typeof a;r.selected="string"===e||"number"===e?t.some(e=>String(e)===String(a)):Z(t,a)>-1}else r.selected=t.has(a);else if(J(Wa(r),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Wa(e){return"_value"in e?e._value:e.value}function Ga(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const $a={created(e,t,n){Ya(e,t,n,null,"created")},mounted(e,t,n){Ya(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){Ya(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){Ya(e,t,n,i,"updated")}};function Ya(e,t,n,i,o){const r=function(e,t){switch(e){case"SELECT":return qa;case"TEXTAREA":return Ba;default:switch(t){case"checkbox":return Fa;case"radio":return Ua;default:return Ba}}}(e.tagName,n.props&&n.props.type)[o];r&&r(e,t,n,i)}const Xa=["ctrl","shift","alt","meta"],Ka={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>
2Xa.some(n=>e["".concat(n,"Key")]&&!t.includes(n))},Ja=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(n,...i)=>{for(let e=0;e<t.length;e++){const i=Ka[t[e]];if(i&&i(n,t))return}return e(n,...i)})},Za={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Qa=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=n=>{if(!("key"in n))return;const i=D(n.key);return t.some(e=>e===i||Za[e]===i)?e(n):void 0})},es=p({patchProp:(e,t,n,i,o,r)=>{const a="svg"===o;"class"===t?function(e,t,n){const i=e[Lr];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,i,a):"style"===t?function(e,t,n){const i=e.style,o=x(n);let r=!1;if(n&&!o){if(t)if(x(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&sa(i,t,"")}else for(const e in t)null==n[e]&&sa(i,e,"");for(const o in n){"display"===o&&(r=!0);const a=n[o];null!=a?da(e,o,!x(t)&&t?t[o]:void 0,a)||sa(i,o,a):sa(i,o,"")}}else if(o){if(t!==n){const e=i[ta];e&&(n+=";"+e),i.cssText=n,r=ra.test(n)}}else t&&e.removeAttribute("style");Jr in e&&(e[Jr]=r?i.display:"",e[Zr]&&(i.display="none"))}(e,n,i):d(t)?u(t)||ga(e,t,0,i,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,i){if(i)return"innerHTML"===t||"textContent"===t||!!(t in e&&ka(t)&&w(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(ka(t)&&x(n))return!1;return t in e}(e,t,i,a))?(ha(e,t,i),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||pa(e,t,i,a,0,"value"!==t)):e._isVueCE&&(function(e,t){const n=e._def.props;if(!n)return!1;const i=R(t);return Array.isArray(n)?n.some(e=>R(e)===i):Object.keys(n).some(e=>R(e)===i)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!x(i)))?ha(e,R(t),i,0,t):("true-value"===t?e._trueValue=i:"false-value"===t&&(e._falseValue=i),pa(e,t,i,a))}},Pr);let ts;var ns,is;(is=ns||(ns={})).Unimplemented="UNIMPLEMENTED",is.Unavailable="UNAVAILABLE";class os extends Error{constructor(e,t,n){super(e),this.message=e,this.code=t,this.data=n}}const rs=e=>{const t=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},i=n.Plugins=n.Plugins||{},o=()=>null!==t?t.name:(e=>{var t,n;return(null==e?void 0:e.androidBridge)?"android":(null===(n=null===(t=null==e?void 0:e.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===n?void 0:n.bridge)?"ios":"web"})(e),r=e=>{var t;return null===(t=n.PluginHeaders)||void 0===t?void 0:t.find(t=>t.name===e)},a=new Map;return n.convertFileSrc||(n.convertFileSrc=e=>e),n.getPlatform=o,n.handleError=t=>e.console.error(t),n.isNativePlatform=()=>"web"!==o(),n.isPluginAvailable=e=>{const t=a.get(e);return!!(null==t?void 0:t.platforms.has(o()))||!!r(e)},n.registerPlugin=(e,s={})=>{const l=a.get(e);if(l)return l.proxy;const c=o(),d=r(e);let u;const p=i=>{let o;const r=(...r)=>{const a=(async()=>(!u&&c in s?u=u="function"==typeof s[c]?await s[c]():s[c]:null!==t&&!u&&"web"in s&&(u=u="function"==typeof s.web?await s.web():s.web),u))().then(t=>{const a=((t,i)=>{var o,r;if(!d){if(t)return null===(r=t[i])||void 0===r?void 0:r.bind(t);throw new os('"'.concat(e,'" plugin is not implemented on ').concat(c),ns.Unimplemented)}{const r=null==d?void 0:d.methods.find(e=>i===e.name);if(r)return"promise"===r.rtype?t=>n.nativePromise(e,i.toString(),t):(t,o)=>n.nativeCallback(e,i.toString(),t,o);if(t)return null===(o=t[i])||void 0===o?void 0:o.bind(t)}})(t,i);if(a){const e=a(...r);return o=null==e?void 0:e.remove,e}throw new os('"'.concat(e,".").concat(i,'()" is not implemented on ').concat(c),ns.Unimplemented)});return"addListener"===i&&(a.remove=async()=>o()),a};return r.toString=()=>"".concat(i.toString(),"() { [capacitor code] }
2"),Object.defineProperty(r,"name",{value:i,writable:!1,configurable:!1}),r},h=p("addListener"),m=p("removeListener"),f=(e,t)=>{const n=h({eventName:e},t),i=async()=>{const i=await n;m({eventName:e,callbackId:i},t)},o=new Promise(e=>n.then(()=>e({remove:i})));return o.remove=async()=>{await i()},o},g=new Proxy({},{get(e,t){switch(t){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return d?f:h;case"removeListener":return m;default:return p(t)}}});return i[e]=g,a.set(e,{name:e,proxy:g,platforms:new Set([...Object.keys(s),...d?[c]:[]])}),g},n.Exception=os,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},as=(e=>e.Capacitor=rs(e))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),ss=as.registerPlugin;class ls{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(e,t){let n=!1;this.listeners[e]||(this.listeners[e]=[],n=!0),this.listeners[e].push(t);const i=this.windowListeners[e];i&&!i.registered&&this.addWindowListener(i),n&&this.sendRetainedArgumentsForEvent(e);return Promise.resolve({remove:async()=>this.removeListener(e,t)})}async removeAllListeners(){this.listeners={};for(const e in this.windowListeners)this.removeWindowListener(this.windowListeners[e]);this.windowListeners={}}notifyListeners(e,t,n){const i=this.listeners[e];if(i)i.forEach(e=>e(t));else if(n){let n=this.retainedEventArguments[e];n||(n=[]),n.push(t),this.retainedEventArguments[e]=n}}hasListeners(e){var t;return!!(null===(t=this.listeners[e])||void 0===t?void 0:t.length)}registerWindowListener(e,t){this.windowListeners[t]={registered:!1,windowEventName:e,pluginEventName:t,handler:e=>{this.notifyListeners(t,e)}}}unimplemented(e="not implemented"){return new as.Exception(e,ns.Unimplemented)}unavailable(e="not available"){return new as.Exception(e,ns.Unavailable)}async removeListener(e,t){const n=this.listeners[e];if(!n)return;const i=n.indexOf(t);this.listeners[e].splice(i,1),this.listeners[e].length||this.removeWindowListener(this.windowListeners[e])}addWindowListener(e){window.addEventListener(e.windowEventName,e.handler),e.registered=!0}removeWindowListener(e){e&&(window.removeEventListener(e.windowEventName,e.handler),e.registered=!1)}sendRetainedArgumentsForEvent(e){const t=this.retainedEventArguments[e];t&&(delete this.retainedEventArguments[e],t.forEach(t=>{this.notifyListeners(e,t)}))}}const cs=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),ds=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class us extends ls{async getCookies(){const e=document.cookie,t={};return e.split(";").forEach(e=>{if(e.length<=0)return;let[n,i]=e.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");n=ds(n).trim(),i=ds(i).trim(),t[n]=i}),t}async setCookie(e){try{const t=cs(e.key),n=cs(e.value),i=e.expires?"; expires=".concat(e.expires.replace("expires=","")):"",o=(e.path||"/").replace("path=",""),r=null!=e.url&&e.url.length>0?"domain=".concat(e.url):"";document.cookie="".concat(t,"=").concat(n||"").concat(i,"; path=").concat(o,"; ").concat(r,";")}catch(t){return Promise.reject(t)}}async deleteCookie(e){try{document.cookie="".concat(e.key,"=; Max-Age=0")}catch(t){return Promise.reject(t)}}async clearCookies(){try{const e=document.cookie.split(";")||[];for(const t of e)document.cookie=t.replace(/^ +/,"").replace(/=.*/,"=;expires=".concat((new Date).toUTCString(),";path=/"))}catch(e){return Promise.reject(e)}}async clearAllCookies(){try{await this.clearCookies()}catch(e){return Promise.reject(e)}}}ss("CapacitorCookies",{web:()=>new us});const ps=(e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),i=((e={})=>{const t=Object.keys(e);return Object.keys(e).map(e=>e.toLocaleLowerCase()).reduce((n,i,o)=>(n[i]=e[t[o]],n),{})})(e.headers)["content-type"]||"";if("string"==typeof e.data)n.body=e.data;else if(i.includes("application/x-www-form-urlencoded")){const t=new URLSearchParams;for(const[n,i]of Object.entries(e.data||{}))t.set(n,i);n.body=t.toString()}else if(i.includes("multipart/form-data")||e.data instanceof FormData){const t=new FormData;if(e.data instanceof FormData)e.data.forEach((e,n)=>{t.append(n,e)});else for(const n of Object.keys(e.data))t.append(n,e.data[n]);n.body=t;const i=new Headers(n.headers);i.delete("content-type"),n.headers=i}else(i.includes("application/json")||"object"==typeof e.data)&&(n.body=JSON.stringify(e.data));return n};class hs extends ls{async request(e){const t=ps(e,e.webFetchExtra),n=((e,t=!0)=>e?Object.entries(e).reduce((e,n)=>{const[i,o]=n;let r,a;
2return Array.isArray(o)?(a="",o.forEach(e=>{r=t?encodeURIComponent(e):e,a+="".concat(i,"=").concat(r,"&")}),a.slice(0,-1)):(r=t?encodeURIComponent(o):o,a="".concat(i,"=").concat(r)),"".concat(e,"&").concat(a)},"").substr(1):null)(e.params,e.shouldEncodeUrlParams),i=n?"".concat(e.url,"?").concat(n):e.url,o=await fetch(i,t),r=o.headers.get("content-type")||"";let a,s,{responseType:l="text"}=o.ok?e:{};switch(r.includes("application/json")&&(l="json"),l){case"arraybuffer":case"blob":s=await o.blob(),a=await(async e=>new Promise((t,n)=>{const i=new FileReader;i.onload=()=>{const e=i.result;t(e.indexOf(",")>=0?e.split(",")[1]:e)},i.onerror=e=>n(e),i.readAsDataURL(e)}))(s);break;case"json":a=await o.json();break;default:a=await o.text()}const c={};return o.headers.forEach((e,t)=>{c[t]=e}),{data:a,headers:c,status:o.status,url:o.url}}async get(e){return this.request(Object.assign(Object.assign({},e),{method:"GET"}))}async post(e){return this.request(Object.assign(Object.assign({},e),{method:"POST"}))}async put(e){return this.request(Object.assign(Object.assign({},e),{method:"PUT"}))}async patch(e){return this.request(Object.assign(Object.assign({},e),{method:"PATCH"}))}async delete(e){return this.request(Object.assign(Object.assign({},e),{method:"DELETE"}))}}var ms,fs,gs,bs,vs,ys,ws,xs;ss("CapacitorHttp",{web:()=>new hs}),(fs=ms||(ms={})).Dark="DARK",fs.Light="LIGHT",fs.Default="DEFAULT",(bs=gs||(gs={})).StatusBar="StatusBar",bs.NavigationBar="NavigationBar";class ks extends ls{async setStyle(){this.unavailable("not available for web")}async setAnimation(){this.unavailable("not available for web")}async show(){this.unavailable("not available for web")}async hide(){this.unavailable("not available for web")}}ss("SystemBars",{web:()=>new ks}),(ys=vs||(vs={})).Dark="DARK",ys.Light="LIGHT",ys.Default="DEFAULT",(xs=ws||(ws={})).Body="body",xs.Ionic="ionic",xs.Native="native",xs.None="none";const _s=ss("Keyboard"),Es=Object.freeze(Object.defineProperty({__proto__:null,Keyboard:_s,get KeyboardResize(){return ws},get KeyboardStyle(){return vs}},Symbol.toStringTag,{value:"Module"}));var Ss,Cs,Ts,Is;(Cs=Ss||(Ss={})).Dark="DARK",Cs.Light="LIGHT",Cs.Default="DEFAULT",(Is=Ts||(Ts={})).None="NONE",Is.Slide="SLIDE",Is.Fade="FADE";const As=ss("StatusBar");const Ps=new class{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}},Os=(e,t)=>e.substr(0,t.length)===t,Rs="ionic:",Ls="ionic-persist-config";var Ds,Ns;(Ns=Ds||(Ds={})).OFF="OFF",Ns.ERROR="ERROR",Ns.WARN="WARN";const Ms=(e,...t)=>{const n=Ps.get("logLevel",Ds.WARN);[Ds.WARN].includes(n)},zs=(e,...t)=>{const n=Ps.get("logLevel",Ds.ERROR);[Ds.ERROR,Ds.WARN].includes(n)};var js=!0,Bs=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(Bs||{}),Fs=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(Fs||{}),Vs="type",Us="value",qs="serialized:";function Hs(e,t,n){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==i;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var Ws,Gs=(e,t)=>{var n;Object.entries(null!=(n=t.o.t)?n:{}).map(([n,[i]])=>{if(31&i||32&i){const i=e[n],o=Hs(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):void 0!==i&&(e[n]=i)}})},$s=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Ys=(e,t)=>t in e,Xs=(e,t)=>(0,console.error)(e,t),Ks=new Map,Js=[],Zs="s-id",Qs="sty-id",el="c-id",tl="http://www.w3.org/1999/xlink",nl="undefined"!=typeof window?window:{},il=nl.HTMLElement||class{},ol={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},rl=(()=>{var e;let t=!1;try{null==(e=nl.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(n){}return t})(),al=(()=>{try{return!!nl.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(Ns){}return!1})(),sl=!!al&&!!nl.document&&Object.getOwnPropertyDescriptor(nl.document.adoptedStyleSheets,"length").writable,ll=!1,cl=[],dl=[],ul=(e,t)=>
2n=>{e.push(n),ll||(ll=!0,t&&4&ol.i?ml(hl):ol.raf(hl))},pl=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){Xs(t)}e.length=0},hl=()=>{pl(cl),pl(dl),(ll=cl.length>0)&&ol.raf(hl)},ml=e=>Promise.resolve(void 0).then(e),fl=ul(cl,!1),gl=ul(dl,!0);function bl(e){const t={mode:"open"};t.delegatesFocus=!!(16&e.i);const n=this.attachShadow(t);void 0===Ws&&(Ws=null),Ws&&(sl?n.adoptedStyleSheets.push(Ws):n.adoptedStyleSheets=[...n.adoptedStyleSheets,Ws])}var vl=e=>{const t=$l(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&wl(t,e.tagName).forEach(e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!xl(e,El(e),!1).length)});let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&$l(e,"childNodes").length&&vl(e)}},yl=e=>{const t=[];for(let n=0;n<e.length;n++){const i=e[n]["s-nr"]||void 0;i&&i.isConnected&&t.push(i)}return t};function wl(e,t,n){let i,o=0,r=[];for(;o<e.length;o++){if(i=e[o],i["s-sr"]&&(!t||i["s-hn"]===t)&&(void 0===n||El(i)===n)&&(r.push(i),void 0!==n))return r;r=[...r,...wl(i.childNodes,t,n)]}return r}var xl=(e,t,n=!0)=>{const i=[];(n&&e["s-sr"]||!e["s-sr"])&&i.push(e);let o=e;for(;o=o.nextSibling;)El(o)!==t||!n&&o["s-sr"]||i.push(o);return i},kl=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,_l=(e,t,n,i)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const o=document.createTextNode("");if(o["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const r=t["s-cr"].parentNode,a=$l(r,n?"prepend":"appendChild");if(void 0!==i){o["s-oo"]=i;const e=$l(r,"childNodes"),t=[o];e.forEach(e=>{e["s-nr"]&&t.push(e)}),t.sort((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0),t.forEach(e=>a.call(r,e))}else a.call(r,o);e["s-ol"]=o,e["s-sh"]=t["s-hn"]},El=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function Sl(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],i=this["s-sn"];null==e||e.flatten;const o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:yl(o.childNodes)).forEach(e=>{i===El(e)&&n.push(e)}),t?n.filter(e=>1===e.nodeType):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function Cl(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Tl(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const i=e["s-sn"]=El(e)||"";return{slotNode:wl($l(t,"childNodes"),t.tagName,i)[0],slotName:i}}var Il=e=>{if(e.__cloneNode)return;const t=e.__cloneNode=e.cloneNode;e.cloneNode=function(e){const n=this.shadowRoot&&!0,i=t.call(this,!!n&&e);if(!n&&e){let e,t,n=0;const o=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],r=this.__childNodes||this.childNodes;for(;n<r.length;n++)e=r[n]["s-nr"],t=o.every(e=>!r[n][e]),e&&(i.__appendChild?i.__appendChild(e.cloneNode(!0)):i.appendChild(e.cloneNode(!0))),t&&i.appendChild(r[n].cloneNode(!0))}return i}},Al=e=>{e.__appendChild||(e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=Tl(e,this);if(n){_l(e,n);const i=xl(n,t),o=i[i.length-1],r=$l(o,"parentNode"),a=$l(r,"insertBefore")(e,o.nextSibling);return Cl(n),vl(this),a}return this.__appendChild(e)})},Pl=e=>{e.__removeChild||(e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&wl(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void vl(this)):this.__removeChild(e)})},Ol=e=>{e.__prepend||(e.__prepend=e.prepend,e.prepend=function(...t){t.forEach(t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=El(t))||"",i=wl($l(this,"childNodes"),this.tagName,n)[0];if(i){_l(t,i,!0);const e=xl(i,n)[0],o=$l(e,"parentNode"),r=$l(o,"insertBefore")(t,$l(e,"nextSibling"));return Cl(i),r}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)})})},Rl=e=>{e.__append||(e.__append=e.append,e.append=function(...e){e.forEach(e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)})})},Ll=e=>{if(e.__insertAdjacentHTML)return;const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const i=this.ownerDocument.createElement("_");let o;if(i.innerHTML=n,"afterbegin"===e)for(;o=i.firstChild;)this.prepend(o);else if("beforeend"===e)for(;o=i.firstChild;)this.append(o)}},Dl=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},Nl=e=>{e.__insertBefore||e.__insertBefore||(e.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:i}=Tl(e,this),o=this.__childNodes?this.childNodes:yl(this.childNodes);if(i){let r=!1;
vendor: 3,608 bytes, line 2
2if(o.forEach(o=>{if(o!==t&&null!==t);else{if(r=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){_l(e,i);const n=$l(t,"parentNode");$l(n,"insertBefore")(e,t),Cl(i)}}}),r)return e}const r=null==t?void 0:t.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(e):this.__insertBefore(e,t)})},Ml=e=>{if(e.__insertAdjacentElement)return;const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},zl=e=>{Gl("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:yl(this.childNodes)).forEach(t=>e+=t.textContent||""),e},set:function(e){(this.__childNodes?this.childNodes:yl(this.childNodes)).forEach(e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()}),this.insertAdjacentHTML("beforeend",e)}})},jl=e=>{class t extends Array{item(e){return this[e]}}Gl("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter(e=>1===e.nodeType)}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),Gl("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),Gl("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Gl("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...yl(this.__childNodes)),e}})},Bl=e=>{e&&!e.__nextSibling&&(Gl("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextSibling}}))},Fl=e=>{e&&!e.__nextElementSibling&&(Gl("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextElementSibling}}))},Vl=e=>{e&&!e.__previousSibling&&(Gl("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousSibling}}))},Ul=e=>{e&&!e.__previousElementSibling&&(Gl("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousElementSibling}}))},ql=e=>{e&&!e.__parentNode&&(Gl("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},Hl=["children","nextElementSibling","previousElementSibling"],Wl=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Gl(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;Hl.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):Wl.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function $l(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var Yl=new WeakMap,Xl=(e,t,n)=>{let i=Ks.get(e);al&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=t:i.replaceSync(t)):i=t,Ks.set(e,i)},Kl=(e,t,n)=>{var i,o,r;const a=Jl(t,n),s=Ks.get(a);if(!nl.document)return a;
2if(e=11===e.nodeType?e:nl.document,s)if("string"==typeof s){let n,r=Yl.get(e=e.head||e);r||Yl.set(e,r=new Set);const u=e.querySelector("[".concat(Qs,'="').concat(a,'"]'));if(u)u.textContent=s;else if(!r.has(a)){n=nl.document.createElement("style"),n.textContent=s;const u=null!=(i=ol.h)?i:null!=(d=null==(c=null==(l=nl.document.head)?void 0:l.querySelector('meta[name="csp-nonce"]'))?void 0:c.getAttribute("content"))?d:void 0;if(null!=u&&n.setAttribute("nonce",u),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),i=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==i?void 0:i.parentNode)===e?i:null)}else if("host"in e)if(al){const t=new(null!=(o=e.defaultView)?o:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(s),sl?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=s+t.textContent:e.prepend(n)}else e.append(n);1&t.i&&e.insertBefore(n,null),4&t.i&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(a)}}else{let t=Yl.get(e);if(t||Yl.set(e,t=new Set),!t.has(a)){const n=null!=(r=e.defaultView)?r:e.ownerDocument.defaultView;let i;if(s.constructor===n.CSSStyleSheet)i=s;else{i=new n.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++)i.insertRule(s.cssRules[e].cssText,e)}if(sl?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i],t.add(a),"host"in e){const t=e.querySelector("[".concat(Qs,'="').concat(a,'"]'));t&&gl(()=>t.remove())}}}var l,c,d;return a},Jl=(e,t)=>"sc-"+(t&&32&e.i?e.p+"-"+t:e.p),Zl=e=>"object"==(e=typeof e)||"function"===e,Ql=(e,t,...n)=>{let i=null,o=null,r=null,a=!1,s=!1;const l=[],c=t=>{for(let n=0;n<t.length;n++)i=t[n],Array.isArray(i)?c(i):null!=i&&"boolean"!=typeof i&&((a="function"!=typeof e&&!Zl(i))&&(i=String(i)),a&&s?l[l.length-1].v+=i:l.push(a?ec(null,i):i),s=a)};if(c(n),t){t.key&&(o=t.key),t.name&&(r=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,nc);const d=ec(e,null);return d.$=t,l.length>0&&(d.j=l),d.O=o,d.N=r,d},ec=(e,t)=>({i:0,S:e,v:null!=t?t:null,k:null,j:null,$:null,O:null,N:null}),tc={},nc={forEach:(e,t)=>e.map(ic).forEach(t),map:(e,t)=>e.map(ic).map(t).map(oc)},ic=e=>({vattrs:e.$,vchildren:e.j,vkey:e.O,vname:e.N,vtag:e.S,vtext:e.v}),oc=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),Ql(e.vtag,t,...e.vchildren||[])}const t=ec(e.vtag,e.vtext);return t.$=e.vattrs,t.j=e.vchildren,t.O=e.vkey,t.N=e.vname,t},rc=(e,t,n,i,o,r,a,s=[])=>{let l,c,d,u;const p=o["s-sc"];if(1===r.nodeType){if(l=r.getAttribute(el),l&&(c=l.split("."),c[0]===a||"0"===c[0])){d=sc({i:0,C:c[0],M:c[1],I:c[2],L:c[3],S:r.tagName.toLowerCase(),k:r,$:{class:r.className||""}}),t.push(d),r.removeAttribute(el),e.j||(e.j=[]),p&&c[0]===a&&(r["s-si"]=p,d.$.class+=" "+p);const o=d.k.getAttribute("s-sn");"string"==typeof o&&("slot-fb"===d.S&&(lc(o,c[2],d,r,e,t,n,i,s),p&&r.classList.add(p)),d.k["s-sn"]=o,d.k.removeAttribute("s-sn")),void 0!==d.L&&(e.j[d.L]=d),e=d,i&&"0"===d.I&&(i[d.L]=d.k)}if(r.shadowRoot)for(u=r.shadowRoot.childNodes.length-1;u>=0;u--)rc(e,t,n,i,o,r.shadowRoot.childNodes[u],a,s);const h=r.__childNodes||r.childNodes;for(u=h.length-1;u>=0;u--)rc(e,t,n,i,o,h[u],a,s)}else if(8===r.nodeType)c=r.nodeValue.split("."),(c[1]===a||"0"===c[1])&&(l=c[0],d=sc({C:c[1],M:c[2],I:c[3],L:c[4]||"0",k:r,$:null,j:null,O:null,N:null,S:null,v:null}),"t"===l?(d.k=hc(r,3),d.k&&3===d.k.nodeType&&(d.v=d.k.textContent,t.push(d),r.remove(),a===d.C&&(e.j||(e.j=[]),e.j[d.L]=d),i&&"0"===d.I&&(i[d.L]=d.k))):"c"===l?(d.k=hc(r,8),d.k&&8===d.k.nodeType&&(t.push(d),r.remove())):d.C===a&&("s"===l?lc(r["s-sn"]=c[5]||"",c[2],d,r,e,t,n,i,s):"r"===l&&(i?r.remove():(o["s-cr"]=r,r["s-cn"]=!0))));else if(e&&"style"===e.S){const t=ec(null,r.textContent);t.k=r,t.L="0",e.j=[t]}return e},ac=(e,t)=>{if(1===e.nodeType){const n=e[Zs]||e.getAttribute(Zs);n&&t.set(n,e);let i=0;if(e.shadowRoot)for(;i<e.shadowRoot.childNodes.length;i++)ac(e.shadowRoot.childNodes[i],t);const o=e.__childNodes||e.childNodes;for(i=0;i<o.length;i++)ac(o[i],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},sc=e=>({i:0,C:null,M:null,I:null,L:"0",k:null,$:null,j:null,O:null,N:null,S:null,v:null,...e});function lc(e,t,n,i,o,r,a,s,l){i["s-sr"]=!0,n.N=e||null,n.S="slot";const c=(null==o?void 0:o.k)?o.k["s-id"]||o.k.getAttribute("s-id"):"";if(s&&nl.document){const r=n.k=nl.document.createElement(n.S);n.N&&n.k.setAttribute("name",e),o.k.shadowRoot&&c&&c!==n.C?$l(o.k,"insertBefore")(r,$l(o.k,"children")[0]):$l($l(i,"parentNode"),"insertBefore")(r,i),pc(l,t,e,i,n.C),i.remove(),"0"===n.I&&(s[n.L]=n.k)}else{const r=n.k,a=c&&c!==n.C&&o.k.shadowRoot;pc(l,t,e,i,a?c:n.C),Sl(i),a&&o.k.insertBefore(r,o.k.children[0])}r.push(n),a.push(n),o.j||(o.j=[]),o.j[n.L]=n}var cc,dc,uc,pc=(e,t,n,i,o)=>{var r,a;let s=i.nextSibling;if(e[t]=e[t]||[],s&&!(null==(r=s.nodeValue)?void 0:r.startsWith("s.")))do{!s||(s.getAttribute&&s.getAttribute("slot")||s["s-sn"])!==n&&(""!==n||s["s-sn"]||s.getAttribute&&s.getAttribute("slot")||8!==s.nodeType&&3!==s.nodeType)||(s["s-sn"]=n,e[t].push({slot:i,node:s,hostId:o})),s=null==s?void 0:s.nextSibling}while(s&&!(null==(a=s.nodeValue)?void 0:a.startsWith("s.")))},hc=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},mc=e=>{if(!e)return;const t=Object.keys(e);if(0===t.length)return;let n=!1;for(const o of t){if(n)break;for(const t of e[o])if("string"==typeof t){n=!0;break}}if(!n)return e;const i={};for(const o of t)i[o]=e[o].map(e=>"string"==typeof e?{[e]:0}:e);return i},fc=class e{static fromLocalValue(t){const n=t[Vs],i=Us in t?t[Us]:void 0;switch(n){case"string":case"boolean":return i;case"bigint":return BigInt(i);case"undefined":return;case"null":return null;case"number":return"NaN"===i?NaN:"-0"===i?-0:"Infinity"===i?1/0:"-Infinity"===i?-1/0:i;case"array":return i.map(t=>e.fromLocalValue(t));case"date":return new Date(i);case"map":const t=new Map;for(const[n,l]of i){const i="object"==typeof n&&null!==n?e.fromLocalValue(n):n,o=e.fromLocalValue(l);t.set(i,o)}return t;case"object":const o={};for(const[n,l]of i)o[n]=e.fromLocalValue(l);return o;case"regexp":const{pattern:r,flags:a}=i;return new RegExp(r,a);case"set":const s=new Set;for(const n of i)s.add(e.fromLocalValue(n));return s;case"symbol":return Symbol(i);default:throw new Error("Unsupported type: ".concat(n))}}static fromLocalValueArray(t){return t.map(t=>e.fromLocalValue(t))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(Vs))return!1;const t=e[Vs];return!!Object.values({...Bs,...Fs}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(Us))}},gc=(e,t)=>{return"string"==typeof e&&e.startsWith(qs)?e="string"==typeof(n=e)&&n.startsWith(qs)?fc.fromLocalValue(JSON.parse(function(e){const t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return(new TextDecoder).decode(n)}(n.slice(11)))):n:null==e||Zl(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e;var n},bc=(e,t,n)=>{const i=e;return{emit:e=>
vendor: 7,467 bytes, line 2
2vc(i,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},vc=(e,t,n)=>{const i=ol.ce(t,n);return e.dispatchEvent(i),i},yc=(e,t,n,i,o,r,a)=>{if(n===i)return;let s=Ys(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,o=xc(n);let r=xc(i);if((e["s-si"]||e["s-sc"])&&a){const n=e["s-sc"]||e["s-si"];r.push(n),o.forEach(e=>{e.startsWith(n)&&r.push(e)}),r=[...new Set(r)].filter(e=>e),t.add(...r)}else t.remove(...o.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!o.includes(e)))}else if("style"===t){for(const t in n)i&&null!=i[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in i)n&&i[t]===n[t]||(t.includes("-")?e.style.setProperty(t,i[t]):e.style[t]=i[t])}else if("key"===t);else if("ref"===t)i&&qc(i,e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){if("a"===t[0]&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=$s(e);if(t&&t.o&&t.o.t){const e=t.o.t[n];e&&e[1]&&(o=e[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==e.getAttribute(o)||e.removeAttribute(o):e.setAttribute(o,!0===i?"":i))}if("p"===t[0]&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=i}catch(c){}return}{const a=Zl(i);if((s||a&&null!==i)&&!o)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const o=null==i?"":i;"list"===t?s=!1:null!=n&&e[t]===o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(c){}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(d?e.removeAttributeNS(tl,t):e.removeAttribute(t)):(!s||4&r||o)&&!a&&1===e.nodeType&&(i=!0===i?"":i,d?e.setAttributeNS(tl,t,i):e.setAttribute(t,i))}}else if(t="-"===t[2]?t.slice(3):Ys(nl,l)?l.slice(2):l[2]+t.slice(3),n||i){const o=t.endsWith(kc);t=t.replace(_c,""),n&&ol.rel(e,t,n,o),i&&ol.ael(e,t,i,o)}},wc=/\s/,xc=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(wc):[]),kc="Capture",_c=new RegExp(kc+"$"),Ec=(e,t,n,i)=>{const o=11===t.k.nodeType&&t.k.host?t.k.host:t.k,r=e&&e.$||{},a=t.$||{};for(const s of Sc(Object.keys(r)))s in a||yc(o,s,r[s],void 0,n,t.i,i);for(const s of Sc(Object.keys(a)))yc(o,s,r[s],a[s],n,t.i,i)};function Sc(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var Cc=!1,Tc=!1,Ic=!1,Ac=!1,Pc=[],Oc=[],Rc=(e,t,n)=>{var i;const o=t.j[n];let r,a,s,l=0;if(Cc||(Ic=!0,"slot"===o.S&&(o.i|=o.j?2:1)),null!=o.v)r=o.k=nl.document.createTextNode(o.v);else if(1&o.i)r=o.k=nl.document.createTextNode(""),Ec(null,o,Ac);else{if(Ac||(Ac="svg"===o.S),!nl.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.k=nl.document.createElementNS(Ac?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Cc&&2&o.i?"slot-fb":o.S),Ac&&"foreignObject"===o.S&&(Ac=!1),Ec(null,o,Ac),null!=(c=cc)&&void 0!==c&&r["s-si"]!==cc&&r.classList.add(r["s-si"]=cc),o.j){const t="template"===o.S?r.content:r;for(l=0;l<o.j.length;++l)a=Rc(e,o,l),a&&t.appendChild(a)}"svg"===o.S?Ac=!1:"foreignObject"===r.tagName&&(Ac=!0)}var c;return r["s-hn"]=uc,3&o.i&&(r["s-sr"]=!0,r["s-cr"]=dc,r["s-sn"]=o.N||"",r["s-rf"]=null==(i=o.$)?void 0:i.ref,Sl(r),s=e&&e.j&&e.j[n],s&&s.S===o.S&&e.k&&Lc(e.k),Wc(dc,r,t.k,null==e?void 0:e.k)),r},Lc=e=>{ol.i|=1;const t=e.closest(uc.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find(e=>e["s-cr"]),i=Array.from(e.__childNodes||e.childNodes);for(const e of n?i.reverse():i)null!=e["s-sh"]&&(Hc(t,e,null!=n?n:null),e["s-sh"]=void 0,Ic=!0)}ol.i&=-2},Dc=(e,t)=>{ol.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===uc&&n.push(t)}for(let i=n.length-1;i>=0;i--){const e=n[i];e["s-hn"]!==uc&&e["s-ol"]&&(Hc(jc(e).parentNode,e,jc(e)),e["s-ol"].remove(),e["s-ol"]=void 0,e["s-sh"]=void 0,Ic=!0),t&&Dc(e,t)}ol.i&=-2},Nc=(e,t,n,i,o,r)=>{let a,s=e["s-cr"]&&e["s-cr"].parentNode||e;for(s.shadowRoot&&s.tagName===uc&&(s=s.shadowRoot),"template"===n.S&&(s=s.content);o<=r;++o)i[o]&&(a=Rc(null,n,o),a&&(i[o].k=a,Hc(s,a,jc(t))))},Mc=(e,t,n)=>{for(let i=t;i<=n;++i){const t=e[i];if(t){const e=t.k;Uc(t),e&&(Tc=!0,e["s-ol"]?e["s-ol"].remove():Dc(e,!0),e.remove())}}},zc=(e,t,n=!1)=>e.S===t.S&&("slot"===e.S?e.N===t.N:n?(n&&!e.O&&t.O&&(e.O=t.O),!0):e.O===t.O),jc=e=>e&&e["s-ol"]||e,Bc=(e,t,n=!1)=>{const i=t.k=e.k,o=e.j,r=t.j,a=t.S,s=t.v;let l;null==s?(Ac="svg"===a||"foreignObject"!==a&&Ac,"slot"!==a||Cc||e.N!==t.N&&(t.k["s-sn"]=t.N||"",Lc(t.k.parentElement)),Ec(e,t,Ac,n),null!==o&&null!==r?((e,t,n,i,o=!1)=>{let r,a,s=0,l=0,c=0,d=0,u=t.length-1,p=t[0],h=t[u],m=i.length-1,f=i[0],g=i[m];const b="template"===n.S?e.content:e;for(;s<=u&&l<=m;)if(null==p)p=t[++s];else if(null==h)h=t[--u];else if(null==f)f=i[++l];else if(null==g)g=i[--m];else if(zc(p,f,o))Bc(p,f,o),p=t[++s],f=i[++l];else if(zc(h,g,o))Bc(h,g,o),h=t[--u],g=i[--m];else if(zc(p,g,o))"slot"!==p.S&&"slot"!==g.S||Dc(p.k.parentNode,!1),Bc(p,g,o),Hc(b,p.k,h.k.nextSibling),p=t[++s],g=i[--m];else if(zc(h,f,o))"slot"!==p.S&&"slot"!==g.S||Dc(h.k.parentNode,!1),Bc(h,f,o),Hc(b,h.k,p.k),h=t[--u],f=i[++l];else{for(c=-1,d=s;d<=u;++d)if(t[d]&&null!==t[d].O&&t[d].O===f.O){c=d;break}c>=0?(a=t[c],a.S!==f.S?r=Rc(t&&t[l],n,c):(Bc(a,f,o),t[c]=void 0,r=a.k),f=i[++l]):(r=Rc(t&&t[l],n,l),f=i[++l]),r&&Hc(jc(p.k).parentNode,r,jc(p.k))}s>u?Nc(e,null==i[m+1]?null:i[m+1].k,n,i,l,m):l>m&&Mc(t,s,u)})(i,o,t,r,n):null!==r?(null!==e.v&&(i.textContent=""),Nc(i,null,t,r,0,r.length-1)):n||null===o?n&&null!==o&&null===r&&(t.j=o):Mc(o,0,o.length-1),Ac&&"svg"===a&&(Ac=!1)):(l=i["s-cr"])?l.parentNode.textContent=s:e.v!==s&&(i.data=s)},Fc=[],Vc=e=>{let t,n,i;const o=e.__childNodes||e.childNodes;for(const r of o){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const e=r["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(kl(t,e)){let n=Fc.find(e=>e.A===t);Tc=!0,t["s-sn"]=t["s-sn"]||e,n?(n.A["s-sh"]=r["s-hn"],n._=r):(t["s-sh"]=r["s-hn"],Fc.push({_:r,A:t})),t["s-sr"]&&Fc.map(e=>{kl(e.A,t["s-sn"])&&(n=Fc.find(e=>e.A===t),n&&!e._&&(e._=n._))})}else Fc.some(e=>e.A===t)||Fc.push({A:t})}1===r.nodeType&&Vc(r)}},Uc=e=>{e.$&&e.$.ref&&Pc.push(()=>e.$.ref(null)),e.j&&e.j.map(Uc)},qc=(e,t)=>{Oc.push(()=>e(t))},Hc=(e,t,n,i)=>{if("string"==typeof t["s-sn"]&&t["s-sr"]&&t["s-cr"])Wc(t["s-cr"],t,e,t.parentElement);else if("string"==typeof t["s-sn"]){11!==e.getRootNode().nodeType&&ql(t),e.insertBefore(t,n);const{slotNode:o}=Tl(t);return o&&!i&&Cl(o),t}return e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n)};function Wc(e,t,n,i){var o,r;let a;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(a=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],s=t["s-hn"];if(null==(o=n.classList)||o.add(a+"-s"),i&&(null==(r=i.classList)?void 0:r.contains(a+"-s"))){let t=(i.__childNodes||i.childNodes)[0],n=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===s&&t["s-sr"]){n=!0;break}t=t.nextSibling}n||i.classList.remove(a+"-s")}}}var Gc=(e,t)=>{if(t&&!e.T&&t["s-p"]){const n=t["s-p"].push(new Promise(i=>e.T=()=>{t["s-p"].splice(n-1,1),i()}))}},$c=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Gc(e,e.U);const n=()=>Yc(e,t);if(!t)return gl(n);queueMicrotask(()=>{n()})},Yc=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," />
2 with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"));let o;return o=nd(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=Xc(o,()=>nd(i,"componentWillRender",void 0,n)),Xc(o,()=>Jc(e,i,t))},Xc=(e,t)=>Kc(e)?e.then(t).catch(e=>{t()}):t(),Kc=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Jc=async(e,t,n)=>{var i;const o=e.$hostElement$,r=o["s-rc"];n&&(e=>{const t=e.o,n=e.$hostElement$,i=t.i,o=Kl(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.R);10&i&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e),Zc(e,t,o,n),r&&(r.map(e=>e()),o["s-rc"]=void 0);{const t=null!=(i=o["s-p"])?i:[],n=()=>Qc(e);0===t.length?n():(Promise.all(t).then(n).catch(n),e.i|=4,t.length=0)}},Zc=(e,t,n,i)=>{try{t=t.render&&t.render(),e.i&=-17,e.i|=2,((e,t,n=!1)=>{var i,o,r,a,s;const l=e.$hostElement$,c=e.o,d=e.B||ec(null,null);var u;const p=(u=t)&&u.S===tc?t:Ql(null,null,t);if(uc=l.tagName,c.F&&(p.$=p.$||{},c.F.forEach(([e,t])=>{p.$[t]=l[e]})),n&&p.$)for(const h of Object.keys(p.$))l.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&(p.$[h]=l[h]);if(p.S=null,p.i|=4,e.B=p,p.k=d.k=l.shadowRoot||l,cc=l["s-sc"],Cc=!(!(1&c.i)||128&c.i),dc=l["s-cr"],Tc=!1,Bc(d,p,n),ol.i|=1,Ic){Vc(p.k);for(const e of Fc){const t=e.A;if(!t["s-ol"]&&nl.document){const e=nl.document.createTextNode("");e["s-nr"]=t,Hc(t.parentNode,t["s-ol"]=e,t,n)}}for(const e of Fc){const t=e.A,s=e._;if(1===t.nodeType&&n&&(t["s-ih"]=null!=(i=t.hidden)&&i),s){const e=s.parentNode;let i=s.nextSibling;if(i&&1===i.nodeType){let n=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;n;){let o=null!=(r=n["s-nr"])?r:null;if(o&&o["s-sn"]===t["s-sn"]&&e===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){i=o;break}}n=n.previousSibling}}if((!i&&e!==(t.__parentNode||t.parentNode)||(t.__nextSibling||t.nextSibling)!==i)&&t!==i){if(Hc(e,t,i,n),8===t.nodeType&&t.nodeValue.startsWith("s-nt-")){const e=nl.document.createTextNode(t.nodeValue.replace(/^s-nt-/,""));e["s-hn"]=t["s-hn"],e["s-sn"]=t["s-sn"],e["s-sh"]=t["s-sh"],e["s-sr"]=t["s-sr"],e["s-ol"]=t["s-ol"],e["s-ol"]["s-nr"]=e,Hc(t.parentNode,e,t,n),t.parentNode.removeChild(t)}1===t.nodeType&&"SLOT-FB"!==t.tagName&&(t.hidden=null!=(a=t["s-ih"])&&a)}t&&"function"==typeof s["s-rf"]&&s["s-rf"](s)}else 1===t.nodeType&&(t.hidden=!0)}}if(Tc&&vl(p.k),ol.i&=-2,Fc.length=0,!Cc&&!(1&c.i)&&l["s-cr"]){const e=p.k.__childNodes||p.k.childNodes;for(const t of e)if(t["s-hn"]!==uc&&!t["s-sh"])if(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(s=t.hidden)&&s),1===t.nodeType)t.hidden=!0;else if(3===t.nodeType&&t.nodeValue.trim()){const e=nl.document.createComment("s-nt-"+t.nodeValue);e["s-sn"]=t["s-sn"],Hc(t.parentNode,e,t,n),t.parentNode.removeChild(t)}}dc=void 0,Pc.forEach(e=>
2e()),Pc.length=0,Oc.forEach(e=>e()),Oc.length=0})(e,t,i)}catch(o){Xs(o,e.$hostElement$)}return null},Qc=e=>{const t=e.$hostElement$,n=t,i=e.U;nd(n,"componentDidRender",void 0,t),64&e.i?nd(n,"componentDidUpdate",void 0,t):(e.i|=64,id(t),nd(n,"componentDidLoad",void 0,t),e.D(t),i||td()),e.T&&(e.T(),e.T=void 0),512&e.i&&ml(()=>$c(e,!1)),e.i&=-517},ed=e=>{var t;{const n=$s(e),i=null==(t=null==n?void 0:n.$hostElement$)?void 0:t.isConnected;return i&&2==(18&n.i)&&$c(n,!1),i}},td=()=>{var e;ml(()=>vc(nl,"appload",{detail:{namespace:"ionic"}})),(null==(e=ol.W)?void 0:e.size)&&ol.W.clear()},nd=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(o){Xs(o,i)}},id=e=>e.classList.add("hydrated"),od=(e,t,n,i)=>{const o=$s(e);if(!o)return;const r=e,a=o.l.get(t),s=o.i,l=r;n=gc(n,i.t[t][0]);const c=Number.isNaN(a)&&Number.isNaN(n);if(n!==a&&!c){if(o.l.set(t,n),i.V){const e=i.V[t];e&&e.map(e=>{try{const[[i,r]]=Object.entries(e);(128&s||1&r)&&(l?l[i](n,a,t):o.H.push(()=>{o.P[i](n,a,t)}))}catch(i){Xs(i,r)}})}if(2&s){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(n,a,t)&&!(16&s))return;16&s||$c(o,!1)}}},rd=(e,t)=>{var n,i;const o=e.prototype;{e.watchers&&!t.V&&(t.V=mc(e.watchers)),e.deserializers&&!t.q&&(t.q=e.deserializers),e.serializers&&!t.J&&(t.J=e.serializers);const r=Object.entries(null!=(n=t.t)?n:{});r.map(([e,[n]])=>{if(31&n||32&n){const{get:i,set:r}=Hs(o,e)||{};i&&(t.t[e][0]|=2048),r&&(t.t[e][0]|=4096),Object.defineProperty(o,e,{get(){return i?i.apply(this):(t=e,$s(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(o,e,{set(i){const o=$s(this);if(o){if(r)return void 0===(32&n?this[e]:o.$hostElement$[e])&&o.l.get(e)&&(i=o.l.get(e)),r.apply(this,[gc(i,n)]),void od(this,e,i=32&n?this[e]:o.$hostElement$[e],t);od(this,e,i,t)}}})}});{const n=new Map;o.attributeChangedCallback=function(e,i,a){ol.jmp(()=>{var s;const l=n.get(e),c=$s(this);if(this.hasOwnProperty(l),o.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==a)return;if(null==l){const n=null==c?void 0:c.i;if(c&&n&&!(8&n)&&a!==i){const o=this,r=null==(s=t.V)?void 0:s[e];null==r||r.forEach(t=>{const[[r,s]]=Object.entries(t);null!=o[r]&&(128&n||1&s)&&o[r].call(o,a,i,e)})}return}const d=r.find(([e])=>e===l),u=d&&4&d[1][0],p=u&&null===a&&void 0===this[l];u&&(a=null!==a&&"false"!==a);const h=Object.getOwnPropertyDescriptor(o,l);p||a==this[l]||h.get&&!h.set||(this[l]=a)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.V)?i:{}),...r.filter(([e,t])=>31&t[0]).map(([e,i])=>{var o;const r=i[1]||e;return n.set(r,e),512&i[0]&&(null==(o=t.F)||o.push([e,r])),r})]))}}return e},ad=e=>{if(!nl.document)return;const t=e["s-cr"]=nl.document.createComment("");t["s-cn"]=!0,Hc(e,t,e.firstChild)},sd=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.Y=t[3],n.V=mc(e.V),n.q=e.q,n.J=e.J,n.F=[],!(1&n.i)&&256&n.i?(Il(i=e.prototype),Al(i),Rl(i),Ol(i),Ml(i),Ll(i),Dl(i),Nl(i),zl(i),jl(i),Pl(i)):Il(e.prototype),(()=>{if(!nl.document)return;const e=nl.document.querySelectorAll("[".concat(Qs,"]"));let t=0;for(;t<e.length;t++)Xl(e[t].getAttribute(Qs),e[t].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)})();const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{const n={i:0,$hostElement$:e,o:t,l:new Map,G:new Map};n.Z=new Promise(e=>n.D=e),e["s-p"]=[],e["s-rc"]=[];const i=n;e.__stencil__getHostRef=()=>i,512&t.i&&Gs(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=$s(this);if(!e)return;cd(this,e,n.Y),this.__hasHostListenerAttached=!0}(e=>{if(!(1&ol.i)){const t=$s(e);if(!t)return;const n=t.o;if(1&t.i)cd(e,t,n.Y),(null==t?void 0:t.P)||(null==t?void 0:t.Z)&&t.Z.then(()=>{});else{let i;if(t.i|=1,i=e.getAttribute(Zs),i){if(1&n.i){const t=Kl(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}else if(2&n.i){const t=Jl(n,e.getAttribute("s-mode"));e["s-sc"]=t}((e,t,n,i)=>{var o,r,a,s;const l=e.shadowRoot,c=[],d=[],u=[],p=l?[]:null,h=ec(t,null);let m;h.k=e;{const t=i.o;t&&10&t.i&&e["s-sc"]?(m=e["s-sc"],e.classList.add(m+"-h")):e["s-sc"]&&delete e["s-sc"]}!nl.document||ol.W&&ol.W.size||ac(nl.document.body,ol.W=new Map),e[Zs]=n,e.removeAttribute(Zs),i.B=rc(h,c,d,p,e,e,n,u);let f=0;const g=c.length;let b;for(;f<g;f++){b=c[f];const n=b.C+"."+b.M,i=ol.W.get(n),r=b.k;if(l){if((null==(o=b.S)?void 0:o.toString().includes("-"))&&"slot-fb"!==b.S&&!b.k.shadowRoot){const e=$s(b.k);if(e){const t=Jl(e.o,b.k.getAttribute("s-mode")),n=nl.document.querySelector('style[sty-id="'.concat(t,'"]'));n&&p.unshift(n.cloneNode(!0))}}}else r["s-hn"]=t.toUpperCase(),"slot"===b.S&&(r["s-cr"]=e["s-cr"]);"slot"===b.S&&(b.N=b.k["s-sn"]||b.k.name||null,b.j?(b.i|=2,b.k.childNodes.length||b.j.forEac
2h(e=>{b.k.appendChild(e.k)})):b.i|=1),i&&i.isConnected&&(i.parentElement.shadowRoot&&""===i["s-en"]&&i.parentNode.insertBefore(r,i.nextSibling),i.parentNode.removeChild(i),l||(r["s-oo"]=parseInt(b.M))),i&&!i["s-id"]&&ol.W.delete(n)}const v=[],y=u.length;let w,x,k,_,E=0,S=0;for(;E<y;E++)if(w=u[E],w&&w.length)for(k=w.length,x=0;x<k;x++){if(_=w[x],v[_.hostId]||(v[_.hostId]=ol.W.get(_.hostId)),!v[_.hostId])continue;const e=v[_.hostId];e.shadowRoot&&_.node.parentElement!==e&&e.insertBefore(_.node,null==(a=null==(r=w[x-1])?void 0:r.node)?void 0:a.nextSibling),e.shadowRoot&&l||(_.slot["s-cr"]||(_.slot["s-cr"]=e["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),_l(_.node,_.slot,!1,_.node["s-oo"]||S),(null==(s=_.node.parentElement)?void 0:s.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),(C=_.node)&&void 0===C.__nextSibling&&globalThis.Node&&(Bl(C),Vl(C),ql(C),C.nodeType===Node.ELEMENT_NODE&&(Fl(C),Ul(C)))),S=(_.node["s-oo"]||S)+1}var C;if(m&&d.length&&d.forEach(e=>{e.k.parentElement.classList.add(m+"-s")}),l&&!l.childNodes.length){let t=0;const n=p.length;if(n){for(;t<n;t++){const e=p[t];e&&l.appendChild(e)}Array.from(e.childNodes).forEach(e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):8!==e.nodeType||e.nodeValue||e.parentNode.removeChild(e))})}}i.$hostElement$=e})(e,n.p,i,t)}i||12&n.i&&ad(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Gc(t,t.U=n);break}}n.t&&Object.entries(n.t).map(([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t],e[t]=n}}),(async(e,t,n)=>{let i;try{if(!(32&t.i)&&(t.i|=32,i=e.constructor,customElements.whenDefined(e.localName).then(()=>t.i|=128),i&&i.style)){let r;"string"==typeof i.style?r=i.style:"string"!=typeof i.style&&(t.R=(o=e,Js.map(e=>e(o)).find(e=>!!e)),t.R&&(r=i.style[t.R]));const a=Jl(n,t.R);if(!Ks.has(a)){const e=()=>{};Xl(a,r,!!(1&n.i)),e()}}const r=t.U,a=()=>$c(t,!0);r&&r["s-rc"]?r["s-rc"].push(a):a()}catch(r){Xs(r,e),t.T&&(t.T(),t.T=void 0),t.D&&t.D(e)}var o})(e,t,n)}}})(this),o&&o.call(this)},disconnectedCallback(){(async e=>{if(!(1&ol.i)){const t=$s(e);(null==t?void 0:t.K)&&(t.K.map(e=>e()),t.K=void 0)}Yl.has(e)&&Yl.delete(e),e.shadowRoot&&Yl.has(e.shadowRoot)&&Yl.delete(e.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error("Unable to re-use existing shadow root for ".concat(n.p,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}else bl.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),rd(e,n)}catch(o){return Xs(o),e}var i},ld=(e,t)=>t,cd=(e,t,n)=>{n&&nl.document&&n.map(([n,i,o])=>{const r=ud(nl.document,e,n),a=dd(t,o),s=pd(n);ol.ael(r,i,a,s),(t.K=t.K||[]).push(()=>ol.rel(r,i,a,s))})},dd=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){Xs(i,e.$hostElement$)}},ud=(e,t,n)=>4&n?e:8&n?nl:16&n?e.body:t,pd=e=>rl?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);const hd=(e,t=0)=>new Promise(n=>{md(e,t,n)}),md=(e,t=0,n)=>{let i,o;const r={passive:!0},a=()=>{i&&i()},s=t=>{void 0!==t&&e!==t.target||(a(),n(t))};return e&&(e.addEventListener("webkitTransitionEnd",s,r),e.addEventListener("transitionend",s,r),o=setTimeout(s,t+500),i=()=>{void 0!==o&&(clearTimeout(o),o=void 0),e.removeEventListener("webkitTransitionEnd",s,r),e.removeEventListener("transitionend",s,r)}),a},fd=(e,t)=>{e.componentOnReady?e.componentOnReady().then(e=>t(e)):_d(()=>t(e))},gd=e=>void 0!==e.componentOnReady,bd=(e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),n},vd=["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"],yd=e=>bd(e,vd),wd=(e,t,n,i)=>e.addEventListener(t,n,i),xd=(e,t,n,i)=>e.removeEventListener(t,n,i),kd=(e,t=e)=>e.shadowRoot||t,_d=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),Ed=e=>{if(e.focus(),e.classList.contains("ion-focusable")){const t=e.closest("ion-app");t&&t.setFocus([e])}},Sd=(e,t,n,i,o)=>{{let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=o,e.name=n,e.value=i||""}},Cd=(e,t,n)=>Math.max(e,Math.min(t,n)),Td=(e,t)=>{if(!e){const e="ASSERT: "+t;throw zs(),new Error(e)}},Id=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},Ad=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error('"'.concat(e,'" is not a valid value for [side]. Use "start" or "end" instead.'))}},Pd=(e,t)=>{const n=e._original||e;return{_original:e,emit:Od(n.emit.bind(n),t)}},Od=(e,t=0)=>{let n;return(...i)=>{clearTimeout(n),n=setTimeout(e,t,...i)}},Rd=(e,t)=>{if(null!=e||(e={}),null!=t||(t={}),e===t)return!0;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const i of n){if(!(i in t))return!1;if(e[i]!==t[i])return!1}return!0},Ld=e=>"number"==typeof e&&!isNaN(e)&&isFinite(e),Dd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>",Nd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m64 144 192 224 192-224z'/></svg>",Md="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",zd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 184 144 144 144-144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",jd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",Bd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-2
208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256Z'/></svg>",Fd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256z'/></svg>",Vd="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",Ud=(e,t)=>("string"==typeof e&&(t=e,e=void 0),(e=>qd(e))(e).includes(t)),qd=(e=window)=>{if(void 0===e)return[];e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=Hd(e),t.forEach(t=>e.document.documentElement.classList.add("plt-".concat(t)))),t},Hd=e=>{const t=Ps.get("platform");return Object.keys(Qd).filter(n=>{const i=null==t?void 0:t[n];return"function"==typeof i?i(e):Qd[n](e)})},Wd=e=>!!Jd(e,/iPad/i)||!(!Jd(e,/Macintosh/i)||!$d(e)),Gd=e=>Jd(e,/android|sink/i),$d=e=>Zd(e,"(any-pointer:coarse)"),Yd=e=>Xd(e)||Kd(e),Xd=e=>!!(e.cordova||e.phonegap||e.PhoneGap),Kd=e=>{const t=e.Capacitor;return!!((null==t?void 0:t.isNative)||(null==t?void 0:t.isNativePlatform)&&t.isNativePlatform())},Jd=(e,t)=>t.test(e.navigator.userAgent),Zd=(e,t)=>{var n;return null===(n=e.matchMedia)||void 0===n?void 0:n.call(e,t).matches},Qd={ipad:Wd,iphone:e=>Jd(e,/iPhone/i),ios:e=>Jd(e,/iPhone|iPod/i)||Wd(e),android:Gd,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),o=Math.max(t,n);return i>390&&i<520&&o>620&&o<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,i=Math.min(t,n),o=Math.max(t,n);return Wd(e)||Gd(r=e)&&!Jd(r,/mobile/i)||i>460&&i<820&&o>780&&o<1400;var r},cordova:Xd,capacitor:Kd,electron:e=>Jd(e,/electron/i),pwa:e=>{var t;return!(!(null===(t=e.matchMedia)||void 0===t?void 0:t.call(e,"(display-mode: standalone)").matches)&&!e.navigator.standalone)},mobile:$d,mobileweb:e=>$d(e)&&!Yd(e),desktop:e=>!$d(e),hybrid:Yd};let eu;const tu=e=>e&&(e=>{var t;return null==(t=$s(e))?void 0:t.R})(e)||eu,nu=(e={})=>{if("undefined"==typeof window)return;const t=window.document,n=window,i=n.Ionic=n.Ionic||{},o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem(Ls);return null!==t?JSON.parse(t):{}}catch(t){return{}}})(n)),{persistConfig:!1}),i.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>{try{return[decodeURIComponent(e),decodeURIComponent(t)]}catch(n){return["",""]}}).filter(([e])=>Os(e,Rs)).map(([e,t])=>[e.slice(Rs.length),t]).forEach(([e,n])=>{t[e]=n}),t})(n)),e);Ps.reset(o),Ps.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem(Ls,JSON.stringify(t))}catch(n){return}})(n,o),qd(n),i.config=Ps,i.mode=eu=Ps.get("mode",t.documentElement.getAttribute("mode")||(Ud(n,"ios")?"ios":"md")),Ps.set("mode",eu),t.documentElement.setAttribute("mode",eu),t.documentElement.classList.add(eu),Ps.getBoolean("_testing")&&Ps.set("animated",!1);const r=e=>{var t;return null===(t=e.tagName)||void 0===t?void 0:t.startsWith("ION-")},a=e=>["ios","md"].includes(e);(e=>{Js.push(e)})(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(a(t))return t;r(e)&&Ms()}e=e.parentElement}return eu})};let iu;const ou=(e,t,n,i,o)=>(n="ios"===(n&&lu(n))?"ios":"md",i&&"ios"===n?e=lu(i):o&&"md"===n?e=lu(o):(e||!t||au(t)||(e=t),su(e)&&(e=lu(e))),su(e)&&""!==e.trim()?""!==e.replace(/[a-z]|-|\d/gi,"")?null:e:null),ru=e=>su(e)&&(e=e.trim(),au(e))?e:null,au=e=>e.length>0&&/(\/|\.)/.test(e),su=e=>"string"==typeof e,lu=e=>e.toLowerCase(),cu=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;if(su(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<e.childNodes.length;t++)if(!cu(e.childNodes[t]))return!1}return!0},du=new Map,uu=new Map;let pu;function hu(e){return du.set(e,""),""}const mu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.isVisible=!1,this.mode=fu(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),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(e,t,n){if(!Boolean(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver))return n();const i=this.io=new window.IntersectionObserver(e=>{e[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(e)}loadIcon(){if(this.isVisible){const i=(e=>{let n=ru(e.src);if(n)return n;if(n=ou(e.name,e.icon,e.mode,e.ios,e.md),n)return(e=>{const n=(()=>
2{if("undefined"==typeof window)return new Map;if(!iu){const e=window;e.Ionicons=e.Ionicons||{},iu=e.Ionicons.map=e.Ionicons.map||new Map}return iu})().get(e);if(n)return n;try{return(e=>{const t=new URL(e,ol.u);return t.origin!==nl.location.origin?t.href:t.pathname})("svg/".concat(e,".svg"))}catch(t){}})(n);if(e.icon){if(n=ru(e.icon),n)return n;if(n=ru(e.icon[e.mode]),n)return n}return null})(this);i&&(du.has(i)?this.svgContent=du.get(i):(t=i,n=this.sanitize,uu.get(t)||("undefined"!=typeof fetch&&"undefined"!=typeof document?t.startsWith("data:image/svg+xml")&&(e=t,-1!==e.indexOf(";utf8,"))?Promise.resolve(function(e){pu||(pu=new DOMParser);const t=pu.parseFromString(e,"text/html").querySelector("svg");if(t)return du.set(e,t.outerHTML),t.outerHTML;throw new Error("Could not parse svg from ".concat(e))}(t)):function(e,t){const n=fetch(e).then(n=>n.text().then(n=>{n&&!1!==t&&(n=(e=>{const t=document.createElement("div");t.innerHTML=e;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 e=n.getAttribute("class")||"";if(n.setAttribute("class",(e+" s-ion-icon").trim()),cu(n))return t.innerHTML}return""})(n));const i=n||"";return du.set(e,i),i}).catch(()=>hu(e))).catch(()=>hu(e));return uu.set(e,n),n}(t,n):Promise.resolve(hu(t)))).then(()=>this.svgContent=du.get(i)),this.didLoadIcon=!0)}var e,t,n;this.iconName=ou(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:e,iconName:t,inheritedAttributes:n,el:i}=this,o=this.mode||"md",r=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==e,a=e||r;return Ql(tc,Object.assign({key:"0578c899781ca145dd8205acd9670af39b57cf2e",role:"img",class:Object.assign(Object.assign({[o]:!0},gu(this.color)),{["icon-".concat(this.size)]:!!this.size,"flip-rtl":a,"icon-rtl":a&&(s=i,s&&""!==s.dir?"rtl"===s.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()))})},n),Ql("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var s}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}}static get style(){return":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: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)}"}},[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]},void 0,{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}]),fu=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",gu=e=>
2e?{"ion-color":!0,["ion-color-".concat(e)]:!0}:null;function bu(){"undefined"!=typeof customElements&&["ion-icon"].forEach(e=>{"ion-icon"===e&&(customElements.get(e)||customElements.define(e,mu))})}const vu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionGroupUpdateHandler=()=>{const e=this.accordionGroupEl;if(e){const t=e.value,n=this.value,i=Array.isArray(t)?t.includes(n):t===n;this.hasReceivedFirstUpdate&&i!==(4===this.state||8===this.state)&&(this.hasInteracted=!0),void 0!==t&&(this.hasReceivedFirstUpdate=!0)}this.updateState()},this.state=1,this.isNext=!1,this.isPrevious=!1,this.hasInteracted=!1,this.hasEverBeenExpanded=!1,this.hasReceivedFirstUpdate=!1,this.value="ion-accordion-"+yu++,this.disabled=!1,this.readonly=!1,this.toggleIcon=zd,this.toggleIconSlot="end",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 t=e.querySelector("slot");return t&&void 0!==t.assignedElements?t.assignedElements().find(e=>"ION-ITEM"===e.tagName):void 0},this.setAria=(e=!1)=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const n=kd(t).querySelector("button");n&&n.setAttribute("aria-expanded",""+e)},this.slotToggleIcon=()=>{const e=this.getSlottedHeaderIonItem();if(!e)return;const{toggleIconSlot:t,toggleIcon:n}=this;if(e.querySelector(".ion-accordion-toggle-icon"))return;const i=document.createElement("ion-icon");i.slot=t,i.lazy=!1,i.classList.add("ion-accordion-toggle-icon"),i.icon=n,i.setAttribute("aria-hidden","true"),e.appendChild(i)},this.expandAccordion=()=>{const{contentEl:e,contentElWrapper:t}=this;if(void 0===e||void 0===t)return this.state=4,void(this.hasEverBeenExpanded=!0);4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.hasEverBeenExpanded=!0,this.shouldAnimate()?_d(()=>{this.state=8,this.currentRaf=_d(async()=>{const n=t.offsetHeight,i=hd(e,2e3);e.style.setProperty("max-height",n+"px"),await i,this.state=4,e.style.removeProperty("max-height")})}):this.state=4)},this.collapseAccordion=()=>{const{contentEl:e}=this;void 0!==e?1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=_d(async()=>{e.style.setProperty("max-height",e.offsetHeight+"px"),_d(async()=>{const t=hd(e,2e3);this.state=2,await t,this.state=1,e.style.removeProperty("max-height")})}):this.state=1):this.state=1},this.shouldAnimate=()=>!(!this.hasInteracted||!this.hasEverBeenExpanded||"undefined"==typeof window||matchMedia("(prefers-reduced-motion: reduce)").matches||!Ps.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated),this.updateState=async()=>{const e=this.accordionGroupEl,t=this.value;if(!e)return;const n=e.value;if(Array.isArray(n)?n.includes(t):n===t)this.expandAccordion(),this.isNext=this.isPrevious=!1;else{this.collapseAccordion();const e=this.getNextSibling(),t=null==e?void 0:e.value;void 0!==t&&(this.isPrevious=Array.isArray(n)?n.includes(t):n===t);const i=this.getPreviousSibling(),o=null==i?void 0:i.value;void 0!==o&&(this.isNext=Array.isArray(n)?n.includes(o):n===o)}},this.getNextSibling=()=>{if(!this.el)return;const e=this.el.nextElementSibling;return"ION-ACCORDION"===(null==e?void 0:e.tagName)?e:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const e=this.el.previousElementSibling;return"ION-ACCORDION"===(null==e?void 0:e.tagName)?e:void 0}}valueChanged(){this.updateState()}connectedCallback(){var e;const t=this.accordionGroupEl=null===(e=this.el)||void 0===e?void 0:e.closest("ion-accordion-group");t&&(this.updateState(),wd(t,"ionValueChange",this.accordionGroupUpdateHandler))}disconnectedCallback(){const e=this.accordionGroupEl;e&&xd(e,"ionValueChange",this.accordionGroupUpdateHandler)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),_d(()=>{this.setAria(4===this.state||8===this.state)})}toggleExpanded(){const{accordionGroupEl:e,disabled:t,readonly:n,value:i,state:o}=this;t||n||(this.hasInteracted=!0,!e)||e.requestAccordionToggle(i,1===o||2===o)}render(){const{disabled:e,readonly:t}=this,n=tu(this),i=4===this.state||8===this.state,o=i?"header expanded":"header",r=i?"content expanded":"content";return this.setAria(i),Ql(tc,{key:"5c58b3809a4636d69f0f9957ecf1f50c42cdfc03",class:{[n]:!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":e,"accordion-readonly":t,"accordion-animated":this.shouldAnimate()},tabindex:e?"-1":void 0},Ql("div",{key:"f76bc02347639b41c9a5be8a9488a8be8559cba7",onClick:()=>this.toggleExpanded(),id:"header",part:o,"aria-controls":"content",ref:e=>this.headerEl=e}
2,Ql("slot",{key:"e01744bf0af3200239e82c60c632ed36295db2da",name:"header"})),Ql("div",{key:"c613345a7e244ee361f76ff4ebed139d2a1b9572",id:"content",part:r,role:"region","aria-labelledby":"header",ref:e=>this.contentEl=e},Ql("div",{key:"943b65d9a129759b4c213974ae5ed777b5f6166e",id:"content-wrapper",ref:e=>this.contentElWrapper=e},Ql("slot",{key:"b0df520dad9d5557df63a35f8206ada4a765d238",name:"content"}))))}static get delegatesFocus(){return!0}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return{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}}"}}},[305,"ion-accordion",{value:[1],disabled:[4],readonly:[4],toggleIcon:[1,"toggle-icon"],toggleIconSlot:[1,"toggle-icon-slot"],state:[32],isNext:[32],isPrevious:[32],hasInteracted:[32]},void 0,{value:[{valueChanged:0}]}]);let yu=0;const wu=function(){"undefined"!=typeof customElements&&["ion-accordion","ion-icon"].forEach(e=>{switch(e){case"ion-accordion":customElements.get(e)||customElements.define(e,vu);break;case"ion-icon":customElements.get(e)||bu()}})},xu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionValueChange=bc(this,"ionValueChange",7),this.animated=!0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:e,multiple:t}=this;!t&&Array.isArray(e)&&Ms('[ion-accordion-group] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: ['.concat(e.map(e=>"'".concat(e,"'")).join(", "),"]\n"),this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:e}=this,t=await this.getAccordions();for(const n of t)n.disabled=e}async readonlyChanged(){const{readonly:e}=this,t=await this.getAccordions();for(const n of t)n.readonly=e}async onKeydown(e){const t=document.activeElement;if(!t)return;if(!t.closest('ion-accordion [slot="header"]'))return;const n="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!n)return;if(n.closest("ion-accordion-group")!==this.el)return;const i=await this.getAccordions(),o=i.findIndex(e=>e===n);if(-1===o)return;let r;"ArrowDown"===e.key?r=this.findNextAccordion(i,o):"ArrowUp"===e.key?r=this.findPreviousAccordion(i,o):"Home"===e.key?r=i[0]:"End"===e.key&&(r=i[i.length-1]),void 0!==r&&r!==t&&r.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged(),this.valueChanged()}setValue(e){const t=this.value=e;this.ionChange.emit({value:t})}async requestAccordionToggle(e,t){const{multiple:n,value:i,readonly:o,disabled:r}=this;if(!o&&!r)if(t)if(n){const t=null!=i?i:[],n=Array.isArray(t)?t:[t];void 0===n.find(t=>t===e)&&void 0!==e&&this.setValue([...n,e])}else this.setValue(e);else if(n){const t=null!=i?i:[];this.setValue((Array.isArray(t)?t:[t]).filter(t=>t!==e))}else this.setValue(void 0)}findNextAccordion(e,t){const n=e[t+1];return void 0===n?e[0]:n}findPreviousAccordion(e,t){const n=e[t-1];return void 0===n?e[e.length-1]:n}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:e,readonly:t,expand:n}=this,i=tu(this);return Ql(tc,{key:"d1a79a93179474fbba66fcf11a92f4871dacc975",class:{[i]:!0,"accordion-group-disabled":e,"accordion-group-readonly":t,["accordion-group-expand-"+n]:!0},role:"presentation"},Ql("slot",{key:"e6b8954b686d1fbb4fc92adb07fddc97a24b0a31"}))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}],disabled:[{disabledChanged:0}],readonly:[{readonlyChanged:0}]}}static get style(){return{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-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-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}"}}},[289,"ion-accordion-group",{animated:[4],multiple:[4],value:[1025],disabled:[4],readonly:[4],expand:[1],requestAccordionToggle:[64],getAccordions:[64]}
2,[[0,"keydown","onKeydown"]],{value:[{valueChanged:0}],disabled:[{disabledChanged:0}],readonly:[{readonlyChanged:0}]}]),ku=function(){"undefined"!=typeof customElements&&["ion-accordion-group"].forEach(e=>{"ion-accordion-group"===e&&(customElements.get(e)||customElements.define(e,xu))})},_u=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return Ql(tc,{key:"998217066084f966bf5d356fed85bcbd451f675a",class:tu(this)},Ql("slot",{key:"1a6f7c9d4dc6a875f86b5b3cda6d59cb39587f22"}))}static get style(){return{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}"}}},[289,"ion-avatar"]),Eu=function(){"undefined"!=typeof customElements&&["ion-avatar"].forEach(e=>{"ion-avatar"===e&&(customElements.get(e)||customElements.define(e,_u))})},Su=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=bc(this,"ionBackdropTap",7),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}onMouseDown(e){this.emitTap(e)}emitTap(e){this.stopPropagation&&(e.preventDefault(),e.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const e=tu(this);return Ql(tc,{key:"7abaf2c310aa399607451b14063265e8a5846938","aria-hidden":"true",class:{[e]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{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)}"}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function Cu(){"undefined"!=typeof customElements&&["ion-backdrop"].forEach(e=>{"ion-backdrop"===e&&(customElements.get(e)||customElements.define(e,Su))})}const Tu=(e,t)=>null!==t.closest(e),Iu=(e,t)=>"string"==typeof e&&e.length>0?Object.assign({"ion-color":!0,["ion-color-".concat(e)]:!0},t):t,Au=e=>{const t={};return(n=e,void 0!==n?(Array.isArray(n)?n:n.split(" ")).filter(e=>null!=e).map(e=>e.trim()).filter(e=>""!==e):[]).forEach(e=>t[e]=!0),t;var n},Pu=/^[a-z][a-z0-9+\-.]*:/,Ou=async(e,t,n,i)=>{if(null!=e&&"#"!==e[0]&&!Pu.test(e)){const o=document.querySelector("ion-router");if(o)return null!=t&&t.preventDefault(),o.push(e,n,i)}return!1},Ru=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const e=tu(this);return Ql(tc,{key:"1a2d39c5deec771a2f2196447627b62a7d4c8389",class:Iu(this.color,{[e]:!0})},Ql("slot",{key:"fc1b6587f1ed24715748eb6785e7fb7a57cdd5cd"}))}static get style(){return{ios:":host{--background:var(--ion-color-primary, #0054e9);--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, #0054e9);--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}"}}},[289,"ion-badge",{color:[513]}
2]),Lu=function(){"undefined"!=typeof customElements&&["ion-badge"].forEach(e=>{"ion-badge"===e&&(customElements.get(e)||customElements.define(e,Ru))})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.collapsedClick=bc(this,"collapsedClick",7),this.inheritedAttributes={},this.collapsed=!1,this.active=!1,this.disabled=!1,this.routerDirection="forward",this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.collapsedIndicatorClick=()=>{this.collapsedClick.emit({ionShadowTarget:this.collapsedRef})}}componentWillLoad(){this.inheritedAttributes=yd(this.el)}isClickable(){return void 0!==this.href}render(){const{color:e,active:t,collapsed:n,disabled:i,download:o,el:r,inheritedAttributes:a,last:s,routerAnimation:l,routerDirection:c,separator:d,showCollapsedIndicator:u,target:p}=this,h=this.isClickable(),m=void 0===this.href?"span":"a",f=i?void 0:this.href,g=tu(this),b="span"===m?{}:{download:o,href:f,target:p},v=!s&&(n?!(!u||s):d);return Ql(tc,{key:"32ca61c83721dff52b5e97171ed449dce3584a55",onClick:e=>Ou(f,e,c,l),"aria-disabled":i?"true":null,class:Iu(e,{[g]:!0,"breadcrumb-active":t,"breadcrumb-collapsed":n,"breadcrumb-disabled":i,"in-breadcrumbs-color":Tu("ion-breadcrumbs[color]",r),"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"ion-activatable":h,"ion-focusable":h})},Ql(m,Object.assign({key:"479feb845f4a6d8009d5422b33eb423730b9722b"},b,{class:"breadcrumb-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},a),Ql("slot",{key:"3c5dcaeb0d258235d1b7707868026ff1d1404099",name:"start"}),Ql("slot",{key:"f1cfb934443cd97dc220882c5e3596ea879d66cf"}),Ql("slot",{key:"539710121b5b1f3ee8d4c24a9651b67c2ae08add",name:"end"})),u&&Ql("button",{key:"ed53a95ccd89022c8b7bee0658a221ec62a5c73b",part:"collapsed-indicator","aria-label":"Show more breadcrumbs",onClick:()=>this.collapsedIndicatorClick(),ref:e=>this.collapsedRef=e,class:{"breadcrumbs-collapsed-indicator":!0}},Ql("ion-icon",{key:"a849e1142a86f06f207cf11662fa2a560ab7fc6a","aria-hidden":"true",icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",lazy:!1})),v&&Ql("span",{key:"fc3c741cb01fafef8b26046c7ee5b190efc69a7c",class:"breadcrumb-separator",part:"separator","aria-hidden":"true"},Ql("slot",{key:"4871932ae1dae520767e0713e7cee2d11b0bba6d",name:"separator"},"ios"===g?Ql("ion-icon",{icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",lazy:!1,"flip-rtl":!0}):Ql("span",null,"/"))))}get el(){return this}static get style(){return{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, var(--ion-text-color-step-150, #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, var(--ion-background-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, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-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, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-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, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #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, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}"}}},[289,"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]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionCollapsedClick=bc(this,"ionCollapsedClick",7),this.itemsBeforeCollapse=1,this.itemsAfterCollapse=1,this.breadcrumbsInit=()=>{this.setBreadcrumbSeparator(),this.setMaxItems()},this.resetActiveBreadcrumb=()=>{const e=this.getBreadcrumbs().find(e=>e.active);e&&this.activeChanged&&(e.active=!1)},this.setMaxItems=()=>{const{itemsAfterCollapse:e,itemsBeforeCollapse:t,maxItems:n}=this,i=this.getBreadcrumbs();for(const o of i)o.showCollapsedIndicator=!1,o.collapsed=!1;void 0!==n&&i.length>
2n&&t+e<=n&&i.forEach((n,o)=>{o===t&&(n.showCollapsedIndicator=!0),o>=t&&o<i.length-e&&(n.collapsed=!0)})},this.setBreadcrumbSeparator=()=>{const{itemsAfterCollapse:e,itemsBeforeCollapse:t,maxItems:n}=this,i=this.getBreadcrumbs(),o=i.find(e=>e.active);for(const r of i){const a=void 0!==n&&0===e?r===i[t]:r===i[i.length-1];r.last=a,r.separator=void 0!==r.separator?r.separator:!a||void 0,!o&&a&&(r.active=!0,this.activeChanged=!0)}},this.getBreadcrumbs=()=>Array.from(this.el.querySelectorAll("ion-breadcrumb")),this.slotChanged=()=>{this.resetActiveBreadcrumb(),this.breadcrumbsInit()}}onCollapsedClick(e){const t=this.getBreadcrumbs().filter(e=>e.collapsed);this.ionCollapsedClick.emit(Object.assign(Object.assign({},e.detail),{collapsedBreadcrumbs:t}))}maxItemsChanged(){this.resetActiveBreadcrumb(),this.breadcrumbsInit()}componentWillLoad(){this.breadcrumbsInit()}render(){const{color:e,collapsed:t}=this,n=tu(this);return Ql(tc,{key:"fe64e9cdf597ede2db140bf5fa05a0359d82db57",class:Iu(e,{[n]:!0,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"breadcrumbs-collapsed":t})},Ql("slot",{key:"a2c99b579e339055c50a613d5c6b61032f5ddffe",onSlotchange:this.slotChanged}))}get el(){return this}static get watchers(){return{maxItems:[{maxItemsChanged:0}],itemsBeforeCollapse:[{maxItemsChanged:0}],itemsAfterCollapse:[{maxItemsChanged:0}]}}static get style(){return{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}"}}},[289,"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:0}],itemsBeforeCollapse:[{maxItemsChanged:0}],itemsAfterCollapse:[{maxItemsChanged:0}]}]);const Du=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(e,t){return new Promise(n=>{fl(()=>{const i=this.el.getBoundingClientRect(),o=i.width,r=i.height,a=Math.sqrt(o*o+r*r),s=Math.max(r,o),l=this.unbounded?s:a+Mu,c=Math.floor(s*zu),d=l/c;let u=e-i.left,p=t-i.top;this.unbounded&&(u=.5*o,p=.5*r);const h=u-.5*c,m=p-.5*c,f=.5*o-u,g=.5*r-p;gl(()=>{const e=document.createElement("div");e.classList.add("ripple-effect");const t=e.style;t.top=m+"px",t.left=h+"px",t.width=t.height=c+"px",t.setProperty("--final-scale","".concat(d)),t.setProperty("--translate-end","".concat(f,"px, ").concat(g,"px")),(this.el.shadowRoot||this.el).appendChild(e),setTimeout(()=>{n(()=>{Nu(e)})},325)})})})}get unbounded(){return"unbounded"===this.type}render(){const e=tu(this);return Ql(tc,{key:"3b59cbb44741569a7350f9638b4392add673b6f1",role:"presentation",class:{[e]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return":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}
2to{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}}"}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),Nu=e=>{e.classList.add("fade-out"),setTimeout(()=>{e.remove()},200)},Mu=10,zu=.5;function ju(){"undefined"!=typeof customElements&&["ion-ripple-effect"].forEach(e=>{"ion-ripple-effect"===e&&(customElements.get(e)||customElements.define(e,Du))})}const Bu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.isCircle=!1,this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=e=>{const{el:t}=this;var n;"button"===this.type?Ou(this.href,e,this.routerDirection,this.routerAnimation):(n=t).shadowRoot&&n.attachShadow&&this.submitForm(e)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.slotChanged=()=>{this.isCircle=this.hasIconOnly}}disabledChanged(){const{disabled:e}=this;this.formButtonEl&&(this.formButtonEl.disabled=e)}onAriaChanged(e,t,n){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[n]:e}),ed(this)}renderHiddenButton(){const e=this.formEl=this.findForm();if(e){const{formButtonEl:t}=this;if(null!==t&&e.contains(t))return t.disabled=this.disabled,void(t.type=this.type);const n=this.formButtonEl=document.createElement("button");
2n.type=this.type,n.style.display="none",n.disabled=this.disabled,e.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=yd(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:e}=this;if(e instanceof HTMLFormElement)return e;if("string"==typeof e){const t=document.getElementById(e);return t?t instanceof HTMLFormElement?t:(Ms('[ion-button] - Form with selector: "#'.concat(e,'" could not be found. Verify that the id is attached to a <form> element.'),this.el),null):(Ms('[ion-button] - Form with selector: "#'.concat(e,'" could not be found. Verify that the id is correct and the form is rendered in the DOM.'),this.el),null)}return void 0!==e?(Ms(0,this.el),null):this.el.closest("form")}submitForm(e){this.formEl&&this.formButtonEl&&(e.preventDefault(),this.formButtonEl.click())}render(){const e=tu(this),{buttonType:t,type:n,disabled:i,rel:o,target:r,size:a,href:s,color:l,expand:c,hasIconOnly:d,shape:u,strong:p,inheritedAttributes:h}=this,m=void 0===a&&this.inItem?"small":a,f=void 0===s?"button":"a",g="button"===f?{type:n}:{download:this.download,href:s,rel:o,target:r};let b=this.fill;return void 0===b&&(b=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),Ql(tc,{key:"82c71b8cbf3bb51e443f4aa99c375bf5be6b8dc7",onClick:this.handleClick,"aria-disabled":i?"true":null,class:Iu(l,{[e]:!0,[t]:!0,["".concat(t,"-").concat(c)]:void 0!==c,["".concat(t,"-").concat(m)]:void 0!==m,["".concat(t,"-").concat(u)]:void 0!==u,["".concat(t,"-").concat(b)]:!0,["".concat(t,"-strong")]:p,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"in-buttons":Tu("ion-buttons",this.el),"button-has-icon-only":d,"button-disabled":i,"ion-activatable":!0,"ion-focusable":!0})},Ql(f,Object.assign({key:"53f4cb366bac796ab38f609e858bc1a55fce7641"},g,{class:"button-native",part:"native",disabled:i,onFocus:this.onFocus,onBlur:this.onBlur},h),Ql("span",{key:"40e127fc11c889e77b8bf02e8714f0dea83bfce7",class:"button-inner"},Ql("slot",{key:"e11c8c86d3f0894658a8999129425c9c111f5540",name:"icon-only",onSlotchange:this.slotChanged}),Ql("slot",{key:"105ea9259ea17036359e6fe7eced8b267ab8e0f6",name:"start"}),Ql("slot",{key:"0d7b0966e328a5b10b0562dacbd638dfd08d92af"}),Ql("slot",{key:"c542b40685802464d69f57ecc0a7c3465d24a417",name:"end"})),"md"===e&&Ql("ion-ripple-effect",{key:"46df4cbeb057b0a8daab92226121d8bbb8c0ee07",type:this.rippleType})))}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],"aria-checked":[{onAriaChanged:0}],"aria-label":[{onAriaChanged:0}],"aria-pressed":[{onAriaChanged:0}]}}static get style(){return
vendor: 17,721 bytes, line 2
2{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:normal;-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, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}: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}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, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--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, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--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, #0054e9);--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-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}: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:normal;-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, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}: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}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), background-color 15ms linear, 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, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--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, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:999px;--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-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}: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))}'}
2}},[289,"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],isCircle:[32]},void 0,{disabled:[{disabledChanged:0}],"aria-checked":[{onAriaChanged:0}],"aria-label":[{onAriaChanged:0}],"aria-pressed":[{onAriaChanged:0}]}]);function Fu(){"undefined"!=typeof customElements&&["ion-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-button":customElements.get(e)||customElements.define(e,Bu);break;case"ion-ripple-effect":customElements.get(e)||ju()}})}const Vu=Fu,Uu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.collapse=!1}render(){const e=tu(this);return Ql(tc,{key:"58c1fc5eb867d0731c63549b1ccb3ec3bbbe6e1b",class:{[e]:!0,"buttons-collapse":this.collapse}},Ql("slot",{key:"0c8f95b9840c8fa0c4e50be84c5159620a3eb5c8"}))}static get style(){return{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;
2--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}"}}},[294,"ion-buttons",{collapse:[4]}]);function qu(){"undefined"!=typeof customElements&&["ion-buttons"].forEach(e=>{"ion-buttons"===e&&(customElements.get(e)||customElements.define(e,Uu))})}const Hu=qu;sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inheritedAriaAttributes={},this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}componentWillLoad(){this.inheritedAriaAttributes=bd(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(e){const t=this.isClickable();if(!t)return[Ql("slot",null)];const{href:n,routerAnimation:i,routerDirection:o,inheritedAriaAttributes:r}=this,a=t?void 0===n?"button":"a":"div";return Ql(a,Object.assign({}
2,"button"===a?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},r,{class:"card-native",part:"native",disabled:this.disabled,onClick:e=>Ou(n,e,o,i)}),Ql("slot",null),t&&"md"===e&&Ql("ion-ripple-effect",null))}render(){const e=tu(this);return Ql(tc,{key:"85e9b30bd81e79a0c7ac75cb3664bdcf9e4afc4d",class:Iu(this.color,{[e]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(e))}get el(){return this}static get style(){return{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, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-450, #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)}"}}},[289,"ion-card",{color:[513],button:[4],type:[1],disabled:[4],download:[1],href:[1],rel:[1],routerDirection:[1,"router-direction"],routerAnimation:[16],target:[1]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost()}render(){const e=tu(this);return Ql(tc,{key:"d98e4d1fc6ad3237549f9bc17e4c67ec5059b1b3",class:{[e]:!0,["card-content-"+e]:!0}})}static get style(){return{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}"}}},[32,"ion-card-content"]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.translucent=!1}render(){const e=tu(this);return Ql(tc,{key:"64246b81931203a64d553c788cd736f41e23f37b",class:Iu(this.color,{"card-header-translucent":this.translucent,"ion-in
2herit-color":!0,[e]:!0})},Ql("slot",{key:"af2da2dfe266889afeb57fac25c6a730558dbba4"}))}static get style(){return{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}"}}},[289,"ion-card-header",{color:[513],translucent:[4]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const e=tu(this);return Ql(tc,{key:"84d820a19d9074f9c8bc61ccba1ca40062a60b73",role:"heading","aria-level":"3",class:Iu(this.color,{"ion-inherit-color":!0,[e]:!0})},Ql("slot",{key:"e4d07d395a1f4469a90847636083101b32b776a1"}))}static get style(){return{ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-450, #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}"}}},[289,"ion-card-subtitle",{color:[513]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const e=tu(this);return Ql(tc,{key:"fca001a86396e83718d5211cd71912fdf40dea2f",role:"heading","aria-level":"2",class:Iu(this.color,{"ion-inherit-color":!0,[e]:!0})},Ql("slot",{key:"2ba416aed488b2ff462fa75fb3b70373a6dd7da6"}))}static get style(){return{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, var(--ion-text-color-step-150, #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}"}}},[289,"ion-card-title",{color:[513]}]);const Wu=e=>{const t=e.classList.contains("ion-touched"),n=e.classList.contains("ion-invalid");return t&&n},Gu=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.inputId="ion-cb-"+$u++,this.inputLabelId="".concat(this.inputId,"-lbl"),this.helperTextId="".concat(this.inputId,"-helper-text"),this.errorTextId="".concat(this.inputId,"-error-text"),this.inheritedAttributes={},this.name=this.inputId,this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.value="on",this.labelPlacement="start",this.required=!1,this.isInvalid=!1,this.hasLabelContent=!1,this.setChecked=e=>{const t=this.checked=e;this.ionChange.emit({checked:t,value:this.value})},this.toggleChecked=e=>{e.preventDefault(),this.setChecked(!this.checked),this.indeterminate=!1},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onKeyDown=e=>{" "===e.key&&(e.preventDefault(),this.disabled||this.toggleChecked(e))},this.onClick=e=>{this.disabled||this.toggleChecked(e)},this.onDivLabelClick=e=>{e.stopPropagation()}}connectedCallback(){const{el:e}=this;"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(t=>{if(t.some(e=>
2"characterData"===e.type||"childList"===e.type)&&(this.hasLabelContent=""!==this.el.textContent),t.some(t=>"attributes"===t.type&&t.target===e)){const t=Wu(e);this.isInvalid!==t&&(this.isInvalid=t,Promise.resolve().then(()=>{this.hintTextId=this.getHintTextId()}))}}),this.validationObserver.observe(e,{attributes:!0,attributeFilter:["class"],characterData:!0,childList:!0,subtree:!0})),this.isInvalid=Wu(e),this.hasLabelContent=""!==this.el.textContent}componentWillLoad(){this.inheritedAttributes=Object.assign({},yd(this.el)),this.hintTextId=this.getHintTextId()}disconnectedCallback(){this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}async setFocus(){this.el.focus()}getHintTextId(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return o&&t?i:e?n:void 0}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;if(e||t)return Ql("div",{class:"checkbox-bottom"},Ql("div",{id:n,class:"helper-text",part:"supporting-text helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",part:"supporting-text error-text",role:"alert"},o?t:null))}render(){const{color:e,checked:t,disabled:n,el:i,getSVGPath:o,indeterminate:r,inheritedAttributes:a,inputId:s,justify:l,labelPlacement:c,name:d,value:u,alignment:p,required:h}=this,m=tu(this),f=o(m,r);return Sd(0,i,d,t?u:"",n),Ql(tc,{key:"0da370f94c5cdf3b08bc9008395558334a300f35",role:"checkbox","aria-checked":r?"mixed":"".concat(t),"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,"aria-labelledby":this.hasLabelContent?this.inputLabelId:null,"aria-label":a["aria-label"]||null,"aria-disabled":n?"true":null,"aria-required":h?"true":void 0,tabindex:n?void 0:0,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:Iu(e,{[m]:!0,"in-item":Tu("ion-item",i),"checkbox-checked":t,"checkbox-disabled":n,"checkbox-indeterminate":r,interactive:!0,["checkbox-justify-".concat(l)]:void 0!==l,["checkbox-alignment-".concat(p)]:void 0!==p,["checkbox-label-placement-".concat(c)]:!0})},Ql("label",{key:"991f1763356671230af119a5fbdc22d0a39974e7",class:"checkbox-wrapper",htmlFor:s},Ql("input",Object.assign({key:"982f8a7f84d013b272b17607936355d2b6c251f4",type:"checkbox",checked:!!t||void 0,disabled:n,id:s,onChange:this.toggleChecked,required:h},a)),Ql("div",{key:"c8f9e8baa20ac68e69fd3c6fcf0e7a26a1084d83",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabelContent},part:"label",id:this.inputLabelId,onClick:this.onDivLabelClick},Ql("slot",{key:"6018205e0a73dec826c7881d687f1c2ca8dcb0ab"}),this.renderHintText()),Ql("div",{key:"57530b9d6ff59ee7ab98f960cd65d66ee87cfd1d",class:"native-wrapper"},Ql("svg",{key:"63d719154ff44459e9ca448e3f5d7de94d9ab248",class:"checkbox-icon",viewBox:"0 0 24 24",part:"container","aria-hidden":"true"},f))))}getSVGPath(e,t){let n=Ql("path",t?{d:"M6 12L18 12",part:"mark"}:{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});return"md"===e&&(n=Ql("path",t?{d:"M2 12H22",part:"mark"}:{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})),n}get el(){return this}static get style(){return{ios:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--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){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-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{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-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}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}
2.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}: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;-ms-flex-pack:start;justify-content:start}: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;text-align:center}: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-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-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}: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.125rem;--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.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}",md:":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--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){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;
2height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-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{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-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}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}: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;-ms-flex-pack:start;justify-content:start}: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;text-align:center}: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-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-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}: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(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}"}}},[289,"ion-checkbox",{color:[513],name:[1],checked:[1028],indeterminate:[1028],disabled:[4],errorText:[1,"error-text"],helperText:[1,"helper-text"],value:[8],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1],required:[4],isInvalid:[32],hasLabelContent:[32],hintTextId:[32],setFocus:[64]}]);let $u=0;
2function Yu(){"undefined"!=typeof customElements&&["ion-checkbox"].forEach(e=>{"ion-checkbox"===e&&(customElements.get(e)||customElements.define(e,Gu))})}const Xu=Yu,Ku=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.outline=!1,this.disabled=!1}render(){const e=tu(this);return Ql(tc,{key:"fa2e9a4837ef87a17ef10f388e8caa7f604d9145","aria-disabled":this.disabled?"true":null,class:Iu(this.color,{[e]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},Ql("slot",{key:"3793fbd9d915cef7241fb101e2bc64c08b9ba482"}),"md"===e&&Ql("ion-ripple-effect",{key:"d3b95b53918611dec095a50f2aaaab65617947a4"}))}static get style(){return{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)}
2::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}"}}},[289,"ion-chip",{color:[513],outline:[4],disabled:[4]}]),Ju=function(){"undefined"!=typeof customElements&&["ion-chip","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-chip":customElements.get(e)||customElements.define(e,Ku);break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Zu={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},Qu=e=>void 0===e||""===e||!!window.matchMedia&&window.matchMedia(Zu[e]).matches,ep="undefined"!=typeof window?window:void 0,tp=ep&&!!(ep.CSS&&ep.CSS.supports&&ep.CSS.supports("--a: 0")),np=["","xs","sm","md","lg","xl"],ip=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}onResize(){ed(this)}getColumns(e){let t;for(const n of np){const i=Qu(n),o=this[e+n.charAt(0).toUpperCase()+n.slice(1)];i&&void 0!==o&&(t=o)}return t}calculateSize(){const e=this.getColumns("size");if(!e||""===e)return;const t="auto"===e?"auto":tp?"calc(calc(".concat(e," / var(--ion-grid-columns, 12)) * 100%)"):e/12*100+"%";return{flex:"0 0 "+t,width:""+t,"max-width":""+t}}calculatePosition(e,t){const n=this.getColumns(e);if(!n)return;const i=tp?"calc(calc(".concat(n," / var(--ion-grid-columns, 12)) * 100%)"):n>0&&n<12?n/12*100+"%":"auto";return{[t]:i}}calculateOffset(e){return this.calculatePosition("offset",e?"margin-right":"margin-left")}calculatePull(e){return this.calculatePosition("pull",e?"left":"right")}calculatePush(e){return this.calculatePosition("push",e?"right":"left")}render(){const e="rtl"===document.dir,t=tu(this);return Ql(tc,{key:"32ed75d81dd09d9bc8999f6d42e5b3cb99c84d91",class:{[t]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(e)),this.calculatePull(e)),this.calculatePush(e)),this.calculateSize())},Ql("slot",{key:"38f8d0440c20cc6d1b1d6a654d07f16de61d8134"}))}static get style(){return":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-p
2adding-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))}}"}},[257,"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"]]]),op=function(){"undefined"!=typeof customElements&&["ion-col"].forEach(e=>{"ion-col"===e&&(customElements.get(e)||customElements.define(e,ip))})},rp=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),ap=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionScrollStart=bc(this,"ionScrollStart",7),this.ionScroll=bc(this,"ionScroll",7),this.ionScrollEnd=bc(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.inheritedAttributes={},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.fullscreen=!1,this.fixedSlotPlacement="after",this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}componentWillLoad(){this.inheritedAttributes=yd(this.el)}connectedCallback(){if(this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal"),gd(this.el)){const e=this.tabsElement=this.el.closest("ion-tabs");null!==e&&(this.tabsLoadCallback=()=>this.resize(),e.addEventListener("ionTabBarLoaded",this.tabsLoadCallback))}}disconnectedCallback(){if(this.onScrollEnd(),gd(this.el)){const{tabsElement:e,tabsLoadCallback:t}=this;
2null!==e&&void 0!==t&&e.removeEventListener("ionTabBarLoaded",t),this.tabsElement=null,this.tabsLoadCallback=void 0}this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null)}onResize(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.resizeTimeout=setTimeout(()=>{null!==this.el.offsetParent&&this.resize()},100)}shouldForceOverscroll(){const{forceOverscroll:e}=this,t=tu(this);return void 0===e?"ios"===t&&Ud("ios"):e}resize(){this.fullscreen?fl(()=>this.readDimensions()):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,ed(this))}async recalculateDimensions(){fl(()=>this.readDimensions())}readDimensions(){const e=sp(this.el),t=Math.max(this.el.offsetTop,0),n=Math.max(e.offsetHeight-t-this.el.offsetHeight,0);(t!==this.cTop||n!==this.cBottom)&&(this.cTop=t,this.cBottom=n,ed(this))}onScroll(e){const t=Date.now(),n=!this.isScrolling;this.lastScroll=t,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,fl(t=>{this.queued=!1,this.detail.event=e,lp(this.detail,this.scrollEl,t,n),this.ionScroll.emit(this.detail)}))}async getScrollElement(){return this.scrollEl||await new Promise(e=>fd(this.el,e)),Promise.resolve(this.scrollEl)}async getBackgroundElement(){return this.backgroundContentEl||await new Promise(e=>fd(this.el,e)),Promise.resolve(this.backgroundContentEl)}scrollToTop(e=0){return this.scrollToPoint(void 0,0,e)}
2async scrollToBottom(e=0){const t=await this.getScrollElement();return this.scrollToPoint(void 0,t.scrollHeight-t.clientHeight,e)}async scrollByPoint(e,t,n){const i=await this.getScrollElement();return this.scrollToPoint(e+i.scrollLeft,t+i.scrollTop,n)}async scrollToPoint(e,t,n=0){const i=await this.getScrollElement();if(n<32)return null!=t&&(i.scrollTop=t),void(null!=e&&(i.scrollLeft=e));let o,r=0;const a=new Promise(e=>o=e),s=i.scrollTop,l=i.scrollLeft,c=null!=t?t-s:0,d=null!=e?e-l:0,u=e=>{const t=Math.min(1,(e-r)/n)-1,a=Math.pow(t,3)+1;0!==c&&(i.scrollTop=Math.floor(a*c+s)),0!==d&&(i.scrollLeft=Math.floor(a*d+l)),a<1?requestAnimationFrame(u):o()};return requestAnimationFrame(e=>{r=e,u(e)}),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval(()=>{this.lastScroll<Date.now()-120&&this.onScrollEnd()},100)}onScrollEnd(){this.watchDog&&clearInterval(this.watchDog),this.watchDog=null,this.isScrolling&&(this.isScrolling=!1,this.ionScrollEnd.emit({isScrolling:!1}))}render(){const{fixedSlotPlacement:e,inheritedAttributes:t,isMainContent:n,scrollX:i,scrollY:o,el:r}=this,a=rp(r)?"rtl":"ltr",s=tu(this),l=this.shouldForceOverscroll(),c="ios"===s;return this.resize(),Ql(tc,Object.assign({key:"8c1bc4a4df8698d3884741eb38512dc059210c50",role:n?"main":void 0,class:Iu(this.color,{[s]:!0,"content-fullscreen":this.fullscreen,"content-sizing":Tu("ion-popover",this.el),overscroll:l,["content-".concat(a)]:!0}),style:{"--offset-top":"".concat(this.cTop,"px"),"--offset-bottom":"".concat(this.cBottom,"px")}},t),Ql("div",{key:"5e7412549b51ef7543d9378ecab9aac6bc461588",ref:e=>this.backgroundContentEl=e,id:"background-content",part:"background"}),"before"===e?Ql("slot",{name:"fixed"}):null,Ql("div",{key:"33f6fbf7e1e027c7cbd2dda95b487f18dc648cef",class:{"inner-scroll":!0,"scroll-x":i,"scroll-y":o,overscroll:(i||o)&&l},ref:e=>this.scrollEl=e,onScroll:this.scrollEvents?e=>this.onScroll(e):void 0,part:"scroll"},Ql("slot",{key:"00c8fe7b9e73533c702273c9457d274195d54e98"})),c?Ql("div",{class:"transition-effect"},Ql("div",{class:"transition-cover"}),Ql("div",{class:"transition-shadow"})):null,"after"===e?Ql("slot",{name:"fixed"}):null)}get el(){return this}static get style(){return':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)}#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) + var(--internal-content-safe-area-padding-bottom, 0px));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}
2.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)}'}},[257,"ion-content",{color:[513],fullscreen:[4],fixedSlotPlacement:[1,"fixed-slot-placement"],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],recalculateDimensions:[64],getScrollElement:[64],getBackgroundElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[9,"resize","onResize"]]]),sp=e=>{const t=e.closest("ion-tabs");return t||(e.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content")||((n=e).parentElement?n.parentElement:(null===(i=n.parentNode)||void 0===i?void 0:i.host)?n.parentNode.host:null));var n,i},lp=(e,t,n,i)=>{const o=e.currentX,r=e.currentY,a=t.scrollLeft,s=t.scrollTop,l=n-e.currentTime;if(i&&(e.startTime=n,e.startX=a,e.startY=s,e.velocityX=e.velocityY=0),e.currentTime=n,e.currentX=e.scrollLeft=a,e.currentY=e.scrollTop=s,e.deltaX=a-e.startX,e.deltaY=s-e.startY,l>0&&l<100){const t=(s-r)/l;e.velocityX=(a-o)/l*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}};function cp(){"undefined"!=typeof customElements&&["ion-content"].forEach(e=>{"ion-content"===e&&(customElements.get(e)||customElements.define(e,ap))})}const dp=cp,up="ion-focused",pp=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],hp=e=>{let t=[],n=!0;const i=e?e.shadowRoot:document,o=e||document.body,r=e=>{t.forEach(e=>e.classList.remove(up)),e.forEach(e=>e.classList.add(up)),t=e},a=()=>{n=!1,r([])},s=e=>{n=pp.includes(e.key),n||r([])},l=e=>{if(n&&void 0!==e.composedPath){const t=e.composedPath().filter(e=>!!e.classList&&e.classList.contains("ion-focusable"));r(t)}},c=()=>{i.activeElement===o&&r([])};return i.addEventListener("keydown",s),i.addEventListener("focusin",l),i.addEventListener("focusout",c),i.addEventListener("touchstart",a,{passive:!0}),i.addEventListener("mousedown",a),{destroy:()=>{i.removeEventListener("keydown",s),i.removeEventListener("focusin",l),i.removeEventListener("focusout",c),i.removeEventListener("touchstart",a),i.removeEventListener("mousedown",a)},setFocus:r}},mp=Object.freeze(Object.defineProperty({__proto__:null,startFocusVisible:hp},Symbol.toStringTag,{value:"Module"})),fp="undefined"!=typeof window?window:void 0,gp="undefined"!=typeof document?document:void 0,bp=()=>Ps.get("experimentalCloseWatcher",!1)&&void 0!==fp&&"CloseWatcher"in fp,vp=Object.freeze(Object.defineProperty({__proto__:null,MENU_BACK_BUTTON_PRIORITY:99,OVERLAY_BACK_BUTTON_PRIORITY:100,blockHardwareBackButton:()=>{document.addEventListener("backbutton",()=>{})},shouldUseCloseWatcher:bp,startHardwareBackButton:()=>{const e=document;let t=!1;const n=()=>
2{if(t)return;let n=0,i=[];const o=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){i.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(o);const r=()=>{if(i.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};i.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,i=i.filter(t=>t.id!==e.id),(async e=>{try{if(null==e?void 0:e.handler){const t=e.handler(r);null!=t&&await t}}catch(t){zs(0)}})(e).then(()=>t=!1)}};r()};if(bp()){let e;const t=()=>{null==e||e.destroy(),e=new fp.CloseWatcher,e.onclose=()=>{n(),t()}};t()}else e.addEventListener("backbutton",n)}},Symbol.toStringTag,{value:"Module"})),yp=async(e,t,n,i,o,r)=>{var a;if(e)return e.attachViewToDom(t,n,o,i);if(!(r||"string"==typeof n||n instanceof HTMLElement))throw new Error("framework delegate is missing");const s="string"==typeof n?null===(a=t.ownerDocument)||void 0===a?void 0:a.createElement(n):n;return i&&i.forEach(e=>s.classList.add(e)),o&&Object.assign(s,o),t.appendChild(s),await new Promise(e=>fd(s,e)),s},wp=(e,t)=>{if(t){if(e)return e.removeViewFromDom(t.parentElement,t);t.remove()}return Promise.resolve()},xp=()=>{let e,t;return{attachViewToDom:async(n,i,o={},r=[])=>{var a,s;let l;if(e=n,i){const t="string"==typeof i?null===(a=e.ownerDocument)||void 0===a?void 0:a.createElement(i):i;r.forEach(e=>t.classList.add(e)),Object.assign(t,o),e.appendChild(t),l=t,await new Promise(e=>fd(t,e))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(l=e.children[0]).classList.contains("ion-delegate-host")){const t=null===(s=e.ownerDocument)||void 0===s?void 0:s.createElement("div");t.classList.add("ion-delegate-host"),r.forEach(e=>t.classList.add(e)),t.append(...e.children),e.appendChild(t),l=t}const c=document.querySelector("ion-app")||document.body;return t=document.createComment("ionic teleport"),e.parentNode.insertBefore(t,e),c.appendChild(e),null!=l?l:e},removeViewFromDom:()=>(e&&t&&(t.parentNode.insertBefore(e,t),t.remove()),Promise.resolve())}};let kp=class{constructor(e,t,n,i,o){this.id=t,this.name=n,this.disableScroll=o,this.priority=1e6*i+t,this.ctrl=e}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 e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}},_p=class{constructor(e,t,n,i){this.id=t,this.disable=n,this.disableScroll=i,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}};const Ep="backdrop-no-scroll",Sp=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){var t;return new kp(this,this.newID(),e.name,null!==(t=e.priority)&&void 0!==t?t:0,!!e.disableScroll)}createBlocker(e={}){return new _p(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const i=this.requestedStart;let o=-1e4;if(i.forEach(e=>{o=Math.max(o,e)}),o===n){this.capturedId=t,i.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return i.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add(Ep)}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove(Ep
2)}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}},Cp='[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-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',Tp=(e,t)=>{const n=e.querySelector(Cp);Ap(n,null!=t?t:e)},Ip=(e,t)=>{const n=Array.from(e.querySelectorAll(Cp));Ap(n.length>0?n[n.length-1]:null,null!=t?t:e)},Ap=(e,t)=>{let n=e;const i=null==e?void 0:e.shadowRoot;if(i&&(n=i.querySelector(Cp)||e),n){const e=n.closest("ion-radio-group");e?e.setFocus():Ed(n)}else t.focus()};let Pp=0,Op=0;const Rp=new WeakMap,Lp=e=>{var t;return!1!==e.showBackdrop&&!((null!==(t=e.backdropBreakpoint)&&void 0!==t?t:0)>0)},Dp=e=>({create:t=>qp(e,t),dismiss:(t,n,i)=>Gp(document,t,n,e,i),getTop:async()=>Yp(document,e)}),Np=Dp("ion-alert"),Mp=Dp("ion-action-sheet"),zp=Dp("ion-loading"),jp=Dp("ion-modal"),Bp=Dp("ion-popover"),Fp=Dp("ion-toast"),Vp=e=>{"undefined"!=typeof document&&Wp(document);const t=Pp++;e.overlayIndex=t},Up=e=>(e.hasAttribute("id")||(e.id="ion-overlay-"+ ++Op),e.id),qp=(e,t)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(e).then(()=>{const n=document.createElement(e);return n.classList.add("overlay-hidden"),Object.assign(n,Object.assign(Object.assign({},t),{hasController:!0})),Qp(document).appendChild(n),new Promise(e=>fd(n,e))}):Promise.resolve(),Hp=(e,t)=>{let n=e;const i=null==e?void 0:e.shadowRoot;i&&(n=i.querySelector(Cp)||e),n?Ed(n):t.focus()},Wp=e=>{0===Pp&&(Pp=1,e.addEventListener("focus",t=>{((e,t)=>{const n=Yp(t,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),i=e.target;n&&i&&(n.classList.contains(dh)||(n.shadowRoot?(()=>{if(n.contains(i))n.lastFocus=i;else if("ION-TOAST"===i.tagName)Hp(n.lastFocus,n);else{const e=n.lastFocus;Tp(n),e===t.activeElement&&Ip(n),n.lastFocus=t.activeElement}})():(()=>{if(n===i)n.lastFocus=void 0;else if("ION-TOAST"===i.tagName)Hp(n.lastFocus,n);else{const e=kd(n);if(!e.contains(i))return;const o=e.querySelector(".ion-overlay-wrapper");if(!o)return;if(o.contains(i)||i===e.querySelector("ion-backdrop"))n.lastFocus=i;else{const e=n.lastFocus;Tp(o,n),e===t.activeElement&&Ip(o,n),n.lastFocus=t.activeElement}}})()))})(t,e)},!0),e.addEventListener("ionBackButton",t=>{const n=Yp(e);(null==n?void 0:n.backdropDismiss)&&t.detail.register(100,()=>{n.dismiss(void 0,ah)})}),bp()||e.addEventListener("keydown",t=>{if("Escape"===t.key){const t=Yp(e);(null==t?void 0:t.backdropDismiss)&&t.dismiss(void 0,ah)}}))},Gp=(e,t,n,i,o)=>{const r=Yp(e,i,o);return r?r.dismiss(t,n):Promise.reject("overlay does not exist")},$p=(e,t)=>{return(n=e,i=t,void 0===i&&(i="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(i)).filter(e=>e.overlayIndex>0)).filter(e=>!e.classList.contains("overlay-hidden"));var n,i},Yp=(e,t,n)=>{const i=$p(e,t);return(void 0===n?i:i.filter(e=>e.id===n)).slice(-1)[0]},Xp=(e=!1)=>{const t=Qp(document).querySelector("ion-router-outlet, #ion-view-container-root");t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))},Kp=async(e,t,n,i,o)=>{var r,a;if(e.presented)return;"ION-TOAST"!==e.el.tagName&&Jp(e.el);const s=e.el,l="ION-TOAST"!==s.tagName&&!1!==s.focusTrap&&Lp(s);if(e.presented=!0,e.willPresent.emit(),l){const e=Qp(document).querySelector("ion-router-outlet, #ion-view-container-root");!!e&&e.contains(s)||Xp(!0),document.body.classList.add(Ep)}null===(r=e.willPresentShorthand)||void 0===r||r.emit();const c=tu(e),d=e.enterAnimation?e.enterAnimation:Ps.get(t,"ios"===c?n:i);if(await eh(e,d,e.el,o)&&(e.didPresent.emit(),null===(a=e.didPresentShorthand)||void 0===a||a.emit()),e.keyboardClose&&(null===document.activeElement||!e.el.contains(document.activeElement))){const t=kd(e.el).querySelector('[role="dialog"][tabindex]'),n=null!=t?t:e.el;try{n.focus({preventScroll:!0})}catch(u){n.focus()}}e.el.removeAttribute("aria-hidden"),e.el.removeAttribute("inert")},Jp=async e=>{let t=document.activeElement;if(!t)return;t.blur();const n=null==t?void 0:t.shadowRoot;n&&(t=n.querySelector(Cp)||t),await e.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||t.focu
2s()},Zp=async(e,t,n,i,o,r,a)=>{var s,l;if(!e.presented)return!1;const c=(void 0!==gp?$p(gp):[]).filter(e=>"ION-TOAST"!==e.tagName&&!1!==e.focusTrap&&Lp(e)),d=e.el;"ION-TOAST"!==d.tagName&&!1!==d.focusTrap&&Lp(d)&&1===c.length&&c[0].id===d.id&&(Xp(!1),document.body.classList.remove(Ep)),e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n}),null===(s=e.willDismissShorthand)||void 0===s||s.emit({data:t,role:n});const c=tu(e),d=e.leaveAnimation?e.leaveAnimation:Ps.get(i,"ios"===c?o:r);n!==sh&&await eh(e,d,e.el,a),e.didDismiss.emit({data:t,role:n}),null===(l=e.didDismissShorthand)||void 0===l||l.emit({data:t,role:n}),(Rp.get(e)||[]).forEach(e=>e.destroy()),Rp.delete(e),e.el.classList.add("overlay-hidden"),e.el.style.removeProperty("pointer-events"),void 0!==e.el.lastFocus&&(e.el.lastFocus=void 0)}catch(u){zs("[".concat(e.el.tagName.toLowerCase(),"] - "))}return e.el.remove(),!0},Qp=e=>e.querySelector("ion-app")||e.body,eh=async(e,t,n,i)=>{n.classList.remove("overlay-hidden");const o=t(e.el,i);e.animated&&Ps.getBoolean("animated",!0)||o.duration(0),e.keyboardClose&&o.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;(null==e?void 0:e.matches("input,ion-input, ion-textarea"))&&e.blur()});const r=Rp.get(e)||[];return Rp.set(e,[...r,o]),await o.play(),!0},th=(e,t)=>{let n;const i=new Promise(e=>n=e);return nh(e,t,e=>{n(e.detail)}),i},nh=(e,t,n)=>{const i=o=>{xd(e,t,i),n(o)};wd(e,t,i)},ih=e=>"cancel"===e||e===ah,oh=e=>e(),rh=(e,t)=>{if("function"==typeof e)return Ps.get("_zoneGate",oh)(()=>{try{return e(t)}catch(n){throw n}})},ah="backdrop",sh="gesture",lh=e=>{let t,n=!1;const i=xp(),o=(o=!1)=>{if(t&&!o)return{delegate:t,inline:n};const{el:r,hasController:a,delegate:s}=e;return n=null!==r.parentNode&&!a,t=n?s||i:s,{inline:n,delegate:t}};return{attachViewToDom:async t=>{const{delegate:n}=o(!0);if(n)return await n.attachViewToDom(e.el,t);const{hasController:i}=e;if(i&&void 0!==t)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:t}=o();t&&void 0!==e.el&&t.removeViewFromDom(e.el.parentElement,e.el)}}},ch=()=>{let e;const t=()=>{e&&(e(),e=void 0)};return{addClickListener:(n,i)=>{t();const o=void 0!==i?document.getElementById(i):null;o?e=((e,t)=>{const n=()=>{t.present()};return e.addEventListener("click",n),()=>{e.removeEventListener("click",n)}})(o,n):Ms("[".concat(n.tagName.toLowerCase(),'] - A trigger element with the ID "').concat(i,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.'))},removeClickListener:t}},dh="ion-disable-focus-trap",uh=(e,t)=>e.month===t.month&&e.day===t.day&&e.year===t.year,ph=(e,t)=>!!(e.year<t.year||e.year===t.year&&e.month<t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day<t.day),hh=(e,t)=>!!(e.year>t.year||e.year===t.year&&e.month>t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day>t.day),mh=(e,t)=>{if(void 0!==t)return t;const n=new Intl.DateTimeFormat(e,{hour:"numeric"}),i=n.resolvedOptions();if(void 0!==i.hourCycle)return i.hourCycle;const o=new Date("5/18/2021 00:00"),r=n.formatToParts(o).find(e=>"hour"===e.type);if(!r)throw new Error("Hour value not found from DateTimeFormat");switch(r.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error('Invalid hour cycle "'.concat(t,'"'))}},fh=e=>"h23"===e||"h24"===e,gh=(e,t)=>{return 4===e||6===e||9===e||11===e?30:2===e?(n=t)%4==0&&n%100!=0||n%400==0?29:28:31;var n},bh=(e,t={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,t).formatToParts(new Date)[0].type,vh=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,yh=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,wh=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map(e=>parseInt(e,10)).filter(isFinite):[n],t};function xh(e){if(Array.isArray(e)){const t=[];for(const n of e){const e=xh(n);if(!e)return;t.push(e)}return t}let t=null;if(null!=e&&""!==e&&(t=yh.exec(e),t?(t.unshift(void 0,void 0),t[2]=t[3]=void 0):t=vh.exec(e)),null!==t){for(let e=1;e<8;e++)t[e]=void 0!==t[e]?parseInt(t[e],10):void 0;return{year:t[1],month:t[2],day:t[3],hour:t[4],minute:t[5],ampm:t[4]<12?"am":"pm"}}Ms("[ion-datetime] - Unable to parse date string: ".concat(e,". Please provide a valid ISO 8601 datetime string."))}const kh=(e,t,n)=>t&&ph(e,t)?t:n&&hh(e,n)?n:e,_h=e=>e>=12?"pm":"am",Eh=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2);function Sh(e){if(Array.isArray(e))return e.map(e=>Sh(e));let t="";var n;return void 0!==e.year?(t=("000"+(void 0!==(n=e.year)?Math.abs(n):"0")).slice(-4),void 0!==e.month&&(t+="-"+Eh(e.month),void 0!==e.day&&(t+="-"+Eh(e.day),void 0!==e.hour&&(t+="T".concat(Eh(e.hour),":").concat(Eh(e.minute),":00"))))):void 0!==e.hour&&(t=Eh(e.hour)+":"+Eh(e.minute)),t}const Ch=(e,t)=>void 0===t?e:"am"===t?12===e?0:e:12===e?12:e+12,Th=(e,t)=>{const{month:n,day:i,year:o}=e;if(null===i)throw new Error("No day provided");const r={month:n,day:i,year:o};if(r.day=i-t,r.day<1&&(r.month-=1),r.month<1&&(r.month=12,r.year-=1),r.day<1){const e=gh(r.month,r.year);r.day=e+r.day}return r},Ih=(e,t)=>{const{month:n,day:i,year:o}=e;if(null===i)throw new Error("No day provided");const r={month:n,day:i,year:o},a=gh(n,o);return r.day=i+t,r.day>a&&(r.day-=a,r.month+=1),r.month>12&&(r.month=1,r.year+=1),r}
2,Ah=e=>{const t=1===e.month?12:e.month-1,n=1===e.month?e.year-1:e.year,i=gh(t,n);return{month:t,year:n,day:i<e.day?i:e.day}},Ph=e=>{const t=12===e.month?1:e.month+1,n=12===e.month?e.year+1:e.year,i=gh(t,n);return{month:t,year:n,day:i<e.day?i:e.day}},Oh=(e,t)=>{const n=e.month,i=e.year+t,o=gh(n,i);return{month:n,year:i,day:o<e.day?o:e.day}},Rh=(e,t,n)=>t?e:Ch(e,n),Lh=(e,t)=>{let n=t[0],i=Math.abs(n-e);for(let o=1;o<t.length;o++){const r=t[o],a=Math.abs(r-e);a<i&&(n=r,i=a)}return n},Dh=e=>Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:void 0}),Nh=(e,t,n,i={hour:"numeric",minute:"numeric"})=>{const o={hour:t.hour,minute:t.minute};return void 0===o.hour||void 0===o.minute?"Invalid Time":new Intl.DateTimeFormat(e,Object.assign(Object.assign({},Dh(i)),{hourCycle:n})).format(new Date(Sh(Object.assign({year:2023,day:1,month:1},o))+"Z"))},Mh=e=>{const t=e.toString();return t.length>1?t:"0".concat(t)},zh=(e,t)=>{if(0===e)switch(t){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error('Invalid hour cycle "'.concat(t,'"'))}return fh(t)?Mh(e):e.toString()},jh=(e,t,n)=>{if(null===n.day)return null;const i=Vh(n),o=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(i);return t?"Today, ".concat(o):o},Bh=(e,t)=>qh(e,t,{day:"numeric"}).find(e=>"day"===e.type).value,Fh=(e,t)=>Uh(e,t,{year:"numeric"}),Vh=e=>{var t,n,i;return new Date("".concat(null!==(t=e.month)&&void 0!==t?t:1,"/").concat(null!==(n=e.day)&&void 0!==n?n:1,"/").concat(null!==(i=e.year)&&void 0!==i?i:2023).concat(void 0!==e.hour&&void 0!==e.minute?" ".concat(e.hour,":").concat(e.minute):""," GMT+0000"))},Uh=(e,t,n)=>{const i=Vh(t);return Hh(e,Dh(n)).format(i)},qh=(e,t,n)=>{const i=Vh(t);return Hh(e,n).formatToParts(i)},Hh=(e,t)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},t),{timeZone:"UTC"})),Wh=e=>{if("RelativeTimeFormat"in Intl){const t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return t.charAt(0).toUpperCase()+t.slice(1)}return"Today"},Gh=e=>{const t=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-t),e},$h=Gh(new Date("2022T01:00")),Yh=Gh(new Date("2022T13:00")),Xh=(e,t)=>{const n="am"===t?$h:Yh,i=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find(e=>"dayPeriod"===e.type);return i?i.value:void 0===(o=t)?"":o.toUpperCase();var o},Kh=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionInputModeChange=bc(this,"ionInputModeChange",7),this.useInputMode=!1,this.isInHighlightBounds=e=>{const{highlightEl:t}=this;if(!t)return!1;const n=t.getBoundingClientRect();return!(e.clientX<n.left||e.clientX>n.right||e.clientY<n.top||e.clientY>n.bottom)},this.onFocusOut=e=>{const{relatedTarget:t}=e;(!t||"ION-PICKER-COLUMN"!==t.tagName&&t!==this.inputEl)&&this.exitInputMode()},this.onFocusIn=e=>{const{target:t}=e;"ION-PICKER-COLUMN"!==t.tagName||this.actionOnClick||(t.numericInput?this.enterInputMode(t,!1):this.exitInputMode())},this.onClick=()=>{const{actionOnClick:e}=this;e&&(e(),this.actionOnClick=void 0)},this.onPointerDown=e=>{const{useInputMode:t,inputModeColumn:n,el:i}=this;if(this.isInHighlightBounds(e))if(t)this.actionOnClick="ION-PICKER-COLUMN"===e.target.tagName?n&&n===e.target?()=>{this.enterInputMode()}:()=>{this.enterInputMode(e.target)}:()=>{this.exitInputMode()};else{const t=1===i.querySelectorAll("ion-picker-column.picker-column-numeric-input").length?e.target:void 0;this.actionOnClick=()=>{this.enterInputMode(t)}}else this.actionOnClick=()=>{this.exitInputMode()}},this.enterInputMode=(e,t=!0)=>{const{inputEl:n,el:i}=this;n&&i.querySelector("ion-picker-column.picker-column-numeric-input")&&(this.useInputMode=!0,this.inputModeColumn=e,t?(this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),n.focus()):(i.addEventListener("keypress",this.onKeyPress),this.destroyKeypressListener=()=>{i.removeEventListener("keypress",this.onKeyPress)}),this.emitInputModeChange())},this.onKeyPress=e=>{const{inputEl:t}=this;if(!t)return;const n=parseInt(e.key,10);Number.isNaN(n)||(t.value+=e.key,this.onInputChange())},this.selectSingleColumn=()=>{const{inputEl:e,inputModeColumn:t,singleColumnSearchTimeout:n}=this;if(!e||!t)return;const i=Array.from(t.querySelectorAll("ion-picker-column-option")).filter(e=>!0!==e.disabled);if(n&&clearTimeout(n),this.singleColumnSearchTimeout=setTimeout(()=>{e.value="",this.singleColumnSearchTimeout=void 0},1e3),e.value.length>=3){const t=e.value.substring(e.value.length-2);return e.value=t,void this.selectSingleColumn()}const o=i.find(({textContent:t})=>t.replace(/^0+(?=[1-9])|0+(?=0$)/,"")===e.value);if(o)t.setValue(o.value);else if(2===e.value.length){const t=e.value.substring(e.value.length-1);e.value=t,this.selectSingleColumn()}},this.searchColumn=(e,t,n="start")=>{if(!t)return!1;const i="start"===n?/^0+/:/0$/;t=t.replace(i,"");const o=Array.from(e.querySelectorAll("ion-picker-column-option")).find(e=>!0!==e.disabled&&e.textContent.replace(i,"")===t);return o&&e.setValue(o.value),!!o},this.multiColumnSearch=(e,t,n)=>{if(0===n.length)return;const i=n.split(""),o=i.slice(0,2).join(""),r=this.searchColumn(e,o);if(i.length>2&&r){const e=i.slice(2,4).join("");this.searchColumn(t,e)}else if(!r&&i.length>=1){let n=i[0],o=this.searchColumn(e,n);if(o||(i.shift(),n=i[0],o=this.searchColumn(e,n)),o&&i.length>1){const e=i.slice(1,3).join("");this.searchColumn(t,e)}}},this.selectMultiColumn=()=>{const{inputEl:e,el:t}=this;if(!e)return;const n=Array.from(t.querySelectorAll("ion-picker-column")).filter(e=>e.numericInput),i=n[0],o=n[1];let r=e.value;if(r.length>4){const t=e.value.substring(e.value.length-4);e.value=t,r=t}this.multiColumnSearch(i,o,r)},this.onInputChange=()=>{const{useInputMode:e,inputEl:t,inputModeColumn:n}=this;e&&t&&(n?this.selectSingleColumn():this.selectMultiColumn())},this.emitInputModeChange=()=>{const{useInputMode:e,inputModeColumn:t}=this;this.ionInputModeChange.emit({useInputMode:e,inputModeColumn:t})}}preventTouchStartPropagation(e){e.stopPropagation()}componentWillLoad(){kd(this.el).addEventListener("focusin",this.onFocusIn),kd(this.el).addEventListener("focusout",this.onFocusOut)}
vendor: 5,343 bytes, line 2
2async exitInputMode(){const{inputEl:e,useInputMode:t}=this;t&&e&&(this.useInputMode=!1,this.inputModeColumn=void 0,e.blur(),e.value="",this.destroyKeypressListener&&(this.destroyKeypressListener(),this.destroyKeypressListener=void 0),this.emitInputModeChange())}render(){return Ql(tc,{key:"28f81e4ed44a633178561757c5199c2c98f94b74",onPointerDown:e=>this.onPointerDown(e),onClick:()=>this.onClick()},Ql("input",{key:"abb3d1ad25ef63856af7804111175a4d50008bc0","aria-hidden":"true",tabindex:-1,inputmode:"numeric",type:"number",onKeyDown:e=>{var t;"Enter"===e.key&&(null===(t=this.inputEl)||void 0===t||t.blur())},ref:e=>this.inputEl=e,onInput:()=>this.onInputChange(),onBlur:()=>this.exitInputMode()}),Ql("div",{key:"334a5abdc02e6b127c57177f626d7e4ff5526183",class:"picker-before"}),Ql("div",{key:"ffd6271931129e88fc7c820e919d684899e420c5",class:"picker-after"}),Ql("div",{key:"78d1d95fd09e04f154ea59f24a1cece72c47ed7b",class:"picker-highlight",ref:e=>this.highlightEl=e}),Ql("slot",{key:"0bd5b9f875d3c71f6cbbde2054baeb1b0a2e8cd5"}))}get el(){return this}static get style(){return{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}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--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(--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:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--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(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--highlight-background, var(--ion-color-step-150, var(--ion-background-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}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--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(--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:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0
2)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--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(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}"}}},[289,"ion-picker",{exitInputMode:[64]},[[1,"touchstart","preventTouchStartPropagation"]]]);const Jh=()=>{if(void 0!==fp)return fp.Capacitor};var Zh,Qh;!function(e){e.Heavy="HEAVY",e.Medium="MEDIUM",e.Light="LIGHT"}(Zh||(Zh={})),function(e){e.Success="SUCCESS",e.Warning="WARNING",e.Error="ERROR"}(Qh||(Qh={}));const em={getEngine(){const e=Jh();if(null==e?void 0:e.isPluginAvailable("Haptics"))return e.Plugins.Haptics},available(){if(!this.getEngine())return!1;const e=Jh();return"web"!==(null==e?void 0:e.getPlatform())||"undefined"!=typeof navigator&&void 0!==navigator.vibrate},impact(e){const t=this.getEngine();t&&t.impact({style:e.style})},notification(e){const t=this.getEngine();t&&t.notification({type:e.type})},selection(){this.impact({style:Zh.Light})},selectionStart(){const e=this.getEngine();e&&e.selectionStart()},selectionChanged(){const e=this.getEngine();e&&e.selectionChanged()},selectionEnd(){const e=this.getEngine();e&&e.selectionEnd()}},tm=()=>em.available(),nm=()=>{tm()&&em.selection()},im=()=>{tm()&&em.selectionStart()},om=()=>{tm()&&em.selectionChanged()},rm=()=>{tm()&&em.selectionEnd()},am=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.color="primary",this.numericInput=!1,this.centerPickerItemInView=(e,t=!0,n=!0)=>{const{isColumnVisible:i,scrollEl:o}=this;if(i&&o){const i=e.offsetTop-3*e.clientHeight+e.clientHeight/2;o.scrollTop!==i&&(this.canExitInputMode=n,this.updateValueTextOnScroll=!1,o.scroll({top:i,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(e,t)=>{t?e.classList.add(sm):e.classList.remove(sm)},this.inputModeChange=e=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:n}=e.detail;this.setInputModeActive(!(!t||void 0!==n&&n!==this.el))},this.setInputModeActive=e=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=e}:this.isActive=e},this.initializeScrollListener=()=>{const e=Ud("ios"),{el:t,scrollEl:n}=this;let i,o=this.activeItem;const r=()=>{_d(()=>{var r;if(!n)return;i&&(clearTimeout(i),i=void 0),this.isScrolling||(e&&im(),this.isScrolling=!0);const a=n.getBoundingClientRect(),s=a.x+a.width/2,l=a.y+a.height/2,c=t.getRootNode(),d=c instanceof ShadowRoot?c:gp;if(void 0===d)return;let u=d.elementsFromPoint(s,l).find(e=>"ION-PICKER-COLUMN-OPTION"===e.tagName);if(void 0===u){const e=d.elementFromPoint(s,l);"ION-PICKER-COLUMN-OPTION"===(null==e?void 0:e.tagName)&&(u=e)}void 0!==o&&this.setPickerItemActiveState(o,!1),void 0===u||u.disabled||(u!==o&&(e&&om(),this.canExitInputMode&&this.exitInputMode()),o=u,this.setPickerItemActiveState(u,!0),this.updateValueTextOnScroll&&(null===(r=this.assistiveFocusable)||void 0===r||r.setAttribute("aria-valuetext",this.getOptionValueText(u))),i=setTimeout(()=>{this.isScrolling=!1,this.updateValueTextOnScroll=!0,e&&rm();const{scrollEndCallback:t}=this;t&&(t(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,this.setValue(u.value)},250))})};_d(()=>{n&&(n.addEventListener("scroll",r),this.destroyScrollListener=()=>{n.removeEventListener("scroll",r)})})},this.exitInputMode=()=>{const{parentEl:e}=this;null!=e&&(e.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(e=1)=>{const{activeItem:t}=this;if(!t)return null;let n=t,i=t.nextElementSibling;for(;null!=i;){if(e>0&&e--,"ION-PICKER-COLUMN-OPTION"===i.tagName&&!i.disabled&&0===e)return i;n=i,i=i.nextElementSibling}return n},this.findPreviousOption=(e=1)=>{const{activeItem:t}=this;if(!t)return null;let n=t,i=t.previousElementSibling;for(;null!=i;){if(e>0&&e--,"ION-PICKER-COLUMN-OPTION"===i.tagName&&!i.disabled&&0===e)return i;n=i,i=i.previousElementSibling}return n},this.onKeyDown=e=>{const t=Ud("mobile");let n=null;switch(e.key){case"ArrowDown":n=t?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":n=t?this.findNextOption():this.findPreviousOption();break;case"PageUp":n=t?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":n=t?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":n=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":n=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==n&&(this.setValue(n.value),e.preventDefault())},this.getOptionValueText=e=>{var t;return e?null!==(t=e.getAttribute("aria-label"))&&void 0!==t?t:e.innerText:""}}ariaLabelChanged(e){this.ariaLabel=e}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const e=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver(e=>{if(e[e.length-1].isIntersecting){const{activeItem:e,el:t}=this;this.isColumnVisible=!0;const n=t.querySelector(".".concat(sm));n&&this.setPickerItemActiveState(n,!1),this.scrollActiveItemIntoView(),e&&this.setPickerItemActiveState(e,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)},{threshold:.001,root:this.parentEl}).observe(this.el),null!==e&&e.addEventListener("ionInputModeChange",e=>this.inputModeChange(e))}componentDidRender(){const{el:e,activeItem:t,isColumnVisible:n,value:i}=this;if(n&&!t){const t=e.querySelector("ion-picker-column-option");null!==t&&t.value!==i&&this.setValue(t.value)}}async scrollActiveItemIntoView(e=!1){const t=this.activeItem;t&&this.centerPickerItemInView(t,e,!1)}async setValue(e){!0!==this.disabled&&this.value!==e&&(this.value=e,this.ionChange.emit({value:e}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){var e;this.ariaLabel=null!==(e=this.el.getAttribute("aria-label"))&&void 0!==e?e:"Select a value"}get activeItem(){const{value:e}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find(t=>!(!this.disabled&&t.disabled)&&t.value===e)}render(){const{color:e,disabled:t,isActive:n,numericInput:i}=this,o=tu(this);return Ql(tc,{key:"234c96a501d7ac413b9b0ea56b33017681e25b40",class:Iu(e,{[o]:!0,"picker-column-active":n,"picker-column-numeric-input":i,"picker-column-disabled":t})},Ql("slot",{key:"9dc15ea0601ddd2cb2e0a745e91e036a8bd96f8b",name:"prefix"}),Ql("div",{key:"de4fe28ee4bc46b7c0420d6ab0df0e7809443da9",class:"picker-opts",ref:e=>{this.scrollEl=e},role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":this.getOptionValueText(this.activeItem),"aria-orientation":"vertical",onKeyDown:e=>this.onKeyDown(e)},Ql("div",{key:"5297617462cc30e9444039ae032d8bdf718349af",class:"picker-item-empty","aria-hidden":"true"},"Â "),Ql("div",{key:"55ea39ef867bcb1a11a912d52ecd20cb886c5fb3",class:"picker-item-empty","aria-hidden":"true"},"Â "),Ql("div",{key:"3496730ce6182ebfd33e0ee4bafc130feb575a31",class:"picker-item-empty","aria-hidden":"true"},"Â "),Ql("slot",{key:"44c3628aa957d60f799dc7019f72fe8b676c7843"}),Ql("div",{key:"5a1809f6c949678a67e0d4b5bfe93ea335c0161d",class:"picker-item-empty","aria-hidden":"true"},"Â "),Ql("div",{key:"98fd57f1c66dbaebc2db2dd5da142671b3159fd1",class:"picker-item-empty","aria-hidden":"true"},"Â "),Ql("div",{key:"85590708abddfa885994e549deac64866fec938f",class:"picker-item-empty","aria-hidden":"true"}
2,"Â ")),Ql("slot",{key:"bb7e674f543696a80fcbfb1f68f2e975826898a6",name:"suffix"}))}get el(){return this}static get watchers(){return{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}}static get style(){return":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-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}.picker-item-empty{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;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}"}},[257,"ion-picker-column",{disabled:[4],value:[1032],color:[513],numericInput:[4,"numeric-input"],ariaLabel:[32],isActive:[32],scrollActiveItemIntoView:[64],setValue:[64],setFocus:[64]},void 0,{"aria-label":[{ariaLabelChanged:0}],value:[{valueChange:0}]}]),sm="option-active";const lm=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pickerColumn=null,this.ariaLabel=null,this.disabled=!1,this.color="primary"}onAriaLabelChange(e){this.ariaLabel=e}componentWillLoad(){const e=bd(this.el,["aria-label"]);this.ariaLabel=e["aria-label"]||null}connectedCallback(){this.pickerColumn=this.el.closest("ion-picker-column")}disconnectedCallback(){this.pickerColumn=null}componentDidLoad(){const{pickerColumn:e}=this;null!==e&&e.scrollActiveItemIntoView()}onClick(){const{pickerColumn:e}=this;null!==e&&e.setValue(this.value)}render(){const{color:e,disabled:t,ariaLabel:n}=this,i=tu(this);return Ql(tc,{key:"c45a1c14a351bf57d7113671164852349be5aa8a",class:Iu(e,{[i]:!0,"option-disabled":t})},Ql("div",{key:"824930b658c6e3fb493ac4c6c2451d38c6bc4829",class:"picker-column-option-button",role:"button","aria-label":n,onClick:()=>this.onClick()},Ql("slot",{key:"019df4dcf46e629bdbebcd46ed3ab29669feab27"})))}get el(){return this}static get watchers(){return{"aria-label":[{onAriaLabelChange:0}]}}static get style(){return{ios:".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;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}:host(.option-disabled){opacity:0.4}
2:host(.option-disabled) .picker-column-option-button{cursor:default}",md:".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;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}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}:host(.option-active),:host([part~=active]){color:var(--ion-color-base)}"}}},[289,"ion-picker-column-option",{disabled:[4],value:[8],color:[513],ariaLabel:[32]},void 0,{"aria-label":[{onAriaLabelChange:0}]}]);const cm=()=>{let e;return{lock:async()=>{const t=e;let n;return e=new Promise(e=>n=e),void 0!==t&&await t,n}}},dm="ionViewWillEnter",um="ionViewDidEnter",pm="ionViewWillLeave",hm="ionViewDidLeave",mm="ionViewWillUnload",fm=e=>{e.tabIndex=-1,e.focus()},gm=e=>null!==e.offsetParent,bm="ion-last-focus",vm=e=>new Promise((t,n)=>{gl(()=>{const i=zm(e);ym(e,i),wm(e).then(n=>{n.animation&&n.animation.destroy(),xm(e),t(n)},t=>{xm(e),n(t)}).finally(()=>{Nm(i,!1)})})}),ym=(e,t)=>{const n=e.enteringEl,i=e.leavingEl;(e=>{if(Ps.get("focusManagerPriority",!1)){const t=document.activeElement;null!==t&&(null==e?void 0:e.contains(t))&&t.setAttribute(bm,"true")}})(i),Dm(n,i,e.direction),Nm(t,!0),e.showGoBack?n.classList.add("can-go-back"):n.classList.remove("can-go-back"),Lm(n,!1),n.style.setProperty("pointer-events","none"),i&&(Lm(i,!1),i.style.setProperty("pointer-events","none"))},wm=async e=>{const t=await km(e);return t&&js?_m(t,e):Em(e)},xm=e=>{const t=e.enteringEl,n=e.leavingEl;t.classList.remove("ion-page-invisible"),t.style.removeProperty("pointer-events"),void 0!==n&&(n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events")),(e=>{const t=Ps.get("focusManagerPriority",!1);if(Array.isArray(t)&&!e.contains(document.activeElement)){const n=e.querySelector("[".concat(bm,"]"));if(n&&gm(n))return void fm(n);for(const i of t)switch(i){case"content":const t=e.querySelector('main, [role="main"]');if(t&&gm(t))return void fm(t);break;case"heading":const n=e.querySelector('h1, [role="heading"][aria-level="1"]');if(n&&gm(n))return void fm(n);break;case"banner":const o=e.querySelector('header, [role="banner"]');if(o&&gm(o))return void fm(o);break;default:Ms("Unrecognized focus manager priority value ".concat(i))}fm(e)}})(t)},km=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await o(async()=>{const{iosTransitionAnimation:e}=await import("./p-C1aScSTo-DqpzKYCP.js");return{iosTransitionAnimation:e}},[])).iosTransitionAnimation:(await o(async()=>{const{mdTransitionAnimation:e}=await import("./p-DIE4pXMl-D-quflCC.js");return{mdTransitionAnimation:e}},[])).mdTransitionAnimation},_m=async(e,t)=>{await Sm(t,!0);const n=e(t.baseEl,t);Im(t.enteringEl,t.leavingEl);const i=await Tm(n,t);return t.progressCallback&&t.progressCallback(void 0),i&&Am(t.enteringEl,t.leavingEl),{hasCompleted:i,animation:n}},Em=async e=>{const t=e.enteringEl,n=e.leavingEl,i=Ps.get("focusManagerPriority",!1);return await Sm(e,i),Im(t,n),Am(t,n),{hasCompleted:!0}},Sm=async(e,t)=>{(void 0!==e.deepWait?e.deepWait:t)&&await Promise.all([Rm(e.enteringEl),Rm(e.leavingEl)]),await Cm(e.viewIsReady,e.enteringEl)},Cm=async(e,t)=>{e&&await e(t)},Tm=(e,t)=>{const n=t.progressCallback,i=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),i},Im=(e,t)=>{Pm(t,pm),Pm(e,dm)},Am=(e,t)=>{Pm(e,um),Pm(t,hm)},Pm=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},Om=()=>new Promise(e=>_d(()=>_d(()=>e()))),Rm=async e=>{const t=e;if(t){if(null!=t.componentOnReady){if(null!=await t.componentOnReady())return}else if(null!=t.__registerHost){const e=new Promise(e=>_d(e));return void(await e)}await Promise.all(Array.from(t.children).map(Rm))}},Lm=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},Dm=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},Nm=(e,t)=>{if(!e)return;const n="header-transitioning";t?e.classList.add(n):e.classList.remove(n)},Mm=e=>e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e,zm=e=>{if("ios"!==e.mode)return null;const t="back"===e.direction?e.leavingEl:e.enteringEl;return t?t.querySelector("ion-header"):null};let jm;
2const Bm=(e,t,n)=>{const i=t.startsWith("animation")?(o=e,void 0===jm&&(jm=void 0===o.style.animationName&&void 0!==o.style.webkitAnimationName?"-webkit-":""),jm):"";var o;e.style.setProperty(i+t,n)},Fm=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},Vm=e=>{let t,n,i,o,r,a,s,l,c,d,u,p=[],h=[],m=[],f=!1,g={},b=[],v=[],y={},w=0,x=!1,k=!1,_=!0,E=!1,S=!0,C=!1;const T=e,I=[],A=[],P=[],O=[],R=[],L=[],D=[],N=[],M=[],z=[],j=[],B="function"==typeof AnimationEffect||void 0!==fp&&"function"==typeof fp.AnimationEffect,F="function"==typeof Element&&"function"==typeof Element.prototype.animate&&B,V=()=>j,U=(e,t)=>{const n=t.findIndex(t=>t.c===e);n>-1&&t.splice(n,1)},q=(e,t)=>(((null==t?void 0:t.oneTimeCallback)?A:I).push({c:e,o:t}),u),H=()=>{F&&(j.forEach(e=>{e.cancel()}),j.length=0)},W=()=>void 0!==r?r:s?s.getFill():"both",G=()=>void 0!==l?l:void 0!==a?a:s?s.getDirection():"normal",$=()=>x?"linear":void 0!==i?i:s?s.getEasing():"linear",Y=()=>k?0:void 0!==c?c:void 0!==n?n:s?s.getDuration():0,X=()=>void 0!==o?o:s?s.getIterations():1,K=()=>void 0!==d?d:void 0!==t?t:s?s.getDelay():0,J=()=>{0!==w&&(w--,0===w&&((()=>{M.forEach(e=>e()),z.forEach(e=>e());const e=_?1:0,t=b,n=v,i=y;O.forEach(e=>{const o=e.classList;t.forEach(e=>
2o.add(e)),n.forEach(e=>o.remove(e));for(const t in i)i.hasOwnProperty(t)&&Bm(e,t,i[t])}),c=void 0,l=void 0,d=void 0,I.forEach(t=>t.c(e,u)),A.forEach(t=>t.c(e,u)),A.length=0,S=!0,_&&(E=!0),_=!0})(),s&&s.animationFinish()))},Z=()=>{(()=>{D.forEach(e=>e()),N.forEach(e=>e());const e=h,t=m,n=g;O.forEach(i=>{const o=i.classList;e.forEach(e=>o.add(e)),t.forEach(e=>o.remove(e));for(const e in n)n.hasOwnProperty(e)&&Bm(i,e,n[e])})})(),p.length>0&&F&&(O.forEach(e=>{const t=e.animate(p,{id:T,delay:K(),duration:Y(),easing:$(),iterations:X(),fill:W(),direction:G()});t.pause(),j.push(t)}),j.length>0&&(j[0].onfinish=()=>{J()})),f=!0},Q=e=>{e=Math.min(Math.max(e,0),.9999),F&&j.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+Y()*e,t.pause()})},ee=e=>{j.forEach(e=>{e.effect.updateTiming({delay:K(),duration:Y(),easing:$(),iterations:X(),fill:W(),direction:G()})}),void 0!==e&&Q(e)},te=(e=!1,t=!0,n)=>(e&&R.forEach(i=>{i.update(e,t,n)}),F&&ee(n),u),ne=()=>{f&&(F?j.forEach(e=>{e.pause()}):O.forEach(e=>{Bm(e,"animation-play-state","paused")}),C=!0)},ie=e=>new Promise(t=>{(null==e?void 0:e.sync)&&(k=!0,q(()=>k=!1,{oneTimeCallback:!0})),f||Z(),E&&(F&&(Q(0),ee()),E=!1),S&&(w=R.length+1,S=!1);const n=()=>{U(i,A),t()},i=()=>{U(n,P),t()};q(i,{oneTimeCallback:!0}),P.push({c:n,o:{oneTimeCallback:!0}}),R.forEach(e=>{e.play()}),F?(j.forEach(e=>{e.play()}),0!==p.length&&0!==O.length||J()):J(),C=!1}),oe=(e,t)=>{const n=p[0];return void 0===n||void 0!==n.offset&&0!==n.offset?p=[{offset:0,[e]:t},...p]:n[e]=t,u};return u={parentAnimation:s,elements:O,childAnimations:R,id:T,animationFinish:J,from:oe,to:(e,t)=>{const n=p[p.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?p=[...p,{offset:1,[e]:t}]:n[e]=t,u},fromTo:(e,t,n)=>oe(e,t).to(e,n),parent:e=>(s=e,u),play:ie,pause:()=>(R.forEach(e=>{e.pause()}),ne(),u),stop:()=>{R.forEach(e=>{e.stop()}),f&&(H(),f=!1),x=!1,k=!1,S=!0,l=void 0,c=void 0,d=void 0,w=0,E=!1,_=!0,C=!1,P.forEach(e=>e.c(0,u)),P.length=0},destroy:e=>{return R.forEach(t=>{t.destroy(e)}),t=e,H(),t&&(L.forEach(e=>{(null==e?void 0:e.parentNode)&&e.parentNode.removeChild(e)}),L.length=0),O.length=0,R.length=0,p.length=0,I.length=0,A.length=0,f=!1,S=!0,u;var t},keyframes:e=>{const t=p!==e;return p=e,t&&(n=p,F&&V().forEach(e=>{const t=e.effect;if(t.setKeyframes)t.setKeyframes(n);else{const i=new KeyframeEffect(t.target,n,t.getTiming());e.effect=i}})),u;var n},addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(u),R.push(t);else e.parent(u),R.push(e);return u},addElement:e=>{if(null!=e)if(1===e.nodeType)O.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)O.push(e[t]);else zs();return u},update:te,fill:e=>(r=e,te(!0),u),direction:e=>(a=e,te(!0),u),iterations:e=>(o=e,te(!0),u),duration:e=>(F||0!==e||(e=1),n=e,te(!0),u),easing:e=>(i=e,te(!0),u),delay:e=>(t=e,te(!0),u),getWebAnimations:V,getKeyframes:()=>p,getFill:W,getDirection:G,getDelay:K,getIterations:X,getEasing:$,getDuration:Y,afterAddRead:e=>(M.push(e),u),afterAddWrite:e=>(z.push(e),u),afterClearStyles:(e=[])=>{for(const t of e)y[t]="";return u},afterStyles:(e={})=>(y=e,u),afterRemoveClass:e=>(v=Fm(v,e),u),afterAddClass:e=>(b=Fm(b,e),u),beforeAddRead:e=>(D.push(e),u),beforeAddWrite:e=>(N.push(e),u),beforeClearStyles:(e=[])=>{for(const t of e)g[t]="";return u},beforeStyles:(e={})=>(g=e,u),beforeRemoveClass:e=>(m=Fm(m,e),u),beforeAddClass:e=>(h=Fm(h,e),u),onFinish:q,isRunning:()=>0!==w&&!C,progressStart:(e=!1,t)=>
2(R.forEach(n=>{n.progressStart(e,t)}),ne(),x=e,f||Z(),te(!1,!0,t),u),progressStep:e=>(R.forEach(t=>{t.progressStep(e)}),Q(e),u),progressEnd:(e,t,n)=>(x=!1,R.forEach(i=>{i.progressEnd(e,t,n)}),void 0!==n&&(c=n),E=!1,_=!0,0===e?(l="reverse"===G()?"normal":"reverse","reverse"===l&&(_=!1),F?(te(),Q(1-t)):(d=(1-t)*Y()*-1,te(!1,!1))):1===e&&(F?(te(),Q(t)):(d=t*Y()*-1,te(!1,!1))),void 0===e||s||ie(),u)}};let Um=null,qm=!1;const Hm=e=>{if(null!==Um)return Um;if(null===e.body)return{top:0,bottom:0,left:0,right:0};const t=e.createElement("div");t.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);",e.body.appendChild(t);const n=getComputedStyle(t),i={top:parseFloat(n.paddingTop)||0,bottom:parseFloat(n.paddingBottom)||0,left:parseFloat(n.paddingLeft)||0,right:parseFloat(n.paddingRight)||0};return t.remove(),Um=i,qm||(qm=!0,_d(()=>{Um=null,qm=!1})),i}
2,Wm=(e,t,n)=>{const i=t.getBoundingClientRect(),o=i.height;let r=i.width;return"cover"===e&&n&&(r=n.getBoundingClientRect().width),{contentWidth:r,contentHeight:o}},Gm=(e,t)=>t&&"ION-ITEM"===t.tagName?e.findIndex(e=>e===t):-1,$m=e=>{const t=kd(e).querySelector("button");t&&_d(()=>t.focus())},Ym=(e,t,n,i,o,r,a,s,l,c,d)=>{var u;let p={top:0,left:0,width:0,height:0};if("event"===r){if(!d)return l;p={top:d.clientY,left:d.clientX,width:1,height:1}}else{const e=c||(null===(u=null==d?void 0:d.detail)||void 0===u?void 0:u.ionShadowTarget)||(null==d?void 0:d.target);if(!e)return l;const t=e.getBoundingClientRect();p={top:t.top,left:t.left,width:t.width,height:t.height}}const h=Qm(a,p,t,n,i,o,e),m=ef(s,a,p,t,n),f=h.top+m.top,g=h.left+m.left,{arrowTop:b,arrowLeft:v}=Zm(a,i,o,f,g,t,n,e),{originX:y,originY:w}=Xm(a,s,e);return{top:f,left:g,referenceCoordinates:p,arrowTop:b,arrowLeft:v,originX:y,originY:w}},Xm=(e,t,n)=>{switch(e){case"top":return{originX:Km(t),originY:"bottom"};case"bottom":return{originX:Km(t),originY:"top"};case"left":return{originX:"right",originY:Jm(t)};case"right":return{originX:"left",originY:Jm(t)};case"start":return{originX:n?"left":"right",originY:Jm(t)};case"end":return{originX:n?"right":"left",originY:Jm(t)}}},Km=e=>{switch(e){case"start":return"left";case"center":return"center";case"end":return"right"}},Jm=e=>{switch(e){case"start":return"top";case"center":return"center";case"end":return"bottom"}},Zm=(e,t,n,i,o,r,a,s)=>{const l={arrowTop:i+a/2-t/2,arrowLeft:o+r-t/2},c={arrowTop:i+a/2-t/2,arrowLeft:o-1.5*t};switch(e){case"top":return{arrowTop:i+a,arrowLeft:o+r/2-t/2};case"bottom":return{arrowTop:i-n,arrowLeft:o+r/2-t/2};case"left":return l;case"right":return c;case"start":return s?c:l;case"end":return s?l:c;default:return{arrowTop:0,arrowLeft:0}}},Qm=(e,t,n,i,o,r,a)=>{const s={top:t.top,left:t.left-n-o},l={top:t.top,left:t.left+t.width+o};switch(e){case"top":return{top:t.top-i-r,left:t.left};case"right":return l;case"bottom":return{top:t.top+t.height+r,left:t.left};case"left":return s;case"start":return a?l:s;case"end":return a?s:l}},ef=(e,t,n,i,o)=>{switch(e){case"center":return nf(t,n,i,o);case"end":return tf(t,n,i,o);default:return{top:0,left:0}}},tf=(e,t,n,i)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(i-t.height),left:0};default:return{top:0,left:-(n-t.width)}}},nf=(e,t,n,i)=>{switch(e){case"start":case"end":case"left":case"right":return{top:-(i/2-t.height/2),left:0};default:return{top:0,left:-(n/2-t.width/2)}}},of=(e,t,n,i,o,r,a,s,l,c,d,u,p=0,h=0,m=0)=>{let f,g=p,b=n,v=t,y=c,w=d,x=!1,k=!1,_=!1,E=!1;const S=u?u.top+u.height:r/2-s/2,C=u?u.height:0;let T=!1;if(b<i+l.left?(b=i,x=!0,y="left"):a+i+b+l.right>o&&(k=!0,b=o-a-i,y="right"),S+C+s>r-l.bottom&&("top"===e||"bottom"===e)){const e=S-s-C-(m-1);e>=l.top+i?(v=e,g=v+s,w="bottom",T=!0):(f=i,E=!0,v>=r-l.bottom-i&&(v=l.top+i,_=!0))}return{top:v,left:b,bottom:f,originX:y,originY:w,checkSafeAreaLeft:x,checkSafeAreaRight:k,checkSafeAreaTop:_,checkSafeAreaBottom:E,arrowTop:g,arrowLeft:h,addPopoverBottomClass:T,hideArrow:!1}},rf=(e,t)=>{var n;const{event:i,size:o,trigger:r,reference:a,side:s,align:l}=t,c=e.ownerDocument,d="rtl"===c.dir,u=c.defaultView.innerWidth,p=c.defaultView.innerHeight,h=kd(e),m=h.querySelector(".popover-content"),f=h.querySelector(".popover-arrow"),g=r||(null===(n=null==i?void 0:i.detail)||void 0===n?void 0:n.ionShadowTarget)||(null==i?void 0:i.target),{contentWidth:b,contentHeight:v}=Wm(o,m,g),{arrowWidth:y,arrowHeight:w}=(e=>{if(!e)return{arrowWidth:0,arrowHeight:0};const{width:t,height:n}=e.getBoundingClientRect();return{arrowWidth:t,arrowHeight:n}})(f),x=Ym(d,b,v,y,w,a,s,l,{top:p/2-v/2,left:u/2-b/2,originX:d?"right":"left",originY:"top"},r,i),k="cover"===o?0:5,_=Hm(c),E="cover"===o?{top:0,bottom:0,left:0,right:0}:{top:Math.max(_.top,25),bottom:Math.max(_.bottom,25),left:Math.max(_.left,25),right:Math.max(_.right,25)},{originX:S,originY:C,top:T,left:I,bottom:A,checkSafeAreaLeft:P,checkSafeAreaRight:O,checkSafeAreaTop:R,checkSafeAreaBottom:L,arrowTop:D,arrowLeft:N,addPopoverBottomClass:M}=of(s,x.top,x.left,k,u,p,b,v,E,x.originX,x.originY,x.referenceCoordinates,x.arrowTop,x.arrowLeft,w),z=Vm(),j=Vm(),B=Vm();return j.addElement(h.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),B.addElement(h.querySelector(".popover-arrow")).addElement(h.querySelector(".popover-content")).fromTo("opacity",.01,1),z.easing("ease").duration(100).beforeAddWrite(()=>{if("cover"===o&&e.style.setProperty("--width","".concat(b,"px")),M&&e.classList.add("popover-bottom"),void 0!==A){let e="".concat(A,"px");L&&(e="".concat(A,"px + var(--ion-safe-area-bottom, 0px)")),m.style.setProperty("bottom","calc(".concat(e,")"))}let t="".concat(I,"px");P&&(t="".concat(I,"px + var(--ion-safe-area-left, 0px)")),O&&(t="".concat(I,"px - var(--ion-safe-area-right, 0px)"));let n="".concat(T,"px");if(R&&(n="".concat(T,"px + var(--ion-safe-area-top, 0px)")),m.style.setProperty("top","calc(".concat(n," + var(--offset-y, 0))")),m.style.setProperty("left","calc(".concat(t," + var(--offset-x, 0))")),m.style.setProperty("transform-origin","".concat(C," ").concat(S)),null!==f){((e,t=!1,n,i)=>!(!n&&!i||"top"!==e&&"bottom"!==e&&t))(s,x.top!==T||x.left!==I,i,r)?(f.style.setProperty("top","calc(".concat(D,"px + var(--offset-y, 0))")),f.style.setProperty("left","calc(".concat(N,"px + var(--offset-x, 0))"))):f.style.setProperty("display","none")}}).addAnimation([j,B])},af=e=>{const t=kd(e),n=t.querySelector(".popover-content"),i=t.querySelector(".popover-arrow"),o=Vm(),r=Vm(),a=Vm();return r.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),a.addElement(t.querySelector(".popover-arrow")).addElement(t.querySelector(".popover-content")).fromTo("opacity",.99,0),o.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("bottom"),n.style.removeProperty("transform-origin"),i&&(i.style.removeProperty("top"),i.style.removeProperty("left"),i.style.removeProperty("display"))}).duration(300).addAnimation([r,a])},sf=(e,t)=>
2{var n;const{event:i,size:o,trigger:r,reference:a,side:s,align:l}=t,c=e.ownerDocument,d="rtl"===c.dir,u=c.defaultView.innerWidth,p=c.defaultView.innerHeight,h=kd(e),m=h.querySelector(".popover-content"),f=r||(null===(n=null==i?void 0:i.detail)||void 0===n?void 0:n.ionShadowTarget)||(null==i?void 0:i.target),{contentWidth:g,contentHeight:b}=Wm(o,m,f),v=Ym(d,g,b,0,0,a,s,l,{top:p/2-b/2,left:u/2-g/2,originX:d?"right":"left",originY:"top"},r,i),y="cover"===o?0:12,w="cover"===o?{top:0,bottom:0,left:0,right:0}:Hm(c),{originX:x,originY:k,top:_,left:E,bottom:S,checkSafeAreaLeft:C,checkSafeAreaRight:T,checkSafeAreaTop:I,checkSafeAreaBottom:A,addPopoverBottomClass:P}=of(s,v.top,v.left,y,u,p,g,b,w,v.originX,v.originY,v.referenceCoordinates);let O="".concat(E,"px");C&&(O="".concat(E,"px + var(--ion-safe-area-left, 0px)")),T&&(O="".concat(E,"px - var(--ion-safe-area-right, 0px)"));let R="".concat(_,"px");I&&(R="".concat(_,"px + var(--ion-safe-area-top, 0px)"));const L=Vm(),D=Vm(),N=Vm(),M=Vm(),z=Vm();return D.addElement(h.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),N.addElement(h.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1),M.addElement(m).beforeStyles({top:"calc(".concat(R," + var(--offset-y, 0px))"),left:"calc(".concat(O," + var(--offset-x, 0px))"),"transform-origin":"".concat(k," ").concat(x)}).beforeAddWrite(()=>{if(void 0!==S){let e="".concat(S,"px");A&&(e="".concat(S,"px + var(--ion-safe-area-bottom, 0px)")),m.style.setProperty("bottom","calc(".concat(e,")"))}}).fromTo("transform","scale(0.8)","scale(1)"),z.addElement(h.querySelector(".popover-viewport")).fromTo("opacity",.01,1),L.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite(()=>{"cover"===o&&e.style.setProperty("--width","".concat(g,"px")),P&&e.classList.add("popover-bottom")}).addAnimation([D,N,M,z])},lf=e=>{const t=kd(e),n=t.querySelector(".popover-content"),i=Vm(),o=Vm(),r=Vm();return o.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),r.addElement(t.querySelector(".popover-wrapper")).fromTo("opacity",.99,0),i.easing("ease").afterAddWrite(()=>{e.style.removeProperty("--width"),e.classList.remove("popover-bottom"),n.style.removeProperty("top"),n.style.removeProperty("left"),n.style.removeProperty("bottom"),n.style.removeProperty("transform-origin")}).duration(150).addAnimation([o,r])},cf=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.didPresent=bc(this,"ionPopoverDidPresent",7),this.willPresent=bc(this,"ionPopoverWillPresent",7),this.willDismiss=bc(this,"ionPopoverWillDismiss",7),this.didDismiss=bc(this,"ionPopoverDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.ionMount=bc(this,"ionMount",7),this.parentPopover=null,this.coreDelegate=xp(),this.lockController=cm(),this.inline=!1,this.focusDescendantOnPresent=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.triggerAction="click",this.size="auto",this.dismissOnSelect=!1,this.reference="trigger",this.side="bottom",this.arrow=!0,this.isOpen=!1,this.keyboardEvents=!1,this.focusTrap=!0,this.keepContentsMounted=!1,this.onBackdropTap=()=>{this.dismiss(void 0,ah)},this.onLifecycle=e=>{const t=this.usersElement,n=df[e.type];if(t&&n){const i=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(i)}},this.configureTriggerInteraction=()=>{const{trigger:e,triggerAction:t,el:n,destroyTriggerInteraction:i}=this;if(i&&i(),void 0===e)return;const o=this.triggerEl=void 0!==e?document.getElementById(e):null;o?this.destroyTriggerInteraction=((e,t,n)=>{let i=[];switch(t){case"hover":let e;i=[{eventName:"mouseenter",callback:async t=>{t.stopPropagation(),e&&clearTimeout(e),e=setTimeout(()=>{_d(()=>{n.presentFromTrigger(t),e=void 0})},100)}},{eventName:"mouseleave",callback:t=>{e&&clearTimeout(e);const i=t.relatedTarget;i&&i.closest("ion-popover")!==n&&n.dismiss(void 0,void 0,!1)}},{eventName:"click",callback:e=>e.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:e=>n.presentFromTrigger(e,!0)}];break;case"context-menu":i=[{eventName:"contextmenu",callback:e=>{e.preventDefault(),n.presentFromTrigger(e)}},{eventName:"click",callback:e=>e.stopPropagation()},{eventName:"ionPopoverActivateTrigger",callback:e=>n.presentFromTrigger(e,!0)}];break;default:i=[{eventName:"click",callback:e=>n.presentFromTrigger(e)},{eventName:"ionPopoverActivateTrigger",callback:e=>n.presentFromTrigger(e,!0)}]}
2return i.forEach(({eventName:t,callback:n})=>e.addEventListener(t,n)),e.setAttribute("data-ion-popover-trigger","true"),()=>{i.forEach(({eventName:t,callback:n})=>e.removeEventListener(t,n)),e.removeAttribute("data-ion-popover-trigger")}})(o,t,n):Ms('[ion-popover] - A trigger element with the ID "'.concat(e,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),this.el)},this.configureKeyboardInteraction=()=>{const{destroyKeyboardInteraction:e,el:t}=this;e&&e(),this.destroyKeyboardInteraction=(e=>{const t=async t=>{var n;const i=document.activeElement;let o=[];const r=null===(n=t.target)||void 0===n?void 0:n.tagName;if("ION-POPOVER"===r||"ION-ITEM"===r){try{o=Array.from(e.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(a){}switch(t.key){case"ArrowLeft":await e.getParentPopover()&&e.dismiss(void 0,void 0,!1);break;case"ArrowDown":t.preventDefault();const n=(a=o)[Gm(a,i)+1];void 0!==n&&$m(n);break;case"ArrowUp":t.preventDefault();const r=((e,t)=>e[Gm(e,t)-1])(o,i);void 0!==r&&$m(r);break;case"Home":t.preventDefault();const s=o[0];void 0!==s&&$m(s);break;case"End":t.preventDefault();const l=o[o.length-1];void 0!==l&&$m(l);break;case"ArrowRight":case" ":case"Enter":if(i&&i.hasAttribute("data-ion-popover-trigger")){const e=new CustomEvent("ionPopoverActivateTrigger");i.dispatchEvent(e)}}}var a};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)})(t)},this.configureDismissInteraction=()=>{const{destroyDismissInteraction:e,parentPopover:t,triggerAction:n,triggerEl:i,el:o}=this;t&&i&&(e&&e(),this.destroyDismissInteraction=((e,t,n,i)=>{let o=[];const r=kd(i).querySelector(".popover-content");return o="hover"===t?[{eventName:"mouseenter",callback:t=>{document.elementFromPoint(t.clientX,t.clientY)!==e&&n.dismiss(void 0,void 0,!1)}}]:[{eventName:"click",callback:t=>{t.target.closest("[data-ion-popover-trigger]")!==e?n.dismiss(void 0,void 0,!1):t.stopPropagation()}}],o.forEach(({eventName:e,callback:t})=>r.addEventListener(e,t)),()=>{o.forEach(({eventName:e,callback:t})=>r.removeEventListener(e,t))}})(i,n,o,t))}}onTriggerChange(){this.configureTriggerInteraction()}onIsOpenChange(e,t){!0===e&&!1===t?this.present():!1===e&&!0===t&&this.dismiss()}connectedCallback(){const{configureTriggerInteraction:e,el:t}=this;Vp(t),e()}disconnectedCallback(){const{destroyTriggerInteraction:e}=this;e&&e(),this.headerResizeObserver&&(this.headerResizeObserver.disconnect(),this.headerResizeObserver=void 0)}componentWillLoad(){var e,t;const{el:n}=this,i=null!==(t=null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)&&void 0!==t?t:Up(n);this.parentPopover=n.closest("ion-popover:not(#".concat(i,")")),void 0===this.alignment&&(this.alignment="ios"===tu(this)?"center":"start")}componentDidLoad(){const{parentPopover:e,isOpen:t}=this;!0===t&&_d(()=>this.present()),e&&wd(e,"ionPopoverWillDismiss",()=>{this.dismiss(void 0,void 0,!1)}),this.configureTriggerInteraction()}async presentFromTrigger(e,t=!1){this.focusDescendantOnPresent=t,await this.present(e),this.focusDescendantOnPresent=!1}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:t,delegate:this.workingDelegate=t?this.delegate||this.coreDelegate:this.delegate}}async present(e){const t=await this.lockController.lock();if(this.presented)return void t();const{el:n}=this,{inline:i,delegate:o}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await yp(o,n,this.component,["popover-viewport"],this.componentProps,i),this.recalculateContentOnHeaderReady(),this.keyboardEvents||this.configureKeyboardInteraction(),this.configureDismissInteraction(),gd(n)?await Rm(this.usersElement):this.keepContentsMounted||await Om(),await Kp(this,"popoverEnter",rf,sf,{event:e||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment}),this.focusDescendantOnPresent&&Tp(n),t()}recalculateContentOnHeaderReady(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".popover-content");
2if(!t)return;const n=this.usersElement||t,i=n.querySelector("ion-header"),o=n.querySelectorAll("ion-content");i&&0!==o.length&&(this.headerResizeObserver=new ResizeObserver(async()=>{var e;if(i.offsetHeight>0){null===(e=this.headerResizeObserver)||void 0===e||e.disconnect(),this.headerResizeObserver=void 0;for(const e of o)await e.recalculateDimensions()}}),this.headerResizeObserver.observe(i))}async dismiss(e,t,n=!0){const i=await this.lockController.lock(),{destroyKeyboardInteraction:o,destroyDismissInteraction:r}=this;n&&this.parentPopover&&this.parentPopover.dismiss(e,t,n);const a=await Zp(this,e,t,"popoverLeave",af,lf,this.event);if(a){o&&(o(),this.destroyKeyboardInteraction=void 0),r&&(r(),this.destroyDismissInteraction=void 0);const{delegate:e}=this.getDelegate();await wp(e,this.usersElement)}return i(),a}async getParentPopover(){return this.parentPopover}onDidDismiss(){return th(this.el,"ionPopoverDidDismiss")}onWillDismiss(){return th(this.el,"ionPopoverWillDismiss")}render(){const e=tu(this),{onLifecycle:t,parentPopover:n,dismissOnSelect:i,side:o,arrow:r,htmlAttributes:a,focusTrap:s}=this,l=Ud("desktop"),c=r&&!n;return Ql(tc,Object.assign({key:"2edd8333c630efbce59071f8a383e4326e928dbc","aria-modal":"true","no-router":!0,tabindex:"-1"},a,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},Au(this.cssClass)),{[e]:!0,"popover-translucent":this.translucent,"overlay-hidden":!0,"popover-desktop":l,["popover-side-".concat(o)]:!0,[dh]:!1===s,"popover-nested":!!n}),onIonPopoverDidPresent:t,onIonPopoverWillPresent:t,onIonPopoverWillDismiss:t,onIonPopoverDidDismiss:t,onIonBackdropTap:this.onBackdropTap}),!n&&Ql("ion-backdrop",{key:"aac4e68b08197534375e8ea3f8c9ea0c10ab2af4",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),Ql("div",{key:"b7f4ebf57d4148b32856b0075d286f454be8de5d",class:"popover-wrapper ion-overlay-wrapper",onClick:i?()=>this.dismiss():void 0},c&&Ql("div",{key:"607d94c28d73e8e957175a7c0f6e8a99ec4dcd53",class:"popover-arrow",part:"arrow"}),Ql("div",{key:"4366a5a5de550c09895e923f345583508e1ec30c",class:"popover-content",part:"content"},Ql("slot",{key:"eb7886fbc99c15b667b7d825d24f1c12d9380f03"}))))}get el(){return this}static get watchers(){return{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}}static get style(){return{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);
2-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, var(--ion-background-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}.popover-arrow::after{inset-inline-start: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);
2-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}"}}},[289,"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"],focusTrap:[4,"focus-trap"],keepContentsMounted:[4,"keep-contents-mounted"],presented:[32],presentFromTrigger:[64],present:[64],dismiss:[64],getParentPopover:[64],onDidDismiss:[64],onWillDismiss:[64]},void 0,{trigger:[{onTriggerChange:0}],triggerAction:[{onTriggerChange:0}],isOpen:[{onIsOpenChange:0}]}]),df={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};function uf(){"undefined"!=typeof customElements&&["ion-popover","ion-backdrop"].forEach(e=>{switch(e){case"ion-popover":customElements.get(e)||customElements.define(e,cf);break;case"ion-backdrop":customElements.get(e)||Cu()}})}const pf=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],hf=[0,1,2,3,4,5,6,7,8,9,10,11],mf=[0,1,2,3,4,5,6,7,8,9,10,11],ff=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],gf=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0],bf=(e,t)=>{const n={month:e.month,year:e.year,day:e.day};if(void 0!==t&&(e.month!==t.month||e.year!==t.year)){const i={month:t.month,year:t.year,day:t.day};return ph(i,n)?[i,n,Ph(e)]:[Ah(e),n,i]}return[Ah(e),n,Ph(e)]},vf=(e,t,n,i,o,r={day:"numeric"})=>{const{month:a,year:s}=t,l=[],c=gh(a,s),d=null!=(null==i?void 0:i.day)&&i.year===s&&i.month===a?i.day:c,u=null!=(null==n?void 0:n.day)&&n.year===s&&n.month===a?n.day:1;if(void 0!==o){let t=o;t=t.filter(e=>e>=u&&e<=d),t.forEach(t=>{const n=new Date("".concat(a,"/").concat(t,"/").concat(s," GMT+0000")),i=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"})).format(n);l.push({text:i,value:t})})}else for(let p=u;p<=d;p++){const t=new Date("".concat(a,"/").concat(p,"/").concat(s," GMT+0000")),n=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"})).format(t);l.push({text:n,value:p})}return l},yf=(e,t)=>
2e.month===t.month&&e.year===t.year?[e]:[e,...yf(Ph(e),t)],wf=(e,t,n,i)=>null===e.day||void 0!==i&&!i.includes(e.day)||!(!t||!ph(e,t))||!(!n||!hh(e,n)),xf=(e,{minParts:t,maxParts:n})=>{return!(i=e.year,o=t,r=n,!(o&&o.year>i||r&&r.year<i||t&&ph(e,t)||n&&hh(e,n)));var i,o,r},kf=(e,t)=>{var n,i,o,r;((null===(n=null==t?void 0:t.date)||void 0===n?void 0:n.timeZone)||(null===(i=null==t?void 0:t.date)||void 0===i?void 0:i.timeZoneName)||(null===(o=null==t?void 0:t.time)||void 0===o?void 0:o.timeZone)||(null===(r=null==t?void 0:t.time)||void 0===r?void 0:r.timeZoneName))&&Ms(0)},_f=(e,t,n)=>{if(n)switch(t){case"date":case"month-year":case"month":case"year":void 0===n.date&&Ms("[ion-datetime] - The '".concat(t,"' presentation requires a date object in formatOptions."));break;case"time":void 0===n.time&&Ms(0);break;case"date-time":case"time-date":void 0===n.date&&void 0===n.time&&Ms("[ion-datetime] - The '".concat(t,"' presentation requires either a date or time object (or both) in formatOptions."))}},Ef=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionCancel=bc(this,"ionCancel",7),this.ionChange=bc(this,"ionChange",7),this.ionValueChange=bc(this,"ionValueChange",7),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.ionStyle=bc(this,"ionStyle",7),this.ionRender=bc(this,"ionRender",7),this.inputId="ion-dt-"+Sf++,this.hasBeenIntersecting=!1,this.prevPresentation=null,this.showMonthAndYear=!1,this.activeParts=[],this.workingParts={month:5,day:28,year:2021,hour:13,minute:52,ampm:"pm",isAdjacentDay:!1},this.isTimePopoverOpen=!1,this.color="primary",this.name=this.inputId,this.disabled=!1,this.readonly=!1,this.showAdjacentDays=!1,this.presentation="date-time",this.cancelText="Cancel",this.doneText="Done",this.clearText="Clear",this.locale="default",this.firstDayOfWeek=0,this.multiple=!1,this.showDefaultTitle=!1,this.showDefaultButtons=!1,this.showClearButton=!1,this.showDefaultTimeLabel=!0,this.size="fixed",this.preferWheel=!1,this.warnIfIncorrectValueUsage=()=>{const{multiple:e,value:t}=this;!e&&Array.isArray(t)&&Ms('[ion-datetime] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: ['.concat(t.map(e=>"'".concat(e,"'")).join(", "),"]\n"),this.el)},this.setValue=e=>{this.value=e,this.ionChange.emit({value:e})},this.getActivePartsWithFallback=()=>{var e;const{defaultParts:t}=this;return null!==(e=this.getActivePart())&&void 0!==e?e:t},this.getActivePart=()=>{const{activeParts:e}=this;return Array.isArray(e)?e[0]:e},this.closeParentOverlay=e=>{const t=this.el.closest("ion-modal, ion-popover");t&&t.dismiss(void 0,e)},this.setWorkingParts=e=>{this.workingParts=Object.assign({},e)},this.setActiveParts=(e,t=!1)=>{if(this.readonly)return;const{multiple:n,minParts:i,maxParts:o,activeParts:r}=this,a=((e,t,n)=>{const{month:i,day:o,year:r}=e,a=kh(Object.assign({},e),t,n),s=gh(i,r);return null!==o&&s<o&&(a.day=s),void 0!==t&&uh(a,t)&&void 0!==a.hour&&void 0!==t.hour&&(a.hour<t.hour?(a.hour=t.hour,a.minute=t.minute):a.hour===t.hour&&void 0!==a.minute&&void 0!==t.minute&&a.minute<t.minute&&(a.minute=t.minute)),void 0!==n&&uh(e,n)&&void 0!==a.hour&&void 0!==n.hour&&(a.hour>n.hour?(a.hour=n.hour,a.minute=n.minute):a.hour===n.hour&&void 0!==a.minute&&void 0!==n.minute&&a.minute>n.minute&&(a.minute=n.minute)),a})(e,i,o);if(this.setWorkingParts(a),n){const e=Array.isArray(r)?r:[r];this.activeParts=t?e.filter(e=>!uh(e,a)):[...e,a]}else this.activeParts=Object.assign({},a);null!==this.el.querySelector('[slot="buttons"]')||this.showDefaultButtons||this.confirm()},this.initializeKeyboardListeners=()=>{const e=this.calendarBodyRef;if(!e)return;const t=this.el.shadowRoot,n=e.querySelector(".calendar-month:nth-of-type(2)"),i=new MutationObserver(t=>{var i;!(null===(i=t[0].oldValue)||void 0===i?void 0:i.includes("ion-focused"))&&e.classList.contains("ion-focused")&&this.focusWorkingDay(n)});i.observe(e,{attributeFilter:["class"],attributeOldValue:!0}),this.destroyKeyboardMO=()=>{null==i||i.disconnect()},e.addEventListener("keydown",e=>{const i=t.activeElement;if(!i||!i.classList.contains("calendar-day"))return;const o=(e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)}))(i);let r;
2switch(e.key){case"ArrowDown":e.preventDefault(),r=(e=>Ih(e,7))(o);break;case"ArrowUp":e.preventDefault(),r=(e=>Th(e,7))(o);break;case"ArrowRight":e.preventDefault(),r=(e=>Ih(e,1))(o);break;case"ArrowLeft":e.preventDefault(),r=(e=>Th(e,1))(o);break;case"Home":e.preventDefault(),r=(e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return Th(e,t)})(o);break;case"End":e.preventDefault(),r=(e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return Ih(e,6-t)})(o);break;case"PageUp":e.preventDefault(),r=e.shiftKey?(e=>Oh(e,-1))(o):Ah(o);break;case"PageDown":e.preventDefault(),r=e.shiftKey?(e=>Oh(e,1))(o):Ph(o);break;default:return}wf(r,this.minParts,this.maxParts)||(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),r)),requestAnimationFrame(()=>this.focusWorkingDay(n)))})},this.focusWorkingDay=e=>{const{day:t,month:n,year:i}=this.workingParts,o=new Date("".concat(n,"/1/").concat(i)).getDay();if(null===t)return;const r=e.querySelector(".calendar-day-wrapper:nth-of-type(".concat((o>=this.firstDayOfWeek?o-this.firstDayOfWeek:7-(this.firstDayOfWeek-o))+t,") .calendar-day"));r&&r.focus()},this.processMinParts=()=>{const{min:e,defaultParts:t}=this;this.minParts=void 0!==e?((e,t)=>{const n=xh(e);if(void 0===n)return;const{month:i,day:o,year:r,hour:a,minute:s}=n;return{month:null!=i?i:1,day:null!=o?o:1,year:null!=r?r:t.year,hour:null!=a?a:0,minute:null!=s?s:0}})(e,t):void 0},this.processMaxParts=()=>{const{max:e,defaultParts:t}=this;this.maxParts=void 0!==e?((e,t)=>{const n=xh(e);if(void 0===n)return;const{month:i,day:o,year:r,hour:a,minute:s}=n,l=null!=r?r:t.year,c=null!=i?i:12;return{month:c,day:null!=o?o:gh(c,l),year:l,hour:null!=a?a:23,minute:null!=s?s:59}})(e,t):void 0},this.initializeCalendarListener=()=>{const e=this.calendarBodyRef;if(!e)return;const t=e.querySelectorAll(".calendar-month"),n=t[0],i=t[1],o=t[2],r="ios"===tu(this)&&"undefined"!=typeof navigator&&navigator.maxTouchPoints>1;gl(()=>{e.scrollLeft=n.clientWidth*(rp(this.el)?-1:1);const t=t=>{const i=e.getBoundingClientRect(),r=(rp(this.el)?e.scrollLeft>=-2:e.scrollLeft<=2)?n:o,a=r.getBoundingClientRect();if(Math.abs(a.x-i.x)>2)return;const{forceRenderDate:s}=this;return void 0!==s?{month:s.month,year:s.year,day:s.day}:r===n?Ah(t):r===o?Ph(t):void 0},a=()=>{r&&(e.style.removeProperty("pointer-events"),l=!1);const n=t(this.workingParts);if(!n)return;const{month:o,day:a,year:s}=n;xf({month:o,year:s,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})})||(e.style.setProperty("overflow","hidden"),gl(()=>{var t;this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),{month:o,day:a,year:s})),e.scrollLeft=i.clientWidth*(rp(this.el)?-1:1),e.style.removeProperty("overflow"),this.resolveForceDateScrolling&&this.resolveForceDateScrolling();const n=this.el.shadowRoot.activeElement;n&&n.classList.contains("calendar-day")&&(null===(t=n.closest(".calendar-body"))||void 0===t||t.focus())}))};let s,l=!1;const c=()=>{s&&clearTimeout(s),!l&&r&&(e.style.setProperty("pointer-events","none"),l=!0),s=setTimeout(a,50)};e.addEventListener("scroll",c),this.destroyCalendarListener=()=>{e.removeEventListener("scroll",c)}})},this.destroyInteractionListeners=()=>{const{destroyCalendarListener:e,destroyKeyboardMO:t}=this;void 0!==e&&e(),void 0!==t&&t()},this.ensureReadyIfVisible=()=>{if(this.el.classList.contains("datetime-ready"))return;const e=this.el.getBoundingClientRect();0!==e.width&&0!==e.height&&this.markReady()},this.markReady=()=>{this.el.classList.contains("datetime-ready")||(this.initializeListeners(),gl(()=>{this.el.classList.add("datetime-ready")}))},this.loadTimeoutCleanup=()=>{this.loadTimeout&&(clearTimeout(this.loadTimeout),this.loadTimeout=void 0)},this.processValue=e=>{const t=null!=e&&""!==e&&(!Array.isArray(e)||e.length>0),n=t?xh(e):this.defaultParts,{minParts:i,maxParts:o,workingParts:r,el:a}=this;if(this.warnIfIncorrectValueUsage(),!n)return;t&&((e,t,n)=>{const i=Array.isArray(e)?e:[e];for(const o of i)if(void 0!==t&&ph(o,t)||void 0!==n&&hh(o,n)){Ms("[ion-datetime] - The value provided to ion-datetime is out of bounds.\n\nMin: ".concat(JSON.stringify(t),"\nMax: ").concat(JSON.stringify(n),"\nValue: ").concat(JSON.stringify(e)));break}})(n,i,o);const s=kh(Array.isArray(n)?n[n.length-1]:n,i,o),{month:l,day:c,year:d,hour:u,minute:p}=s,h=_h(u);this.activeParts=t?Array.isArray(n)?[...n]:{month:l,day:c,year:d,hour:u,minute:p,ampm:h}:[];const m=void 0!==l&&l!==r.month||void 0!==d&&d!==r.year,f=a.classList.contains("datetime-ready"),{isGridStyle:g,showMonthAndYear:b}=this;g&&m&&f&&!b?this.animateToDate(s):this.setWorkingParts({month:l,day:c,year:d,hour:u,minute:p,ampm:h})},this.animateToDate=async e=>{const{workingParts:t}=this;this.forceRenderDate=e;const n=new Promise(e=>{this.resolveForceDateScrolling=e});ph(e,t)?this.prevMonth():this.nextMonth(),await n,this.resolveForceDateScrolling=void 0,this.forceRenderDate=void 0},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.hasValue=()=>null!=this.value,this.nextMonth=()=>{const e=this.calendarBodyRef;if(!e)return;const t=e.querySelector(".calendar-month:last-of-type");if(!t)return;const n=2*t.offsetWidth,i=Ps.getBoolean("animated",!0)?"smooth":"instant";e.scrollTo({top:0,left:n*(rp(this.el)?-1:1),behavior:i})},this.prevMonth=()=>{const e=this.calendarBodyRef;if(!e)return;const t=e.querySelector(".calendar-month:first-of-type");if(!t)return;const n=2*t.offsetWidth,i=Ps.getBoolean("animated",!0)?"smooth":"instant";e.scrollTo({top:0,left:n*(rp(this.el)?1:-1),behavior:i})},this.toggleMonthAndYearView=()=>{this.showMonthAndYear=!this.showMonthAndYear}}formatOptionsChanged(){const{el:e,formatOptions:t,presentation:n}=this;_f(0,n,t),kf(0,t)}disabledChanged(){this.emitStyle()}minChanged(){this.processMinParts()}maxChanged(){this.processMaxParts()}presentationChanged(){const{el:e,formatOptions:t,presentation:n}=this;_f(0,n,t)}get isGridStyle(){const{presentation:e,preferWheel:t}=this;return("date"===e||"date-time"===e||"time-date"===e)&&!t}yearValuesChanged(){this.parsedYearValues=wh(this.yearValues)}monthValuesChanged(){this.parsedMonthValues=wh(this.monthValues)}dayValuesChanged(){this.parsedDayValues=wh(this.dayValues)}hourValuesChanged(){this.parsedHourValues=wh(this.hourValues)}minuteValuesChanged(){this.parsedMinuteValues=wh(this.minuteValues)}async valueChanged(){const{value:e}=this;this.hasValue()&&this.processValue(e),this.emitStyle(),this.ionValueChange.emit({value:e})}async confirm(e=!1){const{isCalendarPicker:t,activeParts:n,preferWheel:i,workingParts:o}=this;void 0===n&&t||this.setValue(Array.isArray(n)&&0===n.length?i?Sh(o):void 0:Sh(n)),e&&this.closeParentOverlay(Tf)}async reset(e){this.processValue(e)}async cancel(e=!1){this.ionCancel.emit(),e&&this.closeParentOverlay(Cf)}async getDefaultPart(){return this.defaultParts}get isCalendarPicker(){const{presentation:e}=this;return"date"===e||"date-time"===e||"time-date"===e}connectedCallback(){this.clearFocusVisible=hp(this.el).destroy,this.loadTimeout=setTimeout(()=>{this.ensureReadyIfVisible()},100)}disconnectedCallback(){this.clearFocusVisible&&(this.clearFocusVisible(),this.clearFocusVisible=void 0),this.loadTimeoutCleanup(),this.hasBeenIntersecting=!1}initializeListeners(){this.initializeCalendarListener(),this.initializeKeyboardListeners()}componentDidLoad(){const{el:e,intersectionTrackerRef:t}=this,n=new IntersectionObserver(e=>{e[0].isIntersecting&&(this.hasBeenIntersecting=!0,this.markReady())},{threshold:.01,root:e});_d(()=>null==n?void 0:n.observe(t)),this.loadTimeoutCleanup(),this.loadTimeout=setTimeout(()=>{this.ensureReadyIfVisible()},100);const i=new IntersectionObserver(e=>{e[0].isIntersecting||this.hasBeenIntersecting&&(this.hasBeenIntersecting=!1,this.destroyInteractionListeners(),this.showMonthAndYear=!1,gl(()=>{this.el.classList.remove("datetime-ready")}))},{threshold:0,root:e});_d(()=>null==i?void 0:i.observe(t));const o=kd(this.el);o.addEventListener("ionFocus",e=>e.stopPropagation()),o.addEventListener("ionBlur",e=>e.stopPropagation())}componentDidRender(){const{presentation:e,prevPresentation:t,calendarBodyRef:n,minParts:i,preferWheel:o,forceRenderDate:r}=this;if(void 0!==i&&!o&&["date-time","time-date","date"].includes(e)&&n){const e=n.querySelector(".calendar-month:nth-of-type(1)");e&&void 0===r&&(n.scrollLeft=e.clientWidth*(rp(this.el)?-1:1))}null!==t?e!==t&&(this.prevPresentation=e,this.destroyInteractionListeners(),this.initializeListeners(),this.showMonthAndYear=!1,_d(()=>{this.ionRender.emit()})):this.prevPresentation=e}componentWillLoad(){const{el:e,formatOptions:t,highlightedDates:n,multiple:i,presentation:o,preferWheel:r}=this;i&&("date"!==o&&Ms(0),r&&Ms(0)),void 0!==n&&("date"!==o&&"date-time"!==o&&"time-date"!==o&&Ms(0),r&&Ms(0)),t&&(_f(0,o,t),kf(0,t));const a=this.parsedHourValues=wh(this.hourValues),s=this.parsedMinuteValues=wh(this.minuteValues),l=this.parsedMonthValues=wh(this.monthValues),c=this.parsedYearValues=wh(this.yearValues),d=this.parsedDayValues=wh(this.dayValues),u=this.todayParts=xh(Gh(new Date).toISOString());this.processMinParts(),this.processMaxParts(),this.defaultParts=(({refParts:e,monthValues:t,dayValues:n,yearValues:i,hourValues:o,minuteValues:r,minParts:a,maxParts:s})=>{const{hour:l,minute:c,day:d,month:u,year:p}=e,h=Object.assign(Object.assign({},e),{dayOfWeek:void 0});if(void 0!==i){const e=i.filter(e=>!(void 0!==a&&e<a.year||void 0!==s&&e>s.year));h.year=Lh(p,e)}if(void 0!==t){const e=t.filter(e=>!(void 0!==a&&h.year===a.year&&e<a.month||void 0!==s&&h.year===s.year&&e>s.month));h.month=Lh(u,e)}if(null!==d&&void 0!==n){const e=n.filter(e=>!(void 0!==a&&ph(Object.assign(Object.assign({},h),{day:e}),a)||void 0!==s&&hh(Object.assign(Object.assign({},h),{day:e}),s)));h.day=Lh(d,e)}if(void 0!==l&&void 0!==o){const e=o.filter(e=>!(void 0!==(null==a?void 0:a.hour)&&uh(h,a)&&e<a.hour||void 0!==(null==s?void 0:s.hour)&&uh(h,s)&&e>s.hour));h.hour=Lh(l,e),h.ampm=_h(h.hour)}if(void 0!==c&&void 0!==r){const e=r.filter(e=>!(void 0!==(null==a?void 0:a.minute)&&uh(h,a)&&h.hour===a.hour&&e<a.minute||void 0!==(null==s?void 0:s.minute)&&uh(h,s)&&h.hour===s.hour&&e>s.minute));h.minute=Lh(c,e)}return h})({refParts:u,monthValues:l,dayValues:d,yearValues:c,hourValues:a,minuteValues:s,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:t,showDefaultButtons:n,showClearButton:i}=this,o=e||t;if(null===this.el.querySelector('[slot="buttons"]')&&!n&&!i)return;const r=()=>{this.reset(),this.setValue(void 0)};return Ql("div",{class:"datetime-footer"},Ql("div",{class:"datetime-buttons"},Ql("div",{class:{"datetime-action-buttons":!0,"has-clear-button":this.showClearButton}},Ql("slot",{name:"buttons"},Ql("ion-buttons",null,n&&Ql("ion-button",{id:"cancel-button",color:this.color,onClick:()=>this.cancel(!0),disabled:o},this.cancelText),Ql("div",{class:"datetime-action-buttons-container"},i&&Ql("ion-button",{id:"clear-button",color:this.color,onClick:()=>r(),disabled:o},this.clearText),n&&Ql("ion-button",{id:"confirm-button",color:this.color,onClick:()=>this.confirm(!0),disabled:o},this.doneText)))))))}renderWheelPicker(e=this.presentation){const t="time-date"===e?[this.renderTimePickerColumns(e),this.renderDatePickerColumns(e)]:[this.renderDatePickerColumns(e),this.renderTimePickerColumns(e)];
2return Ql("ion-picker",{class:dh},t)}renderDatePickerColumns(e){return"date-time"===e||"time-date"===e?this.renderCombinedDatePickerColumn():this.renderIndividualDatePickerColumns(e)}renderCombinedDatePickerColumn(){const{defaultParts:e,disabled:t,workingParts:n,locale:i,minParts:o,maxParts:r,todayParts:a,isDateEnabled:s}=this,l=this.getActivePartsWithFallback(),c=bf(n),d=c[c.length-1];c[0].day=1,d.day=gh(d.month,d.year);const u=((e,t,n,i,o,r)=>{let a=[],s=[],l=yf(n,i);return r&&(l=l.filter(({month:e})=>r.includes(e))),l.forEach(r=>{const l={month:r.month,day:null,year:r.year},c=vf(e,l,n,i,o,{month:"short",day:"numeric",weekday:"short"}),d=[],u=[];c.forEach(n=>{const i=uh(Object.assign(Object.assign({},l),{day:n.value}),t);u.push({text:i?Wh(e):n.text,value:"".concat(l.year,"-").concat(l.month,"-").concat(n.value)}),d.push({month:l.month,year:l.year,day:n.value})}),s=[...s,...d],a=[...a,...u]}),{parts:s,items:a}})(i,a,void 0!==o&&hh(o,c[0])?o:c[0],void 0!==r&&ph(r,d)?r:d,this.parsedDayValues,this.parsedMonthValues);let p=u.items;const h=u.parts;s&&(p=p.map((e,t)=>{const n=h[t];let i;try{i=!s(Sh(n))}catch(o){zs(0)}return Object.assign(Object.assign({},e),{disabled:i})}));const m=null!==n.day?"".concat(n.year,"-").concat(n.month,"-").concat(n.day):"".concat(e.year,"-").concat(e.month,"-").concat(e.day);return Ql("ion-picker-column",{part:If,"aria-label":"Select a date",class:"date-column",color:this.color,disabled:t,value:m,onIonChange:e=>{const{value:t}=e.detail,i=h.find(({month:e,day:n,year:i})=>t==="".concat(i,"-").concat(e,"-").concat(n));this.setWorkingParts(Object.assign(Object.assign({},n),i)),this.setActiveParts(Object.assign(Object.assign({},l),i)),e.stopPropagation()}},p.map(e=>Ql("ion-picker-column-option",{part:e.value===m?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderIndividualDatePickerColumns(e){const{workingParts:t,isDateEnabled:n}=this,i="year"!==e&&"time"!==e?((e,t,n,i,o,r={month:"long"})=>{const{year:a}=t,s=[];if(void 0!==o){let t=o;void 0!==(null==i?void 0:i.month)&&(t=t.filter(e=>e<=i.month)),void 0!==(null==n?void 0:n.month)&&(t=t.filter(e=>e>=n.month)),t.forEach(t=>{const n=new Date("".concat(t,"/1/").concat(a," GMT+0000")),i=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"})).format(n);s.push({text:i,value:t})})}else{const t=i&&i.year===a?i.month:12;for(let i=n&&n.year===a?n.month:1;i<=t;i++){const t=new Date("".concat(i,"/1/").concat(a," GMT+0000")),n=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},r),{timeZone:"UTC"})).format(t);s.push({text:n,value:i})}}return s})(this.locale,t,this.minParts,this.maxParts,this.parsedMonthValues):[];let o="date"===e?vf(this.locale,t,this.minParts,this.maxParts,this.parsedDayValues):[];n&&(o=o.map(e=>{const{value:i}=e,o={month:t.month,day:"string"==typeof i?parseInt(i):i,year:t.year};let r;try{r=!n(Sh(o))}catch(a){zs(0)}return Object.assign(Object.assign({},e),{disabled:r})}));const r="month"!==e&&"time"!==e?((e,t,n,i,o)=>{var r,a;let s=[];if(void 0!==o)s=o,void 0!==(null==i?void 0:i.year)&&(s=s.filter(e=>e<=i.year)),void 0!==(null==n?void 0:n.year)&&(s=s.filter(e=>e>=n.year));else{const{year:e}=t,o=null!==(r=null==i?void 0:i.year)&&void 0!==r?r:e;for(let t=null!==(a=null==n?void 0:n.year)&&void 0!==a?a:e-100;t<=o;t++)s.push(t)}return s.map(n=>({text:Fh(e,{year:n,month:t.month,day:t.day}),value:n}))})(this.locale,this.defaultParts,this.minParts,this.maxParts,this.parsedYearValues):[];let a=[];return a=bh(this.locale,{month:"numeric",day:"numeric"})?[this.renderMonthPickerColumn(i),this.renderDayPickerColumn(o),this.renderYearPickerColumn(r)]:[this.renderDayPickerColumn(o),this.renderMonthPickerColumn(i),this.renderYearPickerColumn(r)],a}renderDayPickerColumn(e){var t;if(0===e.length)return[];const{disabled:n,workingParts:i}=this,o=this.getActivePartsWithFallback(),r=null!==(t=null!==i.day?i.day:this.defaultParts.day)&&void 0!==t?t:void 0;return Ql("ion-picker-column",{part:If,"aria-label":"Select a day",class:"day-column",color:this.color,disabled:n,value:r,onIonChange:e=>{this.setWorkingParts(Object.assign(Object.assign({},i),{day:e.detail.value})),this.setActiveParts(Object.assign(Object.assign({},o),{day:e.detail.value})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===r?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderMonthPickerColumn(e){if(0===e.length)return[];const{disabled:t,workingParts:n}=this,i=this.getActivePartsWithFallback();
2return Ql("ion-picker-column",{part:If,"aria-label":"Select a month",class:"month-column",color:this.color,disabled:t,value:n.month,onIonChange:e=>{this.setWorkingParts(Object.assign(Object.assign({},n),{month:e.detail.value})),this.multiple||this.setActiveParts(Object.assign(Object.assign({},i),{month:e.detail.value})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===n.month?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderYearPickerColumn(e){if(0===e.length)return[];const{disabled:t,workingParts:n}=this,i=this.getActivePartsWithFallback();return Ql("ion-picker-column",{part:If,"aria-label":"Select a year",class:"year-column",color:this.color,disabled:t,value:n.year,onIonChange:e=>{this.setWorkingParts(Object.assign(Object.assign({},n),{year:e.detail.value})),this.multiple||this.setActiveParts(Object.assign(Object.assign({},i),{year:e.detail.value})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===n.year?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderTimePickerColumns(e){if(["date","month","month-year","year"].includes(e))return[];const t=void 0!==this.getActivePart(),{hoursData:n,minutesData:i,dayPeriodData:o}=((e,t,n,i,o,r,a)=>{const s=mh(e,this.hourCycle),l=fh(s),{hours:c,minutes:d,am:u,pm:p}=((e,t,n="h12",i,o,r,a)=>{const s=mh(e,n),l=fh(s);let c=(e=>{switch(e){case"h11":return hf;case"h12":return mf;case"h23":return ff;case"h24":return gf;default:throw Error('Invalid hour cycle "'.concat(e,'"'))}})(s),d=pf,u=!0,p=!0;if(r&&(c=c.filter(e=>r.includes(e))),a&&(d=d.filter(e=>a.includes(e))),i)if(uh(t,i)){if(void 0!==i.hour&&(c=c.filter(e=>(l?e:"pm"===t.ampm?(e+12)%24:e)>=i.hour),u=i.hour<13),void 0!==i.minute){let e=!1;void 0!==i.hour&&void 0!==t.hour&&t.hour>i.hour&&(e=!0),d=d.filter(t=>!!e||t>=i.minute)}}else ph(t,i)&&(c=[],d=[],u=p=!1);return o&&(uh(t,o)?(void 0!==o.hour&&(c=c.filter(e=>(l?e:"pm"===t.ampm?(e+12)%24:e)<=o.hour),p=o.hour>=12),void 0!==o.minute&&t.hour===o.hour&&(d=d.filter(e=>e<=o.minute))):hh(t,o)&&(c=[],d=[],u=p=!1)),{hours:c,minutes:d,am:u,pm:p}})(e,t,s,i,o,r,a),h=c.map(e=>({text:zh(e,s),value:Rh(e,l,t.ampm)})),m=d.map(e=>({text:Mh(e),value:e})),f=[];return u&&!l&&f.push({text:Xh(e,"am"),value:"am"}),p&&!l&&f.push({text:Xh(e,"pm"),value:"pm"}),{minutesData:m,hoursData:h,dayPeriodData:f}})(this.locale,this.workingParts,0,t?this.minParts:void 0,t?this.maxParts:void 0,this.parsedHourValues,this.parsedMinuteValues);return[this.renderHourPickerColumn(n),this.renderMinutePickerColumn(i),this.renderDayPeriodPickerColumn(o)]}renderHourPickerColumn(e){const{disabled:t,workingParts:n}=this;if(0===e.length)return[];const i=this.getActivePartsWithFallback();return Ql("ion-picker-column",{part:If,"aria-label":"Select an hour",color:this.color,disabled:t,value:i.hour,numericInput:!0,onIonChange:e=>{this.setWorkingParts(Object.assign(Object.assign({},n),{hour:e.detail.value})),this.setActiveParts(Object.assign(Object.assign({},this.getActivePartsWithFallback()),{hour:e.detail.value})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===i.hour?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderMinutePickerColumn(e){const{disabled:t,workingParts:n}=this;if(0===e.length)return[];const i=this.getActivePartsWithFallback();return Ql("ion-picker-column",{part:If,"aria-label":"Select a minute",color:this.color,disabled:t,value:i.minute,numericInput:!0,onIonChange:e=>{this.setWorkingParts(Object.assign(Object.assign({},n),{minute:e.detail.value})),this.setActiveParts(Object.assign(Object.assign({},this.getActivePartsWithFallback()),{minute:e.detail.value})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===i.minute?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderDayPeriodPickerColumn(e){const{disabled:t,workingParts:n}=this;if(0===e.length)return[];const i=this.getActivePartsWithFallback(),o=(e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type)(this.locale);
2return Ql("ion-picker-column",{part:If,"aria-label":"Select a day period",style:o?{order:"-1"}:{},color:this.color,disabled:t,value:i.ampm,onIonChange:e=>{const t=((e,t)=>{const{ampm:n,hour:i}=e;let o=i;return"am"===n&&"pm"===t?o=Ch(o,"pm"):"pm"===n&&"am"===t&&(o=Math.abs(o-12)),o})(n,e.detail.value);this.setWorkingParts(Object.assign(Object.assign({},n),{ampm:e.detail.value,hour:t})),this.setActiveParts(Object.assign(Object.assign({},this.getActivePartsWithFallback()),{ampm:e.detail.value,hour:t})),e.stopPropagation()}},e.map(e=>Ql("ion-picker-column-option",{part:e.value===i.ampm?"".concat(Af," ").concat(Pf):Af,key:e.value,disabled:e.disabled,value:e.value},e.text)))}renderWheelView(e){const{locale:t}=this,n=bh(t)?"month-first":"year-first";return Ql("div",{class:{["wheel-order-"+n]:!0}},this.renderWheelPicker(e))}renderCalendarHeader(e){const{disabled:t}=this,n="ios"===e?zd:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 368 256 144 64 368z'/></svg>",i="ios"===e?jd:Nd,o=t||((e,t,n)=>{const i=Object.assign(Object.assign({},Ah(this.workingParts)),{day:null});return xf(i,{minParts:t,maxParts:n})})(0,this.minParts,this.maxParts),r=t||((e,t)=>{const n=Object.assign(Object.assign({},Ph(this.workingParts)),{day:null});return xf(n,{maxParts:t})})(0,this.maxParts),a=this.el.getAttribute("dir")||void 0;return Ql("div",{class:"calendar-header",part:"calendar-header"},Ql("div",{class:"calendar-action-buttons"},Ql("div",{class:"calendar-month-year"},Ql("button",{class:{"calendar-month-year-toggle":!0,"ion-activatable":!0,"ion-focusable":!0},part:"month-year-button",disabled:t,"aria-label":this.showMonthAndYear?"Hide year picker":"Show year picker",onClick:()=>this.toggleMonthAndYearView()},Ql("span",{id:"toggle-wrapper"},((e,t)=>{const n=Vh(t);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)})(this.locale,this.workingParts),Ql("ion-icon",{"aria-hidden":"true",icon:this.showMonthAndYear?n:i,lazy:!1,flipRtl:!0})),"md"===e&&Ql("ion-ripple-effect",null))),Ql("div",{class:"calendar-next-prev"},Ql("ion-buttons",null,Ql("ion-button",{"aria-label":"Previous month",disabled:o,onClick:()=>this.prevMonth(),part:"navigation-button previous-button"},Ql("ion-icon",{dir:a,"aria-hidden":"true",slot:"icon-only",icon:Md,lazy:!1,flipRtl:!0})),Ql("ion-button",{"aria-label":"Next month",disabled:r,onClick:()=>this.nextMonth(),part:"navigation-button next-button"},Ql("ion-icon",{dir:a,"aria-hidden":"true",slot:"icon-only",icon:jd,lazy:!1,flipRtl:!0}))))),Ql("div",{class:"calendar-days-of-week","aria-hidden":"true",part:"calendar-days-of-week"},((e,t,n=0)=>{const i=new Intl.DateTimeFormat(this.locale,{weekday:"ios"===t?"short":"narrow"}),o=new Date("11/01/2020"),r=[];for(let a=n;a<n+7;a++){const e=new Date(o);e.setDate(e.getDate()+a),r.push(i.format(e))}return r})(0,e,this.firstDayOfWeek%7).map(e=>Ql("div",{class:"day-of-week"},e))))}renderMonth(e,t){const{disabled:n,readonly:i}=this,o=void 0===this.parsedYearValues||this.parsedYearValues.includes(t),r=void 0===this.parsedMonthValues||this.parsedMonthValues.includes(e),a=!o||!r,s=n||i,l=n||xf({month:e,year:t,day:null},{minParts:Object.assign(Object.assign({},this.minParts),{day:null}),maxParts:Object.assign(Object.assign({},this.maxParts),{day:null})}),c=this.workingParts.month===e&&this.workingParts.year===t,d=this.getActivePartsWithFallback();return Ql("div",{"aria-hidden":c?null:"true",class:{"calendar-month":!0,"calendar-month-disabled":!c&&l}},Ql("div",{class:"calendar-month-grid"},((e,t,n,i=!1)=>{const o=gh(e,t);let r;r=1===e?gh(12,t-1):gh(e-1,t);const a=new Date("".concat(e,"/1/").concat(t)).getDay(),s=a>=n?a-(n+1):6-(n-a);let l=[];for(let c=1;c<=o;c++)l.push({day:c,dayOfWeek:(s+c)%7,isAdjacentDay:!1});if(i){for(let t=0;t<=s;t++)l=[{day:r-t,dayOfWeek:(r-t)%7,isAdjacentDay:!0},...l];const e=41-(o+s);for(let t=0;t<e;t++)l.push({day:t+1,dayOfWeek:(o+s+t)%7,isAdjacentDay:!0})}else for(let c=0;c<=s;c++)l=[{day:null,dayOfWeek:null,isAdjacentDay:!1},...l];return l})(e,t,this.firstDayOfWeek%7,this.showAdjacentDays).map((n,i)=>{const{day:o,dayOfWeek:r,isAdjacentDay:l}=n,{el:c,highlightedDates:u,isDateEnabled:p,multiple:h,showAdjacentDays:m}=this;let f=e,g=t;m&&l&&null!==o&&(o>20?1===e?(g=t-1,f=12):f=e-1:o<15&&(12===e?(g=t+1,f=1):f=e+1));const b={month:f,day:o,year:g,isAdjacentDay:l},v=null===o,{isActive:y,isToday:w,ariaLabel:x,ariaSelected:k,disabled:_,text:E}=((e,t,n,i,o,r,a)=>{const s=void 0!==(Array.isArray(n)?n:[n]).find(e=>uh(t,e)),l=uh(t,i);return{disabled:wf(t,o,r,a),isActive:s,isToday:l,ariaSelected:s?"true":null,ariaLabel:jh(e,l,t),text:null!=t.day?Bh(e,t):null}})(this.locale,b,this.activeParts,this.todayParts,this.minParts,this.maxParts,this.parsedDayValues),S=Sh(b);let C=a||_;if(!C&&void 0!==p)try{C=!p(S)}catch(O){zs(0)}const T=C&&s,I=C||s;let A,P;return void 0===u||y||null===o||l||(A=((e,t)=>{if(Array.isArray(e)){const n=t.split("T")[0],i=e.find(e=>e.date===n);if(i)return{textColor:i.textColor,backgroundColor:i.backgroundColor,border:i.border}}else try{return e(t)}catch(n){zs(0)}})(u,S)),v||l?l&&(P="calendar-day"+(C?" disabled":"")):P="calendar-day".concat(y?" active":"").concat(w?" today":"").concat(C?" disabled":""),Ql("div",{class:"calendar-day-wrapper"},Ql("button",{ref:e=>{e&&(e.style.setProperty("color",""+(A?A.textColor:""),"important"),e.style.setProperty("background-color",""+(A?A.backgroundColor:""),"important"),e.style.setProperty("border",""+(A?A.border:""),"important"))},tabindex:"-1","data-day":o,"data-month":f,"data-year":g,"data-index":i,"data-day-of-week":r,disabled:I,class:{"calendar-day-padding":v,"calendar-day":!0,"calendar-day-active":y,"calendar-day-constrained":T,"calendar-day-today":w,"calendar-day-adjacent-day":l},part:P,"aria-hidden":v?"true":null,"aria-selected":k,"aria-label":x,onClick:()=>{v||(l?(this.el.blur(),this.activeParts=Object.assign(Object.assign({},d),b),this.animateToDate(b),this.confirm()):(this.setWorkingParts(Object.assign(Object.assign({},this.workingParts),b)),h?this.setActiveParts(b,y):this.setActiveParts(Object.assign(Object.assign({},d),b))))}},E))})))}renderCalendarBody(){return Ql("div",{class:"calendar-body ion-focusable",ref:e=>this.calendarBodyRef=e,tabindex:"0"},bf(this.workingParts,this.forceRenderDate).map(({month:e,year:t})=>this.renderMonth(e,t)))}renderCalendar(e){return Ql("div",{class:"datetime-calendar",key:"datetime-calendar"},this.renderCalendarHeader(e),this.renderCalendarBody())}renderTimeLabel(){if(null!==this.el.querySelector('[slot="time-label"]')||this.showDefaultTimeLabel)return Ql("slot",{name:"time-label"},"Time")}renderTimeOverlay(){const{disabled:e,hourCycle:t,isTimePopoverOpen:n,locale:i,formatOptions:o}=this,r=mh(i,t),a=this.getActivePartsWithFallback();return[Ql("div",{class:"time-header"},this.renderTimeLabel()),Ql("button",{class:{"time-body":!0,"time-body-active":n},part:"time-button"+(n?" active":""),"aria-expanded":"false","aria-haspopup":"true",disabled:e,onClick:async e=>{const{popoverRef:t}=this;t&&(this.isTimePopoverOpen=!0,t.present(new CustomEvent("ionShadowTarget",{detail:{ionShadowTarget:e.target}})),await t.onWillDismiss(),this.isTimePopoverOpen=!1)}}
2,Nh(i,a,r,null==o?void 0:o.time)),Ql("ion-popover",{alignment:"center",translucent:!0,overlayIndex:1,arrow:!1,onWillPresent:e=>{e.target.querySelectorAll("ion-picker-column").forEach(e=>e.scrollActiveItemIntoView())},style:{"--offset-y":"-10px","--min-width":"fit-content"},keyboardEvents:!0,ref:e=>this.popoverRef=e},this.renderWheelPicker("time"))]}getHeaderSelectedDateText(){var e;const{activeParts:t,formatOptions:n,multiple:i,titleSelectedDatesFormatter:o}=this;let r;if(i&&Array.isArray(t)&&1!==t.length){if(r=t.length+" days",void 0!==o)try{r=o(Sh(t))}catch(a){zs(0)}}else r=Uh(this.locale,this.getActivePartsWithFallback(),null!==(e=null==n?void 0:n.date)&&void 0!==e?e:{weekday:"short",month:"short",day:"numeric"});return r}renderHeader(e=!0){if(null!==this.el.querySelector('[slot="title"]')||this.showDefaultTitle)return Ql("div",{class:"datetime-header",part:"datetime-header"},Ql("div",{class:"datetime-title",part:"datetime-title"},Ql("slot",{name:"title"},"Select Date")),e&&Ql("div",{class:"datetime-selected-date",part:"datetime-selected-date"},this.getHeaderSelectedDateText()))}renderTime(){const{presentation:e}=this;return Ql("div",{class:"datetime-time"},"time"===e?this.renderWheelPicker():this.renderTimeOverlay())}renderCalendarViewMonthYearPicker(){return Ql("div",{class:"datetime-year"},this.renderWheelView("month-year"))}renderDatetime(e){const{presentation:t,preferWheel:n}=this;if(n&&("date"===t||"date-time"===t||"time-date"===t))return[this.renderHeader(!1),this.renderWheelView(),this.renderFooter()];switch(t){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:t,disabled:n,el:i,color:o,readonly:r,showMonthAndYear:a,preferWheel:s,presentation:l,size:c,isGridStyle:d}=this,u=tu(this),p="year"===l||"month"===l||"month-year"===l,h=a||p,m=a&&!p,f=("date"===l||"date-time"===l||"time-date"===l)&&s;return Sd(0,i,e,(e=>Array.isArray(e)?e.join(","):e)(t),n),Ql(tc,{key:"5e0b83cb88a87945eaae2f9402751819b75452ee","aria-disabled":n?"true":null,onFocus:this.onFocus,onBlur:this.onBlur,class:Object.assign({},Iu(o,{[u]:!0,"datetime-readonly":r,"datetime-disabled":n,"show-month-and-year":h,"month-year-picker-open":m,["datetime-presentation-"+l]:!0,["datetime-size-"+c]:!0,"datetime-prefer-wheel":f,"datetime-grid":d}))},Ql("div",{key:"9f9ba72e9879525961b00abe342a7891492ca0ff",class:"intersection-tracker",ref:e=>this.intersectionTrackerRef=e}),this.renderDatetime(u))}get el(){return this}static get watchers(){return{formatOptions:[{formatOptionsChanged:0}],disabled:[{disabledChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],presentation:[{presentationChanged:0}],yearValues:[{yearValuesChanged:0}],monthValues:[{monthValuesChanged:0}],dayValues:[{dayValuesChanged:0}],hourValues:[{hourValuesChanged:0}],minuteValues:[{minuteValuesChanged:0}],value:[{valueChanged:0}]}}static get style(){return{ios:':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}: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}
2: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}: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-button{--background:transparent}: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:not(.calendar-day-adjacent-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, var(--ion-background-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 .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}
2.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #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, var(--ion-background-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}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{-ms-flex-align:stretch;align-items:stretch;height:100%}: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, var(--ion-text-color-step-700, #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);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-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 .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}: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, var(--ion-background-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}: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}
2: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}: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-button{--background:transparent}: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:not(.calendar-day-adjacent-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, var(--ion-background-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 .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}
2.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-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 .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}: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, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}
2: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,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}: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, var(--ion-text-color-step-350, #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}'}}},[289,"ion-datetime",{color:[1],name:[1],disabled:[4],formatOptions:[16],readonly:[4],isDateEnabled:[16],showAdjacentDays:[4,"show-adjacent-days"],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],getDefaultPart:[64]},void 0,{formatOptions:[{formatOptionsChanged:0}],disabled:[{disabledChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],presentation:[{presentationChanged:0}],yearValues:[{yearValuesChanged:0}],monthValues:[{monthValuesChanged:0}],dayValues:[{dayValuesChanged:0}],hourValues:[{hourValuesChanged:0}],minuteValues:[{minuteValuesChanged:0}],value:[{valueChanged:0}]}]);let Sf=0;const Cf="datetime-cancel",Tf="datetime-confirm",If="wheel",Af="wheel-item",Pf="active",Of=function(){"undefined"!=typeof customElements&&["ion-datetime","ion-backdrop","ion-button","ion-buttons","ion-icon","ion-picker","ion-picker-column","ion-picker-column-option","ion-popover","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-datetime":customElements.get(e)||customElements.define(e,Ef);break;case"ion-backdrop":customElements.get(e)||Cu();break;case"ion-button":customElements.get(e)||Fu();break;case"ion-buttons":customElements.get(e)||qu();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-picker":customElements.get(e)||"undefined"!=typeof customElements&&["ion-picker"].forEach(e=>{"ion-picker"===e&&(customElements.get(e)||customElements.define(e,Kh))});break;case"ion-picker-column":customElements.get(e)||"undefined"!=typeof customElements&&["ion-picker-column"].forEach(e=>{"ion-picker-column"===e&&(customElements.get(e)||customElements.define(e,am))});break;case"ion-picker-column-option":customElements.get(e)||"undefined"!=typeof customElements&&["ion-picker-column-option"].forEach(e=>{"ion-picker-column-option"===e&&(customElements.get(e)||customElements.define(e,lm))});break;case"ion-popover":customElements.get(e)||uf();break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Rf=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.datetimeEl=null,this.overlayEl=null,this.datetimePresentation="date-time",this.datetimeActive=!1,this.color="primary",this.disabled=!1,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=async()=>{var e,t,n,i,o;const{datetimeEl:r,datetimePresentation:a}=this;if(!r)return;const{value:s,locale:l,formatOptions:c,hourCycle:d,preferWheel:u,multiple:p,titleSelectedDatesFormatter:h}=r,m=this.getParsedDateValues(s),f=m.length>0?xh(m):[await r.getDefaultPart()];if(!f)return;const g=f[0],b=mh(l,d);switch(this.dateText=this.timeText=void 0,a){case"date-time":case"time-date":const r=Uh(l,g,null!==(e=null==c?void 0:c.date)&&void 0!==e?e:{month:"short",day:"numeric",year:"numeric"}),a=Nh(l,g,b,null==c?void 0:c.time);u?this.dateText="".concat(r," ").concat(a):(this.dateText=r,this.timeText=a
2);break;case"date":if(p&&1!==m.length){let e=m.length+" days";if(void 0!==h)try{e=h(m)}catch(v){zs(0)}this.dateText=e}else this.dateText=Uh(l,g,null!==(t=null==c?void 0:c.date)&&void 0!==t?t:{month:"short",day:"numeric",year:"numeric"});break;case"time":this.timeText=Nh(l,g,b,null==c?void 0:c.time);break;case"month-year":this.dateText=Uh(l,g,null!==(n=null==c?void 0:c.date)&&void 0!==n?n:{month:"long",year:"numeric"});break;case"month":this.dateText=Uh(l,g,null!==(i=null==c?void 0:c.time)&&void 0!==i?i:{month:"long"});break;case"year":this.dateText=Uh(l,g,null!==(o=null==c?void 0:c.time)&&void 0!==o?o:{year:"numeric"})}},this.waitForDatetimeChanges=async()=>{const{datetimeEl:e}=this;return e?new Promise(t=>{wd(e,"ionRender",t,{once:!0})}):Promise.resolve()},this.handleDateClick=async e=>{const{datetimeEl:t,datetimePresentation:n}=this;if(!t)return;let i=!1;switch(n){case"date-time":case"time-date":!t.preferWheel&&"date"!==t.presentation&&(t.presentation="date",i=!0)}this.selectedButton="date",this.presentOverlay(e,i,this.dateTargetEl)},this.handleTimeClick=e=>{const{datetimeEl:t,datetimePresentation:n}=this;if(!t)return;let i=!1;switch(n){case"date-time":case"time-date":"time"!==t.presentation&&(t.presentation="time",i=!0)}this.selectedButton="time",this.presentOverlay(e,i,this.timeTargetEl)},this.presentOverlay=async(e,t,n)=>{const{overlayEl:i}=this;i&&("ION-POPOVER"===i.tagName?(t&&await this.waitForDatetimeChanges(),i.present(Object.assign(Object.assign({},e),{detail:{ionShadowTarget:n}}))):i.present())}}async componentWillLoad(){const{datetime:e}=this;if(!e)return void zs(0,this.el);const t=this.datetimeEl=document.getElementById(e);if(!t)return void zs("[ion-datetime-button] - No ion-datetime instance found for ID '".concat(e,"'."),this.el);if("ION-DATETIME"!==t.tagName)return void zs("[ion-datetime-button] - Expected an ion-datetime instance for ID '".concat(e,"' but received '").concat(t.tagName.toLowerCase(),"' instead."));new IntersectionObserver(e=>{this.datetimeActive=e[0].isIntersecting},{threshold:.01}).observe(t);const n=this.overlayEl=t.closest("ion-modal, ion-popover");n&&n.classList.add("ion-datetime-button-overlay"),fd(t,()=>{const e=this.datetimePresentation=t.presentation||"date-time";switch(this.setDateTimeText(),wd(t,"ionValueChange",this.setDateTimeText),e){case"date-time":case"date":case"month-year":case"month":case"year":this.selectedButton="date";break;case"time-date":case"time":this.selectedButton="time"}})}render(){const{color:e,dateText:t,timeText:n,selectedButton:i,datetimeActive:o,disabled:r}=this,a=tu(this);return Ql(tc,{key:"c28e5e428111f18eaceb030dca8aba5579867eaa",class:Iu(e,{[a]:!0,[i+"-active"]:o,"datetime-button-disabled":r})},t&&Ql("button",{key:"a08f41b3150ef7171d0f1d9b3d69b51be67b7b84",class:"ion-activatable",id:"date-button","aria-expanded":o?"true":"false",onClick:this.handleDateClick,disabled:r,part:"native",ref:e=>this.dateTargetEl=e},Ql("slot",{key:"35ee68ca1cea59f03e1b59b72606e618141c8e1f",name:"date-target"},t),"md"===a&&Ql("ion-ripple-effect",{key:"4be53227aaf0acd20e8ebbff9f645140e8a96f33"})),n&&Ql("button",{key:"ab500f9b78f8c194180073eaf7325041adbd02f7",class:"ion-activatable",id:"time-button","aria-expanded":o?"true":"false",onClick:this.handleTimeClick,disabled:r,part:"native",ref:e=>this.timeTargetEl=e},Ql("slot",{key:"5822486dfdedba6c071a0f5233cc06f8321a1f5d",name:"time-target"},n),"md"===a&&Ql("ion-ripple-effect",{key:"054a4acb811a98cc6d9bb6a3cf51232a1f09b0ea"})))}get el(){return this}static get style(){return{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-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, var(--ion-background-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}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}
2:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}",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-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, var(--ion-background-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}:host button{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}"}}},[289,"ion-datetime-button",{color:[513],disabled:[516],datetime:[1],datetimePresentation:[32],dateText:[32],timeText:[32],datetimeActive:[32],selectedButton:[32]}]),Lf=function(){"undefined"!=typeof customElements&&["ion-datetime-button","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-datetime-button":customElements.get(e)||customElements.define(e,Rf);break;case"ion-ripple-effect":customElements.get(e)||ju()}})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.edge=!1,this.activated=!1}activatedChanged(){const e=this.activated,t=this.getFab();t&&(t.activated=e),Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(t=>{t.activated=e})}componentDidLoad(){this.activated&&this.activatedChanged()}async close(){this.activated=!1}getFab(){return this.el.querySelector("ion-fab-button")}async toggle(){this.el.querySelector("ion-fab-list")&&(this.activated=!this.activated)}render(){const{horizontal:e,vertical:t,edge:n}=this,i=tu(this);return Ql(tc,{key:"8a310806d0e748d7ebb0ed3d9a2652038e0f2960",class:{[i]:!0,["fab-horizontal-"+e]:void 0!==e,["fab-vertical-"+t]:void 0!==t,"fab-edge":n}},Ql("slot",{key:"9394ef6d6e5b0410fa6ba212171f687fb178ce2d"}))}get el(){return this}static get watchers(){return{activated:[{activatedChanged:0}]}}static get style(){return":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:-
250%}: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}"}},[257,"ion-fab",{horizontal:[1],vertical:[1],edge:[4],activated:[1028],close:[64],toggle:[64]},void 0,{activated:[{activatedChanged:0}]}]);const Df=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.fab=null,this.inheritedAttributes={},this.activated=!1,this.disabled=!1,this.routerDirection="forward",this.show=!1,this.translucent=!1,this.type="button",this.closeIcon="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34Z'/></svg>",this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.onClick=()=>{const{fab:e}=this;e&&e.toggle()}}connectedCallback(){this.fab=this.el.closest("ion-fab")}componentWillLoad(){this.inheritedAttributes=yd(this.el)}render(){const{el:e,disabled:t,color:n,href:i,activated:o,show:r,translucent:a,size:s,inheritedAttributes:l}=this,c=Tu("ion-fab-list",e),d=tu(this),u=void 0===i?"button":"a",p="button"===u?{type:this.t
2ype}:{download:this.download,href:i,rel:this.rel,target:this.target};return Ql(tc,{key:"4eee204d20b0e2ffed49a88f6cb3e04b6697965c",onClick:this.onClick,"aria-disabled":t?"true":null,class:Iu(n,{[d]:!0,"fab-button-in-list":c,"fab-button-translucent-in-list":c&&a,"fab-button-close-active":o,"fab-button-show":r,"fab-button-disabled":t,"fab-button-translucent":a,"ion-activatable":!0,"ion-focusable":!0,["fab-button-"+s]:void 0!==s})},Ql(u,Object.assign({key:"914561622c0c6bd41453e828a7d8a39f924875ac"},p,{class:"button-native",part:"native",disabled:t,onFocus:this.onFocus,onBlur:this.onBlur,onClick:e=>Ou(i,e,this.routerDirection,this.routerAnimation)},l),Ql("ion-icon",{key:"2c8090742a64c62a79243667027a195cca9d5912","aria-hidden":"true",icon:this.closeIcon,part:"close-icon",class:"close-icon",lazy:!1}),Ql("span",{key:"c3e55291e4c4d306d34a4b95dd2e727e87bdf39c",class:"button-inner"},Ql("slot",{key:"f8e57f71d8f8878d9746cfece82f57f19ef9e988"})),"md"===d&&Ql("ion-ripple-effect",{key:"a5e94fa0bb9836072300617245ed0c1b4887bac6"})))}get el(){return this}static get style(){return
vendor: 13,650 bytes, line 2
2{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, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--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, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 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, #0054e9);--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)}}'}
2}},[289,"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"]}]),Nf=function(){"undefined"!=typeof customElements&&["ion-fab-button","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-fab-button":customElements.get(e)||customElements.define(e,Df);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.activateTimeouts=[],this.activated=!1,this.side="bottom"}activatedChanged(e){this.activateTimeouts.forEach(clearTimeout),this.activateTimeouts=[];const t=Array.from(this.el.querySelectorAll("ion-fab-button")),n=e?30:0;t.forEach((t,i)=>{this.activateTimeouts.push(setTimeout(()=>t.show=e,i*n))})}disconnectedCallback(){this.activateTimeouts.forEach(clearTimeout),this.activateTimeouts=[]}render(){const e=tu(this);return Ql(tc,{key:"03a8920c29a93c6df4bab14753a78a8a30722ce8",class:{[e]:!0,"fab-list-active":this.activated,["fab-list-side-"+this.side]:!0}},Ql("slot",{key:"d9e1541cb044e209bc2dff14080f3b938a2b84ae"}))}get el(){return this}static get watchers(){return{activated:[{activatedChanged:0}]}}static get style(){return":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}:host(.fab-list-side-start){inset-inline-end: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}:host(.fab-list-side-end){inset-inline-start:0}"}},[257,"ion-fab-list",{activated:[4],side:[1]},void 0,{activated:[{activatedChanged:0}]}]);const Mf="ion-content",zf=".ion-content-scroll-host",jf="".concat(Mf,", ").concat(zf),Bf=e=>"ION-CONTENT"===e.tagName,Ff=async e=>Bf(e)?(await new Promise(t=>fd(e,t)),e.getScrollElement()):e,Vf=e=>e.querySelector(zf)||e.querySelector(jf),Uf=e=>e.closest(jf),qf=(e,t)=>Bf(e)?e.scrollToTop(t):Promise.resolve(e.scrollTo({top:0,left:0,behavior:"smooth"})),Hf=(e,t,n,i)=>Bf(e)?e.scrollByPoint(t,n,i):Promise.resolve(e.scrollBy({top:n,left:t,behavior:i>0?"smooth":"auto"})),Wf=e=>{if(Bf(e)){const t=e.scrollY;return e.scrollY=!1,t}return e.style.setProperty("overflow","hidden"),!0},Gf=(e,t)=>{Bf(e)?e.scrollY=t:e.style.removeProperty("overflow")};var $f,Yf,Xf;(Xf=$f||($f={})).Unimplemented="UNIMPLEMENTED",Xf.Unavailable="UNAVAILABLE",function(e){e.Body="body",e.Ionic="ionic",e.Native="native",e.None="none"}(Yf||(Yf={}));const Kf={getEngine(){const e=Jh();if(null==e?void 0:e.isPluginAvailable("Keyboard"))return e.Plugins.Keyboard},getResizeMode(){const e=this.getEngine();return(null==e?void 0:e.getResizeMode)?e.getResizeMode().catch(e=>{if(e.code!==$f.Unimplemented)throw e}):Promise.resolve(void 0)}},Jf=e=>{if(void 0===gp||e===Yf.None||void 0===e)return null;const t=gp.querySelector("ion-app");return null!=t?t:gp.body},Zf=e=>{const t=Jf(e);return null===t?0:t.clientHeight},Qf=async e=>{let t,n,i,o;const r=async()=>{const e=await Kf.getResizeMode(),r=void 0===e?void 0:e.mode;t=()=>{void 0===o&&(o=Zf(r)),i=!0,a(i,r)},n=()=>{i=!1,a(i,r)},null==fp||fp.addEventListener("keyboardWillShow",t),null==fp||fp.addEventListener("keyboardWillHide",n)},a=(t,n)=>{e&&e(t,s(n))},s=e=>{if(0===o||o===Zf(e))return;const t=Jf(e);return null!==t?new Promise(e=>{const n=new ResizeObserver(()=>{t.clientHeight===o&&(n.disconnect(),e())});n.observe(t)}):void 0};return await r(),{init:r,destroy:()=>{null==fp||fp.removeEventListener("keyboardWillShow",t),null==fp||fp.removeEventListener("keyboardWillHide",n),t=n=void 0},isKeyboardVisible:()=>i}},eg=(e,t)=>{fl(()=>{const n=Cd(0,1-(e.scrollTop-(e.scrollHeight-e.clientHeight-10))/10,1);gl(()=>{t.style.setProperty("--opacity-scale",""+n)})})},tg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.keyboardCtrl=null,this.keyboardCtrlPromise=null,this.keyboardVisible=!1,this.translucent=!1,this.checkCollapsibleFooter=()=>{if("ios"!==tu(this))return;const{collapse:e}=this,t="fade"===e;if(this.destroyCollapsibleFooter(),t){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?Vf(e):null;if(!t)return void this.el;this.setupFadeFooter(t)}},this.setupFadeFooter=async e=>{const t=this.scrollEl=await Ff(e);this.contentScrollCallback=()=>{eg(t,this.el)},t.addEventListener("scroll",this.contentScrollCallback),eg(t,this.el)}}componentDidLoad(){this.checkCollapsibleFooter()}componentDidUpdate(){this.checkCollapsibleFooter()}async connectedCallback(){const e=Qf(async(e,t)=>{!1===e&&void 0!==t&&await t,this.keyboardVisible=e});this.keyboardCtrlPromise=e;const t=await e;this.keyboardCtrlPromise===e?(this.keyboardCtrl=t,this.keyboardCtrlPromise=null):t.destroy()}disconnectedCallback(){this.keyboardCtrlPromise&&(this.keyboardCtrlPromise.then(e=>e.destroy()),this.keyboardCtrlPromise=null),this.keyboardCtrl&&(this.keyboardCtrl.destroy(),this.keyboardCtrl=null)}destroyCollapsibleFooter(){this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0)}render(){const{translucent:e,collapse:t}=this,n=tu(this),i=this.el.closest("ion-tabs"),o=null==i?void 0:i.querySelector(":scope > ion-tab-bar");return Ql(tc,{key:"71939c4bbaef5062532a99ee2e33574102a9abad",role:"contentinfo",class:{[n]:!0,["footer-"+n]:!0,"footer-translucent":e,["footer-translucent-"+n]:e,"footer-toolbar-padding":!(this.keyboardVisible||o&&"bottom"===o.slot),["footer-collapse-"+t]:void 0!==t}},"ios"===n&&e&&Ql("div",{key:"2fa14f61661c47c661cecd696176728d6eafa74f",class:"footer-background"}),Ql("slot",{key:"8e63696e7c528d5c38201e546bf08135290d0945"}))}get el(){return this}static get style(){return{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}"}}}
2,[292,"ion-footer",{collapse:[1],translucent:[4],keyboardVisible:[32]}]),ng=function(){"undefined"!=typeof customElements&&["ion-footer"].forEach(e=>{"ion-footer"===e&&(customElements.get(e)||customElements.define(e,tg))})},ig=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.fixed=!1}render(){const e=tu(this);return Ql(tc,{key:"617127ecfabf9bf615bef1dda1be3fed5a065949",class:{[e]:!0,"grid-fixed":this.fixed}},Ql("slot",{key:"c781fff853b093d8f44bdb7943bbc4f17c903803"}))}static get style(){return":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}"}},[257,"ion-grid",{fixed:[4]}]),og=function(){"undefined"!=typeof customElements&&["ion-grid"].forEach(e=>{"ion-grid"===e&&(customElements.get(e)||customElements.define(e,ig))})},rg="none",ag="banner",sg=e=>{const t=document.querySelector("".concat(e,".ion-cloned-element"));if(null!==t)return t;const n=document.createElement(e);return n.classList.add("ion-cloned-element"),n.style.setProperty("display","none"),document.body.appendChild(n),n},lg=e=>{if(!e)return;const t=e.querySelectorAll("ion-toolbar");return{el:e,toolbars:Array.from(t).map(e=>{const t=e.querySelector("ion-title");return{el:e,background:e.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:t,innerTitleEl:t?t.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(e.querySelectorAll("ion-buttons"))}})}},cg=(e,t)=>
2{"fade"!==e.collapse&&(void 0===t?e.style.removeProperty("--opacity-scale"):e.style.setProperty("--opacity-scale",t.toString()))},dg=(e,t=!0)=>{const n=e.el,i=e.toolbars.map(e=>e.ionTitleEl);t?(n.setAttribute("role",ag),n.classList.remove("header-collapse-condense-inactive"),i.forEach(e=>{e&&e.removeAttribute("aria-hidden")})):(n.setAttribute("role",rg),n.classList.add("header-collapse-condense-inactive"),i.forEach(e=>{e&&e.setAttribute("aria-hidden","true")}))},ug=(e,t,n)=>{fl(()=>{const i=e.scrollTop,o=t.clientHeight,r=n?n.clientHeight:0;if(null!==n&&i<r)return t.style.setProperty("--opacity-scale","0"),void e.style.setProperty("clip-path","inset(".concat(o,"px 0px 0px 0px)"));const a=Cd(0,(i-r)/10,1);gl(()=>{e.style.removeProperty("clip-path"),t.style.setProperty("--opacity-scale",a.toString())})})},pg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.inheritedAttributes={},this.translucent=!1,this.setupFadeHeader=async(e,t)=>{const n=this.scrollEl=await Ff(e);this.contentScrollCallback=()=>{ug(this.scrollEl,this.el,t)},n.addEventListener("scroll",this.contentScrollCallback),ug(this.scrollEl,this.el,t)}}componentWillLoad(){this.inheritedAttributes=yd(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){if("ios"!==tu(this))return;const{collapse:e}=this,t="condense"===e,n="fade"===e;if(this.destroyCollapsibleHeader(),t){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?Vf(e):null;gl(()=>{sg("ion-title").size="large",sg("ion-back-button")}),await this.setupCondenseHeader(t,e)}else if(n){const e=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),t=e?Vf(e):null;if(!t)return void this.el;const n=t.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(t,n)}}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)}async setupCondenseHeader(e,t){if(!e||!t)return void this.el;if("undefined"==typeof IntersectionObserver)return;this.scrollEl=await Ff(e);const n=t.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(n).find(e=>"condense"!==e.collapse),!this.collapsibleMainHeader)return;const i=lg(this.collapsibleMainHeader),o=lg(this.el);i&&o&&(dg(i,!1),cg(i.el,0),this.intersectionObserver=new IntersectionObserver(e=>{var t,n,r,a;t=e,n=i,r=o,a=this.scrollEl,gl(()=>{const e=a.scrollTop;
2((e,t,n)=>{if(!e[0].isIntersecting)return;const i=e[0].intersectionRatio>.9||n<=0?0:100*(1-e[0].intersectionRatio)/75;cg(t.el,1===i?void 0:i)})(t,n,e);const i=t[0],o=i.intersectionRect,s=o.width*o.height,l=0===s&&0==i.rootBounds.width*i.rootBounds.height,c=Math.abs(o.left-i.boundingClientRect.left),d=Math.abs(o.right-i.boundingClientRect.right);l||s>0&&(c>=5||d>=5)||(i.isIntersecting?(dg(n,!1),dg(r)):(0===o.x&&0===o.y||0!==o.width&&0!==o.height)&&e>0&&(dg(n),dg(r,!1),cg(n.el)))})},{root:e,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(o.toolbars[o.toolbars.length-1].el),this.contentScrollCallback=()=>{var t,n,i;t=this.scrollEl,n=o,i=e,fl(()=>{const e=Cd(1,1+-t.scrollTop/500,1.1);null===i.querySelector("ion-refresher.refresher-native")&&gl(()=>{((e=[],t=1,n=!1)=>{e.forEach(e=>{const i=e.ionTitleEl,o=e.innerTitleEl;i&&"large"===i.size&&(o.style.transition=n?"all 0.2s ease-in-out":"",o.style.transform="scale3d(".concat(t,", ").concat(t,", 1)"))})})(n.toolbars,e)})})},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),gl(()=>{void 0!==this.collapsibleMainHeader&&this.collapsibleMainHeader.classList.add("header-collapse-main")}))}render(){const{translucent:e,inheritedAttributes:t}=this,n=tu(this),i=this.collapse||"none",o="condense"===i,r=((e,t,n)=>e||t&&"md"===n?rg:ag)(Tu("ion-menu",this.el),o,n);return Ql(tc,Object.assign({key:"863c4568cd7b8c0ec55109f193bbbaed68a1346e",role:r,class:{[n]:!0,["header-".concat(n)]:!0,"header-translucent":this.translucent,["header-collapse-".concat(i)]:!0,["header-translucent-".concat(n)]:this.translucent}},t),"ios"===n&&e&&Ql("div",{key:"25c3bdce328b0b35607d154c8b8374679313d881",class:"header-background"}),Ql("slot",{key:"b44fab0a9be7920b9650da26117c783e751e1702"}))}get el(){return this}static get style(){return{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-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.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{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 ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.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}
2",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-md.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}"}}},[292,"ion-header",{collapse:[1],translucent:[4]}]);function hg(){"undefined"!=typeof customElements&&["ion-header"].forEach(e=>{"ion-header"===e&&(customElements.get(e)||customElements.define(e,pg))})}const mg=hg,fg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionImgWillLoad=bc(this,"ionImgWillLoad",7),this.ionImgDidLoad=bc(this,"ionImgDidLoad",7),this.ionError=bc(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()}}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=bd(this.el,["draggable"])}componentDidLoad(){this.addIO()}disconnectedCallback(){this.loadTimeout&&clearTimeout(this.loadTimeout)}addIO(){this.loadTimeout&&(clearTimeout(this.loadTimeout),this.loadTimeout=void 0),void 0!==this.src&&("undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver(e=>{e[e.length-1].isIntersecting&&(this.load(),this.removeIO())}),this.io.observe(this.el)):this.loadTimeout=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:e,alt:t,onLoad:n,loadError:i,inheritedAttributes:o}=this,{draggable:r}=o;return Ql(tc,{key:"9bfaa659b0680189fd29f3acb2fdce7f70be6060",class:tu(this)},Ql("img",{key:"d484beae0d5cbe0406958bfad40cdd6c05625340",decoding:"async",src:e,alt:t,onLoad:n,onError:i,part:"image",draggable:gg(r)}))}get el(){return this}static get watchers(){return{src:[{srcChanged:0}]}}static get style(){return":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}"}},[1,"ion-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]},void 0,{src:[{srcChanged:0}]}]),gg=e=>{switch(e){case"true":return!0;case"false":return!1;default:return}},bg=function(){"undefined"!=typeof customElements&&["ion-img"].forEach(e=>{"ion-img"===e&&(customElements.get(e)||customElements.define(e,fg))})},vg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionInfinite=bc(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=()=>{const e=this.scrollEl;if(!e||!this.canStart())return 1;const t=this.el.offsetHeight;if(0===t)return 2;const n=e.scrollTop,i=e.offsetHeight,o=0!==this.thrPc?i*this.thrPc:this.thrPx;return("bottom"===this.position?e.scrollHeight-t-n-o-i:n-t-o)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4}}thresholdChanged(){const e=this.threshold;e.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(e)/100):(this.thrPx=parseFloat(e),this.thrPc=0)}disabledChanged(){const e=this.disabled;e&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!e)}async connectedCallback(){const e=Uf(this.el);e?(this.scrollEl=await Ff(e),this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&gl(()=>{this.scrollEl&&(this.scrollEl.scrollTop=this.scrollEl.scrollHeight-this.scrollEl.clientHeight)})):this.el}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}async complete(){const e=this.scrollEl;if(this.isLoading&&e)if(this.isLoading=!1,"top"===this.position){this.isBusy=!0;const t=e.scrollHeight-e.scrollTop;requestAnimationFrame(()=>{fl(()=>{const n=e.scrollHeight-t;requestAnimationFrame(()=>{gl(()=>{e.scrollTop=n,this.isBusy=!1,this.didFire=!1})})})})}else this.didFire=!1}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(e){this.scrollEl&&(e?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const e=tu(this),t=this.disabled;return Ql(tc,{key:"e844956795f69be33396ce4480aa7a54ad01b28c",class:{[e]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!t}})}get el(){return this}static get watchers(){return{threshold:[{thresholdChanged:0}],disabled:[{disabledChanged:0}]}}static get style(){return"ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}"}},[0,"ion-infinite-scroll",{threshold:[1],disabled:[4],position:[1],isLoading:[32],complete:[64]},void 0,{threshold:[{thresholdChanged:0}],disabled:[{disabledChanged:0}]}
2]),yg=function(){"undefined"!=typeof customElements&&["ion-infinite-scroll"].forEach(e=>{"ion-infinite-scroll"===e&&(customElements.get(e)||customElements.define(e,vg))})},wg=e=>{try{if(e instanceof Cg)return e.value;if(!_g()||"string"!=typeof e||""===e)return e;if(e.includes("onload="))return"";const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,Sg.forEach(e=>{const n=t.querySelectorAll(e);for(let i=n.length-1;i>=0;i--){const e=n[i];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const o=kg(e);for(let t=0;t<o.length;t++)xg(o[t])}});const i=kg(t);for(let e=0;e<i.length;e++)xg(i[e]);const o=document.createElement("div");o.appendChild(t);const r=o.querySelector("div");return null!==r?r.innerHTML:o.innerHTML}catch(t){return zs(0),""}},xg=e=>{if(e.nodeType&&1!==e.nodeType)return;if("undefined"!=typeof NamedNodeMap&&!(e.attributes instanceof NamedNodeMap))return void e.remove();for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),i=t.name;if(!Eg.includes(i.toLowerCase())){e.removeAttribute(i);continue}const o=t.value,r=e[i];(null!=o&&o.toLowerCase().includes("javascript:")||null!=r&&r.toLowerCase().includes("javascript:"))&&e.removeAttribute(i)}const t=kg(e);for(let n=0;n<t.length;n++)xg(t[n])},kg=e=>null!=e.children?e.children:e.childNodes,_g=()=>{var e;const t=window,n=null===(e=null==t?void 0:t.Ionic)||void 0===e?void 0:e.config;return!n||(n.get?n.get("sanitizerEnabled",!0):!0===n.sanitizerEnabled||void 0===n.sanitizerEnabled)},Eg=["class","id","href","src","name","slot"],Sg=["script","style","iframe","meta","link","object","embed"];let Cg=class{constructor(e){this.value=e}};const Tg=!1,Ig={bubbles:{dur:1e3,circles:9,fn:(e,t,n)=>{const i=e*t/n-e+"ms",o=2*Math.PI*t/n;return{r:5,style:{top:32*Math.sin(o)+"%",left:32*Math.cos(o)+"%","animation-delay":i}}}},circles:{dur:1e3,circles:8,fn:(e,t,n)=>{const i=t/n,o=e*i-e+"ms",r=2*Math.PI*i;return{r:5,style:{top:32*Math.sin(r)+"%",left:32*Math.cos(r)+"%","animation-delay":o}}}},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:(e,t)=>({r:6,style:{left:32-32*t+"%","animation-delay":-110*t+"ms"}})},lines:{dur:1e3,lines:8,fn:(e,t,n)=>({y1:14,y2:26,style:{transform:"rotate(".concat(360/n*t+(t<n/2?180:-180),"deg)"),"animation-delay":e*t/n-e+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(e,t,n)=>({y1:12,y2:20,style:{transform:"rotate(".concat(360/n*t+(t<n/2?180:-180),"deg)"),"animation-delay":e*t/n-e+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(e,t,n)=>({y1:17,y2:29,style:{transform:"rotate(".concat(30*t+(t<6?180:-180),"deg)"),"animation-delay":e*t/n-e+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(e,t,n)=>({y1:12,y2:20,style:{transform:"rotate(".concat(30*t+(t<6?180:-180),"deg)"),"animation-delay":e*t/n-e+"ms"}})}},Ag=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.paused=!1}getName(){const e=this.name||Ps.get("spinner"),t=tu(this);return e||("ios"===t?"lines":"circular")}render(){var e;const t=this,n=tu(t),i=t.getName(),o=null!==(e=Ig[i])&&void 0!==e?e:Ig.lines,r="number"==typeof t.duration&&t.duration>10?t.duration:o.dur,a=[];if(void 0!==o.circles)for(let s=0;s<o.circles;s++)a.push(Pg(o,r,s,o.circles));else if(void 0!==o.lines)for(let s=0;s<o.lines;s++)a.push(Og(o,r,s,o.lines));return Ql(tc,{key:"dd1954e557fa14b943e761474e29e4316ba53938",class:Iu(t.color,{[n]:!0,["spinner-".concat(i)]:!0,"spinner-paused":t.paused||Ps.getBoolean("_testing")}),role:"progressbar",style:o.elmDuration?{animationDuration:r+"ms"}:{}},a)}static get style(){return":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}
2}@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}}"}},[1,"ion-spinner",{color:[513],duration:[2],name:[1],paused:[4]}]),Pg=(e,t,n,i)=>{const o=e.fn(t,n,i);return o.style["animation-duration"]=t+"ms",Ql("svg",{viewBox:o.viewBox||"0 0 64 64",style:o.style},Ql("circle",{transform:o.transform||"translate(32,32)",cx:o.cx,cy:o.cy,r:o.r,style:e.elmDuration?{animationDuration:t+"ms"}:{}}))},Og=(e,t,n,i)=>{const o=e.fn(t,n,i);return o.style["animation-duration"]=t+"ms",Ql("svg",{viewBox:o.viewBox||"0 0 64 64",style:o.style},Ql("line",{transform:"translate(32,32)",y1:o.y1,y2:o.y2}))};function Rg(){"undefined"!=typeof customElements&&["ion-spinner"].forEach(e=>{"ion-spinner"===e&&(customElements.get(e)||customElements.define(e,Ag))})}const Lg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.customHTMLEnabled=Ps.get("innerHTMLTemplatesEnabled",Tg)}componentDidLoad(){if(void 0===this.loadingSpinner){const e=tu(this);this.loadingSpinner=Ps.get("infiniteLoadingSpinner",Ps.get("spinner","ios"===e?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:e,loadingText:t}=this;return e?Ql("div",{class:"infinite-loading-text",innerHTML:wg(t)}):Ql("div",{class:"infinite-loading-text"},this.loadingText)}render(){const e=tu(this);return Ql(tc,{key:"7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa",class:{[e]:!0,["infinite-scroll-content-"+e]:!0}},Ql("div",{key:"a94f4d8746e053dc718f97520bd7e48cb316443a",class:"infinite-loading"},this.loadingSpinner&&Ql("div",{key:"10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23",class:"infinite-loading-spinner"},Ql("ion-spinner",{key:"8846e88191690d9c61a0b462889ed56fbfed8b0d",name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}static get style(){return{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, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-400, #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
2(--ion-color-step-600, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-400, #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, var(--ion-text-color-step-400, #666666))}"}}},[32,"ion-infinite-scroll-content",{loadingSpinner:[1025,"loading-spinner"],loadingText:[1,"loading-text"]}]),Dg=function(){"undefined"!=typeof customElements&&["ion-infinite-scroll-content","ion-spinner"].forEach(e=>{switch(e){case"ion-infinite-scroll-content":customElements.get(e)||customElements.define(e,Lg);break;case"ion-spinner":customElements.get(e)||Rg()}})},Ng=(e,t,n)=>{let i;const o=()=>void 0!==t()&&void 0===e.label&&null!==n(),r=()=>{const a=t();if(void 0===a)return;if(!o())return void a.style.removeProperty("width");const s=n().scrollWidth;if(0===s&&null===a.offsetParent&&void 0!==fp&&"IntersectionObserver"in fp){if(void 0!==i)return;const t=i=new IntersectionObserver(e=>{1===e[0].intersectionRatio&&(r(),t.disconnect(),i=void 0)},{threshold:.01,root:e});t.observe(a)}else a.style.setProperty("width",.75*s+"px")};return{calculateNotchWidth:()=>{o()&&_d(()=>{r()})},destroy:()=>{i&&(i.disconnect(),i=void 0)}}},Mg=(e,t,n)=>{let i,o;if(void 0!==fp&&"MutationObserver"in fp){const o=Array.isArray(t)?t:[t];i=new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)if(e.nodeType===Node.ELEMENT_NODE&&o.includes(e.slot))return n(),void _d(()=>r(e))}),i.observe(e,{childList:!0,subtree:!0})}const r=e=>{var i;o&&(o.disconnect(),o=void 0),o=new MutationObserver(e=>{n();for(const n of e)for(const e of n.removedNodes)e.nodeType===Node.ELEMENT_NODE&&e.slot===t&&a()}),o.observe(null!==(i=e.parentElement)&&void 0!==i?i:e,{subtree:!0,childList:!0})},a=()=>{o&&(o.disconnect(),o=void 0)};return{destroy:()=>{i&&(i.disconnect(),i=void 0),a()}}},zg=(e,t,n)=>{const i=null==e?0:e.toString().length,o=jg(i,t);if(void 0===n)return o;try{return n(i,t)}catch(r){return zs(0),o}},jg=(e,t)=>"".concat(e," / ").concat(t),Bg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionInput=bc(this,"ionInput",7),this.ionChange=bc(this,"ionChange",7),this.ionBlur=bc(this,"ionBlur",7),this.ionFocus=bc(this,"ionFocus",7),this.inputId="ion-input-"+Fg++,this.helperTextId=this.inputId+"-helper-text",this.errorTextId=this.inputId+"-error-text",this.labelTextId=this.inputId+"-label",this.inheritedAttributes={},this.isComposing=!1,this.didInputClearOnEdit=!1,this.hasFocus=!1,this.isInvalid=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.counter=!1,this.disabled=!1,this.labelPlacement="start",this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.type="text",this.value="",this.onInput=e=>{const t=e.target;t&&(this.value=t.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusedValue!==this.value&&this.emitValueChange(e),this.didInputClearOnEdit=!1,this.ionBlur.emit(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.ionFocus.emit(e)},this.onKeydown=e=>{this.checkClearOnEdit(e)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextInput=e=>{this.clearInput&&!this.readonly&&!this.disabled&&e&&(e.preventDefault(),e.stopPropagation(),this.setFocus()),this.value="",this.emitInputChange(e)},this.onLabelClick=e=>{e.target===e.currentTarget&&e.stopPropagation()}}
2debounceChanged(){const{ionInput:e,debounce:t,originalIonInput:n}=this;this.ionInput=void 0===t?null!=n?n:e:Pd(e,t)}onTypeChange(){const e=this.el.querySelector("ion-input-password-toggle");e&&(e.type=this.type)}valueChanged(){const e=this.nativeInput,t=this.getValue();e&&e.value!==t&&!this.isComposing&&(e.value=t)}onDirChanged(e){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{dir:e}),ed(this)}onClickCapture(e){const t=this.nativeInput;t&&e.target===t&&(e.stopPropagation(),this.el.click())}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},yd(this.el)),bd(this.el,["tabindex","title","data-form-type","dir"]))}connectedCallback(){const{el:e}=this;this.slotMutationController=Mg(e,["label","start","end"],()=>{this.setSlottedLabelId(),ed(this)}),this.setSlottedLabelId(),this.notchController=Ng(e,()=>this.notchSpacerEl,()=>this.labelSlot),"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(()=>{const t=Wu(e);this.isInvalid!==t&&(this.isInvalid=t,ed(this))}),this.validationObserver.observe(e,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=Wu(e),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){this.originalIonInput=this.ionInput,this.onTypeChange(),this.debounceChanged()}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.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),this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async getInputElement(){return this.nativeInput||await new Promise(e=>fd(this.el,e)),Promise.resolve(this.nativeInput)}emitValueChange(e){const{value:t}=this,n=null==t?t:""+t;this.focusedValue=n,this.ionChange.emit({value:n,event:e})}emitInputChange(e){const{value:t}=this;this.ionInput.emit({value:null==t?t:""+t,event:e})}shouldClearOnEdit(){const{type:e,clearOnEdit:t}=this;return void 0===t?"password"===e:t}getValue(){return"number"==typeof this.value?""+this.value:""+(this.value||"")}checkClearOnEdit(e){if(!this.shouldClearOnEdit())return;const t=["Enter","Tab","Shift","Meta","Alt","Control"].includes(e.key);this.didInputClearOnEdit||!this.hasValue()||t||(this.value="",this.emitInputChange(e)),t||(this.didInputClearOnEdit=!0)}hasValue(){return this.getValue().length>0}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return[Ql("div",{id:n,class:"helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",role:"alert"},o?t:null)]}getHintTextID(){const{isInvalid:e,helperText:t,errorText:n,helperTextId:i,errorTextId:o}=this;return e&&n?o:t?i:void 0}renderCounter(){const{counter:e,maxlength:t,counterFormatter:n,value:i}=this;if(!0===e&&void 0!==t)return Ql("div",{class:"counter"},zg(i,t,n))}renderBottomContent(){const{counter:e,helperText:t,errorText:n,maxlength:i}=this;if(t||n||!0===e&&void 0!==i)return Ql("div",{class:"input-bottom"},this.renderHintText(),this.renderCounter())}renderLabel(){const{label:e,labelTextId:t}=this;return Ql("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},"aria-hidden":this.hasLabel?"true":null},void 0===e?Ql("slot",{name:"label"}):Ql("div",{class:"label-text",id:t},e))}get labelSlot(){return this.el.querySelector('[slot="label"]')}setSlottedLabelId(){const e=this.labelSlot;e&&!e.id&&(e.id=this.labelTextId)}getLabelledById(){var e;if(!this.inheritedAttributes["aria-label"])return void 0!==this.label?this.labelTextId:(null===(e=this.labelSlot)||void 0===e?void 0:e.id)||void 0}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===tu(this)&&"outline"===this.fill?[Ql("div",{class:"input-outline-container"},Ql("div",{class:"input-outline-start"}
vendor: 7,142 bytes, line 2
2),Ql("div",{class:{"input-outline-notch":!0,"input-outline-notch-hidden":!this.hasLabel}},Ql("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),Ql("div",{class:"input-outline-end"})),this.renderLabel()]:this.renderLabel()}render(){const{disabled:e,fill:t,readonly:n,shape:i,inputId:o,labelPlacement:r,el:a,hasFocus:s,clearInputIcon:l}=this,c=tu(this),d=this.getValue(),u=Tu("ion-item",this.el),p="md"===c&&"outline"!==t&&!u,h=null!=l?l:"ios"===c?Bd:Fd,m=this.hasValue(),f=null!==a.querySelector('[slot="start"], [slot="end"]'),g="stacked"===r||"floating"===r&&(m||s||f);return Ql(tc,{key:"9ba9cf425b573d2ca9ac34455a0e6b8474c4de6d",class:Iu(this.color,{[c]:!0,"has-value":m,"has-focus":s,"label-floating":g,["input-fill-"+t]:void 0!==t,["input-shape-"+i]:void 0!==i,["input-label-placement-"+r]:!0,"in-item":u,"in-item-color":Tu("ion-item.ion-color",this.el),"input-disabled":e})},Ql("label",{key:"74b989d0aa5ab38f29f952519868f05119df6005",class:"input-wrapper",htmlFor:o,onClick:this.onLabelClick},this.renderLabelContainer(),Ql("div",{key:"47f2b42e2f74ea866b4f871026e08ab375d7a726",class:"native-wrapper",onClick:this.onLabelClick},Ql("slot",{key:"eaabe5a4a329a356cac3294d15c087d0d131fff2",name:"start"}),Ql("input",Object.assign({key:"c821a984a8a9b7f96f30892c06d8deda093ff24b",class:"native-input",ref:e=>this.nativeInput=e,id:o,disabled:e,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:n,required:this.required,spellcheck:this.spellcheck,step:this.step,type:this.type,value:d,onInput:this.onInput,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown,onCompositionstart:this.onCompositionStart,onCompositionend:this.onCompositionEnd,"aria-describedby":this.getHintTextID(),"aria-invalid":this.isInvalid?"true":void 0,"aria-labelledby":this.getLabelledById()},this.inheritedAttributes)),this.clearInput&&!n&&!e&&Ql("button",{key:"62069c11016ee190dc46ab941372e1c4ad8a36ed","aria-label":"reset",type:"button",class:"input-clear-icon",onPointerDown:e=>{e.preventDefault()},onClick:this.clearTextInput},Ql("ion-icon",{key:"dd75a516d32110d85382b664c663bd41f177ce12","aria-hidden":"true",icon:h})),Ql("slot",{key:"330d4b9389f2c62223a5ee24003e96ef3e6b2473",name:"end"})),p&&Ql("div",{key:"8e442bed130ddc84976ab70fd3f8578d6bcc6316",class:"input-highlight"})),this.renderBottomContent())}get el(){return this}static get watchers(){return{debounce:[{debounceChanged:0}],type:[{onTypeChange:0}],value:[{valueChanged:0}],dir:[{onDirChanged:0}]}}static get style(){return{ios:".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-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, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}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}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.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%;height: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{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.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, var(--ion-text-color-step-400, #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}.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);
2display:-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;white-space:normal}.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-700, var(--ion-text-color-step-300, #4d4d4d))}.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-700, var(--ion-text-color-step-300, #4d4d4d));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}
2.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]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-ios-h[disabled].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[disabled] .sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly] .sc-ion-input-ios-s>ion-input-password-toggle{visibility:hidden}.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, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px;font-size:inherit}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.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:var(--ion-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, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}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}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.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%;height: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);
2font-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{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-input-md:disabled{opacity:1}.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, var(--ion-text-color-step-400, #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}.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;white-space:normal}.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-700, var(--ion-text-color-step-300, #4d4d4d))}.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-700, var(--ion-text-color-step-300, #4d4d4d));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;
2max-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]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-md-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-md-h[disabled].sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[disabled] .sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[readonly].sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[readonly] .sc-ion-input-md-s>ion-input-password-toggle{visibility:hidden}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-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, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-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
2)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-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, var(--ion-background-color-step-750, #404040))}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:var(--highlight-height);--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-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-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)}.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-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}.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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))
2));--highlight-height:2px;font-size:inherit}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.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:var(--highlight-height);-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)}.input-highlight.sc-ion-input-md{inset-inline-start: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}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start: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}"}}},[294,"ion-input",{color:[513],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearInputIcon:[1,"clear-input-icon"],clearOnEdit:[4,"clear-on-edit"],counter:[4],counterFormatter:[16],debounce:[2],disabled:[516],enterkeyhint:[1],errorText:[1,"error-text"],fill:[1],inputmode:[1],helperText:[1,"helper-text"],label:[1],labelPlacement:[1,"label-placement"],max:[8],maxlength:[2],min:[8],minlength:[2],multiple:[4],name:[1],pattern:[1],placeholder:[1],readonly:[516],required:[4],shape:[1],spellcheck:[4],step:[1],type:[1],value:[1032],hasFocus:[32],isInvalid:[32],setFocus:[64],getInputElement:[64]},[[2,"click","onClickCapture"]],{debounce:[{debounceChanged:0}],type:[{onTypeChange:0}],value:[{valueChanged:0}],dir:[{onDirChanged:0}]}]);let Fg=0;const Vg=function(){"undefined"!=typeof customElements&&["ion-input","ion-icon"].forEach(e=>{switch(e){case"ion-input":customElements.get(e)||customElements.define(e,Bg);break;case"ion-icon":customElements.get(e)||bu()}})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionInput=bc(this,"ionInput",7),this.ionChange=bc(this,"ionChange",7),this.ionComplete=bc(this,"ionComplete",7),this.ionBlur=bc(this,"ionBlur",7),this.ionFocus=bc(this,"ionFocus",7),this.inheritedAttributes={},this.inputRefs=[],this.inputId="ion-input-otp-"+Ug++,this.parsedSeparators=[],this.isKeyboardNavigation=!1,this.inputValues=[],this.hasFocus=!1,this.previousInputValues=[],this.autocapitalize="off",this.disabled=!1,this.fill="outline",this.length=4,this.readonly=!1,this.shape="round",this.size="medium",this.type="number",this.value="",this.onFocus=e=>t=>{var n;const{inputRefs:i}=this;this.hasFocus||(this.ionFocus.emit(t),this.focusedValue=this.value),this.hasFocus=!0;let o=e;if(!this.isKeyboardNavigation){const t=this.inputValues[e]?e:this.getFirstEmptyIndex();o=-1===t?this.length-1:t,null===(n=this.inputRefs[o])||void 0===n||n.focus()}i.forEach((e,t)=>{e.tabIndex=t===o?0:-1}),this.isKeyboardNavigation=!1},this.onBlur=e=>{const{inputRefs:t}=this,n=e.relatedTarget;null!=n&&t.includes(n)||(this.hasFocus=!1,this.updateTabIndexes(),this.ionBlur.emit(e),this.focusedValue!==this.value&&this.emitIonChange(e))},this.onKeyDown=e=>t=>{const{disabled:n,length:i,readonly:o}=this,r=rp(this.el),a=t.target;if(!n)if(!o||"Backspace"!==t.key&&"Delete"!==t.key){if(!(a.selectionStart!==a.selectionEnd||(t.metaKey||t.ctrlKey)&&["a","c","v","x","r","z","y"].includes(t.key.toLowerCase())))if("Backspace"===t.key)if(this.inputValues[e]){for(let t=e;t<i-1;t++)this.inputValues[t]=this.inputValues[t+1];this.inputValues[i-1]="";for(let e=0;e<i;e++)this.inputRefs[e].value=this.inputValues[e]||"";
2this.updateValue(t),t.preventDefault()}else!this.inputValues[e]&&e>0&&this.focusPrevious(e);else if("ArrowLeft"===t.key||"ArrowRight"===t.key){this.isKeyboardNavigation=!0,t.preventDefault();const n="ArrowLeft"===t.key;n&&r||!n&&!r?this.inputValues[e]&&e<i-1&&this.focusNext(e):this.focusPrevious(e)}else if("Tab"===t.key)return void(this.isKeyboardNavigation=!0)}else t.preventDefault()},this.onInput=e=>t=>{var n,i;const{disabled:o,length:r,readonly:a,validKeyPattern:s}=this,l=t.target,c=l.value,d=this.previousInputValues[e]||"";if(o||a)return;if(c.length-d.length>1){const e=c.split("").filter(e=>s.test(e)).slice(0,r);0===e.length&&requestAnimationFrame(()=>{this.inputRefs.forEach(e=>{e.value=""})});for(let t=0;t<r;t++)this.inputValues[t]=e[t]||"",this.inputRefs[t].value=e[t]||"";return this.updateValue(t),setTimeout(()=>{var t;null===(t=this.inputRefs[e.length<r?e.length:r-1])||void 0===t||t.focus()},20),void(this.previousInputValues=[...this.inputValues])}if(c.length>0&&!s.test(c[c.length-1]))return l.value=this.inputValues[e]||"",void(this.previousInputValues=[...this.inputValues]);if(0===l.selectionStart&&l.selectionEnd===c.length||!this.inputValues[e])return this.inputValues[e]=c,l.value=c,this.updateValue(t),this.focusNext(e),void(this.previousInputValues=[...this.inputValues]);if(this.inputValues[e]&&""===this.inputValues[this.inputValues.length-1]&&2===c.length){let n=t.data;if(n||(n=c.split("").find((e,t)=>e!==d[t])||c[c.length-1]),!s.test(n))return l.value=this.inputValues[e]||"",void(this.previousInputValues=[...this.inputValues]);for(let t=this.inputValues.length-1;t>e;t--)this.inputValues[t]=this.inputValues[t-1],this.inputRefs[t].value=this.inputValues[t]||"";return this.inputValues[e]=n,this.inputRefs[e].value=n,this.updateValue(t),void(this.previousInputValues=[...this.inputValues])}const u=null!==(i=c[(null!==(n=l.selectionStart)&&void 0!==n?n:c.length)-1])&&void 0!==i?i:c[0];if(!s.test(u))return l.value=this.inputValues[e]||"",void(this.previousInputValues=[...this.inputValues]);this.inputValues[e]=u,l.value=u,this.updateValue(t),this.previousInputValues=[...this.inputValues]},this.onPaste=e=>{var t,n;const{disabled:i,inputRefs:o,length:r,readonly:a,validKeyPattern:s}=this;if(e.preventDefault(),i||a)return;const l=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text");if(!l)return void this.emitIonInput(e);const c=l.split("").filter(e=>s.test(e)).slice(0,r);c.forEach((e,t)=>{t<r&&(this.inputRefs[t].value=e,this.inputValues[t]=e)}),this.value=c.join(""),this.updateValue(e),null===(n=o[c.length<r?c.length:r-1])||void 0===n||n.focus()}}async setFocus(e){var t,n;if("number"==typeof e)null===(t=this.inputRefs[Math.max(0,Math.min(e,this.length-1))])||void 0===t||t.focus();else{const e=this.getTabbableIndex();null===(n=this.inputRefs[e])||void 0===n||n.focus()}}valueChanged(){this.initializeValues(),this.updateTabIndexes()}processSeparators(){const{separators:e,length:t}=this;if(void 0===e)return void(this.parsedSeparators=[]);if("string"==typeof e&&"all"!==e&&!/^(\d+)(,\d+)*$/.test(e))return Ms(0,this.el),void(this.parsedSeparators=[]);let n;n="all"===e?Array.from({length:t-1},(e,t)=>t+1):Array.isArray(e)?e:e.split(",").map(e=>parseInt(e,10)).filter(e=>!isNaN(e)),n.filter((e,t)=>n.indexOf(e)!==t).length>0&&Ms(0,this.el);const i=n.filter(e=>e>t);i.length>0&&Ms("[ion-input-otp] - The following separator positions are greater than the input length (".concat(t,"): ").concat(i.join(", "),". These separators will be ignored."),this.el),this.parsedSeparators=n.filter(e=>e<=t)}componentWillLoad(){this.inheritedAttributes=yd(this.el),this.processSeparators(),this.initializeValues()}componentDidLoad(){this.updateTabIndexes()}get validKeyPattern(){return RegExp("^".concat(this.getPattern(),"$"),"u")}getPattern(){const{pattern:e,type:t}=this;return e||("number"===t?"[\\p{N}]":"[\\p{L}\\p{N}]")}getInputmode(){const{inputmode:e}=this;return e||("number"==this.type?"numeric":"text")}initializeValues(){this.inputValues=Array(this.length).fill(""),null!=this.value&&0!==(this.value+"").length&&((this.value+"").split("").slice(0,this.length).forEac
2h((e,t)=>{this.validKeyPattern.test(e)&&(this.inputValues[t]=e)}),this.value=this.inputValues.join(""),this.previousInputValues=[...this.inputValues])}updateValue(e){const{inputValues:t,length:n}=this,i=t.join("");this.value=i,this.emitIonInput(e),i.length===n&&this.ionComplete.emit({value:i})}emitIonChange(e){const{value:t}=this;this.ionChange.emit({value:null==t?t:""+t,event:e})}emitIonInput(e){const{value:t}=this;this.ionInput.emit({value:null==t?t:""+t,event:e})}focusNext(e){var t;const{inputRefs:n,length:i}=this;e<i-1&&(null===(t=n[e+1])||void 0===t||t.focus())}focusPrevious(e){var t;const{inputRefs:n}=this;e>0&&(null===(t=n[e-1])||void 0===t||t.focus())}getFirstEmptyIndex(){var e;const{inputValues:t,length:n}=this;return null!==(e=Array.from({length:n},(e,n)=>t[n]||"").findIndex(e=>!e||""===e))&&void 0!==e?e:-1}getTabbableIndex(){const{length:e}=this,t=this.getFirstEmptyIndex();return-1===t?e-1:t}updateTabIndexes(){const{inputRefs:e,inputValues:t,length:n}=this;let i=-1;for(let o=0;o<n;o++)if(!t[o]||""===t[o]){i=o;break}e.forEach((e,o)=>{const r=-1===i?o===n-1:i===o;e.tabIndex=r?0:-1,e.setAttribute("aria-hidden",t[o]&&""!==t[o]||r?"false":"true")})}showSeparator(e){const{length:t}=this;return this.parsedSeparators.includes(e+1)&&e<t-1}render(){var e,t;const{autocapitalize:n,color:i,disabled:o,el:r,fill:a,hasFocus:s,inheritedAttributes:l,inputId:c,inputRefs:d,inputValues:u,length:p,readonly:h,shape:m,size:f}=this,g=tu(this),b=this.getInputmode(),v=this.getTabbableIndex(),y=this.getPattern(),w=""!==(null===(t=null===(e=r.querySelector(".input-otp-description"))||void 0===e?void 0:e.textContent)||void 0===t?void 0:t.trim());return Ql(tc,{key:"ffeec6d07b5d3cd375b72d4c9f4fe755d80ac094",class:Iu(i,{[g]:!0,"has-focus":s,["input-otp-size-"+f]:!0,["input-otp-shape-"+m]:!0,["input-otp-fill-"+a]:!0,"input-otp-disabled":o,"input-otp-readonly":h})},Ql("div",Object.assign({key:"f42471e4ed8054f07162a52b42a0ca49c3d57bb0",role:"group","aria-label":"One-time password input",class:"input-otp-group"},l),Array.from({length:p}).map((e,t)=>Ql(ld,null,Ql("div",{class:"native-wrapper"},Ql("input",{class:"native-input",id:"".concat(c,"-").concat(t),"aria-label":"Input ".concat(t+1," of ").concat(p),type:"text",autoCapitalize:n,inputmode:b,pattern:y,disabled:o,readOnly:h,tabIndex:t===v?0:-1,value:u[t]||"",autocomplete:"one-time-code",ref:e=>d[t]=e,onInput:this.onInput(t),onBlur:this.onBlur,onFocus:this.onFocus(t),onKeyDown:this.onKeyDown(t),onPaste:this.onPaste})),this.showSeparator(t)&&Ql("div",{class:"input-otp-separator"})))),Ql("div",{key:"b06461605b2404476b856785b7116e18b4dbaeaa",class:{"input-otp-description":!0,"input-otp-description-hidden":!w}},Ql("slot",{key:"5bf9e7dc365f6caf0d4b13ae26e5559cdbbd162c"})))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}],separators:[{processSeparators:0}],length:[{processSeparators:0}]}}static get style(){return{ios:".sc-ion-input-otp-ios-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-ios{-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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper.sc-ion-input-otp-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-ios{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-ios{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-ios{display:none}.input-otp-separator.sc-ion-input-otp-ios{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-ios-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:8px}.input-otp-size-medium.sc-ion-input-otp-ios-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-ios-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios,.input-otp-size-large.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:12px}.input-otp-shape-round.sc-ion-input-otp-ios-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-ios-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-ios-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-ios-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-disabled.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-ios-h,.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-ios-h{--border-width:0.55px}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-width:1px}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}",md:".sc-ion-input-otp-md-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;
2--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-md{-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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper.sc-ion-input-otp-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-md{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-md{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-md{display:none}.input-otp-separator.sc-ion-input-otp-md{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-md-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:8px}.input-otp-size-medium.sc-ion-input-otp-md-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-md-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md,.input-otp-size-large.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:12px}.input-otp-shape-round.sc-ion-input-otp-md-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-md-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-md-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-md-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-md-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-disabled.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-md-h,.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-md-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-md-h{--border-width:1px}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-width:2px}.input-otp-fill-outline.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3))}"}}},[294,"ion-input-otp",{autocapitalize:[1],color:[513],disabled:[516],fill:[1],inputmode:[1],length:[2],pattern:[1],readonly:[516],separators:[1],shape:[1],size:[1],type:[1],value:[1032],inputValues:[32],hasFocus:[32],previousInputValues:[32],setFocus:[64]},void 0,{value:[{valueChanged:0}],separators:[{processSeparators:0}],length:[{processSeparators:0}]}]);let Ug=0;const qg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="password",this.togglePasswordVisibility=()=>{const{inputElRef:e}=this;e&&(e.type="text"===e.type?"password":"text")}}onTypeChange(e){"text"===e||"password"===e||Ms('[ion-input-password-toggle] - Only input
2s of type "text" or "password" are supported. Input of type "'.concat(e,'" is not compatible.'),this.el)}connectedCallback(){const{el:e}=this,t=this.inputElRef=e.closest("ion-input");t?this.type=t.type:Ms(0)}disconnectedCallback(){this.inputElRef=null}render(){var e,t;const{color:n,type:i}=this,o=tu(this),r=null!==(e=this.showIcon)&&void 0!==e?e:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76M256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96'/></svg>",a=null!==(t=this.hideIcon)&&void 0!==t?t:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448M248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39M264 196.15 315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39'/><path d='M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.5 226.5 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.8 343.8 0 0 0 67.24-77.4M256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.2 238.2 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352'/></svg>",s="text"===i;return Ql(tc,{key:"91bc55664d496fe457518bd112865dd7811d0c17",class:Iu(n,{[o]:!0})},Ql("ion-button",{key:"6344d6838f5cdcba54c6bf4b592f036092044de0",mode:o,color:n,fill:"clear",shape:"round","aria-label":s?"Hide password":"Show password","aria-pressed":s?"true":"false",type:"button",onPointerDown:e=>{e.preventDefault()},onClick:this.togglePasswordVisibility},Ql("ion-icon",{key:"a2bd9197c2635bf8cb155ff25ce022e7d7dc6d00",slot:"icon-only","aria-hidden":"true",icon:s?a:r})))}get el(){return this}static get watchers(){return{type:[{onTypeChange:0}]}}static get style(){return{ios:"",md:""}}},[33,"ion-input-password-toggle",{color:[513],showIcon:[1,"show-icon"],hideIcon:[1,"hide-icon"],type:[1025]},void 0,{type:[{onTypeChange:0}]}]),Hg=function(){"undefined"!=typeof customElements&&["ion-input-password-toggle","ion-button","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-input-password-toggle":customElements.get(e)||customElements.define(e,qg);break;case"ion-button":customElements.get(e)||Fu();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Wg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.labelColorStyles={},this.itemStyles=new Map,this.inheritedAriaAttributes={},this.multipleInputs=!1,this.focusable=!0,this.isInteractive=!1,this.button=!1,this.detailIcon=jd,this.disabled=!1,this.routerDirection="forward",this.type="button",this.updateInteractivityOnSlotChange=()=>{this.setIsInteractive(),this.setMultipleInputs()}}buttonChanged(){this.focusable=this.isFocusable()}labelColorChanged(e){const{color:t}=this;void 0===t&&(this.labelColorStyles=e.detail)}itemStyle(e){e.stopPropagation();const t=e.target.tagName,n=e.detail,i={},o=this.itemStyles.get(t)||{};let r=!1;Object.keys(n).forEach(e=>{if(n[e]){const t="item-".concat(e);o[t]||(r=!0),i[t]=!0}}),r||Object.keys(i).length===Object.keys(o).length||(r=!0),r&&(this.itemStyles.set(t,i),ed(this))}connectedCallback(){this.hasStartEl()}componentWillLoad(){this.inheritedAriaAttributes=bd(this.el,["aria-label"])}componentDidLoad(){_d(()=>{this.setMultipleInputs(),this.setIsInteractive(),this.focusable=this.isFocusable()})}totalNestedInputs(){return{covers:this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),inputs:this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),clickables:this.el.querySelectorAll("ion-router-link, ion-button, a, button")}}
vendor: 1,296 bytes, line 2
2setMultipleInputs(){const{covers:e,inputs:t,clickables:n}=this.totalNestedInputs();this.multipleInputs=e.length+t.length>1||e.length+n.length>1||e.length>0&&this.isClickable()}setIsInteractive(){const{covers:e,inputs:t,clickables:n}=this.totalNestedInputs();this.isInteractive=e.length>0||t.length>0||n.length>0}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 e=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==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]), ion-input:not([disabled]), ion-textarea:not([disabled])")[0]}render(){const{detail:e,detailIcon:t,download:n,labelColorStyles:i,lines:o,disabled:r,href:a,rel:s,target:l,routerAnimation:c,routerDirection:d,inheritedAriaAttributes:u,multipleInputs:p}=this,h={},m=tu(this),f=this.isClickable(),g=this.canActivate(),b=f?void 0===a?"button":"a":"div",v="button"===b?{type:this.t
2ype}:{download:n,href:a,rel:s,target:l};let y={};const w=this.getFirstInteractive();(f||void 0!==w&&!p)&&(y={onClick:e=>{if(f&&Ou(a,e,d,c),void 0!==w&&!p){const t=e.composedPath();e.isTrusted&&this.el.shadowRoot.contains(t[0])&&("ION-INPUT"!==w.tagName&&"ION-TEXTAREA"!==w.tagName||w.setFocus(),w.click(),e.stopImmediatePropagation())}}});const x=void 0!==e?e:"ios"===m&&f;this.itemStyles.forEach(e=>{Object.assign(h,e)});const k=r||h["item-interactive-disabled"]?"true":null,_=Tu("ion-list",this.el)&&!Tu("ion-radio-group",this.el),E=void 0!==w&&!["ION-INPUT","ION-TEXTAREA"].includes(w.tagName);return Ql(tc,{key:"3977491399280a2aa3f796f0549235f3dc8b5681","aria-disabled":k,class:Object.assign(Object.assign(Object.assign({},h),i),Iu(this.color,{item:!0,[m]:!0,"item-lines-default":void 0===o,["item-lines-".concat(o)]:void 0!==o,"item-control-needs-pointer-cursor":E,"item-disabled":r,"in-list":_,"item-multiple-inputs":this.multipleInputs,"ion-activatable":g,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:_?"listitem":null},Ql(b,Object.assign({key:"8aff72457004553e83d74a4dda2f9a6b8cf523d7"},v,u,{class:"item-native",part:"native",disabled:r},y),Ql("slot",{key:"aba9a0f2ad101be6598f364c83236ca3de437a04",name:"start",onSlotchange:this.updateInteractivityOnSlotChange}),Ql("div",{key:"5e7851e49959e4ed114fcd51cb167db9bd8c0f00",class:"item-inner",part:"inner"},Ql("div",{key:"eee6511845d8459450ca856819839d83cd507c0c",class:"input-wrapper",part:"container"},Ql("slot",{key:"76e13f86cd144951b1999eb333a2027b42cdf6e2",onSlotchange:this.updateInteractivityOnSlotChange})),Ql("slot",{key:"b264f7b4c367e7700a9a05343177abf7b17045d8",name:"end",onSlotchange:this.updateInteractivityOnSlotChange}),x&&Ql("ion-icon",{key:"66b930bdfebb55ea0b2e784a1c902eb6c64b2370",icon:t,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":t===jd})),g&&"md"===m&&Ql("ion-ripple-effect",{key:"06ab8e87917b545f3c221602b9b6d8004a1895ad"})))}get el(){return this}static get watchers(){return{button:[{buttonChanged:0}]}}static get style(){return{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;--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) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .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)}
2:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){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-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}
2: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}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){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{--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, var(--ion-background-color-step-250, #c8c7cc))));--color:var(--ion-item-color, var(--ion-text-color, #000));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-lines-full){--border-width:0px 0px 0.55px 0px}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px}::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}',md
vendor: 6,511 bytes, line 2
2:':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;--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) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .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-control-needs-pointer-cursor){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-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}:host(.item-
2multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){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{--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, var(--ion-background-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;font-size:1rem;font-weight:normal;text-transform:none}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0}:host(.item-lines-full){--border-width:0 0 1px 0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0}: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:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}: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-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]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::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-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(.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, #0054e9)}'}}},[289,"ion-item",{color:[513],button:[4],detail:[4],detailIcon:[1,"detail-icon"],disabled:[516],download:[1],href:[1],rel:[1],lines:[1],routerAnimation:[16],routerDirection:[1,"router-direction"],target:[1],type:[1],multipleInputs:[32],focusable:[32],isInteractive:[32]},[[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{button:[{buttonChanged:0}]}]);
2function Gg(){"undefined"!=typeof customElements&&["ion-item","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-item":customElements.get(e)||customElements.define(e,Wg);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})}const $g=Gg,Yg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.sticky=!1}render(){const e=tu(this);return Ql(tc,{key:"ff2ae8eee7704ca28e3f25a39fc3d910f57b1879",class:Iu(this.color,{[e]:!0,"item-divider-sticky":this.sticky,item:!0})},Ql("slot",{key:"9747421ee3c6b8012ad5a71091aa9775d002885e",name:"start"}),Ql("div",{key:"0ad8e1355c70efcc095b954c29af497a18b35b37",class:"item-divider-inner",part:"inner"},Ql("div",{key:"7562f4f033e786b620ef2bd62d7c35f1013b4905",class:"item-divider-wrapper",part:"container"},Ql("slot",{key:"013a0c58ca93afa395a52df30020d1b9e86ffc3a"})),Ql("slot",{key:"a08f7b7a133110cbb51b1f4843133bacc306d3a1",name:"end"})))}get el(){return this}static get style(){return{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, var(--ion-background-color-step-100, #e6e6e6));--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #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:var(--ion-text-color-step-550, #a3a3a3);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));
2display:-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, var(--ion-text-color-step-600, #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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::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-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, var(--ion-text-color-step-400, #666666));font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}"}}},[289,"ion-item-divider",{color:[513],sticky:[4]}
2]),Xg=function(){"undefined"!=typeof customElements&&["ion-item-divider"].forEach(e=>{"ion-item-divider"===e&&(customElements.get(e)||customElements.define(e,Yg))})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost()}render(){const e=tu(this);return Ql(tc,{key:"f1743af1d075682f63fae3802c5c5bf050507563",role:"group",class:{[e]:!0,["item-group-"+e]:!0,item:!0}})}
2static get style(){return{ios:"ion-item-group{display:block}",md:"ion-item-group{display:block}"}}},[32,"ion-item-group"]);const Kg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.disabled=!1,this.expandable=!1,this.type="button",this.onClick=e=>{e.target.closest("ion-item-option")&&e.preventDefault()}}render(){const{disabled:e,expandable:t,href:n}=this,i=void 0===n?"button":"a",o=tu(this),r="button"===i?{type:this.type}:{download:this.download,href:this.href,target:this.target};return Ql(tc,{key:"b576e8f449ee9a03e659abd923421b051f7427c8",onClick:this.onClick,class:Iu(this.color,{[o]:!0,"item-option-disabled":e,"item-option-expandable":t,"ion-activatable":!0})},Ql(i,Object.assign({key:"568c7de194ecef7d1efec2abdf855b3fce71aa03"},r,{class:"button-native",part:"native",disabled:e}),Ql("span",{key:"fe1a494a40febc5c415098d8c9b2edad9fac02c9",class:"button-inner",part:"inner"},Ql("slot",{key:"8e4ec73c1a9c047a29dac8ad09ff1cce94a751c7",name:"top"}),Ql("div",{key:"7828c6413d2cab692a3a2e5aa2a17240e0dcb230",class:"horizontal-wrapper",part:"container"},Ql("slot",{key:"c8eb9881db296280ba895ab249e5d1bb3fc27206",name:"start"}),Ql("slot",{key:"144b18f7ea90a45abbe0b1fa878c87e623897b7b",name:"icon-only"}),Ql("slot",{key:"6c63ebad29552a32e1ed9ca3c95aa005b35b9b86"}),Ql("slot",{key:"99478d52600bf32342649a2f74ed8e1eb07407d4",name:"end"})),Ql("slot",{key:"00247fc54e61cface4e6ac6e8ea05a0685f5e26e",name:"bottom"})),"md"===o&&Ql("ion-ripple-effect",{key:"dc5057f2ff0926b2e5fd1520fed6cf7dc3197cf8"})))}get el(){return this}static get style(){return{ios:":host{--background:var(--ion-color-primary, #0054e9);--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, #004acd)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}",md:":host{--background:var(--ion-color-primary, #0054e9);--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}"}}},[289,"ion-item-option",{color:[513],disabled:[4],download:[1],expandable:[4],href:[1],rel:[1],target:[1],type:[1]}
2]),Jg=function(){"undefined"!=typeof customElements&&["ion-item-option","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-item-option":customElements.get(e)||customElements.define(e,Kg);break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Zg=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionSwipe=bc(this,"ionSwipe",7),this.side="end"}async fireSwipeEvent(){this.ionSwipe.emit({side:this.side})}render(){const e=tu(this),t=Ad(this.side);return Ql(tc,{key:"7b4b93984182222c64c7a2a22a18e52ac19e3049",class:{[e]:!0,["item-options-"+e]:!0,"item-options-start":!t,"item-options-end":t}})}get el(){return this}static get style(){return{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, var(--ion-background-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)}
2: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, var(--ion-background-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}"}}},[32,"ion-item-options",{side:[1],fireSwipeEvent:[64]}]),Qg=function(){"undefined"!=typeof customElements&&["ion-item-options"].forEach(e=>{"ion-item-options"===e&&(customElements.get(e)||customElements.define(e,Zg))})},eb=(e,t,n)=>{if("undefined"==typeof MutationObserver)return;const i=new MutationObserver(e=>{n(tb(e,t))});return i.observe(e,{childList:!0,subtree:!0}),i},tb=(e,t)=>{let n;return e.forEach(e=>{for(let i=0;i<e.addedNodes.length;i++)n=nb(e.addedNodes[i],t)||n}),n},nb=(e,t)=>{if(1!==e.nodeType)return;const n=e;return(n.tagName===t.toUpperCase()?[n]:Array.from(n.querySelectorAll(t))).find(e=>e.value===n.value)};let ib;const ob=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionDrag=bc(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)}async connectedCallback(){const{el:e}=this;this.item=e.querySelector("ion-item"),this.contentEl=Uf(e),this.mutationObserver=eb(e,"ion-item-option",async()=>{await this.updateOptions()}),await this.updateOptions(),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:e,gestureName:"item-swipe",gesturePriority:100,threshold:5,canStart:e=>this.canStart(e),onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.disabledChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.item=null,this.leftOptions=this.rightOptions=void 0,ib===this.el&&(ib=void 0),this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)}getOpenAmount(){return Promise.resolve(this.openAmount)}getSlidingRatio(){return Promise.resolve(this.getSlidingRatioSync())}async open(e){var t;if(null===(this.item=null!==(t=this.item)&&void 0!==t?t:this.el.querySelector("ion-item")))return;const n=this.getOptions(e);n&&(void 0===e&&(e=n===this.leftOptions?"start":"end"),e=Ad(e)?"end":"start",this.openAmount<0&&n===this.leftOptions||this.openAmount>0&&n===this.rightOptions||(this.closeOpened(),this.state=4,requestAnimationFrame(()=>{this.calculateOptsWidth(),ib=this.el,this.setOpenAmount("end"===e?this.optsWidthRightSide:-this.optsWidthLeftSide,!1),this.state="end"===e?8:16})))}async close(){this.setOpenAmount(0,!0)}async closeOpened(){return void 0!==ib&&(ib.close(),ib=void 0,!0)}getOptions(e){return void 0===e?this.leftOptions||this.rightOptions:"start"===e?this.leftOptions:this.rightOptions}async updateOptions(){var e;const t=this.el.querySelectorAll("ion-item-options");let n=0;this.leftOptions=this.rightOptions=void 0;for(let i=0;i<t.length;i++){const o=t.item(i),r=void 0!==o.componentOnReady?await o.componentOnReady():o;"start"==(Ad(null!==(e=r.side)&&void 0!==e?e:r.getAttribute("side"))?"end":"start")?(this.leftOptions=r,n|=1):(this.rightOptions=r,n|=2)}this.optsDirty=!0,this.sides=n}canStart(e){return!(("rtl"===document.dir?window.innerWidth-e.startX<15:e.startX<15)||(ib&&ib!==this.el&&this.closeOpened(),!this.rightOptions&&!this.leftOptions))}onStart(){this.item=this.el.querySelector("ion-item");const{contentEl:e}=this;e&&(this.initialContentScrollY=Wf(e)),ib=this.el,void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),0===this.openAmount&&(this.optsDirty=!0,this.state=4),this.initialOpenAmount=this.openAmount,this.item&&(this.item.style.transition="none")}onMove(e){this.optsDirty&&this.calculateOptsWidth();let t,n=this.initialOpenAmount-e.deltaX;switch(this.sides){case 2:n=Math.max(0,n);break;case 1:n=Math.min(0,n);break;case 3:break;case 0:return;default:Ms(0,this.sides)}n>this.optsWidthRightSide?(t=this.optsWidthRightSide,n=t+.55*(n-t)):n<-this.optsWidthLeftSide&&(t=-this.optsWidthLeftSide,n=t+.55*(n-t)),this.setOpenAmount(n,!1)}onEnd(e){const{contentEl:t,initialContentScrollY:n}=this;t&&Gf(t,n);const i=e.velocityX;let o=this.openAmount>0?this.optsWidthRightSide:-this.optsWidthLeftSide;rb(this.openAmount>0==!(i<0),Math.abs(i)>.3,Math.abs(this.openAmount)<Math.abs(o/2))&&(o=0);const r=this.state;this.setOpenAmount(o,!0),32&r&&this.rightOptions?this.rightOptions.fireSwipeEvent():64&r&&this.leftOptions&&this.leftOptions.fireSwipeEvent()}calculateOptsWidth(){this.optsWidthRightSide=0,this.rightOptions&&(this.rightOptions.style.display="flex",this.optsWidthRightSide=this.rightOptions.offsetWidth,this.rightOptions.style.display=""),this.optsWidthLeftSide=0,this.leftOptions&&(this.leftOptions.style.display="flex",this.optsWidthLeftSide=this.leftOptions.offsetWidth,this.leftOptions.style.display=""),this.optsDirty=!1}setOpenAmount(e,t){if(void 0!==this.tmr&&(clearTimeout(this.tmr),this.tmr=void 0),!this.item)return;const{el:n}=this,i=this.item.style;if(this.openAmount=e,t&&(i.transition=""),e>0)this.state=e>=this.optsWidthRightSide+30?40:8;else{if(!(e<0))return n.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),n.classList.remove("item-sliding-closing")},600),ib=void 0,void(i.transform="");this.state=e<=-this.optsWidthLeftSide-30?80:16}i.transform="translate3d(".concat(-e,"px,0,0)"),this.ionDrag.emit({amount:e,ratio:this.getSlidingRatioSync()})}getSlidingRatioSync(){return this.openAmount>0?this.openAmount/this.optsWidthRightSide:this.openAmount<0?this.openAmount/this.optsWidthLeftSide:0}render(){const e=tu(this);return Ql(tc,{key:"8fd81d74701402294a48b79c56d6eceadafd4881",class:{[e]:!0,"item-sl
2iding-active-slide":2!==this.state,"item-sliding-active-options-end":!!(8&this.state),"item-sliding-active-options-start":!!(16&this.state),"item-sliding-active-swipe-end":!!(32&this.state),"item-sliding-active-swipe-start":!!(64&this.state)}})}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return"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}}"}},[0,"ion-item-sliding",{disabled:[4],state:[32],getOpenAmount:[64],getSlidingRatio:[64],open:[64],close:[64],closeOpened:[64]},void 0,{disabled:[{disabledChanged:0}]}]),rb=(e,t,n)=>!t&&n||e&&t,ab=function(){"undefined"!=typeof customElements&&["ion-item-sliding"].forEach(e=>{"ion-item-sliding"===e&&(customElements.get(e)||customElements.define(e,ob))})},sb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionColor=bc(this,"ionColor",7),this.ionStyle=bc(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&(this.loadTimeout=setTimeout(()=>{this.noAnimate=!1},1e3))}disconnectedCallback(){this.loadTimeout&&clearTimeout(this.loadTimeout)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:e}=this;this.ionColor.emit({"item-label-color":void 0!==e,["ion-color-".concat(e)]:void 0!==e})}emitStyle(){const{inRange:e,position:t}=this;e||this.ionStyle.emit({label:!0,["label-".concat(t)]:void 0!==t})}render(){const e=this.position,t=tu(this);return Ql(tc,{key:"d603670c442213c28737b0c052c094705b8c84ef",class:Iu(this.color,{[t]:!0,"in-item-color":Tu("ion-item.ion-color",this.el),["label-".concat(e)]:void 0!==e,"label-no-animate":this.noAnimate,"label-rtl":"rtl"===document.dir})},Ql("slot",{key:"a8c3aed240a20ee5856c423662878481a1e6d4cf"}))}get el(){return this}static get watchers(){return{color:[{colorChanged:0}],position:[{positionChanged:0}]}}static get style(){return{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}.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;
2max-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:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.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}.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;
2max-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)}.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, #0054e9)}.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)}.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, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}"}}},[294,"ion-label",{color:[513],position:[1],noAnimate:[32]},void 0,{color:[{colorChanged:0}],position:[{positionChanged:0}]}]);
2function lb(){"undefined"!=typeof customElements&&["ion-label"].forEach(e=>{"ion-label"===e&&(customElements.get(e)||customElements.define(e,sb))})}const cb=lb,db=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.inset=!1}async closeSlidingItems(){const e=this.el.querySelector("ion-item-sliding");return!!(null==e?void 0:e.closeOpened)&&e.closeOpened()}render(){const e=tu(this),{lines:t,inset:n}=this;return Ql(tc,{key:"7f9943751542d2cbd49a4ad3f28e16d9949f70d4",role:"list",class:{[e]:!0,["list-".concat(e)]:!0,"list-inset":n,["list-lines-".concat(t)]:void 0!==t,["list-".concat(e,"-lines-").concat(t)]:void 0!==t}})}get el(){return this}static get style(){return{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))}.list-md>.input:last-child::after{inset-inline-start: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}"}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);function ub(){"undefined"!=typeof customElements&&["ion-list"].forEach(e=>{"ion-list"===e&&(customElements.get(e)||customElements.define(e,db))})}const pb=ub,hb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const{lines:e}=this,t=tu(this);return Ql(tc,{key:"f5fcd3e6b9f1ba52381fd0d14c0d50517da50f9f",class:Iu(this.color,{[t]:!0,["list-header-lines-".concat(e)]:void 0!==e})},Ql("div",{key:"99d09b1d2438ad981d20ff965c8945635c2161a3",class:"list-header-inner",part:"inner"},Ql("slot",{key:"efa7ab08935cfa378734cda0612b49ba5b7b6d36"})))}static get style(){return{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, var(--ion-text-color-step-150, #262626));--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))
2));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}"}}},[289,"ion-list-header",{color:[513],lines:[1]}]);function mb(){"undefined"!=typeof customElements&&["ion-list-header"].forEach(e=>{"ion-list-header"===e&&(customElements.get(e)||customElements.define(e,hb))})}const fb=mb,gb=(e,t,n,i,o)=>vb(e[1],t[1],n[1],i[1],o).map(o=>bb(e[0],t[0],n[0],i[0],o)),bb=(e,t,n,i,o)=>o*(3*t*Math.pow(o-1,2)+o*(-3*n*o+3*n+i*o))-e*Math.pow(o-1,3),vb=(e,t,n,i,o)=>yb((i-=o)-3*(n-=o)+3*(t-=o)-(e-=o),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),yb=(e,t,n,i)=>{if(0===e)return((e,t,n)=>{const i=t*t-4*e*n;return i<0?[]:[(-t+Math.sqrt(i))/(2*e),(-t-Math.sqrt(i))/(2*e)]})(t,n,i);const o=(3*(n/=e)-(t/=e)*t)/3,r=(2*t*t*t-9*t*n+27*(i/=e))/27;if(0===o)return[Math.pow(-r,1/3)];if(0===r)return[Math.sqrt(-o),-Math.sqrt(-o)];const a=Math.pow(r/2,2)+Math.pow(o/3,3);if(0===a)return[Math.pow(r/2,.5)-t/3];if(a>0)return[Math.pow(-r/2+Math.sqrt(a),1/3)-Math.pow(r/2+Math.sqrt(a),1/3)-t/3];const s=Math.sqrt(Math.pow(-o/3,3)),l=Math.acos(-r/(2*Math.sqrt(Math.pow(-o/3,3)))),c=2*Math.pow(s,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]},wb=e=>Vm().duration(e?400:300),xb=e=>{let t,n;const i=e.width+8,o=Vm(),r=Vm();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),o.addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(t,")"),"translateX(".concat(n,")"));const a="ios"===tu(e),s=a?.2:.25;return r.addElement(e.backdropEl).fromTo("opacity",.01,s),wb(a).addAnimation([o,r])},kb=e=>{let t,n;const i=tu(e),o=e.width;e.isEndSide?(t=-o+"px",n=o+"px"):(t=o+"px",n=-o+"px");const r=Vm().addElement(e.menuInnerEl).fromTo("transform","translateX(".concat(n,")"),"translateX(0px)"),a=Vm().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(t,")")),s=Vm().addElement(e.backdropEl).fromTo("opacity",.01,.32);return wb("ios"===i).addAnimation([r,a,s])},_b=e=>{const t=tu(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Vm().addElement(e.contentEl).fromTo("transform","translateX(0px)","translateX(".concat(n,")"));return wb("ios"===t).addAnimation(i)},Eb=(()=>{const e=new Map,t=[],n=async(e,n=!1)=>
2{if(await l(),"start"===e||"end"===e){const i=t.filter(t=>t.side===e&&!t.disabled);if(i.length>=1)return i.length>1&&n&&Ms('menuController queried for a menu on the "'.concat(e,'" side, but ').concat(i.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."),i.map(e=>e.el)),i[0].el;const o=t.filter(t=>t.side===e);if(o.length>=1)return o.length>1&&n&&Ms('menuController queried for a menu on the "'.concat(e,'" side, but ').concat(o.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."),o.map(e=>e.el)),o[0].el}else if(null!=e)return s(t=>t.menuId===e);return s(e=>!e.disabled)||(t.length>0?t[0].el:void 0)},i=async()=>(await l(),r()),o=(t,n)=>{e.set(t,n)},r=()=>s(e=>e._isOpen),a=()=>t.some(e=>e.isAnimating),s=e=>{const n=t.find(e);if(void 0!==n)return n.el},l=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>new Promise(t=>fd(e,t))));return o("reveal",_b),o("push",kb),o("overlay",xb),null==gp||gp.addEventListener("ionBackButton",e=>{const t=r();t&&e.detail.register(99,()=>t.close())}),{registerAnimation:o,get:n,getMenus:async()=>(await l(),t.map(e=>e.el)),getOpen:i,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const i=await n(t);return i&&(i.swipeGesture=e),i},isAnimating:async()=>(await l(),a()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await i()},enable:async(e,t)=>{const i=await n(t);return i&&(i.disabled=!e),i},toggle:async e=>{const t=await n(e,!0);return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e,!0):i());return void 0!==t&&t.close()},open:async e=>{const t=await n(e,!0);return!!t&&t.open()},_getOpenSync:r,_createAnimation:(t,n)=>{const i=e.get(t);if(!i)throw new Error("animation not registered");return i(n)},_register:e=>{t.indexOf(e)<0&&t.push(e)},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n,o)=>{if(a())return!1;if(t){const t=await i();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n,o)}}})(),Sb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionWillOpen=bc(this,"ionWillOpen",7),this.ionWillClose=bc(this,"ionWillClose",7),this.ionDidOpen=bc(this,"ionDidOpen",7),this.ionDidClose=bc(this,"ionDidClose",7),this.ionMenuChange=bc(this,"ionMenuChange",7),this.lastOnEnd=0,this.blocker=Sp.createBlocker({disableScroll:!0}),this.didLoad=!1,this.operationCancelled=!1,this.isAnimating=!1,this._isOpen=!1,this.inheritedAttributes={},this.handleFocus=e=>{const t=Yp(document);t&&!t.contains(this.el)||this.trapKeyboardFocus(e,document)},this.isPaneVisible=!1,this.isEndSide=!1,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=Ad(this.side),this.animation=void 0}swipeGestureChanged(){this.updateState()}async connectedCallback(){"undefined"!=typeof customElements&&null!=customElements&&await customElements.whenDefined("ion-menu"),void 0===this.type&&(this.type=Ps.get("menuType","overlay"));const e=void 0!==this.contentId?document.getElementById(this.contentId):null;null!==e?(this.el.contains(e)&&zs(),this.contentEl=e,e.classList.add("menu-content"),this.typeChanged(this.type,void 0),this.sideChanged(),Eb._register(this),this.menuChanged(),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:document,gestureName:"menu-swipe",gesturePriority:30,threshold:10,blurOnStart:!0,canStart:e=>this.canStart(e),onWillStart:()=>this.onWillStart(),onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.updateState()):zs()}componentWillLoad(){this.inheritedAttributes=yd(this.el)}async componentDidLoad(){this.didLoad=!0;const e=this.el.closest("ion-split-pane");null!==e&&(this.isPaneVisible=await e.isVisible()),this.menuChanged(),this.updateState()}menuChanged(){this.didLoad&&this.ionMenuChange.emit({disabled:this.disabled,open:this._isOpen})}async disconnectedCallback(){await this.close(!1),this.blocker.destroy(),Eb._unregister(this),this.animation&&this.animation.destroy(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation=void 0,this.contentEl=void 0}onSplitPaneChanged(e){const t=this.el.closest("ion-split-pane");null!==t&&t===e.target&&(this.isPaneVisible=e.detail.visible,this.updateState())}onBackdropClick(e){this._isOpen&&this.lastOnEnd<e.timeStamp-100&&e.composedPath&&!e.composedPath().includes(this.menuInnerEl)&&(e.preventDefault(),e.stopPropagation(),this.close(void 0,ah))}onKeydown(e){"Escape"===e.key&&this.close(void 0,ah)}isOpen(){return Promise.resolve(this._isOpen)}isActive(){return Promise.resolve(this._isActive())}open(e=!0){return this.setOpen(!0,e)}close(e=!0,t){return this.setOpen(!1,e,t)}toggle(e=!0){return this.setOpen(!this._isOpen,e)}setOpen(e,t=!0,n){var i;return null===(i=document.activeElement)||void 0===i||i.blur(),Eb._setOpen(this,e,t,n)}trapKeyboardFocus(e,t){const n=e.target;if(n)if(this.el.contains(n))this.lastFocus=n;else{const{el:e}=this;Tp(e),this.lastFocus===t.activeElement&&Ip(e)}}async _setOpen(e,t=!0,n){return!(!this._isActive()||this.isAnimating||e===this._isOpen||(this.beforeAnimation(e,n),await this.loadAnimation(),await this.startAnimation(e,t),this.operationCancelled?(this.operationCancelled=!1,1):(this.afterAnimation(e,n),0)))}async loadAnimation(){const e=this.menuInnerEl.offsetWidth,t=Ad(this.side);if(e===this.width&&void 0!==this.animation&&t===this.isEndSide)return;this.width=e,this.isEndSide=t,this.animation&&(this.animation.destroy(),this.animation=void 0);const n=this.animation=await Eb._createAnimation(this.type,this);Ps.getBoolean("animated",!0)||n.duration(0),n.fill("both")}async startAnimation(e,t){const n=!e,i=tu(this),o="ios"===i?"cubic-bezier(0.32,0.72,0,1)":"cubic-bezier(0.0,0.0,0.2,1)",r="ios"===i?"cubic-bezier(1, 0, 0.68, 0.28)":"cubic-bezier(0.4, 0, 0.6, 1)",a=this.animation.direction(n?"reverse":"normal").easing(n?r:o);t?await a.play():a.play({sync:!0}),"reverse"===a.getDirection()&&a.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||!Eb._getOpenSync()&&Tb(window,e.currentX,this.isEndSide,this.maxEdgeStart))}onWillStart(){return this.beforeAnimation(!this._isOpen,sh),this.loadAnimation()}onStart(){this.isAnimating&&this.animation?this.animation.progressStart(!0,this._isOpen?1:0):Td(!1,"isAnimating has to be true")}onMove(e){if(!this.isAnimating||!this.animation)return void Td(!1,"isAnimating has to be true");const t=Cb(e.deltaX,this._isOpen,this.isEndSide)/this.width;this.animation.progressStep(this._isOpen?1-t:t)}onEnd(e){if(!this.isAnimating||!this.animation)return void Td(!1,"isAnimating has to be true");const t=this._isOpen,n=this.isEndSide,i=Cb(e.deltaX,t,n),o=this.width,r=i/o,a=e.velocityX,s=o/2,l=a>=0&&(a>.2||e.deltaX>s),c=a<=0&&(a<-.2||e.deltaX<-s),d=t?n?l:c:n?c:l;let u=!t&&d;t&&!d&&(u=!0),this.lastOnEnd=e.currentTime;let p=d?.001:-.001;p+=gb([0,0],[.4,0],[.6,1],[1,1],Cd(0,r<0?.01:r,.9999))[0]||0;const h=this._isOpen?!d:d;this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish(()=>this.afterAnimation(u,sh),{oneTimeCallback:!0}).progressEnd(h?1:0,this._isOpen?1-p:p,300)}beforeAnimation(e,t){Td(!this.isAnimating,"_before() should not be called while animating"),Ud("android")&&this.el.setAttribute("aria-hidden","true"),this.el.classList.add(Ib),this.el.setAttribute("tabindex","0"),this.backdropEl&&this.backdropEl.classList.add(Ab),this.contentEl&&(this.contentEl.classList.add(Pb),this.contentEl.setAttribute("aria-hidden","true")),this.blocker.block(),this.isAnimating=!0,e?this.ionWillOpen.emit():this.ionWillClose.emit({role:t})}afterAnimation(e,t){var n;this._isOpen=e,this.isAnimating=!1,this._isOpen||this.blocker.unblock(),e?(Ud("android")&&this.el.removeAttribute("aria-hidden"),this.ionDidOpen.emit(),(null===(n=document.activeElement)||void 0===n?void 0:n.closest("ion-menu"))!==this.el&&this.el.focus(),document.addEventListener("focus",this.handleFocus,!0)):(this.el.removeAttribute("aria-hidden"),this.el.classList.remove(Ib),this.el.removeAttribute("tabindex"),this.contentEl&&(this.contentEl.classList.remove(Pb),this.contentEl.removeAttribute("aria-hidden")),this.backdropEl&&this.backdropEl.classList.remove(Ab),this.animation&&this.animation.stop(),this.ionDidClose.emit({role:t}),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,sh))}render(){const{type:e,disabled:t,el:n,isPaneVisible:i,inheritedAttributes:o,side:r}=this,a=tu(this);return Ql(tc,{key:"29ef73894e2795e4ce23e59888ffb87faf4dd543",onKeyDown:bp()?null:this.onKeydown,role:"navigation","aria-label":o["aria-label"]||"menu",class:{[a]:!0,["menu-type-"+e]:!0,"menu-enabled":!t,["menu-side-"+r]:!0,"menu-pane-visible":i,"split-pane-side":Tu
2("ion-split-pane",n)}},Ql("div",{key:"22e44f7bd602ee0c96550f0dfc22ac81c0033ad6",class:"menu-inner",part:"container",ref:e=>this.menuInnerEl=e},Ql("slot",{key:"7bbef92fe03bb3ce4d3981eb8535aab449aab2fc"})),Ql("ion-backdrop",{key:"9ab8d5b61563e16b212c71c03869d4fc23a0400b",ref:e=>this.backdropEl=e,class:"menu-backdrop",tappable:!1,stopPropagation:!1,part:"backdrop"}))}get el(){return this}static get watchers(){return{type:[{typeChanged:0}],disabled:[{disabledChanged:0}],side:[{sideChanged:0}],swipeGesture:[{swipeGestureChanged:0}]}}static get style(){return{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}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}: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}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}: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){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}: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-pane-visible.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(.menu-pane-visible.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)}: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);
2min-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}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}: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}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}: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){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}: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-pane-visible.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(.menu-pane-visible.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)}: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)}"}}},[289,"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:0}],disabled:[{disabledChanged:0}],side:[{sideChanged:0}],swipeGesture:[{swipeGestureChanged:0}]}]),Cb=(e,t,n)=>Math.max(0,t!==n?-e:e),Tb=(e,t,n,i)=>n?t>=e.innerWidth-i:t<=i,Ib="show-menu",Ab="show-backdrop",Pb="menu-content-open",Ob=function(){"undefined"!=typeof customElements&&["ion-menu","ion-backdrop"].forEach(e=>{switch(e){case"ion-menu":customElements.get(e)||customElements.define(e,Sb);break;case"ion-backdrop":customElements.get(e)||Cu()}})},Rb=async e=>{const t=await Eb.get(e);return!(!t||!(await t.isActive()))},Lb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.visible=!1,this.disabled=!1,this.autoHide=!0,this.type="button",this.onClick=async()=>Eb.toggle(this.menu)}componentWillLoad(){this.inheritedAttributes=yd(this.el)}componentDidLoad(){this.visibilityChanged()}async visibilityChanged(){this.visible=await Rb(this.menu)}render(){const{color:e,disabled:t,inheritedAttributes:n}=this,i=tu(this),o=Ps.get("menuIcon","ios"===i?"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 160h352M80 256h352M80 352h352' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>":"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M64 384h384v-42.67H64Zm0-106.67h384v-42.66H64ZM64 128v42.67h384V128Z'/></svg>
2"),r=this.autoHide&&!this.visible,a={type:this.type},s=n["aria-label"]||"menu";return Ql(tc,{key:"dcade732e366f0687d92cb9ce4065b78b0b41d24",onClick:this.onClick,"aria-disabled":t?"true":null,"aria-hidden":r?"true":null,class:Iu(e,{[i]:!0,button:!0,"menu-button-hidden":r,"menu-button-disabled":t,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0})},Ql("button",Object.assign({key:"7c4a449e239679376f38471d95fd602f9caec5f6"},a,{disabled:t,class:"button-native",part:"native","aria-label":s}),Ql("span",{key:"8bb5bf453280a66109198c970b678ad800c7a8cf",class:"button-inner"},Ql("slot",{key:"7f78b1e7a0695f2bd600d13ca81f50dd8b965726"},Ql("ion-icon",{key:"9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756",part:"icon",icon:o,mode:i,lazy:!1,"aria-hidden":"true"}))),"md"===i&&Ql("ion-ripple-effect",{key:"10be7145c614144e94c3cc0b92dc5ee4e1587fe6",type:"unbounded"})))}get el(){return this}static get style(){return{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, #0054e9);--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}
2: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)}}'}}},[289,"ion-menu-button",{color:[513],disabled:[4],menu:[1],autoHide:[4,"auto-hide"],type:[1],visible:[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]),Db=function(){"undefined"!=typeof customElements&&["ion-menu-button","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-menu-button":customElements.get(e)||customElements.define(e,Lb);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Nb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.autoHide=!0,this.onClick=()=>Eb.toggle(this.menu)}connectedCallback(){this.visibilityChanged()}async visibilityChanged(){this.visible=await Rb(this.menu)}render(){const e=tu(this),t=this.autoHide&&!this.visible;return Ql(tc,{key:"55135952f3a42cb5d21916dfb7b169d894b381e3",onClick:this.onClick,"aria-hidden":t?"true":null,class:{[e]:!0,"menu-toggle-hidden":t}},Ql("slot",{key:"e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03"}))}static get style(){return":host(.menu-toggle-hidden){display:none}"}},[257,"ion-menu-toggle",{menu:[1],autoHide:[4,"auto-hide"],visible:[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]),Mb=function(){"undefined"!=typeof customElements&&["ion-menu-toggle"].forEach(e=>{"ion-menu-toggle"===e&&(customElements.get(e)||customElements.define(e,Nb))})};let zb=class{constructor(e,t){this.component=e,this.params=t,this.state=1}async init(e){if(this.state=2,!this.element){const t=this.component;this.element=await yp(this.delegate,e,t,["ion-page","ion-page-invisible"],this.params)}}_destroy(){Td(3!==this.state,"view state must be ATTACHED");const e=this.element;e&&(this.delegate?this.delegate.removeViewFromDom(e.parentElement,e):e.remove()),this.nav=void 0,this.state=3}};const jb=(e,t,n)=>!!e&&e.component===t&&Rd(e.params,n),Bb=(e,t)=>e?e instanceof zb?e:new zb(e,t):null;sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=bc(this,"ionNavWillLoad",7),this.ionNavWillChange=bc(this,"ionNavWillChange",3),this.ionNavDidChange=bc(this,"ionNavDidChange",3),this.transInstr=[],this.gestureOrAnimationInProgress=!1,this.useRouter=!1,this.isTransitioning=!1,this.destroyed=!1,this.views=[],this.didLoad=!1,this.animated=!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=tu(this);this.swipeGesture=Ps.getBoolean("swipeBackEnabled","ios"===e)}this.ionNavWillLoad.emit()}async componentDidLoad(){this.didLoad=!0,this.rootChanged(),this.gesture=(await o(async()=>{const{createSwipeBackGesture:e}=await import("./p-Sh0ICmPV-gh6b7eO2.js");return{createSwipeBackGesture:e}},[])).createSwipeBackGesture(this.el,this.canStart.bind(this),this.onStart.bind(this),this.onMove.bind(this),this.onEnd.bind(this)),this.swipeGestureChanged()}connectedCallback(){this.destroyed=!1}disconnectedCallback(){for(const e of this.views)Pm(e.element,mm),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,o){return this.insertPages(e,[{component:t,componentProps:n}],i,o)}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)}
vendor: 8,335 bytes, line 2
2setRoot(e,t,n,i){return this.setPages([{component:e,componentProps:t}],n,i)}setPages(e,t,n){return null!=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 o=this.getActiveSync();if(jb(o,e,t))return Promise.resolve({changed:!1,element:o.element});let r;const a=new Promise(e=>r=e);let s;const l={updateURL:!1,viewIsReady:e=>{let t;const n=new Promise(e=>t=e);return r({changed:!0,element:e,markVisible:async()=>{t(),await s}}),n}};if("root"===n)s=this.setRoot(e,t,l);else{const o=this.views.find(n=>jb(n,e,t));o?s=this.popTo(o,Object.assign(Object.assign({},l),{direction:"back",animationBuilder:i})):"forward"===n?s=this.push(e,t,Object.assign(Object.assign({},l),{animationBuilder:i})):"back"===n&&(s=this.setRoot(e,t,Object.assign(Object.assign({},l),{direction:"back",animated:!0,animationBuilder:i})))}return a}async getRouteId(){const e=this.getActiveSync();if(e)return{id:e.element.tagName,params:e.params,element:e.element}}async getActive(){return this.getActiveSync()}async getByIndex(e){return this.views[e]}async canGoBack(e){return this.canGoBackSync(e)}async getPrevious(e){return this.getPreviousSync(e)}async getLength(){return Promise.resolve(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}async queueTrns(e,t){var n,i;if(this.isTransitioning&&(null===(n=e.opts)||void 0===n?void 0:n.skipIfBusy))return!1;const o=new Promise((t,n)=>{e.resolve=t,e.reject=n});if(e.done=t,e.opts&&!1!==e.opts.updateURL&&this.useRouter){const t=document.querySelector("ion-router");if(t){const n=await t.canTransition();if(!1===n)return!1;if("string"==typeof n)return t.push(n,e.opts.direction||"back"),!1}}return 0===(null===(i=e.insertViews)||void 0===i?void 0:i.length)&&(e.insertViews=void 0),this.transInstr.push(e),this.nextTrns(),o}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 t=document.querySelector("ion-router");t&&t.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)}async runTransition(e){try{this.ionNavWillChange.emit(),this.isTransitioning=!0,this.prepareTI(e);const t=this.getActiveSync(),n=this.getEnteringView(e,t);if(!t&&!n)throw Error("no views in the stack to be removed");n&&1===n.state&&await n.init(this.el),this.postViewInit(n,t,e);const i=(e.enteringRequiresTransition||e.leavingRequiresTransition)&&n!==t;let o;i&&e.opts&&t&&("back"===e.opts.direction&&(e.opts.animationBuilder=e.opts.animationBuilder||(null==n?void 0:n.animationBuilder)),t.animationBuilder=e.opts.animationBuilder),o=i?await this.transition(n,t,e):{hasCompleted:!0,requiresTransition:!1},this.success(o,e),this.ionNavDidChange.emit()}catch(t){this.failed(t,e)}this.isTransitioning=!1,this.nextTrns()}prepareTI(e){var t,n,i;const o=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){Td(void 0!==e.removeStart,"removeView needs removeStart"),Td(void 0!==e.removeCount,"removeView needs removeCount");const t=this.views.indexOf(e.removeView);if(t<0)throw Error("removeView was not found");e.removeStart+=t}void 0!==e.removeStart&&(e.removeStart<0&&(e.removeStart=o-1),e.removeCount<0&&(e.removeCount=o-e.removeStart),e.leavingRequiresTransition=e.removeCount>0&&e.removeStart+e.removeCount===o),e.insertViews&&((e.insertStart<0||e.insertStart>o)&&(e.insertStart=o),e.enteringRequiresTransition=e.insertStart===o);const r=e.insertViews;if(!r)return;Td(r.length>0,"length can not be zero");const a=r.map(e=>e instanceof zb?e:"component"in e?Bb(e.component,null===e.componentProps?void 0:e.componentProps):Bb(e,void 0)).filter(e=>null!==e);if(0===a.length)throw Error("invalid views to insert");for(const s of a){s.delegate=e.opts.delegate;const t=s.nav;if(t&&t!==this)throw Error("inserted view was already inserted");if(3===s.state)throw 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 n=this.views,o=i+e.removeCount;for(let e=n.length-1;e>=0;e--){const r=n[e];if((e<i||e>=o)&&r!==t)return r}}}postViewInit(e,t,n){var i,o,r;Td(t||e,"Both leavingView and enteringView are null"),Td(n.resolve,"resolve must be valid"),Td(n.reject,"reject must be valid");const a=n.opts,{insertViews:s,removeStart:l,removeCount:c}=n;let d;if(void 0!==l&&void 0!==c){Td(l>=0,"removeStart can not be negative"),Td(c>=0,"removeCount can not be negative"),d=[];for(let n=l;n<l+c;n++){const i=this.views[n];void 0!==i&&i!==e&&i!==t&&d.push(i)}null!==(i=a.direction)&&void 0!==i||(a.direction="back")}const u=this.views.length+(null!==(o=null==s?void 0:s.length)&&void 0!==o?o:0)-(null!=c?c:0);if(Td(u>=0,"final balance can not be negative"),0===u)throw Ms(0,this.el),Error("navigation stack needs at least one root page");if(s){let e=n.insertStart;for(const t of s)this.insertViewAt(t,e),e++;n.enteringRequiresTransition&&(null!==(r=a.direction)&&void 0!==r||(a.direction="forward"))}if(d&&d.length>0){for(const e of d)Pm(e.element,pm),Pm(e.element,hm),Pm(e.element,mm);for(const e of d)this.destroyView(e)}}async transition(e,t,n){const i=n.opts,o=i.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.sbAni=e:(this.gestureOrAnimationInProgress=!0,e.onFinish(()=>{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0,r=tu(this),a=e.element,s=t&&t.element,l=Object.assign(Object.assign({mode:r,showGoBack:this.canGoBackSync(e),baseEl:this.el,progressCallback:o,animated:this.animated&&Ps.getBoolean("animated",!0),enteringEl:a,leavingEl:s},i),{animationBuilder:i.animationBuilder||this.animation||Ps.get("navAnimation")}),{hasCompleted:c}=await vm(l);return this.transitionFinish(c,e,t,i)}transitionFinish(e,t,n,i){const o=e?t:n;return o&&this.unmountInactiveViews(o),{hasCompleted:e,requiresTransition:!0,enteringView:t,leavingView:n,direction:i.direction}}insertViewAt(e,t){const n=this.views,i=n.indexOf(e);i>-1?(Td(e.nav===this,"view is not part of the nav"),n.splice(i,1),n.splice(t,0,e)):(Td(!e.nav,"nav is used"),e.nav=this,n.splice(t,0,e))}removeView(e){Td(2===e.state||3===e.state,"view state should be loaded or destroyed");const t=this.views,n=t.indexOf(e);Td(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 e=t[i],o=e.element;o&&(i>n?(Pm(o,mm),this.destroyView(e)):i<n&&Lm(o,!0))}}canStart(){return!this.gestureOrAnimationInProgress&&!!this.swipeGesture&&!this.isTransitioning&&0===this.transInstr.length&&this.canGoBackSync()}onStart(){this.gestureOrAnimationInProgress=!0,this.pop({direction:"back",progressAnimation:!0})}onMove(e){this.sbAni&&this.sbAni.progressStep(e)}onEnd(e,t,n){if(this.sbAni){this.sbAni.onFinish(()=>{this.gestureOrAnimationInProgress=!1},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=gb([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=gb([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.sbAni.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}render(){return Ql("slot",{key:"a549286b51b1bb23c9ef51f71148452228d0ab14"})}get el(){return this}static get watchers(){return{swipeGesture:[{swipeGestureChanged:0}],root:[{rootChanged:0}]}}static get style(){return":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}"}},[257,"ion-nav",{delegate:[16],swipeGesture:[1028,"swipe-gesture"],animated:[4],animation:[16],rootParam
2s:[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],getLength:[64]},void 0,{swipeGesture:[{swipeGestureChanged:0}],root:[{rootChanged:0}]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.routerDirection="forward",this.onClick=()=>((e,t,n,i,o)=>{const r=this.el.closest("ion-nav");if(r)if("forward"===t){if(void 0!==n)return r.push(n,i,{skipIfBusy:!0,animationBuilder:o})}else if("root"===t){if(void 0!==n)return r.setRoot(n,i,{skipIfBusy:!0,animationBuilder:o})}else if("back"===t)return r.pop({skipIfBusy:!0,animationBuilder:o});return Promise.resolve(!1)})(0,this.routerDirection,this.component,this.componentProps,this.routerAnimation)}render(){return Ql(tc,{key:"d4d80feb51c0d92b0bedf6952c892f9df3002046",onClick:this.onClick})}get el(){return this}},[0,"ion-nav-link",{component:[1],componentProps:[16],routerDirection:[1,"router-direction"],routerAnimation:[16]}]);const Fb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const e=tu(this);return Ql(tc,{key:"b86a6acc9274df6528d224d4c11ab826a0f84dbc",class:Iu(this.color,{[e]:!0})},Ql("slot",{key:"5de76567ed7713827cd277a42db102faf34190c8"}))}static get style(){return{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, var(--ion-text-color-step-650, #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, var(--ion-text-color-step-400, #666666));font-size:0.875rem}"}}},[289,"ion-note",{color:[513]}]),Vb=function(){"undefined"!=typeof customElements&&["ion-note"].forEach(e=>{"ion-note"===e&&(customElements.get(e)||customElements.define(e,Fb))})},Ub=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1}render(){const{color:e,type:t,reversed:n,value:i,buffer:o}=this,r=Ps.getBoolean("_testing"),a=tu(this),s=1===o;return Ql(tc,{key:"c859e48f3d24a458239e36d925e5dc003ed07c6b",role:"progressbar","aria-valuenow":"determinate"===t?i:null,"aria-valuemin":"0","aria-valuemax":"1",class:Iu(e,{[a]:!0,["progress-bar-"+t]:!0,"progress-paused":r,"progress-bar-reversed":"rtl"===document.dir?!n:n,"progress-bar-solid":s})},"indeterminate"===t?qb():Hb(i,o))}static get style(){return{ios:":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);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(--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(--background) 0%, var(--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}
2: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) .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);
2-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{border-radius:9999px;height:4px}:host(.progress-bar-solid){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}",md
vendor: 8,652 bytes, line 2
2:":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);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(--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(--background) 0%, var(--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) .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}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}"}
2}},[33,"ion-progress-bar",{type:[1],reversed:[4],value:[2],buffer:[2],color:[513]}]),qb=()=>Ql("div",{part:"track",class:"progress-buffer-bar"},Ql("div",{class:"indeterminate-bar-primary"},Ql("span",{part:"progress",class:"progress-indeterminate"})),Ql("div",{class:"indeterminate-bar-secondary"},Ql("span",{part:"progress",class:"progress-indeterminate"}))),Hb=(e,t)=>{const n=Cd(0,e,1),i=Cd(0,t,1);return[Ql("div",{part:"progress",class:"progress",style:{transform:"scaleX(".concat(n,")")}}),Ql("div",{class:{"buffer-circles-container":!0,"ion-hide":1===i},style:{transform:"translateX(".concat(100*i,"%)")}},Ql("div",{class:"buffer-circles-container",style:{transform:"translateX(-".concat(100*i,"%)")}},Ql("div",{part:"stream",class:"buffer-circles"}))),Ql("div",{part:"track",class:"progress-buffer-bar",style:{transform:"scaleX(".concat(i,")")}})]},Wb=function(){"undefined"!=typeof customElements&&["ion-progress-bar"].forEach(e=>{"ion-progress-bar"===e&&(customElements.get(e)||customElements.define(e,Ub))})},Gb=(e,t,n)=>"function"==typeof n?n(e,t):"string"==typeof n?e[n]===t[n]:Array.isArray(t)?t.includes(e):e===t,$b=(e,t,n)=>void 0!==e&&(Array.isArray(e)?e.some(e=>Gb(e,t,n)):Gb(e,t,n)),Yb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.inputId="ion-rb-"+Xb++,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.labelPlacement="start",this.updateState=()=>{if(this.radioGroup){const{compareWith:e,value:t}=this.radioGroup;this.checked=$b(t,this.value,e)}},this.onClick=()=>{const{radioGroup:e,checked:t,disabled:n}=this;n||(this.checked=!t||!(null==e?void 0:e.allowEmptySelection))},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}valueChanged(){this.updateState()}componentDidLoad(){this.updateState()}async setFocus(e){void 0!==e&&(e.stopPropagation(),e.preventDefault()),this.el.focus()}async setButtonTabindex(e){this.buttonTabindex=e}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const e=this.radioGroup=this.el.closest("ion-radio-group");e&&(this.updateState(),wd(e,"ionValueChange",this.updateState))}disconnectedCallback(){const e=this.radioGroup;e&&(xd(e,"ionValueChange",this.updateState),this.radioGroup=null)}get hasLabel(){return""!==this.el.textContent}renderRadioControl(){return Ql("div",{class:"radio-icon",part:"container"},Ql("div",{class:"radio-inner",part:"mark"}),Ql("div",{class:"radio-ripple"}))}render(){const{checked:e,disabled:t,color:n,el:i,justify:o,labelPlacement:r,hasLabel:a,buttonTabindex:s,alignment:l}=this,c=tu(this),d=Tu("ion-item",i);return Ql(tc,{key:"af5dc59ed528150872e907ed1036e3e2decba939",onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:Iu(n,{[c]:!0,"in-item":d,"radio-checked":e,"radio-disabled":t,["radio-justify-".concat(o)]:void 0!==o,["radio-alignment-".concat(l)]:void 0!==l,["radio-label-placement-".concat(r)]:!0,"ion-activatable":!d,"ion-focusable":!d}),role:"radio","aria-checked":e?"true":"false","aria-disabled":t?"true":null,tabindex:s},Ql("label",{key:"1312aba3259a87fe23a6911cdfa477e309469c8b",class:"radio-wrapper"},Ql("div",{key:"b342aa27e240a300836d2a135658d346b95daf09",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!a},part:"label"},Ql("slot",{key:"0a4613d29aa783d1882cf889377f7e4fd4fea51d"})),Ql("div",{key:"191faea79dc4cd8befc4b873f5bd9f5af8ca2acc",class:"native-wrapper"},this.renderRadioControl())))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return{ios:':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}: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}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){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;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;-ms-flex-pack:justify;justify-content:space-between;
2height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .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-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}: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, #0054e9)}: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, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}',md:':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}: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}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){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;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;-ms-flex-pack:justify;justify-content:space-between;
2height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .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-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}: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, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}: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(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);
2display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}'}}},[289,"ion-radio",{color:[513],name:[1],disabled:[4],value:[8],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1],checked:[32],buttonTabindex:[32],setFocus:[64],setButtonTabindex:[64]},void 0,{value:[{valueChanged:0}]}]);let Xb=0;function Kb(){"undefined"!=typeof customElements&&["ion-radio"].forEach(e=>{"ion-radio"===e&&(customElements.get(e)||customElements.define(e,Yb))})}const Jb=Kb,Zb=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionChange=bc(this,"ionChange",7),this.ionValueChange=bc(this,"ionValueChange",7),this.inputId="ion-rg-"+Qb++,this.helperTextId="".concat(this.inputId,"-helper-text"),this.errorTextId="".concat(this.inputId,"-error-text"),this.labelId="".concat(this.inputId,"-lbl"),this.isInvalid=!1,this.allowEmptySelection=!1,this.name=this.inputId,this.setRadioTabindex=e=>{const t=this.getRadios(),n=t.find(e=>!e.disabled),i=t.find(t=>t.value===e&&!t.disabled);if(!n&&!i)return;const o=i||n;for(const r of t)r.setButtonTabindex(r===o?0:-1)},this.onClick=e=>{e.preventDefault();const t=e.target&&e.target.closest("ion-radio");if(t&&!t.disabled){const n=t.value;n!==this.value?(this.value=n,this.emitValueChange(e)):this.allowEmptySelection&&(this.value=void 0,this.emitValueChange(e))}}}valueChanged(e){this.setRadioTabindex(e),this.ionValueChange.emit({value:e})}componentDidLoad(){this.valueChanged(this.value)}async connectedCallback(){const e=this.el.querySelector("ion-list-header")||this.el.querySelector("ion-item-divider");if(e){const t=this.label=e.querySelector("ion-label");t&&(this.labelId=t.id=this.name+"-lbl")}"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(()=>{const e=Wu(this.el);this.isInvalid!==e&&(this.isInvalid=e,Promise.resolve().then(()=>{this.hintTextId=this.getHintTextId()}))}),this.validationObserver.observe(this.el,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=Wu(this.el)}componentWillLoad(){this.hintTextId=this.getHintTextId()}disconnectedCallback(){this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}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")||!!this.el.closest("ion-select-modal");if(e.target&&!this.el.contains(e.target))return;const n=this.getRadios().filter(e=>!e.disabled);if(e.target&&n.includes(e.target)){const i=n.findIndex(t=>t===e.target),o=n[i];let r;if(["ArrowDown","ArrowRight"].includes(e.key)&&(r=i===n.length-1?n[0]:n[i+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(r=0===i?n[n.length-1]:n[i-1]),r&&n.includes(r)&&(r.setFocus(e),t||(this.value=r.value,this.emitValueChange(e))),[" "].includes(e.key)){const t=this.value;this.value=this.allowEmptySelection&&void 0!==this.value?void 0:o.value,(t!==this.value||this.allowEmptySelection)&&this.emitValueChange(e),e.preventDefault()}if("Enter"===e.key&&t&&!e.repeat){const t=this.value;this.value=o.value,t!==this.value&&this.emitValueChange(e),e.preventDefault()}}}async setFocus(){const e=this.getRadios().find(e=>-1!==e.tabIndex);null==e||e.setFocus()}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;if(e||t)return Ql("div",{class:"radio-group-top"},Ql("div",{id:n,class:"helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",role:"alert"},o?t:null))}getHintTextId(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return o&&t?i:e?n:void 0}render(){const{label:e,labelId:t,el:n,name:i,value:o}=this,r=tu(this);return Sd(0,n,i,o,!1),Ql(tc,{key:"377e4aa3a656cc84b742f9d7a7d4be65d20c69f5",role:"radiogroup","aria-labelledby":e?t:null,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,onClick:this.onClick,class:r},this.renderHintText(),Ql("slot",{key:"c3187a2497773b4f15cea3b413b036502bcec8c0"}))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return{ios:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}",md:"ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}"}}},[292,"ion-radio-group",{allowEmptySelection:[4,"allow-empty-selection"],compareWith:[1,"compare-with"],name:[1],value:[1032],helperText:[1,"helper-text"],errorText:[1,"error-text"],isInvalid:[32],hintTextId:[32],setFocus:[64]},[[4,"keydown","onKeydown"]],{value:[{valueChanged:0}]}]);let Qb=0;
2function ev(){"undefined"!=typeof customElements&&["ion-radio-group"].forEach(e=>{"ion-radio-group"===e&&(customElements.get(e)||customElements.define(e,Zb))})}const tv=ev;sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionInput=bc(this,"ionInput",7),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.ionKnobMoveStart=bc(this,"ionKnobMoveStart",7),this.ionKnobMoveEnd=bc(this,"ionKnobMoveEnd",7),this.rangeId="ion-r-"+av++,this.didLoad=!1,this.noUpdate=!1,this.hasFocus=!1,this.inheritedAttributes={},this.contentEl=null,this.initialContentScrollY=!0,this.focusFromPointer=!1,this.ratioA=0,this.ratioB=0,this.name=this.rangeId,this.dualKnobs=!1,this.min=0,this.max=100,this.pin=!1,this.pinFormatter=e=>Math.round(e),this.snaps=!1,this.step=1,this.ticks=!0,this.disabled=!1,this.value=0,this.compareValues=(e,t)=>"object"==typeof e&&"object"==typeof t?e.lower!==t.lower||e.upper!==t.upper:e!==t,this.clampBounds=e=>Cd(this.min,e,this.max),this.ensureValueInBounds=e=>this.dualKnobs?{lower:this.clampBounds(e.lower),upper:this.clampBounds(e.upper)}:this.clampBounds(e),this.labelPlacement="start",this.setupGesture=async()=>{const e=this.rangeSlider;e&&(this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:e,gestureName:"range",gesturePriority:100,threshold:10,onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.gesture.enable(!this.disabled))},this.setupActivatedObserver=()=>{const e=this.el.shadowRoot.querySelector(".range-knob-handle-a"),t=this.el.shadowRoot.querySelector(".range-knob-handle-b"),n=()=>{this.activatedKnob=(null==e?void 0:e.classList.contains("ion-activated"))?"A":(null==t?void 0:t.classList.contains("ion-activated"))?"B":void 0};"undefined"!=typeof MutationObserver&&(this.activatedObserver=new MutationObserver(n),this.activatedObserver.observe(this.el.shadowRoot,{attributes:!0,attributeFilter:["class"],subtree:!0})),n()},this.handleKeyboard=(e,t)=>{const{ensureValueInBounds:n}=this;let i=this.step;i=i>0?i:1,i/=this.max-this.min,t||(i*=-1),"A"===e?this.ratioA=Cd(0,this.ratioA+i,
21):this.ratioB=Cd(0,this.ratioB+i,1),this.ionKnobMoveStart.emit({value:n(this.value)}),this.updateValue(),this.emitValueChange(),this.ionKnobMoveEnd.emit({value:n(this.value)})},this.onBlur=()=>{this.hasFocus&&(this.hasFocus=!1,this.focusedKnob=void 0,this.ionBlur.emit())},this.onFocus=()=>{this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit())},this.onKnobFocus=e=>{this.focusFromPointer?(this.focusFromPointer=!1,this.focusedKnob=void 0):this.focusedKnob=e,this.hasFocus||(this.hasFocus=!0,this.ionFocus.emit())},this.onKnobBlur=()=>{setTimeout(()=>{var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.activeElement;t&&t.classList.contains("range-knob-handle")||this.hasFocus&&(this.hasFocus=!1,this.focusedKnob=void 0,this.ionBlur.emit())},0)},this.onKnobMouseEnter=e=>{this.hoveredKnob=e},this.onKnobMouseLeave=()=>{this.hoveredKnob=void 0}}debounceChanged(){const{ionInput:e,debounce:t,originalIonInput:n}=this;this.ionInput=void 0===t?null!=n?n:e:Pd(e,t)}minChanged(e){Ld(e)||(this.min=0),this.noUpdate||this.updateRatio()}maxChanged(e){Ld(e)||(this.max=100),this.noUpdate||this.updateRatio()}stepChanged(e){Ld(e)||(this.step=1)}activeBarStartChanged(){const{activeBarStart:e}=this;void 0!==e&&(e>this.max?(Ms("[ion-range] - The value of activeBarStart (".concat(e,") is greater than the max (").concat(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):e<this.min&&(Ms("[ion-range] - The value of activeBarStart (".concat(e,") is less than the min (").concat(this.min,"). 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.min))}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}valueChanged(e,t){this.compareValues(e,t)&&this.ionInput.emit({value:this.value}),this.noUpdate||this.updateRatio()}componentWillLoad(){this.el.hasAttribute("id")&&(this.rangeId=this.el.getAttribute("id")),this.inheritedAttributes=yd(this.el),this.min=Ld(this.min)?this.min:0,this.max=Ld(this.max)?this.max:100,this.step=Ld(this.step)?this.step:1}componentDidLoad(){this.originalIonInput=this.ionInput,this.setupGesture(),this.updateRatio(),this.setupActivatedObserver(),this.didLoad=!0}connectedCallback(){var e;this.updateRatio(),this.debounceChanged(),this.disabledChanged(),this.activeBarStartChanged(),this.didLoad&&(this.setupGesture(),this.setupActivatedObserver());const t=Uf(this.el);this.contentEl=null!==(e=null==t?void 0:t.querySelector(".ion-content-scroll-host"))&&void 0!==e?e:t}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.activatedObserver&&(this.activatedObserver.disconnect(),this.activatedObserver=void 0)}getValue(){var e;const t=null!==(e=this.value)&&void 0!==e?e:0;return this.dualKnobs?"object"==typeof t?t:{lower:0,upper:t}:"object"==typeof t?t.upper:t}emitValueChange(){this.value=this.ensureValueInBounds(this.value),this.ionChange.emit({value:this.value})}onStart(){this.ionKnobMoveStart.emit({value:this.ensureValueInBounds(this.value)})}onMove(e){const{contentEl:t,pressedKnob:n}=this,i=e.currentX;t&&void 0===this.pressedKnob&&(this.initialContentScrollY=Wf(t)),void 0===n&&this.setPressedKnob(i),this.update(i)}onEnd(e){var t;const{contentEl:n,initialContentScrollY:i}=this,o=null!==(t=e.currentX)&&void 0!==t?t:e.clientX;void 0===this.pressedKnob&&this.setPressedKnob(o),n&&void 0!==this.pressedKnob&&Gf(n,i),this.update(o),this.pressedKnob=void 0,this.emitValueChange(),this.ionKnobMoveEnd.emit({value:this.ensureValueInBounds(this.value)})}update(e){const t=this.rect;let n=Cd(0,(e-t.left)/t.width,1);rp(this.el)&&(n=1-n),this.snaps&&(n=rv(ov(n,this.min,this.max,this.step),this.min,this.max)),"A"===this.pressedKnob?this.ratioA=n:this.ratioB=n,this.updateValue()}setPressedKnob(e){const t=this.rect=this.rangeSlider.getBoundingClientRect();let n=Cd(0,(e-t.left)/t.width,1);rp(this.el)&&(n=1-n),this.pressedKnob=!this.dualKnobs||Math.abs(this.ratioA-n)<Math.abs(this.ratioB-n)?"A":"B"}get valA(){return ov(this.ratioA,this.min,this.max,this.step)}get valB(){return ov(this.ratioB,this.min,this.max,this.step)}get ratioLower(){if(this.dualKnobs)return Math.min(this.ratioA,this.ratioB);const{activeBarStart:e}=this;return null==e?0:rv(e,this.min,this.max)}get ratioUpper(){return this.dualKnobs?Math.max(this.ratioA,this.ratioB):this.ratioA}updateRatio(){const e=this.getValue(),{min:t,max:n}=this;if(this.dualKnobs){const i=rv(e.lower,t,n),o=rv(e.upper,t,n);Math.abs(this.ratioA-i)+Math.abs(this.ratioB-o)<=Math.abs(this.ratioA-o)+Math.abs(this.ratioB-i)?(this.ratioA=i,this.ratioB=o):(this.ratioA=o,this.ratioB=i)}else this.ratioA=rv(e,t,n)}updateValue(){this.noUpdate=!0;const{valA:e,valB:t}=this;this.value=this.dualKnobs?{lower:Math.min(e,t),upper:Math.max(e,t)}:e,this.noUpdate=!1}get hasStartSlotContent(){return null!==this.el.querySelector('[slot="start"]')}get hasEndSlotContent(){return null!==this.el.querySelector('[slot="end"]')}get hasLabel(){return void 0!==this.label||null!==this.el.querySelector('[slot="label"]')}renderRangeSlider(){var e;const{min:t,max:n,step:i,handleKeyboard:o,activatedKnob:r,focusedKnob:a,hoveredKnob:s,pressedKnob:l,disabled:c,pin:d,ratioLower:u,ratioUpper:p,pinFormatter:h,inheritedAttributes:m}=this;let f=100*u+"%",g=100-100*p+"%";const b=rp(this.el),v=b?"right":"left",y=b?"left":"right",w=e=>({[v]:e[v]});!1===this.dualKnobs&&(this.valA<(null!==(e=this.activeBarStart)&&void 0!==e?e:this.min)?(f=100*p+"%",g=100-100*u+"%"):(f=100*u+"%",g=100-100*p+"%"));const x={[v]:f,[y]:g},k=[];if(this.snaps&&this.ticks)for(let _=t;_<=n;_+=i){const e=rv(_,t,n),i={ratio:e,active:e>=Math.min(u,p)&&e<=Math.max(u,p)};i[v]=100*e+"%",k.push(i)}return Ql("div",{class:"range-slider",ref:e=>this.rangeSlider=e,onPointerDown:()=>{this.focusFromPointer=!0},onPointerUp:e=>{this.focusFromPointer=!1,void 0===this.pressedKnob&&(this.onStart(),this.onEnd(e))}},k.map(e=>Ql("div",{style:w(e),role:"presentation",class:{"range-tick":!0,"range-tick-active":e.active},part:e.active?"tick-active":"tick"})),Ql("div",{class:"range-bar-container"},Ql("div",{class:"range-bar",role:"presentation",part:"bar"}),Ql("div",{class:{"range-bar":!0,"range-bar-active":!0,"has-ticks":k.length>0},role:"presentation",style:x,part:"bar-active"})),nv(b,{knob:"A",position:iv("A",this.ratioA,this.ratioB,this.dualKnobs),dualKnobs:this.dualKnobs,activated:"A"===r,focused:"A"===a,hovered:"A"===s,pressed:"A"===l,value:this.valA,ratio:this.ratioA,pin:d,pinFormatter:h,disabled:c,handleKeyboard:o,min:t,max:n,inheritedAttributes:m,onKnobFocus:this.onKnobFocus,onKnobBlur:this.onKnobBlur,onKnobMouseEnter:this.onKnobMouseEnter,onKnobMouseLeave:this.onKnobMouseLeave}),this.dualKnobs&&nv(b,{knob:"B",position:iv("B",this.ratioA,this.ratioB,this.dualKnobs),dualKnobs:this.dualKnobs,activated:"B"===r,focused:"B"===a,hovered:"B"===s,pressed:"B"===l,value:this.valB,ratio:this.ratioB,pin:d,pinFormatter:h,disabled:c,handleKeyboard:o,min:t,max:n,inheritedAttributes:m,onKnobFocus:this.onKnobFocus,onKnobBlur:this.onKnobBlur,onKnobMouseEnter:this.onKnobMouseEnter,onKnobMouseLeave:this.onKnobMouseLeave}))}render(){const{disabled:e,el:t,hasLabel:n,rangeId:i,pin:o,pressedKnob:r,labelPlacement:a,label:s,dualKnobs:l,min:c,max:d}=this,u=Tu("ion-item",t),p=u&&!(n&&("start"===a||"fixed"===a)||this.hasStartSlotContent),h=u&&!(n&&"end"===a||this.hasEndSlotContent),m=tu(this),f=l?null==r?void 0:r.toLowerCase():void 0,g=l&&r?iv(r,this.ratioA,this.ratioB,l):void 0,b=l?this.valA===c||this.valB===c:this.valA===c,v=l?this.valA===d||this.valB===d:this.valA===d;return Sd(0,t,this.name,JSON.stringify(this.getValue()),e),Ql(tc,{key:"f8063d1234fb113fe55
2a7902845dd4b4da8b1edb",onFocusin:this.onFocus,onFocusout:this.onBlur,id:i,class:Iu(this.color,{[m]:!0,"in-item":u,"range-disabled":e,"range-dual-knobs":l,"range-pressed":void 0!==r,["range-pressed-"+f]:void 0!==r&&void 0!==f,["range-pressed-"+g]:void 0!==r&&void 0!==g,"range-has-pin":o,["range-label-placement-"+a]:!0,"range-item-start-adjustment":p,"range-item-end-adjustment":h,"range-value-min":b,"range-value-max":v})},Ql("label",{key:"beead65ab01e3b18e4be59c0ee8ac6ebf32aad7c",class:"range-wrapper",id:"range-label"},Ql("div",{key:"03633c689d9d2e4c50a2131bcd560329df49e314",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!n},part:"label"},void 0!==s?Ql("div",{class:"label-text"},s):Ql("slot",{name:"label"})),Ql("div",{key:"c066804263ab6ae7393f8dcc51184b7198844ffa",class:"native-wrapper"},Ql("slot",{key:"7e8ea224d72b3e965dd948bee7e45c1a096b6899",name:"start"}),this.renderRangeSlider(),Ql("slot",{key:"21f242f6f60ff3adce6a2d90b2d4dac1ceaf6624",name:"end"}))))}get el(){return this}static get watchers(){return{debounce:[{debounceChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}],activeBarStart:[{activeBarStartChanged:0}],disabled:[{disabledChanged:0}],value:[{valueChanged:0}]}}static get style(){return
vendor: 17,684 bytes, line 2
2{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}.range-knob-handle{inset-inline-start: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)}.range-bar-container{inset-inline-start: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}.range-knob{inset-inline-start: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, var(--ion-background-color-step-900, #e6e6e6));--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:2px;--height:42px}: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, var(--ion-background-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}.range-knob-handle{inset-inline-start: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)}.range-bar-container{inset-inline-start: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}.range-knob{inset-inline-start: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, 0, 84, 233), 0.26);--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #0054e9);--pin-color:var(--ion-color-primary-contrast, #fff)}::slotted(:not(ion-icon)[slot=start]),::slotted(:not(ion-icon)[slot=end]),.native-wrapper{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}.range-knob::before{inset-inline-start: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}.range-pin::before{inset-inline-start: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, var(--ion-background-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, var(--ion-background-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}'}
2}},[289,"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"],ratioA:[32],ratioB:[32],activatedKnob:[32],focusedKnob:[32],hoveredKnob:[32],pressedKnob:[32]},void 0,{debounce:[{debounceChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}],activeBarStart:[{activeBarStartChanged:0}],disabled:[{disabledChanged:0}],value:[{valueChanged:0}]}]);const nv=(e,{knob:t,position:n,dualKnobs:i,value:o,ratio:r,min:a,max:s,disabled:l,activated:c,focused:d,hovered:u,pressed:p,pin:h,handleKeyboard:m,pinFormatter:f,inheritedAttributes:g,onKnobFocus:b,onKnobBlur:v,onKnobMouseEnter:y,onKnobMouseLeave:w})=>{const x=e?"right":"left",k=g["aria-label"];return Ql("div",{onKeyDown:e=>{const n=e.key;"ArrowLeft"===n||"ArrowDown"===n?(m(t,!1),e.preventDefault(),e.stopPropagation()):"ArrowRight"!==n&&"ArrowUp"!==n||(m(t,!0),e.preventDefault(),e.stopPropagation())},onFocus:()=>b(t),onBlur:v,onMouseEnter:()=>y(t),onMouseLeave:w,class:{"range-knob-handle":!0,"range-knob-handle-a":"A"===t,"range-knob-handle-b":"B"===t,"range-knob-pressed":p,"range-knob-min":o===a,"range-knob-max":o===s,"ion-activatable":!0,"ion-focusable":!0,"ion-focused":d},part:["knob-handle",i&&"A"===t&&"knob-handle-a",i&&"B"===t&&"knob-handle-b",i&&"lower"===n&&"knob-handle-lower",i&&"upper"===n&&"knob-handle-upper",p&&"pressed",d&&"focu
2sed",u&&"hover",c&&"activated"].filter(Boolean).join(" "),style:(()=>{const e={};return e[x]=100*r+"%",e})(),role:"slider",tabindex:l?-1:0,"aria-label":void 0!==k?k:null,"aria-labelledby":void 0===k?"range-label":null,"aria-valuemin":a,"aria-valuemax":s,"aria-disabled":l?"true":null,"aria-valuenow":o},h&&Ql("div",{class:"range-pin",role:"presentation",part:["pin",i&&"A"===t&&"pin-a",i&&"B"===t&&"pin-b",i&&"lower"===n&&"pin-lower",i&&"upper"===n&&"pin-upper",p&&"pressed",d&&"focused",u&&"hover",c&&"activated"].filter(Boolean).join(" ")},f(o)),Ql("div",{class:"range-knob",role:"presentation",part:["knob",i&&"A"===t&&"knob-a",i&&"B"===t&&"knob-b",i&&"lower"===n&&"knob-lower",i&&"upper"===n&&"knob-upper",p&&"pressed",d&&"focused",u&&"hover",c&&"activated"].filter(Boolean).join(" ")}))},iv=(e,t,n,i)=>i?t===n?"A"===e?"lower":"upper":"A"===e?t<n?"lower":"upper":n<t?"lower":"upper":"lower",ov=(e,t,n,i)=>{let o=(n-t)*e;return i>0&&(o=Math.round(o/i)*i+t),function(e,...t){if(!Ld(e))return 0;const n=Math.max(...t.map(e=>{return Ld(t=e)?t%1==0?0:(""+t).split(".")[1].length:0;var t}));return Number(e.toFixed(n))}(Cd(t,o,n),t,n,i)},rv=(e,t,n)=>Cd(0,(e-t)/(n-t),1);let av=0;const sv=e=>{const t=e.querySelector("ion-spinner"),n=t.shadowRoot.querySelector("circle"),i=e.querySelector(".spinner-arrow-container"),o=e.querySelector(".arrow-container"),r=o?o.querySelector("ion-icon"):null,a=Vm().duration(1e3).easing("ease-out"),s=Vm().addElement(i).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),l=Vm().addElement(n).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),c=Vm().addElement(t).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(o&&r){const e=Vm().addElement(o).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),t=Vm().addElement(r).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)"}]);a.addAnimation([e,t])}return a.addAnimation([s,l,c])},lv=(e,t)=>{const n=t.clientHeight,i=Vm().addElement(e).keyframes([{offset:0,transform:"scale(0) translateY(-".concat(n,"px)")},{offset:1,transform:"scale(1) translateY(100px)"}]);return sv(e).addAnimation([i])},cv=(e,t)=>{const n=t.clientHeight,i=Vm().addElement(e).keyframes([{offset:0,transform:"translateY(-".concat(n,"px)")},{offset:1,transform:"translateY(100px)"}]);return sv(e).addAnimation([i])},dv=(e,t,n=200)=>{if(!e)return Promise.resolve();const i=hd(e,n);return gl(()=>{e.style.setProperty("transition","".concat(n,"ms all ease-out")),void 0===t?e.style.removeProperty("transform"):e.style.setProperty("transform","translate3d(0px, ".concat(t,", 0px)"))}),i},uv=()=>navigator.maxTouchPoints>0&&CSS.supports("background: -webkit-named-image(apple-pay-logo-black)"),pv=async(e,t)=>{const n=e.querySelector("ion-refresher-content");if(!n)return Promise.resolve(!1);await new Promise(e=>fd(n,e));const i=e.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),o=e.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==i&&null!==o&&("ios"===t&&uv()||"md"===t)},hv=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionRefresh=bc(this,"ionRefresh",7),this.ionPull=bc(this,"ionPull",7),this.ionStart=bc(this,"ionStart",7),this.ionPullStart=bc(this,"ionPullStart",7),this.ionPullEnd=bc(this,"ionPullEnd",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.contentFullscreen=!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)}async checkNativeRefresher(){const e=await pv(this.el,tu(this));if(e&&!this.nativeRefresher){const e=this.el.closest("ion-content");this.setupNativeRefresher(e)}else e||this.destroyNativeRefresher()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}async resetNativeRefresher(e,t){this.state=t,"ios"===tu(this)?await dv(e,void 0,300):await hd(this.el.querySelector(".refresher-refreshing-icon"),200),this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach(e
2=>e.destroy()),this.animations=[],this.progress=0,this.state=1,this.ionPullEnd.emit({reason:32===t?"complete":"cancel"})}async setupiOSNativeRefresher(e,t){this.elementToTransform=this.scrollEl;const n=e.shadowRoot.querySelectorAll("svg");let i=.16*this.scrollEl.clientHeight;const r=n.length;gl(()=>n.forEach(e=>e.style.setProperty("animation","none"))),this.scrollListenerCallback=()=>{(this.pointerDown||1!==this.state)&&fl(()=>{const e=this.scrollEl.scrollTop,o=this.el.clientHeight;if(e>0){if(8===this.state){const n=Cd(0,e/(.5*o),1);return void gl(()=>((e,t)=>{e.style.setProperty("opacity",t.toString())})(t,1-n))}return}this.pointerDown&&(this.didStart||(this.didStart=!0,this.ionStart.emit(),this.ionPullStart.emit()),this.pointerDown&&this.ionPull.emit());const a=this.didStart?30:0,s=this.progress=Cd(0,(Math.abs(e)-a)/i,1);if(8===this.state||1===s){if(this.pointerDown&&((e,t)=>{gl(()=>{e.style.setProperty("--refreshing-rotation-duration",t>=1?"0.5s":"2s"),e.style.setProperty("opacity","1")})})(t,this.lastVelocityY),!this.didRefresh){this.beginRefresh(),this.didRefresh=!0,(e=>{tm()&&em.impact(e)})({style:Zh.Light});const e=document.activeElement;void 0!==(null==e?void 0:e.blur)&&e.blur(),this.pointerDown||dv(this.elementToTransform,o+"px")}}else this.state=2,((e,t,n)=>{gl(()=>{e.forEach((e,i)=>{const o=i*(1/t),r=Cd(0,(n-o)/(1-o),1);e.style.setProperty("opacity",r.toString())})})})(n,r,s)})},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{this.pointerDown=!0,this.didRefresh||dv(this.elementToTransform,"0px"),0===i&&(i=.16*this.scrollEl.clientHeight)},onMove:e=>{this.lastVelocityY=e.velocityY},onEnd:()=>{const e=this.didStart;this.pointerDown=!1,this.didStart=!1,this.needsCompletion?(this.resetNativeRefresher(this.elementToTransform,32),this.needsCompletion=!1):this.didRefresh?fl(()=>dv(this.elementToTransform,this.el.clientHeight+"px")):e&&this.ionPullEnd.emit({reason:"cancel"})}}),this.disabledChanged()}async setupMDNativeRefresher(e,t,n){const i=kd(t).querySelector("circle"),r=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),a=kd(n).querySelector("circle");null!==i&&null!==a&&gl(()=>{i.style.setProperty("animation","none"),n.style.setProperty("animation-delay","-655ms"),a.style.setProperty("animation-delay","-655ms")}),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==this.state&&32!==this.state&&0===this.scrollEl.scrollTop,onStart:e=>{this.progress=0,e.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:t=>{if(t.velocityY<0&&0===this.progress&&!t.data.didStart||t.data.cancelled)t.data.cancelled=!0;else{if(!t.data.didStart){t.data.didStart=!0,this.state=2;const{scrollEl:n}=this,i=n.matches(zf)?"overflow":"--overflow";gl(()=>n.style.setProperty(i,"hidden"));const o=(e=>{const t=e.previousElementSibling;return null!==t&&"ION-HEADER"===t.tagName?"translate":"scale"})(e),a=((e,t,n)=>"scale"===e?lv(t,n):cv(t,n))(o,r,this.el);return t.data.animation=a,a.progressStart(!1,0),this.ionStart.emit(),this.ionPullStart.emit(),void this.animations.push(a)}this.progress=Cd(0,t.deltaY/180*.5,1),t.data.animation.progressStep(this.progress),this.ionPull.emit()}},onEnd:e=>{if(!e.data.didStart)return;this.gesture.enable(!1);const{scrollEl:t}=this,n=t.matches(zf)?"overflow":"--overflow";if(gl(()=>t.style.removeProperty(n)),this.progress<=.4)return void e.data.animation.progressEnd(0,this.progress,500).onFinish(()=>{this.animations.forEach(e=>e.destroy()),this.animations=[],this.gesture.enable(!0),this.state=1,this.ionPullEnd.emit({reason:"cancel"})});const i=gb([0,0],[0,0],[1,1],[1,1],this.progress)[0],o=(e=>Vm().duration(125).addElement(e).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"))(r);this.animations.push(o),gl(async()=>{r.style.setProperty("--ion-pulling-refresher-translate",100*i+"px"),e.data.animation.progressEnd(),await o.play(),this.beginRefresh(),e.data.animation.destroy(),this.gesture.enable(!0)})}}),this.disabledChanged()}async setupNativeRefresher(e){if(this.scrollListenerCallback||!e||this.nativeRefresher||!this.scrollEl)return;this.setCss(0,"",!1,""),this.nativeRefresher=!0;const t=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),n=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===tu(this)?this.setupiOSNativeRefresher(t,n):this.setupMDNativeRefresher(e,t,n)}componentDidUpdate(){this.checkNativeRefresher()}async connectedCallback(){if("fixed"!==this.el.getAttribute("slot"))return void zs();const e=this.el.closest(Mf);e?fd(e,async()=>{const t=e.querySelector(zf);this.scrollEl=await Ff(null!=t?t:e),this.backgroundContentEl=await e.getBackgroun
2dElement(),this.contentFullscreen=e.fullscreen,await pv(this.el,tu(this))?this.setupNativeRefresher(e):(this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:e,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>this.canStart(),onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:()=>this.onEnd()}),this.disabledChanged())}):this.el}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async complete(){this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||_d(()=>_d(()=>this.resetNativeRefresher(this.elementToTransform,32)))):this.close(32,"120ms")}async cancel(){this.nativeRefresher?this.pointerDown||_d(()=>_d(()=>this.resetNativeRefresher(this.elementToTransform,16))):this.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(),this.contentFullscreen&&this.backgroundContentEl&&this.backgroundContentEl.style.setProperty("--offset-top","0px")}onMove(e){if(!this.scrollEl)return;const t=e.event;if(void 0!==t.touches&&t.touches.length>1)return;if(56&this.state)return;const n=e.deltaY*(Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor);if(n<=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(n,"0ms",!0,""),0===n)return void(this.progress=0);const i=this.pullMin;this.progress=n/i,this.didStart||(this.didStart=!0,this.ionStart.emit(),this.ionPullStart.emit()),this.ionPull.emit(),n<i?this.state=2:n>this.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state?this.cancel():1===this.state&&(this.restoreOverflowStyle(),this.didStart&&(this.didStart=!1,this.ionPullEnd.emit({reason:"cancel"})))}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,"");const e=document.activeElement;void 0!==(null==e?void 0:e.blur)&&e.blur(),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(e,t){setTimeout(()=>{var t;this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"",!0),this.contentFullscreen&&this.backgroundContentEl&&(null===(t=this.backgroundContentEl)||void 0===t||t.style.removeProperty("--offset-top")),this.ionPullEnd.emit({reason:32===e?"complete":"cancel"})},600),this.state=e,this.setCss(0,this.closeDuration,!0,t)}setCss(e,t,n,i,o=!1){this.nativeRefresher||(this.appliedStyles=e>0,gl(()=>{if(this.scrollEl&&this.backgroundContentEl){const o=this.scrollEl.style,r=this.backgroundContentEl.style;o.transform=r.transform=e>0?"translateY(".concat(e,"px) translateZ(0px)"):"",o.transitionDuration=r.transitionDuration=t,o.transitionDelay=r.transitionDelay=i,o.overflow=n?"hidden":""}o&&this.restoreOverflowStyle()}))}memoizeOverflowStyle(){if(this.scrollEl){const{overflow:e,overflowX:t,overflowY:n}=this.scrollEl.style;this.overflowStyles={overflow:null!=e?e:"",overflowX:null!=t?t:"",overflowY:null!=n?n:""}}}restoreOverflowStyle(){if(void 0!==this.overflowStyles&&void 0!==this.scrollEl){const{overflow:e,overflowX:t,overflowY:n}=this.overflowStyles;this.scrollEl.style.overflow=e,this.scrollEl.style.overflowX=t,this.scrollEl.style.overflowY=n,this.overflowStyles=void 0}}render(){const e=tu(this);return Ql(tc,{key:"80fa313b0d77161680836bdd6aa334d02c549b41",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 this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return
vendor: 10,057 bytes, line 2
2{ios:"ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start: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, var(--ion-background-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}ion-refresher{inset-inline-start: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, #0054e9)}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, #0054e9);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, var(--ion-background-color-step-200, #ececec));background:var(--ion-color-step-250, var(--ion-background-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)}"}
2}},[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]},void 0,{disabled:[{disabledChanged:0}]}]),mv=function(){"undefined"!=typeof customElements&&["ion-refresher"].forEach(e=>{"ion-refresher"===e&&(customElements.get(e)||customElements.define(e,hv))})},fv=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.customHTMLEnabled=Ps.get("innerHTMLTemplatesEnabled",Tg)}componentWillLoad(){if(void 0===this.pullingIcon){const e=uv(),t=tu(this);this.pullingIcon=Ps.get("refreshingIcon","ios"===t&&e?Ps.get("spinner",e?"lines":"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 268 144 144 144-144M256 392V100' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>"):"circular")}if(void 0===this.refreshingSpinner){const e=tu(this);this.refreshingSpinner=Ps.get("refreshingSpinner",Ps.get("spinner","ios"===e?"lines":"circular"))}}renderPullingText(){const{customHTMLEnabled:e,pullingText:t}=this;return e?Ql("div",{class:"refresher-pulling-text",innerHTML:wg(t)}):Ql("div",{class:"refresher-pulling-text"},t)}renderRefreshingText(){const{customHTMLEnabled:e,refreshingText:t}=this;return e?Ql("div",{class:"refresher-refreshing-text",innerHTML:wg(t)}):Ql("div",{class:"refresher-refreshing-text"},t)}render(){const e=this.pullingIcon,t=null!=e&&void 0!==Ig[e],n=tu(this);return Ql(tc,{key:"4add42b9fdfded359d1b054d04c2c6ff48e028c8",class:n},Ql("div",{key:"45d4e4e0adfed7f96dd1849767aa2cde947de044",class:"refresher-pulling"},this.pullingIcon&&t&&Ql("div",{key:"6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0",class:"refresher-pulling-icon"},Ql("div",{key:"852d20414da53352c8e58bc627e0fda38eff97cb",class:"spinner-arrow-container"},Ql("ion-spinner",{key:"0dde3578a80cc4b77a07c4d1db1af80c7eb10c27",name:this.pullingIcon,paused:!0}),"md"===n&&"circular"===this.pullingIcon&&Ql("div",{key:"c71dbfcf416a19c30fed38f722ebf0358c2181dd",class:"arrow-container"}
2,Ql("ion-icon",{key:"fa7c2cf624e7a9c41964e66cabc88c594da6d1fd",icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M368 64 144 256l224 192z'/></svg>","aria-hidden":"true"})))),this.pullingIcon&&!t&&Ql("div",{key:"3dd68c9968b421c379d1c4349ba619ee0a189c6d",class:"refresher-pulling-icon"},Ql("ion-icon",{key:"f83bceceae4fa8245f91939fb6db589a595e975b",icon:this.pullingIcon,lazy:!1,"aria-hidden":"true"})),void 0!==this.pullingText&&this.renderPullingText()),Ql("div",{key:"98e22ceb0f7883e871f815f6199f5cb313e2e086",class:"refresher-refreshing"},this.refreshingSpinner&&Ql("div",{key:"faabe8a9b61c02a00994ef978bb82b9ba4537214",class:"refresher-refreshing-icon"},Ql("ion-spinner",{key:"029a0c073ee1a07f01211e12ba2abc985cf21ed7",name:this.refreshingSpinner})),void 0!==this.refreshingText&&this.renderRefreshingText()))}get el(){return this}},[0,"ion-refresher-content",{pullingIcon:[1025,"pulling-icon"],pullingText:[1,"pulling-text"],refreshingSpinner:[1025,"refreshing-spinner"],refreshingText:[1,"refreshing-text"]}]),gv=function(){"undefined"!=typeof customElements&&["ion-refresher-content","ion-icon","ion-spinner"].forEach(e=>{switch(e){case"ion-refresher-content":customElements.get(e)||customElements.define(e,fv);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-spinner":customElements.get(e)||Rg()}})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}onClick(e){const t=this.el.closest("ion-reorder-group");e.preventDefault(),t&&t.disabled||e.stopImmediatePropagation()}render(){const e=tu(this);return Ql(tc,{key:"b869db61ca6393cf1476f2111a66b387b567c6d1",class:e},Ql("slot",{key:"a78edd1776835282b8b5c841377018f36c83296c"},Ql("ion-icon",{key:"7fb067c47bbb9a7258e5063f028282cc097d0f94",icon:"ios"===e?"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M96 256h320M96 176h320M96 336h320' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>":"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M118 304h276M118 208h276' stroke-linecap='square' stroke-linejoin='round' stroke-width='44px' class='ionicon-fill-none'/></svg>",lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return this}static get style(){return{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}"}}},[289,"ion-reorder",void 0,[[2,"click","onClick"]]]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionItemReorder=bc(this,"ionItemReorder",7),this.ionReorderStart=bc(this,"ionReorderStart",7),this.ionReorderMove=bc(this,"ionReorderMove",7),this.ionReorderEnd=bc(this,"ionReorderEnd",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)}async connectedCallback(){const e=Uf(this.el);e&&(this.scrollEl=await Ff(e)),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:this.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:e=>this.canStart(e),onStart:e=>this.onStart(e),onMove:e=>this.onMove(e),onEnd:()=>this.onEnd()}),this.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 t=e.event.target.closest("ion-reorder");if(!t)return!1;const n=vv(t,this.el);return!!n&&(e.data=n,!0)}onStart(e){e.event.preventDefault();const t=this.selectedItemEl=e.data,n=this.cachedHeights;n.length=0;const i=this.el,o=i.__children||i.children;if(!o||0===o.length)return;let r=0;for(let s=0;s<o.length;s++){const e=o[s];r+=e.offsetHeight,n.push(r),e.$ionIndex=s}const a=i.getBoundingClientRect();if(this.containerTop=a.top,this.containerBottom=a.bottom,this.scrollEl){const e=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop,this.scrollElTop=e.top+yv,this.scrollElBottom=e.bottom-yv}else this.scrollElInitial=0,this.scrollElTop=0,this.scrollElBottom=0;this.lastToIndex=bv(t),this.selectedItemHeight=t.offsetHeight,this.state=1,t.classList.add(xv),im(),this.ionReorderStart.emit()}onMove(e){const t=this.selectedItemEl;if(!t)return;const n=this.autoscroll(e.currentY),i=this.containerTop-n,o=Math.max(i,Math.min(e.currentY,this.containerBottom-n)),r
2=n+o-e.startY,a=this.lastToIndex,s=this.itemIndexForTop(o-i);if(s!==this.lastToIndex){const e=bv(t);this.lastToIndex=s,om(),this.reorderMove(e,s)}t.style.transform="translateY(".concat(r,"px)"),this.ionReorderMove.emit({from:a,to:s})}onEnd(){const e=this.selectedItemEl;if(this.state=2,!e)return void(this.state=0);const t=this.lastToIndex,n=bv(e);t===n?this.completeReorder():this.ionItemReorder.emit({from:n,to:t,complete:this.completeReorder.bind(this)}),rm(),this.ionReorderEnd.emit({from:n,to:t,complete:this.completeReorder.bind(this)})}completeReorder(e){const t=this.selectedItemEl;if(t&&2===this.state){const n=this.el.__children||this.el.children,i=n.length,o=this.lastToIndex,r=bv(t);_d(()=>{o===r||void 0!==e&&!0!==e||this.el.insertBefore(t,r<o?n[o+1]:n[o]);for(let e=0;e<i;e++)n[e].style.transform=""}),Array.isArray(e)&&(e=kv(e,r,o)),t.style.transition="",t.classList.remove(xv),this.selectedItemEl=void 0,this.state=0}return e}itemIndexForTop(e){const t=this.cachedHeights;for(let n=0;n<t.length;n++)if(t[n]>e)return n;return t.length-1}reorderMove(e,t){const n=this.selectedItemHeight,i=this.el.__children||this.el.children;for(let o=0;o<i.length;o++){let r="";o>e&&o<=t?r="translateY(".concat(-n,"px)"):o<e&&o>=t&&(r="translateY(".concat(n,"px)")),i[o].style.transform=r}}autoscroll(e){if(!this.scrollEl)return 0;let t=0;return e<this.scrollElTop?t=-wv:e>this.scrollElBottom&&(t=wv),0!==t&&this.scrollEl.scrollBy(0,t),this.scrollEl.scrollTop-this.scrollElInitial}render(){const e=tu(this);return Ql(tc,{key:"9527bbdedaab63d31f562c874a7332ea60c4b47b",class:{[e]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return".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)}"}},[0,"ion-reorder-group",{disabled:[4],state:[32],complete:[64]},void 0,{disabled:[{disabledChanged:0}]}]);const bv=e=>e.$ionIndex,vv=(e,t)=>{let n;for(;e;){if(n=e.parentElement,n===t)return e;e=n}},yv=60,wv=10,xv="reorder-selected",kv=(e,t,n)=>{const i=e[t];return e.splice(t,1),e.splice(n,0,i),e.slice()},_v=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return Ql(tc,{key:"8ba906a8cbea060a79ed658c9bf34906f0c11d38",class:tu(this)},Ql("slot",{key:"d1009176f45b588fa52c7d9eb336f3c6d3214bb8"}))}static get style(){return":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}"}},[257,"ion-row"]),Ev=function(){"undefined"!=typeof customElements&&["ion-row"].forEach(e=>{"ion-row"===e&&(customElements.get(e)||customElements.define(e,_v))})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionInput=bc(this,"ionInput",7),this.ionChange=bc(this,"ionChange",7),this.ionCancel=bc(this,"ionCancel",7),this.ionClear=bc(this,"ionClear",7),this.ionBlur=bc(this,"ionBlur",7),this.ionFocus=bc(this,"ionFocus",7),this.ionStyle=bc(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.inputId="ion-searchbar-"+Sv++,this.inheritedAttributes={},this.focused=!1,this.noAnimate=!0,this.animated=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=Ps.get("backButtonIcon",Dd),this.cancelButtonText="Cancel",this.disabled=!1,this.name=this.inputId,this.placeholder="Search",this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value="",this.onClearInput=async e=>(this.clearTimeout&&clearTimeout(this.clearTimeout),this.ionClear.emit(),new Promise(t=>{this.clearTimeout=setTimeout(()=>{const n=this.getValue();""!==n&&(this.value="",this.emitInputChange(),e&&!this.focused&&(this.setFocus(),this.focusedValue=n)),t()},64)})),this.onCancelSearchbar=async e=>{e&&(e.preventDefault(),e.stopPropagation()),this.ionCancel.emit();const t=this.getValue(),n=this.focused;await this.onClearInput(),t&&!n&&this.emitValueChange(e),this.nativeInput&&this.nativeInput.blur()},this.onInput=e=>{const t=e.target;t&&(this.value=t.value),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onBlur=e=>{this.focused=!1,this.ionBlur.emit(),this.positionElements(),this.focusedValue!==this.value&&this.emitValueChange(e),this.focusedValue=void 0},this.onFocus=()=>{this.focused=!0,this.focusedValue=this.value,this.ionFocus.emit(),this.positionElements()}}onLangChanged(e){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{lang:e}),ed(this)}onDirChanged(e){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{dir:e}),ed(this)}
2debounceChanged(){const{ionInput:e,debounce:t,originalIonInput:n}=this;this.ionInput=void 0===t?null!=n?n:e:Pd(e,t)}valueChanged(){const e=this.nativeInput,t=this.getValue();e&&e.value!==t&&(e.value=t)}showCancelButtonChanged(){requestAnimationFrame(()=>{this.positionElements(),ed(this)})}connectedCallback(){this.emitStyle()}componentWillLoad(){this.inheritedAttributes=Object.assign({},bd(this.el,["lang","dir"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.positionElements(),this.debounceChanged(),this.loadTimeout=setTimeout(()=>{this.noAnimate=!1},300)}disconnectedCallback(){var e;this.loadTimeout&&clearTimeout(this.loadTimeout),this.clearTimeout&&clearTimeout(this.clearTimeout),null===(e=this.searchIconResizeObserver)||void 0===e||e.disconnect()}emitStyle(){this.ionStyle.emit({searchbar:!0})}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async getInputElement(){return this.nativeInput||await new Promise(e=>fd(this.el,e)),Promise.resolve(this.nativeInput)}emitValueChange(e){const{value:t}=this,n=null==t?t:""+t;this.focusedValue=n,this.ionChange.emit({value:n,event:e})}emitInputChange(e){const{value:t}=this;this.ionInput.emit({value:t,event:e})}positionElements(){const e=this.getValue(),t=this.shouldAlignLeft,n=tu(this),i=!this.animated||""!==e.trim()||!!this.focused;this.shouldAlignLeft=i,"ios"===n&&(t!==i&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const e=this.nativeInput;if(!e)return;const t=rp(this.el),n=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)e.removeAttribute("style"),n.removeAttribute("style");else{const i=document,o=i.createElement("span");o.innerText=this.placeholder||"",i.body.appendChild(o),_d(()=>{var i,r;const a=o.offsetWidth;o.remove();const s="calc(50% - "+a/2+"px)",l=n.clientWidth;if(0===l)return null===(i=this.searchIconResizeObserver)||void 0===i||i.disconnect(),this.searchIconResizeObserver=new ResizeObserver(e=>{var t;e[0].contentRect.width>0&&(null===(t=this.searchIconResizeObserver)||void 0===t||t.disconnect(),this.positionPlaceholder())}),void(null===(r=this.searchIconResizeObserver)||void 0===r||r.observe(n));const c="calc(50% - "+(a/2+l+8)+"px)";t?(e.style.paddingRight=s,n.style.marginRight=c):(e.style.paddingLeft=s,n.style.marginLeft=c)})}}positionCancelButton(){const e=rp(this.el),t=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),n=this.shouldShowCancelButton();if(null!==t&&n!==this.isCancelVisible){const i=t.style;if(this.isCancelVisible=n,n)e?i.marginLeft="0":i.marginRight="0";else{const n=t.offsetWidth;n>0&&(e?i.marginLeft=-n+"px":i.marginRight=-n+"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:e,autocapitalize:t}=this,n=this.animated&&Ps.getBoolean("animated",!0),i=tu(this),o=this.clearIcon||("ios"===i?Bd:Fd),r=this.searchIcon||("ios"===i?"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M338.29 338.29 448 448' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>":"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M464 428 339.92 303.9a160.48 160.48 0 0 0 30.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0 0 94.58-30.72L428 464ZM209.32 319.69a110.38 110.38 0 1 1 110.37-110.37 110.5 110.5 0 0 1-110.37 110.37'/></svg>"),a=this.shouldShowCancelButton(),s="never"!==this.showCancelButton&&Ql("button",{key:"226b7a676b4819cda4062b8334fa8d4c4cee6f1a","aria-label":e,"aria-hidden":a?void 0:"true",type:"button",tabIndex:"ios"!==i||a?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},Ql("div",{key:"89adb4efa17a78c973bbd5527cfac91d99ceb9bb","aria-hidden":"true"},"md"===i?Ql("ion-icon",{"aria-hidden":"true",mode:i,icon:this.cancelButtonIcon,lazy:!1}):e));return Ql(tc,{key:"237dd767403dba3cb3d7de8905996e275669da3b",role:"search","aria-disabled":this.disabled?"true":null,class:Iu(this.color,{[i]:!0,"searchbar-animated":n,"searchbar-disabled":this.disabled,"searchbar-no-animate":n&&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()})},Ql("div",{key:"5b4bdf7280bea710304b6975e76390fe6ceb7417",class:"searchbar-input-container"}
vendor: 1,344 bytes, line 2
2,Ql("input",Object.assign({key:"01a0820a2cf904aec1c7d84b542ab7918d435632","aria-label":"search text",disabled:this.disabled,ref:e=>this.nativeInput=e,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"===t?void 0:t,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck},this.inheritedAttributes)),"md"===i&&s,Ql("ion-icon",{key:"cd64973206b1cc59d221112861733b7ee25f0323","aria-hidden":"true",mode:i,icon:r,lazy:!1,class:"searchbar-search-icon"}),Ql("button",{key:"2061fa8449bbc576cf8c5130ea613378ea492944","aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onPointerDown:e=>{e.preventDefault()},onClick:()=>this.onClearInput(!0)},Ql("ion-icon",{key:"00df6f7742bff70b1b088d544b8c00e962e7216c","aria-hidden":"true",mode:i,icon:o,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===i&&s)}get el(){return this}static get watchers(){return{lang:[{onLangChanged:0}],dir:[{onDirChanged:0}],debounce:[{debounceChanged:0}],value:[{valueChanged:0}],showCancelButton:[{showCancelButtonChanged:0}]}}static get style(){return{ios:"
vendor: 7,696 bytes, line 2
2.sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-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, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #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}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start: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}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-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:17px}.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)}
vendor: 8,450 bytes, line 2
2@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:var(--ion-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, var(--ion-text-color-step-100, #1a1a1a));--clear-button-color:initial;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #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}.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.5em}.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start: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}.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end: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}"}
2}},[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]},void 0,{lang:[{onLangChanged:0}],dir:[{onDirChanged:0}],debounce:[{debounceChanged:0}],value:[{valueChanged:0}],showCancelButton:[{showCancelButtonChanged:0}]}]);let Sv=0;sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionSelect=bc(this,"ionSelect",7),this.ionStyle=bc(this,"ionStyle",7),this.segmentViewEl=null,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.selectOnFocus=!1,this.onClick=e=>{const t=e.target,n=this.checked;"ION-SEGMENT"!==t.tagName&&(this.value=t.value,t!==n&&this.emitValueChange(),this.segmentViewEl?(this.updateSegmentView(),this.scrollable&&n&&this.checkButton(n,t)):!this.scrollable&&this.swipeGesture||(n?this.checkButton(n,t):this.setCheckedClasse
2s()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=e=>{var t,n;const i=this.getButtons().filter(e=>!e.disabled),o=i.findIndex(e=>e===document.activeElement);switch(e){case"first":return i[0];case"last":return i[i.length-1];case"next":return null!==(t=i[o+1])&&void 0!==t?t:i[0];case"previous":return null!==(n=i[o-1])&&void 0!==n?n:i[i.length-1];default:return null}}}colorChanged(e,t){(void 0===t&&void 0!==e||void 0!==t&&void 0===e)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(e,t){if(this.segmentViewEl&&void 0===e)this.value=this.getButtons()[0].value;else{if(void 0!==t&&void 0!==e){const n=this.getButtons(),i=n.find(e=>e.value===t),o=n.find(t=>t.value===e);i&&o&&(this.segmentViewEl?!1!==this.triggerScrollOnValueChange&&this.updateSegmentView():this.checkButton(i,o))}else void 0!==e&&void 0===t&&this.segmentViewEl&&this.updateSegmentView();this.ionSelect.emit({value:e}),this.segmentViewEl||this.scrollActiveButtonIntoView(),this.triggerScrollOnValueChange=void 0}}disabledChanged(){if(this.gestureChanged(),this.segmentViewEl)this.segmentViewEl.disabled=this.disabled;else{const e=this.getButtons();for(const t of e)t.disabled=this.disabled}}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle(),this.segmentViewEl=this.getSegmentView()}disconnectedCallback(){this.segmentViewEl=null}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.segmentViewEl=this.getSegmentView(),this.setCheckedClasses(),_d(()=>{this.scrollActiveButtonIntoView(!1)}),this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:e=>this.onStart(e),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.updateSegmentView(!1)}onStart(e){this.valueBeforeGesture=this.value,this.activate(e)}onMove(e){this.setNextIndex(e)}onEnd(e){this.setActivated(!1),this.setNextIndex(e,!0),e.event.stopImmediatePropagation();const t=this.value;void 0!==t&&this.valueBeforeGesture!==t&&(this.emitValueChange(),this.updateSegmentView()),this.valueBeforeGesture=void 0}emitValueChange(){const{value:e}=this;this.ionChange.emit({value:e})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find(e=>e.value===this.value)}setActivated(e){this.getButtons().forEach(t=>{t.classList.toggle("segment-button-activated",e)}),this.activated=e}activate(e){const t=e.event.target,n=this.getButtons().find(e=>e.value===this.value);"ION-SEGMENT-BUTTON"===t.tagName&&(n||(this.value=t.value,this.setCheckedClasses()),this.value===t.value&&this.setActivated(!0))}getIndicator(e){return(e.shadowRoot||e).querySelector(".segment-button-indicator")}checkButton(e,t){const n=this.getIndicator(e),i=this.getIndicator(t);if(null===n||null===i)return;const o=n.getBoundingClientRect(),r=i.getBoundingClientRect(),a="translate3d(".concat(o.left-r.left,"px, 0, 0) scaleX(").concat(o.width/r.width,")");gl(()=>{i.classList.remove("segment-button-indicator-animated"),i.style.setProperty("transform",a),i.getBoundingClientRect(),i.classList.add("segment-button-indicator-animated"),i.style.setProperty("transform",""),this.scrollActiveButtonIntoView(!0)}),this.value=t.value,this.setCheckedClasses()}setCheckedClasses(){const e=this.getButtons(),t=e.findIndex(e=>e.value===this.value)+1;for(const n of e)n.classList.remove("segment-button-after-checked");t<e.length&&e[t].classList.add("segment-button-after-checked")}getSegmentView(){const e=this.getButtons().find(e=>e.contentId),t=document.querySelector('ion-segment-content[id="'.concat(null==e?void 0:e.contentId,'"]'));return null==t?void 0:t.closest("ion-segment-view")}handleSegmentViewScroll(e){var t;const{scrollRatio:n,isManualScroll:i}=e.detail;if(!i)return;const o=e.target,r=this.segmentViewEl,a=this.el;if(e.composedPath().includes(r)||(null==o?void 0:o.contains(a))){const e=this.getButtons();if(!e.length)return;const i=e.findIndex(e=>e.value===this.value),o=e[i],r=Math.round(n*(e.length-1));if(null===(t=e[r])||void 0===t?void 0:t.disabled)return;void 0!==this.lastNextIndex&&this.lastNextIndex===r||(this.lastNextIndex=r,this.triggerScrollOnValueChange=!1,this.checkButton(o,e[r]),this.emitValueChange())}}updateSegmentView(e=!0){const t=this.getButtons().find(e=>e.value===this.value);if(!(null==t?void 0:t.contentId))return;const n=this.segmentViewEl;n&&n.setContent(t.contentId,e)}scrollActiveButtonIntoView(e=!0){const{scrollable:t,value:n,el:i}=this;if(t){const t=this.getButtons().find(e=>e.value===n);if(void 0!==t){const n=i.getBoundingClientRect(),o=t.getBoundingClientRect();i.scrollTo({top:0,left:i.scrollLeft+(o.x-n.x-n.width/2+o.width/2),behavior:e?"smooth":"instant"})}}}setNextIndex(e,t=!1){const n=rp(this.el),i=this.activated,o=this.getButtons(),r=o.findIndex(e=>e.value===this.value),a=o[r];let s,l;if(-1===r)return;const c=a.getBoundingClientRect(),d=c.left,u=c.width,p=e.currentX,h=c.top+c.height/2,m=this.el.getRootNode().elementFromPoint(p,h);if(i&&!t){if(n?p>d+u:p<d){const e=r-1;e>=0&&(l=e)}else if((n?p<d:p>d+u)&&i&&!t){const e=r+1;e<o.length&&(l=e)}void 0===l||o[l].disabled||(s=o[l])}if(!i&&t&&(s=m),null!=s){if("ION-SEGMENT"===s.tagName)return!1;a!==s&&this.checkButton(a,s)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}onKeyDown(e){const t=rp(this.el);let n,i=this.selectOnFocus;switch(e.key){case"ArrowRight":e.preventDefault(),n=this.getSegmentButton(t?"previous":"next");break;case"ArrowLeft":e.preventDefault(),n=this.getSegmentButton(t?"next":"previous");break;case"Home":e.preventDefault(),n=this.getSegmentButton("first");break;case"End":e.preventDefault(),n=this.getSegmentButton("last");break;case" ":case"Enter":e.preventDefault(),n=document.activeElement,i=!0}if(n){if(i){const e=this.checked;this.checkButton(e||n,n),n!==e&&this.emitValueChange()}n.setFocus()}}render(){const e=tu(this);return Ql(tc,{key:"eda6b7b88b7967b55cf9098c59b655b348a42224",role:"tablist",onClick:this.onClick,class:Iu(this.color,{[e]:!0,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},Ql("slot",{key:"fdb451f235ce59c5bb50c61a13c69160ece2d5df",onSlotchange:this.onSlottedItemsChange}))}get el(){return this}static get watchers(){return{color:[{colorChanged:0}],swipeGesture:[{swipeGestureChanged:0}],value:[{valueChanged:0}],disabled:[{disabledChanged:0}]}}static get style(){return{ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}
2:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"}}},[289,"ion-segment",{color:[513],disabled:[4],scrollable:[4],swipeGesture:[4,"swipe-gesture"],value:[1032],selectOnFocus:[4,"select-on-focus"],activated:[32]},[[16,"ionSegmentViewScroll","handleSegmentViewScroll"],[0,"keydown","onKeyDown"]],{color:[{colorChanged:0}],swipeGesture:[{swipeGestureChanged:0}],value:[{valueChanged:0}],disabled:[{disabledChanged:0}]}]);let Cv=0;sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.segmentEl=null,this.inheritedAttributes={},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+Cv++,this.updateStyle=()=>{ed(this)},this.updateState=()=>{const{segmentEl:e}=this;e&&(this.checked=e.value===this.value,e.disabled&&(this.disabled=!0))}}valueChanged(){this.updateState()}connectedCallback(){const e=this.segmentEl=this.el.closest("ion-segment");e&&(this.updateState(),wd(e,"ionSelect",this.updateState),wd(e,"ionStyle",this.updateStyle)),this.contentId&&this.disabled&&(Ms(),this.disabled=!1)}disconnectedCallback(){const e=this.segmentEl;e&&(xd(e,"ionSelect",this.updateState),xd(e,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){if(this.inheritedAttributes=Object.assign({},bd(this.el,["aria-label"])),!this.contentId)return;const e=document.getElementById(this.contentId);e?"ION-SEGMENT-CONTENT"===e.tagName||zs('[ion-segment-button] - Element with id="'.concat(this.contentId,'" is not an <ion-segment-content> element.')):zs('[ion-segment-button] - Unable to find Segment Content with id="'.concat(this.contentId,'".'))}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}async setFocus(){const{nativeEl:e}=this;void 0!==e&&e.focus()}render(){const{checked:e,type:t,disabled:n,hasIcon:i,hasLabel:o,layout:r,segmentEl:a}=this,s=tu(this);return Ql(tc,{key:"f69e2a24198a7c57543dbe66902da039a6569c64",class:{[s]:!0,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"in-segment":Tu("ion-segment",this.el),"in-segment-color":void 0!==(null==a?void 0:a.color),"segment-button-has-label":o,"segment-button-has-icon":i,"segment-button-has-label-only":o&&!i,"segment-button-has-icon-only":i&&!o,"segment-button-disabled":n,"segment-button-checked":e,["segment-button-layout-"+r]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},Ql("button",Object.assign({key:"0a6fea3a374074af19f7ece0ba3a7cf1e269ab6d","aria-selected":e?"true":"false",role:"tab",ref:e=>this.nativeEl=e,type:t,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),Ql("span",{key:"991018a38c59a6f3d76b2e952e5569c874d2c13e",class:"button-inner"},Ql("slot",{key:"23c547c80108025027b913c7fcbec189286627a3"})),"md"===s&&Ql("ion-ripple-effect",{key:"7faa9d06ab6aa7346d16b0b6808979759a79650c"})),Ql("div",{key:"0d61badf2c227dc38e20185b2b2bb590a5efa434",part:"indicator",class:"segment-button-indicator segment-button-indicator-animated"},Ql("div",{key:"a84035752b78491c344179d1e61d109fb4bd1cf1",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return
vendor: 16,820 bytes, line 2
2{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-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-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-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, #0054e9);--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, #0054e9));--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)}'}
2}},[289,"ion-segment-button",{contentId:[513,"content-id"],disabled:[1028],layout:[1],type:[1],value:[8],checked:[32],setFocus:[64]},void 0,{value:[{valueChanged:0}]}]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return Ql(tc,{key:"665f41a854621f898eaf7ba9a49e77cc9326501e"},Ql("slot",{key:"635aa57fbf6167dcd36fe8dc5dfc1c313637ac04"}))}static get style(){return":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%;min-height:1px;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;}:host::-webkit-scrollbar{display:none}"}},[257,"ion-segment-content"]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionSegmentViewScroll=bc(this,"ionSegmentViewScroll",7),this.scrollEndTimeout=null,this.isTouching=!1,this.disabled=!1,this.swipeGesture=!0}handleScroll(e){var t;const{scrollLeft:n,scrollWidth:i,clientWidth:o}=e.target,r=i-o,a=(rp(this.el)?-1:1)*(n/r);this.ionSegmentViewScroll.emit({scrollRatio:a,isManualScroll:null===(t=this.isManualScroll)||void 0===t||t}),this.resetScrollEndTimeout()}handleScrollStart(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.isTouching=!0}handleTouchEnd(){this.isTouching=!1}resetScrollEndTimeout(){this.scrollEndTimeout&&(clearTimeout(this.scrollEndTimeout),this.scrollEndTimeout=null),this.scrollEndTimeout=setTimeout(()=>{this.checkForScrollEnd()},100)}checkForScrollEnd(){this.isTouching||(this.isManualScroll=void 0)}
2async setContent(e,t=!0){const n=this.getSegmentContents().findIndex(t=>t.id===e);if(-1===n)return;this.isManualScroll=!1,this.resetScrollEndTimeout();const i=n*this.el.offsetWidth;this.el.scrollTo({top:0,left:(rp(this.el)?-1:1)*i,behavior:t?"smooth":"instant"})}getSegmentContents(){return Array.from(this.el.querySelectorAll("ion-segment-content"))}render(){const{disabled:e,isManualScroll:t,swipeGesture:n}=this;return Ql(tc,{key:"2a6e0a1046af75b1fa0eed20a5fbbb4634480297",class:{"segment-view-disabled":e,"segment-view-scroll-disabled":!1===t,"segment-view-swipe-disabled":!1===n}},Ql("slot",{key:"644b60d179d0de3fa204e3bef26a3503ceeaf1d6"}))}get el(){return this}static get style(){return{ios:":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled),:host(.segment-view-swipe-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}",md:":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled),:host(.segment-view-swipe-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}"}}},[289,"ion-segment-view",{disabled:[4],swipeGesture:[4,"swipe-gesture"],isManualScroll:[32],setContent:[64]},[[1,"scroll","handleScroll"],[1,"touchstart","handleScrollStart"],[1,"touchend","handleTouchEnd"]]]);const Tv=(e,t,n,i)=>{const o=!!Iv(e)&&{capture:!1,passive:!!i.passive};let r,a;return e.__zone_symbol__addEventListener?(r="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(r="addEventListener",a="removeEventListener"),e[r](t,n,o),()=>{e[a](t,n,o)}},Iv=e=>{if(void 0===Av)try{const t=Object.defineProperty({},"passive",{get:()=>{Av=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){Av=!1}return!!Av};let Av;const Pv=e=>e instanceof Document?e:e.ownerDocument,Ov=e=>{let t=!1,n=!1,i=!0,o=!1;const r=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),a=r.canStart,s=r.onWillStart,l=r.onStart,c=r.onEnd,d=r.notCaptured,u=r.onMove,p=r.threshold,h=r.passive,m=r.blurOnStart,f={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},g=((e,t,n)=>{const i=n*(Math.PI/180),o="x"===e,r=Math.cos(i),a=t*t;let s=0,l=0,c=!1,d=0;return{start(e,t){s=e,l=t,d=0,c=!0},detect(e,t){if(!c)return!1;const n=e-s,i=t-l,u=n*n+i*i;if(u<a)return!1;const p=Math.sqrt(u),h=(o?n:i)/p;return d=h>r?1:h<-r?-1:0,c=!1,!0},isGesture:()=>0!==d,getDirection:()=>d}})(r.direction,r.threshold,r.maxAngle),b=Sp.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),v=()=>{t&&(o=!1,u&&u(f))},y=()=>!!b.capture()&&(t=!0,i=!1,f.startX=f.currentX,f.startY=f.currentY,f.startTime=f.currentTime,s?s(f).then(w):w(),!0),w=()=>{m&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;(null==e?void 0:e.blur)&&e.blur()}})(),l&&l(f),i=!0},x=()=>{t=!1,n=!1,o=!1,i=!0,b.release()},k=e=>{const n=t,o=i;x(),o&&(Rv(f,e),n?c&&c(f):d&&d(f))},_=((e,t,n,i,o)=>{let r,a,s,l,c,d,u,p=0;const h=i=>{p=Date.now()+2e3,t(i)&&(!a&&n&&(a=Tv(e,"touchmove",n,o)),s||(s=Tv(i.target,"touchend",f,o)),l||(l=Tv(i.target,"touchcancel",f,o)))},m=i=>{p>Date.now()||t(i)&&(!d&&n&&(d=Tv(Pv(e),"mousemove",n,o)),u||(u=Tv(Pv(e),"mouseup",g,o)))},f=e=>{b(),i&&i(e)},g=e=>{v(),i&&i(e)},b=()=>{a&&a(),s&&s(),l&&l(),a=s=l=void 0},v=()=>{d&&d(),u&&u(),d=u=void 0},y=()=>{b(),v()},w=(t=!0)=>{t?(r||(r=Tv(e,"touchstart",h,o)),c||(c=Tv(e,"mousedown",m,o))):(r&&r(),c&&c(),r=c=void 0,y())};return{enable:w,stop:y,destroy:()=>{w(!1),i=n=t=void 0}}})(r.el,e=>{const t=Dv(e);return!(n||!i)&&(Lv(e,f),f.startX=f.currentX,f.startY=f.currentY,f.startTime=f.currentTime=t,f.velocityX=f.velocityY=f.deltaX=f.deltaY=0,f.event=e,(!a||!1!==a(f))&&(b.release(),!!b.start()&&(n=!0,0===p?y():(g.start(f.startX,f.startY),!0))))},e=>{t?!o&&i&&(o=!0,Rv(f,e),requestAnimationFrame(v)):(Rv(f,e),g.detect(f.currentX,f.currentY)&&(g.isGesture()&&y()||E()))},k,{passive:h}),E=()=>{x(),_.stop(),d&&d(f)};return{enable(e=!0){e||(t&&k(void 0),x()),_.enable(e)},destroy(){b.destroy(),_.destroy()}}},Rv=(e,t)=>{if(!t)return;const n=e.currentX,i=e.currentY,o=e.currentTime;Lv(t,e);
2const r=e.currentX,a=e.currentY,s=(e.currentTime=Dv(t))-o;if(s>0&&s<100){const t=(a-i)/s;e.velocityX=(r-n)/s*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=r-e.startX,e.deltaY=a-e.startY,e.event=t},Lv=(e,t)=>{let n=0,i=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,i=e.clientY}else void 0!==e.pageX&&(n=e.pageX,i=e.pageY)}t.currentX=n,t.currentY=i},Dv=e=>e.timeStamp||Date.now(),Nv=Object.freeze(Object.defineProperty({__proto__:null,GESTURE_CONTROLLER:Sp,createGesture:Ov},Symbol.toStringTag,{value:"Module"})),Mv=(e,t)=>{let n,i;const o=(e,i,o)=>{if("undefined"==typeof document)return;const s=document.elementFromPoint(e,i);s&&t(s)&&!s.disabled?s!==n&&(a(),r(s,o)):a()},r=(e,t)=>{n=e,i||(i=n);const o=n;gl(()=>o.classList.add("ion-activated")),t()},a=(e=!1)=>{if(!n)return;const t=n;gl(()=>t.classList.remove("ion-activated")),e&&i!==n&&n.click(),n=void 0};return Ov({el:e,gestureName:"buttonActiveDrag",threshold:0,onStart:e=>o(e.currentX,e.currentY,im),onMove:e=>o(e.currentX,e.currentY,om),onEnd:()=>{a(!0),rm(),i=void 0}})},zv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])},jv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,i])},Bv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])},Fv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,i])},Vv=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.didPresent=bc(this,"ionActionSheetDidPresent",7),this.willPresent=bc(this,"ionActionSheetWillPresent",7),this.willDismiss=bc(this,"ionActionSheetWillDismiss",7),this.didDismiss=bc(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.delegateController=lh(this),this.lockController=cm(),this.triggerController=ch(),this.hasRadioButtons=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,ah)},this.dispatchCancelHandler=e=>{if(ih(e.detail.role)){const e=this.getButtons().find(e=>"cancel"===e.role);this.callButtonHandler(e)}}}buttonsChanged(){const e=this.getRadioButtons();if(this.hasRadioButtons=e.length>0,this.hasRadioButtons){const t=e.find(e=>{var t;return"true"===(null===(t=e.htmlAttributes)||void 0===t?void 0:t["aria-checked"])});if(t){const e=this.getButtons().indexOf(t);this.activeRadioId=this.getButtonId(t,e)}}}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)}async present(){const e=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Kp(this,"actionSheetEnter",zv,Bv),e()}async dismiss(e,t){const n=await this.lockController.lock(),i=await Zp(this,e,t,"actionSheetLeave",jv,Fv);return i&&this.delegateController.removeViewFromDom(),n(),i}onDidDismiss(){return th(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return th(this.el,"ionActionSheetWillDismiss")}async buttonClick(e){const t=e.role;return ih(t)?this.dismiss(e.data,t):await this.callButtonHandler(e)?this.dismiss(e.data,e.role):Prom
2ise.resolve()}async callButtonHandler(e){return!e||!1!==await rh(e.handler)}getButtons(){return this.buttons.map(e=>"string"==typeof e?{text:e}:e)}getRadioButtons(){return this.getButtons().filter(e=>{var t;const n=null===(t=e.htmlAttributes)||void 0===t?void 0:t.role;return"radio"===n&&!ih(n)})}selectRadioButton(e){const t=this.getButtonId(e);this.activeRadioId=t}getButtonId(e,t){if(e.id)return e.id;const n=this.getButtons(),i=void 0!==t?t:n.indexOf(e);return"action-sheet-button-".concat(this.overlayIndex,"-").concat(i)}onKeydown(e){if(!this.hasRadioButtons||!this.presented)return;const t=e.target;if(!this.el.contains(t)||!t.classList.contains("action-sheet-button")||"radio"!==t.getAttribute("role"))return;const n=Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter(e=>!e.disabled),i=n.findIndex(e=>e.id===t.id);if(-1===i)return;const o=this.getButtons(),r=this.getRadioButtons(),a=new Map;let s;if(r.forEach(e=>{const t=o.indexOf(e),n=this.getButtonId(e,t);a.set(n,e)}),["ArrowDown","ArrowRight"].includes(e.key))e.preventDefault(),e.stopPropagation(),s=i===n.length-1?n[0]:n[i+1];else if(["ArrowUp","ArrowLeft"].includes(e.key))e.preventDefault(),e.stopPropagation(),s=0===i?n[n.length-1]:n[i-1];else if(" "===e.key||"Enter"===e.key){e.preventDefault(),e.stopPropagation();const n=a.get(t.id);return void(n&&(this.selectRadioButton(n),this.buttonClick(n)))}if(s){const e=a.get(s.id);e&&(this.selectRadioButton(e),s.focus())}}connectedCallback(){Vp(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){var e;(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el),this.buttonsChanged()}componentDidLoad(){const{groupEl:e,wrapperEl:t}=this;!this.gesture&&"ios"===tu(this)&&t&&e&&fl(()=>{e.scrollHeight>e.clientHeight||(this.gesture=Mv(t,e=>e.classList.contains("action-sheet-button")),this.gesture.enable(!0))}),!0===this.isOpen&&_d(()=>this.present()),this.triggerChanged()}renderActionSheetButtons(e){const t=tu(this),{activeRadioId:n}=this;return e.map((e,i)=>{var o;const r="radio"===(null===(o=e.htmlAttributes)||void 0===o?void 0:o.role),a=this.getButtonId(e,i),s=this.getRadioButtons(),l=r&&a===n;let c;c=r?l||!n&&r&&e===s[0]?0:-1:void 0;const d=Object.assign({},e.htmlAttributes);return r&&(d["aria-checked"]=l?"true":"false"),Ql("button",Object.assign({},d,{role:r?"radio":void 0,type:"button",id:a,class:Object.assign(Object.assign({},Uv(e)),r&&{"action-sheet-selected":l}),onClick:()=>{r&&this.selectRadioButton(e),this.buttonClick(e)},disabled:e.disabled,tabIndex:c}),Ql("span",{class:"action-sheet-button-inner"},e.icon&&Ql("ion-icon",{icon:e.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),e.text),"md"===t&&Ql("ion-ripple-effect",null))})}render(){const{header:e,htmlAttributes:t,overlayIndex:n,hasRadioButtons:i}=this,o=tu(this),r=this.getButtons(),a=r.find(e=>"cancel"===e.role),s=r.filter(e=>"cancel"!==e.role),l="action-sheet-".concat(n,"-header");return Ql(tc,Object.assign({key:"48b63b870f2816b4cad3c606f3d9956854cee79a",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==e?l:null,tabindex:"-1"},t,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({[o]:!0},Au(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),Ql("ion-backdrop",{key:"41dd5781f139d26b3feea33ab387451aeafacd51",tappable:this.backdropDismiss}),Ql("div",{key:"f797c2657782e4e83adf90d2d796108e857a1fc0",tabindex:"0","aria-hidden":"true"}),Ql("div",{key:"8e74209321fc5e8712e3e293c91a6fa036ea45ab",class:"action-sheet-wrapper ion-overlay-wrapper",ref:e=>this.wrapperEl=e},Ql("div",{key:"c811860be2eed0b6c73fc2cc5a59cb94db2e8912",class:"action-sheet-container"},Ql("div",{key:"d36ee14b70d73eb5cd69e0c57bc5cc31daf86ab3",class:"action-sheet-group",ref:e=>this.groupEl=e,role:i?"radiogroup":void 0},void 0!==e&&Ql("div",{key:"922695de191edc86451eed2552acc4f54993ea52",id:l,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},e,this.subHeader&&Ql("div",{key:"a119d4a93668e829f7106f11cbbdd437310f3e80",class:"action-sheet-sub-title"},this.subHeader)),this.renderActionSheetButtons(s)),a&&Ql("div",{key:"1d27f36d09bedd2e4c61fea9dd9d05f8f9271aef",class:"action-sheet-group action-sheet-group-cancel"},Ql("button",Object.assign({key:"ed13658176c54cc45808a54a0331c297430d9bc6"}
2,a.htmlAttributes,{type:"button",class:Uv(a),onClick:()=>this.buttonClick(a)}),Ql("span",{key:"5208e3e3535b775a443cef6fb1decd790db69b0c",class:"action-sheet-button-inner"},a.icon&&Ql("ion-icon",{key:"b7ba489e1ee50524a5b4af670eef787844a16286",icon:a.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),a.text),"md"===o&&Ql("ion-ripple-effect",{key:"b3f88898114855853259f0001def26b4bd6e4a98"}))))),Ql("div",{key:"0dfd0fcdc633bf565990eaa06679608e749cf8f9",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{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.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.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:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):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, var(--ion-background-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-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #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.
2sc-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, var(--ion-text-color-step-600, #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, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}',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.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.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}
2.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:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):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, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--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}'}}},[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],activeRadioId:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[0,"keydown","onKeydown"]],{buttons:[{buttonsChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),Uv=e=>Object.assign({"action-sheet-button":!0,"ion-activatable":!e.disabled,"ion-focusable":!e.disabled,["action-sheet-".concat(e.role)]:void 0!==e.role},Au(e.cssClass));function qv(){"undefined"!=typeof customElements&&["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-action-sheet":customElements.get(e)||customElements.define(e,Vv);break;case"ion-backdrop":customElements.get(e)||Cu();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})}const Hv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(1.1)"},{offset:1,opacity:"1",transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},Wv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},Gv=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".alert-wrapper")).keyframes([{offset:0,opacity:"0.01",transform:"scale(0.9)"},{offset:1,opacity:"1",transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(150).addAnimation([n,i])},$v=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".alert-wrapper")).fromTo("opacity",.99,0),t.addElement(e).easing("ease-in-out").duration(150).addAnimation([n,i])},Yv=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.didPresent=bc(this,"ionAlertDidPresent",7),this.willPresent=bc(this,"ionAlertWillPresent",7),this.willDismiss=bc(this,"ionAlertWillDismiss",7),this.didDismiss=bc(this,"ionAlertDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.delegateController=lh(this),this.lockController=cm(),this.triggerController=ch(),this.customHTMLEnabled=Ps.get("innerHTMLTemplatesEnabled",Tg),this.processedInputs=[],this.processedButtons=[],this.isButtonGroupWrapped=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.inputs=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,ah)},this.dispatchCancelHandler=e=>{if(ih(e.detail.role)){const e=this.processedButtons.find(e=>"cancel"===e.role);this.callButtonHandler(e)}}}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)}onKeydown(e){var t;const n=new Set(this.processedInputs.map(e=>e.type));if(n.has("checkbox")&&"Enter"===e.key)return void e.preventDefault();if(e.target.classList.contains("alert-wrapper")&&"Tab"===e.key&&e.shiftKey)return e.preventDefault(),void(null===(t=this.wrapperEl)||void 0===t?void 0:t.querySelector(".alert-button:last-child")).focus();if(!n.has("radio")||e.target&&!this.el.contains(e.target)||e.target.classList.contains("alert-button"))return;const i=this.el.querySelectorAll(".alert-radio"),o=Array.from(i).filter(e=>!e.disabled),r=o.findIndex(t=>t.id===e.target.id);let a;
2if(["ArrowDown","ArrowRight"].includes(e.key)&&(a=r===o.length-1?o[0]:o[r+1]),["ArrowUp","ArrowLeft"].includes(e.key)&&(a=0===r?o[o.length-1]:o[r-1]),a&&o.includes(a)){const e=this.processedInputs.find(e=>e.id===(null==a?void 0:a.id));e&&(this.rbClick(e),a.focus())}}buttonsChanged(){this.processedButtons=this.buttons.map(e=>"string"==typeof e?{text:e,role:"cancel"===e.toLowerCase()?"cancel":void 0}:e),this.isButtonGroupWrapped=!1,this.checkButtonGroupWrap()}inputsChanged(){const e=this.inputs,t=e.find(e=>!e.disabled),n=e.find(e=>e.checked&&!e.disabled)||t,i=new Set(e.map(e=>e.type));i.has("checkbox")&&i.has("radio")&&Ms("[ion-alert] - Alert cannot mix input types: ".concat(Array.from(i.values()).join("/"),". Please see alert docs for more info.")),this.inputType=i.values().next().value,this.processedInputs=e.map((e,t)=>{var i;return{type:e.type||"text",name:e.name||"".concat(t),placeholder:e.placeholder||"",value:e.value,label:e.label,checked:!!e.checked,disabled:!!e.disabled,id:e.id||"alert-input-".concat(this.overlayIndex,"-").concat(t),handler:e.handler,min:e.min,max:e.max,cssClass:null!==(i=e.cssClass)&&void 0!==i?i:"",attributes:e.attributes||{},tabindex:"radio"===e.type&&e!==n?-1:0}})}connectedCallback(){Vp(this.el),this.triggerChanged(),this.setupButtonGroupResizeObserver()}componentWillLoad(){var e;(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el),this.inputsChanged(),this.buttonsChanged()}disconnectedCallback(){var e;this.triggerController.removeClickListener(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0),null===(e=this.buttonGroupResizeObserver)||void 0===e||e.disconnect(),this.buttonGroupResizeObserver=void 0}componentDidLoad(){!this.gesture&&"ios"===tu(this)&&this.wrapperEl&&(this.gesture=Mv(this.wrapperEl,e=>e.classList.contains("alert-button")),this.gesture.enable(!0)),this.setupButtonGroupResizeObserver(),!0===this.isOpen&&_d(()=>this.present()),this.triggerChanged()}async present(){const e=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Kp(this,"alertEnter",Hv,Gv).then(()=>{var e,t;1===this.buttons.length&&0===this.inputs.length?(null===(e=this.wrapperEl)||void 0===e?void 0:e.querySelector(".alert-button")).focus():null===(t=this.wrapperEl)||void 0===t||t.focus()}),e()}async dismiss(e,t){const n=await this.lockController.lock(),i=await Zp(this,e,t,"alertLeave",Wv,$v);return i&&this.delegateController.removeViewFromDom(),n(),i}onDidDismiss(){return th(this.el,"ionAlertDidDismiss")}onWillDismiss(){return th(this.el,"ionAlertWillDismiss")}rbClick(e){for(const t of this.processedInputs)t.checked=t===e,t.tabindex=t===e?0:-1;this.activeId=e.id,rh(e.handler,e),ed(this)}cbClick(e){e.checked=!e.checked,rh(e.handler,e),ed(this)}async buttonClick(e){const t=e.role,n=this.getValues();if(ih(t))return this.dismiss({values:n},t);const i=await this.callButtonHandler(e,n);return!1!==i&&this.dismiss(Object.assign({values:n},i),e.role)}async callButtonHandler(e,t){if(null==e?void 0:e.handler){const n=await rh(e.handler,t);if(!1===n)return!1;if("object"==typeof n)return n}return{}}getValues(){if(0===this.processedInputs.length)return;if("radio"===this.inputType){const e=this.processedInputs.find(e=>!!e.checked);return e?e.value:void 0}if("checkbox"===this.inputType)return this.processedInputs.filter(e=>e.checked).map(e=>e.value);const e={};return this.processedInputs.forEach(t=>{e[t.name]=t.value||""}),e}renderAlertInputs(){switch(this.inputType){case"checkbox":return this.renderCheckbox();case"radio":return this.renderRadio();default:return this.renderInput()}}renderCheckbox(){const e=this.processedInputs,t=tu(this);return 0===e.length?null:Ql("div",{class:"alert-checkbox-group"},e.map(e=>Ql("button",{type:"button",onClick:()=>this.cbClick(e),"aria-checked":"".concat(e.checked),id:e.id,disabled:e.disabled,tabIndex:e.tabindex,role:"checkbox",class:Object.assign(Object.assign({},Au(e.cssClass)),{"alert-tappable":!0,"alert-checkbox":!0,"alert-checkbox-button":!0,"ion-focusable":!0,"alert-checkbox-button-disabled":e.disabled||!1})},Ql("div",{class:"alert-button-inner"},Ql("div",{class:"alert-checkbox-icon"},Ql("div",{class:"alert-checkbox-inner"})),Ql("div",{class:"alert-checkbox-label"},e.label)),"md"===t&&Ql("ion-ripple-effect",null))))}renderRadio(){const e=this.processedInputs;return 0===e.length?null:Ql("div",{class:"alert-radio-group",role:"radiogroup","aria-activedescendant":this.activeId},e.map(e=>Ql("button",{type:"button",onClick:()=>this.rbClick(e),"aria-checked":"".concat(e.checked),disabled:e.disabled,id:e.id,tabIndex:e.tabindex,class:Object.assign(Object.assign({},Au(e.cssClass)),{"alert-radio-button":!0,"alert-tappable":!0,"alert-radio":!0,"i
2on-focusable":!0,"alert-radio-button-disabled":e.disabled||!1}),role:"radio"},Ql("div",{class:"alert-button-inner"},Ql("div",{class:"alert-radio-icon"},Ql("div",{class:"alert-radio-inner"})),Ql("div",{class:"alert-radio-label"},e.label)))))}renderInput(){const e=this.processedInputs;return 0===e.length?null:Ql("div",{class:"alert-input-group"},e.map(e=>{var t,n,i,o;return Ql("div",{class:"alert-input-wrapper"},"textarea"===e.type?Ql("textarea",Object.assign({placeholder:e.placeholder,value:e.value,id:e.id,tabIndex:e.tabindex},e.attributes,{disabled:null!==(n=null===(t=e.attributes)||void 0===t?void 0:t.disabled)&&void 0!==n?n:e.disabled,class:Xv(e),onInput:t=>{var n;e.value=t.target.value,(null===(n=e.attributes)||void 0===n?void 0:n.onInput)&&e.attributes.onInput(t)}})):Ql("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!==(o=null===(i=e.attributes)||void 0===i?void 0:i.disabled)&&void 0!==o?o:e.disabled,class:Xv(e),onInput:t=>{var n;e.value=t.target.value,(null===(n=e.attributes)||void 0===n?void 0:n.onInput)&&e.attributes.onInput(t)}})))}))}setupButtonGroupResizeObserver(){var e;this.buttonGroupEl&&"undefined"!=typeof ResizeObserver&&(null===(e=this.buttonGroupResizeObserver)||void 0===e||e.disconnect(),this.buttonGroupResizeObserver=new ResizeObserver(()=>this.checkButtonGroupWrap()),this.buttonGroupResizeObserver.observe(this.buttonGroupEl),this.checkButtonGroupWrap())}checkButtonGroupWrap(){_d(()=>{if(!this.buttonGroupResizeObserver)return;const e=this.buttonGroupEl;if(!e)return;const t=Array.from(e.querySelectorAll(".alert-button"));if(t.length<2)return void(this.isButtonGroupWrapped=!1);const n=t[0].offsetTop;this.isButtonGroupWrapped=t.some(e=>e.offsetTop!==n)})}renderAlertButtons(){const e=this.processedButtons,t=tu(this);return Ql("div",{class:{"alert-button-group":!0,"alert-button-group-vertical":e.length>2||this.isButtonGroupWrapped},ref:e=>this.buttonGroupEl=e},e.map(e=>Ql("button",Object.assign({},e.htmlAttributes,{type:"button",id:e.id,class:Kv(e),tabIndex:0,onClick:()=>this.buttonClick(e)}),Ql("span",{class:"alert-button-inner"},e.text),"md"===t&&Ql("ion-ripple-effect",null))))}renderAlertMessage(e){const{customHTMLEnabled:t,message:n}=this;return t?Ql("div",{id:e,class:"alert-message",innerHTML:wg(n)}):Ql("div",{id:e,class:"alert-message"},n)}render(){const{overlayIndex:e,header:t,subHeader:n,message:i,htmlAttributes:o}=this,r=tu(this),a="alert-".concat(e,"-hdr"),s="alert-".concat(e,"-msg"),l="alert-".concat(e,"-sub-hdr"),c=this.inputs.length>0||this.buttons.length>0?"alertdialog":"alert",d=t&&n?"".concat(a," ").concat(l):t?a:n?l:null;return Ql(tc,{key:"8d54ccd725ea634be080e67b56fa5efe498f496c",tabindex:"-1",style:{zIndex:"".concat(2e4+e)},class:Object.assign(Object.assign({},Au(this.cssClass)),{[r]:!0,"overlay-hidden":!0,"alert-translucent":this.translucent}),onIonAlertWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap},Ql("ion-backdrop",{key:"05a238583342285545587de9dce144a82d779193",tappable:this.backdropDismiss}),Ql("div",{key:"e52c53fd9845e66781af01b2a788a291b45a927c",tabindex:"0","aria-hidden":"true"}),Ql("div",Object.assign({key:"8417e52eebca24ff436fab0703666db51072f980",class:"alert-wrapper ion-overlay-wrapper",role:c,"aria-modal":"true","aria-labelledby":d,"aria-describedby":void 0!==i?s:null,tabindex:"0",ref:e=>this.wrapperEl=e},o),Ql("div",{key:"5c560d4800b24d41961423718108b54be6cd6f91",class:"alert-head"},t&&Ql("h2",{key:"8637b64cd5125b2258115d1c11f3743113658608",id:a,class:"alert-title"},t),n&&!t&&Ql("h2",{key:"7a4e61a02c29b16b336d8acaf6569b30de6fe71e",id:l,class:"alert-sub-title"},n),n&&t&&Ql("h3",{key:"30844b6a0a7e3dab46514cd548ecffa86dcd59cb",id:l,class:"alert-sub-title"},n)),this.renderAlertMessage(s),this.renderAlertInputs(),this.renderAlertButtons()),Ql("div",{key:"39c824fee1e60ad8d6234c79d22ceb8bba8004af",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],buttons:[{buttonsChanged:0}],inputs:[{inputsChanged:0}]}}static get style(){return{ios:".sc-ion-alert-ios-h{--min-width:250px;
2--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, var(--ion-background-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, var(--ion-background-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, var(--ion-text-color-step-400, #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:7px;margin-top:10px;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:7px;padding-bottom:7px;border:0.55px solid var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf));background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1rem}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #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, #0054e9)}.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, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start: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.375rem, 55.836px);height:min(1.375rem, 55.836px);border-width:0.125rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-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, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.375rem, 55.836px) / 8);position:absolute;width:calc(min(1.375rem, 55.836px) / 6 + 1px);height:calc(min(1.375rem, 55.836px) * 0.5);-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(--ion-background-color, #fff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.375rem, 55.836px) / 3)}.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, #0054e9);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, #c5000f)}",md:".sc-ion-alert-md-h{--min-width:250px;
2--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, var(--ion-background-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, var(--ion-text-color-step-450, #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, var(--ion-background-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, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #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, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #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, #0054e9)}.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, var(--ion-background-color-step-150, #d9d9d9));border-bottom:1px solid var(--ion-color-step-150, var(--ion-background-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, var(--ion-text-color-step-150, #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, var(--ion-background-color-step-550, #737373))}.alert-radio-icon.sc-ion-alert-md{inset-inline-start: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, #0054e9)}.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626))}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9)}[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, var(--ion-text-color-step-150, #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, var(--ion-background-color-step-550, #737373));contain:strict}.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[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)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start: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, #0054e9);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)}}"}}},[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],isButtonGroupWrapped:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]},[[4,"keydown","onKeydown"]],{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],buttons:[{buttonsChanged:0}],inputs:[{inputsChanged:0}]}]),Xv=e=>{var t,n,i;return Object.assign(Object.assign({"alert-input":!0,"alert-input-disabled":(null!==(n=null===(t=e.attributes)||void 0===t?void 0:t.disabled)&&void 0!==n?n:e.disabled)||!1},Au(e.cssClass)),Au(e.attributes?null===(i=e.attributes.class)||void 0===i?void 0:i.toString():""))},Kv=e=>Object.assign({"alert-button":!0,"ion-focusable":!0,"ion-activatable":!0,["alert-button-role-".concat(e.role)]:void 0!==e.role},Au(e.cssClass));
2function Jv(){"undefined"!=typeof customElements&&["ion-alert","ion-backdrop","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-alert":customElements.get(e)||customElements.define(e,Yv);break;case"ion-backdrop":customElements.get(e)||Cu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})}const Zv="ionKeyboardDidShow",Qv="ionKeyboardDidHide";let ey={},ty={},ny=!1;const iy=e=>{e.addEventListener("keyboardDidShow",t=>oy(e,t)),e.addEventListener("keyboardDidHide",()=>ry(e))},oy=(e,t)=>{cy(e,t),ny=!0},ry=e=>{dy(e),ny=!1},ay=()=>!ny&&ey.width===ty.width&&(ey.height-ty.height)*ty.scale>150,sy=e=>ny&&!ly(e),ly=e=>ny&&ty.height===e.innerHeight,cy=(e,t)=>{const n=new CustomEvent(Zv,{detail:{keyboardHeight:t?t.keyboardHeight:e.innerHeight-ty.height}});e.dispatchEvent(n)},dy=e=>{const t=new CustomEvent(Qv);e.dispatchEvent(t)},uy=e=>{ey=Object.assign({},ty),ty=py(e.visualViewport)},py=e=>({width:Math.round(e.width),height:Math.round(e.height),offsetTop:e.offsetTop,offsetLeft:e.offsetLeft,pageTop:e.pageTop,pageLeft:e.pageLeft,scale:e.scale}),hy=Object.freeze(Object.defineProperty({__proto__:null,KEYBOARD_DID_CLOSE:Qv,KEYBOARD_DID_OPEN:Zv,copyVisualViewport:py,keyboardDidClose:ly,keyboardDidOpen:ay,keyboardDidResize:sy,resetKeyboardAssist:()=>{ey={},ty={},ny=!1},setKeyboardClose:ry,setKeyboardOpen:oy,startKeyboardAssist:e=>{if(Kf.getEngine())iy(e);
2else{if(!e.visualViewport)return;ty=py(e.visualViewport),e.visualViewport.onresize=()=>{uy(e),ay()||sy(e)?oy(e):ly(e)&&ry(e)}}},trackViewportChanges:uy},Symbol.toStringTag,{value:"Module"}));var my;!function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"}(my||(my={}));const fy={getEngine(){const e=Jh();if(null==e?void 0:e.isPluginAvailable("StatusBar"))return e.Plugins.StatusBar},setStyle(e){const t=this.getEngine();t&&t.setStyle(e)},getStyle:async function(){const e=this.getEngine();if(!e)return my.Default;const{style:t}=await e.getInfo();return t}},gy=(e,t)=>{if(1===t)return 0;const n=1/(1-t);return e*n+-t*n},by=()=>{!fp||fp.innerWidth>=768||fy.setStyle({style:my.Dark})},vy=(e=my.Default)=>{!fp||fp.innerWidth>=768||fy.setStyle({style:e})},yy=async(e,t)=>{"function"==typeof e.canDismiss&&await e.canDismiss(void 0,sh)&&(t.isRunning()?t.onFinish(()=>{e.dismiss(void 0,"handler")},{oneTimeCallback:!0}):e.dismiss(void 0,"handler"))},wy=e=>.00255275*2.71828**(-14.9619*e)-1.00255*2.71828**(-.0380968*e)+1,xy=(e,t)=>{const n=window.innerHeight,i=e.getBoundingClientRect().top,o=Math.round(1e3*(1-t/(n-i)))/1e3;return Math.max(0,Math.min(1,o))},ky=e=>{const{currentBreakpoint:t,backdropBreakpoint:n,expandToScroll:i}=e,o=void 0===n||n<t,r=o?"calc(var(--backdrop-opacity) * ".concat(t,")"):"0",a=Vm("backdropAnimation").fromTo("opacity",0,r);return o&&a.beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),{wrapperAnimation:Vm("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(100%)"},{offset:1,opacity:1,transform:"translateY(".concat(100-100*t,"%)")}]),backdropAnimation:a,contentAnimation:i?void 0:Vm("contentAnimation").keyframes([{offset:0,opacity:1,maxHeight:100*(1-t)+"%"},{offset:1,opacity:1,maxHeight:100*t+"%"}])}},_y=e=>{const{currentBreakpoint:t,backdropBreakpoint:n}=e,i="calc(var(--backdrop-opacity) * ".concat(gy(t,n),")"),o=[{offset:0,opacity:i},{offset:1,opacity:0}],r=[{offset:0,opacity:i},{offset:n,opacity:0},{offset:1,opacity:0}],a=Vm("backdropAnimation").keyframes(0!==n?r:o);return{wrapperAnimation:Vm("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:"translateY(".concat(100-100*t,"%)")},{offset:1,opacity:1,transform:"translateY(100%)"}]),backdropAnimation:a}},Ey=(e,t)=>{const{presentingEl:n,currentBreakpoint:i,expandToScroll:o}=t,r=kd(e),{wrapperAnimation:a,backdropAnimation:s,contentAnimation:l}=void 0!==i?ky(t):{backdropAnimation:Vm().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:Vm().fromTo("transform","translateY(100vh)","translateY(0vh)"),contentAnimation:void 0};s.addElement(r.querySelector("ion-backdrop")),a.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1}),!o&&(null==l||l.addElement(e.querySelector(".ion-page")));const c=Vm("entering-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation([a]);if(l&&c.addAnimation(l),n){const e=window.innerWidth<768,t="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,i=kd(n),o=Vm().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),r=document.body;if(e){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",i="translateY(".concat(t?"-10px":e,") scale(0.915)");o.afterStyles({transform:i}).beforeAddWrite(()=>r.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:i,borderRadius:"10px 10px 0 0"}]),c.addAnimation(o)}else if(c.addAnimation(s),t){const e="translateY(-10px) scale(".concat(t?.915:1,")");o.afterStyles({transform:e}).addElement(i.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:e}]);const n=Vm().afterStyles({transform:e}).addElement(i.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:e}]);c.addAnimation([o,n])}else a.fromTo("opacity","0","1")}else c.addAnimation(s);return c},Sy=(e,t,n=500)=>{const{presentingEl:i,currentBreakpoint:o}=t,r=kd(e),{wrapperAnimation:a,backdropAnimation:s}=void 0!==o?_y(t):{backdropAnimation:Vm().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:Vm().fromTo("transform","translateY(0vh)","translateY(100vh)")};s.addElement(r.querySelector("ion-backdrop")),a.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const l=Vm("leaving-base").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(a);if(i){const e=window.innerWidth<768,t="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,n=kd(i),o=Vm().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(e=>{1===e&&(i.style.setProperty("overflow",""),Array.from(r.querySelectorAll("ion-modal:not(.overlay-hidden
2)")).filter(e=>void 0!==e.presentingElement).length<=1&&r.style.setProperty("background-color",""))}),r=document.body;if(e){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",n="translateY(".concat(t?"-10px":e,") scale(0.915)");o.addElement(i).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"}]),l.addAnimation(o)}else if(l.addAnimation(s),t){const e="translateY(-10px) scale(".concat(t?.915:1,")");o.addElement(n.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:e},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const i=Vm().addElement(n.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:e},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([o,i])}else a.fromTo("opacity","1","0")}else l.addAnimation(s);return l},Cy=(e,t)=>{const{currentBreakpoint:n,expandToScroll:i}=t,o=kd(e),{wrapperAnimation:r,backdropAnimation:a,contentAnimation:s}=void 0!==n?ky(t):{backdropAnimation:Vm().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),wrapperAnimation:Vm().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]),contentAnimation:void 0};a.addElement(o.querySelector("ion-backdrop")),r.addElement(o.querySelector(".modal-wrapper")),!i&&(null==s||s.addElement(e.querySelector(".ion-page")));const l=Vm().addElement(e).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([a,r]);return s&&l.addAnimation(s),l},Ty=(e,t)=>{const{currentBreakpoint:n}=t,i=kd(e),{wrapperAnimation:o,backdropAnimation:r}=void 0!==n?_y(t):{backdropAnimation:Vm().fromTo("opacity","var(--backdrop-opacity)",0),wrapperAnimation:Vm().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}])};return r.addElement(i.querySelector("ion-backdrop")),o.addElement(i.querySelector(".modal-wrapper")),Vm().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,o])},Iy=new Set(["","100%","100vw","100vh","100dvw","100dvh","100svw","100svh"]);let Ay=null,Py=!1;const Oy=e=>{const t=getComputedStyle(e),n=t.getPropertyValue("--width").trim(),i=t.getPropertyValue("--height").trim();return!Iy.has(n)&&!Iy.has(i)},Ry=(e,t)=>{e.style.setProperty("--ion-safe-area-top",t.top),e.style.setProperty("--ion-safe-area-bottom",t.bottom),e.style.setProperty("--ion-safe-area-left",t.left),e.style.setProperty("--ion-safe-area-right",t.right)},Ly=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.didPresent=bc(this,"ionModalDidPresent",7),this.willPresent=bc(this,"ionModalWillPresent",7),this.willDismiss=bc(this,"ionModalWillDismiss",7),this.didDismiss=bc(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=bc(this,"ionBreakpointDidChange",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.ionMount=bc(this,"ionMount",7),this.ionDragStart=bc(this,"ionDragStart",7),this.ionDragMove=bc(this,"ionDragMove",7),this.ionDragEnd=bc(this,"ionDragEnd",7),this.lockController=cm(),this.triggerController=ch(),this.coreDelegate=xp(),this.isSheetModal=!1,this.inheritedAttributes={},this.inline=!1,this.gestureAnimationDismissing=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.expandToScroll=!0,this.backdropBreakpoint=0,this.handleBehavior="none",this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.isOpen=!1,this.keepContentsMounted=!1,this.focusTrap=!0,this.canDismiss=!0,this.onHandleClick=()=>{const{sheetTransition:e,handleBehavior:t}=this;"cycle"===t&&void 0===e&&this.moveToNextBreakpoint()},this.onBackdropTap=()=>{const{sheetTransition:e}=this;void 0===e&&this.dismiss(void 0,ah)},this.onLifecycle=e=>{const t=this.usersElement,n=Dy[e.type];if(t&&n){const i=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:e.detail});t.dispatchEvent(i)}},this.onModalFocus=e=>{var t;const{dragHandleEl:n,el:i}=this;e.target===i&&null==(null===(t=i.shadowRoot)||void 0===t?void 0:t.activeElement)&&n&&-1!==n.tabIndex&&n.focus()},this.onSlotChange=({target:e})=>
2{e.assignedElements().forEach(e=>{e.querySelectorAll("ion-modal").forEach(e=>{null===e.getAttribute("data-parent-ion-modal")&&e.setAttribute("data-parent-ion-modal",this.el.id)})})}}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)}onWindowResize(){this.presented&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{const e=this.getSafeAreaContext();if(!e.isCardModal||this.enterAnimation||this.leaveAnimation||this.handleViewTransition(),e.isSheetModal&&this.updateSheetOffsetTop(),!e.isSheetModal&&!e.isCardModal){this.updateSafeAreaOverrides();const{contentEl:e,hasFooter:t}=this.findContentAndFooter();this.clearContentSafeAreaPadding(e),this.applyFullscreenSafeAreaTo(e,t)}},50))}breakpointsChanged(e){void 0!==e&&(this.sortedBreakpoints=e.sort((e,t)=>e-t))}connectedCallback(){const{el:e}=this;Vp(e),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides()}componentWillLoad(){var e;const{breakpoints:t,initialBreakpoint:n,el:i,htmlAttributes:o}=this,r=this.isSheetModal=void 0!==t&&void 0!==n,a=["aria-label","role"];this.inheritedAttributes=bd(i,a),i.parentNode&&(this.cachedOriginalParent=i.parentNode),void 0!==o&&a.forEach(e=>{o[e]&&(this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{[e]:o[e]}),delete o[e])}),r&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===n||t.includes(n)||Ms(),(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el)}componentDidLoad(){!0===this.isOpen&&_d(()=>this.present()),this.breakpointsChanged(this.breakpoints),this.triggerChanged()}getDelegate(e=!1){if(this.workingDelegate&&!e)return{delegate:this.workingDelegate,inline:this.inline};const t=this.inline=null!==this.el.parentNode&&!this.hasController;return{inline:t,delegate:this.workingDelegate=t?this.delegate||this.coreDelegate:this.delegate}}async checkCanDismiss(e,t){const{canDismiss:n}=this;return"function"==typeof n?n(e,t):n}async present(){const e=await this.lockController.lock();if(this.presented)return void e();const{presentingElement:t,el:n}=this;this.currentBreakpoint=this.initialBreakpoint;const{inline:i,delegate:o}=this.getDelegate(!0);this.ionMount.emit(),this.usersElement=await yp(o,n,this.component,["ion-page"],this.componentProps,i),gd(n)?await Rm(this.usersElement):this.keepContentsMounted||await Om(),gl(()=>this.el.classList.add("show-modal")),this.isSheetModal=void 0!==this.breakpoints&&void 0!==this.initialBreakpoint,this.setInitialSafeAreaOverrides();const r=void 0!==t;r&&"ios"===tu(this)&&(this.statusBarStyle=await fy.getStyle(),by()),await Kp(this,"modalEnter",Ey,Cy,{presentingEl:t,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll}),this.updateSafeAreaOverrides(),this.applyFullscreenSafeArea(),"undefined"!=typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),_d(()=>{this.gesture&&this.gesture.enable(!0)}))},window.addEventListener(Zv,this.keyboardOpenCallback)),this.isSheetModal?this.initSheetGesture():r&&this.initSwipeToClose(),this.initViewTransitionListener(),this.initParentRemovalObserver(),e()}initSwipeToClose(){var e;if("ios"!==tu(this))return;const{el:t}=this,n=this.leaveAnimation||Ps.get("modalLeave",Sy),i=this.animation=n(t,{presentingEl:this.presentingElement,expandToScroll:this.expandToScroll});if(!Vf(t))return;const o=null!==(e=this.statusBarStyle)&&void 0!==e?e:my.Default;this.gesture=((e,t,n,i,o,r,a)=>{const s=.5,l=e.offsetHeight;let c=!1,d=!1,u=null,p=null,h=!0,m=0;const f=Ov({el:e,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:e=>{const t=e.event.target;if(null===t||!t.closest)return!0;if(u=Uf(t),u){if(Bf(u)){const e=kd(u);p=e.querySelector(".inner-scroll")}else p=u;return!u.querySelector("ion-refresher")&&0===p.scrollTop}return null===t.closest("ion-footer")},onStart:n=>{var i;const{deltaY:r}=n;
2null===(i=window.getSelection())||void 0===i||i.removeAllRanges(),h=!u||!Bf(u)||u.scrollY,d=void 0!==e.canDismiss&&!0!==e.canDismiss,r>0&&u&&Wf(u),t.progressStart(!0,c?1:0),o()},onMove:i=>{const{deltaY:o}=i;o>0&&u&&Wf(u);const a=i.deltaY/l,c=a>=0&&d,p=c?.2:.9999,h=c?wy(a/p):a,f=Cd(1e-4,h,p);t.progressStep(f),f>=s&&m<s?vy(n):f<s&&m>=s&&by(),m=f;const g={currentY:i.currentY,deltaY:i.deltaY,velocityY:i.velocityY,progress:xy(e,i.deltaY)};r(g)},onEnd:n=>{const o=n.velocityY,r=n.deltaY/l,p=r>=0&&d,m=p?.2:.9999,g=p?wy(r/m):r,b=Cd(1e-4,g,m),v=!p&&(n.deltaY+1e3*o)/l>=s;let y=v?-.001:.001;v?(t.easing("cubic-bezier(0.32, 0.72, 0, 1)"),y+=gb([0,0],[.32,.72],[0,1],[1,1],b)[0]):(t.easing("cubic-bezier(1, 0, 0.68, 0.28)"),y+=gb([0,0],[1,0],[.68,.28],[1,1],b)[0]);const w=((e,t)=>Cd(400,e/Math.abs(1.1*t),500))(v?r*l:(1-b)*l,o);c=v,f.enable(!1),u&&Gf(u,h),t.onFinish(()=>{v||f.enable(!0)}).progressEnd(v?1:0,y,w),p&&b>m/4?yy(e,t):v&&i();const x={currentY:n.currentY,deltaY:n.deltaY,velocityY:n.velocityY,progress:xy(e,n.deltaY)};a(x)}});return f})(t,i,o,()=>this.cardOnDismiss(),()=>this.onDragStart(),e=>this.onDragMove(e),e=>this.onDragEnd(e)),this.gesture.enable(!0)}initSheetGesture(){const{wrapperEl:e,initialBreakpoint:t,backdropBreakpoint:n}=this;if(!e||void 0===t)return;const i=this.enterAnimation||Ps.get("modalEnter",Ey),o=this.animation=i(this.el,{presentingEl:this.presentingElement,currentBreakpoint:t,backdropBreakpoint:n,expandToScroll:this.expandToScroll});o.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:a}=((e,t,n,i,o,r,a=[],s,l,c,d,u,p,h)=>{const m={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==o?[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-o,opacity:0},{offset:1,opacity:0}]:[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],CONTENT_KEYFRAMES:[{offset:0,maxHeight:"100%"},{offset:1,maxHeight:"0%"}]},f=e.querySelector("ion-content"),g=n.clientHeight;let b=i,v=0,y=!1,w=null,x=null,k=null,_=null;const E=a[a.length-1],S=a[0],C=r.childAnimations.find(e=>"wrapperAnimation"===e.id),T=r.childAnimations.find(e=>"backdropAnimation"===e.id),I=r.childAnimations.find(e=>"contentAnimation"===e.id),A=()=>{!1!==e.focusTrap&&!1!==e.showBackdrop&&(e.style.setProperty("pointer-events","auto"),t.style.setProperty("pointer-events","auto"),e.classList.remove(dh))},P=()=>{e.style.setProperty("pointer-events","none"),t.style.setProperty("pointer-events","none"),e.classList.add(dh)},O=t=>{if(!x&&(x=Array.from(e.querySelectorAll("ion-footer")),!x.length))return;const n=e.querySelector(".ion-page");if(_=t,"stationary"===t)x.forEach(e=>{e.classList.remove("modal-footer-moving"),e.style.removeProperty("position"),e.style.removeProperty("width"),e.style.removeProperty("height"),e.style.removeProperty("top"),e.style.removeProperty("left"),null==n||n.style.removeProperty("padding-bottom"),null==n||n.appendChild(e)});else{let t=0;x.forEach((n,i)=>{const o=n.getBoundingClientRect(),r=document.body.getBoundingClientRect();t+=n.clientHeight;const a=o.top-r.top,s=o.left-r.left;if(n.style.setProperty("--pinned-width","".concat(n.clientWidth,"px")),n.style.setProperty("--pinned-height","".concat(n.clientHeight,"px")),n.style.setProperty("--pinned-top","".concat(a,"px")),n.style.setProperty("--pinned-left","".concat(s,"px")),0===i){k=a;const t=e.querySelector("ion-header");t&&(k-=t.clientHeight)}}),x.forEach(e=>{null==n||n.style.setProperty("padding-bottom","".concat(t,"px")),e.classList.add("modal-footer-moving"),e.style.setProperty("position","absolute"),e.style.setProperty("width","var(--pinned-width)"),e.style.setProperty("height","var(--pinned-height)"),e.style.setProperty("top","var(--pinned-top)"),e.style.setProperty("left","var(--pinned-left)"),document.body.appendChild(e)})}};C&&T&&(C.keyframes([...m.WRAPPER_KEYFRAMES]),T.keyframes([...m.BACKDROP_KEYFRAMES]),null==I||I.keyframes([...m.CONTENT_KEYFRAMES]),r.progressStart(!0,1-b),b>o&&!1!==e.focusTrap&&!1!==e.showBackdrop?A():P()),f&&b!==E&&s&&(f.scrollY=!1);const R=t=>{const{breakpoint:n,canDismiss:i,breakpointOffset:l,animated:u}=t,p=i&&0===n,h=p?b:n,g=0!==h;return b=0,C&&T&&(C.keyframes([{offset:0,transform:"translateY(".concat(100*l,"%)")},{offset:1,transform:"translateY(".concat(100*(1-h),"%)")}]),T.keyframes([{offset:0,opacity:"calc(var(--backdrop-opacity) * ".concat(gy(1-l,o),")")},{offset:1,opacity:"calc(var(--backdrop-opacity) * ".concat(gy(h,o),")")}]),I&&I.keyframes([{offset:0,maxHeight:100*(1-l)+"%"},{offset:1,maxHeight:100*h+"%"}]),r.progressStep(0)),M.enable(!1),p?yy(e,r):g||c(),!f||h!==a[a.length-1]&&s||(f.scrollY=!0),s||0!==h||O("stationary"),new Promise(t=>{r.onFinish(()=>{g?(s||O("stationary"),C&&T?_d(()=>{C.keyframes([...m.WRAPPER_KEYFRAMES]),T.keyframes([...m.BACKDROP_KEYFRAMES]),null==I||I.keyframes([...m.CONTENT_KEYFRAMES]),r.progressStart(!0,1-h),b=h,d(b),b>o&&!1!==e.focusTrap&&!1!==e.showBackdrop?A():P(),M.enable(!0),t()}):(M.enable(!0),t())):t()},{oneTimeCallback:!0}).progressEnd(1,0,u?500:0)})},L=e=>{const t=n.getBoundingClientRect().top+e,i=D(t);return a.reduce((e,t)=>
2Math.abs(t-i)<Math.abs(e-i)?t:e)},D=e=>{const t=a[a.length-1],n=N(a[0]),i=N(t),o=Math.round((n-e)/(n-i)*1e3)/1e3;return Math.max(0,Math.min(1,o))},N=t=>{const n=e.getBoundingClientRect();return window.innerHeight-n.height*t},M=Ov({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:e=>{const t=Uf(e.event.target);if(b=l(),!s&&t)return 0===(Bf(t)?kd(t).querySelector(".inner-scroll"):t).scrollTop;if(1===b&&t){const e=Bf(t)?kd(t).querySelector(".inner-scroll"):t;return!t.querySelector("ion-refresher")&&0===e.scrollTop}return!0},onStart:t=>{var n;if(null===(n=window.getSelection())||void 0===n||n.removeAllRanges(),y=void 0!==e.canDismiss&&!0!==e.canDismiss&&0===S,!s){const e=Uf(t.event.target);w=e&&Bf(e)?kd(e).querySelector(".inner-scroll"):e}s||O("moving"),t.deltaY>0&&f&&(f.scrollY=!1),_d(()=>{e.focus()}),r.progressStart(!0,1-b),u()},onMove:e=>{if(s||null===k||null===_||(e.currentY>=k&&"moving"===_?O("stationary"):e.currentY<k&&"stationary"===_&&O("moving")),!s&&e.deltaY<=0&&w)return;e.deltaY>0&&f&&(f.scrollY=!1);const t=a.length>1?1-a[1]:void 0,n=1-b+e.deltaY/g,i=void 0!==t&&n>=t&&y,o=i?.95:.9999,l=i&&void 0!==t?t+wy((n-t)/(o-t)):n;v=Cd(1e-4,l,o),r.progressStep(v);const c=L(e.deltaY),d={currentY:e.currentY,deltaY:e.deltaY,velocityY:e.velocityY,progress:D(e.currentY),snapBreakpoint:c};p(d)},onEnd:e=>{const t=L(e.deltaY),n={currentY:e.currentY,deltaY:e.deltaY,velocityY:e.velocityY,progress:D(e.currentY),snapBreakpoint:t};if(!s&&e.deltaY<=0&&w&&w.scrollTop>0)return O("stationary"),void h(n);R({breakpoint:t,breakpointOffset:v,canDismiss:y,animated:!0}),h(n)}});return{gesture:M,moveSheetToBreakpoint:R}})(this.el,this.backdropEl,e,t,n,o,this.sortedBreakpoints,this.expandToScroll,()=>{var e;return null!==(e=this.currentBreakpoint)&&void 0!==e?e:0},()=>this.sheetOnDismiss(),e=>{this.currentBreakpoint!==e&&(this.currentBreakpoint=e,this.ionBreakpointDidChange.emit({breakpoint:e}))},()=>this.onDragStart(),e=>this.onDragMove(e),e=>this.onDragEnd(e));this.gesture=r,this.moveSheetToBreakpoint=a,this.gesture.enable(!0),(!1===this.showBackdrop||!1===this.focusTrap||n>0)&&this.setupChildRoutePassthrough()}setupChildRoutePassthrough(){var e;this.cachedPageParent=this.getOriginalPageParent();const t=this.cachedPageParent;if(!t||"ION-APP"===t.tagName)return;if(Array.from(t.children).some(e=>{var t;return!(e===this.el||e instanceof il&&"none"===window.getComputedStyle(e).display||"TEMPLATE"===e.tagName||"SLOT"===e.tagName||e.nodeType===Node.TEXT_NODE&&!(null===(t=e.textContent)||void 0===t?void 0:t.trim()))}))return;t.classList.add("ion-page-overlay-passthrough");const n=t.parentElement;"ION-ROUTER-OUTLET"===(null==n?void 0:n.tagName)&&"ION-APP"!==(null===(e=n.parentElement)||void 0===e?void 0:e.tagName)&&(n.style.setProperty("pointer-events","none"),n.setAttribute("data-overlay-passthrough","true"))}getOriginalPageParent(){if(!this.cachedOriginalParent)return null;let e=this.cachedOriginalParent;for(;e&&!e.classList.contains("ion-page");)e=e.parentElement;return e}cleanupChildRoutePassthrough(){const e=this.cachedPageParent;if(!e)return;e.classList.remove("ion-page-overlay-passthrough");const t=e.parentElement;(null==t?void 0:t.hasAttribute("data-overlay-passthrough"))&&(t.style.removeProperty("pointer-events"),t.removeAttribute("data-overlay-passthrough")),this.cachedPageParent=void 0}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish(async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,sh),this.gestureAnimationDismissing=!1})}cardOnDismiss(){this.gestureAnimationDismissing=!0,vy(this.statusBarStyle),this.animation.onFinish(async()=>{await this.dismiss(void 0,sh),this.gestureAnimationDismissing=!1})}async dismiss(e,t){var n;if(this.gestureAnimationDismissing&&t!==sh)return!1;clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0;const i=await this.lockController.lock();if(await this.dismissNestedModals(),"handler"!==t&&!(await this.checkCanDismiss(e,t)))return i(),!1;const{presentingElement:o}=this;void 0!==o&&"ios"===tu(this)&&vy(this.statusBarStyle),"undefined"!=typeof window&&this.keyboardOpenCallback&&(window.removeEventListener(Zv,this.keyboardOpenCallback),this.keyboardOpenCallback=void 0);const r=await Zp(this,e,t,"modalLeave",Sy,Ty,{presentingEl:o,currentBreakpoint:null!==(n=this.currentBreakpoint)&&void 0!==n?n:this.initialBreakp
2oint,backdropBreakpoint:this.backdropBreakpoint,expandToScroll:this.expandToScroll});if(r){const{delegate:e}=this.getDelegate();await wp(e,this.usersElement),gl(()=>this.el.classList.remove("show-modal")),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),this.cleanupViewTransitionListener(),this.cleanupParentRemovalObserver(),this.cleanupSafeAreaOverrides(),this.cleanupChildRoutePassthrough()}return this.currentBreakpoint=void 0,this.animation=void 0,i(),r}onDidDismiss(){return th(this.el,"ionModalDidDismiss")}onWillDismiss(){return th(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(e){if(!this.isSheetModal)return void Ms();if(!this.breakpoints.includes(e))return void Ms("[ion-modal] - Attempted to set invalid breakpoint value ".concat(e,". Please double check that the breakpoint value is part of your defined breakpoints."));const{currentBreakpoint:t,moveSheetToBreakpoint:n,canDismiss:i,breakpoints:o,animated:r}=this;t!==e&&n&&(this.sheetTransition=n({breakpoint:e,breakpointOffset:1-t,canDismiss:void 0!==i&&!0!==i&&0===o[0],animated:r}),await this.sheetTransition,this.sheetTransition=void 0)}async getCurrentBreakpoint(){return this.currentBreakpoint}async moveToNextBreakpoint(){const{breakpoints:e,currentBreakpoint:t}=this;if(!e||null==t)return!1;const n=e.filter(e=>0!==e),i=n.indexOf(t),o=n[(i+1)%n.length];return await this.setCurrentBreakpoint(o),!0}initViewTransitionListener(){"ios"!==tu(this)||!this.presentingElement||this.enterAnimation||this.leaveAnimation||(this.currentViewIsPortrait=window.innerWidth<768)}handleViewTransition(){if(!this.presented)return;const e=window.innerWidth<768;if(this.currentViewIsPortrait===e)return;this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0);const{presentingElement:t}=this;if(!t)return;let n;n=this.currentViewIsPortrait&&!e?((e,t,n=300)=>{const{presentingEl:i}=t;if(!i)return Vm("portrait-to-landscape-transition");const o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,r=kd(i),a=document.body,s=Vm("portrait-to-landscape-transition").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n),l=Vm().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(o){const e="translateY(-10px) scale(0.915)",t="translateY(0px) scale(1)";l.addElement(i).afterStyles({transform:t}).fromTo("transform",e,t).fromTo("filter","contrast(0.85)","contrast(1)");const n=Vm().addElement(r.querySelector(".modal-shadow")).afterStyles({transform:t,opacity:"0"}).fromTo("transform",e,t);s.addAnimation([l,n])}else{const t=kd(e),n=Vm().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),o=Vm().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),r="translateY(".concat(CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",") scale(0.915)");l.addElement(i).afterStyles({transform:"translateY(0px) scale(1)","border-radius":"0px"}).beforeAddWrite(()=>a.style.setProperty("background-color","")).fromTo("transform",r,"translateY(0px) scale(1)").fromTo("filter","contrast(0.85)","contrast(1)").fromTo("border-radius","10px 10px 0 0","0px"),s.addAnimation([l,n,o])}return s})(this.el,{presentingEl:t}):((e,t,n=300)=>{const{presentingEl:i}=t;if(!i)return Vm("landscape-to-portrait-transition");const o="ION-MODAL"===i.tagName&&void 0!==i.presentingElement,r=kd(i),a=document.body,s=Vm("landscape-to-portrait-transition").addElement(e).easing("cubic-bezier(0.32,0.72,0,1)").duration(n),l=Vm().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"});if(o){const e="translateY(-10px) scale(0.915)",t="translateY(0) scale(1)";l.addElement(i).afterStyles({transform:t}).fromTo("transform",e,t);const n=Vm().addElement(r.querySelector(".modal-shadow")).afterStyles({transform:t,opacity:"0"}).fromTo("transform",e,t);s.addAnimation([l,n])}else{const t=kd(e),n=Vm().addElement(t.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity","1","1"),o=Vm().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)","var(--backdrop-opacity)"),r="translateY(".concat(CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",") scale(0.915)");l.addElement(i).afterStyles({transform:r}).beforeAddWrite(()=>a.style.setProperty("background-color","black")).keyframes([{offset:0,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"0px"},{offset:.2,transform:"translateY(0px) scale(1)",filter:"contrast(1)",borderRadius:"10px 10px 0 0"},{offset:1,transform:r,filter:"contrast(0.85)",borderRadius:"10px 10px 0 0"}]),s.addAnimation([l,n,o])}return s})(this.el,{presentingEl:t}),this.currentViewIsPortrait=e,this.viewTransitionAnimation=n,n.play().then(()=>{this.viewTransitionAnimation=void 0,_d(()=>this.updateSafeAreaOverrides()),this.reinitSwipeToClose()})}cleanupViewTransitionListener(){this.resizeTimeout&&(clearTimeout(this.resizeTimeout),this.resizeTimeout=void 0),this.viewTransitionAnimation&&(this.viewTransitionAnimation.destroy(),this.viewTransitionAnimation=void 0)}reinitSwipeToClose(){"ios"===tu(this)&&this.presentingElement&&(this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.animation&&(this.animation.progressEnd(0,0,0),this.animation.destroy(),this.animation=void 0),_d(()=>{this.ensureCorrectModalPosition(),this.initSwipeToClose()}))}ensureCorrectModalPosition(){const{el:e,presentingElement:t}=this,n=kd(e).querySelector(".modal-wrapper");if(n&&(n.style.transform="translateY(0vh)",n.style.opacity="1"),"ION-MODAL"===(null==t?void 0:t.tagName))if(window.innerWidth<768){const e=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px";t.style.transform="translateY(".concat(e,") scale(0.915)")}else t.style.transform="translateY(0px) scale(1)"}async dismissNestedModals(){const e=document.querySelectorAll('ion-modal[data-
2parent-ion-modal="'.concat(this.el.id,'"]'));null==e||e.forEach(async e=>{await e.dismiss(void 0,"parent-dismissed")})}initParentRemovalObserver(){"undefined"!=typeof MutationObserver&&"undefined"!=typeof window&&this.cachedOriginalParent&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_NODE&&this.cachedOriginalParent.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&(this.hasController||this.cachedOriginalParent===document.body||"ION-APP"===this.cachedOriginalParent.tagName||(this.parentRemovalObserver=new MutationObserver(e=>{e.forEach(e=>{"childList"===e.type&&e.removedNodes.length>0&&(Array.from(e.removedNodes).some(e=>{var t,n;const i=e===this.cachedOriginalParent,o=!!this.cachedOriginalParent&&(null===(n=(t=e).contains)||void 0===n?void 0:n.call(t,this.cachedOriginalParent));return i||o})||this.cachedOriginalParent&&!this.cachedOriginalParent.isConnected)&&(this.dismiss(void 0,"parent-removed"),this.cachedOriginalParent=void 0)})}),this.parentRemovalObserver.observe(document.body,{childList:!0,subtree:!0})))}cleanupParentRemovalObserver(){var e;null===(e=this.parentRemovalObserver)||void 0===e||e.disconnect(),this.parentRemovalObserver=void 0}onDragStart(){this.ionDragStart.emit()}onDragMove(e){this.ionDragMove.emit(e)}onDragEnd(e){this.ionDragEnd.emit(e)}getSafeAreaContext(){return{isSheetModal:this.isSheetModal,isCardModal:void 0!==this.presentingElement&&"ios"===tu(this),presentingElement:this.presentingElement,breakpoints:this.breakpoints,currentBreakpoint:this.currentBreakpoint}}setInitialSafeAreaOverrides(){const e=Object.assign(Object.assign({},this.getSafeAreaContext()),{hasCustomDimensions:Oy(this.el)}),t=(e=>{const{isSheetModal:t,isCardModal:n}=e;return t?{top:"0px",bottom:"inherit",left:"0px",right:"0px"}:n?{top:"inherit",bottom:"inherit",left:"0px",right:"0px"}:fp&&fp.matchMedia("(min-width: 768px) and (min-height: 600px)").matches||e.hasCustomDimensions?{top:"0px",bottom:"0px",left:"0px",right:"0px"}:{top:"inherit",bottom:"inherit",left:"inherit",right:"inherit"}})(e);Ry(this.el,t),e.isSheetModal&&this.updateSheetOffsetTop()}updateSheetOffsetTop(){const e=(()=>{if(null!==Ay)return Ay;const e=null==fp?void 0:fp.document;if(!(null==e?void 0:e.body))return 0;const t=e.createElement("div");t.style.cssText="position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);",e.body.appendChild(t);const n=parseFloat(getComputedStyle(t).paddingTop)||0;return t.remove(),Ay=n,Py||(Py=!0,_d(()=>{Ay=null,Py=!1})),n})();this.el.style.setProperty("--ion-modal-offset-top","".concat(e,"px"))}updateSafeAreaOverrides(){const{wrapperEl:e,el:t}=this,n=this.getSafeAreaContext();if(n.isSheetModal)return;if(n.isCardModal)return;if(!e)return;const i=(e=>{var t,n;const i=e.getBoundingClientRect(),o=null!==(t=null==fp?void 0:fp.innerHeight)&&void 0!==t?t:0,r=null!==(n=null==fp?void 0:fp.innerWidth)&&void 0!==n?n:0;return{top:i.top<=5?"inherit":"0px",bottom:i.bottom>=o-5?"inherit":"0px",left:i.left<=5?"inherit":"0px",right:i.right>=r-5?"inherit":"0px"}})(e);Ry(t,i)}applyFullscreenSafeArea(){const e=this.getSafeAreaContext();if(e.isSheetModal||e.isCardModal)return;const{contentEl:t,hasFooter:n}=this.findContentAndFooter();this.applyFullscreenSafeAreaTo(t,n)}applyFullscreenSafeAreaTo(e,t){e&&!t&&e.style.setProperty("--internal-content-safe-area-padding-bottom","var(--ion-safe-area-bottom, 0px)")}clearContentSafeAreaPadding(e){e&&e.style.removeProperty("--internal-content-safe-area-padding-bottom")}findContentAndFooter(){let e=null,t=!1;for(const n of Array.from(this.el.children)){"ION-CONTENT"===n.tagName&&(e=n),"ION-FOOTER"===n.tagName&&(t=!0);for(const i of Array.from(n.children))"ION-CONTENT"!==i.tagName||e||(e=i),"ION-FOOTER"===i.tagName&&(t=!0)}return{contentEl:e,hasFooter:t}}cleanupSafeAreaOverrides(){var e;(e=this.el).style.removeProperty("--ion-safe-area-top"),e.style.removeProperty("--ion-safe-area-bottom"),e.style.removeProperty("--ion-safe-area-left"),e.style.removeProperty("--ion-safe-area-right"),this.el.style.removeProperty("--ion-modal-offset-top");const{contentEl:t}=this.findContentAndFooter();this.clearContentSafeAreaPadding(t)}
2render(){const{handle:e,isSheetModal:t,presentingElement:n,htmlAttributes:i,handleBehavior:o,inheritedAttributes:r,focusTrap:a,expandToScroll:s}=this,l=!1!==e&&t,c=tu(this),d=void 0!==n&&"ios"===c,u="cycle"===o;return Ql(tc,Object.assign({key:"bad33199a939bd1e289b3b3f936c676ba403224f","no-router":!0,tabIndex:u&&t&&l?0:-1},i,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign({[c]:!0,"modal-default":!d&&!t,"modal-card":d,"modal-sheet":t,"modal-no-expand-scroll":t&&!s,"overlay-hidden":!0,[dh]:!1===a},Au(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle,onFocus:this.onModalFocus}),Ql("ion-backdrop",{key:"d098688a65fb2d1befb255f0e59fd4c00b401092",ref:e=>this.backdropEl=e,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===c&&Ql("div",{key:"96cd2e59a7d1c0de7c9afb8f8d366367b09fbc93",class:"modal-shadow"}),Ql("div",Object.assign({key:"882ccc39ce344a2c51d6508c11c3f40b26eaf2a7",role:"dialog"},r,{"aria-modal":"true",tabIndex:-1,class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:e=>this.wrapperEl=e}),l&&Ql("button",{key:"714d9904fcc8105b21e2bb66cdc032bffd685d72",class:"modal-handle",tabIndex:u?0:-1,"aria-label":"Activate to adjust the size of the dialog overlaying the screen",onClick:u?this.onHandleClick:void 0,part:"handle",ref:e=>this.dragHandleEl=e}),Ql("slot",{key:"79dfbeb3fe5eee7dc3a243ad880d3f63184f3ab7",onSlotchange:this.onSlotChange}
2)))}get el(){return this}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],breakpoints:[{breakpointsChanged:0}]}}static get style(){return{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);
2-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{outline:none}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@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, var(--ion-background-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-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-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-sha
2dow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-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);
2-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-wrapper{outline:none}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@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, var(--ion-background-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-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}: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}'}}},[289,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],expandToScroll:[4,"expand-to-scroll"],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"],focusTrap:[4,"focus-trap"],canDismiss:[4,"can-dismiss"],isSheetModal:[32],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]},[[9,"resize","onWindowResize"]],{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}],breakpoints:[{breakpointsChanged:0}]}]),Dy={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};function Ny(){"undefined"!=typeof customElements&&["ion-modal","ion-backdrop"].forEach(e=>{switch(e){case"ion-modal":customElements.get(e)||customElements.define(e,Ly);break;case"ion-backdrop":customElements.get(e)||Cu()}})}const My=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionStyle=bc(this,"ionStyle",7)}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const e=this.getSize();this.ionStyle.emit({["title-".concat(e)]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const e=tu(this),t=this.getSize();return Ql(tc,{key:"44e63f8439df64c470692904427b417e19406476",class:Iu(this.color,{[e]:!0,["title-".concat(t)]:!0,"title-rtl":"rtl"===document.dir})},Ql("div",{key:"784cf60a0db16045391891cc8fad0c7dbeba4039",class:"toolbar-title"},Ql("slot",{key:"0c720a50479ba257e8756337aeb9b0ab7516a227"})))}get el(){return this}static get watchers(){return{size:[{sizeChanged:0}]}}static get style(){return{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}:host{inset-inline-start: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}
2: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}"}}},[289,"ion-title",{color:[513],size:[1]},void 0,{size:[{sizeChanged:0}]}]);function zy(){"undefined"!=typeof customElements&&["ion-title"].forEach(e=>{"ion-title"===e&&(customElements.get(e)||customElements.define(e,My))})}const jy=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map}componentWillLoad(){const e=Array.from(this.el.querySelectorAll("ion-buttons")),t=e.find(e=>"start"===e.slot);t&&t.classList.add("buttons-first-slot");const n=e.reverse(),i=n.find(e=>"end"===e.slot)||n.find(e=>"primary"===e.slot)||n.find(e=>"secondary"===e.slot);i&&i.classList.add("buttons-last-slot")}childrenStyle(e){e.stopPropagation();const t=e.target.tagName,n=e.detail,i={},o=this.childrenStyles.get(t)||{};let r=!1;Object.keys(n).forEach(e=>{const t="toolbar-".concat(e),a=n[e];a!==o[t]&&(r=!0),a&&(i[t]=!0)}),r&&(this.childrenStyles.set(t,i),ed(this))}render(){const e=tu(this),t={};return this.childrenStyles.forEach(e=>{Object.assign(t,e)}),Ql(tc,{key:"b849db2863778dee6c5a251bffa1b3a657aeb036",class:Object.assign(Object.assign({},t),Iu(this.color,{[e]:!0,"in-toolbar":Tu("ion-toolbar",this.el)}))},Ql("div",{key:"67f5bba9c4f527c3f35bfe1313a2b85741f9b246",class:"toolbar-background",part:"background"}),Ql("div",{key:"085e8c68f056e5b0deb9d1606431fbeb45dae8e5",class:"toolbar-container",part:"container"},Ql("slot",{key:"15227c79c3baf883fd8c43fdb7e1313453933c79",name:"start"}),Ql("slot",{key:"0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8",name:"secondary"}),Ql("div",{key:"57e4628c1fa89df79dd80456259db961bb691404",class:"toolbar-content",part:"content"},Ql("slot",{key:"82c2f6e1acf8d96db259bd8baf295881801edbd5"})),Ql("slot",{key:"b2d4afb15214199f206c0a5e08b581e4c9c2f58a",name:"primary"}),Ql("slot",{key:"bfb909a0c472f8834046c2ea23bef2f562167ad3",name:"end"})))}get el(){return this}static get style(){return{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, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));
2--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-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, var(--ion-background-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}"}}},[289,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function By(){"undefined"!=typeof customElements&&["ion-toolbar"].forEach(e=>{"ion-toolbar"===e&&(customElements.get(e)||customElements.define(e,jy))})}const Fy=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.pendingEnterTarget=null,this.cancelText="Close",this.options=[]}closeModal(){const e=this.el.closest("ion-modal");e&&e.dismiss()}findOptionFromEvent(e){const{options:t}=this;return t.find(t=>t.value===e.target.value)}getValues(e){const{multiple:t,options:n}=this;if(t)return n.filter(e=>e.checked).map(e=>e.value);const i=e?this.findOptionFromEvent(e):null;return i?i.value:void 0}callOptionHandler(e){const t=this.findOptionFromEvent(e),n=this.getValues(e);(null==t?void 0:t.handler)&&rh(t.handler,n)}setChecked(e){const{multiple:t}=this,n=this.findOptionFromEvent(e);t&&n&&(n.checked=e.detail.checked)}renderRadioOptions(){const e=this.options.filter(e=>e.checked).map(e=>e.value)[0];return Ql("ion-radio-group",{value:e,onIonChange:e=>this.callOptionHandler(e)},this.options.map(t=>Ql("ion-item",{lines:"none",class:Object.assign({"item-radio-checked":t.value===e},Au(t.cssClass))},Ql("ion-radio",{value:t.value,disabled:t.disabled,justify:"start",labelPlacement:"end",onClick:()=>this.closeModal(),onKeyDown:e=>{"Enter"!==e.key||e.repeat||(this.pendingEnterTarget=e.currentTarget)},onKeyUp:e=>{if(" "===e.key)this.closeModal();else if("Enter"===e.key){const t=this.pendingEnterTarget===e.currentTarget;this.pendingEnterTarget=null,t&&this.closeModal()}}},t.text))))}renderCheckboxOptions(){return this.options.map(e=>Ql("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},Au(e.cssClass))},Ql("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),ed(this)}},e.text)))}render(){return Ql(tc,{key:"fda0bf6f93cd5ec9f3c64f88a52de849e0e140a2",class:tu(this)},Ql("ion-header",{key:"27c0b17175a53db9ff159feeeb96451a3f011dab"},Ql("ion-toolbar",{key:"91a4155ebc317fbc9f1bb3e26a7e94754b953c9b"},void 0!==this.header&&Ql("ion-title",{key:"f6dae8e4e381f322cc90efefd9bb6ef81d4d2f3e"},this.header),Ql("ion-buttons",{key:"e7760532fb2e7e7385ed6e62097d92d96ff20148",slot:"end"},Ql("ion-button",{key:"4999b6fc46cba138186546dca67b7950855e6fb7",onClick:()=>this.closeModal()},this.cancelText)))),Ql("ion-content",{key:"c73f80a4bc25b9061ea65cf11e5d811c1a4d8704"}
2,Ql("ion-list",{key:"b21905d15b36ad5eb45845e768918d2763cf48b1"},!0===this.multiple?this.renderCheckboxOptions():this.renderRadioOptions())))}get el(){return this}static get style(){return{ionic:'.sc-ion-select-modal-ionic-h{height:100%}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="container"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-ionic{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-ionic{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-ionic{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));
2--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, #0054e9)}',ios:'.sc-ion-select-modal-ios-h{height:100%}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));content:""}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}',md:'.sc-ion-select-modal-md-h{height:100%}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(container),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="container"]{display:none}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(label),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));
2--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, #0054e9)}'}}},[34,"ion-select-modal",{header:[1],cancelText:[1,"cancel-text"],multiple:[4],options:[16]}]);const Vy=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.pendingEnterTarget=null,this.options=[]}findOptionFromEvent(e){const{options:t}=this;return t.find(t=>t.value===e.target.value)}callOptionHandler(e){const t=this.findOptionFromEvent(e),n=this.getValues(e);(null==t?void 0:t.handler)&&rh(t.handler,n)}dismissParentPopover(){const e=this.el.closest("ion-popover");e&&e.dismiss()}setChecked(e){const{multiple:t}=this,n=this.findOptionFromEvent(e);t&&n&&(n.checked=e.detail.checked)}getValues(e){const{multiple:t,options:n}=this;if(t)return n.filter(e=>e.checked).map(e=>e.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(e=>Ql("ion-item",{class:Object.assign({"item-checkbox-checked":e.checked},Au(e.cssClass))},Ql("ion-checkbox",{value:e.value,disabled:e.disabled,checked:e.checked,justify:"start",labelPlacement:"end",onIonChange:e=>{this.setChecked(e),this.callOptionHandler(e),ed(this)}},e.text)))}renderRadioOptions(e){const t=e.filter(e=>e.checked).map(e=>e.value)[0];return Ql("ion-radio-group",{value:t,onIonChange:e=>this.callOptionHandler(e)},e.map(e=>Ql("ion-item",{class:Object.assign({"item-radio-checked":e.value===t},Au(e.cssClass))},Ql("ion-radio",{value:e.value,disabled:e.disabled,onClick:()=>this.dismissParentPopover(),onKeyDown:e=>{"Enter"!==e.key||e.repeat||(this.pendingEnterTarget=e.currentTarget)},onKeyUp:e=>{if(" "===e.key)this.dismissParentPopover();else if("Enter"===e.key){const t=this.pendingEnterTarget===e.currentTarget;this.pendingEnterTarget=null,t&&this.dismissParentPopover()}}},e.text))))}render(){const{header:e,message:t,options:n,subHeader:i}=this,o=void 0!==i||void 0!==t;return Ql(tc,{key:"e7449a1ecfcdbf45a79f8e26a00253c4e146448a",class:tu(this)},Ql("ion-list",{key:"52abdfc8668c3429a0dcefef8ddedb6647fdd894"},void 0!==e&&Ql("ion-list-header",{key:"978e5c03728756feafcc60a0e10e6ec59bf2ae11"},e),o&&Ql("ion-item",{key:"e93c44e7f07a76def16e4b11f0fb4780d84ed402"},Ql("ion-label",{key:"bba1aac43b0bc7f4f00978dd8301985233f3725c",class:"ion-text-wrap"},void 0!==i&&Ql("h3",{key:"ad96f6017cf2cc5219540bded2c4f1ca3b532de2"},i),void 0!==t&&Ql("p",{key:"3fd038921dc40c4d0c29734433984b279ccaeec3"},t))),this.renderOptions(n)))}get el(){return this}static get style(){return{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),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom: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, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));
2--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, #0054e9)}'}}},[34,"ion-select-popover",{header:[1],subHeader:[1,"sub-header"],message:[1],multiple:[4],options:[16]}]);const Uy=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionCancel=bc(this,"ionCancel",7),this.ionDismiss=bc(this,"ionDismiss",7),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.ionStyle=bc(this,"ionStyle",7),this.inputId="ion-sel-"+$y++,this.helperTextId=this.inputId+"-helper-text",this.errorTextId=this.inputId+"-error-text",this.inheritedAttributes={},this.isExpanded=!1,this.hasFocus=!1,this.isInvalid=!1,this.cancelText="Cancel",this.disabled=!1,this.interface="alert",this.interfaceOptions={},this.labelPlacement="start",this.multiple=!1,this.name=this.inputId,this.okText="OK",this.required=!1,this.onClick=e=>{const t=e.target,n=t.closest('[slot="start"], [slot="end"]');t===this.el||null===n?(this.setFocus(),this.open(e)):e.preventDefault()},this.onFocus=()=>{this.hasFocus=!0,this.ionFocus.emit()},this.onBlur=()=>{this.hasFocus=!1,this.ionBlur.emit()},this.onLabelClick=e=>{e.target===e.currentTarget&&e.stopPropagation()}}styleChanged(){this.emitStyle()}setValue(e){this.value=e,this.ionChange.emit({value:e})}async connectedCallback(){const{el:e}=this;this.notchController=Ng(e,()=>this.notchSpacerEl,()=>this.labelSlot),this.updateOverlayOptions(),this.emitStyle(),this.mutationO=eb(this.el,"ion-select-option",async()=>{this.updateOverlayOptions(),ed(this)}),"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(()=>{const e=Wu(this.el);this.isInvalid!==e&&(this.isInvalid=e,Promise.resolve().then(()=>{this.hintTextId=this.getHintTextId()}))}),this.validationObserver.observe(e,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=Wu(this.el)}componentWillLoad(){this.inheritedAttributes=bd(this.el,["aria-label"]),this.hintTextId=this.getHintTextId()}componentDidLoad(){this.emitStyle()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0),this.notchController&&(this.notchController.destroy(),this.notchController=void 0),this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}async open(e){if(this.disabled||this.isExpanded)return;this.isExpanded=!0;const t=this.overlay=await this.createOverlay(e),n=()=>{const e=this.childOpts.findIndex(e=>e.value===this.value);if(e>-1){const n=t.querySelector(".select-interface-option:nth-of-type(".concat(e+1,")"));if(n){const e=n.querySelector("ion-radio, ion-checkbox");e&&(n.scrollIntoView({block:"nearest"}),e.setFocus()),Ed(n)}}else{const e=t.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");e&&(e.setFocus(),Ed(e.closest("ion-item")))}};if("modal"===this.interface)t.addEventListener("ionModalWillPresent",n,{once:!0});else if("popover"===this.interface)t.addEventListener("ionPopoverWillPresent",n,{once:!0});else{const e=()=>{requestAnimationFrame(()=>{n()})};"alert"===this.interface?t.addEventListener("ionAlertWillPresent",e,{once:!0}):"action-sheet"===this.interface&&t.addEventListener("ionActionSheetWillPresent",e,{once:!0})}return t.onDidDismiss().then(()=>{this.overlay=void 0,this.isExpanded=!1,this.ionDismiss.emit(),this.setFocus()}),await t.present(),t}createOverlay(e){let t=this.interface;return"action-sheet"===t&&this.multiple&&(Ms('[ion-select] - Interface cannot be "'.concat(t,'" with a multi-value select. Using the "alert" interface instead.')),t="alert"),"popover"!==t||e||(Ms('[ion-select] - Interface cannot be a "'.concat(t,'" without passing an event. Using the "alert" interface instead.')),t="alert"),"action-sheet"===t?this.openActionSheet():"popover"===t?this.openPopover(e):"modal"===t?this.openModal():this.openAlert()}updateOverlayOptions(){const e=this.overlay;if(!e)return;const t=this.childOpts,n=this.value;switch(this.interface){case"action-sheet":e.buttons=this.createActionSheetButtons(t,n);break;case"popover":const i=e.querySelector("ion-select-popover");i&&(i.options=this.createOverlaySelectOptions(t,n));break;case"modal":const o=e.querySelector("ion-select-modal");o&&(o.options=this.createOverlaySelectOptions(t,n));break;
2case"alert":e.inputs=this.createAlertInputs(t,this.multiple?"checkbox":"radio",n)}}createActionSheetButtons(e,t){const n=e.map(e=>{const n=qy(e),i=Array.from(e.classList).filter(e=>"hydrated"!==e).join(" "),o="".concat(Yy," ").concat(i),r=$b(t,n,this.compareWith);return{role:r?"selected":"",text:e.textContent,cssClass:o,handler:()=>{this.setValue(n)},htmlAttributes:{"aria-checked":r?"true":"false",role:"radio"}}});return n.push({text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}}),n}createAlertInputs(e,t,n){return e.map(e=>{const i=qy(e),o=Array.from(e.classList).filter(e=>"hydrated"!==e).join(" ");return{type:t,cssClass:"".concat(Yy," ").concat(o),label:e.textContent||"",value:i,checked:$b(n,i,this.compareWith),disabled:e.disabled}})}createOverlaySelectOptions(e,t){return e.map(e=>{const n=qy(e),i=Array.from(e.classList).filter(e=>"hydrated"!==e).join(" ");return{text:e.textContent||"",cssClass:"".concat(Yy," ").concat(i),value:n,checked:$b(t,n,this.compareWith),disabled:e.disabled,handler:e=>{this.setValue(e),this.multiple||this.close()}}})}async openPopover(e){const{fill:t,labelPlacement:n}=this,i=this.interfaceOptions,o=tu(this),r="md"!==o,a=this.multiple,s=this.value;let l=e,c="auto";"floating"===n||"stacked"===n||"md"===o&&void 0!==t?c="cover":l=Object.assign(Object.assign({},e),{detail:{ionShadowTarget:this.nativeWrapperEl}});const d=Object.assign(Object.assign({mode:o,event:l,alignment:"center",size:c,showBackdrop:r},i),{component:"ion-select-popover",cssClass:["select-popover",i.cssClass],componentProps:{header:i.header,subHeader:i.subHeader,message:i.message,multiple:a,value:s,options:this.createOverlaySelectOptions(this.childOpts,s)}});return Bp.create(d)}async openActionSheet(){const e=tu(this),t=this.interfaceOptions,n=Object.assign(Object.assign({mode:e},t),{buttons:this.createActionSheetButtons(this.childOpts,this.value),cssClass:["select-action-sheet",t.cssClass]});return Mp.create(n)}async openAlert(){const e=this.interfaceOptions,t=this.multiple?"checkbox":"radio",n=tu(this),i=Object.assign(Object.assign({mode:n},e),{header:e.header?e.header:this.labelText,inputs:this.createAlertInputs(this.childOpts,t,this.value),buttons:[{text:this.cancelText,role:"cancel",handler:()=>{this.ionCancel.emit()}},{text:this.okText,handler:e=>{this.setValue(e)}}],cssClass:["select-alert",e.cssClass,this.multiple?"multiple-select-alert":"single-select-alert"]});return Np.create(i)}openModal(){const{multiple:e,value:t,interfaceOptions:n}=this,i=tu(this),o=Object.assign(Object.assign({},n),{mode:i,cssClass:["select-modal",n.cssClass],component:"ion-select-modal",componentProps:{header:n.header,cancelText:this.cancelText,multiple:e,value:t,options:this.createOverlaySelectOptions(this.childOpts,t)}});return jp.create(o)}close(){return this.overlay?this.overlay.dismiss():Promise.resolve(!1)}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:Wy(this.childOpts,this.value,this.compareWith)}setFocus(){this.focusEl&&this.focusEl.focus()}emitStyle(){const{disabled:e}=this;this.ionStyle.emit({"interactive-disabled":e})}renderLabel(){const{label:e}=this;return Ql("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel},part:"label"},void 0===e?Ql("slot",{name:"label"}):Ql("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"===tu(this)&&"outline"===this.fill?[Ql("div",{class:"select-outline-container"},Ql("div",{class:"select-outline-start"}),Ql("div",{class:{"select-outline-notch":!0,"select-outline-notch-hidden":!this.hasLabel}},Ql("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),Ql("div",{class:"select-outline-end"})),this.renderLabel()]:this.renderLabel()}renderSelectText(){const{placeholder:e}=this;let t=!1,n=this.getText();return""===n&&void 0!==e&&(n=e,t=!0),Ql("div",{"aria-hidden":"true",class:{"select-text":!0,"select-placeholder":t},part:t?"placeholder":"text"},n)}renderSelectIcon(){const e=tu(this),{isExpanded:t,toggleIcon:n,expandedIcon:i}=this;let o;return o=t&&void 0!==i?i:null!=n?n:"ios"===e?"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='m136 208 120-104 120 104M136 304l120 104 120-104' class='ionicon-fill-none'/></svg>":Nd,Ql("ion-icon",{class:"select-icon",part:"icon","aria-hidden":"true",icon:o})}get ariaLabel(){var e;const{placeholder:t,inheritedAttributes:n}=this,i=this.getText(),o=null!==(e=n["aria-label"])&&void 0!==e?e:this.labelText;let r=i;return""===r&&void 0!==t&&(r=t),void 0!==o&&(r=""===r?o:"".concat(o,", ").concat(r)),r}renderListbox(){const{disabled:e,inputId:t,isExpanded:n,required:i}=this;return Ql("button",{disabled:e,id:t,"aria-label":this.ariaLabel,"aria-haspopup":"dialog","aria-expanded":""+n,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,"aria-required":""+i,onFocus:this.onFocus,onBlur:this.onBlur,ref:e=>this.focusEl=e})}getHintTextId(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return o&&t?i:e?n:void 0}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return[Ql("div",{id:n,class:"helper-text",part:"supporting-text helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",part:"supporting-text error-text",role:"alert"},o?t:null)]}renderBottomContent(){const{helperText:e,errorText:t}=this;if(e||t)return Ql("div",{class:"select-bottom",part:"bottom"},this.renderHintText())}
2render(){const{disabled:e,el:t,isExpanded:n,expandedIcon:i,labelPlacement:o,justify:r,placeholder:a,fill:s,shape:l,name:c,value:d,hasFocus:u}=this,p=tu(this),h="floating"===o||"stacked"===o,m=!h&&void 0!==r,f=rp(t)?"rtl":"ltr",g=Tu("ion-item",this.el),b="md"===p&&"outline"!==s&&!g,v=this.hasValue(),y=null!==t.querySelector('[slot="start"], [slot="end"]');Sd(0,t,c,Hy(d),e);const w="stacked"===o||"floating"===o&&(v||u||n||y);return Ql(tc,{key:"f16327d6866ffee76e1618fcd3281590ca0fd56d",onClick:this.onClick,class:Iu(this.color,{[p]:!0,"in-item":g,"in-item-color":Tu("ion-item.ion-color",t),"select-disabled":e,"select-expanded":n,"has-expanded-icon":void 0!==i,"has-value":v,"label-floating":w,"has-placeholder":void 0!==a,"has-focus":u,"ion-focusable":!0,["select-"+f]:!0,["select-fill-"+s]:void 0!==s,["select-justify-"+r]:m,["select-shape-"+l]:void 0!==l,["select-label-placement-"+o]:!0})},Ql("label",{key:"db13f76b384a7a7461c1ad752108eadf9c0213be",class:"select-wrapper",id:"select-label",onClick:this.onLabelClick,part:"wrapper"},this.renderLabelContainer(),Ql("div",{key:"2fb0e57bd596c0f525be79293b7da4aca55a9385",class:"select-wrapper-inner",part:"inner"},Ql("slot",{key:"cd694c36242789a89461ed3412af9891ad68411b",name:"start"}),Ql("div",{key:"fdf62911be54f4ab29eb3c2eb153f082e76a8f49",class:"native-wrapper",ref:e=>this.nativeWrapperEl=e,part:"container"},this.renderSelectText(),this.renderListbox()),Ql("slot",{key:"a32f5c4b101d4d6ad45870f4c4446960009377f5",name:"end"}),!h&&this.renderSelectIcon()),h&&this.renderSelectIcon(),b&&Ql("div",{key:"61f792024a5f221ef4f28a3c249bd3a0de5edeab",class:"select-highlight"})),this.renderBottomContent())}get el(){return this}static get watchers(){return{disabled:[{styleChanged:0}],isExpanded:[{styleChanged:0}],placeholder:[{styleChanged:0}],value:[{styleChanged:0}]}}static get style(){return{ios:":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}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);
2display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;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)}.select-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: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;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.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}
2:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-focus.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]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #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:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}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;-ms-flex-pack:justify;justify-content:space-between;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)}.select-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: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;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;
2max-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(.has-focus.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]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-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, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-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(.select-expanded.select-fill-solid.ion-valid),: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, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.has-focus){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75
2)}:host(.in-item.select-expanded.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-solid) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-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, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.has-focus){--border-width:var(--highlight-height);--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-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}: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-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}: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(.in-item.select-expanded.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-outline) .select-wrapper .select-icon{color:var(--highlight-color)}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))
2));--highlight-height:2px}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.has-focus) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.has-focus) .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:var(--highlight-height);-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)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.has-focus) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}.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, var(--ion-text-color-step-500, gray))}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.in-item.select-expanded) .select-wrapper .select-icon,:host(.in-item.has-focus) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid) .select-wrapper .select-icon{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}: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(.has-focus) .select-wrapper .select-icon{color:var(--highlight-color)}: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}"}}},[289,"ion-select",{cancelText:[1,"cancel-text"],color:[513],compareWith:[1,"compare-with"],disabled:[4],fill:[1],errorText:[1,"error-text"],helperText:[1,"helper-text"],interface:[1],interfaceOptions:[8,"interface-options"],justify:[1],label:[1],labelPlacement:[1,"label-placement"],multiple:[4],name:[1],okText:[1,"ok-text"],placeholder:[1],selectedText:[1,"selected-text"],toggleIcon:[1,"toggle-icon"],exp
2andedIcon:[1,"expanded-icon"],shape:[1],value:[1032],required:[4],isExpanded:[32],hasFocus:[32],isInvalid:[32],hintTextId:[32],open:[64]},void 0,{disabled:[{styleChanged:0}],isExpanded:[{styleChanged:0}],placeholder:[{styleChanged:0}],value:[{styleChanged:0}]}]),qy=e=>{const t=e.value;return void 0===t?e.textContent||"":t},Hy=e=>{if(null!=e)return Array.isArray(e)?e.join(","):""+e},Wy=(e,t,n)=>void 0===t?"":Array.isArray(t)?t.map(t=>Gy(e,t,n)).filter(e=>null!==e).join(", "):Gy(e,t,n)||"",Gy=(e,t,n)=>{const i=e.find(e=>Gb(t,qy(e),n));return i?i.textContent:null};let $y=0;const Yy="select-interface-option",Xy=function(){"undefined"!=typeof customElements&&["ion-select","ion-action-sheet","ion-alert","ion-backdrop","ion-button","ion-buttons","ion-checkbox","ion-content","ion-header","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-modal","ion-popover","ion-radio","ion-radio-group","ion-ripple-effect","ion-select-modal","ion-select-popover","ion-title","ion-toolbar"].forEach(e=>{switch(e){case"ion-select":customElements.get(e)||customElements.define(e,Uy);break;case"ion-action-sheet":customElements.get(e)||qv();break;case"ion-alert":customElements.get(e)||Jv();break;case"ion-backdrop":customElements.get(e)||Cu();break;case"ion-button":customElements.get(e)||Fu();break;case"ion-buttons":customElements.get(e)||qu();break;case"ion-checkbox":customElements.get(e)||Yu();break;case"ion-content":customElements.get(e)||cp();break;case"ion-header":customElements.get(e)||hg();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-item":customElements.get(e)||Gg();break;case"ion-label":customElements.get(e)||lb();break;case"ion-list":customElements.get(e)||ub();break;case"ion-list-header":customElements.get(e)||mb();break;case"ion-modal":customElements.get(e)||Ny();break;case"ion-popover":customElements.get(e)||uf();break;case"ion-radio":customElements.get(e)||Kb();break;case"ion-radio-group":customElements.get(e)||ev();break;case"ion-ripple-effect":customElements.get(e)||ju();break;case"ion-select-modal":customElements.get(e)||"undefined"!=typeof customElements&&["ion-select-modal","ion-button","ion-buttons","ion-checkbox","ion-content","ion-header","ion-icon","ion-item","ion-list","ion-radio","ion-radio-group","ion-ripple-effect","ion-title","ion-toolbar"].forEach(e=>{switch(e){case"ion-select-modal":customElements.get(e)||customElements.define(e,Fy);break;case"ion-button":customElements.get(e)||Fu();break;case"ion-buttons":customElements.get(e)||qu();break;case"ion-checkbox":customElements.get(e)||Yu();break;case"ion-content":customElements.get(e)||cp();break;case"ion-header":customElements.get(e)||hg();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-item":customElements.get(e)||Gg();break;case"ion-list":customElements.get(e)||ub();break;case"ion-radio":customElements.get(e)||Kb();break;case"ion-radio-group":customElements.get(e)||ev();break;case"ion-ripple-effect":customElements.get(e)||ju();break;case"ion-title":customElements.get(e)||zy();break;case"ion-toolbar":customElements.get(e)||By()}});break;case"ion-select-popover":customElements.get(e)||"undefined"!=typeof customElements&&["ion-select-popover","ion-checkbox","ion-icon","ion-item","ion-label","ion-list","ion-list-header","ion-radio","ion-radio-group","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-select-popover":customElements.get(e)||customElements.define(e,Vy);break;case"ion-checkbox":customElements.get(e)||Yu();break;case"ion-icon":customElements.get(e)||bu();break;case"ion-item":customElements.get(e)||Gg();break;case"ion-label":customElements.get(e)||lb();break;case"ion-list":customElements.get(e)||ub();break;case"ion-list-header":customElements.get(e)||mb();break;case"ion-radio":customElements.get(e)||Kb();break;case"ion-radio-group":customElements.get(e)||ev();break;case"ion-ripple-effect":customElements.get(e)||ju()}});break;case"ion-title":customElements.get(e)||zy();break;case"ion-toolbar":customElements.get(e)||By()}})},Ky=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inputId="ion-selopt-"+Jy++,this.disabled=!1}render(){return Ql(tc,{key:"824730b6c1e4f15b716e91b05840e890af5f1577",role:"option",id:this.inputId,class:tu(this)})}get el(){return this}static get style(){return":host{display:none}"}},[1,"ion-select-option",{disabled:[4],value:[8]}]);let Jy=0;
2const Zy=function(){"undefined"!=typeof customElements&&["ion-select-option"].forEach(e=>{"ion-select-option"===e&&(customElements.get(e)||customElements.define(e,Ky))})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionStyle=bc(this,"ionStyle",7),this.animated=!1}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"skeleton-text":!0})}render(){const e=this.animated&&Ps.getBoolean("animated",!0),t=Tu("ion-avatar",this.el)||Tu("ion-thumbnail",this.el),n=tu(this);return Ql(tc,{key:"cb8da9aba121811b9a4ffdae60ed88105897cb3c",class:{[n]:!0,"skeleton-text-animated":e,"in-media":t}},Ql("span",{key:"5379deee3c76d46d615be0cba14b4f60129ffa25"},"Â "))}get el(){return this}static get style(){return":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}}"}},[1,"ion-skeleton-text",{animated:[4]}]);const Qy=Rg,ew="split-pane-main",tw="split-pane-side",nw={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",never:""};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionSplitPaneVisible=bc(this,"ionSplitPaneVisible",7),this.visible=!1,this.disabled=!1,this.when=nw.lg}visibleChanged(e){this.ionSplitPaneVisible.emit({visible:e})}async isVisible(){return Promise.resolve(this.visible)}async connectedCallback(){"undefined"!=typeof customElements&&null!=customElements&&await customElements.whenDefined("ion-split-pane"),this.styleMainElement(),this.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=nw[e]||e;if(0===t.length)return void(this.visible=!1);const n=e=>{this.visible=e.matches},i=window.matchMedia(t);i.addListener(n),this.rmL=()=>i.removeListener(n),this.visible=i.matches}styleMainElement(){const e=this.contentId,t=this.el.children,n=this.el.childElementCount;let i=!1;for(let o=0;o<n;o++){const n=t[o],r=void 0!==e&&n.id===e;if(r){if(i)return void Ms();iw(n,r),i=!0}}i||Ms()}render(){const e=tu(this);return Ql(tc,{key:"05c88c009fbe2e223fd261760a2b49da1653ff62",class:{[e]:!0,["split-pane-"+e]:!0,"split-pane-visible":this.visible}},Ql("slot",{key:"b35865082661253c4468520d79234fa5dab5bd35"}))}get el(){return this}static get watchers(){return{visible:[{visibleChanged:0}],disabled:[{updateState:0}],when:[{updateState:0}]}}static get style(){return{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}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--side-min-width:270px;--side-max-width:28%}",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}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))
2));--side-min-width:270px;--side-max-width:28%}"}}},[289,"ion-split-pane",{contentId:[513,"content-id"],disabled:[4],when:[8],visible:[32],isVisible:[64]},void 0,{visible:[{visibleChanged:0}],disabled:[{updateState:0}],when:[{updateState:0}]}]);const iw=(e,t)=>{let n,i;t?(n=ew,i=tw):(n=tw,i=ew);const o=e.classList;o.add(n),o.remove(i)};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.loaded=!1,this.active=!1}async componentWillLoad(){this.active&&await this.setActive()}async setActive(){await this.prepareLazyLoaded(),this.active=!0}changeActive(e){e&&this.prepareLazyLoaded()}prepareLazyLoaded(){if(!this.loaded&&null!=this.component){this.loaded=!0;try{return yp(this.delegate,this.el,this.component,["ion-page"])}catch(Ns){zs(0)}}return Promise.resolve(void 0)}render(){const{tab:e,active:t,component:n}=this;return Ql(tc,{key:"fbd837bad7a0632336d46a597ace23673b153e48",role:"tabpanel","aria-hidden":t?null:"true","aria-labelledby":"tab-button-"+e,class:{"ion-page":void 0===n,"tab-hidden":!t}},Ql("slot",{key:"35c218169fda826c9c1337558e0278d0c7f5f26a"}))}get el(){return this}static get watchers(){return{active:[{changeActive:0}]}}static get style(){return":host(.tab-hidden){display:none !important}"}},[257,"ion-tab",{active:[1028],delegate:[16],tab:[1],component:[1],setA
2ctive:[64]},void 0,{active:[{changeActive:0}]}]);const ow=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){const e=tu(this);return Ql(tc,{key:"bfaa49d35f43b8036725ae8a322c716fc6e43bdf",class:Iu(this.color,{[e]:!0})},Ql("slot",{key:"c04880cd1935b42cbe60f58fd523b4d8a96072dc"}))}static get style(){return":host(.ion-color){color:var(--ion-color-base)}"}},[257,"ion-text",{color:[513]}]),rw=function(){"undefined"!=typeof customElements&&["ion-text"].forEach(e=>{"ion-text"===e&&(customElements.get(e)||customElements.define(e,ow))})},aw=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.ionChange=bc(this,"ionChange",7),this.ionInput=bc(this,"ionInput",7),this.ionBlur=bc(this,"ionBlur",7),this.ionFocus=bc(this,"ionFocus",7),this.inputId="ion-textarea-"+sw++,this.helperTextId=this.inputId+"-helper-text",this.errorTextId=this.inputId+"-error-text",this.didTextareaClearOnEdit=!1,this.inheritedAttributes={},this.hasFocus=!1,this.isInvalid=!1,this.autocapitalize="none",this.autofocus=!1,this.clearOnEdit=!1,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.autoGrow=!1,this.value="",this.counter=!1,this.labelPlacement="start",this.onInput=e=>{const t=e.target;t&&(this.value=t.value||""),this.emitInputChange(e)},this.onChange=e=>{this.emitValueChange(e)},this.onFocus=e=>{this.hasFocus=!0,this.focusedValue=this.value,this.ionFocus.emit(e)},this.onBlur=e=>{this.hasFocus=!1,this.focusedValue!==this.value&&this.emitValueChange(e),this.didTextareaClearOnEdit=!1,this.ionBlur.emit(e)},this.onKeyDown=e=>{this.checkClearOnEdit(e)},this.onLabelClick=e=>{e.target===e.currentTarget&&e.stopPropagation()}}debounceChanged(){const{ionInput:e,debounce:t,originalIonInput:n}=this;this.ionInput=void 0===t?null!=n?n:e:Pd(e,t)}
2valueChanged(){const e=this.nativeInput,t=this.getValue();e&&e.value!==t&&(e.value=t),this.runAutoGrow()}onDirChanged(e){this.inheritedAttributes=Object.assign(Object.assign({},this.inheritedAttributes),{dir:e}),ed(this)}onClickCapture(e){const t=this.nativeInput;t&&e.target===t&&(e.stopPropagation(),this.el.click())}connectedCallback(){const{el:e}=this;this.slotMutationController=Mg(e,["label","start","end"],()=>ed(this)),this.notchController=Ng(e,()=>this.notchSpacerEl,()=>this.labelSlot),"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(()=>{const e=Wu(this.el);this.isInvalid!==e&&(this.isInvalid=e,ed(this))}),this.validationObserver.observe(e,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=Wu(this.el),this.debounceChanged(),document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:e}))}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),this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},yd(this.el)),bd(this.el,["data-form-type","title","tabindex","dir"]))}componentDidLoad(){this.originalIonInput=this.ionInput,this.runAutoGrow()}componentDidRender(){var e;null===(e=this.notchController)||void 0===e||e.calculateNotchWidth()}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async getInputElement(){return this.nativeInput||await new Promise(e=>fd(this.el,e)),Promise.resolve(this.nativeInput)}emitValueChange(e){const{value:t}=this,n=null==t?t:""+t;this.focusedValue=n,this.ionChange.emit({value:n,event:e})}emitInputChange(e){const{value:t}=this;this.ionInput.emit({value:t,event:e})}runAutoGrow(){this.nativeInput&&this.autoGrow&&gl(()=>{var e;this.textareaWrapper&&(this.textareaWrapper.dataset.replicatedValue=null!==(e=this.value)&&void 0!==e?e:"")})}checkClearOnEdit(e){if(!this.clearOnEdit)return;const t=["Tab","Shift","Meta","Alt","Control"].includes(e.key);this.didTextareaClearOnEdit||!this.hasValue()||t||(this.value="",this.emitInputChange(e)),t||(this.didTextareaClearOnEdit=!0)}hasValue(){return""!==this.getValue()}getValue(){return this.value||""}renderLabel(){const{label:e}=this;return Ql("div",{class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!this.hasLabel}},void 0===e?Ql("slot",{name:"label"}):Ql("div",{class:"label-text"},e))}get labelSlot(){return this.el.querySelector('[slot="label"]')}get hasLabel(){return void 0!==this.label||null!==this.labelSlot}renderLabelContainer(){return"md"===tu(this)&&"outline"===this.fill?[Ql("div",{class:"textarea-outline-container"},Ql("div",{class:"textarea-outline-start"}),Ql("div",{class:{"textarea-outline-notch":!0,"textarea-outline-notch-hidden":!this.hasLabel}},Ql("div",{class:"notch-spacer","aria-hidden":"true",ref:e=>this.notchSpacerEl=e},this.label)),Ql("div",{class:"textarea-outline-end"})),this.renderLabel()]:this.renderLabel()}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return[Ql("div",{id:n,class:"helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",role:"alert"},o?t:null)]}getHintTextID(){const{isInvalid:e,helperText:t,errorText:n,helperTextId:i,errorTextId:o}=this;return e&&n?o:t?i:void 0}renderCounter(){const{counter:e,maxlength:t,counterFormatter:n,value:i}=this;if(!0===e&&void 0!==t)return Ql("div",{class:"counter"},zg(i,t,n))}renderBottomContent(){const{counter:e,helperText:t,errorText:n,maxlength:i}=this;if(t||n||!0===e&&void 0!==i)return Ql("div",{class:"textarea-bottom"},this.renderHintText(),this.renderCounter())}render(){const{inputId:e,disabled:t,fill:n,shape:i,labelPlacement:o,el:r,hasFocus:a}=this,s=tu(this),l=this.getValue(),c=Tu("ion-item",this.el),d="md"===s&&"outline"!==n&&!c,u=this.hasValue(),p=null!==r.querySelector('[slot="start"], [slot="end"]'),h="stacked"===o||"floating"===o&&(u||a||p);return Ql(tc,{key:"4257e84acd46f43390fa2413d0b8f40e16a37499",class:Iu(this.color,{[s]:!0,"has-value":u,"has-focus":a,"label-floating":h,["textarea-fill-"+n]:void 0!==n,["textarea-shape-"+i]:void 0!==i,["textarea-label-placement-"+o]:!0,"textarea-disabled":t})},Ql("label",{key:"003da35bad92ab36777b7ae40855541bf900c64a",class:"textarea-wrapper",htmlFor:e,onClick:this.onLabelClick},this.renderLabelContainer(),Ql("div",{key:"3cae2d19f96ba2b18a2d64298fdcc4b64ad34ac7",class:"textarea-wrapper-inner"},Ql("div",{key:"e26cb06763d551f7f83b6ea80349871aab18a016",class:"start-slot-wrapper"},Ql("slot",{key:"135ba6db893eaca5f2a785fe61e24f33f56f3765",name:"start"})),Ql("div",{key:"951eabdd01c5e370790cec8578268361dcc8abdc",class:"native-wrapper",ref:e=>this.textareaWrapper=e},Ql("textarea",Object.assign({key:"13d78f1a934b9f8d85cd9ed386dabc786f953f1d",class:"native-textarea",ref:e=>this.nativeInput=e,id:e,disabled:t,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,"aria-describedby":this.getHintTextID(),"aria-invalid":this.isInvalid?"true":void 0},this.inheritedAttributes),l)),Ql("div",{key:"699038558019470bccb4853fa65e7aeb069e0baa",class:"end-slot-wrapper"},Ql("slot",{key:"19d8c212d7c718aeb6924e10bf8e48cad01314ea",name:"end"}))),d&&Ql("div",{key:"910a9437437ce7cab21e37a1cb4a6b309afda58f",class:"textarea-highlight"})),this.renderBottomContent())}get el(){return this}static get watchers(){return{debounce:[{debounceChanged:0}],value:[{valueChanged:0}],dir:[{onDirChanged:0}]}}static get style(){return{ios:'.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;
2--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.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}.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[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)}.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}.cloned-input.sc-ion-textarea-ios{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}[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}.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{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{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;white-space:normal}.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-700, var(--ion-text-color-step-300, #4d4d4d))}.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-700, var(--ion-text-color-step-300, #4d4d4d));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);
2max-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:0
2px;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]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]:first-of-type{-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, var(--ion-background-color-step-250, #c8c7cc))));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:0px;font-size:inherit}.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:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.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}.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[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);
2font-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)}.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}.cloned-input.sc-ion-textarea-md{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}[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}.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{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{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;white-space:normal}.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-700, var(--ion-text-color-step-300, #4d4d4d))}.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-700, var(--ion-text-color-step-300, #4d4d4d));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);
2max-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:0
2px;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]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]:first-of-type{-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, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-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, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-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, var(--ion-background-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, var(--ion-background-color-step-750, #404040))}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:var(--highlight-height);--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( (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75 )}.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:0
2px;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-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-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)}.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-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}.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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:2px;font-size:inherit}.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)}.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-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)}.textarea-highlight.sc-ion-textarea-md{inset-inline-start: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}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start: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}'}}},[294,"ion-textarea",{color:[513],autocapitalize:[1],autofocus:[4],clearOnEdit:[4,"clear-on-edit"],debounce:[2],disabled:[516],fill:[1],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],readonly:[516],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"],shape:[1],hasFocus:[32],isInvalid:[32],setFocus:[64],getInputElement:[64]},[[2,"click","onClickCapture"]],{debounce:[{debounceChanged:0}],value:[{valueChanged:0}],dir:[{onDirChanged:0}]}]);let sw=0;
2const lw=function(){"undefined"!=typeof customElements&&["ion-textarea"].forEach(e=>{"ion-textarea"===e&&(customElements.get(e)||customElements.define(e,aw))})};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return Ql(tc,{key:"b250e01664238f1dca8f9757b15bc3d5d9387ffa",class:tu(this)},Ql("slot",{key:"72cb568bccabc983c5186a7596ef6c6d4ebf5ad9"}))}static get style(){return":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}"}},[257,"ion-thumbnail"]);const cw=zy,dw=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionChange=bc(this,"ionChange",7),this.ionFocus=bc(this,"ionFocus",7),this.ionBlur=bc(this,"ionBlur",7),this.inputId="ion-tg-"+pw++,this.inputLabelId=this.inputId+"-lbl",this.helperTextId=this.inputId+"-helper-text",this.errorTextId=this.inputId+"-error-text",this.lastDrag=0,this.inheritedAttributes={},this.didLoad=!1,this.activated=!1,this.isInvalid=!1,this.name=this.inputId,this.checked=!1,this.disabled=!1,this.value="on",this.enableOnOffLabels=Ps.get("toggleOnOffLabels"),this.labelPlacement="start",this.required=!1,this.setupGesture=async()=>{const{toggleTrack:e}=this;e&&(this.gesture=(await o(async()=>{const{createGesture:e}=await Promise.resolve().then(()=>Nv);return{createGesture:e}},void 0)).createGesture({el:e,gestureName:"toggle",gesturePriority:100,threshold:5,passive:!1,onStart:()=>this.onStart(),onMove:e=>this.onMove(e),onEnd:e=>this.onEnd(e)}),this.disabledChanged())},this.onKeyDown=e=>{" "===e.key&&(e.preventDefault(),this.disabled||this.toggleChecked())},this.onClick=e=>{const t=Ud("ios");this.disabled||(e.preventDefault(),this.lastDrag+300<Date.now()&&(this.toggleChecked(),t&&nm()))},this.onDivLabelClick=e=>{e.stopPropagation()},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.getSwitchLabelIcon=(e,t)=>"md"===e?t?"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M416 128 192 384l-96-96' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>":Vd:t?Vd:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>"}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}toggleChecked(){const{checked:e,value:t}=this,n=!e;this.checked=n,this.ionChange.emit({checked:n,value:t})}async connectedCallback(){const{didLoad:e,el:t}=this;e&&this.setupGesture(),"undefined"!=typeof MutationObserver&&(this.validationObserver=new MutationObserver(()=>{const e=Wu(t);this.isInvalid!==e&&(this.isInvalid=e,Promise.resolve().then(()=>{this.hintTextId=this.getHintTextId()}))}),this.validationObserver.observe(t,{attributes:!0,attributeFilter:["class"]})),this.isInvalid=Wu(t)}componentDidLoad(){this.setupGesture(),this.didLoad=!0}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.validationObserver&&(this.validationObserver.disconnect(),this.validationObserver=void 0)}componentWillLoad(){this.inheritedAttributes=Object.assign({},yd(this.el)),this.hintTextId=this.getHintTextId()}onStart(){this.activated=!0,this.setFocus()}onMove(e){uw(rp(this.el),this.checked,e.deltaX,-10)&&(this.toggleChecked(),nm())}onEnd(e){this.activated=!1,this.lastDrag=Date.now(),e.event.preventDefault(),e.event.stopImmediatePropagation()}getValue(){return this.value||""}setFocus(){this.el.focus()}renderOnOffSwitchLabels(e,t){const n=this.getSwitchLabelIcon(e,t);return Ql("ion-icon",{class:{"toggle-switch-icon":!0,"toggle-switch-icon-checked":t},icon:n,"aria-hidden":"true"})}renderToggleControl(){const e=tu(this),{enableOnOffLabels:t,checked:n}=this;return Ql("div",{class:"toggle-icon",part:"track",ref:e=>this.toggleTrack=e},t&&"ios"===e&&[this.renderOnOffSwitchLabels(e,!0),this.renderOnOffSwitchLabels(e,!1)],Ql("div",{class:"toggle-icon-wrapper"},Ql("div",{class:"toggle-inner",part:"handle"},t&&"md"===e&&this.renderOnOffSwitchLabels(e,n))))}get hasLabel(){return""!==this.el.textContent}getHintTextId(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;return o&&t?i:e?n:void 0}renderHintText(){const{helperText:e,errorText:t,helperTextId:n,errorTextId:i,isInvalid:o}=this;if(e||t)return Ql("div",{class:"toggle-bottom"},Ql("div",{id:n,class:"helper-text",part:"supporting-text helper-text","aria-live":"polite"},o?null:e),Ql("div",{id:i,class:"error-text",part:"supporting-text error-text",role:"alert"},o?t:null))}render(){const{activated:e,alignment:t,checked:n,color:i,disabled:o,el:r,hasLabel:a,inheritedAttributes:s,inputId:l,inputLabelId:c,justify:d,labelPlacement:u,name:p,required:h}=this,m=tu(this),f=this.getValue(),g=rp(r)?"rtl":"ltr";return Sd(0,r,p,n?f:"",o),Ql(tc,{key:"736e1dcfca34fd41f6f0632652e7f86d6996a232",role:"switch","aria-checked":""+n,"aria-describedby":this.hintTextId,"aria-invalid":this.isInvalid?"true":void 0,onClick:this.onClick,"aria-labelledby":a?c:null,"aria-label":s["aria-label"]||null,"aria-disabled":o?"true":null,"aria-required":h?"true":void 0,tabindex:o?void 0:0,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,class:Iu(i,{[m]:!0,"in-item":Tu("ion-item",r),"toggle-activated":e,"toggle-checked":n,"toggle-disabled":o,["toggle-justify-"+d]:void 0!==d,["toggle-alignment-"+t]:void 0!==t,["toggle-label-placement-"+u]:!0,["toggle-"+g]:!0})},Ql("label",{key:"e697739fd3964c1c6c23331cf7e38a9841c46a6a",class:"toggle-wrapper",htmlFor:l},Ql("input",Object.assign({key:"3d500b8c1bc879591249d183c1abb3f5f26aff6b",type:"checkbox",role:"switch","aria-checked":""+n,
2checked:n,disabled:o,id:l,required:h},s)),Ql("div",{key:"e38f3fe0e66b4ca434fd81514f5ef771c2960841",class:{"label-text-wrapper":!0,"label-text-wrapper-hidden":!a},part:"label",id:c,onClick:this.onDivLabelClick},Ql("slot",{key:"006dd3558264d69ab020c07005b348adc4ecdd5b"}),this.renderHintText()),Ql("div",{key:"dd4e52de31caabee41ec1bc58efecd1e213368c9",class:"native-wrapper"},this.renderToggleControl())))}get el(){return this}static get watchers(){return{disabled:[{disabledChanged:0}]}}static get style(){return{ios:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{display
vendor: 8,870 bytes, line 2
2:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;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) .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}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}: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;-ms-flex-pack:start;justify-content:start}: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;text-align:center}: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}}: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-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.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, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (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}.native-wrapper .toggle-icon{width:51px;height:31px;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, #222428)}: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}
2",md:":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{display:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;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) .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}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}: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;-ms-flex-pack:start;justify-content:start}: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;text-align:center}: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}}: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-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.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);
2display: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, 0, 84, 233), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #0054e9);--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)}.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}"}}},[289,"ion-toggle",{color:[513],name:[1],checked:[1028],disabled:[4],errorText:[1,"error-text"],helperText:[1,"helper-text"],value:[1],enableOnOffLabels:[4,"enable-on-off-labels"],labelPlacement:[1,"label-placement"],justify:[1],alignment:[1],required:[4],activated:[32],isInvalid:[32],hintTextId:[32]},void 0,{disabled:[{disabledChanged:0}]}]),uw=(e,t,n,i)=>t?!e&&i>n||e&&-i<n:!e&&-i<n||e&&i>n;let pw=0;const hw=function(){"undefined"!=typeof customElements&&["ion-toggle","ion-icon"].forEach(e=>{switch(e){case"ion-toggle":customElements.get(e)||customElements.define(e,dw);break;case"ion-icon":customElements.get(e)||bu()}})},mw=By,fw=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.disabled=!1,this.type="button",this.onClick=async e=>{const t=this.el.closest("ion-nav");return e.preventDefault(),t&&await t.canGoBack()?t.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):Ou(this.defaultHref,e,"back",this.routerAnimation)}}componentWillLoad(){this.inheritedAttributes=yd(this.el),void 0===this.defaultHref&&(this.defaultHref=Ps.get("backButtonDefaultHref"))}get backButtonIcon(){const e=this.icon;return null!=e?e:"ios"===tu(this)?Ps.get("backButtonIcon",Md):Ps.get("backButtonIcon",Dd)}get backButtonText(){const e="ios"===tu(this)?"Back":null;return null!=this.text?this.text:Ps.get("backButtonText",e)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:e,defaultHref:t,disabled:n,type:i,hasIconOnly:o,backButtonIcon:r,backButtonText:a,icon:s,inheritedAttributes:l}=this,c=void 0!==t,d=tu(this),u=l["aria-label"]||a||"back";
2return Ql(tc,{key:"5466624a10f1ab56f5469e6dc07080303880f2fe",onClick:this.onClick,class:Iu(e,{[d]:!0,button:!0,"back-button-disabled":n,"back-button-has-icon-only":o,"in-toolbar":Tu("ion-toolbar",this.el),"in-toolbar-color":Tu("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":c})},Ql("button",{key:"63bc75ef0ad7cc9fb79e58217a3314b20acd73e3",type:i,disabled:n,class:"button-native",part:"native","aria-label":u},Ql("span",{key:"5d3eacbd11af2245c6e1151cab446a0d96559ad8",class:"button-inner"},r&&Ql("ion-icon",{key:"6439af0ae463764174e7d3207f02267811df666d",part:"icon",icon:r,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===s}),a&&Ql("span",{key:"8ee89fb18dfdb5b75948a8b197ff4cdbc008742f",part:"text","aria-hidden":"true",class:"button-text"},a)),"md"===d&&Ql("ion-ripple-effect",{key:"63803a884998bc73bea5afe0b2a0a14e3fa4d6bf",type:this.rippleType})))}get el(){return this}static get style(){return
vendor: 9,258 bytes, line 2
2{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, #0054e9);--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)}'}
2}},[33,"ion-back-button",{color:[513],defaultHref:[1025,"default-href"],disabled:[516],icon:[1],text:[1],type:[1],routerAnimation:[16]}]),gw=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=bc(this,"ionNavWillLoad",7),this.ionNavWillChange=bc(this,"ionNavWillChange",3),this.ionNavDidChange=bc(this,"ionNavDidChange",3),this.lockController=cm(),this.gestureOrAnimationInProgress=!1,this.mode=tu(this),this.animated=!0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}async connectedCallback(){const e=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await o(async()=>{const{createSwipeBackGesture:e}=await import("./p-Sh0ICmPV-gh6b7eO2.js");return{createSwipeBackGesture:e}},[])).createSwipeBackGesture(this.el,()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart(),()=>e(),e=>{var t;return null===(t=this.ani)||void 0===t?void 0:t.progressStep(e)},(e,t,n)=>{if(this.ani){this.ani.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(e)},{oneTimeCallback:!0});let i=e?-.001:.001;e?i+=gb([0,0],[.32,.72],[0,1],[1,1],t)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),i+=gb([0,0],[1,0],[.68,.28],[1,1],t)[0]),this.ani.progressEnd(e?1:0,i,n)}else this.gestureOrAnimationInProgress=!1}),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(e,t,n){const i=await this.lockController.lock();let o=!1;try{o=await this.transition(e,t,n)}catch(r){zs(0)}return i(),o}async setRouteId(e,t,n,i){return{changed:await this.setRoot(e,t,{duration:"root"===n?0:void 0,direction:"back"===n?"back":"forward",animationBuilder:i}),element:this.activeEl}}async getRouteId(){const e=this.activeEl;return e?{id:e.tagName,element:e,params:this.activeParams}:void 0}async setRoot(e,t,n){if(this.activeComponent===e&&Rd(t,this.activeParams))return!1;const i=this.activeEl,o=await yp(this.delegate,this.el,e,["ion-page","ion-page-invisible"],t);return this.activeComponent=e,this.activeEl=o,this.activeParams=t,await this.commit(o,i,n),await wp(this.delegate,i),!0}async transition(e,t,n={}){if(t===e)return!1;this.ionNavWillChange.emit();const{el:i,mode:o}=this,r=this.animated&&Ps.getBoolean("animated",!0),a=n.animationBuilder||this.animation||Ps.get("navAnimation");return await vm(Object.assign(Object.assign({mode:o,animated:r,enteringEl:e,leavingEl:t,baseEl:i,deepWait:gd(i),progressCallback:n.progressAnimation?e=>{void 0===e||this.gestureOrAnimationInProgress?this.ani=e:(this.gestureOrAnimationInProgress=!0,e.onFinish(()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)},{oneTimeCallback:!0}),e.progressEnd(0,0,0))}:void 0},n),{animationBuilder:a})),this.ionNavDidChange.emit(),!0}render(){return Ql("slot",{key:"386c41745b61daba161cf75063da97fe29ba36cb"})}get el(){return this}static get watchers(){return{swipeHandler:[{swipeHandlerChanged:0}]}}static get style(){return":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}"}},[257,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]},void 0,{swipeHandler:[{swipeHandlerChanged:0}]}]),bw="undefined"!=typeof document;function vw(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}const yw=Object.assign;function ww(e,t){const n={};for(const i in t){const o=t[i];n[i]=kw(o)?o.map(e):e(o)}return n}const xw=()=>{},kw=Array.isArray;function _w(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}const Ew=/#/g,Sw=/&/g,Cw=/\//g,Tw=/=/g,Iw=/\?/g,Aw=/\+/g,Pw=/%5B/g,Ow=/%5D/g,Rw=/%5E/g,Lw=/%60/g,Dw=/%7B/g,Nw=/%7C/g,Mw=/%7D/g,zw=/%20/g;function jw(e){return null==e?"":encodeURI(""+e).replace(Nw,"|").replace(Pw,"[").replace(Ow,"]")}function Bw(e){return jw(e).replace(Aw,"%2B").replace(zw,"+").replace(Ew,"%23").replace(Sw,"%26").replace(Lw,"`").replace(Dw,"{").replace(Mw,"}").replace(Rw,"^")}function Fw(e){return Bw(e).replace(Tw,"%3D")}function Vw(e){return function(e){return jw(e).replace(Ew,"%23").replace(Iw,"%3F")}(e).replace(Cw,"%2F")}function Uw(e){if(null==e)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const qw=/\/$/;function Hw(e,t,n="/"){let i,o={},r="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return l=s>=0&&l>s?-1:l,l>=0&&(i=t.slice(0,l),r=t.slice(l,s>0?s:t.length),o=e(r.slice(1))),s>=0&&(i=i||t.slice(0,s),a=t.slice(s,t.length)),i=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),o=i[i.length-1];".."!==o&&"."!==o||i.push("");let r,a,s=n.length-1;for(r=0;r<i.length;r++)if(a=i[r],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+i.slice(r).join("/")}(null!=i?i:t,n),{fullPath:i+r+a,path:i,query:o,hash:Uw(a)}}function Ww(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function Gw(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $w(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Yw(e[n],t[n]))return!1;return!0}function Yw(e,t){return kw(e)?Xw(e,t):kw(t)?Xw(t,e):(null==e?void 0:e.valueOf())===(null==t?void 0:t.valueOf())}function Xw(e,t){return kw(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}const Kw={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Jw=function(e){return e.pop="pop",e.push="push",e}({}),Zw=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Qw(e){if(!e)if(bw){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(qw,"")}const ex=/^[^#]+#/;function tx(e,t){return e.replace(ex,"#")+t}const nx=()=>({left:window.scrollX,top:window.scrollY});function ix(e){let t;if("el"in e){const n=e.el,i="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}
2function ox(e,t){return(history.state?history.state.position-t:-1)+e}const rx=new Map;function ax(e){return"string"==typeof e||"symbol"==typeof e}let sx=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const lx=Symbol("");function cx(e,t){return yw(new Error,{type:e,[lx]:!0},t)}function dx(e,t){return e instanceof Error&&lx in e&&(null==t||!!(e.type&t))}sx.MATCHER_NOT_FOUND,sx.NAVIGATION_GUARD_REDIRECT,sx.NAVIGATION_ABORTED,sx.NAVIGATION_CANCELLED,sx.NAVIGATION_DUPLICATED;function ux(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let i=0;i<n.length;++i){const e=n[i].replace(Aw," "),o=e.indexOf("="),r=Uw(o<0?e:e.slice(0,o)),a=o<0?null:Uw(e.slice(o+1));if(r in t){let e=t[r];kw(e)||(e=t[r]=[e]),e.push(a)}else t[r]=a}return t}function px(e){let t="";for(let n in e){const i=e[n];n=Fw(n),null!=i?(kw(i)?i.map(e=>e&&Bw(e)):[i&&Bw(i)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}):void 0!==i&&(t+=(t.length?"&":"")+n)}return t}function hx(e){const t={};for(const n in e){const i=e[n];void 0!==i&&(t[n]=kw(i)?i.map(e=>null==e?null:""+e):null==i?i:""+i)}return t}const mx=Symbol(""),fx=Symbol(""),gx=Symbol(""),bx=Symbol(""),vx=Symbol("");function yx(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function wx(e){const t=hn(mx,{}).value;t&&function(e,t,n){const i=()=>{e[t].delete(n)};fi(i),ri(i),oi(()=>{e[t].add(n)}),e[t].add(n)}(t,"leaveGuards",e)}function xx(e,t,n,i,o,r=e=>e()){const a=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const c=e=>{var r;!1===e?l(cx(sx.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(cx(sx.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(a&&i.enterCallbacks[o]===a&&"function"==typeof e&&a.push(e),s())},d=r(()=>e.call(i&&i.instances[o],t,n,c));let u=Promise.resolve(d);e.length<3&&(u=u.then(c)),u.catch(e=>l(e))})}function kx(e,t,n,i,o=e=>e()){const r=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(vw(s)){const l=(s.__vccOpts||s)[t];l&&r.push(xx(l,n,i,a,e,o))}else{let l=s();r.push(()=>l.then(r=>{if(!r)throw new Error("Couldn't resolve component \"".concat(e,'" at "').concat(a.path,'"'));const s=(l=r).__esModule||"Module"===l[Symbol.toStringTag]||l.default&&vw(l.default)?r.default:r;var l;a.mods[e]=r,a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&xx(c,n,i,a,e,o)()}))}}return r}function _x(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let t=o.includes(e.slice(r))?e.slice(r).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),Ww(n,"")}return Ww(n,e)+i+o}function Ex(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?nx():null}}function Sx(e){const{history:t,location:n}=window,i={value:_x(e,n)},o={value:t.state};function r(i,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+i:location.protocol+"//"+location.host+e+i;try{t[a?"replaceState":"pushState"](r,"",l),o.value=r}catch(c){n[a?"replace":"assign"](l)}}return o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:i,state:o,push:function(e,n){const a=yw({},o.value,t.state,{forward:e,scroll:nx()});r(a.current,a,!0),r(e,yw({},Ex(i.value,e,null),{position:a.position+1},n),!1),i.value=e},replace:function(e,n){r(e,yw({},t.state,Ex(o.value.back,e,o.value.forward,!0),n,{position:o.value.position}),!0),i.value=e}}}function Cx(e){const t=Sx(e=Qw(e)),n=function(e,t,n,i){let o=[],r=[],a=null;const s=({state:r})=>{const s=_x(e,location),l=n.value,c=t.value;let d=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);d=c?r.position-c.position:0}else i(s);
2o.forEach(e=>{e(n.value,l,{delta:d,type:Jw.pop,direction:d?d>0?Zw.forward:Zw.back:Zw.unknown})})};function l(){if("hidden"===document.visibilityState){const{history:e}=window;if(!e.state)return;e.replaceState(yw({},e.state,{scroll:nx()}),"")}}return window.addEventListener("popstate",s),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:function(){a=n.value},listen:function(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}}}(e,t.state,t.location,t.replace);const i=yw({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:tx.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}let Tx=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Ix=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Ix||{});const Ax={type:Tx.Static,value:""},Px=/[a-zA-Z0-9_]/;const Ox="[^/]+?",Rx={sensitive:!1,strict:!1,start:!0,end:!0};var Lx=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Lx||{});const Dx=/[.+*?^${}()[\]/\\]/g;function Nx(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?1===e.length&&e[0]===Lx.Static+Lx.Segment?-1:1:e.length>t.length?1===t.length&&t[0]===Lx.Static+Lx.Segment?1:-1:0}function Mx(e,t){let n=0;const i=e.score,o=t.score;for(;n<i.length&&n<o.length;){const e=Nx(i[n],o[n]);if(e)return e;n++}if(1===Math.abs(o.length-i.length)){if(zx(i))return 1;if(zx(o))return-1}return o.length-i.length}function zx(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const jx={strict:!1,end:!0,sensitive:!1};function Bx(e,t,n){const i=function(e,t){const n=yw({},Rx,t),i=[];let o=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[Lx.Root];n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const i=l[t];let a=Lx.Segment+(n.sensitive?Lx.BonusCaseSensitive:0);if(i.type===Tx.Static)t||(o+="/"),o+=i.value.replace(Dx,"\\$&"),a+=Lx.Static;else if(i.type===Tx.Param){const{value:e,repeatable:n,optional:c,regexp:d}=i;r.push({name:e,repeatable:n,optional:c});const u=d||Ox;if(u!==Ox){a+=Lx.BonusCustomRegExp;try{"".concat(u)}catch(s){throw new Error('Invalid custom RegExp for param "'.concat(e,'" (').concat(u,"): ")+s.message)}}let p=n?"((?:".concat(u,")(?:/(?:").concat(u,"))*)"):"(".concat(u,")");t||(p=c&&l.length<2?"(?:/".concat(p,")"):"/"+p),c&&(p+="?"),o+=p,a+=Lx.Dynamic,c&&(a+=Lx.BonusOptional),n&&(a+=Lx.BonusRepeatable),".*"===u&&(a+=Lx.BonusWildcard)}e.push(a)}i.push(e)}if(n.strict&&n.end){const e=i.length-1;i[e][i[e].length-1]+=Lx.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");return{re:a,score:i,keys:r,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let i=1;i<t.length;i++){const e=t[i]||"",o=r[i-1];n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",i=!1;for(const o of e){i&&n.endsWith("/")||(n+="/"),i=!1;for(const e of o)if(e.type===Tx.Static)n+=e.value;else if(e.type===Tx.Param){const{value:r,repeatable:a,optional:s}=e,l=r in t?t[r]:"";if(kw(l)&&!a)throw new Error('Provided param "'.concat(r,'" is an array but it is not repeatable (* or + modifiers)'));const c=kw(l)?l.join("/"):l;if(!c){if(!s)throw new Error('Missing required param "'.concat(r,'"'));o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[Ax]];if(!e.startsWith("/"))throw new Error('Invalid path "'.concat(e,'"'));function t(e){throw new Error("ERR (".concat(n,')/"').concat(c,'": ').concat(e))}let n=Ix.Static,i=n;const o=[];let r;function a(){r&&o.push(r),r=[]}let s,l=0,c="",d="";function u(){c&&(n===Ix.Static?r.push({type:Tx.Static,value:c}):n===Ix.Param||n===Ix.ParamRegExp||n===Ix.ParamRegExpEnd?(r.length>1&&("*"===s||"+"===s)&&t("A repeatable param (".concat(c,") must be alone in its segment. eg: '/:ids+.")),r.push({type:Tx.Param,value:c,regexp:d,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||n===Ix.ParamRegExp)switch(n){case Ix.Static:"/"===s?(c&&u(),a()):":"===s?(u(),n=Ix.Param):p();break;case Ix.EscapeNext:p(),n=i;break;case Ix.Param:"("===s?n=Ix.ParamRegExp:Px.test(s)?p():(u(),n=Ix.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case Ix.ParamRegExp:")"===s?"\\"==d[d.length-1]?d=d.slice(0,-1)+s:n=Ix.ParamRegExpEnd:d+=s;break;case Ix.ParamRegExpEnd:u(),n=Ix.Static,"*"!==s&&"?"!==s&&"+"!==s&&l--,d="";break;default:t("Unknown state")}else i=n,n=Ix.EscapeNext;return n===Ix.ParamRegExp&&t('Unfinished custom RegExp for param "'.concat(c,'"')),u(),a(),o}(e.path),n),o=yw(i,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Fx(e,t){const n=[],i=new Map;function o(e,n,i){const s=!i,l=Ux(e);l.aliasOf=i&&i.record;const c=_w(t,e),d=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)d.push(Ux(yw({},l,{components:i?i.record.components:l.components,path:e,aliasOf:i?i.record:l})))}let u,p;for(const t of d){const{path:d}=t;if(n&&"/"!==d[0]){const e=n.record.path,i="/"===e[e.length-1]?"":"/";t.path=n.record.path+(d&&i+d)}if(u=Bx(t,n,c),i?i.alias.push(u):(p=p||u,p!==u&&p.alias.push(u),s&&e.name&&!Hx(u)&&r(e.name)),Gx(u)&&a(u),l.children){const e=l.children;for(let t=0;t<e.length;t++)o(e[t],u,i&&i.children[t])}i=i||u}return p?()=>{r(p)}:xw}function r(e){if(ax(e)){const t=i.get(e);
2t&&(i.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&i.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function a(e){const t=function(e,t){let n=0,i=t.length;for(;n!==i;){const o=n+i>>1;Mx(e,t[o])<0?i=o:n=o+1}const o=function(e){let t=e;for(;t=t.parent;)if(Gx(t)&&0===Mx(e,t))return t}(e);o&&(i=t.lastIndexOf(o,i-1));return i}(e,n);n.splice(t,0,e),e.record.name&&!Hx(e)&&i.set(e.record.name,e)}return t=_w(jx,t),e.forEach(e=>o(e)),{addRoute:o,resolve:function(e,t){let o,r,a,s={};if("name"in e&&e.name){if(o=i.get(e.name),!o)throw cx(sx.MATCHER_NOT_FOUND,{location:e});a=o.record.name,s=yw(Vx(t.params,o.keys.filter(e=>!e.optional).concat(o.parent?o.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Vx(e.params,o.keys.map(e=>e.name))),r=o.stringify(s)}else if(null!=e.path)r=e.path,o=n.find(e=>e.re.test(r)),o&&(s=o.parse(r),a=o.record.name);else{if(o=t.name?i.get(t.name):n.find(e=>e.re.test(t.path)),!o)throw cx(sx.MATCHER_NOT_FOUND,{location:e,currentLocation:t});a=o.record.name,s=yw({},t.params,e.params),r=o.stringify(s)}const l=[];let c=o;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:Wx(l)}},removeRoute:r,clearRoutes:function(){n.length=0,i.clear()},getRoutes:function(){return n},getRecordMatcher:function(e){return i.get(e)}}}function Vx(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Ux(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:qx(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function qx(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]="object"==typeof n?n[i]:n;return t}function Hx(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Wx(e){return e.reduce((e,t)=>yw(e,t.meta),{})}function Gx({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function $x(e){const t=hn(gx),n=hn(bx),i=kr(()=>{const n=Pt(e.to);return t.resolve(n)}),o=kr(()=>{const{matched:e}=i.value,{length:t}=e,o=e[t-1],r=n.matched;if(!o||!r.length)return-1;const a=r.findIndex(Gw.bind(null,o));if(a>-1)return a;const s=Xx(e[t-2]);return t>1&&Xx(o)===s&&r[r.length-1].path!==s?r.findIndex(Gw.bind(null,e[t-2])):a}),r=kr(()=>o.value>-1&&function(e,t){for(const n in t){const i=t[n],o=e[n];if("string"==typeof i){if(i!==o)return!1}else if(!kw(o)||o.length!==i.length||i.some((e,t)=>e.valueOf()!==o[t].valueOf()))return!1}return!0}(n.params,i.value.params)),a=kr(()=>o.value>-1&&o.value===n.matched.length-1&&$w(n.params,i.value.params));return{route:i,href:kr(()=>i.value.href),isActive:r,isExactActive:a,navigate:function(n={}){if(function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)){const n=t[Pt(e.replace)?"replace":"push"](Pt(e.to)).catch(xw);return e.viewTransition&&"undefined"!=typeof document&&"startViewTransition"in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}}}const Yx=Gn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:$x,setup(e,{slots:t}){const n=mt($x(e)),{options:i}=hn(gx),o=kr(()=>({[Kx(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Kx(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&(1===(r=t.default(n)).length?r[0]:r);var r;return e.custom?i:_r("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function Xx(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Kx=(e,t,n)=>null!=e?e:null!=t?t:n,Jx=Gn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=hn(vx),o=kr(()=>e.route||i.value),r=hn(fx,0),a=kr(()=>{let e=Pt(r);const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=kr(()=>o.value.matched[a.value]);pn(fx,kr(()=>a.value+1)),pn(mx,s),pn(vx,o);const l=Ct();return bn(()=>[l.value,s.value,e.name],([e,t,n],[i,o,r])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===i&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&Gw(t,o)&&i||(t.enterCallbacks[n]||[]).forEac
2h(t=>t(e))},{flush:"post"}),()=>{const i=o.value,r=e.name,a=s.value,c=a&&a.components[r];if(!c)return Zx(n.default,{Component:c,route:i});const d=a.props[r],u=d?!0===d?i.params:"function"==typeof d?d(i):d:null,p=_r(c,yw({},u,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[r]=null)},ref:l}));return Zx(n.default,{Component:p,route:i})||p}}});function Zx(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Qx=Jx;function ek(e){const t=Fx(e.routes,e),n=e.parseQuery||ux,i=e.stringifyQuery||px,o=e.history,r=yx(),a=yx(),s=yx(),l=Tt(Kw);let c=Kw;bw&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=ww.bind(null,e=>""+e),u=ww.bind(null,Vw),p=ww.bind(null,Uw);function h(e,r){if(r=yw({},r||l.value),"string"==typeof e){const i=Hw(n,e,r.path),a=t.resolve({path:i.path},r),s=o.createHref(i.fullPath);return yw(i,a,{params:p(a.params),hash:Uw(i.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=yw({},e,{path:Hw(n,e.path,r.path).path});else{const t=yw({},e.params);for(const e in t)null==t[e]&&delete t[e];a=yw({},e,{params:u(t)}),r.params=u(r.params)}const s=t.resolve(a,r),c=e.hash||"";s.params=d(p(s.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(i,yw({},e,{hash:(m=c,jw(m).replace(Dw,"{").replace(Mw,"}").replace(Rw,"^")),path:s.path}));var m;const f=o.createHref(h);return yw({fullPath:h,hash:c,query:i===px?hx(e.query):e.query||{}},s,{redirectedFrom:void 0,href:f})}function m(e){return"string"==typeof e?Hw(n,e,l.value.path):yw({},e)}function f(e,t){if(c!==e)return cx(sx.NAVIGATION_CANCELLED,{from:t,to:e})}function g(e){return v(e)}function b(e,t){const n=e.matched[e.matched.length-1];if(n&&n.redirect){const{redirect:i}=n;let o="function"==typeof i?i(e,t):i;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=m(o):{path:o},o.params={}),yw({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function v(e,t){const n=c=h(e),o=l.value,r=e.state,a=e.force,s=!0===e.replace,d=b(n,o);if(d)return v(yw(m(d),{state:"object"==typeof d?yw({},r,d.state):r,force:a,replace:s}),t||n);const u=n;let p;return u.redirectedFrom=t,!a&&function(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&Gw(t.matched[i],n.matched[o])&&$w(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(i,o,n)&&(p=cx(sx.NAVIGATION_DUPLICATED,{to:u,from:o}),O(o,o,!0,!1)),(p?Promise.resolve(p):x(u,o)).catch(e=>dx(e)?dx(e,sx.NAVIGATION_GUARD_REDIRECT)?e:P(e):A(e,u,o)).then(e=>{if(e){if(dx(e,sx.NAVIGATION_GUARD_REDIRECT))return v(yw({replace:s},m(e.to),{state:"object"==typeof e.to?yw({},r,e.to.state):r,force:a}),t||u)}else e=_(u,o,!0,s,r);return k(u,o,e),e})}function y(e,t){const n=f(e,t);return n?Promise.reject(n):Promise.resolve()}function w(e){const t=D.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function x(e,t){let n;const[i,o,s]=function(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;a<r;a++){const r=t.matched[a];r&&(e.matched.find(e=>Gw(e,r))?i.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find(e=>Gw(e,s))||o.push(s))}return[n,i,o]}(e,t);n=kx(i.reverse(),"beforeRouteLeave",e,t);for(const r of i)r.leaveGuards.forEach(i=>{n.push(xx(i,e,t))});const l=y.bind(null,e,t);return n.push(l),M(n).then(()=>{n=[];for(const i of r.list())n.push(xx(i,e,t));return n.push(l),M(n)}).then(()=>{n=kx(o,"beforeRouteUpdate",e,t);for(const i of o)i.updateGuards.forEach(i=>{n.push(xx(i,e,t))});return n.push(l),M(n)}).then(()=>{n=[];for(const i of s)if(i.beforeEnter)if(kw(i.beforeEnter))for(const o of i.beforeEnter)n.push(xx(o,e,t));else n.push(xx(i.beforeEnter,e,t));return n.push(l),M(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=kx(s,"beforeRouteEnter",e,t,w),n.push(l),M(n))).then(()=>{n=[];for(const i of a.list())n.push(xx(i,e,t));return n.push(l),M(n)}).catch(e=>dx(e,sx.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function k(e,t,n){s.list().forEach(i=>w(()=>i(e,t,n)))}function _(e,t,n,i,r){const a=f(e,t);if(a)return a;const s=t===Kw,c=bw?history.state:{};
2n&&(i||s?o.replace(e.fullPath,yw({scroll:s&&c&&c.scroll},r)):o.push(e.fullPath,r)),l.value=e,O(e,t,n,s),P()}let E;function S(){E||(E=o.listen((e,t,n)=>{if(!N.listening)return;const i=h(e),r=b(i,N.currentRoute.value);if(r)return void v(yw(r,{replace:!0,force:!0}),i).catch(xw);c=i;const a=l.value;var s,d;bw&&(s=ox(a.fullPath,n.delta),d=nx(),rx.set(s,d)),x(i,a).catch(e=>dx(e,sx.NAVIGATION_ABORTED|sx.NAVIGATION_CANCELLED)?e:dx(e,sx.NAVIGATION_GUARD_REDIRECT)?(v(yw(m(e.to),{force:!0}),i).then(e=>{dx(e,sx.NAVIGATION_ABORTED|sx.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Jw.pop&&o.go(-1,!1)}).catch(xw),Promise.reject()):(n.delta&&o.go(-n.delta,!1),A(e,i,a))).then(e=>{(e=e||_(i,a,!1))&&(n.delta&&!dx(e,sx.NAVIGATION_CANCELLED)?o.go(-n.delta,!1):n.type===Jw.pop&&dx(e,sx.NAVIGATION_ABORTED|sx.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),k(i,a,e)}).catch(xw)}))}let C,T=yx(),I=yx();function A(e,t,n){P(e);const i=I.list();return i.length&&i.forEach(i=>i(e,t,n)),Promise.reject(e)}function P(e){return C||(C=!e,S(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function O(t,n,i,o){const{scrollBehavior:r}=e;if(!bw||!r)return Promise.resolve();const a=!i&&function(e){const t=rx.get(e);return rx.delete(e),t}(ox(t.fullPath,0))||(o||!i)&&history.state&&history.state.scroll||null;return Jt().then(()=>r(t,n,a)).then(e=>e&&ix(e)).catch(e=>A(e,t,n))}const R=e=>o.go(e);let L;const D=new Set,N={currentRoute:l,listening:!0,addRoute:function(e,n){let i,o;return ax(e)?(i=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,i)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},clearRoutes:t.clearRoutes,hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:h,options:e,push:g,replace:function(e){return g(yw(m(e),{replace:!0}))},go:R,back:()=>R(-1),forward:()=>R(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:I.add,isReady:function(){return C&&l.value!==Kw?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})},install(e){e.component("RouterLink",Yx),e.component("RouterView",Qx),e.config.globalProperties.$router=N,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Pt(l)}),bw&&!L&&l.value===Kw&&(L=!0,g(o.location).catch(e=>{}));const t={};for(const i in Kw)Object.defineProperty(t,i,{get:()=>l.value[i],enumerable:!0});e.provide(gx,N),e.provide(bx,ft(t)),e.provide(vx,l);const n=e.unmount;D.add(e),e.unmount=function(){D.delete(e),D.size<1&&(c=Kw,E&&E(),E=null,l.value=Kw,L=!1,C=!1),n()}}};function M(e){return e.reduce((e,t)=>e.then(()=>w(t)),Promise.resolve())}return N}function tk(){return hn(gx)}function nk(e){return hn(bx)}sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=bc(this,"ionTabButtonClick",7),this.inheritedAttributes={},this.disabled=!1,this.selected=!1,this.onKeyUp=e=>{"Enter"!==e.key&&" "!==e.key||this.selectTab(e)},this.onClick=e=>{this.selectTab(e)}}onTabBarChanged(e){const t=e.target,n=this.el.parentElement;(e.composedPath().includes(n)||(null==t?void 0:t.contains(this.el)))&&(this.selected=this.tab===e.detail.tab)}componentWillLoad(){this.inheritedAttributes=Object.assign({},bd(this.el,["aria-label"])),void 0===this.layout&&(this.layout=Ps.get("tabButtonLayout","icon-top"))}selectTab(e){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),e.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}render(){const{disabled:e,hasIcon:t,hasLabel:n,href:i,rel:o,target:r,layout:a,selected:s,tab:l,inheritedAttributes:c}=this,d=tu(this),u={download:this.download,href:i,rel:o,target:r};return Ql(tc,{key:"638b93ef40701ec3aefb89b1579eb91aaf6d4f8a",onClick:this.onClick,onKeyup:this.onKeyUp,id:void 0!==l?"tab-button-"+l:null,class:{[d]:!0,"tab-selected":s,"tab-disabled":e,"tab-has-label":n,"tab-has-icon":t,"tab-has-label-only":n&&!t,"tab-has-icon-only":t&&!n,["tab-layout-"+a]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},Ql("a",Object.assign({key:"c053d32fbcdad8d5e4a409956b47164d7a080c6b"},u,{class:"button-native",part:"native",role:"tab","aria-selected":s?"true":null,"aria-disabled":e?"true":null,tabindex:e?"-1":void 0},c),Ql("span",{key:"b3b460d33ec978a46b069442280d31b23bc8e794",class:"button-inner"},Ql("slot",{key:"87b3928475c941263261101b8fae27c6370d4671"})),"md"===d&&Ql("ion-ripple-effect",{key:"6532e5b4546aebe4becaebe1c93ce0e6aedaffe7",type:"unbounded"}
2)))}get el(){return this}static get style(){return{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}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::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}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start: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}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start: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}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}',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}
2.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}::slotted(ion-badge){inset-inline-start: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}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start: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}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start: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}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start: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}'}}},[289,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]),sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=bc(this,"ionNavWillLoad",7),this.ionTabsWillChange=bc(this,"ionTabsWillChange",3),this.ionTabsDidChange=bc(this,"ionTabsDidChange",3),this.transitioning=!1,this.useRouter=!1,this.onTabClicked=e=>{const{href:t,tab:n}=e.detail;if(this.useRouter&&void 0!==t){const e=document.querySelector("ion-router");e&&e.push(t)}else this.select(n)}}async componentWillLoad(){if(this.useRouter||(this.useRouter=!(!this.el.querySelector("ion-router-outlet")&&!document.querySelector("ion-router")||this.el.closest("[no-router]"))),!this.useRouter){const e=this.tabs;e.length>0&&await this.select(e[0])}this.ionNavWillLoad.emit()}componentDidLoad(){this.updateTabBar()}componentDidUpdate(){this.updateTabBar()}updateTabBar(){const e=this.el.querySelector("ion-tab-bar");if(!e)return;const t=this.selectedTab?this.selectedTab.tab:void 0;void 0!==t&&e.selectedTab!==t&&(e.selectedTab=t)}async select(e){const t=ik(this.tabs,e);return!!this.shouldSwitch(t)&&(await this.setActive(t),await this.notifyRouter(),this.tabSwitch(),!0)}async getTab(e){return ik(this.tabs,e)}getSelected(){return Promise.resolve(this.selectedTab?this.selectedTab.tab:void 0)}async setRouteId(e){const t=ik(this.tabs,e);return this.shouldSwitch(t)?(await this.setActive(t),{changed:!0,element:this.selectedTab,markVisible:()=>this.tabSwitch()}):{changed:!1,element:this.selectedTab}}
2async getRouteId(){var e;const t=null===(e=this.selectedTab)||void 0===e?void 0:e.tab;return void 0!==t?{id:t,element:this.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,this.updateTabBar(),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 Ql(tc,{key:"c7131135b31aa312dc0207602561e1c0f4ac3e53",onIonTabButtonClick:this.onTabClicked},Ql("slot",{key:"6c46e91c0389bbcea1f15f35cf3ea513a74ac545",name:"top"}),Ql("div",{key:"4f1b649d8bb60b61402b97359de204979c5eda52",class:"tabs-inner"},Ql("slot",{key:"8d1ef4952be4fb33567376e1083ea4da697fcae0"})),Ql("slot",{key:"260b8da8031494e9cb4635b3d22c49a433042db1",name:"bottom"}))}get el(){return this}static get style(){return":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}"}},[257,"ion-tabs",{useRouter:[1028,"use-router"],selectedTab:[32],select:[64],getTab:[64],getSelected:[64],setRouteId:[64],getRouteId:[64]}]);const ik=(e,t)=>{const n="string"==typeof t?e.find(e=>e.tab===t):t;return n||zs('[ion-tabs] - Tab with id: "'.concat(n,'" does not exist')),n};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=bc(this,"ionTabBarChanged",7),this.ionTabBarLoaded=bc(this,"ionTabBarLoaded",7),this.keyboardCtrl=null,this.keyboardCtrlPromise=null,this.didLoad=!1,this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){this.didLoad&&void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentDidLoad(){this.ionTabBarLoaded.emit(),this.didLoad=!0,void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}async connectedCallback(){const e=Qf(async(e,t)=>{!1===e&&void 0!==t&&await t,this.keyboardVisible=e});this.keyboardCtrlPromise=e;const t=await e;this.keyboardCtrlPromise===e?(this.keyboardCtrl=t,this.keyboardCtrlPromise=null):t.destroy()}disconnectedCallback(){this.keyboardCtrlPromise&&(this.keyboardCtrlPromise.then(e=>e.destroy()),this.keyboardCtrlPromise=null),this.keyboardCtrl&&(this.keyboardCtrl.destroy(),this.keyboardCtrl=null)}render(){const{color:e,translucent:t,keyboardVisible:n}=this,i=tu(this),o=n&&"top"!==this.el.getAttribute("slot");return Ql(tc,{key:"24e164eaf81a0bec9237b561465618f10990806c",role:"tablist","aria-hidden":o?"true":null,class:Iu(e,{[i]:!0,"tab-bar-translucent":t,"tab-bar-hidden":o})},Ql("slot",{key:"0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8"}))}get el(){return this}static get watchers(){return{selectedTab:[{selectedTabChanged:0}]}}static get style(){return{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, var(--ion-background-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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));
2height: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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}"}}},[289,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]},void 0,{selectedTab:[{selectedTabChanged:0}]}]);const ok=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost()}componentDidLoad(){this.rIC(async()=>{const e=Ud(window,"hybrid");if(Ps.getBoolean("_testing")||o(()=>import("./p-C4t5ymfq-CW7_ALIT.js"),[]).then(e=>e.startTapClick(Ps)),Ps.getBoolean("statusTap",e)&&o(()=>import("./p-D7bSXQD3-B3ThF2ax.js"),[]).then(e=>e.startStatusTap()),Ps.getBoolean("inputShims",rk())){const e=Ud(window,"ios")?"ios":"android";o(()=>import("./p-D5Ubpm7D-DyCrd3X6.js"),[]).then(t=>t.startInputShims(Ps,e))}const t=await o(()=>Promise.resolve().then(()=>vp),void 0),n=e||bp();Ps.getBoolean("hardwareBackButton",n)?t.startHardwareBackButton():(bp()&&Ms(),t.blockHardwareBackButton()),"undefined"!=typeof window&&o(()=>Promise.resolve().then(()=>hy),void 0).then(e=>e.startKeyboardAssist(window)),o(()=>Promise.resolve().then(()=>mp),void 0).then(e=>this.focusVisible=e.startFocusVisible())})}disconnectedCallback(){this.loadTimeout&&clearTimeout(this.loadTimeout)}async setFocus(e){this.focusVisible&&this.focusVisible.setFocus(e)}rIC(e){"requestIdleCallback"in window?window.requestIdleCallback(e):this.loadTimeout=setTimeout(e,32)}render(){const e=tu(this);return Ql(tc,{key:"77a7459d3e42b3715a5a7e1cf468e2ebc99e54bb",class:{[e]:!0,"ion-page":!0,"force-statusbar-padding":Ps.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return"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}"}},[0,"ion-app",{setFocus:[64]}]),rk=()=>
2!(!Ud(window,"ios")||!Ud(window,"mobile"))||!(!Ud(window,"android")||!Ud(window,"mobileweb"));function ak(e,t,n){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==i;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var sk,lk=(e,t)=>{var n;Object.entries(null!=(n=t.o.t)?n:{}).map(([n,[i]])=>{if(31&i||32&i){const i=e[n],o=ak(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);o&&Object.defineProperty(e,n,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):void 0!==i&&(e[n]=i)}})},ck=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},dk=(e,t)=>t in e,uk=(e,t)=>(0,console.error)(e,t),pk=new Map,hk="http://www.w3.org/1999/xlink",mk="undefined"!=typeof window?window:{},fk=mk.HTMLElement||class{},gk={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},bk=(()=>{try{return!!mk.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(Ns){}return!1})(),vk=!!bk&&!!mk.document&&Object.getOwnPropertyDescriptor(mk.document.adoptedStyleSheets,"length").writable,yk=!1,wk=[],xk=[],kk=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){uk(t)}e.length=0},_k=()=>{kk(wk),kk(xk),(yk=wk.length>0)&&gk.raf(_k)},Ek=e=>Promise.resolve(void 0).then(e),Sk=(e=>t=>{e.push(t),yk||(yk=!0,4&gk.i?Ek(_k):gk.raf(_k))})(xk);function Ck(){const e=this.attachShadow({mode:"open"});void 0===sk&&(sk=null),sk&&(vk?e.adoptedStyleSheets.push(sk):e.adoptedStyleSheets=[...e.adoptedStyleSheets,sk])}var Tk,Ik=new WeakMap,Ak=e=>"sc-"+e.p,Pk=e=>"object"==(e=typeof e)||"function"===e,Ok=(e,t,...n)=>{let i=null,o=null,r=!1,a=!1;const s=[],l=t=>{for(let n=0;n<t.length;n++)i=t[n],Array.isArray(i)?l(i):null!=i&&"boolean"!=typeof i&&((r="function"!=typeof e&&!Pk(i))&&(i+=""),r&&a?s[s.length-1].h+=i:s.push(r?Rk(null,i):i),a=r)};if(l(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}const c=Rk(e,null);return c.m=t,s.length>0&&(c.$=s),c.v=o,c},Rk=(e,t)=>({i:0,j:e,h:null!=t?t:null,O:null,$:null,m:null,v:null}),Lk={},Dk=e=>{if(!e)return;const t=Object.keys(e);if(0===t.length)return;let n=!1;for(const o of t){if(n)break;for(const t of e[o])if("string"==typeof t){n=!0;break}}if(!n)return e;const i={};for(const o of t)i[o]=e[o].map(e=>"string"==typeof e?{[e]:0}:e);return i},Nk=(e,t)=>null==e||Pk(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e,Mk=(e,t,n,i,o,r)=>{if(n===i)return;let a=dk(e,t),s=t.toLowerCase();if("class"===t){const t=e.classList,o=jk(n);let r=jk(i);t.remove(...o.filter(e=>e&&!r.includes(e))),t.add(...r.filter(e=>e&&!o.includes(e)))}else if("style"===t){for(const t in n)i&&null!=i[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in i)n&&i[t]===n[t]||(t.includes("-")?e.style.setProperty(t,i[t]):e.style[t]=i[t])}else if("key"===t);else if("ref"===t)i&&Qk(i,e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){if("a"===t[0]&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=ck(e);if(t&&t.o&&t.o.t){const e=t.o.t[n];e&&e[1]&&(o=e[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==e.getAttribute(o)||e.removeAttribute(o):e.setAttribute(o,!0===i?"":i))}if("p"===t[0]&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=i}catch(l){}return}{const c=Pk(i);if((a||c&&null!==i)&&!o)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const o=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]===o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(l){}let d=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,d=!0),null==i||!1===i?!1===i&&""!==e.getAttribute(t)||(d?e.removeAttributeNS(hk,t):e.removeAttribute(t)):(!a||4&r||o)&&!c&&1===e.nodeType&&(i=!0===i?"":i,d?e.setAttributeNS(hk,t,i):e.setAttribute(t,i))}}else if(t="-"===t[2]?t.slice(3):dk(mk,s)?s.slice(2):s[2]+t.slice(3),n||i){const o=t.endsWith(Bk);t=t.replace(Fk,""),n&&gk.rel(e,t,n,o),i&&gk.ael(e,t,i,o)}},zk=/\s/,jk=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(zk):[]),Bk="Capture",Fk=RegExp(Bk+"$"),Vk=(e,t,n)=>{const i=11===t.O.nodeType&&t.O.host?t.O.host:t.O,o=e&&e.m||{},r=t.m||{};for(const a of Uk(Object.keys(o)))a in r||Mk(i,a,o[a],void 0,n,t.i);for(const a of Uk(Object.keys(r)))Mk(i,a,o[a],r[a],n,t.i)};function Uk(e){return e.includes("ref")?[...e.filter(e=>"ref"!==e),"ref"]:e}var qk=!1,Hk=!1,Wk=[],Gk=[],$k=(e,t,n)=>{const i=t.$[n];let o,r,a=0;if(null!=i.h)o=i.O=mk.document.createTextNode(i.h);else{if(!mk.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
2if(o=i.O=mk.document.createElement(i.j),Vk(null,i,Hk),i.$){const t="template"===i.j?o.content:o;for(a=0;a<i.$.length;++a)r=$k(e,i,a),r&&t.appendChild(r)}}return o["s-hn"]=Tk,o},Yk=(e,t,n,i,o,r)=>{let a,s=e;for(s.shadowRoot&&s.tagName===Tk&&(s=s.shadowRoot),"template"===n.j&&(s=s.content);o<=r;++o)i[o]&&(a=$k(null,n,o),a&&(i[o].O=a,e_(s,a,t)))},Xk=(e,t,n)=>{for(let i=t;i<=n;++i){const t=e[i];if(t){const e=t.O;Zk(t),e&&e.remove()}}},Kk=(e,t,n=!1)=>e.j===t.j&&(n?(n&&!e.v&&t.v&&(e.v=t.v),!0):e.v===t.v),Jk=(e,t,n=!1)=>{const i=t.O=e.O,o=e.$,r=t.$,a=t.h;null==a?("slot"!==t.j||qk||e.S!==t.S&&(t.O["s-sn"]=t.S||"",(e=>{gk.i|=1;const t=e.closest(Tk.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find(e=>e["s-cr"]),i=Array.from(e.__childNodes||e.childNodes);for(const e of n?i.reverse():i)null!=e["s-sh"]&&(e_(t,e,null!=n?n:null),e["s-sh"]=void 0)}gk.i&=-2})(t.O.parentElement)),Vk(e,t,Hk),null!==o&&null!==r?((e,t,n,i,o=!1)=>{let r,a,s=0,l=0,c=0,d=0,u=t.length-1,p=t[0],h=t[u],m=i.length-1,f=i[0],g=i[m];const b="template"===n.j?e.content:e;for(;s<=u&&l<=m;)if(null==p)p=t[++s];else if(null==h)h=t[--u];else if(null==f)f=i[++l];else if(null==g)g=i[--m];else if(Kk(p,f,o))Jk(p,f,o),p=t[++s],f=i[++l];else if(Kk(h,g,o))Jk(h,g,o),h=t[--u],g=i[--m];else if(Kk(p,g,o))Jk(p,g,o),e_(b,p.O,h.O.nextSibling),p=t[++s],g=i[--m];else if(Kk(h,f,o))Jk(h,f,o),e_(b,h.O,p.O),h=t[--u],f=i[++l];else{for(c=-1,d=s;d<=u;++d)if(t[d]&&null!==t[d].v&&t[d].v===f.v){c=d;break}c>=0?(a=t[c],a.j!==f.j?r=$k(t&&t[l],n,c):(Jk(a,f,o),t[c]=void 0,r=a.O),f=i[++l]):(r=$k(t&&t[l],n,l),f=i[++l]),r&&e_(p.O.parentNode,r,p.O)}s>u?Yk(e,null==i[m+1]?null:i[m+1].O,n,i,l,m):l>m&&Xk(t,s,u)})(i,o,t,r,n):null!==r?(null!==e.h&&(i.textContent=""),Yk(i,null,t,r,0,r.length-1)):!n&&null!==o&&Xk(o,0,o.length-1)):e.h!==a&&(i.data=a)},Zk=e=>{e.m&&e.m.ref&&Wk.push(()=>e.m.ref(null)),e.$&&e.$.map(Zk)},Qk=(e,t)=>{Gk.push(()=>e(t))},e_=(e,t,n)=>e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n),t_=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise(i=>e.A=()=>{t["s-p"].splice(n-1,1),i()}))}},n_=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);t_(e,e.C);const n=()=>i_(e,t);if(!t)return Sk(n);queueMicrotask(()=>{n()})},i_=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"));let o;return o=d_(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=o_(o,()=>d_(i,"componentWillRender",void 0,n)),o_(o,()=>a_(e,i,t))},o_=(e,t)=>r_(e)?e.then(t).catch(e=>{t()}):t(),r_=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,a_=async(e,t,n)=>{var i;const o=e.$hostElement$,r=o["s-rc"];n&&(e=>{const t=e.o,n=e.$hostElement$,i=t.i,o=((e,t)=>{var n,i,o;const r=Ak(t),a=pk.get(r);if(!mk.document)return r;if(e=11===e.nodeType?e:mk.document,a)if("string"==typeof a){let o,d=Ik.get(e=e.head||e);if(d||Ik.set(e,d=new Set),!d.has(r)){o=mk.document.createElement("style"),o.textContent=a;const u=null!=(n=gk.W)?n:null!=(c=null==(l=null==(s=mk.document.head)?void 0:s.querySelector('meta[name="csp-nonce"]'))?void 0:l.getAttribute("content"))?c:void 0;if(null!=u&&o.setAttribute("nonce",u),!(1&t.i))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(bk){const t=new(null!=(i=e.defaultView)?i:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(a),vk?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=a+t.textContent:e.prepend(o)}else e.append(o);1&t.i&&e.insertBefore(o,null),4&t.i&&(o.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),d&&d.add(r)}}else{let t=Ik.get(e);if(t||Ik.set(e,t=new Set),!t.has(r)){const n=null!=(o=e.defaultView)?o:e.ownerDocument.defaultView;let i;if(a.constructor===n.CSSStyleSheet)i=a;else{i=new n.CSSStyleSheet;for(let e=0;e<a.cssRules.length;e++)i.insertRule(a.cssRules[e].cssText,e)}vk?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i],t.add(r)}}var s,l,c;return r})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&i&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e),s_(e,t,o,n),r&&(r.map(e=>e()),o["s-rc"]=void 0);{const t=null!=(i=o["s-p"])?i:[],n=()=>l_(e);0===t.length?n():(Promise.all(t).then(n).catch(n),e.i|=4,t.length=0)}},s_=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,((e,t,n=!1)=>{const i=e.$hostElement$,o=e.o,r=e.M||Rk(null,null),a=(s=t)&&s.j===Lk?t:Ok(null,null,t);var s;if(Tk=i.tagName,o.k&&(a.m=a.m||{}
2,o.k.forEach(([e,t])=>{a.m[t]=i[e]})),n&&a.m)for(const l of Object.keys(a.m))i.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.m[l]=i[l]);a.j=null,a.i|=4,e.M=a,a.O=r.O=i.shadowRoot||i,qk=!(!(1&o.i)||128&o.i),Jk(r,a,n),Wk.forEach(e=>e()),Wk.length=0,Gk.forEach(e=>e()),Gk.length=0})(e,t,i)}catch(o){uk(o,e.$hostElement$)}return null},l_=e=>{const t=e.$hostElement$,n=t,i=e.C;d_(n,"componentDidRender",void 0,t),64&e.i?d_(n,"componentDidUpdate",void 0,t):(e.i|=64,u_(t),d_(n,"componentDidLoad",void 0,t),e.L(t),i||c_()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ek(()=>n_(e,!1)),e.i&=-517},c_=()=>{Ek(()=>(e=>{const t=gk.ce("appload",{detail:{namespace:"ionicons"}});return e.dispatchEvent(t),t})(mk))},d_=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(o){uk(o,i)}},u_=e=>e.classList.add("hydrated"),p_=(e,t,n,i)=>{const o=ck(e);if(!o)return;const r=e,a=o.l.get(t),s=o.i,l=r;if(!((n=Nk(n,i.t[t][0]))===a||Number.isNaN(a)&&Number.isNaN(n))){if(o.l.set(t,n),i._){const e=i._[t];e&&e.map(e=>{try{const[[i,r]]=Object.entries(e);(128&s||1&r)&&(l?l[i](n,a,t):o.D.push(()=>{o.H[i](n,a,t)}))}catch(i){uk(i,r)}})}if(2&s){if(l.componentShouldUpdate&&!1===l.componentShouldUpdate(n,a,t)&&!(16&s))return;16&s||n_(o,!1)}}},h_=(e,t)=>{var n,i;const o=e.prototype;{e.watchers&&!t._&&(t._=Dk(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.R&&(t.R=e.serializers);const r=Object.entries(null!=(n=t.t)?n:{});r.map(([e,[n]])=>{if(31&n||32&n){const{get:i,set:r}=ak(o,e)||{};i&&(t.t[e][0]|=2048),r&&(t.t[e][0]|=4096),Object.defineProperty(o,e,{get(){return i?i.apply(this):((e,t)=>ck(this).l.get(t))(0,e)},configurable:!0,enumerable:!0}),Object.defineProperty(o,e,{set(i){const o=ck(this);if(o){if(r)return void 0===(32&n?this[e]:o.$hostElement$[e])&&o.l.get(e)&&(i=o.l.get(e)),r.call(this,Nk(i,n)),void p_(this,e,i=32&n?this[e]:o.$hostElement$[e],t);p_(this,e,i,t)}}})}});{const n=new Map;o.attributeChangedCallback=function(e,i,a){gk.jmp(()=>{var s;const l=n.get(e),c=ck(this);if(this.hasOwnProperty(l),o.hasOwnProperty(l)&&"number"==typeof this[l]&&this[l]==a)return;if(null==l){const n=null==c?void 0:c.i;if(c&&n&&!(8&n)&&a!==i){const o=this,r=null==(s=t._)?void 0:s[e];null==r||r.forEach(t=>{const[[r,s]]=Object.entries(t);null!=o[r]&&(128&n||1&s)&&o[r].call(o,a,i,e)})}return}const d=r.find(([e])=>e===l),u=d&&4&d[1][0],p=u&&null===a&&void 0===this[l];u&&(a=null!==a&&"false"!==a);const h=Object.getOwnPropertyDescriptor(o,l);p||a==this[l]||h.get&&!h.set||(this[l]=a)})},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t._)?i:{}),...r.filter(([e,t])=>31&t[0]).map(([e,i])=>{var o;const r=i[1]||e;return n.set(r,e),512&i[0]&&(null==(o=t.k)||o.push([e,r])),r})]))}}return e};let m_;const f_=(e,t)=>{const n=(()=>{if("undefined"==typeof window)return new Map;if(!m_){const e=window;e.Ionicons=e.Ionicons||{},m_=e.Ionicons.map=e.Ionicons.map||new Map}return m_})().get(e);if(n)return n;try{return(e=>{const t=new URL(e,gk.u);return t.origin!==mk.location.origin?t.href:t.pathname})("svg/".concat(e,".svg"))}catch(i){}},g_=(e,t,n,i,o)=>(n="ios"===(n&&w_(n))?"ios":"md",i&&"ios"===n?e=w_(i):o&&"md"===n?e=w_(o):(e||!t||v_(t)||(e=t),y_(e)&&(e=w_(e))),y_(e)&&""!==e.trim()?""!==e.replace(/[a-z]|-|\d/gi,"")?null:e:null),b_=e=>y_(e)&&(e=e.trim(),v_(e))?e:null,v_=e=>e.length>0&&/(\/|\.)/.test(e),y_=e=>"string"==typeof e,w_=e=>e.toLowerCase(),x_=e=>e&&""!==e.dir?"rtl"===e.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()),k_=e=>{if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;if(y_(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<e.childNodes.length;t++)if(!k_(e.childNodes[t]))return!1}return!0},__=new Map,E_=new Map;let S_;function C_(e){return __.set(e,""),""}const T_=((e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n._=Dk(e._),n.P=e.P,n.R=e.R,n.k=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{const n={i:0,$hostElement$:e,o:t,l:new Map,U:new Map};n.N=new Promise(e=>
2n.L=e),e["s-p"]=[],e["s-rc"]=[];const i=n;e.__stencil__getHostRef=()=>i,512&t.i&&lk(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!ck(this))return;this.__hasHostListenerAttached=!0}(e=>{if(!(1&gk.i)){const t=ck(e);if(!t)return;const n=t.o,i=()=>{};if(1&t.i)(null==t?void 0:t.H)||(null==t?void 0:t.N)&&t.N.then(()=>{});else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){t_(t,t.C=n);break}}n.t&&Object.entries(n.t).map(([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t],e[t]=n}}),(async(e,t,n)=>{let i;try{if(!(32&t.i)&&(t.i|=32,i=e.constructor,customElements.whenDefined(e.localName).then(()=>t.i|=128),i&&i.style)){let e;"string"==typeof i.style&&(e=i.style);const t=Ak(n);if(!pk.has(t)){const i=()=>{};((e,t,n)=>{let i=pk.get(e);bk&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=t:i.replaceSync(t)):i=t,pk.set(e,i)})(t,e,!!(1&n.i)),i()}}const o=t.C,r=()=>n_(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()}catch(o){uk(o,e),t.A&&(t.A(),t.A=void 0),t.L&&t.L(e)}})(e,t,n)}i()}})(this),i&&i.call(this)},disconnectedCallback(){(async e=>{Ik.has(e)&&Ik.delete(e),e.shadowRoot&&Ik.has(e.shadowRoot)&&Ik.delete(e.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error("Unable to re-use existing shadow root for ".concat(n.p,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}else Ck.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),h_(e,n)}catch(i){return uk(i),e}})(class extends fk{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.isVisible=!1,this.mode=I_(),this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((e,t=[])=>{const n={};return t.forEach(t=>{e.hasAttribute(t)&&(null!==e.getAttribute(t)&&(n[t]=e.getAttribute(t)),e.removeAttribute(t))}),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(e,t,n){if(!this.lazy||"undefined"==typeof window||!window.IntersectionObserver)return n();const i=this.io=new window.IntersectionObserver(e=>{e[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())},{rootMargin:t});i.observe(e)}loadIcon(){if(this.isVisible){const e=(e=>{let t=b_(e.src);if(t)return t;if(t=g_(e.name,e.icon,e.mode,e.ios,e.md),t)return f_(t,e);if(e.icon){if(t=b_(e.icon),t)return t;if(t=b_(e.icon[e.mode]),t)return t}return null})(this);e&&(__.has(e)?this.svgContent=__.get(e):((e,t)=>E_.get(e)||("undefined"!=typeof fetch&&"undefined"!=typeof document?e.startsWith("data:image/svg+xml")&&(e=>-1!==e.indexOf(";utf8,"))(e)?Promise.resolve(function(e){S_||(S_=new DOMParser);const t=S_.parseFromString(e,"text/html").querySelector("svg");if(t)return __.set(e,t.outerHTML),t.outerHTML;throw Error("Could not parse svg from "+e)}(e)):function(e,t){const n=fetch(e).then(n=>n.text().then(n=>{n&&!1!==t&&(n=(e=>{const t=document.createElement("div");t.innerHTML=e;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 e=n.getAttribute("class")||"";if(n.setAttribute("class",(e+" s-ion-icon").trim()),k_(n))return t.innerHTML}return""})(n));const i=n||"";return __.set(e,i),i}).catch(()=>C_(e))).catch(()=>C_(e));return E_.set(e,n),n}(e,t):Promise.resolve(C_(e))))(e,this.sanitize).then(()=>this.svgContent=__.get(e)),this.didLoadIcon=!0)}this.iconName=g_(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:e,iconName:t,inheritedAttributes:n,el:i}=this,o=this.mode||"md",r=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==e,a=e||r;return Ok(Lk,Object.assign({key:"0578c899781ca145dd8205acd9670af39b57cf2e",role:"img",class:Object.assign(Object.assign({[o]:!0},A_(this.color)),{["icon-"+this.size]:!!this.size,"flip-rtl":a,"icon-rtl":a&&x_(i)})},n),this.svgContent?Ok("div",{class:"icon-inner",innerHTML:this.svgContent}):Ok("div",{class:"icon-inner"},Ok("slot",null)))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}}static get style(){return":host{display:inline-block;width:1em;height:1em;font-size:1em;contain:layout style;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.ionicon,svg{display:block;height:100%;width:100%}::slotted(*){font-size:inherit !important}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{transform:scale
2X(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{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)}"}},[257,"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]},void 0,{name:[{loadIcon:0}],src:[{loadIcon:0}],icon:[{loadIcon:0}],ios:[{loadIcon:0}],md:[{loadIcon:0}]}]),I_=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",A_=e=>e?{"ion-color":!0,["ion-color-"+e]:!0}:null,P_=qv,O_=Jv,R_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},L_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},D_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},N_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(e.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),t.addElement(e).easing("ease-in-out").duration(200).addAnimation([n,i])},M_=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.didPresent=bc(this,"ionLoadingDidPresent",7),this.willPresent=bc(this,"ionLoadingWillPresent",7),this.willDismiss=bc(this,"ionLoadingWillDismiss",7),this.didDismiss=bc(this,"ionLoadingDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.delegateController=lh(this),this.lockController=cm(),this.triggerController=ch(),this.customHTMLEnabled=Ps.get("innerHTMLTemplatesEnabled",Tg),this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,ah)}}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)}connectedCallback(){Vp(this.el),this.triggerChanged()}componentWillLoad(){var e;if(void 0===this.spinner){const e=tu(this);this.spinner=Ps.get("loadingSpinner",Ps.get("spinner","ios"===e?"lines":"crescent"))}(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el)}componentDidLoad(){!0===this.isOpen&&_d(()=>this.present()),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}async present(){const e=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Kp(this,"loadingEnter",R_,D_),this.duration>0&&(this.durationTimeout=setTimeout(()=>this.dismiss(),this.duration+10)),e()}async dismiss(e,t){const n=await this.lockController.lock();this.durationTimeout&&clearTimeout(this.durationTimeout);const i=await Zp(this,e,t,"loadingLeave",L_,N_);return i&&this.delegateController.removeViewFromDom(),n(),i}onDidDismiss(){return th(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return th(this.el,"ionLoadingWillDismiss")}
2renderLoadingMessage(e){const{customHTMLEnabled:t,message:n}=this;return t?Ql("div",{class:"loading-content",id:e,innerHTML:wg(n)}):Ql("div",{class:"loading-content",id:e},n)}render(){const{message:e,spinner:t,htmlAttributes:n,overlayIndex:i}=this,o=tu(this),r="loading-".concat(i,"-msg");return Ql(tc,Object.assign({key:"f86ddbc600cb5c396b7de38fb5f49625388c3c3f",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==e?r:null,tabindex:"-1"},n,{style:{zIndex:""+(4e4+this.overlayIndex)},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},Au(this.cssClass)),{[o]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),Ql("ion-backdrop",{key:"b53727aaddc37ef3c685fcc150c6d5193290a847",visible:this.showBackdrop,tappable:this.backdropDismiss}),Ql("div",{key:"4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3",tabindex:"0","aria-hidden":"true"}),Ql("div",{key:"84e51ceb07118f1eaeb757df28801c255496931b",class:"loading-wrapper ion-overlay-wrapper"},t&&Ql("div",{key:"fc97f1912e0fc558b7c309a5bc084415f5f620b2",class:"loading-spinner"},Ql("ion-spinner",{key:"6e186d856cd3f10f22c3e317ef00f31b4216459c",name:t,"aria-hidden":"true"})),void 0!==e&&this.renderLoadingMessage(r)),Ql("div",{key:"dcbe9d9a619daa1c08174e73827bdabeb59dde92",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{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, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #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);
2min-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, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #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}"}}},[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]},void 0,{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),z_=function(){"undefined"!=typeof customElements&&["ion-loading","ion-backdrop","ion-spinner"].forEach(e=>{switch(e){case"ion-loading":customElements.get(e)||customElements.define(e,M_);break;case"ion-backdrop":customElements.get(e)||Cu();break;case"ion-spinner":customElements.get(e)||Rg()}})},j_=Ny,B_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])},F_=e=>{const t=Vm(),n=Vm(),i=Vm();return n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",.01),i.addElement(e.querySelector(".picker-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),t.addElement(e).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,i])};sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.didPresent=bc(this,"ionPickerDidPresent",7),this.willPresent=bc(this,"ionPickerWillPresent",7),this.willDismiss=bc(this,"ionPickerWillDismiss",7),this.didDismiss=bc(this,"ionPickerDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.delegateController=lh(this),this.lockController=cm(),this.triggerController=ch(),this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.columns=[],this.duration=0,this.showBackdrop=!0,this.backdropDismiss=!0,this.animated=!0,this.isOpen=!1,this.onBackdropTap=()=>{this.dismiss(void 0,ah)},this.dispatchCancelHandler=e=>{if(ih(e.detail.role)){const e=this.buttons.find(e=>"cancel"===e.role);this.callButtonHandler(e)}}}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)}connectedCallback(){Vp(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var e;(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el)}componentDidLoad(){Ms(0,this.el),!0===this.isOpen&&_d(()=>this.present()),this.triggerChanged()}async present(){const e=await this.lockController.lock();await this.delegateController.attachViewToDom(),await Kp(this,"pickerEnter",B_,B_,void 0),this.duration>0&&(this.durationTimeout=setTimeout(()=>this.dismiss(),this.duration)),e()}async dismiss(e,t){const n=await this.lockController.lock();this.durationTimeout&&clearTimeout(this.durationTimeout);const i=await Zp(this,e,t,"pickerLeave",F_,F_);return i&&this.delegateController.removeViewFromDom(),n(),i}onDidDismiss(){return th(this.el,"ionPickerDidDismiss")}onWillDismiss(){return th(this.el,"ionPickerWillDismiss")}getColumn(e){return Promise.resolve(this.columns.find(t=>t.name===e))}async buttonClick(e){const t=e.role;return ih(t)?this.dismiss(void 0,t):await this.callButtonHandler(e)?this.dismiss(this.getSelected(),e.role):Prom
2ise.resolve()}async callButtonHandler(e){return!e||!1!==await rh(e.handler,this.getSelected())}getSelected(){const e={};return this.columns.forEach((t,n)=>{const i=void 0!==t.selectedIndex?t.options[t.selectedIndex]:void 0;e[t.name]={text:i?i.text:void 0,value:i?i.value:void 0,columnIndex:n}}),e}render(){const{htmlAttributes:e}=this,t=tu(this);return Ql(tc,Object.assign({key:"80f66d33780d8a1352d24be9cb63a0cc03d01ab5","aria-modal":"true",tabindex:"-1"},e,{style:{zIndex:""+(2e4+this.overlayIndex)},class:Object.assign({[t]:!0,["picker-"+t]:!0,"overlay-hidden":!0},Au(this.cssClass)),onIonBackdropTap:this.onBackdropTap,onIonPickerWillDismiss:this.dispatchCancelHandler}),Ql("ion-backdrop",{key:"97fb8e10ba08b197610cb8c0cdea61103883d55f",visible:this.showBackdrop,tappable:this.backdropDismiss}),Ql("div",{key:"b3969cb6fbf7153623d14e3ca1493d3370efb211",tabindex:"0","aria-hidden":"true"}),Ql("div",{key:"299268483c3727e698d9135bfdf40349a7050ac1",class:"picker-wrapper ion-overlay-wrapper",role:"dialog"},Ql("div",{key:"95394de3ef691899b7dbf416f56fd3e86bbdce3f",class:"picker-toolbar"},this.buttons.map(e=>Ql("div",{class:V_(e)},Ql("button",{type:"button",onClick:()=>this.buttonClick(e),class:U_(e)},e.text)))),Ql("div",{key:"05f18bb8d00dc0e22f691b7e41f90f729a6c66d7",class:"picker-columns"},Ql("div",{key:"4a8fdf224effc0af67fd413e2e6aca8a78d1cf43",class:"picker-above-highlight"}),this.presented&&this.columns.map(e=>Ql("ion-picker-legacy-column",{col:e})),Ql("div",{key:"e50a31db45e3f39e9d0fed36a21be9257eec09bf",class:"picker-below-highlight"}))),Ql("div",{key:"5a78cb2176ac807ea0c195c6b76cd0e8eef9d4c0",tabindex:"0","aria-hidden":"true"}))}get el(){return this}static get watchers(){return{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return{ios:".sc-ion-picker-legacy-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}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-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-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-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-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-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, var(--ion-background-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-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-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, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0, 0, 90px);transform:translate3d(0, 0, 90px);
2display: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}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-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}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}",md:".sc-ion-picker-legacy-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}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-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-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-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-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-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, var(--ion-background-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-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-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, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-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, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))
2));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}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-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, var(--ion-background-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}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}"}}},[34,"ion-picker-legacy",{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]},void 0,{isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]);const V_=e=>({["picker-toolbar-"+e.role]:void 0!==e.role,"picker-toolbar-button":!0}),U_=e=>Object.assign({"picker-button":!0,"ion-activatable":!0},Au(e.cssClass)),q_=(e,t)=>Math.floor(e/2-t/2),H_=(e,t)=>{const n=Vm(),i=Vm(),{position:o,top:r,bottom:a}=t,s=kd(e).querySelector(".toast-wrapper");switch(i.addElement(s),o){case"top":i.fromTo("transform","translateY(-100%)","translateY(".concat(r,")"));break;case"middle":const t=q_(e.clientHeight,s.clientHeight);s.style.top=t+"px",i.fromTo("opacity",.01,1);break;default:i.fromTo("transform","translateY(100%)","translateY(".concat(a,")"))}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(i)},W_=(e,t)=>{const n=Vm(),i=Vm(),{position:o,top:r,bottom:a}=t,s=kd(e).querySelector(".toast-wrapper");switch(i.addElement(s),o){case"top":i.fromTo("transform","translateY(".concat(r,")"),"translateY(-100%)");break;case"middle":i.fromTo("opacity",.99,0);break;default:i.fromTo("transform","translateY(".concat(a,")"),"translateY(100%)")}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(i)},G_=(e,t)=>{const n=Vm(),i=Vm(),{position:o,top:r,bottom:a}=t,s=kd(e).querySelector(".toast-wrapper");switch(i.addElement(s),o){case"top":s.style.setProperty("transform","translateY(".concat(r,")")),i.fromTo("opacity",.01,1);break;case"middle":const t=q_(e.clientHeight,s.clientHeight);s.style.top=t+"px",i.fromTo("opacity",.01,1);break;default:s.style.setProperty("transform","translateY(".concat(a,")")),i.fromTo("opacity",.01,1)}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(i)},$_=e=>{const t=Vm(),n=Vm(),i=kd(e).querySelector(".toast-wrapper");return n.addElement(i).fromTo("opacity",.99,0),t.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},Y_=sd(class extends il{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.didPresent=bc(this,"ionToastDidPresent",7),this.willPresent=bc(this,"ionToastWillPresent",7),this.willDismiss=bc(this,"ionToastWillDismiss",7),this.didDismiss=bc(this,"ionToastDidDismiss",7),this.didPresentShorthand=bc(this,"didPresent",7),this.willPresentShorthand=bc(this,"willPresent",7),this.willDismissShorthand=bc(this,"willDismiss",7),this.didDismissShorthand=bc(this,"didDismiss",7),this.delegateController=lh(this),this.lockController=cm(),this.triggerController=ch(),this.customHTMLEnabled=Ps.get("innerHTMLTemplatesEnabled",Tg),this.presented=!1,this.revealContentToScreenReader=!1,this.hasController=!1,this.duration=Ps.getNumber("toastDuration",0),this.layout="baseline",this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.isOpen=!1,this.dispatchCancelHandler=e=>{if(ih(e.detail.role)){const e=this.getButtons().find(e=>"cancel"===e.role);this.callButtonHandler(e)}},this.createSwipeGesture=e=>{(this.gesture=((e,t,n)=>{const i=kd(e).querySelector(".toast-wrapper"),o=e.clientHeight,r=i.getBoundingClientRect();let a=0;const s="middle"===e.position?.5:0,l="top"===e.position?-1:1,c=q_(o,r.height),d=[{offset:0,transform:"translateY(-".concat(c+r.height,"px)")},{offset:.5,transform:"translateY(0px)"},{offset:1,transform:"translateY(".concat(c+r.height,"px)")}],u=Vm("toast-swipe-to-dismiss-animation").addElement(i).duration(100);switch(e.position){case"middle":a=o+r.height,u.keyframes(d),u.progressStart(!0,.5);break;case"top":a=r.bottom,u.keyframes([{offset:0,transform:"translateY(".concat(t.top,")")},{offset:1,transform:"translateY(-100%)"}]),u.progressStart(!0,0);break;default:a=o-r.top,u.keyframes([{offset:0,transform:"translateY(".concat(t.bottom,")")},{offset:1,transform:"translateY(100%)"}]),u.progressStart(!0,0)}const p=e=>e*l/a,h=Ov({el:i,gestureName:"toast-swipe-to-dismiss",gesturePriority:39,direction:"y",onMove:e=>{const t=s+p(e.deltaY);u.progressStep(t)},onEnd:t=>{const o=t.velocityY,r=(t.deltaY+1e3*o)/a*l;h.enable(!1);let s=!0,m=1,f=0,g=0;if("middle"===e.position){s=r>=.25||r<=-.25,m=1,f=0;
2const e=i.getBoundingClientRect(),n=e.top-c,o=(c+e.height)*(t.deltaY<=0?-1:1);u.keyframes([{offset:0,transform:"translateY(".concat(n+"px",")")},{offset:1,transform:"translateY(".concat(s?o+"px":"0px",")")}]),g=o-n}else s=r>=.5,m=s?1:0,f=p(t.deltaY),g=(s?1-f:f)*a;const b=Math.min(Math.abs(g)/Math.abs(o),200);u.onFinish(()=>{s?(n(),u.destroy()):("middle"===e.position?u.keyframes(d).progressStart(!0,.5):u.progressStart(!0,0),h.enable(!0))},{oneTimeCallback:!0}).progressEnd(m,f,b)}});return h})(this.el,e,()=>{this.dismiss(void 0,sh)})).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}}swipeGestureChanged(){this.destroySwipeGesture(),this.presented&&this.prefersSwipeGesture()&&this.createSwipeGesture(this.lastPresentedPosition)}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)}connectedCallback(){Vp(this.el),this.triggerChanged()}disconnectedCallback(){this.triggerController.removeClickListener()}componentWillLoad(){var e;(null===(e=this.htmlAttributes)||void 0===e?void 0:e.id)||Up(this.el)}componentDidLoad(){!0===this.isOpen&&_d(()=>this.present()),this.triggerChanged()}async present(){const e=await this.lockController.lock();await this.delegateController.attachViewToDom();const{el:t,position:n}=this,i=function(e,t,n){let i;if(i="md"===n?"top"===e?8:-8:"top"===e?10:-10,t&&fp){null===t.offsetParent&&Ms();const n=t.getBoundingClientRect();return"top"===e?i+=n.bottom:"bottom"===e&&(i-=fp.innerHeight-n.top),{top:i+"px",bottom:i+"px"}}return{top:"calc(".concat(i,"px + var(--ion-safe-area-top, 0px))"),bottom:"calc(".concat(i,"px - var(--ion-safe-area-bottom, 0px))")}}(n,this.getAnchorElement(),tu(this));this.lastPresentedPosition=i,await Kp(this,"toastEnter",H_,G_,{position:n,top:i.top,bottom:i.bottom}),this.revealContentToScreenReader=!0,this.duration>0&&(this.durationTimeout=setTimeout(()=>this.dismiss(void 0,"timeout"),this.duration)),this.prefersSwipeGesture()&&this.createSwipeGesture(i),e()}async dismiss(e,t){var n,i;const o=await this.lockController.lock(),{durationTimeout:r,position:a,lastPresentedPosition:s}=this;r&&clearTimeout(r);const l=await Zp(this,e,t,"toastLeave",W_,$_,{position:a,top:null!==(n=null==s?void 0:s.top)&&void 0!==n?n:"",bottom:null!==(i=null==s?void 0:s.bottom)&&void 0!==i?i:""});return l&&(this.delegateController.removeViewFromDom(),this.revealContentToScreenReader=!1),this.lastPresentedPosition=void 0,this.destroySwipeGesture(),o(),l}onDidDismiss(){return th(this.el,"ionToastDidDismiss")}onWillDismiss(){return th(this.el,"ionToastWillDismiss")}getButtons(){return this.buttons?this.buttons.map(e=>"string"==typeof e?{text:e}:e):[]}getAnchorElement(){const{position:e,positionAnchor:t,el:n}=this;if(void 0!==t)if("middle"!==e||void 0===t){if("string"==typeof t){const e=document.getElementById(t);return null===e?void Ms('[ion-toast] - An anchor element with an ID of "'.concat(t,'" was not found in the DOM.')):e}if(t instanceof il)return t;Ms(0)}else Ms(0,this.el)}async buttonClick(e){const t=e.role;return ih(t)||await this.callButtonHandler(e)?this.dismiss(void 0,t):Promise.resolve()}async callButtonHandler(e){if(null==e?void 0:e.handler)try{if(!1===await rh(e.handler))return!1}catch(t){zs(0)}return!0}renderButtons(e,t){if(0===e.length)return;const n=tu(this);return Ql("div",{class:{"toast-button-group":!0,["toast-button-group-"+t]:!0}},e.map(e=>Ql("button",Object.assign({},e.htmlAttributes,{type:"button",class:X_(e),tabIndex:0,onClick:()=>this.buttonClick(e),part:K_(e)}),Ql("div",{class:"toast-button-inner"},e.icon&&Ql("ion-icon",{"aria-hidden":"true",icon:e.icon,slot:void 0===e.text?"icon-only":void 0,class:"toast-button-icon"}),e.text),"md"===n&&Ql("ion-ripple-effect",{type:void 0!==e.icon&&void 0===e.text?"unbounded":"bounded"}))))}renderToastMessage(e,t=null){const{customHTMLEnabled:n,message:i}=this;return n?Ql("div",{key:e,"aria-hidden":t,class:"toast-message",part:"message",innerHTML:wg(i)}):Ql("div",{key:e,"aria-hidden":t,class:"toast-message",part:"message"},i)}renderHeader(e,t=null){return Ql("div",{key:e,class:"toast-header","aria-hidden":t,part:"header"},this.header)}render(){const{layout:e,el:t,revealContentToScreenReader:n,header:i,message:o}=this,r=this.getButtons(),a=r.filter(e=>"start"===e.side),s=r.filter(e=>"start"!==e.side),l=tu(this),c={"toast-wrapper":!0,["toast-"+this.position]:!0,["toast-layout-"+e]:!0};return"stacked"===e&&a.length>0&&s.length>0&&Ms(0),Ql(tc,Object.assign({key:"b5256edcf33d0ef51e6c5080c84e1ca58abe2ae0",tabindex:"-1"},this.htmlAttributes,{style:{zIndex:""+(6e4+this.overlayIndex)},class:Iu(this.color,Object.assign(Object.assign({[l]:!0},Au(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),Ql("div",{key:"0860f7e895d8bc66e44c4d924ca569f4cbb1a749",class:c,part:"wrapper"},Ql("div",{key:"28784199c880a3f664677c8f5560b7caa8903251",class:"toast-container",part:"container"},this.renderButtons(a,"start"),void 0!==this.icon&&Ql("ion-icon",{key:"0a63ba1336ad43d2aec14e49055eb46c112359c2",class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),Ql("div",{key:"ecec8107af582dc55d4b3828dd7f3054a29f26b1",class:"toast-content",part:"content",role:"status","aria-atomic":"true","aria-live":"polite"},!n&&void 0!==i&&this.renderHeader("oldHeader","true"),!n&&void 0!==o&&this.renderToastMessage("oldMessage","true"),n&&void 0!==i&&this.renderHeader("header"),n&&void 0!==o&&this.renderToastMessage("header")),this.renderButtons(s,"end"))))}get el(){return this}static get watchers(){return{swipeGesture:[{swipeGestureChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}}static get style(){return
vendor: 8,475 bytes, line 2
2{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}:host{inset-inline-start: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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.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;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-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{-ms-flex:1;flex:1;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, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #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}:host{inset-inline-start: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);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.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;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-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{-ms-flex:1;flex:1;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, var(--ion-background-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, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #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, var(--ion-text-color-step-900, #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, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}"}
2}},[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]},void 0,{swipeGesture:[{swipeGestureChanged:0}],isOpen:[{onIsOpenChange:0}],trigger:[{triggerChanged:0}]}]),X_=e=>({"toast-button":!0,"toast-button-icon-only":void 0!==e.icon&&void 0===e.text,["toast-button-"+e.role]:void 0!==e.role,"ion-focusable":!0,"ion-activatable":!0}),K_=e=>ih(e.role)?"button cancel":"button",J_=function(){"undefined"!=typeof customElements&&["ion-toast","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-toast":customElements.get(e)||customElements.define(e,Y_);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}})},Z_="update:modelValue",Q_="modelValue",eE="routerLink",tE="navManager",nE=Symbol(),iE={default:nE},oE=e=>(null==e?void 0:e.split(" "))||[],rE=(e,t,n=[])=>{var i;return[...Array.from((null==(i=e.value)?void 0:i.classList)||[]),...n].filter((e,n,i)=>!t.has(e)&&i.indexOf(e)===n)},aE=(e,t,n=[],i=[],o,r)=>{void 0!==t&&t();const a=i,s=[eE,...n].reduce((e,t)=>(e[t]=iE,e),{});return o&&(a.push(Z_),s[Q_]=iE),Gn((t,{attrs:n,slots:a,emit:s})=>{var l;let c=o?t[o]:void 0;const d=Ct(),u=new Set(oE(n.class));ui(()=>{i.forEach(e=>{var t;null==(t=d.value)||t.addEventListener(e,t=>{s(e,t)})})});const p={created:e=>{(Array.isArray(r)?r:[r]).map(e=>e.replace(/-([a-z])/g,e=>e[1].toUpperCase())).forEach(t=>{e.addEventListener(t,t=>{t.target.tagName===e.tagName&&o&&(c=(null==t?void 0:t.target)[o],s(Z_,c))})})}},h=cr(),m=(null==(l=null==h?void 0:h.appContext)?void 0:l.provides[tE])?hn(tE):void 0;return()=>{c=t[o],oE(n.class).forEach(e=>{u.add(e)});const i=t.onClick,r={ref:d,class:rE(d,u),onClick:e=>{void 0!==i&&i(e),e.defaultPrevented||(e=>{const{routerLink:n}=t;if(n!==nE&&void 0!==m){e.preventDefault();let n={event:e};for(const e in t){const i=t[e];t.hasOwnProperty(e)&&e.startsWith("router")&&i!==nE&&(n[e]=i)}m.navigate(n)}})(e)}};for(const e in t){const i=t[e];(t.hasOwnProperty(e)&&i!==nE||e.startsWith("aria"))&&(r[e]=i);const o="on"+e.slice(0,1).toUpperCase()+e.slice(1),a=n[o];d.value&&n.hasOwnProperty(o)&&"addEventListener"in d.value&&d.value.addEventListener(e,a)}o&&(t[Q_]!==nE?r[o]=t[Q_]:c!==nE&&(r[o]=c)),eE in t&&t[eE]!==nE&&(r.href=t[eE]);const s=_r(e,r,a.default&&a.default());return void 0===o?s:dn(s,[[p]])}},{name:e,props:s,emits:a})},sE=aE("ion-accordion",wu,["value","disabled","readonly","toggleIcon","toggleIconSlot"]),lE=aE("ion-accordion-group",ku,["animated","multiple","value","disabled","readonly","expand","ionChange","ionValueChange"],["ionChange","ionValueChange"],"value","ion-change"),cE=aE("ion-avatar",Eu),dE=aE("ion-badge",Lu,["color"]),uE=aE("ion-button",Vu,["color","buttonType","disabled","expand","fill","routerDirection","routerAnimation","download","href","rel","shape","size","strong","target","type","form","ionFocus","ionBlur"],["ionFocus","ionBlur"]),pE=aE("ion-buttons",Hu,["collapse"]),hE=aE("ion-checkbox",Xu,["color","name","checked","indeterminate","disabled","errorText","helperText","value","labelPlacement","justify","alignment","required","ionChange","ionFocus","ionBlur"],["ionChange","ionFocus","ionBlur"],"checked","ion-change"),mE=aE("ion-chip",Ju,["color","outline","disabled"]),fE=aE("ion-col",op,["offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","pull","pullXs","pullSm","pullMd","pullLg","pullXl","push","pushXs","pushSm","pushMd","pushLg","pushXl","size","sizeXs","sizeSm","sizeMd","sizeLg","sizeXl"]),gE=aE("ion-content",dp,["color","fullscreen","fixedSlotPlacement","forceOverscroll","scrollX","scrollY","scrollEvents","ionScrollStart","ionScroll","ionScrollEnd"],["ionScrollStart","ionScroll","ionScrollEnd"]),bE=aE("ion-datetime",Of,["color","name","disabled","formatOptions","readonly","isDateEnabled","showAdjacentDays","min","max","presentation","cancelText","doneText","clearText","yearValues","monthValues","dayValues","hourValues","minuteValues","locale","firstDayOfWeek","titleSelectedDatesFormatter","multiple","highlightedDates","value","showDefaultTitle","showDefaultButtons","showClearButton","showDefaultTimeLabel","hourCycle","size","preferWheel","ionCancel","ionChange","ionValueChange","ionFocus","ionBlur","ionStyle","
2ionRender"],["ionCancel","ionChange","ionValueChange","ionFocus","ionBlur","ionStyle","ionRender"],"value","ion-change"),vE=aE("ion-datetime-button",Lf,["color","disabled","datetime"]),yE=aE("ion-fab-button",Nf,["color","activated","disabled","download","href","rel","routerDirection","routerAnimation","target","show","translucent","type","size","closeIcon","ionFocus","ionBlur"],["ionFocus","ionBlur"]),wE=aE("ion-footer",ng,["collapse","translucent"]),xE=aE("ion-grid",og,["fixed"]),kE=aE("ion-header",mg,["collapse","translucent"]),_E=aE("ion-img",bg,["alt","src","ionImgWillLoad","ionImgDidLoad","ionError"],["ionImgWillLoad","ionImgDidLoad","ionError"]),EE=aE("ion-infinite-scroll",yg,["threshold","disabled","position","ionInfinite"],["ionInfinite"]),SE=aE("ion-infinite-scroll-content",Dg,["loadingSpinner","loadingText"]),CE=aE("ion-input",Vg,["color","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearInputIcon","clearOnEdit","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","inputmode","helperText","label","labelPlacement","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","shape","spellcheck","step","type","value","ionInput","ionChange","ionBlur","ionFocus"],["ionInput","ionChange","ionBlur","ionFocus"],"value","ion-input"),TE=aE("ion-input-password-toggle",Hg,["color","showIcon","hideIcon","type"]),IE=aE("ion-item",$g,["color","button","detail","detailIcon","disabled","download","href","rel","lines","routerAnimation","routerDirection","target","type"]),AE=aE("ion-item-divider",Xg,["color","sticky"]),PE=aE("ion-item-option",Jg,["color","disabled","download","expandable","href","rel","target","type"]),OE=aE("ion-item-options",Qg,["side","ionSwipe"],["ionSwipe"]),RE=aE("ion-item-sliding",ab,["disabled","ionDrag"],["ionDrag"]),LE=aE("ion-label",cb,["color","position","ionColor","ionStyle"],["ionColor","ionStyle"]),DE=aE("ion-list",pb,["lines","inset"]),NE=aE("ion-list-header",fb,["color","lines"]),ME=aE("ion-menu",Ob,["contentId","menuId","type","disabled","side","swipeGesture","maxEdgeStart","ionWillOpen","ionWillClose","ionDidOpen","ionDidClose","ionMenuChange"],["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose","ionMenuChange"]),zE=aE("ion-menu-button",Db,["color","disabled","menu","autoHide","type"]),jE=aE("ion-menu-toggle",Mb,["menu","autoHide"]),BE=aE("ion-note",Vb,["color"]),FE=aE("ion-progress-bar",Wb,["type","reversed","value","buffer","color"]),VE=aE("ion-radio",Jb,["color","name","disabled","value","labelPlacement","justify","alignment","ionFocus","ionBlur"],["ionFocus","ionBlur"],"value","ion-change"),UE=aE("ion-radio-group",tv,["allowEmptySelection","compareWith","name","value","helperText","errorText","ionChange","ionValueChange"],["ionChange","ionValueChange"],"value","ion-change"),qE=aE("ion-refresher",mv,["pullMin","pullMax","closeDuration","snapbackDuration","pullFactor","disabled","ionRefresh","ionPull","ionStart","ionPullStart","ionPullEnd"],["ionRefresh","ionPull","ionStart","ionPullStart","ionPullEnd"]),HE=aE("ion-refresher-content",gv,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]),WE=aE("ion-row",Ev),GE=aE("ion-select",Xy,["cancelText","color","compareWith","disabled","fill","errorText","helperText","interface","interfaceOptions","justify","label","labelPlacement","multiple","name","okText","placeholder","selectedText","toggleIcon","expandedIcon","shape","value","required","ionChange","ionCancel","ionDismiss","ionFocus","ionBlur","ionStyle"],["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur","ionStyle"],"value","ion-change"),$E=aE("ion-select-option",Zy,["disabled","value"]),YE=aE("ion-spinner",Qy,["color","duration","name","paused"]),XE=aE("ion-text",rw,["color"]),KE=aE("ion-textarea",lw,["color","autocapitalize","autofocus","clearOnEdit","debounce","disabled","fill","inputmode","enterkeyhint","maxlength","minlength","name","placeholder","readonly","required","spellcheck","cols","rows","wrap","autoGrow","value","counter","counterFormatter","errorText","helperText","label","labelPlacement","shape","ionChange","ionInput","ionBlur","ionFocus"],["ionChange","ionInput","ionBlur","ionFocus"],"value","ion-input"),JE=aE("ion-title",cw,["color","size","ionStyle"],["ionStyle"]),ZE=aE("ion-toggle",hw,["color","name","checked","disabled","errorText","helperText","value","enableO
2nOffLabels","labelPlacement","justify","alignment","required","ionChange","ionFocus","ionBlur"],["ionChange","ionFocus","ionBlur"],"checked","ion-change"),QE=aE("ion-toolbar",mw,["color"]);var eS,tS;(tS=eS||(eS={})).WillEnter="onIonViewWillEnter",tS.DidEnter="onIonViewDidEnter",tS.WillLeave="onIonViewWillLeave",tS.DidLeave="onIonViewDidLeave";const nS={[dm]:eS.WillEnter,[um]:eS.DidEnter,[pm]:eS.WillLeave,[hm]:eS.DidLeave},iS={main:0},oS=(e,t,n)=>{(null==e?void 0:e[n])&&e[n].bind(null==t?void 0:t.value)();const i=null==t?void 0:t.value;if((null==i?void 0:i[n])&&i[n](),i){const e=i[nS[n]];e&&e.forEach(e=>e())}},rS=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null},aS=e=>(t,n=cr())=>((e,t,n)=>{if(n){const i=n,o=i.proxy[e]||(i.proxy[e]=[]);i.exposed&&(i.exposed[e]=o);const r=(...e)=>{if(!i.isUnmounted)return e?t(...e):t()};return o.push(r),r}})(e,t,n),sS=aS(eS.WillEnter),lS=aS(eS.DidEnter),cS=aS(eS.WillLeave),dS=aS(eS.DidLeave),uS=()=>{const{canGoBack:e,goBack:t,goForward:n,handleNavigate:i}=hn("navManager"),o=(e,t,n,o)=>i(e,n,t,o);return{canGoBack:e,push:(e,t)=>o(e,"forward","push",t),replace:(e,t)=>o(e,"root","replace",t),back:e=>t(e),forward:e=>n(e),navigate:o}},pS={async install(e,t={}){"undefined"!=typeof document&&document.documentElement.classList.add("ion-ce"),nu(t)}},hS=Gn((e,{attrs:t,slots:n})=>{"undefined"!=typeof customElements&&["ion-back-button","ion-icon","ion-ripple-effect"].forEach(e=>{switch(e){case"ion-back-button":customElements.get(e)||customElements.define(e,fw);break;case"ion-icon":customElements.get(e)||bu();break;case"ion-ripple-effect":customElements.get(e)||ju()}});const i=hn("navManager"),o=()=>{if(void 0===i)return;const e=t["default-href"]||t.defaultHref,n=t["router-animation"]||t.routerAnimation;i.handleNavigateBack(e,n)};return()=>_r("ion-back-button",Object.assign({onClick:o},t),n.default&&n.default())},{name:"IonBackButton"}),mS=Gn({name:"IonPage",props:{registerIonPage:{type:Function,default:()=>{}}},mounted(){this.$props.registerIonPage(this.$refs.ionPage)},setup:(e,{attrs:t,slots:n})=>()=>_r("div",Object.assign(Object.assign({},t),{class:"ion-page",ref:"ionPage"}),n.default&&n.default())}),fS=e=>!e.classList.contains("ion-page-hidden")&&!e.classList.contains("ion-page-invisible"),gS=Symbol(0),bS=Gn({name:"IonRouterOutlet",setup(){"undefined"!=typeof customElements&&["ion-router-outlet"].forEach(e=>{"ion-router-outlet"===e&&(customElements.get(e)||customElements.define(e,gw))});const e=hn(bx),t=nk(),n=hn(gS,0),i=kr(()=>t.matched[n]);let o,r;pn(gS,n+1),pn(mx,i);const a=Ct(),s=((e="main")=>{var t;const n=(null!==(t=iS[e])&&void 0!==t?t:0)+1;return iS[e]=n,n.toString()})("ion-router-outlet"),l=hn("navManager"),c=hn("viewStacks"),d=Tt([]);let u,p=!1;bn(()=>[t,i.value],([e,t])=>{if(void 0!==t){const n=t!==o,a=e.matched[e.matched.length-1]===t&&e.path!==r;(n||a)&&v(i)}o=t,r=e.path},{deep:!0});const h=()=>{const e=rS();if(!(e&&e.get("swipeBackEnabled","ios"===a.value.mode)))return!1;const t=c.getViewStack(s);if(!t||t.length<=1)return!1;const n=l.getLeavingRouteInfo();return!!c.findViewItemByRouteInfo({pathname:n.pushedByRoute||""},s)},m=async()=>{const e=l.getLeavingRouteInfo(),{routerAnimation:t}=e,n=c.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},s),i=c.findViewItemByRouteInfo(e,s);if(i){let e=t;const o=n.ionPageElement,r=i.ionPageElement,a=n.routerAnimation;void 0===e&&void 0!==a&&(e=a),i.routerAnimation=e,await g(o,r,"back",l.canGoBack(2),!0,e)}return Promise.resolve()},f=e=>{if(e)p=!0,l.handleNavigateBack();else{const e=l.getCurrentRouteInfo(),t=c.findViewItemByRouteInfo({pathname:e.pushedByRoute||""},s);t.ionPageElement.setAttribute("aria-hidden","true"),t.ionPageElement.classList.add("ion-page-hidden")}};bn(a,()=>{a.value.swipeHandler={canStart:h,onStart:m,onEnd:f}});const g=async(e,t,n,i,o,r)=>{if(p)return p=!1,Promise.resolve(!1);if(e===t)return Promise.resolve(!1);e.classList.add("ion-page-invisible");const s=void 0===n||"root"===n||"none"===n;return await a.value.commit(e,t,{duration:s&&void 0===r?0:void 0,direction:n,showGoBack:i,progressAnimation:o,animationBuilder:r})},b=async()=>{const e=l.getCurrentRouteInfo(),{routerDirection:t,routerAction:n,routerAnimation:i,prevRouteLastPathname:o,delta:r}=e,a=c.findViewItemByRouteInfo(e,s);let u=c.findLeavingViewItemByRouteInfo(e,s);const p=a.ionPageElement;if(a!==u&&(!u&&o&&(u=c.findViewItemByPathname(o,s)),!fS(p)||void 0===(null==u?void 0:u.ionPageElement)||fS(u.ionPageElement))){if
2(oS(a.vueComponent,a.vueComponentRef,dm),(null==u?void 0:u.ionPageElement)&&a!==u){let o=i;const l=u.ionPageElement;oS(u.vueComponent,u.vueComponentRef,pm);const d=a.routerAnimation;void 0===o&&"back"===t&&void 0!==d&&(o=d),u.routerAnimation=o,await g(p,l,t,!!e.pushedByRoute,!1,o),l.classList.add("ion-page-hidden"),l.setAttribute("aria-hidden","true");const h=1===c.size();if("replace"===n)u.mount=!1,u.ionPageElement=void 0,u.ionRoute=!1;else if("push"!==n||"forward"!==t){"none"!==t&&u&&a!==u&&(u.mount=!1,u.ionPageElement=void 0,u.ionRoute=!1,h&&c.unmountLeavingViews(s,a,r))}else h&&c.mountIntermediaryViews(s,u,r);oS(u.vueComponent,u.vueComponentRef,hm)}else requestAnimationFrame(()=>p.classList.remove("ion-page-invisible"));oS(a.vueComponent,a.vueComponentRef,um),d.value=c.getChildrenToRender(s)}},v=e=>{const n=t.matched[0];if(u||(u=n.path),!e.value||e.value!==n&&n.path!==u)return;const i=l.getCurrentRouteInfo();let o=c.findViewItemByRouteInfo(i,s);o||(o=c.createViewItem(s,e.value.components.default,e.value,i),c.add(o)),o.mount?b():(o.mount=!0,o.registerCallback=()=>{b(),o.registerCallback=void 0}),d.value=c.getChildrenToRender(s)};i.value&&v(i),fi(()=>c.clear(s));return{id:s,components:d,injectedRoute:e,ionRouterOutlet:a,registerIonPage:(e,t)=>{const n=e.ionPageElement;c.registerIonPage(e,t),e.registerCallback?(t.classList.add("ion-page-invisible"),e.registerCallback()):n&&!n.classList.contains("ion-page-invisible")&&t.classList.remove("ion-page-invisible")}}},render(){const{components:e,registerIonPage:t,injectedRoute:n}=this;return _r("ion-router-outlet",{ref:"ionRouterOutlet"},e&&e.map(e=>{var i,o;let r={ref:e.vueComponentRef,key:e.pathname,registerIonPage:n=>t(e,n)};const a=null===(o=null===(i=e.matchedRoute)||void 0===i?void 0:i.props)||void 0===o?void 0:o.default,s=a?!0===a?e.params:"function"==typeof a?(()=>{var t;const i=null===(t=e.vueComponentData)||void 0===t?void 0:t.propsFunctionResult;if(i)return i;{const t=a(n);return e.vueComponentData=Object.assign(Object.assign({},e.vueComponentData),{propsFunctionResult:t}),t}})():a:null;return r=Object.assign(Object.assign({},r),s),_r(e.vueComponent,r)}))}}),vS=Tt([]),yS=Gn((e,{attrs:t,slots:n})=>("undefined"!=typeof customElements&&["ion-app"].forEach(e=>{"ion-app"===e&&(customElements.get(e)||customElements.define(e,ok))}),()=>_r("ion-app",Object.assign({name:"IonApp"},t),[n.default&&n.default(),...vS.value])),{name:"IonApp"}),wS=e=>{vS.value=[...vS.value,e]},xS=e=>{vS.value=vS.value.filter(t=>t!==e)},kS=(e=wS,t=xS)=>{const n=new WeakMap;return{attachViewToDom:(t,i,o={},r)=>{const a=document.createElement("div");r&&a.classList.add(...r),t.appendChild(a);const s=_r(An,{to:a},_r(i,Object.assign({},o)));return n.set(a,s),e(s),Promise.resolve(a)},removeViewFromDom:(e,i)=>{const o=n.get(i);return o&&t(o),Promise.resolve()}}},_S=Gn((e,{slots:t})=>("undefined"!=typeof customElements&&["ion-icon"].forEach(e=>{"ion-icon"===e&&(customElements.get(e)||customElements.define(e,T_))}),()=>{var n,i;const{icon:o,ios:r,md:a,mode:s}=e;let l;const c=rS(),d=s||(null==c?void 0:c.get("mode"));return l=r||a?"ios"===d?null!==(n=null!=r?r:a)&&void 0!==n?n:o:null!==(i=null!=a?a:r)&&void 0!==i?i:o:o,_r("ion-icon",Object.assign(Object.assign({},e),{icon:l}),t)}),{name:"IonIcon",props:{color:{type:String},flipRtl:{type:Boolean},icon:{type:String},ios:{type:String},lazy:{type:Boolean},md:{type:String},mode:{type:String},name:{type:String},size:{type:String},src:{type:String}}}),ES=Symbol(),SS={default:ES},CS=(e,t,n=[],i,o)=>{const r={name:e,props:Object.assign({isOpen:SS},n.reduce((e,t)=>(e[t]=SS,e),{})),emits:void 0};return void 0!==o?Gn((n,{slots:i,emit:r})=>{const a=[{componentEv:"".concat(e,"WillPresent"),frameworkEv:"willPresent"},{componentEv:"".concat(e,"DidPresent"),frameworkEv:"didPresent"},{componentEv:"".concat(e,"WillDismiss"),frameworkEv:"willDismiss"},{componentEv:"".concat(e,"DidDismiss"),frameworkEv:"didDismiss"}];void 0!==t&&t();const s=Ct(),l=async()=>{n.isOpen&&await p(n)},c=async(e,t)=>{const i=e.props.isOpen;i!==t.props.isOpen&&(i?await p(n):await u())},d=async()=>{await u()},u=async()=>
2{s.value&&(await s.value,s.value=s.value.dismiss(),await s.value,s.value=void 0)},p=async t=>{var n;if(s.value&&await s.value,null===(n=s.value)||void 0===n?void 0:n.present)return void(await s.value.present());const l={};for(const e in t){const n=t[e];Object.prototype.hasOwnProperty.call(t,e)&&n!==ES&&(l[e]=n)}delete l.onWillPresent,delete l.onDidPresent,delete l.onWillDismiss,delete l.onDidDismiss,"ion-modal"===e&&(delete l.onIonDragStart,delete l.onIonDragMove,delete l.onIonDragEnd);const c=i.default&&i.default()[0];s.value=o.create(Object.assign(Object.assign({},l),{component:c})),s.value=await s.value,a.forEach(e=>{s.value.addEventListener(e.componentEv,()=>{r(e.frameworkEv)})}),await s.value.present()};return()=>_r("div",{style:{display:"none"},onVnodeMounted:l,onVnodeUpdated:c,onVnodeBeforeUnmount:d,isOpen:!0===n.isOpen})},r):(n=>Gn((n,{slots:o,emit:r})=>{void 0!==t&&t();const a=Ct(!1),s=Ct();return ui(()=>{const t=e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase());s.value.addEventListener("ionMount",e=>{r("ionMount",e),r(t+"IonMount",e),a.value=!0}),s.value.addEventListener("willPresent",e=>{r("willPresent",e),r(t+"WillPresent",e),a.value=!0}),s.value.addEventListener("didDismiss",e=>{r("didDismiss",e),r(t+"DidDismiss",e),a.value=!1}),s.value.addEventListener("willDismiss",e=>{r("willDismiss",e),r(t+"WillDismiss",e)}),s.value.addEventListener("didPresent",e=>{r("didPresent",e),r(t+"DidPresent",e)}),"ion-modal"===e&&(s.value.addEventListener("ionDragStart",e=>{r("ionDragStart",e)}),s.value.addEventListener("ionDragMove",e=>{r("ionDragMove",e)}),s.value.addEventListener("ionDragEnd",e=>{r("ionDragEnd",e)}))}),()=>{const t={};for(const e in n){const i=n[e];Object.prototype.hasOwnProperty.call(n,e)&&i!==ES&&(t[e]=i)}return _r(e,Object.assign(Object.assign({},t),{ref:s}),a.value||t.keepContentsMounted||""===t.keepContentsMounted?i?_r("div",{className:"ion-delegate-host ion-page"},o):o:void 0)}},n))(r)},TS=CS("ion-action-sheet",P_,["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"]),IS=CS("ion-alert",O_,["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"]),AS=CS("ion-loading",z_,["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"]),PS=CS("ion-modal",j_,["animated","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","enterAnimation","expandToScroll","focusTrap","handle","handleBehavior","htmlAttributes","initialBreakpoint","isOpen","keepContentsMounted","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","trigger"],!0),OS=CS("ion-toast",J_,["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"]),RS=(e,t,n=!1)=>{const i=n?kS():void 0,o=t.create.bind(t);return t.create=t=>(e(),o(Object.assign(Object.assign({},t),{delegate:i}))),t},LS=RS(O_,Np),DS=RS(P_,Mp),NS=RS(z_,zp),MS=RS(J_,Fp),zS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 112v288M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",jS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m80 224h-64v64a16 16 0 0 1-32 0v-64h-64a16 16 0 0 1 0-32h64v-64a16 16 0 0 1 32 0v64h64a16 16 0 0 1 0 32'/></svg>",BS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 112v288M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",FS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M250.26 166.05 256 288l5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 6' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M256 367.91a20 20 0 1 1 20-20 20 20 0 0 1-20 20'/></svg>",VS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",US="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M480 128a64 64 0 0 0-64-64h-16V48.45c0-8.61-6.62-16-15.23-16.43A16 16 0 0 0 368 48v16H144V48.45c0-8.61-6.62-16-15.23-16.43A16 16 0 0 0 112 48v16H96a64 64 0 0 0-64 64v12a4 4 0 0 0 4 4h440a4 4 0 0 0 4-4ZM32 416a64 64 0 0 0 64 64h320a64 64 0 0 0 64-64V179a3 3 0 0 0-3-3H35a3 3 0 0 0-3 3Zm344-208a24 24 0 1 1-24 24 24 24 0 0 1 24-24m
20 80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m-80-80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m0 80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m0 80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m-80-80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m0 80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m-80-80a24 24 0 1 1-24 24 24 24 0 0 1 24-24m0 80a24 24 0 1 1-24 24 24 24 0 0 1 24-24'/></svg>",qS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><rect width='416' height='384' x='48' y='80' stroke-linejoin='round' rx='48' class='ionicon-fill-none ionicon-stroke-width'/><circle cx='296' cy='232' r='24'/><circle cx='376' cy='232' r='24'/><circle cx='296' cy='312' r='24'/><circle cx='376' cy='312' r='24'/><circle cx='136' cy='312' r='24'/><circle cx='216' cy='312' r='24'/><circle cx='136' cy='392' r='24'/><circle cx='216' cy='392' r='24'/><circle cx='296' cy='392' r='24'/><path stroke-linecap='round' stroke-linejoin='round' d='M128 48v32M384 48v32' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linejoin='round' d='M464 160H48' class='ionicon-fill-none ionicon-stroke-width'/></svg>",HS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='272' r='64'/><path d='M432 144h-59c-3 0-6.72-1.94-9.62-5l-25.94-40.94a15.5 15.5 0 0 0-1.37-1.85C327.11 85.76 315 80 302 80h-92c-13 0-25.11 5.76-34.07 16.21a15.5 15.5 0 0 0-1.37 1.85l-25.94 41c-2.22 2.42-5.34 5-8.62 5v-8a16 16 0 0 0-16-16h-24a16 16 0 0 0-16 16v8h-4a48.05 48.05 0 0 0-48 48V384a48.05 48.05 0 0 0 48 48h352a48.05 48.05 0 0 0 48-48V192a48.05 48.05 0 0 0-48-48M256 368a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96'/></svg>",WS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M87.49 380c1.19-4.38-1.44-10.47-3.95-14.86a45 45 0 0 0-2.54-3.8 199.8 199.8 0 0 1-33-110C47.65 139.09 140.73 48 255.83 48 356.21 48 440 117.54 459.58 209.85a199 199 0 0 1 4.42 41.64c0 112.41-89.49 204.93-204.59 204.93-18.3 0-43-4.6-56.47-8.37s-26.92-8.77-30.39-10.11a31.1 31.1 0 0 0-11.12-2.07 30.7 30.7 0 0 0-12.09 2.43l-67.83 24.48a16 16 0 0 1-4.67 1.22 9.6 9.6 0 0 1-9.57-9.74 16 16 0 0 1 .6-3.29Z' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",GS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M60.44 389.17c0 .07 0 .2-.08.38.03-.12.05-.25.08-.38M439.9 405.6a26.8 26.8 0 0 1-9.59-2l-56.78-20.13-.42-.17a9.9 9.9 0 0 0-3.91-.76 10.3 10.3 0 0 0-3.62.66c-1.38.52-13.81 5.19-26.85 8.77-7.07 1.94-31.68 8.27-51.43 8.27-50.48 0-97.68-19.4-132.89-54.63A183.38 183.38 0 0 1 100.3 215.1a176 176 0 0 1 4.06-37.58c8.79-40.62 32.07-77.57 65.55-104A194.76 194.76 0 0 1 290.3 32c52.21 0 100.86 20 137 56.18 34.16 34.27 52.88 79.33 52.73 126.87a177.86 177.86 0 0 1-30.3 99.15l-.19.28-.74 1c-.17.23-.34.45-.5.68l-.15.27a22 22 0 0 0-1.08 2.09l15.74 55.94a26.4 26.4 0 0 1 1.12 7.11 24 24 0 0 1-24.03 24.03'/><path d='M299.87 425.39a15.74 15.74 0 0 0-10.29-8.1c-5.78-1.53-12.52-1.27-17.67-1.65a201.78 201.78 0 0 1-128.82-58.75A199.2 199.2 0 0 1 86.4 244.16C85 234.42 85 232 85 232a16 16 0 0 0-28-10.58s-7.88 8.58-11.6 17.19a162.09 162.09 0 0 0 11 150.06C59 393 59 395 58.42 399.5c-2.73 14.11-7.51 39-10 51.91a24 24 0 0 0 8 22.92l.46.39A24.34 24.34 0 0 0 72 480a23.4 23.4 0 0 0 9-1.79l53.51-20.65a8.05 8.05 0 0 1 5.72 0c21.07 7.84 43 12 63.78 12a176 176 0 0 0 74.91-16.66c5.46-2.56 14-5.34 19-11.12a15 15 0 0 0 1.95-16.39'/></svg>",$S="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M431 320.6c-1-3.6 1.2-8.6 3.3-12.2a34 34 0 0 1 2.1-3.1A162 162 0 0 0 464 215c.3-92.2-77.5-167-173.7-167-83.9 0-153.9 57.1-170.3 132.9a160.7 160.7 0 0 0-3.7 34.2c0 92.3 74.8 169.1 171 169.1 15.3 0 35.9-4.6 47.2-7.7s22.5-7.2 25.4-8.3a26.4 26.4 0 0 1 9.3-1.7 26 26 0 0 1 10.1 2l56.7 20.1a13.5 13.5 0 0 0 3.9 1 8 8 0 0 0 8-8 13 13 0 0 0-.5-2.7Z' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M66.46 232a146.23 146.23 0 0 0 6.39 152.67c2.31 3.49 3.61 6.19 3.21 8s-11.93 61.87-11.93 61.87a8 8 0 0 0 2.71 7.68A8.17 8.17 0 0 0 72 464a7.3 7.3 0 0 0 2.91-.6l56.21-22a15.7 15.7 0 0 1 12 .2c18.94 7.38 39.88 12 60.83 12A159.2 159.2 0 0 0 284 432.11' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",YS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-2
208S370.69 48 256 48m108.25 138.29-134.4 160a16 16 0 0 1-12 5.71h-.27a16 16 0 0 1-11.89-5.3l-57.6-64a16 16 0 1 1 23.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0 1 24.5 20.58'/></svg>",XS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",KS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 184 144 144 144-144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",JS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",ZS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 328 144-144 144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",QS="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M320 320 192 192M192 320l128-128' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",eC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M368 368 144 144M368 144 144 368' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",tC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M428 224H288a48 48 0 0 1-48-48V36a4 4 0 0 0-4-4h-92a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h224a64 64 0 0 0 64-64V228a4 4 0 0 0-4-4'/><path d='M419.22 188.59 275.41 44.78a2 2 0 0 0-3.41 1.41V176a16 16 0 0 0 16 16h129.81a2 2 0 0 0 1.41-3.41'/></svg>",nC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M416 221.25V416a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V96a48 48 0 0 1 48-48h98.75a32 32 0 0 1 22.62 9.37l141.26 141.26a32 32 0 0 1 9.37 22.62Z' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M256 56v120a32 32 0 0 0 32 32h120' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",iC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'>
2<path d='M336 176h40a40 40 0 0 1 40 40v208a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V216a40 40 0 0 1 40-40h40' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='m176 272 80 80 80-80M256 48v288' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",oC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='48'/><circle cx='256' cy='416' r='48'/><circle cx='256' cy='96' r='48'/></svg>",rC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='184' r='152' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-linejoin='round' d='M256 336v144M314 416H198' class='ionicon-fill-none ionicon-stroke-width'/></svg>",aC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 104v56h56a56 56 0 1 0-56-56ZM256 104v56h-56a56 56 0 1 1 56-56Z' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><rect width='384' height='112' x='64' y='160' rx='32' ry='32' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M416 272v144a48 48 0 0 1-48 48H144a48 48 0 0 1-48-48V272M256 160v304' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",sC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 448a32 32 0 0 1-18-5.57c-78.59-53.35-112.62-89.93-131.39-112.8-40-48.75-59.15-98.8-58.61-153C48.63 114.52 98.46 64 159.08 64c44.08 0 74.61 24.83 92.39 45.51a6 6 0 0 0 9.06 0C278.31 88.81 308.84 64 352.92 64c60.62 0 110.45 50.52 111.08 112.64.54 54.21-18.63 104.26-58.61 153-18.77 22.87-52.8 59.45-131.39 112.8a32 32 0 0 1-18 5.56'/></svg>",lC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M352.92 80C288 80 256 144 256 144s-32-64-96.92-64c-52.76 0-94.54 44.14-95.08 96.81-1.1 109.33 86.73 187.08 183 252.42a16 16 0 0 0 18 0c96.26-65.34 184.09-143.09 183-252.42-.54-52.67-42.32-96.81-95.08-96.81' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",cC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M261.56 101.28a8 8 0 0 0-11.06 0L66.4 277.15a8 8 0 0 0-2.47 5.79L63.9 448a32 32 0 0 0 32 32H192a16 16 0 0 0 16-16V328a8 8 0 0 1 8-8h80a8 8 0 0 1 8 8v136a16 16 0 0 0 16 16h96.06a32 32 0 0 0 32-32V282.94a8 8 0 0 0-2.47-5.79Z'/><path d='m490.91 244.15-74.8-71.56V64a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v32l-57.92-55.38C272.77 35.14 264.71 32 256 32c-8.68 0-16.72 3.14-22.14 8.63l-212.7 203.5c-6.22 6-7 15.87-1.34 22.37A16 16 0 0 0 43 267.56L250.5 69.28a8 8 0 0 1 11.06 0l207.52 198.28a16 16 0 0 0 22.59-.44c6.14-6.36 5.63-16.86-.76-22.97'/></svg>",dC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 212v236a16 16 0 0 0 16 16h96V328a24 24 0 0 1 24-24h80a24 24 0 0 1 24 24v136h96a16 16 0 0 0 16-16V212' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M480 256 266.89 52c-5-5.28-16.69-5.34-21.78 0L32 256M400 179V64h-48v69' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",uC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48c-79.5 0-144 61.39-144 137 0 87 96 224.87 131.25 272.49a15.77 15.77 0 0 0 25.5 0C304 409.89 400 272.07 400 185c0-75.61-64.5-137-144-137' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><circle cx='256' cy='192' r='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",pC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='216' cy='296' r='152' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-linejoin='round' d='M448 160V64h-96M324 188 448 64' class='ionicon-fill-none ionicon-stroke-width'/></svg>",hC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M384 224v184a40 40 0 0 1-40 40H104a40 40 0 0 1-40-40V168a40 40 0 0 1 40-40h167.48M336 64h112v112M224 288 440 72' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",mC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M490.39 182.75c-5.55-13.19-14.77-22.7-26.67-27.49l-.16-.06a46.5 46.5 0 0 0-17-3.2h-.64c-27.24.41-55.05 23.56-69.19 57.61-10.37 24.9-11.56 51.68-3.18 71.64 5.54 13.2 14.78 22.71 26.73 27.5l.13.05a46.5 46.5 0 0 0 17 3.2c27.5 0 55.6-23.15 70-57.65 10.24-24.87 11.37-51.63 2.98-71.6M381.55 329.61c-15.71-9.44-30.56-18.37-40.26-34.41C314.53 250.8 298.37 224 256 224s-58.57 26.8-85.39 71.2c-9.72 16.06-24.6 25-40.36 34.48-18.07 10.86-36.74 22.08-44.8 44.16a66.9 66.9 0 0 0-4.65 25c0 35.95 28 65.2 62.4 65.2 17.75 0 36.64-6.15 56.63-12.66 19.22-6.26 39.09-12.73 56.27-12.73s37 6.47 56.15 12.73C332.2 457.85 351 464 368.8 464c34.35 0 62.3-29.25 62.3-65.2a67 67 0 0 0-4.75-25c-8.06-22.1-26.74-33.33-44.8-44.19M150 188.85c11.9 14.93 27 23.15 42.52 23.15a43 43 0 0 0 6.33-.47c32.37-4.76 52.54-44.26 45.92-90C242 102.3 234.6 84.39 224 71.11 212.12 56.21 197 48 181.49 48a43 43 0 0 0-6.33.47c-32.37 4.76-52.54 44.26-45.92 90 2.76 19.2 10.16 37.09 20.76 50.38M313.16 211.53a43 43 0 0 0 6.33.47c15.53 0 30.62-8.22 42.52-23.15 10.59-13.29 17.95-31.18 20.75-50.4 6.62-45.72-13.55-85.22-45.92-90a43 43 0 0 0-6.33-.47C315 48 299.88 56.21 288 71.11c-10.6 13.28-18 31.19-20.76 50.44-6.62 45.72 13.55 85.22 45.92 89.98M111.59 308.8l.14-.05c11.93-4.79 21.16-14.29 26.69-27.48 8.38-20 7.2-46.75-3.15-71.65C120.94 175.16 92.85 152 65.38 152a46.4 46.4 0 0 0-17 3.2l-.14.05c-11.9 4.75-21.13 14.29-26.66 27.48-8.38 20-7.2 46.75 3.15 71.65C39.06 288.84 67.15 312 94.62 312a46.4 46.4 0 0 0 16.97-3.2'/></svg>",fC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M457.74 170.1a30.3 30.3 0 0 0-11.16-2.1h-.4c-20.17.3-42.79 19.19-54.66 47.76-14.23 34.18-7.68 69.15 14.74 78.14a30.2 30.2 0 0 0 11.
215 2.1c20.27 0 43.2-19 55.17-47.76 14.13-34.18 7.48-69.15-14.84-78.14ZM327.6 303.48C299.8 257.35 287.8 240 256 240s-43.9 17.46-71.7 63.48c-23.8 39.36-71.9 42.64-83.9 76.07a50.9 50.9 0 0 0-3.6 19.25c0 27.19 20.8 49.2 46.4 49.2 31.8 0 75.1-25.39 112.9-25.39S337 448 368.8 448c25.6 0 46.3-22 46.3-49.2a51 51 0 0 0-3.7-19.25c-12-33.55-60-36.71-83.8-76.07ZM192.51 196a26.5 26.5 0 0 0 4-.3c23.21-3.37 37.7-35.53 32.44-71.85C224 89.61 203.22 64 181.49 64a26.5 26.5 0 0 0-4 .3c-23.21 3.37-37.7 35.53-32.44 71.85C150 170.29 170.78 196 192.51 196ZM366.92 136.15c5.26-36.32-9.23-68.48-32.44-71.85a26.5 26.5 0 0 0-4-.3c-21.73 0-42.47 25.61-47.43 59.85-5.26 36.32 9.23 68.48 32.44 71.85a26.5 26.5 0 0 0 4 .3c21.73 0 42.51-25.71 47.43-59.85ZM105.77 293.9c22.39-9 28.93-44 14.72-78.14C108.53 187 85.62 168 65.38 168a30.2 30.2 0 0 0-11.15 2.1c-22.39 9-28.93 44-14.72 78.14C51.47 277 74.38 296 94.62 296a30.2 30.2 0 0 0 11.15-2.1Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",gC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path stroke-linecap='round' stroke-linejoin='round' d='M259.92 262.91 216.4 149.77a9 9 0 0 0-16.8 0l-43.52 113.14a9 9 0 0 1-5.17 5.17L37.77 311.6a9 9 0 0 0 0 16.8l113.14 43.52a9 9 0 0 1 5.17 5.17l43.52 113.14a9 9 0 0 0 16.8 0l43.52-113.14a9 9 0 0 1 5.17-5.17l113.14-43.52a9 9 0 0 0 0-16.8l-113.14-43.52a9 9 0 0 1-5.17-5.17M108 68 88 16 68 68 16 88l52 20 20 52 20-52 52-20zM426.67 117.33 400 48l-26.67 69.33L304 144l69.33 26.67L400 240l26.67-69.33L496 144z' class='ionicon-fill-none ionicon-stroke-width'/></svg>",bC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><rect width='48' height='160' x='64' y='320' rx='8' ry='8' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><rect width='48' height='256' x='288' y='224' rx='8' ry='8' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><rect width='48' height='368' x='400' y='112' rx='8' ry='8' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><rect width='48' height='448' x='176' y='32' rx='8' ry='8' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",vC="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8' class='ionicon-fill-none'/><path d='M432 96h-96V72a40 40 0 0 0-40-40h-80a40 40 0 0 0-40 40v24H80a16 16 0 0 0 0 32h17l19 304.92c1.42 26.85 22 47.08 48 47.08h184c26.13 0 46.3-19.78 48-47l19-305h17a16 16 0 0 0 0-32M192.57 416H192a16 16 0 0 1-16-15.43l-8-224a16 16 0 1 1 32-1.14l8 224A16 16 0 0 1 192.57 416M272 400a16 16 0 0 1-32 0V176a16 16 0 0 1 32 0Zm32-304h-96V72a7.91 7.91 0 0 1 8-8h80a7.91 7.91 0 0 1 8 8Zm32 304.57A16 16 0 0 1 320 416h-.58A16 16 0 0 1 304 399.43l8-224a16 16 0 1 1 32 1.14Z'/></svg>",yC=ss("Preferences",{web:()=>o(()=>import("./web-CK458zoB.js"),[]).then(e=>new e.PreferencesWeb)});const wC=new class{constructor(){t(this,"defaultData",{currentUser:null,firebaseUser:null})}async set(e,t){await yC.set({key:e,value:JSON.stringify(t)})}async get(e){var t;const n=await yC.get({key:e});return n.value?JSON.parse(n.value):null!=(t=this.defaultData[e])?t:null}async remove(e){await yC.remove({key:e})}async clear(){await yC.clear()}},xC=Object.freeze(Object.defineProperty({__proto__:null,default:wC},Symbol.toStringTag,{value:"Module"})),kC="https://forms.gle/RfUxVr4DFrp3maMr5",_C="https://forms.gle/gYsCkX7itsBCuNxF6",EC="foster-feedback-survey",SC="staff-feedback-survey",CC={foster:{title:"How's the app working for you?",body:"Brag on us, roast us, we'll take both. Gift card either way as a thank you."},staff:{title:"We'd love your feedback",body:"Got a minute? Tell us what you think of the app. A few quick questions, and a gift card to say thanks."}},TC=e=>{e&&window.open(e,"_blank","noopener,noreferrer")},IC=ss("App",{web:()=>o(()=>import("./web-BcllM2l-.js"),[]).then(e=>new e.AppWeb)});(()=>{if("undefined"!=typeof window&&window.Capacitor){const e=window.Capacitor.getPlatform();return"ios"===e||"android"===e}})();const AC="https://pawsitive-foster-2bb957b50b54.herokuapp.com".trim(),PC={apiBaseUrl:(()=>
vendor: 2,910 bytes, line 2
2{if(!AC)throw new Error("VITE_API_BASE_URL must be configured for non-development builds.");return AC})()};var OC={};const RC=function(e){const t=[];let n=0;for(let i=0;i<e.length;i++){let o=e.charCodeAt(i);o<128?t[n++]=o:o<2048?(t[n++]=o>>6|192,t[n++]=63&o|128):55296==(64512&o)&&i+1<e.length&&56320==(64512&e.charCodeAt(i+1))?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),t[n++]=o>>18|240,t[n++]=o>>12&63|128,t[n++]=o>>6&63|128,t[n++]=63&o|128):(t[n++]=o>>12|224,t[n++]=o>>6&63|128,t[n++]=63&o|128)}return t},LC={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[];for(let o=0;o<e.length;o+=3){const t=e[o],r=o+1<e.length,a=r?e[o+1]:0,s=o+2<e.length,l=s?e[o+2]:0,c=t>>2,d=(3&t)<<4|a>>4;let u=(15&a)<<2|l>>6,p=63&l;s||(p=64,r||(u=64)),i.push(n[c],n[d],n[u],n[p])}return i.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(RC(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){const t=[];let n=0,i=0;for(;n<e.length;){const o=e[n++];if(o<128)t[i++]=String.fromCharCode(o);else if(o>191&&o<224){const r=e[n++];t[i++]=String.fromCharCode((31&o)<<6|63&r)}else if(o>239&&o<365){const r=((7&o)<<18|(63&e[n++])<<12|(63&e[n++])<<6|63&e[n++])-65536;t[i++]=String.fromCharCode(55296+(r>>10)),t[i++]=String.fromCharCode(56320+(1023&r))}else{const r=e[n++],a=e[n++];t[i++]=String.fromCharCode((15&o)<<12|(63&r)<<6|63&a)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[];for(let o=0;o<e.length;){const t=n[e.charAt(o++)],r=o<e.length?n[e.charAt(o)]:0;++o;const a=o<e.length?n[e.charAt(o)]:64;++o;const s=o<e.length?n[e.charAt(o)]:64;if(++o,null==t||null==r||null==a||null==s)throw new DC;const l=t<<2|r>>4;if(i.push(l),64!==a){const e=r<<4&240|a>>2;if(i.push(e),64!==s){const e=a<<6&192|s;i.push(e)}}}return i},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};
2class DC extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const NC=function(e){return function(e){const t=RC(e);return LC.encodeByteArray(t,!0)}(e).replace(/\./g,"")},MC=function(e){try{return LC.decodeString(e,!0)}catch(T8){}return null};const zC=()=>function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__,jC=()=>{try{return zC()||(()=>{if("undefined"==typeof process)return;const e=OC.__FIREBASE_DEFAULTS__;return e?JSON.parse(e):void 0})()||(()=>{if("undefined"==typeof document)return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch(T8){return}const t=e&&MC(e[1]);return t&&JSON.parse(t)})()}catch(T8){return}},BC=e=>{var t,n;return null==(n=null==(t=jC())?void 0:t.emulatorHosts)?void 0:n[e]},FC=()=>{var e;return null==(e=jC())?void 0:e.config},VC=e=>{var t;return null==(t=jC())?void 0:t["_".concat(e)]};class UC{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}wrapCallback(e){return(t,n)=>{t?this.reject(t):this.resolve(n),"function"==typeof e&&(this.promise.catch(()=>{}),1===e.length?e(t):e(t,n))}}}function qC(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}class HC extends Error{constructor(e,t,n){super(t),this.code=e,this.customData=n,this.name="FirebaseError",Object.setPrototypeOf(this,HC.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,WC.prototype.create)}}class WC{constructor(e,t,n){this.service=e,this.serviceName=t,this.errors=n}create(e,...t){const n=t[0]||{},i="".concat(this.service,"/").concat(e),o=this.errors[e],r=o?function(e,t){try{let n=0,i="";for(;n<e.length;){const o=e.indexOf("{$",n);if(-1===o){i+=e.substring(n);break}const r=e.indexOf("}",o+2);if(-1===r){i+=e.substring(n);break}const a=e.substring(o+2,r),s=t[a];i+=e.substring(n,o)+(null!=s?String(s):"<".concat(a,"?>")),n=r+1}return i}catch(T8){return e}}(o,n):"Error",a="".concat(this.serviceName,": ").concat(r," (").concat(i,").");return new HC(i,a,n)}}function GC(e,t){if(e===t)return!0;const n=Object.keys(e),i=Object.keys(t);for(const o of n){if(!i.includes(o))return!1;const n=e[o],r=t[o];if($C(n)&&$C(r)){if(!GC(n,r))return!1}else if(n!==r)return!1}for(const o of i)if(!n.includes(o))return!1;return!0}function $C(e){return null!==e&&"object"==typeof e}function YC(e){const t=[];for(const[n,i]of Object.entries(e))Array.isArray(i)?i.forEach(e=>{t.push(encodeURIComponent(n)+"="+encodeURIComponent(e))}):t.push(encodeURIComponent(n)+"="+encodeURIComponent(i));return t.length?"&"+t.join("&"):""}function XC(e){const t={};return e.replace(/^\?/,"").split("&").forEach(e=>{if(e){const[n,i]=e.split("=");
2t[decodeURIComponent(n)]=decodeURIComponent(i)}}),t}function KC(e){const t=e.indexOf("?");if(!t)return"";const n=e.indexOf("#",t);return e.substring(t,n>0?n:void 0)}class JC{constructor(e,t){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(()=>{e(this)}).catch(e=>{this.error(e)})}next(e){this.forEachObserver(t=>{t.next(e)})}error(e){this.forEachObserver(t=>{t.error(e)}),this.close(e)}complete(){this.forEachObserver(e=>{e.complete()}),this.close()}subscribe(e,t,n){let i;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");i=function(e,t){if("object"!=typeof e||null===e)return!1;for(const n of t)if(n in e&&"function"==typeof e[n])return!0;return!1}(e,["next","error","complete"])?e:{next:e,error:t,complete:n},void 0===i.next&&(i.next=ZC),void 0===i.error&&(i.error=ZC),void 0===i.complete&&(i.complete=ZC);const o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?i.error(this.finalError):i.complete()}catch(T8){}}),this.observers.push(i),o}unsubscribeOne(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(e){if(!this.finalized)for(let t=0;t<this.observers.length;t++)this.sendOne(t,e)}sendOne(e,t){this.task.then(()=>{if(void 0!==this.observers&&void 0!==this.observers[e])try{t(this.observers[e])}catch(T8){"undefined"!=typeof console&&console.error}})}close(e){this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function ZC(){}function QC(e){return e&&e._delegate?e._delegate:e}function eT(e){try{return(e.startsWith("http://")||e.startsWith("https://")?new URL(e).hostname:e).endsWith(".cloudworkstations.dev")}catch(T8){return!1}}async function tT(e){return(await fetch(e,{credentials:"include"})).ok}class nT{constructor(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(e){return this.instantiationMode=e,this}setMultipleInstances(e){return this.multipleInstances=e,this}setServiceProps(e){return this.serviceProps=e,this}setInstanceCreatedCallback(e){return this.onInstanceCreated=e,this}}const iT="[DEFAULT]";class oT{constructor(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(e){const t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){const e=new UC;if(this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize())try{const n=this.getOrInitializeService({instanceIdentifier:t});n&&e.resolve(n)}catch(T8){}}return this.instancesDeferred.get(t).promise}getImmediate(e){var t;const n=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),i=null!=(t=null==e?void 0:e.optional)&&t;if(!this.isInitialized(n)&&!this.shouldAutoInitialize()){if(i)return null;throw Error("Service ".concat(this.name," is not available"))}try{return this.getOrInitializeService({instanceIdentifier:n})}catch(T8){if(i)return null;throw T8}}getComponent(){return this.component}setComponent(e){if(e.name!==this.name)throw Error("Mismatching Component ".concat(e.name," for Provider ").concat(this.name,"."));if(this.component)throw Error("Component for ".concat(this.name," has already been provided"));if(this.component=e,this.shouldAutoInitialize()){if(function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService({instanceIdentifier:iT})}catch(T8){}for(const[e,t]of this.instancesDeferred.entries()){const n=this.normalizeInstanceIdentifier(e);try{const e=this.getOrInitializeService({instanceIdentifier:n});t.resolve(e)}catch(T8){}}}}clearInstance(e=iT){this.instancesDeferred.delete(e),this.instancesOptions.delete(e),this.instances.delete(e)}async delete(){const e=Array.from(this.instances.values());await Promise.all([...e.filter(e=>"INTERNAL"in e).map(e=>e.INTERNAL.delete()),...e.filter(e=>"_delete"in e).map(e=>e._delete())])}isComponentSet(){return null!=this.component}isInitialized(e=iT){return this.instances.has(e)}getOptions(e=iT){return this.instancesOptions.get(e)||{}}initialize(e={}){const{options:t={}}=e,n=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(n))throw Error("".concat(this.name,"(").concat(n,") has already been initialized"));if(!this.isComponentSet())throw Error("Component ".concat(this.name," has not been registered yet"));const i=this.getOrInitializeService({instanceIdentifier:n,options:t});for(const[o,r]of this.instancesDeferred.entries()){n===this.normalizeInstanceIdentifier(o)&&r.resolve(i)}return i}onInit(e,t){var n;const i=this.normalizeInstanceIdentifier(t),o=null!=(n=this.onInitCallbacks.get(i))?n:new Set;o.add(e),this.onInitCallbacks.set(i,o);const r=this.instances.get(i);return r&&e(r,i),()=>{o.delete(e)}}invokeOnInitCallbacks(e,t){const n=this.onInitCallbacks.get(t);if(n)for(const i of n)try{i(e,t)}catch(T8){}}getOrInitializeService({instanceIdentifier:e,options:t={}}){let n=this.instances.get(e);if(!n&&this.component&&(n=this.component.instanceFactory(this.container,{instanceIdentifier:(i=e,i===iT?void 0:i),options:t}),this.instances.set(e,n),this.instancesOptions.set(e,t),this.invokeOnInitCallbacks(n,e),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,e,n)}catch(T8){}var i;return n||null}normalizeInstanceIdentifier(e=iT){return this.component?this.component.multipleInstances?e:iT:e}shouldAutoInitialize(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode}}class rT{constructor(e){this.name=e,this.providers=new Map}addComponent(e){const t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component ".concat(e.name," has already been registered with ").concat(this.name));t.setComponent(e)}addOrOverwriteComponent(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)}getProvider(e){if(this.providers.has(e))return this.providers.get(e);const t=new oT(e,this);return this.providers.set(e,t),t}getProviders(){return Array.from(this.providers.values())}}var aT,sT;(sT=aT||(aT={}))[sT.DEBUG=0]="DEBUG",sT[sT.VERBOSE=1]="VERBOSE",sT[sT.INFO=2]="INFO",sT[sT.WARN=3]="WARN",sT[sT.ERROR=4]="ERROR",sT[sT.SILENT=5]="SILENT";const lT={debug:aT.DEBUG,verbose:aT.VERBOSE,info:aT.INFO,warn:aT.WARN,error:aT.ER
2ROR,silent:aT.SILENT},cT=aT.INFO,dT={[aT.DEBUG]:"log",[aT.VERBOSE]:"log",[aT.INFO]:"info",[aT.WARN]:"warn",[aT.ERROR]:"error"},uT=(e,t,...n)=>{if(t<e.logLevel)return;(new Date).toISOString();if(!dT[t])throw new Error("Attempted to log a message with an invalid logType (value: ".concat(t,")"))};class pT{constructor(e){this.name=e,this._logLevel=cT,this._logHandler=uT,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(e){if(!(e in aT))throw new TypeError('Invalid value "'.concat(e,'" assigned to `logLevel`'));this._logLevel=e}setLogLevel(e){this._logLevel="string"==typeof e?lT[e]:e}get logHandler(){return this._logHandler}set logHandler(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e}get userLogHandler(){return this._userLogHandler}set userLogHandler(e){this._userLogHandler=e}debug(...e){this._userLogHandler&&this._userLogHandler(this,aT.DEBUG,...e),this._logHandler(this,aT.DEBUG,...e)}log(...e){this._userLogHandler&&this._userLogHandler(this,aT.VERBOSE,...e),this._logHandler(this,aT.VERBOSE,...e)}info(...e){this._userLogHandler&&this._userLogHandler(this,aT.INFO,...e),this._logHandler(this,aT.INFO,...e)}warn(...e){this._userLogHandler&&this._userLogHandler(this,aT.WARN,...e),this._logHandler(this,aT.WARN,...e)}error(...e){this._userLogHandler&&this._userLogHandler(this,aT.ERROR,...e),this._logHandler(this,aT.ERROR,...e)}}let hT,mT;const fT=new WeakMap,gT=new WeakMap,bT=new WeakMap,vT=new WeakMap,yT=new WeakMap;let wT={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return gT.get(e);if("objectStoreNames"===t)return e.objectStoreNames||bT.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return _T(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function xT(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(mT||(mT=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(ET(this),t),_T(fT.get(this))}:function(...t){return _T(e.apply(ET(this),t))}:function(t,...n){const i=e.call(ET(this),t,...n);return bT.set(i,t.sort?t.sort():[t]),_T(i)}}function kT(e){return"function"==typeof e?xT(e):(e instanceof IDBTransaction&&function(e){if(gT.has(e))return;const t=new Promise((t,n)=>{const i=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",r),e.removeEventListener("abort",r)},o=()=>{t(),i()},r=()=>{n(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",o),e.addEventListener("error",r),e.addEventListener("abort",r)});gT.set(e,t)}(e),t=e,(hT||(hT=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some(e=>t instanceof e)?new Proxy(e,wT):e);var t}function _T(e){if(e instanceof IDBRequest)return function(e){const t=new Promise((t,n)=>{const i=()=>{e.removeEventListener("success",o),e.removeEventListener("error",r)},o=()=>{t(_T(e.result)),i()},r=()=>{n(e.error),i()};e.addEventListener("success",o),e.addEventListener("error",r)});return t.then(t=>{t instanceof IDBCursor&&fT.set(t,e)}).catch(()=>{}),yT.set(t,e),t}(e);if(vT.has(e))return vT.get(e);const t=kT(e);return t!==e&&(vT.set(e,t),yT.set(t,e)),t}const ET=e=>yT.get(e);const ST=["get","getKey","getAll","getAllKeys","count"],CT=["put","add","delete","clear"],TT=new Map;function IT(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(TT.get(t))return TT.get(t);const n=t.replace(/FromIndex$/,""),i=t!==n,o=CT.includes(n);if(!(n in(i?IDBIndex:IDBObjectStore).prototype)||!o&&!ST.includes(n))return;const r=async function(e,...t){const r=this.transaction(e,o?"readwrite":"readonly");let a=r.store;return i&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),o&&r.done]))[0]};return TT.set(t,r),r}wT=(e=>({...e,get:(t,n,i)=>IT(t,n)||e.get(t,n,i),has:(t,n)=>!!IT(t,n)||e.has(t,n)}))(wT);class AT{constructor(e){this.container=e}getPlatformInfoString(){return this.container.getProviders().map(e=>{if(function(e){const t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){const t=e.getImmediate();return"".concat(t.library,"/").concat(t.version)}return null}).filter(e=>e).join(" ")}}const PT="@firebase/app",OT="0.16.0",RT=new pT("@firebase/app"),LT="@firebase/app-compat",DT="@firebase/analytics-compat",NT="@firebase/analytics",MT="@firebase/app-check-compat",zT="@firebase/app-check",jT="@firebase/auth",BT="@firebase/auth-compat",FT="@firebase/database",VT="@firebase/data-connect",UT="@firebase/database-compat",qT="@firebase/functions",HT="@firebase/functions-compat",WT="@firebase/installations",GT="@firebase/installations-compat",$T="@firebase/messaging",YT="@firebase/messaging-compat",XT="@firebase/performance",KT="@firebase/performance-compat",JT="@firebase/remote-config",ZT="@firebase/remote-config-compat",QT="@firebase/storage",eI="@firebase/storage-compat",tI="@firebase/firestore",nI="@firebase/ai",iI="@firebase/firestore-compat",oI="firebase",rI="[DEFAULT]",aI={[PT]:"fire-core",[LT]:"fire-core-compat",[NT]:"fire-analytics",[DT]:"fire-analytics-compat",[zT]:"fire-app-check",[MT]:"fire-app-check-compat",[jT]:"fire-auth",[BT]:"fire-auth-compat",[FT]:"fire-rtdb",[VT]:"fire-data-connect",[UT]:"fire-rtdb-compat",[qT]:"fire-fn",[HT]:"fire-fn-compat",[WT]:"fire-iid",[GT]:"fire-iid-compat",[$T]:"fire-fcm",[YT]:"fire-fcm-compat",[XT]:"fire-perf",[KT]:"fire-perf-compat",[JT]:"fire-rc",[ZT]:"fire-rc-compat",[QT]:"fire-g
2cs",[eI]:"fire-gcs-compat",[tI]:"fire-fst",[iI]:"fire-fst-compat",[nI]:"fire-vertex","fire-js":"fire-js",[oI]:"fire-js-all"},sI=new Map,lI=new Map,cI=new Map;function dI(e,t){try{e.container.addComponent(t)}catch(T8){RT.debug("Component ".concat(t.name," failed to register with FirebaseApp ").concat(e.name),T8)}}function uI(e){const t=e.name;if(cI.has(t))return RT.debug("There were multiple attempts to register component ".concat(t,".")),!1;cI.set(t,e);for(const n of sI.values())dI(n,e);for(const n of lI.values())dI(n,e);return!0}function pI(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}function hI(e){return null!=e&&void 0!==e.settings}const mI=new WC("app","Firebase",{"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}'","duplicate-app":"Firebase App named '{$appName}' already exists with different {$mismatchedParam}. Existing: '{$oldValue}'. New: '{$newValue}'.","app-deleted":"Firebase App named '{$appName}' already deleted","server-app-deleted":"Firebase Server App has been deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
2d-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.","finalization-registry-not-supported":"FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.","invalid-server-app-environment":"FirebaseServerApp is not for use in browser environments."});class fI{constructor(e,t,n){this._isDeleted=!1,this._options={...e},this._config={...t},this._name=t.name,this._automaticDataCollectionEnabled=t.automaticDataCollectionEnabled,this._container=n,this.container.addComponent(new nT("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(e){this.checkDestroyed(),this._automaticDataCollectionEnabled=e}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(e){this._isDeleted=e}checkDestroyed(){if(this.isDeleted)throw mI.create("app-deleted",{appName:this._name})}}const gI="12.17.0";function bI(e,t={}){let n=e;if("object"!=typeof t){t={name:t}}const i={name:rI,automaticDataCollectionEnabled:!0,...t},o=i.name;if("string"!=typeof o||!o)throw mI.create("bad-app-name",{appName:String(o)});if(n||(n=FC()),!n)throw mI.create("no-options");const r=sI.get(o);if(r){if(GC(n,r.options)){if(GC(i,r.config))return r;throw mI.create("duplicate-app",{appName:o,mismatchedParam:"config",oldValue:JSON.stringify(r.config),newValue:JSON.stringify(i)})}throw mI.create("duplicate-app",{appName:o,mismatchedParam:"options",oldValue:JSON.stringify(r.options),newValue:JSON.stringify(n)})}const a=new rT(o);for(const l of cI.values())a.addComponent(l);const s=new fI(n,i,a);return sI.set(o,s),s}function vI(e=rI){const t=sI.get(e);if(!t&&e===rI&&FC())return bI();if(!t)throw mI.create("no-app",{appName:e});return t}function yI(){return Array.from(sI.values())}function wI(e,t,n){var i;let o=null!=(i=aI[e])?i:e;n&&(o+="-".concat(n));const r=o.match(/\s|\//),a=t.match(/\s|\//);if(r||a){const e=['Unable to register library "'.concat(o,'" with version "').concat(t,'":')];return r&&e.push('library name "'.concat(o,'" contains illegal characters (whitespace or "/")')),r&&a&&e.push("and"),a&&e.push('version name "'.concat(t,'" contains illegal characters (whitespace or "/")')),void RT.warn(e.join(" "))}uI(new nT("".concat(o,"-version"),()=>({library:o,version:t}),"VERSION"))}const xI="firebase-heartbeat-store";let kI=null;function _I(){return kI||(kI=function(e,t,{blocked:n,upgrade:i,blocking:o,terminated:r}={}){const a=indexedDB.open(e,t),s=_T(a);return i&&a.addEventListener("upgradeneeded",e=>{i(_T(a.result),e.oldVersion,e.newVersion,_T(a.transaction),e)}),n&&a.addEventListener("blocked",e=>n(e.oldVersion,e.newVersion,e)),s.then(e=>{r&&e.addEventListener("close",()=>r()),o&&e.addEventListener("versionchange",e=>o(e.oldVersion,e.newVersion,e))}).catch(()=>{}),s}("firebase-heartbeat-database",1,{upgrade:(e,t)=>{if(0===t)try{e.createObjectStore(xI)}catch(T8){}}}).catch(e=>{throw mI.create("idb-open",{originalErrorMessage:e.message})})),kI}async function EI(e,t){try{const n=(await _I()).transaction(xI,"readwrite"),i=n.objectStore(xI);await i.put(t,SI(e)),await n.done}catch(T8){if(T8 instanceof HC)RT.warn(T8.message);else{const t=mI.create("idb-set",{originalErrorMessage:null==T8?void 0:T8.message});RT.warn(t.message)}}}function SI(e){return"".concat(e.name,"!").concat(e.options.appId)}class CI{constructor(e){this.container=e,this._heartbeatsCache=null;const t=this.container.getProvider("app").getImmediate();this._storage=new II(t),this._heartbeatsCachePromise=this._storage.read().then(e=>(this._heartbeatsCache=e,e))}async triggerHeartbeat(){var e,t;try{const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),i=TI();if(null==(null==(e=this._heartbeatsCache)?void 0:e.heartbeats)&&(this._heartbeatsCache=await this._heartbeatsCachePromise,null==(null==(t=this._heartbeatsCache)?void 0:t.heartbeats)))return;if(this._heartbeatsCache.lastSentHeartbeatDate===i||this._heartbeatsCache.heartbeats.some(e=>e.date===i))return;if(this._heartbeatsCache.heartbeats.push({date:i,agent:n}),this._heartbeatsCache.heartbeats.length>30){const e=function(e){if(0===e.length)return-1;let t=0,n=e[0].date;for(let i=1;i<e.length;i++)e[i].date<n&&(n=e[i].date,t=i);return t}(this._heartbeatsCache.heartbeats);this._heartbeatsCache.heartbeats.splice(e,1)}return this._storage.overwrite(this._heartbeatsCache)}catch(T8){RT.warn(T8)}}async getHeartbeatsHeader(){var e;try{if(null===this._heartbeatsCache&&await this._heartbeatsCachePromise,null==(null==(e=this._heartbeatsCache)?void 0:e.heartbeats)||0===this._heartbeatsCache.heartbeats.length)return"";const t=TI(),{heartbeatsToSend:n,unsentEntries:i}=function(e,t=1024){const n=[];let i=e.slice();for(const o of e){const e=n.find(e=>e.agent===o.agent);if(e){if(e.dates.push(o.date),AI(n)>t){e.dates.pop();break}}else if(n.push({agent:o.agent,dates:[o.date]}),AI(n)>t){n.pop();break}i=i.slice(1)}return{heartbeatsToSend:n,unsentEntries:i}}(this._heartbeatsCache.heartbeats),o=NC(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,i.length>0?(this._heartbeatsCache.heartbeats=i,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),o}catch(T8){return RT.warn(T8),""}}}function TI(){return(new Date).toISOString().substring(0,10)}class II{constructor(e){this.app=e,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return!!function(){try{return"object"==typeof indexedDB}catch(T8){return!1}}()&&new Promise((e,t)=>
2{try{let n=!0;const i="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(i);o.onsuccess=()=>{o.result.close(),n||self.indexedDB.deleteDatabase(i),e(!0)},o.onupgradeneeded=()=>{n=!1},o.onerror=()=>{var e;t((null==(e=o.error)?void 0:e.message)||"")}}catch(n){t(n)}}).then(()=>!0).catch(()=>!1)}async read(){if(await this._canUseIndexedDBPromise){const e=await async function(e){try{const t=(await _I()).transaction(xI),n=await t.objectStore(xI).get(SI(e));return await t.done,n}catch(T8){if(T8 instanceof HC)RT.warn(T8.message);else{const t=mI.create("idb-get",{originalErrorMessage:null==T8?void 0:T8.message});RT.warn(t.message)}}}(this.app);return(null==e?void 0:e.heartbeats)?e:{heartbeats:[]}}return{heartbeats:[]}}async overwrite(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return EI(this.app,{lastSentHeartbeatDate:null!=(t=e.lastSentHeartbeatDate)?t:n.lastSentHeartbeatDate,heartbeats:e.heartbeats})}}async add(e){var t;if(await this._canUseIndexedDBPromise){const n=await this.read();return EI(this.app,{lastSentHeartbeatDate:null!=(t=e.lastSentHeartbeatDate)?t:n.lastSentHeartbeatDate,heartbeats:[...n.heartbeats,...e.heartbeats]})}}}function AI(e){return NC(JSON.stringify({version:2,heartbeats:e})).length}var PI;PI="",uI(new nT("platform-logger",e=>new AT(e),"PRIVATE")),uI(new nT("heartbeat",e=>new CI(e),"PRIVATE")),wI(PT,OT,PI),wI(PT,OT,"esm2020"),wI("fire-js","");function OI(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}}const RI=function
vendor: 12,062 bytes, line 2
2(){return{"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","emulator-config-failed":'Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner.',"expired-action-code":"The action code has expired.","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal AuthError has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registered for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal AuthError has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-emulator-scheme":"Emulator URL must start with a valid scheme (http:// or https://).","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is incorrect, malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","login-blocked":"Login blocked by user-provided method: {$originalMessage}","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal AuthError has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-password":"A non-empty password must be provided","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal AuthError has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted. Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled.","already-initialized":"initializeAuth() has already been called with different options. To avoid this error, call initializeAuth() with the same options as when it was originally called, or call getAuth() to return the already initialized instance.","missing-recaptcha-token":"The reCAPTCHA token is missing when sending request to the backend.","invalid-recaptcha-token":"The reCAPTCHA token is invalid when sending request to the backend.","invalid-recaptcha-action":"The reCAPTCHA action is invalid when sending request to the backend.","recaptcha-not-enabled":"reCAPTCHA Enterprise integration is not enabled for this project.","missing-client-type":"The reCAPTCHA client type is missing when sending request to the backend.","missing-recaptcha-version":"The reCAPTCHA version is missing when sending request to the backend.","invalid-req-type":"Invalid request parameters.","invalid-recaptcha-version":"The reCAPTCHA version is invalid when sending request to the backend.","unsupported-password-policy-schema-version":"The password policy received from the backend uses a schema version that is not supported by this version of the Firebase SDK.","password-does-not-meet-requirements":"The password does not meet the requirements.","invalid-hosting-link-domain":"The provided Hosting link domain is not configured in Firebase Hosting or is not owned by the current project. This cannot be a default Hosting domain (`web.app` or `firebaseapp.com`)."}},
2LI=OI,DI=new WC("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),NI=new pT("@firebase/auth");function MI(e,...t){NI.logLevel<=aT.WARN&&NI.warn("Auth (".concat(gI,"): ").concat(e),...t)}function zI(e,...t){NI.logLevel<=aT.ERROR&&NI.error("Auth (".concat(gI,"): ").concat(e),...t)}function jI(e,...t){throw qI(e,...t)}function BI(e,...t){return qI(e,...t)}function FI(e,t,n){const i={...LI(),[t]:n};return new WC("auth","Firebase",i).create(t,{appName:e.name})}function VI(e){return FI(e,"operation-not-supported-in-this-environment","Operations that alter the current user are not supported in conjunction with FirebaseServerApp")}function UI(e,t,n){if(!(t instanceof n))throw n.name!==t.constructor.name&&jI(e,"argument-error"),FI(e,"argument-error","Type of ".concat(t.constructor.name," does not match expected instance.")+"Did you pass a reference from a different Auth SDK?")}function qI(e,...t){if("string"!=typeof e){const n=t[0],i=[...t.slice(1)];return i[0]&&(i[0].appName=e.name),e._errorFactory.create(n,...i)}return DI.create(e,...t)}function HI(e,t,...n){if(!e)throw qI(t,...n)}function WI(e){const t="INTERNAL ASSERTION FAILED: "+e;throw zI(t),new Error(t)}function GI(e,t){e||WI(t)}function $I(){var e;return"undefined"!=typeof self&&(null==(e=self.location)?void 0:e.href)||""}function YI(){return"http:"===XI()||"https:"===XI()}function XI(){var e;return"undefined"!=typeof self&&(null==(e=self.location)?void 0:e.protocol)||null}function KI(){return!("undefined"!=typeof navigator&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(YI()||function(){const e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id}()||"connection"in navigator))||navigator.onLine}class JI{constructor(e,t){this.shortDelay=e,this.longDelay=t,GI(t>e,"Short delay should be less than long delay!"),this.isMobile="undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(qC())||"object"==typeof navigator&&"ReactNative"===navigator.product}get(){return KI()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function ZI(e,t){GI(e.emulator,"Emulator should always be set here");const{url:n}=e.emulator;return t?"".concat(n).concat(t.startsWith("/")?t.slice(1):t):n}class QI{static initialize(e,t,n){this.fetchImpl=e,t&&(this.headersImpl=t),n&&(this.responseImpl=n)}static fetch(){return this.fetchImpl?this.fetchImpl:"undefined"!=typeof self&&"fetch"in self?self.fetch:"undefined"!=typeof globalThis&&globalThis.fetch?globalThis.fetch:"undefined"!=typeof fetch?fetch:void WI("Could not find fetch implementation, make sure you call FetchProvi
2der.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:"undefined"!=typeof self&&"Headers"in self?self.Headers:"undefined"!=typeof globalThis&&globalThis.Headers?globalThis.Headers:"undefined"!=typeof Headers?Headers:void WI("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:"undefined"!=typeof self&&"Response"in self?self.Response:"undefined"!=typeof globalThis&&globalThis.Response?globalThis.Response:"undefined"!=typeof Response?Response:void WI("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const eA={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",INVALID_LOGIN_CREDENTIALS:"invalid-credential",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},tA=["/v1/accounts:signInWithCustomToken","/v1/accounts:signInWithEmailLink","/v1/accounts:signInWithIdp","/v1/accounts:signInWithPassword","/v1/accounts:signInWithPhoneNumber","/v1/token"],nA=new JI(3e4,6e4);function iA(e,t){return e.tenantId&&!t.tenantId?{...t,tenantId:e.tenantId}:t}async function oA(e,t,n,i,o={}){return rA(e,o,async()=>{let o={},r={};i&&("GET"===t?r=i:o={body:JSON.stringify(i)});const a=YC({...r,key:e.config.apiKey}).slice(1),s=await e._getAdditionalHeaders();s["Content-Type"]="application/json",e.languageCode&&(s["X-Firebase-Locale"]=e.languageCode);const l={method:t,headers:s,...o};return"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||(l.referrerPolicy="strict-origin-when-cross-origin"),e.emulatorConfig&&eT(e.emulatorConfig.host)&&(l.credentials="include"),QI.fetch()(await sA(e,e.config.apiHost,n,a),l)})}async function rA(e,t,n){e._canInitEmulator=!1;const i={...eA,...t};try{const t=new cA(e),o=await Promise.race([n(),t.promise]);t.clearNetworkTimeout();const r=await o.json();if("needConfirmation"in r)throw dA(e,"account-exists-with-different-credential",r);if(o.ok&&!("errorMessage"in r))return r;{const t=o.ok?r.errorMessage:r.error.message,[n,a]=t.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===n)throw dA(e,"credential-already-in-use",r);if("EMAIL_EXISTS"===n)throw dA(e,"email-already-in-use",r);if("USER_DISABLED"===n)throw dA(e,"user-disabled",r);const s=i[n]||n.toLowerCase().replace(/[_\s]+/g,"-");if(a)throw FI(e,s,a);jI(e,s)}}catch(T8){if(T8 instanceof HC)throw T8;jI(e,"network-request-failed",{message:String(T8)})}}async function aA(e,t,n,i,o={}){const r=await oA(e,t,n,i,o);return"mfaPendingCredential"in r&&jI(e,"multi-factor-auth-required",{_serverResponse:r}),r}async function sA(e,t,n,i){const o="".concat(t).concat(n,"?").concat(i),r=e,a=r.config.emulator?ZI(e.config,o):"".concat(e.config.apiScheme,"://").concat(o);if(tA.includes(n)&&(await r._persistenceManagerAvailable,"COOKIE"===r._getPersistenceType())){return r._getPersistence()._getFinalTarget(a).toString()}return a}function lA(e){switch(e){case"ENFORCE":return"ENFORCE";case"AUDIT":return"AUDIT";case"OFF":return"OFF";default:return"ENFORCEMENT_STATE_UNSPECIFIED"}}class cA{clearNetworkTimeout(){clearTimeout(this.timer)}constructor(e){this.auth=e,this.timer=null,this.promise=new Promise((e,t)=>
2{this.timer=setTimeout(()=>t(BI(this.auth,"network-request-failed")),nA.get())})}}function dA(e,t,n){const i={appName:e.name};n.email&&(i.email=n.email),n.phoneNumber&&(i.phoneNumber=n.phoneNumber);const o=BI(e,t,i);return o.customData._tokenResponse=n,o}function uA(e){return void 0!==e&&void 0!==e.getResponse}function pA(e){return void 0!==e&&void 0!==e.enterprise}class hA{constructor(e){if(this.siteKey="",this.recaptchaEnforcementState=[],void 0===e.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=e.recaptchaKey.split("/")[3],this.recaptchaEnforcementState=e.recaptchaEnforcementState}getProviderEnforcementState(e){if(!this.recaptchaEnforcementState||0===this.recaptchaEnforcementState.length)return null;for(const t of this.recaptchaEnforcementState)if(t.provider&&t.provider===e)return lA(t.enforcementState);return null}isProviderEnabled(e){return"ENFORCE"===this.getProviderEnforcementState(e)||"AUDIT"===this.getProviderEnforcementState(e)}isAnyProviderEnabled(){return this.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")||this.isProviderEnabled("PHONE_PROVIDER")}}async function mA(e,t){return oA(e,"GET","/v2/recaptchaConfig",iA(e,t))}async function fA(e,t){return oA(e,"POST","/v1/accounts:lookup",t)}function gA(e){if(e)try{const t=new Date(Number(e));if(!isNaN(t.getTime()))return t.toUTCString()}catch(T8){}}async function bA(e,t=!1){const n=QC(e),i=await n.getIdToken(t),o=yA(i);HI(o&&o.exp&&o.auth_time&&o.iat,n.auth,"internal-error");const r="object"==typeof o.firebase?o.firebase:void 0,a=null==r?void 0:r.sign_in_provider;return{claims:o,token:i,authTime:gA(vA(o.auth_time)),issuedAtTime:gA(vA(o.iat)),expirationTime:gA(vA(o.exp)),signInProvider:a||null,signInSecondFactor:(null==r?void 0:r.sign_in_second_factor)||null}}function vA(e){return 1e3*Number(e)}function yA(e){const[t,n,i]=e.split(".");if(void 0===t||void 0===n||void 0===i)return zI("JWT malformed, contained fewer than 3 sections"),null;try{const e=MC(n);return e?JSON.parse(e):(zI("Failed to decode base64 JWT payload"),null)}catch(T8){return zI("Caught error parsing JWT payload as JSON",null==T8?void 0:T8.toString()),null}}function wA(e){const t=yA(e);return HI(t,"internal-error"),HI(void 0!==t.exp,"internal-error"),HI(void 0!==t.iat,"internal-error"),Number(t.exp)-Number(t.iat)}async function xA(e,t,n=!1){if(n)return t;try{return await t}catch(T8){throw T8 instanceof HC&&function({code:e}){return e==="auth/".concat("user-disabled")||e==="auth/".concat("user-token-expired")}(T8)&&e.auth.currentUser===e&&await e.auth.signOut(),T8}}class kA{constructor(e){this.user=e,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(e){var t;if(e){const e=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),e}{this.errorBackoff=3e4;const e=(null!=(t=this.user.stsTokenManager.expirationTime)?t:0)-Date.now()-3e5;return Math.max(0,e)}}schedule(e=!1){if(!this.isRunning)return;const t=this.getInterval(e);this.timerId=setTimeout(async()=>{await this.iteration()},t)}async iteration(){try{await this.user.getIdToken(!0)}catch(T8){return void((null==T8?void 0:T8.code)==="auth/".concat("network-request-failed")&&this.schedule(!0))}this.schedule()}}class _A{constructor(e,t){this.createdAt=e,this.lastLoginAt=t,this._initializeTime()}_initializeTime(){this.lastSignInTime=gA(this.lastLoginAt),this.creationTime=gA(this.createdAt)}_copy(e){this.createdAt=e.createdAt,this.lastLoginAt=e.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}async function EA(e){var t;const n=e.auth,i=await e.getIdToken(),o=await xA(e,fA(n,{idToken:i}));HI(null==o?void 0:o.users.length,n,"internal-error");const r=o.users[0];e._notifyReloadListener(r);const a=(null==(t=r.providerUserInfo)?void 0:t.length)?CA(r.providerUserInfo):[],s=function(e,t){const n=e.filter(e=>!t.some(t=>t.providerId===e.providerId));return[...n,...t]}(e.providerData,a),l=e.isAnonymous,c=!(e.email&&r.passwordHash||(null==s?void 0:s.length)),d=!!l&&c,u={uid:r.localId,displayName:r.displayName||null,photoURL:r.photoUrl||null,email:r.email||null,emailVerified:r.emailVerified||!1,phoneNumber:r.phoneNumber||null,tenantId:r.tenantId||null,providerData:s,metadata:new _A(r.createdAt,r.lastLoginAt),isAnonymous:d};Object.assign(e,u)}async function SA(e){const t=QC(e);await EA(t),await t.auth._persistUserIfCurrent(t),t.auth._notifyListenersIfCurrent(t)}function CA(e){return e.map(({providerId:e,...t})=>
vendor: 4,949 bytes, line 2
2({providerId:e,uid:t.rawId||"",displayName:t.displayName||null,email:t.email||null,phoneNumber:t.phoneNumber||null,photoURL:t.photoUrl||null}))}class TA{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(e){HI(e.idToken,"internal-error"),HI(void 0!==e.idToken,"internal-error"),HI(void 0!==e.refreshToken,"internal-error");const t="expiresIn"in e&&void 0!==e.expiresIn?Number(e.expiresIn):wA(e.idToken);this.updateTokensAndExpiration(e.idToken,e.refreshToken,t)}updateFromIdToken(e){HI(0!==e.length,"internal-error");const t=wA(e);this.updateTokensAndExpiration(e,null,t)}async getToken(e,t=!1){return t||!this.accessToken||this.isExpired?(HI(this.refreshToken,e,"user-token-expired"),this.refreshToken?(await this.refresh(e,this.refreshToken),this.accessToken):null):this.accessToken}clearRefreshToken(){this.refreshToken=null}async refresh(e,t){const{accessToken:n,refreshToken:i,expiresIn:o}=await async function(e,t){const n=await rA(e,{},async()=>{const n=YC({grant_type:"refresh_token",refresh_token:t}).slice(1),{tokenApiHost:i,apiKey:o}=e.config,r=await sA(e,i,"/v1/token","key=".concat(o)),a=await e._getAdditionalHeaders();a["Content-Type"]="application/x-www-form-urlencoded";const s={method:"POST",headers:a,body:n};return e.emulatorConfig&&eT(e.emulatorConfig.host)&&(s.credentials="include"),QI.fetch()(r,s)});return{accessToken:n.access_token,expiresIn:n.expires_in,refreshToken:n.refresh_token}}(e,t);this.updateTokensAndExpiration(n,i,Number(o))}updateTokensAndExpiration(e,t,n){this.refreshToken=t||null,this.accessToken=e||null,this.expirationTime=Date.now()+1e3*n}static fromJSON(e,t){const{refreshToken:n,accessToken:i,expirationTime:o}=t,r=new TA;return n&&(HI("string"==typeof n,"internal-error",{appName:e}),r.refreshToken=n),i&&(HI("string"==typeof i,"internal-error",{appName:e}),r.accessToken=i),o&&(HI("number"==typeof o,"internal-error",{appName:e}),r.expirationTime=o),r}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(e){this.accessToken=e.accessToken,this.refreshToken=e.refreshToken,this.expirationTime=e.expirationTime}_clone(){return Object.assign(new TA,this.toJSON())}_performRefresh(){return WI("not implemented")}}function IA(e,t){HI("string"==typeof e||void 0===e,"internal-error",{appName:t})}class AA{constructor({uid:e,auth:t,stsTokenManager:n,...i}){this.providerId="firebase",this.proactiveRefresh=new kA(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=e,this.auth=t,this.stsTokenManager=n,this.accessToken=n.accessToken,this.displayName=i.displayName||null,this.email=i.email||null,this.emailVerified=i.emailVerified||!1,this.phoneNumber=i.phoneNumber||null,this.photoURL=i.photoURL||null,this.isAnonymous=i.isAnonymous||!1,this.tenantId=i.tenantId||null,this.providerData=i.providerData?[...i.providerData]:[],this.metadata=new _A(i.createdAt||void 0,i.lastLoginAt||void 0)}async getIdToken(e){const t=await xA(this,this.stsTokenManager.getToken(this.auth,e));return HI(t,this.auth,"internal-error"),this.accessToken!==t&&(this.accessToken=t,await this.auth._persistUserIfCurrent(this),this.auth._notifyListenersIfCurrent(this)),t}getIdTokenResult(e){return bA(this,e)}reload(){return SA(this)}_assign(e){this!==e&&(HI(this.uid===e.uid,this.auth,"internal-error"),this.displayName=e.displayName,this.photoURL=e.photoURL,this.email=e.email,this.emailVerified=e.emailVerified,this.phoneNumber=e.phoneNumber,this.isAnonymous=e.isAnonymous,this.tenantId=e.tenantId,this.providerData=e.providerData.map(e=>({...e})),this.metadata._copy(e.metadata),this.stsTokenManager._assign(e.stsTokenManager))}_clone(e){const t=new AA({...this,auth:e,stsTokenManager:this.stsTokenManager._clone()});return t.metadata._copy(this.metadata),t}_onReload(e){HI(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=e,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(e){this.reloadListener?this.reloadListener(e):this.reloadUserInfo=e}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}async _updateTokensIfNecessary(e,t=!1){let n=!1;e.idToken&&e.idToken!==this.stsTokenManager.accessToken&&(this.stsTokenManager.updateFromServerResponse(e),n=!0),t&&await EA(this),await this.auth._persistUserIfCurrent(this),n&&this.auth._notifyListenersIfCurrent(this)}async delete(){if(hI(this.auth.app))return Promise.reject(VI(this.auth));const e=await this.getIdToken();return await xA(this,async function(e,t){return oA(e,"POST","/v1/accounts:delete",t)}(this.auth,{idToken:e})),this.stsTokenManager.clearRefreshToken(),this.auth.signOut()}toJSON(){return{uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isA
2nonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(e=>({...e})),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId,...this.metadata.toJSON(),apiKey:this.auth.config.apiKey,appName:this.auth.name}}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(e,t){var n,i,o,r,a,s,l,c;const d=null!=(n=t.displayName)?n:void 0,u=null!=(i=t.email)?i:void 0,p=null!=(o=t.phoneNumber)?o:void 0,h=null!=(r=t.photoURL)?r:void 0,m=null!=(a=t.tenantId)?a:void 0,f=null!=(s=t._redirectEventId)?s:void 0,g=null!=(l=t.createdAt)?l:void 0,b=null!=(c=t.lastLoginAt)?c:void 0,{uid:v,emailVerified:y,isAnonymous:w,providerData:x,stsTokenManager:k}=t;HI(v&&k,e,"internal-error");const _=TA.fromJSON(this.name,k);HI("string"==typeof v,e,"internal-error"),IA(d,e.name),IA(u,e.name),HI("boolean"==typeof y,e,"internal-error"),HI("boolean"==typeof w,e,"internal-error"),IA(p,e.name),IA(h,e.name),IA(m,e.name),IA(f,e.name),IA(g,e.name),IA(b,e.name);const E=new AA({uid:v,auth:e,email:u,emailVerified:y,displayName:d,isAnonymous:w,photoURL:h,phoneNumber:p,tenantId:m,stsTokenManager:_,createdAt:g,lastLoginAt:b});return x&&Array.isArray(x)&&(E.providerData=x.map(e=>({...e}))),f&&(E._redirectEventId=f),E}static async _fromIdTokenResponse(e,t,n=!1){const i=new TA;i.updateFromServerResponse(t);const o=new AA({uid:t.localId,auth:e,stsTokenManager:i,isAnonymous:n});return await EA(o),o}static async _fromGetAccountInfoResponse(e,t,n){const i=t.users[0];HI(void 0!==i.localId,"internal-error");const o=void 0!==i.providerUserInfo?CA(i.providerUserInfo):[],r=!(i.email&&i.passwordHash||(null==o?void 0:o.length)),a=new TA;a.updateFromIdToken(n);const s=new AA({uid:i.localId,auth:e,stsTokenManager:a,isAnonymous:r}),l={uid:i.localId,displayName:i.displayName||null,photoURL:i.photoUrl||null,email:i.email||null,emailVerified:i.emailVerified||!1,phoneNumber:i.phoneNumber||null,tenantId:i.tenantId||null,providerData:o,metadata:new _A(i.createdAt,i.lastLoginAt),isAnonymous:!(i.email&&i.passwordHash||(null==o?void 0:o.length))};return Object.assign(s,l),s}}const PA=new Map;function OA(e){GI(e instanceof Function,"Expected a class definition");let t=PA.get(e);return t?(GI(t instanceof e,"Instance stored in cache mismatched with class"),t):(t=new e,PA.set(e,t),t)}class RA{constructor(){this.type="NONE",this.storage={}}async _isAvailable(){return!0}async _set(e,t){this.storage[e]=t}async _get(e){const t=this.storage[e];return void 0===t?null:t}async _remove(e){delete this.storage[e]}_addListener(e,t){}_removeListener(e,t){}}RA.type="NONE";const LA=RA;function DA(e,t,n){return"".concat("firebase",":").concat(e,":").concat(t,":").concat(n)}class NA{constructor(e,t,n){this.persistence=e,this.auth=t,this.userKey=n;const{config:i,name:o}=this.auth;this.fullUserKey=DA(this.userKey,i.apiKey,o),this.fullPersistenceKey=DA("persistence",i.apiKey,o),this.boundEventHandler=t._onStorageEvent.bind(t),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(e){return this.persistence._set(this.fullUserKey,e.toJSON())}async getCurrentUser(){const e=await this.persistence._get(this.fullUserKey);if(!e)return null;if("string"==typeof e){const t=await fA(this.auth,{idToken:e}).catch(()=>{});return t?AA._fromGetAccountInfoResponse(this.auth,t,e):null}return AA._fromJSON(this.auth,e)}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}async setPersistence(e){if(this.persistence===e)return;const t=await this.getCurrentUser();return await this.removeCurrentUser(),this.persistence=e,t?this.setCurrentUser(t):void 0}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static async create(e,t,n="authUser"){if(!t.length)return new NA(OA(LA),e,n);const i=(await Promise.all(t.map(async e=>{if(await e._isAvailable())return e}))).filter(e=>e);let o=i[0]||OA(LA);const r=DA(n,e.config.apiKey,e.name);let a=null;for(const l of t)try{const t=await l._get(r);if(t){let n;if("string"==typeof t){const i=await fA(e,{idToken:t}).catch(()=>{});if(!i)break;n=await AA._fromGetAccountInfoResponse(e,i,t)}else n=AA._fromJSON(e,t);l!==o&&(a=n),o=l;break}}catch(T8){}const s=i.filter(e=>e._shouldAllowMigration);return o._shouldAllowMigration&&s.length?(o=s[0],a&&await o._set(r,a.toJSON()),await Promise.all(t.map(async e=>{if(e!==o)try{await e._remove(r)}catch(T8){}})),new NA(o,e,n)):new NA(o,e,n)}}function MA(e){const t=e.toLowerCase();if(t.includes("opera/")||t.includes("opr/")||t.includes("opios/"))return"Opera";if(FA(t))return"IEMobile";if(t.includes("msie")||t.includes("trident/"))return"IE";if(t.includes("edge/"))return"Edge";if(zA(t))return"Firefox";if(t.includes("silk/"))return"Silk";if(UA(t))return"Blackberry";if(qA(t))return"Webos";if(jA(t))return"Safari";if((t.includes("chrome/")||BA(t))&&!t.includes("edge/"))return"Chrome";if(VA(t))return"Android";{const t=/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/,n=e.match(t);if(2===(null==n?void 0:n.length))return n[1]}return"Other"}function zA(e=qC()){return/firefox\//i.test(e)}function jA(e=qC()){const t=e.toLowerCase();return t.includes("safari/")&&!t.includes("chrome/")&&!t.includes("crios/")&&!t.includes("android")}function BA(e=qC()){return/crios\//i.test(e)}function FA(e=qC()){return/iemobile/i.test(e)}function VA(e=qC()){return/android/i.test(e)}function UA(e=qC()){return/blackberry/i.test(e)}function qA(e=qC()){return/webos/i.test(e)}function HA(e=qC()){return/iphone|ipad|ipod/i.test(e)||/macintosh/i.test(e)&&/mobile/i.test(e)}function WA(){return function(){const e=qC();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0}()&&10===document.documentMode}function GA(e=qC()){return HA(e)||VA(e)||qA(e)||UA(e)||/windows phone/i.test(e)||FA(e)}function $A(e,t=[]){let n;switch(e){case"Browser":n=MA(qC());break;case"Worker":n="".concat(MA(qC()),"-").concat(e);break;default:n=e}const i=t.length?t.join(","):"FirebaseCore-web";return"".concat(n,"/").concat("JsCore","/").concat(gI,"/").concat(i)}class YA{constructor(e){this.auth=e,this.queue=[]}pushCallback(e,t){const n=t=>new Promise((n,i)=>{try{n(e(t))}catch(T8){i(T8)}});n.onAbort=t,this.queue.push(n);const i=this.queue.length-1;return()=>{this.queue[i]=()=>Promise.resolve()}}async runMiddleware(e){if(this.auth.currentUser===e)return;const t=[];try{for(const n of this.queue)await n(e),n.onAbort&&t.push(n.onAbort)}catch(T8){t.reverse();for(const i of t)try{i()}catch(n){}throw this.auth._errorFactory.create("login-blocked",{originalMessage:null==T8?void 0:T8.message})}}}class XA{constructor(e){var t,n,i,o;const r=e.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!=(t=r.minPasswordLength)?t:6,r.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=r.maxPasswordLength),void 0!==r.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=r.containsLowercaseCharacter),void 0!==r.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=r.containsUppercaseCharacter),void 0!==r.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=r.containsNumericCharacter),void 0!==r.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=r.containsNonAlphanumericCharacter),this.enforcementState=e.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!=(i=null==(n=e.allowedNonAlphanumericCharacters)?void 0:n.join(""))?i:"",this.forceUpgradeOnSignin=null!=(o=e.forceUpgradeOnSignin)&&o,this.schemaVersion=e.schemaVersion}validatePassword(e){var t,n,i,o,r,a;const s={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(e,s),this.validatePasswordCharacterOptions(e,s),s.isValid&&
2(s.isValid=null==(t=s.meetsMinPasswordLength)||t),s.isValid&&(s.isValid=null==(n=s.meetsMaxPasswordLength)||n),s.isValid&&(s.isValid=null==(i=s.containsLowercaseLetter)||i),s.isValid&&(s.isValid=null==(o=s.containsUppercaseLetter)||o),s.isValid&&(s.isValid=null==(r=s.containsNumericCharacter)||r),s.isValid&&(s.isValid=null==(a=s.containsNonAlphanumericCharacter)||a),s}validatePasswordLengthOptions(e,t){const n=this.customStrengthOptions.minPasswordLength,i=this.customStrengthOptions.maxPasswordLength;n&&(t.meetsMinPasswordLength=e.length>=n),i&&(t.meetsMaxPasswordLength=e.length<=i)}validatePasswordCharacterOptions(e,t){let n;this.updatePasswordCharacterOptionsStatuses(t,!1,!1,!1,!1);for(let i=0;i<e.length;i++)n=e.charAt(i),this.updatePasswordCharacterOptionsStatuses(t,n>="a"&&n<="z",n>="A"&&n<="Z",n>="0"&&n<="9",this.allowedNonAlphanumericCharacters.includes(n))}updatePasswordCharacterOptionsStatuses(e,t,n,i,o){this.customStrengthOptions.containsLowercaseLetter&&(e.containsLowercaseLetter||(e.containsLowercaseLetter=t)),this.customStrengthOptions.containsUppercaseLetter&&(e.containsUppercaseLetter||(e.containsUppercaseLetter=n)),this.customStrengthOptions.containsNumericCharacter&&(e.containsNumericCharacter||(e.containsNumericCharacter=i)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(e.containsNonAlphanumericCharacter||(e.containsNonAlphanumericCharacter=o))}}class KA{constructor(e,t,n,i){this.app=e,this.heartbeatServiceProvider=t,this.appCheckServiceProvider=n,this.config=i,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new ZA(this),this.idTokenSubscription=new ZA(this),this.beforeStateQueue=new YA(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=DI,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this._resolvePersistenceManagerAvailable=void 0,this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=e.name,this.clientVersion=i.sdkClientVersion,this._persistenceManagerAvailable=new Promise(e=>this._resolvePersistenceManagerAvailable=e)}_initializeWithPersistence(e,t){return t&&(this._popupRedirectResolver=OA(t)),this._initializationPromise=this.queue(async()=>{var n,i,o;if(!this._deleted&&(this.persistenceManager=await NA.create(this,e),null==(n=this._resolvePersistenceManagerAvailable)||n.call(this),!this._deleted)){if(null==(i=this._popupRedirectResolver)?void 0:i._shouldInitProactively)try{await this._popupRedirectResolver._initialize(this)}catch(T8){}await this.initializeCurrentUser(t),this.lastNotifiedUid=(null==(o=this.currentUser)?void 0:o.uid)||null,this._deleted||(this._isInitialized=!0)}}),this._initializationPromise}async _onStorageEvent(){if(this._deleted)return;const e=await this.assertedPersistence.getCurrentUser();return this.currentUser||e?this.currentUser&&e&&this.currentUser.uid===e.uid?(this._currentUser._assign(e),void(await this.currentUser.getIdToken())):void(await this._updateCurrentUser(e,!0)):void 0}async initializeCurrentUserFromIdToken(e){try{const t=await fA(this,{idToken:e}),n=await AA._fromGetAccountInfoResponse(this,t,e);await this.directlySetCurrentUser(n)}catch(t){await this.directlySetCurrentUser(null)}}async initializeCurrentUser(e){var t;if(hI(this.app)){const e=this.app.settings.authIdToken;return e?new Promise(t=>{setTimeout(()=>this.initializeCurrentUserFromIdToken(e).then(t,t))}):this.directlySetCurrentUser(null)}const n=await this.assertedPersistence.getCurrentUser();let i=n,o=!1;if(e&&this.config.authDomain){await this.getOrInitRedirectPersistenceManager();const n=null==(t=this.redirectUser)?void 0:t._redirectEventId,r=null==i?void 0:i._redirectEventId,a=await this.tryRedirectSignIn(e);n&&n!==r||!(null==a?void 0:a.user)||(i=a.user,o=!0)}if(!i)return this.directlySetCurrentUser(null);
2if(!i._redirectEventId){if(o)try{await this.beforeStateQueue.runMiddleware(i)}catch(T8){i=n,this._popupRedirectResolver._overrideRedirectResult(this,()=>Promise.reject(T8))}return i?this.reloadAndSetCurrentUserOrClear(i):this.directlySetCurrentUser(null)}return HI(this._popupRedirectResolver,this,"argument-error"),await this.getOrInitRedirectPersistenceManager(),this.redirectUser&&this.redirectUser._redirectEventId===i._redirectEventId?this.directlySetCurrentUser(i):this.reloadAndSetCurrentUserOrClear(i)}async tryRedirectSignIn(e){let t=null;try{t=await this._popupRedirectResolver._completeRedirectFn(this,e,!0)}catch(T8){await this._setRedirectUser(null)}return t}async reloadAndSetCurrentUserOrClear(e){try{await EA(e)}catch(T8){if((null==T8?void 0:T8.code)!=="auth/".concat("network-request-failed"))return this.directlySetCurrentUser(null)}return this.directlySetCurrentUser(e)}useDeviceLanguage(){this.languageCode=function(){if("undefined"==typeof navigator)return null;const e=navigator;return e.languages&&e.languages[0]||e.language||null}()}async _delete(){this._deleted=!0}async updateCurrentUser(e){if(hI(this.app))return Promise.reject(VI(this));const t=e?QC(e):null;return t&&HI(t.auth.config.apiKey===this.config.apiKey,this,"invalid-user-token"),this._updateCurrentUser(t&&t._clone(this))}async _updateCurrentUser(e,t=!1){if(!this._deleted)return e&&HI(this.tenantId===e.tenantId,this,"tenant-id-mismatch"),t||await this.beforeStateQueue.runMiddleware(e),this.queue(async()=>{await this.directlySetCurrentUser(e),this.notifyAuthListeners()})}async signOut(){return hI(this.app)?Promise.reject(VI(this)):(await this.beforeStateQueue.runMiddleware(null),(this.redirectPersistenceManager||this._popupRedirectResolver)&&await this._setRedirectUser(null),this._updateCurrentUser(null,!0))}setPersistence(e){return hI(this.app)?Promise.reject(VI(this)):this.queue(async()=>{await this.assertedPersistence.setPersistence(OA(e))})}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}async validatePassword(e){this._getPasswordPolicyInternal()||await this._updatePasswordPolicy();const t=this._getPasswordPolicyInternal();return t.schemaVersion!==this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(this._errorFactory.create("unsupported-password-policy-schema-version",{})):t.validatePassword(e)}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}async _updatePasswordPolicy(){const e=await async function(e,t={}){return oA(e,"GET","/v2/passwordPolicy",iA(e,t))}(this),t=new XA(e);null===this.tenantId?this._projectPasswordPolicy=t:this._tenantPasswordPolicies[this.tenantId]=t}_getPersistenceType(){return this.assertedPersistence.persistence.type}_getPersistence(){return this.assertedPersistence.persistence}_updateErrorMap(e){this._errorFactory=new WC("auth","Firebase",e())}onAuthStateChanged(e,t,n){return this.registerStateListener(this.authStateSubscription,e,t,n)}beforeAuthStateChanged(e,t){return this.beforeStateQueue.pushCallback(e,t)}onIdTokenChanged(e,t,n){return this.registerStateListener(this.idTokenSubscription,e,t,n)}authStateReady(){return new Promise((e,t)=>{if(this.currentUser)e();else{const n=this.onAuthStateChanged(()=>{n(),e()},t)}})}async revokeAccessToken(e){if(this.currentUser){const t={providerId:"apple.com",tokenType:"ACCESS_TOKEN",token:e,idToken:await this.currentUser.getIdToken()};null!=this.tenantId&&(t.tenantId=this.tenantId),await async function(e,t){return oA(e,"POST","/v2/accounts:revokeToken",iA(e,t))}(this,t)}}toJSON(){var e;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null==(e=this._currentUser)?void 0:e.toJSON()}}async _setRedirectUser(e,t){const n=await this.getOrInitRedirectPersistenceManager(t);return null===e?n.removeCurrentUser():n.setCurrentUser(e)}async getOrInitRedirectPersistenceManager(e){if(!this.redirectPersistenceManager){const t=e&&OA(e)||this._popupRedirectResolver;HI(t,this,"argument-error"),this.redirectPersistenceManager=await NA.create(this,[OA(t._redirectPersistence)],"redirectUser"),this.redirectUser=await this.redirectPersistenceManager.getCurrentUser()}return this.redirectPersistenceManager}async _redirectUserForId(e){var t,n;return this._isInitialized&&await this.queue(async()=>{}),(null==(t=this._currentUser)?void 0:t._redirectEventId)===e?this._currentUser:(null==(n=this.redirectUser)?void 0:n._redirectEventId)===e?this.redirectUser:null}async _persistUserIfCurrent(e){if(e===this.currentUser)return this.queue(async()=>this.directlySetCurrentUser(e))}_notifyListenersIfCurrent(e){e===this.currentUser&&this.notifyAuthListeners()}_key(){return"".concat(this.config.authDomain,":").concat(this.config.apiKey,":").concat(this.name)}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var e,t;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const n=null!=(t=null==(e=this.currentUser)?void 0:e.uid)?t:null;this.lastNotifiedUid!==n&&(this.lastNotifiedUid=n,this.authStateSubscription.next(this.currentUser))}registerStateListener(e,t,n,i){if(this._deleted)return()=>{};const o="function"==typeof t?t:t.next.bind(t);let r=!1;const a=this._isInitialized?Promise.resolve():this._initializationPromise;if(HI(a,this,"internal-error"),a.then(()=>{r||o(this.currentUser)}),"function"==typeof t){const o=e.addObserver(t,n,i);return()=>{r=!0,o()}}{const n=e.addObserver(t);return()=>{r=!0,n()}}}async directlySetCurrentUser(e){this.currentUser&&this.currentUser!==e&&this._currentUser._stopProactiveRefresh(),e&&this.isProactiveRefreshEnabled&&e._startProactiveRefresh(),this.currentUser=e,e?await this.assertedPersistence.setCurrentUser(e):await this.assertedPersistence.removeCurrentUser()}queue(e){return this.operations=this.operations.then(e,e),this.operations}get assertedPersistence(){return HI(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(e){e&&!this.frameworks.includes(e)&&(this.frameworks.push(e),this.frameworks.sort(),this.clientVersion=$A(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}async _getAdditionalHeaders(){var e;const t={"X-Client-Version":this.clientVersion};this.app.options.appId&&(t["X-Firebase-gmpid"]=this.app.options.appId);const n=await(null==(e=this.heartbeatServiceProvider.getImmediate({optional:!0}))?void 0:e.getHeartbeatsHeader());n&&(t["X-Firebase-Client"]=n);const i=await this._getAppCheckToken();return i&&(t["X-Firebase-AppCheck"]=i),t}async _getAppCheckToken(){var e;if(hI(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;const t=await(null==(e=this.appCheckServiceProvider.getImmediate({optional:!0}))?void 0:e.getToken());return(null==t?void 0:t.error)&&MI("Error while retrieving App Check token: ".concat(t.error)),null==t?void 0:t.token}}function JA(e){return QC(e)}class ZA{constructor(e){this.auth=e,this.observer=null,this.addObserver=function(e,t){const n=new JC(e,t);return n.subscribe.bind(n)}(e=>this.observer=e)}get next(){return HI(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}let QA={async loadJS(){throw new Error("Unable to load external scripts")},recaptchaV2Script:"",recaptchaEnterpriseScript:"",gapiScript:""};function eP(e){return QA.loadJS(e)}function tP(e){return"__".concat(e).concat(Math.floor(1e6*Math.random()))}const nP=1e12;class iP{constructor(e){this.auth=e,this.counter=nP,this._widgets=new Map}render(e,t){const n=this.counter;return this._widgets.set(n,new aP(e,this.auth.name,t||{})),this.counter++,n}reset(e){var t;const n=e||nP;null==(t=this._widgets.get(n))||t.delete(),this._widgets.delete(n)}getResponse(e){var t;const n=e||nP;return(null==(t=this._widgets.get(n))?void 0:t.getResponse())||""}async execute(e){var t;const n=e||nP;return null==(t=this._widgets.get(n))||t.execute(),""}}class oP{constructor(){this.enterprise=new rP}ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}class rP{ready(e){e()}execute(e,t){return Promise.resolve("token")}render(e,t){return""}}class aP{constructor(e,t,n){this.params=n,this.timerId=null,this.deleted=!1,this.responseToken=null,this.clickHandler=()=>{this.execute()};const i="string"==typeof e?document.getElementById(e):e;HI(i,"argument-error",{appName:t}),this.container=i,this.isVisible="invisible"!==this.params.size,this.isVisible?this.execute():this.container.addEventListener("click",this.clickHandler)}getResponse(){return this.checkIfDeleted(),this.responseToken}delete(){this.checkIfDeleted(),this.deleted=!0,this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.container.removeEventListener("click",this.clickHandler)}execute(){this.checkIfDeleted(),this.timerId||(this.timerId=window.setTimeout(()=>{this.responseToken=function(e){const t=[],n="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let i=0;i<e;i++)t.push(n.charAt(Math.floor(Math.random()*n.length)));return t.join("")}(50);const{callback:e,"expired-callback":t}=this.params;if(e)try{e(this.responseToken)}catch(T8){}this.timerId=window.setTimeout(()=>{if(this.timerId=null,this.responseToken=null,t)try{t()}catch(T8){}this.isVisible&&this.execute()},6e4)},500))}checkIfDeleted(){if(this.deleted)throw new Error("reCAPTCHA mock was already deleted!")}}const sP="NO_RECAPTCHA",lP="onFirebaseAuthREInstanceReady";class cP{constructor(e){this.type="recaptcha-enterprise",this.auth=JA(e)}async verify(e="verify",t=!1){function n(t,n,i){const o=window.grecaptcha;pA(o)?o.enterprise.ready(()=>{o.enterprise.execute(t,{action:e}).then(e=>{n(e)}).catch(()=>{n(sP)})}):i(Error("No reCAPTCHA enterprise script loaded."))}if(this.auth.settings.appVerificationDisabledForTesting){return(new oP).execute("siteKey",{action:"verify"})}return new Promise((e,i)=>{(async function(e){if(!t){if(null==e.tenantId&&null!=e._agentRecaptchaConfig)return e._agentRecaptchaConfig.siteKey;if(null!=e.tenantId&&void 0!==e._tenantRecaptchaConfigs[e.tenantId])return e._tenantRecaptchaConfigs[e.tenantId].siteKey}return new Promise(async(t,n)=>
2{mA(e,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(i=>{if(void 0!==i.recaptchaKey){const n=new hA(i);return null==e.tenantId?e._agentRecaptchaConfig=n:e._tenantRecaptchaConfigs[e.tenantId]=n,t(n.siteKey)}n(new Error("recaptcha Enterprise site key undefined"))}).catch(e=>{n(e)})})})(this.auth).then(async o=>{if(!t&&pA(window.grecaptcha)&&cP.scriptInjectionDeferred)await cP.scriptInjectionDeferred.promise,n(o,e,i);else{if("undefined"==typeof window)return void i(new Error("RecaptchaVerifier is only supported in browser"));let t=QA.recaptchaEnterpriseScript;0!==t.length&&(t+=o+"&onload=".concat(lP)),cP.scriptInjectionDeferred=new UC,window[lP]=()=>{var e;null==(e=cP.scriptInjectionDeferred)||e.resolve()},eP(t).then(()=>{var e;return null==(e=cP.scriptInjectionDeferred)?void 0:e.promise}).then(()=>{n(o,e,i)}).catch(e=>{i(e)})}}).catch(e=>{i(e)})})}}async function dP(e,t,n,i=!1,o=!1){const r=new cP(e);let a;if(o)a=sP;else try{a=await r.verify(n)}catch(l){a=await r.verify(n,!0)}const s={...t};if("mfaSmsEnrollment"===n||"mfaSmsSignIn"===n){if("phoneEnrollmentInfo"in s){const e=s.phoneEnrollmentInfo.phoneNumber,t=s.phoneEnrollmentInfo.recaptchaToken;Object.assign(s,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:t,captchaResponse:a,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}else if("phoneSignInInfo"in s){const e=s.phoneSignInInfo.recaptchaToken;Object.assign(s,{phoneSignInInfo:{recaptchaToken:e,captchaResponse:a,clientType:"CLIENT_TYPE_WEB",recaptchaVersion:"RECAPTCHA_ENTERPRISE"}})}return s}return i?Object.assign(s,{captchaResp:a}):Object.assign(s,{captchaResponse:a}),Object.assign(s,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(s,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),s}async function uP(e,t,n,i,o){var r,a;if("EMAIL_PASSWORD_PROVIDER"===o){if(null==(r=e._getRecaptchaConfig())?void 0:r.isProviderEnabled("EMAIL_PASSWORD_PROVIDER")){const o=await dP(e,t,n,"getOobCode"===n);return i(e,o)}return i(e,t).catch(async o=>{if(o.code==="auth/".concat("missing-recaptcha-token")){const o=await dP(e,t,n,"getOobCode"===n);return i(e,o)}return Promise.reject(o)})}if("PHONE_PROVIDER"===o){if(null==(a=e._getRecaptchaConfig())?void 0:a.isProviderEnabled("PHONE_PROVIDER")){const o=await dP(e,t,n);return i(e,o).catch(async o=>{var r;if("AUDIT"===(null==(r=e._getRecaptchaConfig())?void 0:r.getProviderEnforcementState("PHONE_PROVIDER"))&&(o.code==="auth/".concat("missing-recaptcha-token")||o.code==="auth/".concat("invalid-app-credential"))){const o=await dP(e,t,n,!1,!0);return i(e,o)}return Promise.reject(o)})}{const o=await dP(e,t,n,!1,!0);return i(e,o)}}return Promise.reject(o+" provider is not supported.")}async function pP(e){const t=JA(e),n=await mA(t,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}),i=new hA(n);if(null==t.tenantId?t._agentRecaptchaConfig=i:t._tenantRecaptchaConfigs[t.tenantId]=i,i.isAnyProviderEnabled()){new cP(t).verify()}}function hP(e,t){const n=pI(e,"auth");if(n.isInitialized()){const e=n.getImmediate();if(GC(n.getOptions(),null!=t?t:{}))return e;jI(e,"already-initialized")}return n.initialize({options:t})}function mP(e,t,n){const i=JA(e);HI(/^https?:\/\//.test(t),i,"invalid-emulator-scheme");const o=!!(null==n?void 0:n.disableWarnings),r=fP(t),{host:a,port:s}=function(e){const t=fP(e),n=/(\/\/)?([^?#/]+)/.exec(e.substr(t.length));if(!n)return{host:"",port:null};const i=n[2].split("@").pop()||"",o=/^(\[[^\]]+\])(:|$)/.exec(i);if(o){const e=o[1];return{host:e,port:gP(i.substr(e.length+1))}}{const[e,t]=i.split(":");return{host:e,port:gP(t)}}}(t),l=null===s?"":":".concat(s),c={url:"".concat(r,"//").concat(a).concat(l,"/")},d=Object.freeze({host:a,port:s,protocol:r.replace(":",""),options:Object.freeze({disableWarnings:o})});if(!i._canInitEmulator)return HI(i.config.emulator&&i.emulatorConfig,i,"emulator-config-failed"),void HI(GC(c,i.config.emulator)&&GC(d,i.emulatorConfig),i,"emulator-config-failed");i.config.emulator=c,i.emulatorConfig=d,i.settings.appVerificationDisabledForTesting=!0,eT(a)?tT("".concat(r,"//").concat(a).concat(l)):o||function(){function e(){const e=document.createElement("p"),t=e.style;e.innerText="Running in emulator mode. Do not use with production credentials.",t.position="fixed",t.width="100%",t.backgroundColor="#ffffff",t.border=".1em solid #000000",t.color="#b50000",t.bottom="0px",t.left="0px",t.margin="0px",t.zIndex="10000",t.textAlign="center",e.classList.add("firebase-emulator-warning"),document.body.appendChild(e)}"undefined"!=typeof console&&console.info;"undefined"!=typeof window&&"undefined"!=typeof document&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",e):e())}()}function fP(e){const t=e.indexOf(":");
2return t<0?"":e.substr(0,t+1)}function gP(e){if(!e)return null;const t=Number(e);return isNaN(t)?null:t}cP.scriptInjectionDeferred=null;class bP{constructor(e,t){this.providerId=e,this.signInMethod=t}toJSON(){return WI("not implemented")}_getIdTokenResponse(e){return WI("not implemented")}_linkToIdToken(e,t){return WI("not implemented")}_getReauthenticationResolver(e){return WI("not implemented")}}async function vP(e,t){return oA(e,"POST","/v1/accounts:resetPassword",iA(e,t))}async function yP(e,t){return oA(e,"POST","/v1/accounts:signUp",t)}async function wP(e,t){return aA(e,"POST","/v1/accounts:signInWithPassword",iA(e,t))}async function xP(e,t){return oA(e,"POST","/v1/accounts:sendOobCode",iA(e,t))}async function kP(e,t){return xP(e,t)}async function _P(e,t){return xP(e,t)}class EP extends bP{constructor(e,t,n,i=null){super("password",n),this._email=e,this._password=t,this._tenantId=i}static _fromEmailAndPassword(e,t){return new EP(e,t,"password")}static _fromEmailAndCode(e,t,n=null){return new EP(e,t,"emailLink",n)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(e){const t="string"==typeof e?JSON.parse(e):e;if((null==t?void 0:t.email)&&(null==t?void 0:t.password)){if("password"===t.signInMethod)return this._fromEmailAndPassword(t.email,t.password);if("emailLink"===t.signInMethod)return this._fromEmailAndCode(t.email,t.password,t.tenantId)}return null}async _getIdTokenResponse(e){switch(this.signInMethod){case"password":return uP(e,{returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signInWithPassword",wP,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return async function(e,t){return aA(e,"POST","/v1/accounts:signInWithEmailLink",iA(e,t))}(e,{email:this._email,oobCode:this._password});default:jI(e,"internal-error")}}async _linkToIdToken(e,t){switch(this.signInMethod){case"password":return uP(e,{idToken:t,returnSecureToken:!0,email:this._email,password:this._password,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",yP,"EMAIL_PASSWORD_PROVIDER");case"emailLink":return async function(e,t){return aA(e,"POST","/v1/accounts:signInWithEmailLink",iA(e,t))}(e,{idToken:t,email:this._email,oobCode:this._password});default:jI(e,"internal-error")}}_getReauthenticationResolver(e){return this._getIdTokenResponse(e)}}async function SP(e,t){return aA(e,"POST","/v1/accounts:signInWithIdp",iA(e,t))}class CP extends bP{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(e){const t=new CP(e.providerId,e.signInMethod);return e.idToken||e.accessToken?(e.idToken&&(t.idToken=e.idToken),e.accessToken&&(t.accessToken=e.accessToken),e.nonce&&!e.pendingToken&&(t.nonce=e.nonce),e.pendingToken&&(t.pendingToken=e.pendingToken)):e.oauthToken&&e.oauthTokenSecret?(t.accessToken=e.oauthToken,t.secret=e.oauthTokenSecret):jI("argument-error"),t}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,n
2once:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(e){const t="string"==typeof e?JSON.parse(e):e,{providerId:n,signInMethod:i,...o}=t;if(!n||!i)return null;const r=new CP(n,i);return r.idToken=o.idToken||void 0,r.accessToken=o.accessToken||void 0,r.secret=o.secret,r.nonce=o.nonce,r.pendingToken=o.pendingToken||null,r}_getIdTokenResponse(e){return SP(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,SP(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,SP(e,t)}buildRequest(){const e={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)e.pendingToken=this.pendingToken;else{const t={};this.idToken&&(t.id_token=this.idToken),this.accessToken&&(t.access_token=this.accessToken),this.secret&&(t.oauth_token_secret=this.secret),t.providerId=this.providerId,this.nonce&&!this.pendingToken&&(t.nonce=this.nonce),e.postBody=YC(t)}return e}}async function TP(e,t){return oA(e,"POST","/v1/accounts:sendVerificationCode",iA(e,t))}const IP={USER_NOT_FOUND:"user-not-found"};class AP extends bP{constructor(e){super("phone","phone"),this.params=e}static _fromVerification(e,t){return new AP({verificationId:e,verificationCode:t})}static _fromTokenResponse(e,t){return new AP({phoneNumber:e,temporaryProof:t})}_getIdTokenResponse(e){return async function(e,t){return aA(e,"POST","/v1/accounts:signInWithPhoneNumber",iA(e,t))}(e,this._makeVerificationRequest())}_linkToIdToken(e,t){return async function(e,t){const n=await aA(e,"POST","/v1/accounts:signInWithPhoneNumber",iA(e,t));if(n.temporaryProof)throw dA(e,"account-exists-with-different-credential",n);return n}(e,{idToken:t,...this._makeVerificationRequest()})}_getReauthenticationResolver(e){return async function(e,t){return aA(e,"POST","/v1/accounts:signInWithPhoneNumber",iA(e,{...t,operation:"REAUTH"}),IP)}(e,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:e,phoneNumber:t,verificationId:n,verificationCode:i}=this.params;return e&&t?{temporaryProof:e,phoneNumber:t}:{sessionInfo:n,code:i}}toJSON(){const e={providerId:this.providerId};return this.params.phoneNumber&&(e.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(e.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(e.verificationCode=this.params.verificationCode),this.params.verificationId&&(e.verificationId=this.params.verificationId),e}static fromJSON(e){"string"==typeof e&&(e=JSON.parse(e));const{verificationId:t,verificationCode:n,phoneNumber:i,temporaryProof:o}=e;return n||t||i||o?new AP({verificationId:t,verificationCode:n,phoneNumber:i,temporaryProof:o}):null}}class PP{constructor(e){var t,n,i,o,r,a;const s=XC(KC(e)),l=null!=(t=s.apiKey)?t:null,c=null!=(n=s.oobCode)?n:null,d=function(e){switch(e){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!=(i=s.mode)?i:null);HI(l&&c&&d,"argument-error"),this.apiKey=l,this.operation=d,this.code=c,this.continueUrl=null!=(o=s.continueUrl)?o:null,this.languageCode=null!=(r=s.lang)?r:null,this.tenantId=null!=(a=s.tenantId)?a:null}static parseLink(e){const t=function(e){const t=XC(KC(e)).link,n=t?XC(KC(t)).deep_link_id:null,i=XC(KC(e)).deep_link_id;return(i?XC(KC(i)).link:null)||i||n||t||e}(e);try{return new PP(t)}catch(T8){return null}}}class OP{constructor(){this.providerId=OP.PROVIDER_ID}static credential(e,t){return EP._fromEmailAndPassword(e,t)}static credentialWithLink(e,t){const n=PP.parseLink(t);return HI(n,"argument-error"),EP._fromEmailAndCode(e,n.code,n.tenantId)}}OP.PROVIDER_ID="password",OP.EMAIL_PASSWORD_SIGN_IN_METHOD="password",OP.EMAIL_LINK_SIGN_IN_METHOD="emailLink";class RP{constructor(e){this.providerId=e,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(e){this.defaultLanguageCode=e}setCustomParameters(e){return this.customParameters=e,this}getCustomParameters(){return this.customParameters}}class LP extends RP{constructor(){super(...arguments),this.scopes=[]}addScope(e){return this.scopes.includes(e)||this.scopes.push(e),this}getScopes(){return[...this.scopes]}}class DP extends LP{static credentialFromJSON(e){const t="string"==typeof e?JSON.parse(e):e;return HI("providerId"in t&&"signInMethod"in t,"argument-error"),CP._fromParams(t)}credential(e){return this._credential({...e,nonce:e.rawNonce})}_credential(e){return HI(e.idToken||e.accessToken,"argument-error"),CP._fromParams({...e,providerId:this.providerId,sign
vendor: 4,200 bytes, line 2
2InMethod:this.providerId})}static credentialFromResult(e){return DP.oauthCredentialFromTaggedObject(e)}static credentialFromError(e){return DP.oauthCredentialFromTaggedObject(e.customData||{})}static oauthCredentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:t,oauthAccessToken:n,oauthTokenSecret:i,pendingToken:o,nonce:r,providerId:a}=e;if(!(n||i||t||o))return null;if(!a)return null;try{return new DP(a)._credential({idToken:t,accessToken:n,nonce:r,pendingToken:o})}catch(T8){return null}}}class NP extends LP{constructor(){super("facebook.com")}static credential(e){return CP._fromParams({providerId:NP.PROVIDER_ID,signInMethod:NP.FACEBOOK_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return NP.credentialFromTaggedObject(e)}static credentialFromError(e){return NP.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e))return null;if(!e.oauthAccessToken)return null;try{return NP.credential(e.oauthAccessToken)}catch(T8){return null}}}NP.FACEBOOK_SIGN_IN_METHOD="facebook.com",NP.PROVIDER_ID="facebook.com";class MP extends LP{constructor(){super("google.com"),this.addScope("profile")}static credential(e,t){return CP._fromParams({providerId:MP.PROVIDER_ID,signInMethod:MP.GOOGLE_SIGN_IN_METHOD,idToken:e,accessToken:t})}static credentialFromResult(e){return MP.credentialFromTaggedObject(e)}static credentialFromError(e){return MP.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthIdToken:t,oauthAccessToken:n}=e;if(!t&&!n)return null;try{return MP.credential(t,n)}catch(T8){return null}}}MP.GOOGLE_SIGN_IN_METHOD="google.com",MP.PROVIDER_ID="google.com";class zP extends LP{constructor(){super("github.com")}static credential(e){return CP._fromParams({providerId:zP.PROVIDER_ID,signInMethod:zP.GITHUB_SIGN_IN_METHOD,accessToken:e})}static credentialFromResult(e){return zP.credentialFromTaggedObject(e)}static credentialFromError(e){return zP.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e||!("oauthAccessToken"in e))return null;if(!e.oauthAccessToken)return null;try{return zP.credential(e.oauthAccessToken)}catch(T8){return null}}}zP.GITHUB_SIGN_IN_METHOD="github.com",zP.PROVIDER_ID="github.com";class jP extends bP{constructor(e,t){super(e,e),this.pendingToken=t}_getIdTokenResponse(e){return SP(e,this.buildRequest())}_linkToIdToken(e,t){const n=this.buildRequest();return n.idToken=t,SP(e,n)}_getReauthenticationResolver(e){const t=this.buildRequest();return t.autoCreate=!1,SP(e,t)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(e){const t="string"==typeof e?JSON.parse(e):e,{providerId:n,signInMethod:i,pendingToken:o}=t;return n&&i&&o&&n===i?new jP(n,o):null}static _create(e,t){return new jP(e,t)}buildRequest(){return{requestUri:"http://localhost",returnSecureToken:!0,pendingToken:this.pendingToken}}}class BP extends RP{constructor(e){HI(e.startsWith("saml."),"argument-error"),super(e)}static credentialFromResult(e){return BP.samlCredentialFromTaggedObject(e)}static credentialFromError(e){return BP.samlCredentialFromTaggedObject(e.customData||{})}static credentialFromJSON(e){const t=jP.fromJSON(e);return HI(t,"argument-error"),t}static samlCredentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{pendingToken:t,providerId:n}=e;if(!t||!n)return null;try{return jP._create(n,t)}catch(T8){return null}}}class FP extends LP{constructor(){super("twitter.com")}static credential(e,t){return CP._fromParams({providerId:FP.PROVIDER_ID,signInMethod:FP.TWITTER_SIGN_IN_METHOD,oauthToken:e,oauthTokenSecret:t})}static credentialFromResult(e){return FP.credentialFromTaggedObject(e)}static credentialFromError(e){return FP.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{oauthAccessToken:t,oauthTokenSecret:n}=e;if(!t||!n)return null;try{return FP.credential(t,n)}catch(T8){return null}}}async function VP(e,t){return aA(e,"POST","/v1/accounts:signUp",iA(e,t))}
2FP.TWITTER_SIGN_IN_METHOD="twitter.com",FP.PROVIDER_ID="twitter.com";class UP{constructor(e){this.user=e.user,this.providerId=e.providerId,this._tokenResponse=e._tokenResponse,this.operationType=e.operationType}static async _fromIdTokenResponse(e,t,n,i=!1){const o=await AA._fromIdTokenResponse(e,n,i),r=qP(n);return new UP({user:o,providerId:r,_tokenResponse:n,operationType:t})}static async _forOperation(e,t,n){await e._updateTokensIfNecessary(n,!0);const i=qP(n);return new UP({user:e,providerId:i,_tokenResponse:n,operationType:t})}}function qP(e){return e.providerId?e.providerId:"phoneNumber"in e?"phone":null}async function HP(e){var t;if(hI(e.app))return Promise.reject(VI(e));const n=JA(e);if(await n._initializationPromise,null==(t=n.currentUser)?void 0:t.isAnonymous)return new UP({user:n.currentUser,providerId:null,operationType:"signIn"});const i=await VP(n,{returnSecureToken:!0}),o=await UP._fromIdTokenResponse(n,"signIn",i,!0);return await n._updateCurrentUser(o.user),o}class WP extends HC{constructor(e,t,n,i){var o;super(t.code,t.message),this.operationType=n,this.user=i,Object.setPrototypeOf(this,WP.prototype),this.customData={appName:e.name,tenantId:null!=(o=e.tenantId)?o:void 0,_serverResponse:t.customData._serverResponse,operationType:n}}static _fromErrorAndOperation(e,t,n,i){return new WP(e,t,n,i)}}function GP(e,t,n,i){return("reauthenticate"===t?n._getReauthenticationResolver(e):n._getIdTokenResponse(e)).catch(n=>{if(n.code==="auth/".concat("multi-factor-auth-required"))throw WP._fromErrorAndOperation(e,n,t,i);throw n})}function $P(e){return new Set(e.map(({providerId:e})=>e).filter(e=>!!e))}async function YP(e,t){const n=QC(e);await KP(!0,n,t);const{providerUserInfo:i}=await async function(e,t){return oA(e,"POST","/v1/accounts:update",t)}(n.auth,{idToken:await n.getIdToken(),deleteProvider:[t]}),o=$P(i||[]);return n.providerData=n.providerData.filter(e=>o.has(e.providerId)),o.has("phone")||(n.phoneNumber=null),await n.auth._persistUserIfCurrent(n),n}async function XP(e,t,n=!1){const i=await xA(e,t._linkToIdToken(e.auth,await e.getIdToken()),n);return UP._forOperation(e,"link",i)}async function KP(e,t,n){await EA(t);const i=!1===e?"provider-already-linked":"no-such-provider";HI($P(t.providerData).has(n)===e,t.auth,i)}async function JP(e,t,n=!1){const{auth:i}=e;if(hI(i.app))return Promise.reject(VI(i));const o="reauthenticate";try{const r=await xA(e,GP(i,o,t,e),n);HI(r.idToken,i,"internal-error");const a=yA(r.idToken);HI(a,i,"internal-error");const{sub:s}=a;return HI(e.uid===s,i,"user-mismatch"),UP._forOperation(e,o,r)}catch(T8){throw(null==T8?void 0:T8.code)==="auth/".concat("user-not-found")&&jI(i,"user-mismatch"),T8}}async function ZP(e,t,n=!1){if(hI(e.app))return Promise.reject(VI(e));const i="signIn",o=await GP(e,i,t),r=await UP._fromIdTokenResponse(e,i,o);return n||await e._updateCurrentUser(r.user),r}async function QP(e,t){return ZP(JA(e),t)}async function eO(e,t){const n=QC(e);return await KP(!1,n,t.providerId),XP(n,t)}async function tO(e,t){return JP(QC(e),t)}async function nO(e,t){if(hI(e.app))return Promise.reject(VI(e));const n=JA(e),i=await async function(e,t){return aA(e,"POST","/v1/accounts:signInWithCustomToken",iA(e,t))}(n,{token:t,returnSecureToken:!0}),o=await UP._fromIdTokenResponse(n,"signIn",i);return await n._updateCurrentUser(o.user),o}class iO{constructor(e,t){this.factorId=e,this.uid=t.mfaEnrollmentId,this.enrollmentTime=new Date(t.enrolledAt).toUTCString(),this.displayName=t.displayName}static _fromServerResponse(e,t){return"phoneInfo"in t?oO._fromServerResponse(e,t):"totpInfo"in t?rO._fromServerResponse(e,t):jI(e,"internal-error")}}class oO extends iO{constructor(e){super("phone",e),this.phoneNumber=e.phoneInfo}static _fromServerResponse(e,t){return new oO(t)}}class rO extends iO{constructor(e){super("totp",e)}static _fromServerResponse(e,t){return new rO(t)}}function aO(e,t,n){var i;HI((null==(i=n.url)?void 0:i.length)>0,e,"invalid-continue-uri"),HI(void 0===n.dynamicLinkDomain||n.dynamicLinkDomain.length>0,e,"invalid-dynamic-link-domain"),HI(void 0===n.linkDomain||n.linkDomain.length>
20,e,"invalid-hosting-link-domain"),t.continueUrl=n.url,t.dynamicLinkDomain=n.dynamicLinkDomain,t.linkDomain=n.linkDomain,t.canHandleCodeInApp=n.handleCodeInApp,n.iOS&&(HI(n.iOS.bundleId.length>0,e,"missing-ios-bundle-id"),t.iOSBundleId=n.iOS.bundleId),n.android&&(HI(n.android.packageName.length>0,e,"missing-android-pkg-name"),t.androidInstallApp=n.android.installApp,t.androidMinimumVersionCode=n.android.minimumVersion,t.androidPackageName=n.android.packageName)}async function sO(e){const t=JA(e);t._getPasswordPolicyInternal()&&await t._updatePasswordPolicy()}async function lO(e,t,n){const i=JA(e),o={requestType:"PASSWORD_RESET",email:t,clientType:"CLIENT_TYPE_WEB"};n&&aO(i,o,n),await uP(i,o,"getOobCode",kP,"EMAIL_PASSWORD_PROVIDER")}async function cO(e,t,n){await vP(QC(e),{oobCode:t,newPassword:n}).catch(async t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&sO(e),t})}async function dO(e,t){await async function(e,t){return oA(e,"POST","/v1/accounts:update",iA(e,t))}(QC(e),{oobCode:t})}async function uO(e,t){const n=QC(e),i=await vP(n,{oobCode:t}),o=i.requestType;switch(HI(o,n,"internal-error"),o){case"EMAIL_SIGNIN":break;case"VERIFY_AND_CHANGE_EMAIL":HI(i.newEmail,n,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":HI(i.mfaInfo,n,"internal-error");default:HI(i.email,n,"internal-error")}let r=null;return i.mfaInfo&&(r=iO._fromServerResponse(JA(n),i.mfaInfo)),{data:{email:("VERIFY_AND_CHANGE_EMAIL"===i.requestType?i.newEmail:i.email)||null,previousEmail:("VERIFY_AND_CHANGE_EMAIL"===i.requestType?i.email:i.newEmail)||null,multiFactorInfo:r},operation:o}}async function pO(e,t){const{data:n}=await uO(QC(e),t);return n.email}async function hO(e,t,n){if(hI(e.app))return Promise.reject(VI(e));const i=JA(e),o=uP(i,{returnSecureToken:!0,email:t,password:n,clientType:"CLIENT_TYPE_WEB"},"signUpPassword",VP,"EMAIL_PASSWORD_PROVIDER"),r=await o.catch(t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&sO(e),t}),a=await UP._fromIdTokenResponse(i,"signIn",r);return await i._updateCurrentUser(a.user),a}function mO(e,t,n){return hI(e.app)?Promise.reject(VI(e)):QP(QC(e),OP.credential(t,n)).catch(async t=>{throw t.code==="auth/".concat("password-does-not-meet-requirements")&&sO(e),t})}async function fO(e,t,n){const i=JA(e),o={requestType:"EMAIL_SIGNIN",email:t,clientType:"CLIENT_TYPE_WEB"};var r,a;r=o,HI((a=n).handleCodeInApp,i,"argument-error"),a&&aO(i,r,a),await uP(i,o,"getOobCode",_P,"EMAIL_PASSWORD_PROVIDER")}function gO(e,t){const n=PP.parseLink(t);return"EMAIL_SIGNIN"===(null==n?void 0:n.operation)}async function bO(e,t,n){if(hI(e.app))return Promise.reject(VI(e));const i=QC(e),o=OP.credentialWithLink(t,n||$I());return HI(o._tenantId===(i.tenantId||null),i,"tenant-id-mismatch"),QP(i,o)}async function vO(e,t){const n={identifier:t,continueUri:YI()?$I():"http://localhost"},{signinMethods:i}=await async function(e,t){return oA(e,"POST","/v1/accounts:createAuthUri",iA(e,t))}(QC(e),n);return i||[]}async function yO(e,t){const n=QC(e),i={requestType:"VERIFY_EMAIL",idToken:await e.getIdToken()};t&&aO(n.auth,i,t);const{email:o}=await async function(e,t){return xP(e,t)}(n.auth,i);o!==e.email&&await e.reload()}async function wO(e,t,n){const i=QC(e),o={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:await e.getIdToken(),newEmail:t};n&&aO(i.auth,o,n);const{email:r}=await async function(e,t){return xP(e,t)}(i.auth,o);r!==e.email&&await e.reload()}async function xO(e,{displayName:t,photoURL:n}){if(void 0===t&&void 0===n)return;const i=QC(e),o={idToken:await i.getIdToken(),displayName:t,photoUrl:n,returnSecureToken:!0},r=await xA(i,async function(e,t){return oA(e,"POST","/v1/accounts:update",t)}(i.auth,o));i.displayName=r.displayName||null,i.photoURL=r.photoUrl||null;const a=i.providerData.find(({providerId:e})=>"password"===e);a&&(a.displayName=i.displayName,a.photoURL=i.photoURL),await i._updateTokensIfNecessary(r)}function kO(e,t){const n=QC(e);return hI(n.auth.app)?Promise.reject(VI(n.auth)):EO(n,t,null)}function _O(e,t){return EO(QC(e),null,t)}async function EO(e,t,n){const{auth:i}=e,o={idToken:await e.getIdToken(),returnSecureToken:!0};t&&(o.email=t),n&&(o.password=n);const r=await xA(e,async function(e,t){return oA(e,"POST","/v1/accounts:update",t)}(i,o));await e._updateTokensIfNecessary(r,!0)}class SO{constructor(e,t,n={}){this.isNewUser=e,this.providerId=t,this.profile=n}}class CO extends SO{constructor(e,t,n,i){super(e,t,n),this.username=i}}class TO extends SO{constructor(e,t){super(e,"facebook.com",t)}}class IO extends CO{constructor(e,t){super(e,"github.com",t,"string"==typeof(null==t?void 0:t.login)?null==t?void 0:t.login:null)}}class AO extends SO{constructor(e,t){super(e,"google.com",t)}}class PO extends CO{constructor(e,t,n){super(e,"twitter.com",t,n)}}
2function OO(e){const{user:t,_tokenResponse:n}=e;return t.isAnonymous&&!n?{providerId:null,isNewUser:!1,profile:null}:function(e){var t,n;if(!e)return null;const{providerId:i}=e,o=e.rawUserInfo?JSON.parse(e.rawUserInfo):{},r=e.isNewUser||"identitytoolkit#SignupNewUserResponse"===e.kind;if(!i&&(null==e?void 0:e.idToken)){const i=null==(n=null==(t=yA(e.idToken))?void 0:t.firebase)?void 0:n.sign_in_provider;if(i)return new SO(r,"anonymous"!==i&&"custom"!==i?i:null)}if(!i)return null;switch(i){case"facebook.com":return new TO(r,o);case"github.com":return new IO(r,o);case"google.com":return new AO(r,o);case"twitter.com":return new PO(r,o,e.screenName||null);case"custom":case"anonymous":return new SO(r,null);default:return new SO(r,i,o)}}(n)}function RO(e,t){return QC(e).setPersistence(t)}function LO(e,t,n,i){return QC(e).onIdTokenChanged(t,n,i)}function DO(e,t,n){return QC(e).beforeAuthStateChanged(t,n)}function NO(e,t,n,i){return QC(e).onAuthStateChanged(t,n,i)}function MO(e){return QC(e).signOut()}function zO(e,t){return JA(e).revokeAccessToken(t)}async function jO(e){return QC(e).delete()}class BO{constructor(e,t,n){this.type=e,this.credential=t,this.user=n}static _fromIdtoken(e,t){return new BO("enroll",e,t)}static _fromMfaPendingCredential(e){return new BO("signin",e)}toJSON(){const e="enroll"===this.type?"idToken":"pendingCredential";return{multiFactorSession:{[e]:this.credential}}}static fromJSON(e){var t,n;if(null==e?void 0:e.multiFactorSession){if(null==(t=e.multiFactorSession)?void 0:t.pendingCredential)return BO._fromMfaPendingCredential(e.multiFactorSession.pendingCredential);if(null==(n=e.multiFactorSession)?void 0:n.idToken)return BO._fromIdtoken(e.multiFactorSession.idToken)}return null}}class FO{constructor(e,t,n){this.session=e,this.hints=t,this.signInResolver=n}static _fromError(e,t){const n=JA(e),i=t.customData._serverResponse,o=(i.mfaInfo||[]).map(e=>iO._fromServerResponse(n,e));HI(i.mfaPendingCredential,n,"internal-error");const r=BO._fromMfaPendingCredential(i.mfaPendingCredential);return new FO(r,o,async e=>{const o=await e._process(n,r);delete i.mfaInfo,delete i.mfaPendingCredential;const a={...i,idToken:o.idToken,refreshToken:o.refreshToken};switch(t.operationType){case"signIn":const e=await UP._fromIdTokenResponse(n,t.operationType,a);return await n._updateCurrentUser(e.user),e;case"reauthenticate":return HI(t.user,n,"internal-error"),UP._forOperation(t.user,t.operationType,a);default:jI(n,"internal-error")}})}async resolveSignIn(e){const t=e;return this.signInResolver(t)}}function VO(e,t){return oA(e,"POST","/v2/accounts/mfaEnrollment:start",iA(e,t))}class UO{constructor(e){this.user=e,this.enrolledFactors=[],e._onReload(t=>{t.mfaInfo&&(this.enrolledFactors=t.mfaInfo.map(t=>iO._fromServerResponse(e.auth,t)))})}static _fromUser(e){return new UO(e)}async getSession(){return BO._fromIdtoken(await this.user.getIdToken(),this.user)}
2async enroll(e,t){const n=e,i=await this.getSession(),o=await xA(this.user,n._process(this.user.auth,i,t));return await this.user._updateTokensIfNecessary(o),this.user.reload()}async unenroll(e){const t="string"==typeof e?e:e.uid,n=await this.user.getIdToken();try{const e=await xA(this.user,(i=this.user.auth,o={idToken:n,mfaEnrollmentId:t},oA(i,"POST","/v2/accounts/mfaEnrollment:withdraw",iA(i,o))));this.enrolledFactors=this.enrolledFactors.filter(({uid:e})=>e!==t),await this.user._updateTokensIfNecessary(e),await this.user.reload()}catch(T8){throw T8}var i,o}}const qO=new WeakMap;const HO="__sak";class WO{constructor(e,t){this.storageRetriever=e,this.type=t}_isAvailable(){try{return this.storage?(this.storage.setItem(HO,"1"),this.storage.removeItem(HO),Promise.resolve(!0)):Promise.resolve(!1)}catch(T8){return Promise.resolve(!1)}}_set(e,t){return this.storage.setItem(e,JSON.stringify(t)),Promise.resolve()}_get(e){const t=this.storage.getItem(e);return Promise.resolve(t?JSON.parse(t):null)}_remove(e){return this.storage.removeItem(e),Promise.resolve()}get storage(){return this.storageRetriever()}}class GO extends WO{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(e,t)=>this.onStorageEvent(e,t),this.listeners={},this.localCache={},this.pollTimer=null,this.fallbackToPolling=GA(),this._shouldAllowMigration=!0}forAllChangedKeys(e){for(const t of Object.keys(this.listeners)){const n=this.storage.getItem(t),i=this.localCache[t];n!==i&&e(t,i,n)}}onStorageEvent(e,t=!1){if(!e.key)return void this.forAllChangedKeys((e,t,n)=>{this.notifyListeners(e,n)});const n=e.key;t?this.detachListener():this.stopPolling();const i=()=>{const e=this.storage.getItem(n);(t||this.localCache[n]!==e)&&this.notifyListeners(n,e)},o=this.storage.getItem(n);WA()&&o!==e.newValue&&e.newValue!==e.oldValue?setTimeout(i,10):i()}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const i of Array.from(n))i(t?JSON.parse(t):t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((e,t,n)=>{this.onStorageEvent(new StorageEvent("storage",{key:e,oldValue:t,newValue:n}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[e]||(this.listeners[e]=new Set,this.localCache[e]=this.storage.getItem(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}async _set(e,t){await super._set(e,t),this.localCache[e]=JSON.stringify(t)}async _get(e){const t=await super._get(e);return this.localCache[e]=JSON.stringify(t),t}async _remove(e){await super._remove(e),delete this.localCache[e]}}GO.type="LOCAL";const $O=GO;function YO(e){var t,n;const i=e.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),o=RegExp("".concat(i,"=([^;]+)"));return null!=(n=null==(t=document.cookie.match(o))?void 0:t[1])?n:null}function XO(e){const t="http:"===window.location.protocol;return"".concat(t?"__dev_":"__HOST-","FIREBASE_").concat(e.split(":")[3])}class KO{constructor(){this.type="COOKIE",this.listenerUnsubscribes=new Map}_getFinalTarget(e){if(void 0===typeof window)return e;const t=new URL("".concat(window.location.origin,"/__cookies__"));return t.searchParams.set("finalTarget",e),t}async _isAvailable(){var e;return!("boolean"==typeof isSecureContext&&!isSecureContext)&&("undefined"!=typeof navigator&&"undefined"!=typeof document&&(null==(e=navigator.cookieEnabled)||e))}async _set(e,t){}async _get(e){if(!this._isAvailable())return null;const t=XO(e);if(window.cookieStore){const e=await window.cookieStore.get(t);return null==e?void 0:e.value}return YO(t)}async _remove(e){if(!this._isAvailable())return;if(!(await this._get(e)))return;const t=XO(e);document.cookie="".concat(t,"=;Max-Age=34560000;Partitioned;Secure;SameSite=Strict;Path=/;
2Priority=High"),await fetch("/__cookies__",{method:"DELETE"}).catch(()=>{})}_addListener(e,t){if(!this._isAvailable())return;const n=XO(e);if(window.cookieStore){const e=e=>{const i=e.changed.find(e=>e.name===n);i&&t(i.value);e.deleted.find(e=>e.name===n)&&t(null)},i=()=>window.cookieStore.removeEventListener("change",e);return this.listenerUnsubscribes.set(t,i),window.cookieStore.addEventListener("change",e)}let i=YO(n);const o=setInterval(()=>{const e=YO(n);e!==i&&(t(e),i=e)},1e3);this.listenerUnsubscribes.set(t,()=>clearInterval(o))}_removeListener(e,t){const n=this.listenerUnsubscribes.get(t);n&&(n(),this.listenerUnsubscribes.delete(t))}}KO.type="COOKIE";const JO=KO;class ZO extends WO{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(e,t){}_removeListener(e,t){}}ZO.type="SESSION";const QO=ZO;class eR{constructor(e){this.eventTarget=e,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(e){const t=this.receivers.find(t=>t.isListeningto(e));if(t)return t;const n=new eR(e);return this.receivers.push(n),n}isListeningto(e){return this.eventTarget===e}async handleEvent(e){const t=e,{eventId:n,eventType:i,data:o}=t.data,r=this.handlersMap[i];if(!(null==r?void 0:r.size))return;t.ports[0].postMessage({status:"ack",eventId:n,eventType:i});const a=Array.from(r).map(async e=>e(t.origin,o)),s=await function(e){return Promise.all(e.map(async e=>{try{return{fulfilled:!0,value:await e}}catch(t){return{fulfilled:!1,reason:t}}}))}(a);t.ports[0].postMessage({status:"done",eventId:n,eventType:i,response:s})}_subscribe(e,t){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[e]||(this.handlersMap[e]=new Set),this.handlersMap[e].add(t)}_unsubscribe(e,t){this.handlersMap[e]&&t&&this.handlersMap[e].delete(t),t&&0!==this.handlersMap[e].size||delete this.handlersMap[e],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}function tR(e="",t=10){let n="";for(let i=0;i<t;i++)n+=Math.floor(10*Math.random());return e+n}eR.receivers=[];class nR{constructor(e){this.target=e,this.handlers=new Set}removeMessageHandler(e){e.messageChannel&&(e.messageChannel.port1.removeEventListener("message",e.onMessage),e.messageChannel.port1.close()),this.handlers.delete(e)}async _send(e,t,n=50){const i="undefined"!=typeof MessageChannel?new MessageChannel:null;if(!i)throw new Error("connection_unavailable");let o,r;return new Promise((a,s)=>{const l=tR("",20);i.port1.start();const c=setTimeout(()=>{s(new Error("unsupported_event"))},n);r={messageChannel:i,onMessage(e){const t=e;if(t.data.eventId===l)switch(t.data.status){case"ack":clearTimeout(c),o=setTimeout(()=>{s(new Error("timeout"))},3e3);break;case"done":clearTimeout(o),a(t.data.response);break;default:clearTimeout(c),clearTimeout(o),s(new Error("invalid_response"))}}},this.handlers.add(r),i.port1.addEventListener("message",r.onMessage),this.target.postMessage({eventType:e,eventId:l,data:t},[i.port2])}).finally(()=>{r&&this.removeMessageHandler(r)})}}function iR(){return window}function oR(){return void 0!==iR().WorkerGlobalScope&&"function"==typeof iR().importScripts}const rR="firebaseLocalStorageDb",aR="firebaseLocalStorage",sR="fbase_key";class lR{constructor(e){this.request=e}toPromise(){return new Promise((e,t)=>{this.request.addEventListener("success",()=>{e(this.request.result)}),this.request.addEventListener("error",()=>{t(this.request.error)})})}}function cR(e,t){return e.transaction([aR],t?"readwrite":"readonly").objectStore(aR)}function dR(){const e=indexedDB.open(rR,1);return new Promise((t,n)=>{e.addEventListener("error",()=>{n(e.error)}),e.addEventListener("upgradeneeded",()=>{const t=e.result;try{t.createObjectStore(aR,{keyPath:sR})}catch(T8){n(T8)}}),e.addEventListener("success",async()=>{const n=e.result;n.objectStoreNames.contains(aR)?t(n):(n.close(),await function(){const e=indexedDB.deleteDatabase(rR);return new lR(e).toPromise()}(),t(await dR()))})})}async function uR(e,t,n){const i=cR(e,!0).put({[sR]:t,value:n});return new lR(i).toPromise()}function pR(e,t){const n=cR(e,!0).delete(t);return new lR(n).toPromise()}class hR{registerLifecycleListeners(){"undefined"!=typeof window&&"function"==typeof window.addEventListener&&(window.addEventListener("pagehide",this.onPageHide),window.addEventListener("pageshow",this.onPageShow)),"undefined"!=typeof document&&"function"==typeof document.addEventListener&&document.addEventListener("visibilitychange",this.onVisibilityChange)}unregisterLifecycleListeners(){"undefined"!=typeof window&&"function"==typeof window.removeEventListener&&(window.removeEventListener("pagehide",this.onPageHide),window.removeEventListener("pageshow",this.onPageShow)),"undefined"!=typeof document&&"function"==typeof document.removeEventListener&&document.removeEventListener("visibilitychange",this.onVisibilityChange)}constructor(){this.type="LOCAL",this.dbPromise=null,this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.isHiding=!1,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this.onPageHide=()=>{this.isHiding=!0,this.stopPolling(),this.dbPromise&&(this.dbPromise.then(e=>e.close()).catch(()=>{}),this.dbPromise=null)},this.onPageShow=()=>{this.isHiding&&(this.isHiding=!1,Object.keys(this.listeners).length>0&&this.startPolling())},this.onVisibilityChange=()=>{"undefined"!=typeof document&&("hidden"===document.visibilityState?this.onPageHide():"visible"===document.visibilityState&&this.onPageShow())},this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}async _openDb(){if(this.isHiding)throw new Error("Database is closing/hidden");return this.dbPromise||(this.dbPromise=dR(),this.dbPromise.catch(()=>{this.dbPromise=null})),this.dbPromise}async _withRetries(e){let t=0;for(;;)try{const t=await this._openDb();return await e(t)}catch(T8){if(this.isHiding)throw T8;if(t++>3)throw T8;if(this.dbPromise){(await this.dbPromise).close(),this.dbPromise=null}}}async initializeServiceWorkerMessaging(){return oR()?this.initializeReceiver():this.initializeSender()}async initializeReceiver(){this.receiver=eR._getInstance(oR()?self:null),this.receiver._subscribe("keyChanged",async(e,t)=>({keyProcessed:(await this._poll()).includes(t.key)})),this.receiver._subscribe("ping",async(e,t)=>["keyChanged"])}async initializeSender(){var e,t;if(this.activeServiceWorker=await async function(){if(!(null==navigator?void 0:navigator.serviceWorker))return null;try{return(await navigator.serviceWorker.ready).active}catch(T8){return null}}(),!this.activeServiceWorker)return;this.sender=new nR(this.activeServiceWorker);const n=await this.sender._send("ping",{},800);n&&(null==(e=n[0])?void 0:e.fulfilled)&&(null==(t=n[0])?void 0:t.value.includes("keyChanged"))&&(this.serviceWorkerReceiverAvailable=!0)}async notifyServiceWorker(e){var t;if(this.sender&&this.activeServiceWorker&&((null==(t=null==navigator?void 0:navigator.serviceWorker)?void 0:t.controller)||null)===this.activeServiceWorker)try{await this.sender._send("keyChanged",{key:e},this.serviceWorkerReceiverAvailable?800:50)}catch(T8){}}async _isAvailable(){try{return!!indexedDB&&(await this._withRetries(async e=>{await uR(e,HO,"1"),await pR(e,HO)}),!0)}catch(T8){}return!1}async _withPendingWrite(e){this.pendingWrites++;try{await e()}finally{this.pendingWrites--}}async _set(e,t){return this._withPendingWrite(async()=>(await this._withRetries(n=>uR(n,e,t)),this.localCache[e]=t,this.notifyServiceWorker(e)))}async _get(e){const t=await this._withRetries(t=>async function(e,t){const n=cR(e,!1).get(t),i=await new lR(n).toPromise();return void 0===i?null:i.value}(t,e));return this.localCache[e]=t,t}async _remove(e){return this._withPendingWrite(async()=>(await this._withRetries(t=>pR(t,e)),delete this.localCache[e],this.notifyServiceWorker(e)))}async _poll(){if(this.isHiding)return[];try{const e=await this._withRetries(e=>{const t=cR(e,!1).getAll();
2return new lR(t).toPromise()});if(this.isHiding)return[];if(!e)return[];if(0!==this.pendingWrites)return[];const t=[],n=new Set;if(0!==e.length)for(const{fbase_key:i,value:o}of e)n.add(i),JSON.stringify(this.localCache[i])!==JSON.stringify(o)&&(this.notifyListeners(i,o),t.push(i));for(const i of Object.keys(this.localCache))this.localCache[i]&&!n.has(i)&&(this.notifyListeners(i,null),t.push(i));return t}catch(T8){return this.isHiding||MI("Firebase Auth cross-tab polling failed with error: ".concat(T8)),[]}}notifyListeners(e,t){this.localCache[e]=t;const n=this.listeners[e];if(n)for(const i of Array.from(n))i(t)}startPolling(){this.stopPolling(),this.pollTimer=setInterval(async()=>this._poll(),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(e,t){0===Object.keys(this.listeners).length&&(this.startPolling(),this.registerLifecycleListeners()),this.listeners[e]||(this.listeners[e]=new Set,this._get(e)),this.listeners[e].add(t)}_removeListener(e,t){this.listeners[e]&&(this.listeners[e].delete(t),0===this.listeners[e].size&&delete this.listeners[e]),0===Object.keys(this.listeners).length&&(this.stopPolling(),this.unregisterLifecycleListeners())}}hR.type="LOCAL";const mR=hR;function fR(e,t){return oA(e,"POST","/v2/accounts/mfaSignIn:start",iA(e,t))}const gR=tP("rcb"),bR=new JI(3e4,6e4);class vR{constructor(){var e;this.hostLanguage="",this.counter=0,this.librarySeparatelyLoaded=!!(null==(e=iR().grecaptcha)?void 0:e.render)}load(e,t=""){return HI(function(e){return e.length<=6&&/^\s*[a-zA-Z0-9\-]*\s*$/.test(e)}(t),e,"argument-error"),this.shouldResolveImmediately(t)&&uA(iR().grecaptcha)?Promise.resolve(iR().grecaptcha):new Promise((n,i)=>{const o=iR().setTimeout(()=>{i(BI(e,"network-request-failed"))},bR.get());iR()[gR]=()=>{iR().clearTimeout(o),delete iR()[gR];const r=iR().grecaptcha;if(!r||!uA(r))return void i(BI(e,"internal-error"));const a=r.render;r.render=(e,t)=>{const n=a(e,t);return this.counter++,n},this.hostLanguage=t,n(r)};eP("".concat(QA.recaptchaV2Script,"?").concat(YC({onload:gR,render:"explicit",hl:t}))).catch(()=>{clearTimeout(o),i(BI(e,"internal-error"))})})}clearedOneInstance(){this.counter--}shouldResolveImmediately(e){var t;return!!(null==(t=iR().grecaptcha)?void 0:t.render)&&(e===this.hostLanguage||this.counter>0||this.librarySeparatelyLoaded)}}class yR{async load(e){return new iP(e)}clearedOneInstance(){}}const wR="recaptcha",xR={theme:"light",type:"image"};class kR{constructor(e,t,n={...xR}){this.parameters=n,this.type=wR,this.destroyed=!1,this.widgetId=null,this.tokenChangeListeners=new Set,this.renderPromise=null,this.recaptcha=null,this.auth=JA(e),this.isInvisible="invisible"===this.parameters.size,HI("undefined"!=typeof document,this.auth,"operation-not-supported-in-this-environment");const i="string"==typeof t?document.getElementById(t):t;HI(i,this.auth,"argument-error"),this.container=i,this.parameters.callback=this.makeTokenCallback(this.parameters.callback),this._recaptchaLoader=this.auth.settings.appVerificationDisabledForTesting?new yR:new vR,this.validateStartingState()}async verify(){this.assertNotDestroyed();const e=await this.render(),t=this.getAssertedRecaptcha(),n=t.getResponse(e);return n||new Promise(n=>{const i=e=>{e&&(this.tokenChangeListeners.delete(i),n(e))};this.tokenChangeListeners.add(i),this.isInvisible&&t.execute(e)})}render(){try{this.assertNotDestroyed()}catch(T8){return Promise.reject(T8)}return this.renderPromise||(this.renderPromise=this.makeRenderPromise().catch(e=>{throw this.renderPromise=null,e})),this.renderPromise}_reset(){this.assertNotDestroyed(),null!==this.widgetId&&this.getAssertedRecaptcha().reset(this.widgetId)}clear(){this.assertNotDestroyed(),this.destroyed=!0,this._recaptchaLoader.clearedOneInstance(),this.isInvisible||this.container.childNodes.forEach(e=>{this.container.removeChild(e)})}validateStartingState(){HI(!this.parameters.sitekey,this.auth,"argument-error"),HI(this.isInvisible||!this.container.hasChildNodes(),this.auth,"argument-error"),HI("undefined"!=typeof document,this.auth,"operation-not-supported-in-this-environment")}makeTokenCallback(e){return t=>
2{if(this.tokenChangeListeners.forEach(e=>e(t)),"function"==typeof e)e(t);else if("string"==typeof e){const n=iR()[e];"function"==typeof n&&n(t)}}}assertNotDestroyed(){HI(!this.destroyed,this.auth,"internal-error")}async makeRenderPromise(){if(await this.init(),!this.widgetId){let e=this.container;if(!this.isInvisible){const t=document.createElement("div");e.appendChild(t),e=t}this.widgetId=this.getAssertedRecaptcha().render(e,this.parameters)}return this.widgetId}async init(){HI(YI()&&!oR(),this.auth,"internal-error"),await function(){let e=null;return new Promise(t=>{"complete"!==document.readyState?(e=()=>t(),window.addEventListener("load",e)):t()}).catch(t=>{throw e&&window.removeEventListener("load",e),t})}(),this.recaptcha=await this._recaptchaLoader.load(this.auth,this.auth.languageCode||void 0);const e=await async function(e){return(await oA(e,"GET","/v1/recaptchaParams")).recaptchaSiteKey||""}(this.auth);HI(e,this.auth,"internal-error"),this.parameters.sitekey=e}getAssertedRecaptcha(){return HI(this.recaptcha,this.auth,"internal-error"),this.recaptcha}}class _R{constructor(e,t){this.verificationId=e,this.onConfirmation=t}confirm(e){const t=AP._fromVerification(this.verificationId,e);return this.onConfirmation(t)}}async function ER(e,t,n){if(hI(e.app))return Promise.reject(VI(e));
2const i=JA(e),o=await CR(i,t,QC(n));return new _R(o,e=>QP(i,e))}async function SR(e,t,n){const i=QC(e);await KP(!1,i,"phone");const o=await CR(i.auth,t,QC(n));return new _R(o,e=>eO(i,e))}async function CR(e,t,n){var i;if(!e._getRecaptchaConfig())try{await pP(e)}catch(o){}try{let o;if(o="string"==typeof t?{phoneNumber:t}:t,"session"in o){const t=o.session;if("phoneNumber"in o){HI("enroll"===t.type,e,"internal-error");const i={idToken:t.credential,phoneEnrollmentInfo:{phoneNumber:o.phoneNumber,clientType:"CLIENT_TYPE_WEB"}},r=uP(e,i,"mfaSmsEnrollment",async(e,t)=>{if(t.phoneEnrollmentInfo.captchaResponse===sP){HI((null==n?void 0:n.type)===wR,e,"argument-error");return VO(e,await TR(e,t,n))}return VO(e,t)},"PHONE_PROVIDER");return(await r.catch(e=>Promise.reject(e))).phoneSessionInfo.sessionInfo}{HI("signin"===t.type,e,"internal-error");const r=(null==(i=o.multiFactorHint)?void 0:i.uid)||o.multiFactorUid;HI(r,e,"missing-multi-factor-info");const a={mfaPendingCredential:t.credential,mfaEnrollmentId:r,phoneSignInInfo:{clientType:"CLIENT_TYPE_WEB"}},s=uP(e,a,"mfaSmsSignIn",async(e,t)=>{if(t.phoneSignInInfo.captchaResponse===sP){HI((null==n?void 0:n.type)===wR,e,"argument-error");return fR(e,await TR(e,t,n))}return fR(e,t)},"PHONE_PROVIDER");return(await s.catch(e=>Promise.reject(e))).phoneResponseInfo.sessionInfo}}{const t={phoneNumber:o.phoneNumber,clientType:"CLIENT_TYPE_WEB"},i=uP(e,t,"sendVerificationCode",async(e,t)=>{if(t.captchaResponse===sP){HI((null==n?void 0:n.type)===wR,e,"argument-error");return TP(e,await TR(e,t,n))}return TP(e,t)},"PHONE_PROVIDER");return(await i.catch(e=>Promise.reject(e))).sessionInfo}}finally{null==n||n._reset()}}async function TR(e,t,n){HI(n.type===wR,e,"argument-error");const i=await n.verify();HI("string"==typeof i,e,"argument-error");const o={...t};if("phoneEnrollmentInfo"in o){const e=o.phoneEnrollmentInfo.phoneNumber,t=o.phoneEnrollmentInfo.captchaResponse,n=o.phoneEnrollmentInfo.clientType,r=o.phoneEnrollmentInfo.recaptchaVersion;return Object.assign(o,{phoneEnrollmentInfo:{phoneNumber:e,recaptchaToken:i,captchaResponse:t,clientType:n,recaptchaVersion:r}}),o}if("phoneSignInInfo"in o){const e=o.phoneSignInInfo.captchaResponse,t=o.phoneSignInInfo.clientType,n=o.phoneSignInInfo.recaptchaVersion;return Object.assign(o,{phoneSignInInfo:{recaptchaToken:i,captchaResponse:e,clientType:t,recaptchaVersion:n}}),o}return Object.assign(o,{recaptchaToken:i}),o}class IR{constructor(e){this.providerId=IR.PROVIDER_ID,this.auth=JA(e)}verifyPhoneNumber(e,t){return CR(this.auth,e,QC(t))}static credential(e,t){return AP._fromVerification(e,t)}static credentialFromResult(e){const t=e;return IR.credentialFromTaggedObject(t)}static credentialFromError(e){return IR.credentialFromTaggedObject(e.customData||{})}static credentialFromTaggedObject({_tokenResponse:e}){if(!e)return null;const{phoneNumber:t,temporaryProof:n}=e;return t&&n?AP._fromTokenResponse(t,n):null}}function AR(e,t){return t?OA(t):(HI(e._popupRedirectResolver,e,"argument-error"),e._popupRedirectResolver)}IR.PROVIDER_ID="phone",IR.PHONE_SIGN_IN_METHOD="phone";class PR extends bP{constructor(e){super("custom","custom"),this.params=e}_getIdTokenResponse(e){return SP(e,this._buildIdpRequest())}_linkToIdToken(e,t){return SP(e,this._buildIdpRequest(t))}_getReauthenticationResolver(e){return SP(e,this._buildIdpRequest())}_buildIdpRequest(e){const t={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return e&&(t.idToken=e),t}}function OR(e){return ZP(e.auth,new PR(e),e.bypassAuthState)}function RR(e){const{auth:t,user:n}=e;return HI(n,t,"internal-error"),JP(n,new PR(e),e.bypassAuthState)}async function LR(e){const{auth:t,user:n}=e;return HI(n,t,"internal-error"),XP(n,new PR(e),e.bypassAuthState)}class DR{constructor(e,t,n,i,o=!1){this.auth=e,this.resolver=n,this.user=i,this.bypassAuthState=o,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(t)?t:[t]}execute(){return new Promise(async(e,t)=>{this.pendingPromise={resolve:e,reject:t};try{this.eventManager=await this.resolver._initialize(this.auth),await this.onExecution(),this.eventManager.registerConsumer(this)}catch(T8){this.reject(T8)}})}async onAuthEvent(e){const{urlResponse:t,sessionId:n,postBody:i,tenantId:o,error:r,type:a}=e;if(r)return void this.reject(r);const s={auth:this.auth,requestUri:t,sessionId:n,tenantId:o||void 0,postBody:i||void 0,user:this.user,bypassAuthState:this.bypassAuthState};try{this.resolve(await this.getIdpTask(a)(s))}catch(T8){this.reject(T8)}}onError(e){this.reject(e)}getIdpTask(e){switch(e){case"signInViaPopup":case"signInViaRedirect":return OR;case"linkViaPopup":case"linkViaRedirect":return LR;case"reauthViaPopup":case"reauthViaRedirect":return RR;default:jI(this.auth,"internal-error")}}resolve(e){GI(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(e),this.unregisterAndCleanUp()}reject(e){GI(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(e),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const NR=new JI(2e3,1e4);
2async function MR(e,t,n){if(hI(e.app))return Promise.reject(BI(e,"operation-not-supported-in-this-environment"));const i=JA(e);UI(e,t,RP);const o=AR(i,n);return new jR(i,"signInViaPopup",t,o).executeNotNull()}async function zR(e,t,n){const i=QC(e);UI(i.auth,t,RP);const o=AR(i.auth,n);return new jR(i.auth,"linkViaPopup",t,o,i).executeNotNull()}class jR extends DR{constructor(e,t,n,i,o){super(e,t,i,o),this.provider=n,this.authWindow=null,this.pollId=null,jR.currentPopupAction&&jR.currentPopupAction.cancel(),jR.currentPopupAction=this}async executeNotNull(){const e=await this.execute();return HI(e,this.auth,"internal-error"),e}async onExecution(){GI(1===this.filter.length,"Popup operations only handle one event");const e=tR();this.authWindow=await this.resolver._openPopup(this.auth,this.provider,this.filter[0],e),this.authWindow.associatedEvent=e,this.resolver._originValidation(this.auth).catch(e=>{this.reject(e)}),this.resolver._isIframeWebStorageSupported(this.auth,e=>{e||this.reject(BI(this.auth,"web-storage-unsupported"))}),this.pollUserCancellation()}get eventId(){var e;return(null==(e=this.authWindow)?void 0:e.associatedEvent)||null}cancel(){this.reject(BI(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,jR.currentPopupAction=null}pollUserCancellation(){const e=()=>{var t,n;(null==(n=null==(t=this.authWindow)?void 0:t.window)?void 0:n.closed)?this.pollId=window.setTimeout(()=>{this.pollId=null,this.reject(BI(this.auth,"popup-closed-by-user"))},8e3):this.pollId=window.setTimeout(e,NR.get())};e()}}jR.currentPopupAction=null;const BR=new Map;class FR extends DR{constructor(e,t,n=!1){super(e,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],t,void 0,n),this.eventId=null}async execute(){let e=BR.get(this.auth._key());if(!e){try{const t=await async function(e,t){const n=HR(t),i=qR(e);if(!(await i._isAvailable()))return!1;const o="true"===await i._get(n);return await i._remove(n),o}(this.resolver,this.auth)?await super.execute():null;e=()=>Promise.resolve(t)}catch(T8){e=()=>Promise.reject(T8)}BR.set(this.auth._key(),e)}return this.bypassAuthState||BR.set(this.auth._key(),()=>Promise.resolve(null)),e()}async onAuthEvent(e){if("signInViaRedirect"===e.type)return super.onAuthEvent(e);if("unknown"!==e.type){if(e.eventId){const t=await this.auth._redirectUserForId(e.eventId);if(t)return this.user=t,super.onAuthEvent(e);this.resolve(null)}}else this.resolve(null)}async onExecution(){}cleanUp(){}}async function VR(e,t){return qR(e)._set(HR(t),"true")}function UR(e,t){BR.set(e._key(),t)}function qR(e){return OA(e._redirectPersistence)}function HR(e){return DA("pendingRedirect",e.config.apiKey,e.name)}function WR(e,t,n){return async function(e,t,n){if(hI(e.app))return Promise.reject(VI(e));const i=JA(e);UI(e,t,RP),await i._initializationPromise;const o=AR(i,n);return await VR(o,i),o._openRedirect(i,t,"signInViaRedirect")}(e,t,n)}function GR(e,t,n){return async function(e,t,n){const i=QC(e);UI(i.auth,t,RP),await i.auth._initializationPromise;const o=AR(i.auth,n);await KP(!1,i,t.providerId),await VR(o,i.auth);const r=await XR(i);return o._openRedirect(i.auth,t,"linkViaRedirect",r)}(e,t,n)}async function $R(e,t){return await JA(e)._initializationPromise,YR(e,t,!1)}async function YR(e,t,n=!1){if(hI(e.app))return Promise.reject(VI(e));const i=JA(e),o=AR(i,t),r=new FR(i,o,n),a=await r.execute();return a&&!n&&(delete a.user._redirectEventId,await i._persistUserIfCurrent(a.user),await i._setRedirectUser(null,t)),a}async function XR(e){const t=tR("".concat(e.uid,":::"));return e._redirectEventId=t,await e.auth._setRedirectUser(e),await e.auth._persistUserIfCurrent(e),t}class KR{constructor(e){this.auth=e,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(e){this.consumers.add(e),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,e)&&(this.sendToConsumer(this.queuedRedirectEvent,e),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(e){this.consumers.delete(e)}onEvent(e){if(this.hasEventBeenHandled(e))return!1;let t=!1;
2return this.consumers.forEach(n=>{this.isEventForConsumer(e,n)&&(t=!0,this.sendToConsumer(e,n),this.saveEventToCache(e))}),this.hasHandledPotentialRedirect||!function(e){switch(e.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return ZR(e);default:return!1}}(e)||(this.hasHandledPotentialRedirect=!0,t||(this.queuedRedirectEvent=e,t=!0)),t}sendToConsumer(e,t){var n;if(e.error&&!ZR(e)){const i=(null==(n=e.error.code)?void 0:n.split("auth/")[1])||"internal-error";t.onError(BI(this.auth,i))}else t.onAuthEvent(e)}isEventForConsumer(e,t){const n=null===t.eventId||!!e.eventId&&e.eventId===t.eventId;return t.filter.includes(e.type)&&n}hasEventBeenHandled(e){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(JR(e))}saveEventToCache(e){this.cachedEventUids.add(JR(e)),this.lastProcessedEventTime=Date.now()}}function JR(e){return[e.type,e.eventId,e.sessionId,e.tenantId].filter(e=>e).join("-")}function ZR({type:e,error:t}){return"unknown"===e&&(null==t?void 0:t.code)==="auth/".concat("no-auth-event")}const QR=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,eL=/^https?/;async function tL(e){if(e.config.emulator)return;const{authorizedDomains:t}=await async function(e,t={}){return oA(e,"GET","/v1/projects",t)}(e);for(const n of t)try{if(nL(n))return}catch(T8){}jI(e,"unauthorized-domain")}function nL(e){const t=$I(),{protocol:n,hostname:i}=new URL(t);if(e.startsWith("chrome-extension://")){const o=new URL(e);return""===o.hostname&&""===i?"chrome-extension:"===n&&e.replace("chrome-extension://","")===t.replace("chrome-extension://",""):"chrome-extension:"===n&&o.hostname===i}if(!eL.test(n))return!1;if(QR.test(e))return i===e;const o=e.replace(/\./g,"\\.");return new RegExp("^(.+\\."+o+"|"+o+")$","i").test(i)}const iL=new JI(3e4,6e4);function oL(){const e=iR().___jsl;if(null==e?void 0:e.H)for(const t of Object.keys(e.H))if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=[...e.H[t].L],e.CP)for(let n=0;n<e.CP.length;n++)e.CP[n]=null}function rL(e){return new Promise((t,n)=>{var i,o,r;function a(){oL(),gapi.load("gapi.iframes",{callback:()=>{t(gapi.iframes.getContext())},ontimeout:()=>{oL(),n(BI(e,"network-request-failed"))},timeout:iL.get()})}if(null==(o=null==(i=iR().gapi)?void 0:i.iframes)?void 0:o.Iframe)t(gapi.iframes.getContext());else{if(!(null==(r=iR().gapi)?void 0:r.load)){const t=tP("iframefcb");return iR()[t]=()=>{gapi.load?a():n(BI(e,"network-request-failed"))},eP("".concat(QA.gapiScript,"?onload=").concat(t)).catch(e=>n(e))}a()}}).catch(e=>{throw aL=null,e})}let aL=null;const sL=new JI(5e3,15e3),lL={style:{position:"absolute",top:"-100px",width:"1px",height:"1px"},"aria-hidden":"true",tabindex:"-1"},cL=new Map([["identitytoolkit.googleapis.com","p"],["staging-identitytoolkit.sandbox.googleapis.com","s"],["test-identitytoolkit.sandbox.googleapis.com","t"]]);function dL(e){const t=e.config;HI(t.authDomain,e,"auth-domain-config-required");const n=t.emulator?ZI(t,"emulator/auth/iframe"):"https://".concat(e.config.authDomain,"/").concat("__/auth/iframe"),i={apiKey:t.apiKey,appName:e.name,v:gI},o=cL.get(e.config.apiHost);o&&(i.eid=o);const r=e._getFrameworks();return r.length&&(i.fw=r.join(",")),"".concat(n,"?").concat(YC(i).slice(1))}async function uL(e){const t=await function(e){return aL=aL||rL(e),aL}(e),n=iR().gapi;return HI(n,e,"internal-error"),t.open({where:document.body,url:dL(e),messageHandlersFilter:n.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:lL,dontclear:!0},t=>new Promise(async(n,i)=>{await t.restyle({setHideOnLeave:!1});const o=BI(e,"network-request-failed"),r=iR().setTimeout(()=>{i(o)},sL.get());function a(){iR().clearTimeout(r),n(t)}t.ping(a).then(a,()=>{i(o)})}))}const pL={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class hL{constructor(e){this.window=e,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch(T8){}}}function mL(e,t,n,i=500,o=600){const r=Math.max((window.screen.availHeight-o)/2,0).toString(),a=Math.max((window.screen.availWidth-i)/2,0).toString();let s="";const l={...pL,width:i.toString(),height:o.toString(),top:r,left:a},c=qC().toLowerCase();n&&(s=BA(c)?"_blank":n),zA(c)&&(t=t||"http://localhost",l.scrollbars="yes");const d=Object.entries(l).reduce((e,[t,n])=>"".concat(e).concat(t,"=").concat(n,","),"");if(function(e=qC()){var t;return HA(e)&&!!(null==(t=window.navigator)?void 0:t.standalone)}(c)&&"_self"!==s)return function(e,t){const n=document.createElement("a");n.href=e,n.target=t;const i=document.createEvent("MouseEvent");
2i.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),n.dispatchEvent(i)}(t||"",s),new hL(null);const u=window.open(t||"",s,d);HI(u,e,"popup-blocked");try{u.focus()}catch(T8){}return new hL(u)}const fL="__/auth/handler",gL="emulator/auth/handler",bL=encodeURIComponent("fac");async function vL(e,t,n,i,o,r){HI(e.config.authDomain,e,"auth-domain-config-required"),HI(e.config.apiKey,e,"invalid-api-key");const a={apiKey:e.config.apiKey,appName:e.name,authType:n,redirectUrl:i,v:gI,eventId:o};if(t instanceof RP){t.setDefaultLanguage(e.languageCode),a.providerId=t.providerId||"",function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}(t.getCustomParameters())||(a.customParameters=JSON.stringify(t.getCustomParameters()));for(const[e,t]of Object.entries({}))a[e]=t}if(t instanceof LP){const e=t.getScopes().filter(e=>""!==e);e.length>0&&(a.scopes=e.join(","))}e.tenantId&&(a.tid=e.tenantId);const s=a;for(const d of Object.keys(s))void 0===s[d]&&delete s[d];const l=await e._getAppCheckToken(),c=l?"#".concat(bL,"=").concat(encodeURIComponent(l)):"";return"".concat(function({config:e}){if(!e.emulator)return"https://".concat(e.authDomain,"/").concat(fL);return ZI(e,gL)}(e),"?").concat(YC(s).slice(1)).concat(c)}const yL="webStorageSupport";const wL=class{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=QO,this._completeRedirectFn=YR,this._overrideRedirectResult=UR}async _openPopup(e,t,n,i){var o;GI(null==(o=this.eventManagers[e._key()])?void 0:o.manager,"_initialize() not called before _openPopup()");return mL(e,await vL(e,t,n,$I(),i),tR())}async _openRedirect(e,t,n,i){await this._originValidation(e);return function(e){iR().location.href=e}(await vL(e,t,n,$I(),i)),new Promise(()=>{})}_initialize(e){const t=e._key();if(this.eventManagers[t]){const{manager:e,promise:n}=this.eventManagers[t];return e?Promise.resolve(e):(GI(n,"If manager is not set, promise should be"),n)}const n=this.initAndGetManager(e);return this.eventManagers[t]={promise:n},n.catch(()=>{delete this.eventManagers[t]}),n}async initAndGetManager(e){const t=await uL(e),n=new KR(e);return t.register("authEvent",t=>{HI(null==t?void 0:t.authEvent,e,"invalid-auth-event");return{status:n.onEvent(t.authEvent)?"ACK":"ERROR"}},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),this.eventManagers[e._key()]={manager:n},this.iframes[e._key()]=t,n}_isIframeWebStorageSupported(e,t){this.iframes[e._key()].send(yL,{type:yL},n=>{var i;const o=null==(i=null==n?void 0:n[0])?void 0:i[yL];void 0!==o&&t(!!o),jI(e,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(e){const t=e._key();return this.originValidationPromises[t]||(this.originValidationPromises[t]=tL(e)),this.originValidationPromises[t]}get _shouldInitProactively(){return GA()||jA()||HA()}};class xL{constructor(e){this.factorId=e}_process(e,t,n){switch(t.type){case"enroll":return this._finalizeEnroll(e,t.credential,n);case"signin":return this._finalizeSignIn(e,t.credential);default:return WI("unexpected MultiFactorSessionType")}}}class kL extends xL{constructor(e){super("phone"),this.credential=e}static _fromCredential(e){return new kL(e)}_finalizeEnroll(e,t,n){return function(e,t){return oA(e,"POST","/v2/accounts/mfaEnrollment:finalize",iA(e,t))}(e,{idToken:t,displayName:n,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(e,t){return function(e,t){return oA(e,"POST","/v2/accounts/mfaSignIn:finalize",iA(e,t))}(e,{mfaPendingCredential:t,phoneVerificationInfo:this.credential._makeVerificationRequest()})}}class _L{constructor(){}static assertion(e){return kL._fromCredential(e)}}_L.FACTOR_ID="phone";class EL{static assertionForEnrollment(e,t){return SL._fromSecret(e,t)}static assertionForSignIn(e,t){return SL._fromEnrollmentId(e,t)}static async generateSecret(e){var t;const n=e;HI(void 0!==(null==(t=n.user)?void 0:t.auth),"internal-error");const i=await(o=n.user.auth,r={idToken:n.credential,totpEnrollmentInfo:{}},oA(o,"POST","/v2/accounts/mfaEnrollment:start",iA(o,r)));var o,r;return CL._fromStartTotpMfaEnrollmentResponse(i,n.user.auth)}}EL.FACTOR_ID="totp";class SL extends xL{constructor(e,t,n){super("totp"),this.otp=e,this.enrollmentId=t,this.secret=n}static _fromSecret(e,t){return new SL(t,void 0,e)}static _fromEnrollmentId(e,t){return new SL(t,e)}async _finalizeEnroll(e,t,n){return HI(void 0!==this.secret,e,"argument-error"),function(e,t){return oA(e,"POST","/v2/accounts/mfaEnrollment:finalize",iA(e,t))}(e,{idToken:t,displayName:n,totpVerificationInfo:this.secret._makeTotpVerificationInfo(this.otp)})}async _finalizeSignIn(e,t){HI(void 0!==this.enrollmentId&&void 0!==this.otp,e,"argument-error");const n={verificationCode:this.otp};return function(e,t){return oA(e,"POST","/v2/accounts/mfaSignIn:finalize",iA(e,t))}(e,{mfaPendingCredential:t,mfaEnrollmentId:this.enrollmentId,totpVerificationInfo:n})}}class CL{constructor(e,t,n,i,o,r,a){this.sessionInfo=r,this.auth=a,this.secretKey=e,this.hashingAlgorithm=t,this.co
2deLength=n,this.codeIntervalSeconds=i,this.enrollmentCompletionDeadline=o}static _fromStartTotpMfaEnrollmentResponse(e,t){return new CL(e.totpSessionInfo.sharedSecretKey,e.totpSessionInfo.hashingAlgorithm,e.totpSessionInfo.verificationCodeLength,e.totpSessionInfo.periodSec,new Date(e.totpSessionInfo.finalizeEnrollmentTime).toUTCString(),e.totpSessionInfo.sessionInfo,t)}_makeTotpVerificationInfo(e){return{sessionInfo:this.sessionInfo,verificationCode:e}}generateQrCodeUrl(e,t){var n;let i=!1;return(TL(e)||TL(t))&&(i=!0),i&&(TL(e)&&(e=(null==(n=this.auth.currentUser)?void 0:n.email)||"unknownuser"),TL(t)&&(t=this.auth.name)),"otpauth://totp/".concat(t,":").concat(e,"?secret=").concat(this.secretKey,"&issuer=").concat(t,"&algorithm=").concat(this.hashingAlgorithm,"&digits=").concat(this.codeLength)}}function TL(e){return void 0===e||0===(null==e?void 0:e.length)}var IL="@firebase/auth",AL="1.13.4";class PL{constructor(e){this.auth=e,this.internalListeners=new Map}getUid(){var e;return this.assertAuthConfigured(),(null==(e=this.auth.currentUser)?void 0:e.uid)||null}async getToken(e){if(this.assertAuthConfigured(),await this.auth._initializationPromise,!this.auth.currentUser)return null;return{accessToken:await this.auth.currentUser.getIdToken(e)}}addAuthTokenListener(e){if(this.assertAuthConfigured(),this.internalListeners.has(e))return;const t=this.auth.onIdTokenChanged(t=>{e((null==t?void 0:t.stsTokenManager.accessToken)||null)});this.internalListeners.set(e,t),this.updateProactiveRefresh()}removeAuthTokenListener(e){this.assertAuthConfigured();const t=this.internalListeners.get(e);t&&(this.internalListeners.delete(e),t(),this.updateProactiveRefresh())}assertAuthConfigured(){HI(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}const OL=VC("authIdTokenMaxAge")||300;let RL=null;function LL(e=vI()){const t=pI(e,"auth");if(t.isInitialized())return t.getImmediate();const n=hP(e,{popupRedirectResolver:wL,persistence:[mR,$O,QO]}),i=VC("authTokenSyncURL");if(i&&"boolean"==typeof isSecureContext&&isSecureContext){const e=new URL(i,location.origin);if(location.origin===e.origin){const t=(o=e.toString(),async e=>{const t=e&&await e.getIdTokenResult(),n=t&&((new Date).getTime()-Date.parse(t.issuedAtTime))/1e3;if(n&&n>OL)return;const i=null==t?void 0:t.token;RL!==i&&(RL=i,await fetch(o,{method:i?"POST":"DELETE",headers:i?{Authorization:"Bearer ".concat(i)}:{}}))});DO(n,t,()=>t(n.currentUser)),LO(n,e=>t(e))}}var o;const r=BC("auth");return r&&mP(n,"http://".concat(r)),n}var DL,NL;DL={loadJS:e=>new Promise((t,n)=>{const i=document.createElement("script");var o,r;i.setAttribute("src",e),i.onload=t,i.onerror=e=>{const t=BI("internal-error");t.customData=e,n(t)},i.type="text/javascript",i.charset="UTF-8",(null!=(r=null==(o=document.getElementsByTagName("head"))?void 0:o[0])?r:document).appendChild(i)}),gapiScript:"https://apis.google.com/js/api.js",recaptchaV2Script:"https://www.google.com/recaptcha/api.js",recaptchaEnterpriseScript:"https://www.google.com/recaptcha/enterprise.js?render="},QA=DL,NL="Browser",uI(new nT("auth",(e,{options:t})=>{const n=e.getProvider("app").getImmediate(),i=e.getProvider("heartbeat"),o=e.getProvider("app-check-internal"),{apiKey:r,authDomain:a}=n.options;HI(r&&!r.includes(":"),"invalid-api-key",{appName:n.name});const s={apiKey:r,authDomain:a,clientPlatform:NL,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:$A(NL)},l=new KA(n,i,o,s);return function(e,t){const n=(null==t?void 0:t.persistence)||[],i=(Array.isArray(n)?n:[n]).map(OA);(null==t?void 0:t.errorMap)&&e._updateErrorMap(t.errorMap),e._initializeWithPersistence(i,null==t?void 0:t.popupRedirectResolver)}(l,t),l},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((e,t,n)=>{e.getProvider("auth-internal").initialize()})),uI(new nT("auth-internal",e=>{const t=JA(e.getProvider("auth").getImmediate());return new PL(t)},"PRIVATE").setInstantiationMode("EXPLICIT")),wI(IL,AL,function(e){switch(e){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";case"WebExtension":return"web-extension";default:return}}(NL)),wI(IL,AL,"esm2020");const ML=Object.freeze(Object.defineProperty({__proto__:null,ActionCodeOperation:{EMAIL_SIGNIN:"EMAIL_SIGNIN",PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:"REVERT_SECOND_FACTOR_ADDITION",VERIFY_AND_CHANGE_EMAIL:"VERIFY_AND_CHANGE_EMAIL",VERIFY_EMAIL:"VERIFY_EMAIL"},ActionCodeURL:PP,AuthCredential:bP,AuthErrorCodes:{ADMIN_ONLY_OPERATION:"auth/admin-restricted-operation",ARGUMENT_ERROR:"auth/argument-error",APP_NOT_AUTHORIZED:"auth/app-not-authorized",APP_NOT_INSTALLED:"auth/app-not-installed",CAPTCHA_CHECK_FAILED:"auth/captcha-check-failed",CODE_EXPIRED:"auth/code-expired",CORDOVA_NOT_READY:"auth/cordova-not-ready",CORS_UNSUPPORTED:"auth/cors-unsupported",CREDENTIAL_ALREADY_IN_USE:"auth/credential-already-in-use",CREDENTIAL_MISMATCH:"auth/custom-token-mismatch",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"auth/requires-recent-login",DEPENDENT_SDK_INIT_BEFORE_AUTH:"auth/dependent-sdk-initialized-before-auth",DYNAMIC_LINK_NOT_ACTIVATED:"auth/dynamic-link-not-activated",EMAIL_CHANGE_NEEDS_VERIFICATION:"auth/email-change-needs-verification",EMAIL_EXISTS:"auth/email-already-in-use",EMULATOR_CONFIG_FAILED:"auth/emulator-config-failed",EXPIRED_OOB_CODE:"auth/expired-action-code",EXPIRED_POPUP_REQUEST:"auth/cancelled-popup-request",INTERNAL_ERROR:"auth/internal-error",INVA
2LID_API_KEY:"auth/invalid-api-key",INVALID_APP_CREDENTIAL:"auth/invalid-app-credential",INVALID_APP_ID:"auth/invalid-app-id",INVALID_AUTH:"auth/invalid-user-token",INVALID_AUTH_EVENT:"auth/invalid-auth-event",INVALID_CERT_HASH:"auth/invalid-cert-hash",INVALID_CODE:"auth/invalid-verification-code",INVALID_CONTINUE_URI:"auth/invalid-continue-uri",INVALID_CORDOVA_CONFIGURATION:"auth/invalid-cordova-configuration",INVALID_CUSTOM_TOKEN:"auth/invalid-custom-token",INVALID_DYNAMIC_LINK_DOMAIN:"auth/invalid-dynamic-link-domain",INVALID_EMAIL:"auth/invalid-email",INVALID_EMULATOR_SCHEME:"auth/invalid-emulator-scheme",INVALID_IDP_RESPONSE:"auth/invalid-credential",INVALID_LOGIN_CREDENTIALS:"auth/invalid-credential",INVALID_MESSAGE_PAYLOAD:"auth/invalid-message-payload",INVALID_MFA_SESSION:"auth/invalid-multi-factor-session",INVALID_OAUTH_CLIENT_ID:"auth/invalid-oauth-client-id",INVALID_OAUTH_PROVIDER:"auth/invalid-oauth-provider",INVALID_OOB_CODE:"auth/invalid-action-code",INVALID_ORIGIN:"auth/unauthorized-domain",INVALID_PASSWORD:"auth/wrong-password",INVALID_PERSISTENCE:"auth/invalid-persistence-type",INVALID_PHONE_NUMBER:"auth/invalid-phone-number",INVALID_PROVIDER_ID:"auth/invalid-provider-id",INVALID_RECIPIENT_EMAIL:"auth/invalid-recipient-email",INVALID_SENDER:"auth/invalid-sender",INVALID_SESSION_INFO:"auth/invalid-verification-id",INVALID_TENANT_ID:"auth/invalid-tenant-id",MFA_INFO_NOT_FOUND:"auth/multi-factor-info-not-found",MFA_REQUIRED:"auth/multi-factor-auth-required",MISSING_ANDROID_PACKAGE_NAME:"auth/missing-android-pkg-name",MISSING_APP_CREDENTIAL:"auth/missing-app-credential",MISSING_AUTH_DOMAIN:"auth/auth-domain-config-required",MISSING_CODE:"auth/missing-verification-code",MISSING_CONTINUE_URI:"auth/missing-continue-uri",MISSING_IFRAME_START:"auth/missing-iframe-start",MISSING_IOS_BUNDLE_ID:"auth/missing-ios-bundle-id",MISSING_OR_INVALID_
2NONCE:"auth/missing-or-invalid-nonce",MISSING_MFA_INFO:"auth/missing-multi-factor-info",MISSING_MFA_SESSION:"auth/missing-multi-factor-session",MISSING_PHONE_NUMBER:"auth/missing-phone-number",MISSING_PASSWORD:"auth/missing-password",MISSING_SESSION_INFO:"auth/missing-verification-id",MODULE_DESTROYED:"auth/app-deleted",NEED_CONFIRMATION:"auth/account-exists-with-different-credential",NETWORK_REQUEST_FAILED:"auth/network-request-failed",NULL_USER:"auth/null-user",NO_AUTH_EVENT:"auth/no-auth-event",NO_SUCH_PROVIDER:"auth/no-such-provider",OPERATION_NOT_ALLOWED:"auth/operation-not-allowed",OPERATION_NOT_SUPPORTED:"auth/operation-not-supported-in-this-environment",POPUP_BLOCKED:"auth/popup-blocked",POPUP_CLOSED_BY_USER:"auth/popup-closed-by-user",PROVIDER_ALREADY_LINKED:"auth/provider-already-linked",QUOTA_EXCEEDED:"auth/quota-exceeded",REDIRECT_CANCELLED_BY_USER:"auth/redirect-cancelled-by-user",REDIRECT_OPERATION_PENDING:"auth/redirect-operation-pending",REJECTED_CREDENTIAL:"auth/rejected-credential",SECOND_FACTOR_ALREADY_ENROLLED:"auth/second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"auth/maximum-second-factor-count-exceeded",TENANT_ID_MISMATCH:"auth/tenant-id-mismatch",TIMEOUT:"auth/timeout",TOKEN_EXPIRED:"auth/user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"auth/too-many-requests",UNAUTHORIZED_DOMAIN:"auth/unauthorized-continue-uri",UNSUPPORTED_FIRST_FACTOR:"auth/unsupported-first-factor",UNSUPPORTED_PERSISTENCE:"auth/unsupported-persistence-type",UNSUPPORTED_TENANT_OPERATION:"auth/unsupported-tenant-operation",UNVERIFIED_EMAIL:"auth/unverified-email",USER_CANCELLED:"auth/user-cancelled",USER_DELETED:"auth/user-not-found",USER_DISABLED:"auth/user-disabled",USER_MISMATCH:"auth/user-mismatch",USER_SIGNED_OUT:"auth/user-signed-out",WEAK_PASSWORD:"auth/weak-password",WEB_STORAGE_UNSUPPORTED:"auth/web-storage-unsupported",ALREADY_INITIALIZED:"auth/already-initialized",RECAPTCHA_NOT_ENABLED:"auth/recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"auth/missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"auth/invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"auth/invalid-recaptcha-action",MISSING_CLIENT_TYPE:"auth/missing-client-type",MISSING_RECAPTCHA_VERSION:"auth/missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"auth/invalid-recaptcha-version",INVALID_REQ_TYPE:"auth/invalid-req-type",INVALID_HOSTING_LINK_DOMAIN:"auth/invalid-hosting-link-domain"},EmailAuthCredential:EP,EmailAuthProvider:OP,FacebookAuthProvider:NP,FactorId:{PHONE:"phone",TOTP:"totp"},GithubAuthProvider:zP,GoogleAuthProvider:MP,OAuthCredential:CP,OAuthProvider:DP,OperationType:{LINK:"link",REAUTHENTICATE:"reauthenticate",SIGN_IN:"signIn"},PhoneAuthCredential:AP,PhoneAuthProvider:IR,PhoneMultiFactorGenerator:_L,ProviderId:{FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PASSWORD:"password",PHONE:"phone",TWITTER:"twitter.com"},RecaptchaVerifier:kR,SAMLAuthProvider:BP,SignInMethod:{EMAIL_LINK:"emailLink",EMAIL_PASSWORD:"password",FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PHONE:"phone",TWITTER:"twitter.com"},TotpMultiFactorGenerator:EL,TotpSecret:CL,TwitterAuthProvider:FP,applyActionCode:dO,beforeAuthStateChanged:DO,browserCookiePersistence:JO,browserLocalPersistence:$O,browserPopupRedirectResolver:wL,browserSessionPersistence:QO,checkActionCode:uO,confirmPasswordReset:cO,connectAuthEmulator:mP,createUserWithEmailAndPassword:hO,debugErrorMap:RI,deleteUser:jO,fetchSignInMethodsForEmail:vO,getAdditionalUserInfo:OO,getAuth:LL,getIdToken:function(e,t=!1){return QC(e).getIdToken(t)},getIdTokenResult:bA,getMultiFactorResolver:function(e,t){var n;const i=QC(e),o=t;return HI(t.customData.operationType,i,"argument-error"),HI(null==(n=o.customData._serverResponse)?void 0:n.mfaPendingCredential,i,"argument-error"),FO._fromError(i,o)},getRedirectResult:$R,inMemoryPersistence:LA,indexedDBLocalPersistence:mR,initializeAuth:hP,initializeRecaptchaConfig:function(e){return pP(e)},isSignInWithEmailLink:gO,linkWithCredential:eO,linkWithPhoneNumber:SR,linkWithPopup:zR,linkWithRedirect:GR,multiFactor:function(e){const t=QC(e);return qO.has(t)||qO.set(t,UO._fromUser(t)),qO.get(t)},onAuthStateChanged:NO,onIdTokenChanged:LO,parseActionCodeURL:function(e){return PP.parseLink(e)},prodErrorMap:LI,reauthenticateWithCredential:tO,reauthenticateWithPhoneNumber:async function(e,t,n){const i=QC(e);if(hI(i.auth.app))return Promise.reject(VI(i.auth));
2const o=await CR(i.auth,t,QC(n));return new _R(o,e=>tO(i,e))},reauthenticateWithPopup:async function(e,t,n){const i=QC(e);if(hI(i.auth.app))return Promise.reject(BI(i.auth,"operation-not-supported-in-this-environment"));UI(i.auth,t,RP);const o=AR(i.auth,n);return new jR(i.auth,"reauthViaPopup",t,o,i).executeNotNull()},reauthenticateWithRedirect:function(e,t,n){return async function(e,t,n){const i=QC(e);if(UI(i.auth,t,RP),hI(i.auth.app))return Promise.reject(VI(i.auth));await i.auth._initializationPromise;const o=AR(i.auth,n);await VR(o,i.auth);const r=await XR(i);return o._openRedirect(i.auth,t,"reauthViaRedirect",r)}(e,t,n)},reload:SA,revokeAccessToken:zO,sendEmailVerification:yO,sendPasswordResetEmail:lO,sendSignInLinkToEmail:fO,setPersistence:RO,signInAnonymously:HP,signInWithCredential:QP,signInWithCustomToken:nO,signInWithEmailAndPassword:mO,signInWithEmailLink:bO,signInWithPhoneNumber:ER,signInWithPopup:MR,signInWithRedirect:WR,signOut:MO,unlink:YP,updateCurrentUser:function(e,t){return QC(e).updateCurrentUser(t)},updateEmail:kO,updatePassword:_O,updatePhoneNumber:async function(e,t){const n=QC(e);if(hI(n.auth.app))return Promise.reject(VI(n.auth));await XP(n,t)},updateProfile:xO,useDeviceLanguage:function(e){QC(e).useDeviceLanguage()},validatePassword:async function(e,t){return JA(e).validatePassword(t)},verifyBeforeUpdateEmail:wO,verifyPasswordResetCode:pO},Symbol.toStringTag,{value:"Module"}));const zL={error:(...e)=>{},warn:(...e)=>{}},jL={maxRetries:3,retryDelay:1e3,timeout:1e4};let BL=null,FL=0,VL=null,UL=null,qL=null,HL=null,WL=null;const GL=3e5;let $L="undefined"==typeof navigator||navigator.onLine;function YL(e){try{const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map(e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""));return JSON.parse(n)}catch(t){return zL.error("Failed to parse JWT, using default 55-minute expiry:",t),{exp:Math.floor((Date.now()+33e5)/1e3)}}}function XL(){try{const e=LL().currentUser;if(e)return{uid:e.uid,getIdToken:t=>e.getIdToken(t)}}catch(e){zL.warn("[auth-token] Firebase JS auth unavailable while resolving token user:",e)}return null}"undefined"!=typeof window&&(window.addEventListener("online",()=>{$L=!0}),window.addEventListener("offline",()=>{$L=!1}));async function KL(){const e=XL();if(e)return e;let t;try{const e=LL();await Promise.race([e.authStateReady(),new Promise(e=>t=setTimeout(e,3e3))])}catch(n){zL.warn("[auth-token] Error while awaiting Firebase auth hydration:",n)}finally{void 0!==t&&clearTimeout(t)}return XL()}async function JL(e={}){if("undefined"!=typeof window&&window.Cypress)return"cypress-e2e-token";const t={...jL,...e},n=await KL();if(!n)return BL=null,FL=0,VL=null,UL=null,qL=null,null;const i=n.uid,r=Date.now();if(VL&&VL!==i&&(BL=null,FL=0,VL=null),BL&&VL===i&&FL>r+GL){const e=Math.floor((FL-r)/1e3);Math.floor(e/60);return BL}if(BL&&VL===i&&FL<=r+GL){const e=Math.floor((FL-r)/1e3);Math.floor(e/60)}if(UL&&qL===i)return UL;let a=null;return a=(async()=>{try{return await async function(e,t){const n=XL();if(!n)return BL=null,FL=0,VL=null,null;const i=n.uid;let r=null;for(let o=0;o<=e.maxRetries;o++)try{const o=Boolean(BL&&VL===i&&FL<=t+GL);let r,a;try{a=await Promise.race([n.getIdToken(o),new Promise((t,n)=>{r=setTimeout(()=>n(new Error("Token request timeout")),e.timeout)})])}finally{void 0!==r&&clearTimeout(r)}if(!a)throw new Error("No auth token returned");const s=YL(a);FL=1e3*s.exp,BL=a,VL=i;const l=Math.floor((FL-Date.now())/1e3);Math.floor(l/60);return a}catch(a){r=a;if("auth/user-token-expired"===a.code||"auth/user-disabled"===a.code||"auth/user-not-found"===a.code||"auth/invalid-user-token"===a.code)throw zL.error("â Genuine auth error, not retrying:",a.code),BL=null,FL=0,VL=null,await ZL(a),a;if(o===e.maxRetries){zL.error("â Max retries reached for auth token");break}const t=e.retryDelay*Math.pow(2,o);await QL(t)}return BL=null,FL=0,VL=null,await async function(){try{const{useToast:e}=await o(async()=>{const{useToast:e}=await Promise.resolve().then(()=>i1);return{useToast:e}},void 0),{showToast:t}=e();await t("Network error. Some features may not work.","danger")}catch(e){zL.error("Failed to show network error notification:",e)}}(),null}(t,r)}finally{UL===a&&(UL=null,qL=null)}})(),UL=a,qL=i,UL}async function ZL(e){try{const{useToast:t}=await o(async()=>{const{useToast:e}=await Promise.resolve().then(()=>i1);return{useToast:e}},void 0),{showToast:n}=t();let i="Session expired. Please sign in again.";"auth/user-disabled"===e.code?i="Your account has been disabled. Please contact support.":"auth/user-not-found"===e.code&&(i="Account not found. Please sign in again."),await n(i,"danger"),setTimeout(async()=>{(await o(()=>Promise.resolve().then(()=>e6),void 0)).default.push({path:"/signin",query:{expired:"true"}})},2e3)}catch(t){zL.error("Failed to show auth error notification:",t)}}function QL(e){return new Promise(t=>setTimeout(t,e))}async function eD(){const e=await KL();if(!e)return BL=null,FL=0,VL=null,null;if(HL&&WL===e.uid)return HL;let t=null;return t=(async()=>{var n;try{const t=await e.getIdToken(!0);if(!t)return null;if((null==(n=XL())?void 0:n.uid)!==e.uid)return null;const i=YL(t);FL=1e3*i.exp,BL=t,VL=e.uid;Math.floor((FL-Date.now())/1e3/60);return t}catch(i){return zL.error("Failed to force refresh token:",i),BL=null,FL=0,VL=null,null}finally{HL===t&&(HL=null,WL=null)}})(),HL=t,WL=e.uid,HL}function tD(){BL=null,FL=0,VL=null,UL=null,qL=null,HL=null,WL=null}const nD=Object.freeze(Object.defineProperty({__proto__:null,clearTokenCache:tD,forceRefreshAuthToken:eD,getResilientAuthToken:JL,getTokenExpiry:function(){return FL},isNetworkOnline:function(){return $L},needsRefresh:function(){if(!BL||!FL)return!1;const e=Date.now();return FL<=e+GL}},Symbol.toStringTag,{value:"Module"})),iD=ss("Badge",{web:()=>o(()=>import("./web-jt2qYTHR.js"),[]).then(e=>new e.BadgeWeb)}),oD=async e=>"undefined"!=typeof navigator&&"function"==typeof navigator.setAppBadge&&"function"==typeof navigator.clearAppBadge&&(e>0?await navigator.setAppBadge(e):await navigator.clearAppBadge(),!0);let rD=null;const aD=async e=>{const t=Math.max(0,Math.trunc(Number(e)||0));try{if(await(async()=>!!as.isNativePlatform()&&(rD||(rD=iD.isSupported().then(e=>Boolean(null==e?void 0:e.isSupported)).catch(e=>(zL.warn("[badge] Failed to detect native badge support:",e),!1))),rD))())return void(await iD.set({count:t}));await oD(t)}catch(n){zL.warn("[badge] Failed to sync app badge count:",n)}},sD=Object.freeze(Object.defineProperty({__proto__:null,clearAppBadge:async()=>{await aD(0)},syncAppBadgeCount:aD},Symbol.toStringTag,{value:"Module"})),lD=Object.create(null);lD.open="0",lD.close="1",lD.ping="2",lD.pong="3",lD.message="4",lD.upgrade="5",lD.noop="6";
vendor: 4,811 bytes, line 2
2const cD=Object.create(null);Object.keys(lD).forEach(e=>{cD[lD[e]]=e});const dD={type:"error",data:"parser error"},uD="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),pD="function"==typeof ArrayBuffer,hD=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,mD=({type:e,data:t},n,i)=>uD&&t instanceof Blob?n?i(t):fD(t,i):pD&&(t instanceof ArrayBuffer||hD(t))?n?i(t):fD(new Blob([t]),i):i(lD[e]+(t||"")),fD=(e,t)=>{const n=new FileReader;return n.onload=function(){const e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function gD(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let bD;const vD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",yD="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let G9=0;G9<64;G9++)yD[vD.charCodeAt(G9)]=G9;const wD="function"==typeof ArrayBuffer,xD=(e,t)=>{if("string"!=typeof e)return{type:"message",data:_D(e,t)};const n=e.charAt(0);if("b"===n)return{type:"message",data:kD(e.substring(1),t)};return cD[n]?e.length>1?{type:cD[n],data:e.substring(1)}:{type:cD[n]}:dD},kD=(e,t)=>{if(wD){const n=(e=>{let t,n,i,o,r,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);const c=new ArrayBuffer(a),d=new Uint8Array(c);for(t=0;t<s;t+=4)n=yD[e.charCodeAt(t)],i=yD[e.charCodeAt(t+1)],o=yD[e.charCodeAt(t+2)],r=yD[e.charCodeAt(t+3)],d[l++]=n<<2|i>>4,d[l++]=(15&i)<<4|o>>2,d[l++]=(3&o)<<6|63&r;return c})(e);return _D(n,t)}return{base64:!0,data:e}},_D=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,ED=String.fromCharCode(30);function SD(){return new TransformStream({transform(e,t){!function(e,t){uD&&e.data instanceof Blob?e.data.arrayBuffer().then(gD).then(t):pD&&(e.data instanceof ArrayBuffer||hD(e.data))?t(gD(e.data)):mD(e,!1,e=>{bD||(bD=new TextEncoder),t(bD.encode(e))})}(e,n=>{const i=n.length;let o;if(i<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,i);else if(i<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,i)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(n)})}})}let CD;function TD(e){return e.reduce((e,t)=>e+t.length,0)}function ID(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let i=0;for(let o=0;o<t;o++)n[o]=e[0][i++],i===e[0].length&&(e.shift(),i=0);return e.length&&i<e[0].length&&(e[0]=e[0].slice(i)),n}function AD(e){if(e)return function(e){for(var t in AD.prototype)e[t]=AD.prototype[t];return e}(e)}AD.prototype.on=AD.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},AD.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},AD.prototype.off=AD.prototype.removeListener=AD.prototype.removeAllListeners=AD.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,i=this._callbacks["$"+e];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<i.length;o++)if((n=i[o])===t||n.fn===t){i.splice(o,1);break}return 0===i.length&&delete this._callbacks["$"+e],this},AD.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],i=1;i<arguments.length;i++)t[i-1]=arguments[i];if(n){i=0;for(var o=(n=n.slice(0)).length;i<o;++i)n[i].apply(this,t)}return this},AD.prototype.emitReserved=AD.prototype.emit,AD.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},AD.prototype.hasListeners=function(e){return!!this.listeners(e).length};const PD="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),OD="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function RD(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}const LD=OD.setTimeout,DD=OD.clearTimeout;function ND(e,t){t.useNativeTimers?(e.setTimeoutFn=LD.bind(OD),e.clearTimeoutFn=DD.bind(OD)):(e.setTimeoutFn=OD.setTimeout.bind(OD),e.clearTimeoutFn=OD.clearTimeout.bind(OD))}function MD(e){return"string"==typeof e?function(e){let t=0,n=0;for(let i=0,o=e.length;i<o;i++)t=e.charCodeAt(i),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(i++,n+=4);return n}(e):Math.ceil(1.33*(e.byteLength||e.size))}function zD(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}
vendor: 6,472 bytes, line 2
2class jD extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class BD extends AD{constructor(e){super(),this.writable=!1,ND(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new jD(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=xD(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}class FD extends BD{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(ED),i=[];for(let o=0;o<n.length;o++){const e=xD(n[o],t);if(i.push(e),"error"===e.type)break}return i})(e,this.socket.binaryType).forEach(e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,i=new Array(n);let o=0;e.forEach((e,r)=>{mD(e,!1,e=>{i[r]=e,++o===n&&t(i.join(ED))})})})(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=zD()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let VD=!1;try{VD="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(H9){}const UD=VD;function qD(){}class HD extends FD{constructor(e){if(super(e),"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}let WD=class e extends AD{constructor(e,t,n){super(),this.createRequest=e,ND(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var t;const n=RD(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const i=this._xhr=this.createRequest(n);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let e in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&i.setRequestHeader(e,this._opts.extraHeaders[e])}}catch(T8){}if("POST"===this._method)try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(T8){}try{i.setRequestHeader("Accept","*/*")}catch(T8){}null===(t=this._opts.cookieJar)||void 0===t||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var e;3===i.readyState&&(null===(e=this._opts.cookieJar)||void 0===e||e.parseCookies(i.getResponseHeader("set-cookie"))),4===i.readyState&&(200===i.status||1223===i.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof i.status?i.status:0)},0))},i.send(this._data)}catch(T8){return void this.setTimeoutFn(()=>{this._onError(T8)},0)}"undefined"!=typeof document&&(this._index=e.requestsCount++,e.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=qD,t)try{this._xhr.abort()}catch(T8){}"undefined"!=typeof document&&delete e.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};if(WD.requestsCount=0,WD.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",GD);else if("function"==typeof addEventListener){addEventListener("onpagehide"in OD?"pagehide":"unload",GD,!1)}function GD(){for(let e in WD.requests)WD.requests.hasOwnProperty(e)&&WD.requests[e].abort()}const $D=function(){const e=YD({xdomain:!1});return e&&null!==e.responseType}();function YD(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||UD))return new XMLHttpRequest}catch(T8){}if(!t)try{return new(OD[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(T8){}}const XD="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class KD extends BD{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,n=XD?{}:RD(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(H9){return this.emitReserved("error",H9)}
vendor: 11,312 bytes, line 2
2this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;mD(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(T8){}i&&PD(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=zD()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const JD=OD.WebSocket||OD.MozWebSocket;const ZD={websocket:class extends KD{createSocket(e,t,n){return XD?new JD(e,t,n):t?new JD(e,t):new JD(e)}doWrite(e,t){this.ws.send(t)}},webtransport:class extends BD{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(H9){return this.emitReserved("error",H9)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=function(e,t){CD||(CD=new TextDecoder);const n=[];let i=0,o=-1,r=!1;return new TransformStream({transform(a,s){for(n.push(a);;){if(0===i){if(TD(n)<1)break;const e=ID(n,1);r=!(128&~e[0]),o=127&e[0],i=o<126?3:126===o?1:2}else if(1===i){if(TD(n)<2)break;const e=ID(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),i=3}else if(2===i){if(TD(n)<8)break;const e=ID(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),r=t.getUint32(0);if(r>Math.pow(2,21)-1){s.enqueue(dD);break}o=r*Math.pow(2,32)+t.getUint32(4),i=3}else{if(TD(n)<o)break;const e=ID(n,o);s.enqueue(xD(r?e:CD.decode(e),t)),i=0}if(0===o||o>e){s.enqueue(dD);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),i=SD();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();const o=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),o())}).catch(e=>{})};o();const r={type:"open"};this.query.sid&&(r.data='{"sid":"'.concat(this.query.sid,'"}')),this._writer.write(r).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],i=t===e.length-1;this._writer.write(n).then(()=>{i&&PD(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null===(e=this._transport)||void 0===e||e.close()}},polling:class extends HD{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=$D&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new WD(YD,this.uri(),e)}}},QD=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,eN=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function tN(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),i=e.indexOf("]");-1!=n&&-1!=i&&(e=e.substring(0,n)+e.substring(n,i).replace(/:/g,";")+e.substring(i,e.length));let o=QD.exec(e||""),r={},a=14;for(;a--;)r[eN[a]]=o[a]||"";return-1!=n&&-1!=i&&(r.source=t,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=function(e,t){const n=/\/{2,9}/g,i=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||i.splice(0,1);"/"==t.slice(-1)&&i.splice(i.length-1,1);return i}(0,r.path),r.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,i){t&&(n[t]=i)}),n}(0,r.query),r}const nN="function"==typeof addEventListener&&"function"==typeof removeEventListener,iN=[];nN&&addEventListener("offline",()=>{iN.forEach(e=>e())},!1);class oN extends AD{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){const n=tN(e);t.hostname=n.host,t.secure="https"===n.protocol||"wss"===n.protocol,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=tN(t.host).host);ND(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{const t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let i=0,o=n.length;i<o;i++){let e=n[i].split("=");t[decodeURIComponent(e[0])]=decodeURIComponent(e[1])}return t}(this.opts.query)),nN&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},iN.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);const e=this.opts.rememberUpgrade&&oN.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",oN.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){const n=this.writeBuffer[t].data;if(n&&(e+=MD(n)),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,PD(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,i){if("function"==typeof t&&(i=t,t=void 0),"function"==typeof n&&(i=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const o={type:e,data:t,options:n};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(oN.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),nN&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const e=iN.indexOf(this._offlineEventListener);-1!==e&&iN.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}oN.protocol=4;class rN extends oN{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;oN.priorWebsocketSuccess=!1;const i=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;oN.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{n||"closed"!==this.readyState&&(c(),this.setTransport(t),t.send([{type:"upgrade"}
vendor: 13,388 bytes, line 2
2]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function o(){n||(n=!0,c(),t.close(),t=null)}const r=e=>{const n=new Error("probe error: "+e);n.transport=t.name,o(),this.emitReserved("upgradeError",n)};function a(){r("transport closed")}function s(){r("socket closed")}function l(e){t&&e.name!==t.name&&o()}const c=()=>{t.removeListener("open",i),t.removeListener("error",r),t.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};t.once("open",i),t.once("error",r),t.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}let aN=class extends rN{constructor(e,t={}){const n="object"==typeof e,i=n?{...e}:{...t};(!i.transports||i.transports&&"string"==typeof i.transports[0])&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(e=>ZD[e]).filter(e=>!!e)),super(n?i:e,i)}};const sN="function"==typeof ArrayBuffer,lN=Object.prototype.toString,cN="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===lN.call(Blob),dN="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===lN.call(File);function uN(e){return sN&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||cN&&e instanceof Blob||dN&&e instanceof File}function pN(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(pN(e[t]))return!0;return!1}if(uN(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return pN(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&pN(e[n]))return!0;return!1}function hN(e){const t=[],n=e.data,i=e;return i.data=mN(n,t),i.attachments=t.length,{packet:i,buffers:t}}function mN(e,t,n){if(!e)return e;if(uN(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let i=0;i<e.length;i++)n[i]=mN(e[i],t);return n}if("object"==typeof e&&!(e instanceof Date)){if(e.toJSON&&"function"==typeof e.toJSON&&!n)return mN(e.toJSON(),t,!0);const i={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=mN(e[n],t));return i}return e}function fN(e,t){return e.data=gN(e.data,t),delete e.attachments,e}function gN(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=gN(e[n],t);else if("object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=gN(e[n],t));return e}const bN=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var vN,yN;(yN=vN||(vN={}))[yN.CONNECT=0]="CONNECT",yN[yN.DISCONNECT=1]="DISCONNECT",yN[yN.EVENT=2]="EVENT",yN[yN.ACK=3]="ACK",yN[yN.CONNECT_ERROR=4]="CONNECT_ERROR",yN[yN.BINARY_EVENT=5]="BINARY_EVENT",yN[yN.BINARY_ACK=6]="BINARY_ACK";class wN extends AD{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof e?{reviver:e}:e)}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===vN.BINARY_EVENT;n||t.type===vN.BINARY_ACK?(t.type=n?vN.EVENT:vN.ACK,this.reconstructor=new xN(t)):super.emitReserved("decoded",t)}else{if(!uN(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===vN[n.type])throw new Error("unknown packet type "+n.type);if(n.type===vN.BINARY_EVENT||n.type===vN.BINARY_ACK){const i=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const o=e.substring(i,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");const r=Number(o);if(!kN(r)||r<1)throw new Error("Illegal attachments");if(r>this.opts.maxAttachments)throw new Error("too many attachments");n.attachments=r}if("/"===e.charAt(t+1)){const i=t+1;for(;++t;){if(","===e.charAt(t))break;if(t===e.length)break}n.nsp=e.substring(i,t)}else n.nsp="/";const i=e.charAt(t+1);if(""!==i&&Number(i)==i){const i=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(i,t+1))}if(e.charAt(++t)){const i=this.tryParse(e.substr(t));if(!wN.isPayloadValid(n.type,i))throw new Error("invalid payload");n.data=i}return n}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch(T8){return!1}}static isPayloadValid(e,t){switch(e){case vN.CONNECT:return _N(t);case vN.DISCONNECT:return void 0===t;case vN.CONNECT_ERROR:return"string"==typeof t||_N(t);case vN.EVENT:case vN.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===bN.indexOf(t[0]));case vN.ACK:case vN.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class xN{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=fN(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const kN=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function _N(e){return"[object Object]"===Object.prototype.toString.call(e)}const EN=Object.freeze(Object.defineProperty({__proto__:null,Decoder:wN,Encoder:class{constructor(e){this.replacer=e}encode(e){return e.type!==vN.EVENT&&e.type!==vN.ACK||!pN(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===vN.EVENT?vN.BINARY_EVENT:vN.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==vN.BINARY_EVENT&&e.type!==vN.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=hN(e),n=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(n),i}},get PacketType(){return vN}},Symbol.toStringTag,{value:"Module"}));function SN(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const CN=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class TN extends AD{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[SN(e,"open",this.onopen.bind(this)),SN(e,"packet",this.onpacket.bind(this)),SN(e,"error",this.onerror.bind(this)),SN(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,i,o;if(CN.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const r={type:vN.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++,n=t.pop();this._registerAckCallback(e,n),r.id=e}const a=null===(i=null===(n=this.io.engine)||void 0===n?void 0:n.transport)||void 0===i?void 0:i.writable,s=this.connected&&!(null===(o=this.io.engine)||void 0===o?void 0:o._hasPingExpired());return this.flags.volatile&&!a||(s?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(e,t){var n;const i=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===i)return void(this.acks[e]=t);const o=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))},i),r=(...e)=>{this.io.clearTimeoutFn(o),t.apply(this,e)};r.withError=!0,this.acks[e]=r}emitWithAck(e,...t){return new Promise((n,i)=>{const o=(e,t)=>e?i(e):n(t);o.withError=!0,t.push(o),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...i)=>{this._queue[0];return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...i)),n.pending=!1,this._drainQueue()}),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:vN.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case vN.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case vN.EVENT:case vN.BINARY_EVENT:this.onevent(e);break;case vN.ACK:case vN.BINARY_ACK:this.onack(e);break;case vN.DISCONNECT:this.ondisconnect();break;case vN.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...i){n||(n=!0,t.packet({type:vN.ACK,id:e,data:i}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:vN.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function IN(e){e=e||{}
vendor: 5,303 bytes, line 2
2,this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}IN.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},IN.prototype.reset=function(){this.attempts=0},IN.prototype.setMin=function(e){this.ms=e},IN.prototype.setMax=function(e){this.max=e},IN.prototype.setJitter=function(e){this.jitter=e};class AN extends AD{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,ND(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new IN({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const i=t.parser||EN;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new aN(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=SN(t,"open",function(){n.onopen(),e&&e()}),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},r=SN(t,"error",o);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(i),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(SN(e,"ping",this.onping.bind(this)),SN(e,"data",this.ondata.bind(this)),SN(e,"error",this.onerror.bind(this)),SN(e,"close",this.onclose.bind(this)),SN(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(T8){this.onclose("parse error",T8)}}ondecoded(e){PD(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new TN(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const n of t){if(this.nsps[n].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),null===(n=this.engine)||void 0===n||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const PN={};function ON(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let i=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),i=tN(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";const o=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;
2return i.id=i.protocol+"://"+o+":"+i.port+t,i.href=i.protocol+"://"+o+(n&&n.port===i.port?"":":"+i.port),i}(e,(t=t||{}).path||"/socket.io"),i=n.source,o=n.id,r=n.path,a=PN[o]&&r in PN[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||a?s=new AN(i,t):(PN[o]||(PN[o]=new AN(i,t)),s=PN[o]),n.query&&!t.query&&(t.query=n.queryKey),s.socket(n.path,t)}Object.assign(ON,{Manager:AN,Socket:TN,io:ON,connect:ON});const RN=class e{constructor(){t(this,"socket",null),t(this,"messageCallbacks",new Set),t(this,"typingCallbacks",new Set),t(this,"unreadCallbacks",new Set),t(this,"notificationCallbacks",new Set),t(this,"dataChangedCallbacks",new Set),t(this,"pleaSendProgressCallbacks",new Set),t(this,"pleaSendCompleteCallbacks",new Set),t(this,"agentProgressCallbacks",new Set),t(this,"messageRemovedCallbacks",new Set),t(this,"userBlockedCallbacks",new Set),t(this,"userUnblockedCallbacks",new Set),t(this,"orgPlanChangedCallbacks",new Set),t(this,"orgIdentityChangedCallbacks",new Set),t(this,"connectCallbacks",new Set),t(this,"joinedRooms",new Set),t(this,"joinedOrgRooms",new Set),t(this,"typingDebounce",new Map),t(this,"isConnected",Ct(!1))}async connect(){var e;if(null==(e=this.socket)?void 0:e.connected)return;if(this.socket&&!this.socket.disconnected)return;this.socket&&(this.socket.removeAllListeners(),this.socket.disconnect(),this.socket=null);const t=await JL();t&&(this.socket=ON(PC.apiBaseUrl,{auth:{token:t},transports:["websocket","polling"],reconnection:!0,reconnectionDelay:1e3,reconnectionDelayMax:1e4,reconnectionAttempts:1/0}),this.socket.on("connect",()=>{this.isConnected.value=!0,this.joinedRooms.forEach(e=>{var t;null==(t=this.socket)||t.emit("chat:join",e)}),this.joinedOrgRooms.forEach(e=>{var t;null==(t=this.socket)||t.emit("org:join",e)}),this.connectCallbacks.forEach(e=>{try{e()}catch(T8){zL.error("connect callback error",T8)}})}),this.socket.on("disconnect",e=>{this.isConnected.value=!1}),this.socket.io.on("reconnect_attempt",async()=>{try{const e=await JL();e&&this.socket&&(this.socket.auth={token:e})}catch(H9){zL.error("Failed to refresh token for socket reconnect:",H9)}}),this.socket.on("connect_error",e=>{zL.error("Socket connect_error:",e.message),this.isConnected.value=!1}),this.socket.on("chat:message",e=>{this.messageCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("message callback error",T8)}})}),this.socket.on("chat:typing",e=>{this.typingCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("typing callback error",T8)}})}),this.socket.on("chat:unread",e=>{this.unreadCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("unread callback error",T8)}})}),this.socket.on("notification:new",e=>{this.notificationCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("notification callback error",T8)}})}),this.socket.on("org:data-changed",e=>{this.dataChangedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("org:data-changed callback error",T8)}})}),this.socket.on("plea:send-progress",e=>{this.pleaSendProgressCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("plea:send-progress callback error",T8)}})}),this.socket.on("chat:agent-progress",e=>{this.agentProgressCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("chat:agent-progress callback error",T8)}})}),this.socket.on("plea:send-complete",e=>{this.pleaSendCompleteCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("plea:send-complete callback error",T8)}})}),this.socket.on("chat:message-removed",e=>{this.messageRemovedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("message-removed callback error",T8)}})}),this.socket.on("user:blocked",e=>{this.userBlockedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("user:blocked callback error",T8)}})}),this.socket.on("user:unblocked",e=>{this.userUnblockedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("user:unblocked callback error",T8)}})}),this.socket.on("org:plan-changed",e=>{this.orgPlanChangedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("org:plan-changed callback error",T8)}})}),this.socket.on("org:identity-changed",e=>{this.orgIdentityChangedCallbacks.forEach(t=>{try{t(e)}catch(T8){zL.error("org:identity-changed callback error",T8)}})}))}disconnect(){this.socket&&(this.socket.removeAllListeners(),this.socket.disconnect(),this.socket=null),this.isConnected.value=!1,this.joinedRooms.clear(),this.joinedOrgRooms.clear(),this.messageCallbacks.clear(),this.typingCallbacks.clear(),this.unreadCallbacks.clear(),this.notificationCallbacks.clear(),this.dataChangedCallbacks.clear(),this.pleaSendProgressCallbacks.clear(),this.pleaSendCompleteCallbacks.clear(),this.messageRemovedCallbacks.clear(),this.userBlockedCallbacks.clear(),this.userUnblockedCallbacks.clear(),this.typingDebounce.clear()}joinChat(e){var t;this.joinedRooms.add(e),(null==(t=this.socket)?void 0:t.connected)&&this.socket.emit("chat:join",e)}leaveChat(e){var t;this.joinedRooms.delete(e),(null==(t=this.socket)?void 0:t.connected)&&this.socket.emit("chat:leave",e)}joinOrganization(e){var t;const n=String(e);this.joinedOrgRooms.add(n),(null==(t=this.socket)?void 0:t.connected)&&this.socket.emit("org:join",n)}leaveOrganization(e){var t;const n=String(e);this.joinedOrgRooms.delete(n),(null==(t=this.socket)?void 0:t.connected)&&this.socket.emit("org:leave",n)}onMessage(e){return this.messageCallbacks.add(e),()=>{this.messageCallbacks.delete(e)}}onTyping(e){return this.typingCallbacks.add(e),()=>{this.typingCallbacks.delete(e)}}onUnread(e){return this.unreadCallbacks.add(e),()=>{this.unreadCallbacks.delete(e)}}onNotification(e){return this.notificationCallbacks.add(e),()=>{this.notificationCallbacks.delete(e)}}onDataChanged(e){return this.dataChangedCallbacks.add(e),()=>{this.dataChangedCallbacks.delete(e)}}onPleaSendProgress(e){return this.pleaSendProgressCallbacks.add(e),()=>{this.pleaSendProgressCallbacks.delete(e)}}onAgentProgress(e){return this.agentProgressCallbacks.add(e),()=>{this.agentProgressCallbacks.delete(e)}}onPleaSendComplete(e){return this.pleaSendCompleteCallbacks.add(e),()=>{this.pleaSendCompleteCallbacks.delete(e)}}onMessageRemoved(e){return this.messageRemovedCallbacks.add(e),()=>{this.messageRemovedCallbacks.delete(e)}}onUserBlocked(e){return this.userBlockedCallbacks.add(e),()=>{this.userBlockedCallbacks.delete(e)}}onUserUnblocked(e){return this.userUnblockedCallbacks.add(e),()=>{this.userUnblockedCallbacks.delete(e)}}onOrganizationPlanChanged(e){return this.orgPlanChangedCallbacks.add(e),()=>{this.orgPlanChangedCallbacks.delete(e)}}onOrganizationIdentityChanged(e){return this.orgIdentityChangedCallbacks.add(e),()=>{this.orgIdentityChangedCallbacks.delete(e)}}onConnect(e){return this.connectCallbacks.add(e),()=>{this.connectCallbacks.delete(e)}}emitTyping(t){var n,i;if(!(null==(n=this.socket)?void 0:n.connected))return;const o=null!=(i=this.typingDebounce.get(t))?i:0,r=Date.now();
2r-o<e.TYPING_THROTTLE_MS||(this.typingDebounce.set(t,r),this.socket.emit("chat:typing",{chatId:t}))}};t(RN,"TYPING_THROTTLE_MS",2e3);const LN=new RN;function DN(){return{connect:()=>LN.connect(),disconnect:()=>LN.disconnect(),joinChat:e=>LN.joinChat(e),leaveChat:e=>LN.leaveChat(e),joinOrganization:e=>LN.joinOrganization(e),leaveOrganization:e=>LN.leaveOrganization(e),onMessage:e=>LN.onMessage(e),onTyping:e=>LN.onTyping(e),onUnread:e=>LN.onUnread(e),onNotification:e=>LN.onNotification(e),onDataChanged:e=>LN.onDataChanged(e),onPleaSendProgress:e=>LN.onPleaSendProgress(e),onPleaSendComplete:e=>LN.onPleaSendComplete(e),onAgentProgress:e=>LN.onAgentProgress(e),onMessageRemoved:e=>LN.onMessageRemoved(e),onUserBlocked:e=>LN.onUserBlocked(e),onUserUnblocked:e=>LN.onUserUnblocked(e),onOrganizationPlanChanged:e=>LN.onOrganizationPlanChanged(e),onOrganizationIdentityChanged:e=>LN.onOrganizationIdentityChanged(e),onConnect:e=>LN.onConnect(e),emitTyping:e=>LN.emitTyping(e),isConnected:LN.isConnected}}const NN={title:"{name} got adopted",body:"You got them there. Want to share the news?",action:"Create post"},MN={title:"Share {name}'s news",primaryAction:"Share",secondaryAction:"Change photo",helper:"Edit anything before you post."},zN={nudgeShown:"adoption_share_nudge_shown",nudgeShared:"adoption_share_nudge_shared"},jN="adoption-share-opportunity-received",BN=[{id:"couch_own",headline:"My foster buddy {name} got adopted and now has a couch of their own.",captionBody:"I gave up my couch for a few weeks and somebody got a whole family out of it."},{id:"better_couch",headline:"My foster baby {name} found a family with a much better couch than mine.",captionBody:"No hard feelings. Mine was doing its best."},{id:"spoiled",headline:"My foster buddy {name} got adopted by people who already spoil them rotten.",captionBody:"They sent photos before I made it home. I have saved every one."},{id:"for_good",headline:"I fostered {name} and now {name} has a family for good.",captionBody:"This is the whole reason people foster. A few weeks, and then this."},{id:"went_home",headline:"My foster baby {name} went home with people who are keeping them forever.",captionBody:"I have not stopped crying. Ten out of ten."},{id:"all_of_it",headline:"My foster buddy {name} is adopted. They got the couch, the family, all of it.",captionBody:"Everything I wanted for them and none of it mine. Perfect."},{id:"cried_little",headline:"My foster buddy {name} found their people and I only cried a little.",captionBody:"That is a lie. I cried a lot. Doing it again anyway."},{id:"furever",headline:"I fostered {name} for a while and now somebody gets to keep them fureverrrr.",captionBody:"Everyone says they could never foster because they would get attached. You do. That is the job."},{id:"another_one",headline:"My foster buddy {name} got adopted and I am already asking for another one.",captionBody:"My coordinator has stopped being surprised by this."}],FN="couch_own",VN=new Map(BN.map(e=>[e.id,e])),UN=e=>"string"==typeof e&&VN.has(e),qN=e=>VN.get(UN(e)?e:FN)||BN[0],HN=(e,t)=>{const n=String(t||"").trim()||"this foster animal";return e.replaceAll("{name}",n)},WN=(e,t)=>HN(qN(e).headline,t),GN=e=>HN(NN.title,e),$N=e=>HN(MN.title,e),YN=(e,t)=>{const n=HN(qN(e).captionBody,t);return"".concat(n,"\n\n").concat("Thinking about fostering? pawsitivefoster.com/foster @wearepawsitivefoster")},{apiBaseUrl:XN}=PC,KN=DN(),JN=new Set(["pickup"]),ZN=["public_intake_submission","org_transfer_submission"],QN=e=>ZN.includes(e.type),eM=Ct([]),tM=Ct([]),nM=Ct([]),iM=Ct(0),oM=Ct(0),rM=kr(()=>tM.value.filter(e=>!e.isRead).length),aM=kr(()=>nM.value.filter(e=>QN(e)&&!e.isRead).length),sM=Ct(0),lM=Ct(!1),cM=Ct(0),dM=Ct(20),uM=Ct(0),pM=Ct(void 0),hM=Ct(!1),mM=Ct(!1),fM=Ct(!1);let gM=!1,bM=!1;const vM=e=>{const t=Math.max(0,Number(e)||0);sM.value=t,iM.value=t,aD(t)},yM=async e=>{try{return await e.json()}catch(T8){return null}},wM=async()=>{const e=await JL();return e?{Authorization:"Bearer ".concat(e)}:{}},xM=e=>{const t=Number(e);return Number.isInteger(t)&&t>0?t:null},kM=async()=>{const e=new URLSearchParams,t=await(async()=>{var e,t,n,i,o,r;const a=await wC.get("currentUser");return xM(null==a?void 0:a.activeOrganizationId)||xM(null==(t=null==(e=null==a?void 0:a.staffProfile)?void 0:e.organization)?void 0:t.id)||xM(null==(n=null==a?void 0:a.staffProfile)?void 0:n.organization_id)||xM(null==(o=null==(i=null==a?void 0:a.fosterProfile)?void 0:i.organization)?void 0:o.id)||xM(null==(r=null==a?void 0:a.fosterProfile)?void 0:r.organization_id)})();return t&&e.set("org",String(t)),e},_M=async()=>{const e=await wM(),t=await kM(),n=await fetch("".concat(XN,"/notifications/unread-count").concat(t.toString()?"?".concat(t.toString()):""),{method:"GET",headers:e});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to fetch unread notification count")}const i=await n.json(),o=Number((null==i?void 0:i.unreadCount)||0);return vM(o),o},EM=e=>{var t,n,i;return{id:null==e?void 0:e.id,type:(null==e?void 0:e.type)||"announcement",title:(null==e?void 0:e.title)||"
2Notification",body:(null==e?void 0:e.body)||"",actionUrl:(null==e?void 0:e.actionUrl)||null,isRead:Boolean(null==e?void 0:e.isRead),metadata:(null==e?void 0:e.metadata)&&"object"==typeof e.metadata?e.metadata:{},organizationId:null!=(t=null==e?void 0:e.organizationId)?t:null,userId:null!=(n=null==e?void 0:e.userId)?n:null,animalId:null!=(i=null==e?void 0:e.animalId)?i:null,createdAt:null==e?void 0:e.createdAt,updatedAt:null==e?void 0:e.updatedAt,animal:(null==e?void 0:e.animal)||null}},SM=(e,t)=>{const n=e.findIndex(e=>String(e.id)===String(t.id));n>=0?e[n]=t:e.unshift(t)},CM=e=>{if(null==e)return null;const t=String(e).trim();return t.length>0?t:null},TM=e=>{const t=(null==e?void 0:e.metadata)||{},n=new Set,i=CM(t.bookingId);i&&n.add(i);return(Array.isArray(t.bookingIds)?t.bookingIds:[]).forEach(e=>{const t=CM(e);t&&n.add(t)}),[...n]},IM=e=>{const t=e.map(e=>CM(e)).filter(Boolean);return new Set(t)},AM=(e,t)=>{const n=TM(e);return 0!==n.length&&n.some(e=>t.has(e))},PM=e=>{const t=IM(e);return 0!==t.size&&tM.value.some(e=>!e.isRead&&AM(e,t))},OM=()=>{const e=new Set;return tM.value.forEach(t=>{t.isRead||TM(t).forEach(t=>{e.add(t)})}),[...e]},RM=async(e=100)=>{const t=await wM(),n=new URLSearchParams({limit:String(e),offset:"0",type:"pickup"});(await kM()).forEach((e,t)=>n.set(t,e));const i=await fetch("".concat(XN,"/notifications?").concat(n.toString()),{method:"GET",headers:t});if(!i.ok){const e=await yM(i);throw new Error((null==e?void 0:e.error)||"Failed to fetch pickup notifications")}const o=await i.json(),r=Array.isArray(null==o?void 0:o.notifications)?o.notifications.map(EM):[];return tM.value=r,mM.value=!0,r},LM=async()=>{await RM(100)},DM=async()=>{if(await JL())try{await _M()}catch(T8){}else vM(0)},NM=async()=>{if(!gM){gM=!0;try{await KN.connect()}catch(T8){}KN.onNotification(e=>{const t=EM((null==e?void 0:e.notification)||{});t.id&&((e=>{SM(eM.value,e),QN(e)&&SM(nM.value,e),"adoption_share"===e.type&&"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent(jN))})(t),JN.has(t.type)&&(e=>{SM(tM.value,e)})(t),"number"==typeof(null==e?void 0:e.unreadCount)?vM(e.unreadCount):t.isRead||vM(sM.value+1))})}},MM=async(e={})=>{var t,n;const{limit:i=dM.value,offset:o=(e.append?eM.value.length:null!=(t=e.offset)?t:0),type:r=(null!=(n=e.type)?n:pM.value),append:a=!1}=e;lM.value=!0;try{const e=new URLSearchParams({limit:String(i),offset:String(o)});r&&e.set("type",r);(await kM()).forEach((t,n)=>e.set(n,t));const t=await wM(),n=await fetch("".concat(XN,"/notifications?").concat(e.toString()),{method:"GET",headers:t});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to fetch notifications")}const s=await n.json(),l=Array.isArray(null==s?void 0:s.notifications)?s.notifications.map(EM):[],c=l.filter(QN);if(a)eM.value=[...eM.value,...l];else if(r)eM.value=l;else{const e=new Set(l.map(e=>String(e.id))),t=eM.value.filter(t=>QN(t)&&!e.has(String(t.id)));eM.value=[...l,...t]}return r&&ZN.includes(r)?nM.value=c:c.forEach(e=>SM(nM.value,e)),"pickup"===r&&(tM.value=a?[...tM.value,...l]:l,mM.value=!0),cM.value=Number((null==s?void 0:s.total)||0),dM.value=Number((null==s?void 0:s.limit)||i),uM.value=Number((null==s?void 0:s.offset)||o),pM.value=r,hM.value=!0,await _M(),{notifications:eM.value,total:cM.value,limit:dM.value,offset:uM.value}}finally{lM.value=!1}},zM=async(e=100)=>{const t=await Promise.all(ZN.map(t=>(async(e,t=100)=>{const n=await wM(),i=new URLSearchParams({limit:String(t),offset:"0",type:e});(await kM()).forEach((e,t)=>i.set(t,e));const o=await fetch("".concat(XN,"/notifications?").concat(i.toString()),{method:"GET",headers:n});if(!o.ok){const t=await yM(o);throw new Error((null==t?void 0:t.error)||"Failed to fetch ".concat(e," notifications"))}const r=await o.json(),a=Array.isArray(null==r?void 0:r.notifications)?r.notifications.map(EM):[];return a.forEach(e=>SM(eM.value,e)),a})(t,e))),n=t.flat().sort((e,t)=>new Date(t.createdAt||0).getTime()-new Date(e.createdAt||0).getTime());return nM.value=n,fM.value=!0,n},jM=async e=>{const t=await wM(),n=await fetch("".concat(XN,"/notifications/").concat(e,"/read"),{method:"PATCH",headers:t});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to mark notification as read")}const i=await n.json(),o=EM((null==i?void 0:i.notification)||{});return(e=>{const t=eM.value.findIndex(t=>String(t.id)===String(e.id));t>=0&&(eM.value[t]=e);const n=tM.value.findIndex(t=>String(t.id)===String(e.id));n>=0&&(tM.value[n]=e);const i=nM.value.findIndex(t=>String(t.id)===String(e.id));i>=0&&(nM.value[i]=e)})(o),"number"==typeof(null==i?void 0:i.unreadCount)?vM(i.unreadCount):vM(Math.max(0,eM.value.filter(e=>!e.isRead).length)),o},BM=async e=>{const t=String(e||"").trim();if(!t)return;const n="/public-intake/".concat(t),i=[...new Map([...eM.value,...nM.value].filter(QN).map(e=>[String(e.id),e])).values()].filter(e=>{var i;if(e.isRead||!QN(e))return!1;const o=null==(i=e.metadata)?void 0:i.submissionId;return String(o||"").trim()===t||e.actionUrl===n});0!==i.length&&await Promise.allSettled(i.map(e=>jM(e.id)))},FM=async e=>{const t=IM(e);if(0===t.size)return;const n=tM.value.filter(e=>!e.isRead&&AM(e,t));0!==n.length&&await Promise.allSettled(n.map(e=>jM(e.id)))},VM=async()=>{const e=await wM(),t=await kM(),n=await fetch("".concat(XN,"/notifications/read-all").concat(t.toString()?"?".concat(t.toString()):""),{method:"PATCH",headers:e});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to mark all notifications as read")}eM.value=eM.value.map(e=>({...e,isRead:!0})),tM.value=tM.value.map(e=>({...e,isRead:!0})),nM.value=nM.value.map(e=>({...e,isRead:!0})),vM(0)},UM=async e=>{const t=await wM(),n=await fetch("".concat(XN,"/notifications/").concat(e),{method:"DELETE",headers:t});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to delete notification")}const i=await n.json();return(e=>{const t=String(e);eM.value=eM.value.filter(e=>String(e.id)!==t),tM.value=tM.value.filter(e=>String(e.id)!==t),nM.value=nM.value.filter(e=>String(e.id)!==t)})(e),cM.value=Math.max(0,cM.value-1),"number"==typeof(null==i?void 0:i.unreadCount)?vM(i.unreadCount):vM(Math.max(0,eM.value.filter(e=>!e.isRead).length)),i},qM=async()=>{const e=await wM(),t=await kM(),n=await fetch("".concat(XN,"/notifications").concat(t.toString()?"?".concat(t.toString()):""),{method:"DELETE",headers:e});if(!n.ok){const e=await yM(n);throw new Error((null==e?void 0:e.error)||"Failed to clear notifications")}return eM.value=[],tM.value=[],nM.value=[],cM.value=0,uM.value=0,pM.value=void 0,vM(0),n.json()},HM=e=>eM.value.filter(t=>{var n;return String((null==(n=null==t?void 0:t.metadata)?void 0:n.fosterId)||"")===String(e)}),WM=e=>{vM(e)},GM=e=>{oM.value=Math.max(0,Number(e)||0)},$M=()=>{vM(0)},YM=()=>{oM.value=0},XM=()=>{},KM=async(e,t,n,i,o)=>{const r=await MS.create({message:"Assignment request sent to ".concat(t," for ").concat(i.join(", "),"."),duration:3e3,position:"top",color:"success",cssClass:"app-toast"});await r.present();try{await MM({limit:dM.value,offset:0,type:pM.value})}catch(T8){}return null},JM=async(e,t,n,i)=>{const o=await MS.create({message:"".concat(t," will receive a confirmation update for ").concat(i,"."),duration:3e3,position:"top",color:"success",cssClass:"app-toast"});await o.present();try{await MM({limit:dM.value,offset:0,type:pM.value})}catch(T8){}return null};function ZM(){NM(),(async()=>{bM||(bM=!0,"undefined"!=typeof document&&document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState&&DM()}),as.isNativePlatform()&&await IC.addListener("appStateChange",({isActive:e})=>{e&&DM()}),DM())})(),(async()=>{await JL()&&(hM.value||_M().catch(()=>{}),mM.value||RM(100).catch(()=>{}),fM.value||zM(100).catch(()=>{}))})();const e=kr(()=>eM.value.length<cM.value);return{notifications:eM,homeNotificationCount:iM,unreadCount:sM,messagesNotificationCount:oM,publicIntakeNotificationCount:aM,isLoading:lM,totalNotifications:cM,hasMore:e,fetchNotifications:MM,fetchPublicIntakeNotifications:zM,fetchUnreadCount:_M,markAsRead:jM,markPublicIntakeSubmissionNotificationsAsRead:BM,markAllAsRead:VM,deleteNotification:UM,clearAllNotifications:qM,sendAssignmentRequest:KM,sendConfirmationRequest:JM,getNotificationsForFoster:HM,updateHomeNotificationCount:WM,updateMessagesNotificationCount:GM,clearHomeNotifications:$M,clearMessagesNotifications:YM,schedulingNotificationCount:rM,refreshSchedulingNotifications:LM,hasUnreadSchedulingNotificationForBooking:PM,getUnreadSchedulingNotificationBookingIds:OM,markSchedulingNotificationsAsReadForBooking:FM,clearSchedulingNotifications:XM}}const QM=Object.freeze(Object.defineProperty({__proto__:null,isPublicIntakeNotification:QN,useNotifications:ZM},Symbol.toStringTag,{value:"Module"}));function ez(e,t){return function(){return e.apply(t,arguments)}}const{toString:tz}=Object.prototype,{getPrototypeOf:nz}=Object,{iterator:iz,toStringTag:oz}=Symbol,rz=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),az=(e,t)=>
vendor: 4,354 bytes, line 2
2{let n=e;const i=[];for(;null!=n&&n!==Object.prototype;){if(-1!==i.indexOf(n))return!1;if(i.push(n),rz(n,t))return!0;n=nz(n)}return!1},sz=(e=>t=>{const n=tz.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lz=e=>(e=e.toLowerCase(),t=>sz(t)===e),cz=e=>t=>typeof t===e,{isArray:dz}=Array,uz=cz("undefined");function pz(e){return null!==e&&!uz(e)&&null!==e.constructor&&!uz(e.constructor)&&fz(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const hz=lz("ArrayBuffer");const mz=cz("string"),fz=cz("function"),gz=cz("number"),bz=e=>null!==e&&"object"==typeof e,vz=e=>{if(!bz(e))return!1;const t=nz(e);return!(null!==t&&t!==Object.prototype&&null!==nz(t)||az(e,oz)||az(e,iz))},yz=lz("Date"),wz=lz("File"),xz=lz("Blob"),kz=lz("FileList"),_z=lz("Set");const Ez="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},Sz=void 0!==Ez.FormData?Ez.FormData:void 0,Cz=lz("URLSearchParams"),[Tz,Iz,Az,Pz]=["ReadableStream","Request","Response","Headers"].map(lz);function Oz(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,o;if("object"!=typeof e&&(e=[e]),dz(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{if(pz(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),r=o.length;let a;for(i=0;i<r;i++)a=o[i],t.call(null,e[a],a,e)}}function Rz(e,t){if(pz(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i,o=n.length;for(;o-- >0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Lz="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Dz=e=>!uz(e)&&e!==Lz;const Nz=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&nz(Uint8Array)),Mz=lz("HTMLFormElement"),{propertyIsEnumerable:zz}=Object.prototype,jz=lz("RegExp"),Bz=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};Oz(n,(n,o)=>{let r;!1!==(r=t(n,o,e))&&(i[o]=r||n)}),Object.defineProperties(e,i)};const Fz=lz("AsyncFunction"),Vz=(Uz="function"==typeof setImmediate,qz=fz(Lz.postMessage),Uz?setImmediate:qz?(Hz="axios@".concat(Math.random()),Wz=[],Lz.addEventListener("message",({source:e,data:t})=>{e===Lz&&t===Hz&&Wz.length&&Wz.shift()()},!1),e=>{Wz.push(e),Lz.postMessage(Hz,"*")}):e=>setTimeout(e));var Uz,qz,Hz,Wz;const Gz="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Lz):"undefined"!=typeof process&&process.nextTick||Vz,$z=e=>null!=e&&fz(e[iz]),Yz={isArray:dz,isArrayBuffer:hz,isBuffer:pz,isFormData:e=>{if(!e)return!1;if(Sz&&e instanceof Sz)return!0;const t=nz(e);if(!t||t===Object.prototype)return!1;if(!fz(e.append))return!1;const n=sz(e);return"formdata"===n||"object"===n&&fz(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&hz(e.buffer),t},isString:mz,isNumber:gz,isBoolean:e=>!0===e||!1===e,isObject:bz,isPlainObject:vz,isEmptyObject:e=>{if(!bz(e)||pz(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(T8){return!1}},isReadableStream:Tz,isRequest:Iz,isResponse:Az,isHeaders:Pz,isUndefined:uz,isDate:yz,isFile:wz,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:xz,isRegExp:jz,isFunction:fz,isStream:e=>bz(e)&&fz(e.pipe),isURLSearchParams:Cz,isTypedArray:Nz,isFileList:kz,forEach:Oz,merge:function e(...t){const{caseless:n,skipUndefined:i}=Dz(this)&&this||{},o={},r=(t,r)=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;const a=n&&"string"==typeof r&&Rz(o,r)||r,s=rz(o,a)?o[a]:void 0;vz(s)&&vz(t)?o[a]=e(s,t):vz(t)?o[a]=e({},t):dz(t)?o[a]=t.slice():i&&uz(t)||(o[a]=t)};for(let a=0,s=t.length;a<s;a++){const e=t[a];if(!e||pz(e))continue;if(Oz(e,r),"object"!=typeof e||dz(e))continue;const n=Object.getOwnPropertySymbols(e);for(let t=0;t<n.length;t++){const i=n[t];zz.call(e,i)&&r(e[i],i)}}return o},extend:(e,t,n,{allOwnKeys:i}={})=>(Oz(t,(t,i)=>{n&&fz(t)?Object.defineProperty(e,i,{__proto__:null,value:ez(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>
vendor: 4,732 bytes, line 2
2{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let o,r,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)a=o[r],i&&!i(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&nz(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:sz,kindOfTest:lz,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(dz(e))return e;let t=e.length;if(!gz(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[iz]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:Mz,hasOwnProperty:rz,hasOwnProp:rz,hasOwnInPrototypeChain:az,getSafeProp:(e,t)=>null!=e&&az(e,t)?e[t]:void 0,reduceDescriptors:Bz,freezeMethods:e=>{Bz(e,(t,n)=>{if(fz(e)&&["arguments","caller","callee"].includes(n))return!1;const i=e[n];fz(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach(e=>{n[e]=!0})};return dz(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Rz,global:Lz,isContextDefined:Dz,isSpecCompliantForm:function(e){return!!(e&&fz(e.append)&&"FormData"===e[oz]&&e[iz])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(bz(e)){if(t.has(e))return;if(pz(e))return e;if(!("toJSON"in e)){let i;if(t.add(e),_z(e)){i=[];for(const t of e){const e=n(t);!uz(e)&&i.push(e)}}else i=dz(e)?[]:{},Oz(e,(e,t)=>{const o=n(e);!uz(o)&&(i[t]=o)});return t.delete(e),i}}return e};return n(e)},isAsyncFn:Fz,isThenable:e=>e&&(bz(e)||fz(e))&&fz(e.then)&&fz(e.catch),setImmediate:Vz,asap:Gz,isIterable:$z,isSafeIterable:e=>null!=e&&az(e,iz)&&$z(e)},Xz=Yz.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Kz=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Jz=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Zz(e,t){return Yz.isArray(e)?e.map(e=>Zz(e,t)):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function Qz(e){const t=Object.create(null);return Yz.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>Zz(e,Jz))(e)}),t}const ej=Symbol("internals");function tj(e){return e&&String(e).trim().toLowerCase()}function nj(e){return!1===e||null==e?e:Yz.isArray(e)?e.map(nj):(e=>Zz(e,Kz))(String(e))}const ij=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function oj(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}function rj(e,t,n,i,o){return Yz.isFunction(i)?i.call(this,t,n):(o&&(t=n),Yz.isString(t)?Yz.isString(i)?-1!==t.indexOf(i):Yz.isRegExp(i)?i.test(t):void 0:void 0)}let aj=class{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function o(e,t,n){const o=tj(t);if(!o)return;const r=Yz.findKey(i,o);(!r||void 0===i[r]||!0===n||void 0===n&&!1!==i[r])&&(i[r||t]=nj(e))}const r=(e,t)=>Yz.forEach(e,(e,n)=>o(e,n,t));if(Yz.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(Yz.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,i,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),i=e.substring(o+1).trim();const r=Yz.hasOwnProp(t,n);!n||r&&Yz.hasOwnProp(Xz,n)||("set-cookie"===n?r?t[n].push(i):t[n]=[i]:t[n]=r?t[n]+", "+i:i)}),t})(e),t);else if(Yz.isObject(e)&&Yz.isSafeIterable(e)){let n,i,o=Object.create(null);for(const t of e){if(!Yz.isArray(t))throw new TypeError("Object iterator must return a key-value pair");i=t[0],Yz.hasOwnProp(o,i)?(n=o[i],o[i]=Yz.isArray(n)?[...n,t[1]]:[n,t[1]]):o[i]=t[1]}r(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=tj(e)){const n=Yz.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;
vendor: 7,148 bytes, line 2
2=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(Yz.isFunction(t))return t.call(this,e,n);if(Yz.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=tj(e)){const n=Yz.findKey(this,e);return!(!n||void 0===this[n]||t&&!rj(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function o(e){if(e=tj(e)){const o=Yz.findKey(n,e);!o||t&&!rj(0,n[o],o,t)||(delete n[o],i=!0)}}return Yz.isArray(e)?e.forEach(o):o(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const o=t[n];e&&!rj(0,this[o],o,e,!0)||(delete this[o],i=!0)}return i}normalize(e){const t=this,n={};return Yz.forEach(this,(i,o)=>{const r=Yz.findKey(n,o);if(r)return t[r]=nj(i),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=nj(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Yz.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&Yz.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){const e=this.get("set-cookie");return Yz.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return function(e){const t=Object.create(null),n=String(e);let i=0,o=!1,r=!1;function a(e){const o=oj(n.slice(i,e)),r=o.indexOf("=");if(r<1)return;const a=oj(o.slice(0,r));if(!ij.test(a))return;const s=a.toLowerCase();if("__proto__"===s||"constructor"===s||"prototype"===s)return;const l=oj(o.slice(r+1));t[s]=function(e){const t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let n="";for(let i=1;i<t;i++){const o=e.charCodeAt(i);if(34===o)return e;if(92===o&&(i+=1,i>=t))return e;n+=e[i]}return n}(l)}for(let s=0;s<n.length;s++){const e=n.charCodeAt(s);o?r?r=!1:92===e?r=!0:34===e&&(o=!1):34===e?o=!0:44!==e&&59!==e||(a(s),i=s+1)}return a(n.length),t}(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ej]=this[ej]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=tj(e);t[i]||(!function(e,t){const n=Yz.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{__proto__:null,value:function(e,n,o){return this[i].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[i]=!0)}return Yz.isArray(e)?e.forEach(i):i(e),this}};aj.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Yz.reduceDescriptors(aj.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Yz.freezeMethods(aj);const sj="[REDACTED ****]";function lj(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),i=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(Yz.isBuffer(e))return e;if(-1!==i.indexOf(e))return;let t;if(e instanceof aj&&(e=e.toJSON()),i.push(e),Yz.isArray(e))t=[],e.forEach((e,n)=>{const i=o(e);Yz.isUndefined(i)||(t[n]=i)});else{if(!Yz.isPlainObject(e)&&function(e){if(Yz.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Yz.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return i.pop(),e;t=Object.create(null);for(const[i,r]of Object.entries(e)){const e=n.has(i.toLowerCase())?sj:o(r);Yz.isUndefined(e)||(t[i]=e)}}return i.pop(),t};return o(e)}function cj(e){try{return String(e)}catch(H9){return""}}let dj=class e extends Error{static from(t,n,i,o,r,a){let s=t.message;!s&&Yz.isArray(t.errors)&&t.errors.length&&(s=function(e){return e.errors.map(e=>{try{return e&&e.message?cj(e.message):cj(e)}catch(H9){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}(t));const l=new e(s,n||t.code,i,o,r);return Object.defineProperty(l,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),l.name=t.name,null!=t.status&&null==l.status&&(l.status=t.status),a&&Object.assign(l,a),l}constructor(e,t,n,i,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&Yz.hasOwnProp(e,"redact")?e.redact:void 0,n=Yz.isArray(t)&&t.length>0?lj(e,t):Yz.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};dj.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",dj.ERR_BAD_OPTION="ERR_BAD_OPTION",dj.ECONNABORTED="ECONNABORTED",dj.ETIMEDOUT="ETIMEDOUT",dj.ECONNREFUSED="ECONNREFUSED",dj.ERR_NETWORK="ERR_NETWORK",dj.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",dj.ERR_DEPRECATED="ERR_DEPRECATED",dj.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",dj.ERR_BAD_REQUEST="ERR_BAD_REQUEST",dj.ERR_CANCELED="ERR_CANCELED",dj.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",dj.ERR_INVALID_URL="ERR_INVALID_URL",dj.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";function uj(e){return Yz.isPlainObject(e)||Yz.isArray(e)}function pj(e){return Yz.endsWith(e,"[]")?e.slice(0,-2):e}function hj(e,t,n){return e?e.concat(t).map(function(e,t){return e=pj(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const mj=Yz.toFlatObject(Yz,{},null,function(e){return/^is[A-Z]/.test(e)});function fj(e,t,n){if(!Yz.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const i=(n=Yz.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Yz.isUndefined(t[e])})).metaTokens,o=n.visitor||h,r=n.dots,a=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===n.maxDepth?100:n.maxDepth,c=s&&Yz.isSpecCompliantForm(t),d=[];if(!Yz.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Yz.isDate(e))return e.toISOString();if(Yz.isBoolean(e))return e.toString();if(!c&&Yz.isBlob(e))throw new dj("Blob is not supported. Use a Buffer instead.");if(Yz.isArrayBuffer(e)||Yz.isTypedArray(e)){if(c&&"function"==typeof s)return new s([e]);throw new dj("Blob is not supported. Use a Buffer instead.",dj.ERR_NOT_SUPPORT)}return e}function p(e){if(e>l)throw new dj("Object is too deeply nested ("+e+" levels). Max depth: "+l,dj.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(e,n,o){let s=e;if(Yz.isReactNative(t)&&Yz.isReactNativeBlob(e))return t.append(hj(o,n,r),u(e)),!1;if(e&&!o&&"object"==typeof e)if(Yz.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=function(e,t){if(l===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,function(e,i){if(!Yz.isObject(i))return i;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(i),p(t+n.length-1),i})}(e,1);else if(Yz.isArray(e)&&function(e){return Yz.isArray(e)&&!e.some(uj)}(e)||(Yz.isFileList(e)||Yz.endsWith(n,"[]"))&&(s=Yz.toArray(e)))return n=pj(n),s.forEac
vendor: 4,232 bytes, line 2
2h(function(e,i){!Yz.isUndefined(e)&&null!==e&&t.append(!0===a?hj([n],i,r):null===a?n:n+"[]",u(e))}),!1;return!!uj(e)||(t.append(hj(o,n,r),u(e)),!1)}const m=Object.assign(mj,{defaultVisitor:h,convertValue:u,isVisitable:uj});if(!Yz.isObject(e))throw new TypeError("data must be an object");return function e(n,i,r=0){if(!Yz.isUndefined(n)){if(p(r),-1!==d.indexOf(n))throw new Error("Circular reference detected in "+i.join("."));d.push(n),Yz.forEach(n,function(n,a){!0===(!(Yz.isUndefined(n)||null===n)&&o.call(t,n,Yz.isString(a)?a.trim():a,i,m))&&e(n,i?i.concat(a):[a],r+1)}),d.pop()}}(e),t}function gj(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function bj(e,t){this._pairs=[],e&&fj(e,this,t)}const vj=bj.prototype;function yj(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function wj(e,t,n){if(!t)return e;e=e||"";const i=Yz.isFunction(n)?{serialize:n}:n,o=Yz.getSafeProp(i,"encode")||yj,r=Yz.getSafeProp(i,"serialize");let a;if(a=r?r(t,i):Yz.isURLSearchParams(t)?t.toString():new bj(t,i).toString(o),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}vj.append=function(e,t){this._pairs.push([e,t])},vj.toString=function(e){const t=e?t=>e.call(this,t,gj):gj;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class xj{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Yz.forEach(this.handlers,function(t){null!==t&&e(t)})}}const kj={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},_j={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:bj,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},Ej="undefined"!=typeof window&&"undefined"!=typeof document,Sj="object"==typeof navigator&&navigator||void 0,Cj=Ej&&(!Sj||["ReactNative","NativeScript","NS"].indexOf(Sj.product)<0),Tj="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ij=Ej&&window.location.href||"http://localhost",Aj={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ej,hasStandardBrowserEnv:Cj,hasStandardBrowserWebWorkerEnv:Tj,navigator:Sj,origin:Ij},Symbol.toStringTag,{value:"Module"})),..._j};function Pj(e){if(e>100)throw new dj("FormData field is too deeply nested ("+e+" levels). Max depth: 100",dj.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Oj(e){function t(e,n,i,o){Pj(o);let r=e[o++];if("__proto__"===r)return!0;const a=Number.isFinite(+r),s=o>=e.length;if(r=!r&&Yz.isArray(i)?i.length:r,s)return Yz.hasOwnProp(i,r)?i[r]=Yz.isArray(i[r])?i[r].concat(n):[i[r],n]:i[r]=n,!a;Yz.hasOwnProp(i,r)&&Yz.isObject(i[r])||(i[r]=[]);return t(e,n,i[r],o)&&Yz.isArray(i[r])&&(i[r]=function(e){const t={},n=Object.keys(e);let i;const o=n.length;let r;for(i=0;i<o;i++)r=n[i],t[r]=e[r];return t}(i[r])),!a}if(Yz.isFormData(e)&&Yz.isFunction(e.entries)){const n={};return Yz.forEachEntry(e,(e,i)=>{t(function(e){const t=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;let i;for(;null!==(i=n.exec(e));)Pj(t.length),t.push("[]"===i[0]?"":i[1]||i[0]);return t}(e),i,n,0)}),n}return null}const Rj=(e,t)=>null!=e&&Yz.hasOwnProp(e,t)?e[t]:void 0;const Lj={transitional:kj,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=Yz.isObject(e);o&&Yz.isHTMLForm(e)&&(e=new FormData(e));if(Yz.isFormData(e))return i?JSON.stringify(Oj(e)):e;if(Yz.isArrayBuffer(e)||Yz.isBuffer(e)||Yz.isStream(e)||Yz.isFile(e)||Yz.isBlob(e)||Yz.isReadableStream(e))return e;if(Yz.isArrayBufferView(e))return e.buffer;if(Yz.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;
2if(o){const t=Rj(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return fj(e,new Aj.classes.URLSearchParams,{visitor:function(e,t,n,i){return Aj.isNode&&Yz.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((r=Yz.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Rj(this,"env"),i=n&&n.FormData;return fj(r?{"files[]":e}:e,i&&new i,t)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(Yz.isString(e))try{return(t||JSON.parse)(e),Yz.trim(e)}catch(T8){if("SyntaxError"!==T8.name)throw T8}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Rj(this,"transitional")||Lj.transitional,n=t&&t.forcedJSONParsing,i=Rj(this,"responseType"),o="json"===i;if(Yz.isResponse(e)||Yz.isReadableStream(e))return e;if(e&&Yz.isString(e)&&(n&&!i||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,Rj(this,"parseReviver"))}catch(T8){if(n){if("SyntaxError"===T8.name)throw dj.from(T8,dj.ERR_BAD_RESPONSE,this,null,Rj(this,"response"));throw T8}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Aj.classes.FormData,Blob:Aj.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function Dj(e,t){const n=this||Lj,i=t||n,o=aj.from(i.headers);let r=i.data;return Yz.forEach(e,function(e){r=e.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Nj(e){return!(!e||!e.__CANCEL__)}Yz.forEach(["delete","get","head","post","put","patch","query"],e=>{Lj.headers[e]={}});let Mj=class extends dj{constructor(e,t,n){super(null==e?"canceled":e,dj.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function zj(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new dj("Request failed with status code "+n.status,n.status>=400&&n.status<500?dj.ERR_BAD_REQUEST:dj.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const jj=(e,t,n=3)=>{let i=0;const o=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o,r=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=i[a];o||(o=l),n[r]=s,i[r]=l;let d=a,u=0;for(;d!==r;)u+=n[d++],d%=e;if(r=(r+1)%e,r===a&&(a=(a+1)%e),l-o<t)return;const p=c&&l-c;return p?Math.round(1e3*u/p):void 0}}(50,250);return function(e,t){let n,i,o=0,r=1e3/t;const a=(t,r=Date.now())=>{o=r,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=r?a(e,t):(n=e,i||(i=setTimeout(()=>{i=null,a(n)},r-s)))},()=>n&&a(n)]}(n=>{if(!n||"number"!=typeof n.loaded)return;const r=n.loaded,a=n.lengthComputable?n.total:void 0,s=Math.max(0,null!=a?Math.min(r,a):r),l=Math.max(0,s-i),c=o(l);i=Math.max(i,s);e({loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a?(a-s)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Bj=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Fj=(e,t=Yz.asap)=>(...n)=>t(()=>e(...n)),Vj=Aj.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Aj.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Aj.origin),Aj.navigator&&/(msie|trident)/i.test(Aj.navigator.userAgent)):()=>!0,Uj=Aj.hasStandardBrowserEnv?{write(e,t,n,i,o,r,a){if("undefined"==typeof document)return;const s=["".concat(e,"=").concat(encodeURIComponent(t))];Yz.isNumber(n)&&s.push("expires=".concat(new Date(n).toUTCString())),Yz.isString(i)&&s.push("path=".concat(i)),Yz.isString(o)&&s.push("domain=".concat(o)),!0===r&&s.push("secure"),Yz.isString(a)&&s.push("SameSite=".concat(a)),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const i=t[n].replace(/^\s+/,""),o=i.indexOf("=");if(-1!==o&&i.slice(0,o)===e)try{return decodeURIComponent(i.slice(o+1))}catch(T8){return i.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};const qj=/^https?:(?!\/\/)/i,Hj=/[\t\n\r]/g;function Wj(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,"$1".concat(sj,"@")),n=t.indexOf("#"),i=(-1===n?t:t.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,"$1".concat(sj));return-1===n?i:"".concat(i,"#").concat((o=t.slice(n+1))?o.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,n="")=>"".concat(t).concat(n).concat(sj)):o);var o}function Gj(e,t){if("string"==typeof e){const n=function(e){return function(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}(e).replace(Hj,"")}(e);if(qj.test(n))throw new dj("Invalid URL ".concat(JSON.stringify(Wj(n)),': missing "//" after protocol'),dj.ERR_INVALID_URL,t)}}function $j(e,t,n,i){Gj(t,i);let o=!("string"==typeof(r=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r));var r;return e&&(o||!1===n)?(Gj(e,i),function(e,t){if(!t)return e;let n=e.length;for(;n>0&&47===e.charCodeAt(n-1);)n--;return e.slice(0,n)+"/"+t.replace(/^\/+/,"")}(e,t)):t}const Yj=e=>e instanceof aj?{...e}:e;function Xj(e,t){e=e||{},t=t||{};const n=Object.create(null);function i(e,t,n,i){return Yz.isPlainObject(e)&&Yz.isPlainObject(t)?Yz.merge.call({caseless:i},e,t):Yz.isPlainObject(t)?Yz.merge({},t):Yz.isArray(t)?t.slice():t}function o(e,t,n,o){return Yz.isUndefined(t)?Yz.isUndefined(e)?void 0:i(void 0,e,0,o):i(e,t,0,o)}function r(e,t){if(!Yz.isUndefined(t))return i(void 0,t)}function a(e,t){return Yz.isUndefined(t)?Yz.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,o,r){return Yz.hasOwnProp(t,r)?i(n,o):Yz.hasOwnProp(e,r)?i(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBo
vendor: 11,120 bytes, line 2
2dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>o(Yj(e),Yj(t),0,!0)};var c;return Yz.forEach((c={...e,...t},Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(c).concat(Object.getOwnPropertySymbols(c).filter(e=>Object.getOwnPropertyDescriptor(c,e).enumerable)):Object.keys(c)),function(i){if("__proto__"===i||"constructor"===i||"prototype"===i)return;const r=Yz.hasOwnProp(l,i)?l[i]:o,a=r(Yz.hasOwnProp(e,i)?e[i]:void 0,Yz.hasOwnProp(t,i)?t[i]:void 0,i);Yz.isUndefined(a)&&r!==s||(n[i]=a)}),Yz.hasOwnProp(t,"validateStatus")&&Yz.isUndefined(t.validateStatus)&&!1===function(n){const i=Yz.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!Yz.isUndefined(i)){if(!Yz.isPlainObject(i))return;if(Yz.hasOwnProp(i,n))return i[n]}const o=Yz.hasOwnProp(e,"transitional")?e.transitional:void 0;if(Yz.isPlainObject(o)&&Yz.hasOwnProp(o,n))return o[n]}("validateStatusUndefinedResolves")&&(Yz.hasOwnProp(e,"validateStatus")?n.validateStatus=i(void 0,e.validateStatus):delete n.validateStatus),n}const Kj=["content-type","content-length"];function Jj(e){const t=Xj({},e),n=e=>Yz.hasOwnProp(t,e)?t[e]:void 0,i=n("data");let o=n("withXSRFToken");const r=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const l=n("auth"),c=n("baseURL"),d=n("allowAbsoluteUrls"),u=n("url");if(t.headers=s=aj.from(s),t.url=wj($j(c,u,d,t),n("params"),n("paramsSerializer")),l){const t=Yz.getSafeProp(l,"username")||"",n=Yz.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(t+":"+(n?encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(T8){throw dj.from(T8,dj.ERR_BAD_OPTION_VALUE,e)}}if(Yz.isFormData(i)&&(Aj.hasStandardBrowserEnv||Aj.hasStandardBrowserWebWorkerEnv||Yz.isReactNative(i)?s.setContentType(void 0):Yz.isFunction(i.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t||{}).forEach(([t,n])=>{Kj.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(s,i.getHeaders(),n("formDataHeaderPolicy"))),Aj.hasStandardBrowserEnv){Yz.isFunction(o)&&(o=o(t));if(!0===o||null==o&&Vj(t.url)){const e=r&&a&&Uj.read(a);e&&s.set(r,e)}}return t}const Zj="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const i=Jj(e);let o=i.data;const r=aj.from(i.headers).normalize();let a,s,l,c,d,{responseType:u,onUploadProgress:p,onDownloadProgress:h}=i;function m(){c&&c(),d&&d(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let f=new XMLHttpRequest;function g(){if(!f)return;const i=aj.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());zj(function(e){t(e),m()},function(e){n(e),m()},{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:i,config:e,request:f}),f=null}f.open(i.method.toUpperCase(),i.url,!0),f.timeout=i.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&f.responseURL.startsWith("file:"))&&setTimeout(g)},f.onabort=function(){f&&(n(new dj("Request aborted",dj.ECONNABORTED,e,f)),m(),f=null)},f.onerror=function(t){const i=t&&t.message?t.message:"Network Error",o=new dj(i,dj.ERR_NETWORK,e,f);o.event=t||null,n(o),m(),f=null},f.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const o=i.transitional||kj;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new dj(t,o.clarifyTimeoutError?dj.ETIMEDOUT:dj.ECONNABORTED,e,f)),m(),f=null},void 0===o&&r.setContentType(null),"setRequestHeader"in f&&Yz.forEach(Qz(r),function(e,t){f.setRequestHeader(t,e)}),Yz.isUndefined(i.withCredentials)||(f.withCredentials=!!i.withCredentials),u&&"json"!==u&&(f.responseType=i.responseType),h&&([l,d]=jj(h,!0),f.addEventListener("progress",l)),p&&f.upload&&([s,c]=jj(p),f.upload.addEventListener("progress",s),f.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(a=t=>{f&&(n(!t||t.type?new Mj(null,e,f):t),f.abort(),m(),f=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(i.url);if(b&&!Aj.protocols.includes(b))return n(new dj("Unsupported protocol "+b+":",dj.ERR_BAD_REQUEST,e)),void m();f.send(o||null)})},Qj=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let i=!1;const o=function(e){if(!i){i=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof dj?t:new Mj(t instanceof Error?t.message:t))}};let r=t&&setTimeout(()=>{r=null,o(new dj("timeout of ".concat(t,"ms exceeded"),dj.ETIMEDOUT))},t);const a=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>{i||(e.aborted?o.call(e):e.addEventListener("abort",o,{once:!0}))});const{signal:s}=n;return s.unsubscribe=()=>Yz.asap(a),s},eB=function*(e,t){let n=e.byteLength;if(n<t)return void(yield e);let i,o=0;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},tB=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},nB=(e,t,n,i)=>{const o=async function*(e,t){for await(const n of tB(e))yield*eB(n,t)}(e,t);let r,a=0,s=e=>{r||(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await o.next();if(t)return s(),void e.close();let r=i.byteLength;if(n){let e=a+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(H9){throw s(H9),H9}},cancel:e=>(s(e),o.return())},{highWaterMark:2})},iB=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,oB=(e,t,n)=>t+2<n&&iB(e.charCodeAt(t+1))&&iB(e.charCodeAt(t+2)),rB=e=>e<=57?e-48:(223&e)-55,aB=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,sB=e=>9===e||10===e||12===e||13===e||32===e,lB=e=>{const t=e.length;let n=0,i=0,o=!1;for(let r=0;r<t;r++){let a=e.charCodeAt(r);37===a&&oB(e,r,t)&&(a=16*rB(e.charCodeAt(r+1))+rB(e.charCodeAt(r+2)),r+=2),sB(a)||(61!==a?!aB(a)||i>0?o=!0:n++:i++)}return o||i>2||i>0&&(n+i)%4!=0||n%4==1?(e=>{const t=e.length;let n=0;return t>0&&61===e.charCodeAt(t-1)&&(n++,t>1&&61===e.charCodeAt(t-2)&&n++),Math.floor(3*(t-n)/4)})(e):(e=>{const t=e%4;return 3*Math.floor(e/4)+(2===t?1:3===t?2:0)})(n)};function cB(e){const t="string"==typeof e?e.indexOf("#"):-1;return((e,t)=>{if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const n=e.indexOf(",");if(n<0)return 0;const i=e.slice(5,n),o=e.slice(n+1);if(/;base64/i.test(i))return t(o);let r=0;for(let a=0,s=o.length;a<s;a++){const e=o.charCodeAt(a);if(37===e&&oB(o,a,s))r+=1,a+=2;else if(e<128)r+=1;else if(e<2048)r+=2;else if(e>=55296&&e<=56319&&a+1<s){const e=o.charCodeAt(a+1);e>=56320&&e<=57343?(r+=4,a++):r+=3}else r+=3}return r})(-1===t?e:e.slice(0,t),lB)}const dB="1.19.0",{isFunction:uB}=Yz,pB=e=>{if(!Yz.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},hB=(e,...t)=>{try{return!!e(...t)}catch(T8){return!1}},mB=e=>{const t=void 0!==Yz.global&&null!==Yz.global?Yz.global:globalThis,{ReadableStream:n,TextEncoder:i}=t;e=Yz.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:r,Response:a}=e,s=o?uB(o):"function"==typeof fetch,l=uB(r),c=uB(a);if(!s)return!1;const d=s&&uB(n),u=s&&("function"==typeof i?(e=>t=>e.encode(t))(new i):async e=>new Uint8Array(await new r(e).arrayBuffer())),p=l&&d&&hB(()=>{let e=!1;const t=new r(Aj.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),i=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!i}),h=c&&d&&hB(()=>Yz.isReadableStream(new a("").body)),m={stream:h&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let i=t&&t[e];if(i)return i.call(t);throw new dj("Response type '".concat(e,"' is not supported"),dj.ERR_NOT_SUPPORT,n)})});const f=async e=>{if(null==e)return 0;if(Yz.isBlob(e))return e.size;if(Yz.isSpecCompliantForm(e)){const t=new r(Aj.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Yz.isArrayBufferView(e)||Yz.isArrayBuffer(e)?e.byteLength:(Yz.isURLSearchParams(e)&&(e+=""),Yz.isString(e)?(await u(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:s,signal:c,cancelToken:u,timeout:g,onDownloadProgress:b,onUploadProgress:v,responseType:y,headers:w,withCredentials:x="same-origin",fetchOptions:k,maxContentLength:_,maxBodyLength:E}=Jj(e);const S=Yz.isNumber(_)&&_>-1,C=Yz.isNumber(E)&&E>-1;let T=o||fetch;y=y?(y+"").toLowerCase():"text";let I=Qj([c,u&&u.toAbortSignal()],g),A=null;const P=I&&I.unsubscribe&&(()=>{I.unsubscribe()});let O,R=null;const L=()=>new dj("Request body larger than maxBodyLength limit",dj.ERR_BAD_REQUEST,e,A);try{let o;const c=(N="auth",Yz.hasOwnProp(e,N)?e[N]:void 0);if(c){const e=Yz.getSafeProp(c,"username")||"";o={username:e,password:Yz.getSafeProp(c,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,Aj.origin);if(!o&&(e.username||e.password)){const t=pB(e.username);o={username:t,password:pB(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(w.delete("authorization"),w.set("Authorization","Basic "+btoa((D=(o.username||"")+":"+(o.password||""),encodeURIComponent(D).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),S&&"string"==typeof t&&t.startsWith("data:")){if(cB(t)>_)throw new dj("maxContentLength size of "+_+" exceeded",dj.ERR_BAD_RESPONSE,e,A)}if(C&&"get"!==n&&"head"!==n){const e=await f(s);if("number"==typeof e&&isFinite(e)&&(O=e,e>E))throw L()}const u=C&&(Yz.isReadableStream(s)||Yz.isStream(s)),g=(e,t,n)=>nB(e,65536,e=>{if(C&&e>E)throw R=L();t&&t(e)},n);if(p&&"get"!==n&&"head"!==n&&(v||u)){if(O=null==O?await(async(e,t)=>{const n=Yz.toFiniteNumber(e.getContentLength());return null==n?f(t):n})(w,s):O,0!==O||u){let e,n=new r(t,{method:"POST",body:s,duplex:"half"});if(Yz.isFormData(s)&&(e=n.headers.get("content-type"))&&w.setContentType(e),n.body){const[e,t]=v&&Bj(O,jj(Fj(v)))||[];s=g(n.body,e,t)}}}else if(u&&!l&&d&&"get"!==n&&"head"!==n)s=g(s);else if(u&&l&&!p&&"get"!==n&&"head"!==n)throw new dj("Stream request bodies are not supported by the current fetch implementation",dj.ERR_NOT_SUPPORT,e,A);Yz.isString(x)||(x=x?"include":"omit");const M=l&&"credentials"in r.prototype;if(Yz.isFormData(s)){const e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+dB,!1);const z={...k,signal:I,method:n.toUpperCase(),headers:Qz(w.normalize()),body:s,duplex:"half",credentials:M?x:void 0};A=l&&new r(t,z);let j=await(l?T(A,k):T(t,z));const B=aj.from(j.headers);if(S){const t=Yz.toFiniteNumber(B.getContentLength());if(null!=t&&t>_)throw new dj("maxContentLength size of "+_+" exceeded",dj.ERR_BAD_RESPONSE,e,A)}const F=h&&("stream"===y||"response"===y);if(h&&j.body&&(b||S||F&&P)){const t={};
vendor: 4,528 bytes, line 2
2["status","statusText","headers"].forEach(e=>{t[e]=j[e]});const n=Yz.toFiniteNumber(B.getContentLength()),[i,o]=b&&Bj(n,jj(Fj(b),!0))||[];let r=0;const s=t=>{if(S&&(r=t,r>_))throw new dj("maxContentLength size of "+_+" exceeded",dj.ERR_BAD_RESPONSE,e,A);i&&i(t)};j=new a(nB(j.body,65536,s,()=>{o&&o(),P&&P()}),t)}y=y||"text";let V=await m[Yz.findKey(m,y)||"text"](j,e);if(S&&!h&&!F){let t;if(null!=V&&("number"==typeof V.byteLength?t=V.byteLength:"number"==typeof V.size?t=V.size:"string"==typeof V&&(t="function"==typeof i?(new i).encode(V).byteLength:V.length)),"number"==typeof t&&t>_)throw new dj("maxContentLength size of "+_+" exceeded",dj.ERR_BAD_RESPONSE,e,A)}return!F&&P&&P(),await new Promise((t,n)=>{zj(t,n,{data:V,headers:aj.from(j.headers),status:j.status,statusText:j.statusText,config:e,request:A})})}catch(H9){if(P&&P(),I&&I.aborted&&I.reason instanceof dj){const n=I.reason;throw n.config=e,A&&(n.request=A),H9!==n&&Object.defineProperty(n,"cause",{__proto__:null,value:H9,writable:!0,enumerable:!1,configurable:!0}),n}if(R)throw A&&!R.request&&(R.request=A),R;if(H9 instanceof dj)throw A&&!H9.request&&(H9.request=A),H9;if(H9&&"TypeError"===H9.name&&/Load failed|fetch/i.test(H9.message)){const n=new dj("Network Error",dj.ERR_NETWORK,e,A,H9&&H9.response);throw Object.defineProperty(n,"cause",{__proto__:null,value:H9.cause||H9,writable:!0,enumerable:!1,configurable:!0}),n}throw dj.from(H9,H9&&H9.code,e,A,H9&&H9.response)}var D,N}},fB=new Map,gB=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:o}=t,r=[i,o,n];let a,s,l=r.length,c=fB;for(;l--;)a=r[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:mB(t)),c=s;return s};gB();const bB={http:null,xhr:Zj,fetch:{get:gB}};Yz.forEach(bB,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(T8){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const vB=e=>"- ".concat(e),yB=e=>Yz.isFunction(e)||null===e||!1===e;const wB={getAdapter:function(e,t){e=Yz.isArray(e)?e:[e];const{length:n}=e;let i,o;const r={};for(let a=0;a<n;a++){let n;if(i=e[a],o=i,!yB(i)&&(o=bB[(n=String(i)).toLowerCase()],void 0===o))throw new dj("Unknown adapter '".concat(n,"'"));if(o&&(Yz.isFunction(o)||(o=o.get(t))))break;r[n||"#"+a]=o}if(!o){const e=Object.entries(r).map(([e,t])=>"adapter ".concat(e," ")+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(vB).join("\n"):" "+vB(e[0]):"as no adapter specified";throw new dj("There is no suitable adapter to dispatch the request "+t,dj.ERR_NOT_SUPPORT)}return o},adapters:bB};function xB(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mj(null,e)}function kB(e){xB(e),e.headers=aj.from(e.headers),e.data=Dj.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return wB.getAdapter(e.adapter||Lj.adapter,e)(e).then(function(t){xB(e),e.response=t;try{t.data=Dj.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=aj.from(t.headers),t},function(t){if(!Nj(t)&&(xB(e),t&&t.response)){e.response=t.response;try{t.response.data=Dj.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=aj.from(t.response.headers)}return Promise.reject(t)})}const _B={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_B[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const EB={};_B.transitional=function(e,t,n){return(i,o,r)=>{if(!1===e)throw new dj(function(e,t){return"[Axios v"+dB+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(o," has been removed"+(t?" in "+t:"")),dj.ERR_DEPRECATED);return t&&!EB[o]&&(EB[o]=!0),!e||e(i,o,r)}},_B.spelling=function(e){return(e,t)=>!0};const SB={assertOptions:function(e,t,n){if("object"!=typeof e||null===e)throw new dj("options must be an object",dj.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const r=i[o],a=Object.prototype.hasOwnProperty.call(t,r)?t[r]:void 0;if(a){const t=e[r],n=void 0===t||a(t,r,e);if(!0!==n)throw new dj("option "+r+" must be "+n,dj.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new dj("Unknown option "+r,dj.ERR_BAD_OPTION)}},validators:_B},CB=SB.validators;let TB=class{constructor(e){this.defaults=e||{},this.interceptors={request:new xj,response:new xj}}async request(e,t){try{return await this._request(e,t)}catch(H9){if(H9 instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>
vendor: 2,981 bytes, line 2
2{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(H9.stack){if(n){const t=n.indexOf("\n"),i=-1===t?-1:n.indexOf("\n",t+1),o=-1===i?"":n.slice(i+1);String(H9.stack).endsWith(o)||(H9.stack+="\n"+n)}}else H9.stack=n}catch(T8){}}throw H9}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Xj(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:o}=t;void 0!==n&&SB.assertOptions(n,{silentJSONParsing:CB.transitional(CB.boolean),forcedJSONParsing:CB.transitional(CB.boolean),clarifyTimeoutError:CB.transitional(CB.boolean),legacyInterceptorReqResOrdering:CB.transitional(CB.boolean),advertiseZstdAcceptEncoding:CB.transitional(CB.boolean),validateStatusUndefinedResolves:CB.transitional(CB.boolean)},!1),null!=i&&(Yz.isFunction(i)?t.paramsSerializer={serialize:i}:SB.assertOptions(i,{encode:CB.function,serialize:CB.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),SB.assertOptions(t,{baseUrl:CB.spelling("baseURL"),withXsrfToken:CB.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=o&&Yz.merge(o.common,o[t.method]);o&&Yz.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=aj.concat(r,o);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||kj;n&&n.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let d,u=0;if(!s){const e=[kB.bind(this),void 0];for(e.unshift(...a),e.push(...l),d=e.length,c=Promise.resolve(t);u<d;)c=c.then(e[u++],e[u++]);return c}d=a.length;let p=t;for(;u<d;){const e=a[u++],t=a[u++];try{p=e?e(p):p}catch(h){if(!t){c=Promise.reject(h);break}try{const e=t.call(this,h);Yz.isThenable(e)&&(c=Promise.resolve(e).then(()=>kB.call(this,p)))}catch(m){c=Promise.reject(m)}break}}if(!c)try{c=kB.call(this,p)}catch(h){c=Promise.reject(h)}for(u=0,d=l.length;u<d;)c=c.then(l[u++],l[u++]);return c}getUri(e){return wj($j((e=Xj(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}};Yz.forEach(["delete","get","head","options"],function(e){TB.prototype[e]=function(t,n){return this.request(Xj(n||{},{method:e,url:t,data:n&&Yz.hasOwnProp(n,"data")?n.data:void 0}))}}),Yz.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,i,o){return this.request(Xj(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}TB.prototype[e]=t(),"query"!==e&&(TB.prototype[e+"Form"]=t(!0))});const IB={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(IB).forEach(([e,t])=>{IB[t]=e});const AB=function e(t){const n=new TB(t),i=ez(TB.prototype.request,n);return Yz.extend(i,TB.prototype,n,{allOwnKeys:!0}),Yz.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Xj(t,n))},i}(Lj);AB.Axios=TB,AB.CanceledError=Mj,AB.CancelToken=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,o){n.reason||(n.reason=new Mj(e,i,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},AB.isCancel=Nj,AB.VERSION=dB,AB.toFormData=fj,AB.AxiosError=dj,AB.Cancel=AB.CanceledError,AB.all=function(e){return Promise.all(e)},AB.spread=function(e){return function(t){return e.apply(null,t)}},AB.isAxiosError=function(e){return Yz.isObject(e)&&!0===e.isAxiosError},AB.mergeConfig=Xj,AB.AxiosHeaders=aj,AB.formToJSON=e=>Oj(Yz.isHTMLForm(e)?new FormData(e):e),AB.getAdapter=wB.getAdapter,AB.HttpStatusCode=IB,AB.default=AB;const{Axios:PB,AxiosError:OB,CanceledError:RB,isCancel:LB,CancelToken:DB,VERSION:NB,all:MB,Cancel:zB,isAxiosError:jB,spread:BB,toFormData:FB,AxiosHeaders:VB,HttpStatusCode:UB,formToJSON:qB,getAdapter:HB,mergeConfig:WB,create:GB}=AB,$B=(e,t)=>{const n=Number(e);return!Number.isFinite(n)||n<=0?t:n},YB=(e,t=1,n=25,i)=>{const o=Math.max(1,$B(n,25)),r=Math.max(1,$B(t,1)),a=Math.max(0,Number.isFinite(Number(i))?Number(i):e);return{page:r,limit:o,total:a,totalPages:0===a?0:Math.ceil(a/o),hasNext:r*o<a,hasPrev:r>1}},XB=(e,t={})=>{const n=t.fallbackArrayKeys||[],i=t.defaultPage||1,o=t.defaultLimit||25,r=e;let a=[];if(Array.isArray(r))a=r;else if(Array.isArray(null==r?void 0:r.data))a=r.data;else for(const p of n)if(Array.isArray(null==r?void 0:r[p])){a=r[p];break}const s=null==r?void 0:r.pagination;if(!s||"object"!=typeof s)return{data:a,pagination:YB(a.length,i,o,a.length)};const l=$B(s.page,i),c=$B(s.limit,o),d=Number.isFinite(Number(s.total))?Number(s.total):a.length,u=YB(a.length,l,c,d);return{data:a,pagination:{page:l,limit:c,total:d,totalPages:Number.isFinite(Number(s.totalPages))?Number(s.totalPages):u.totalPages,hasNext:"boolean"==typeof s.hasNext?s.hasNext:u.hasNext,hasPrev:"boolean"==typeof s.hasPrev?s.hasPrev:u.hasPrev}}},{apiBaseUrl:KB}=PC,JB=async(e,t,n,i=!1)=>{try{let r={};if(i){const{getResilientAuthToken:e}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),t=await e();t&&(r={Authorization:"Bearer ".concat(t)})}return(await AB({method:e,url:t,data:n,headers:r})).data}
2catch(r){throw zL.error("Error with ".concat(e.toUpperCase()," request to ").concat(t,":"),r),r}},ZB=async(e,t)=>await JB("post","".concat(KB,"/staff/").concat(e,"/organizations"),t,!0),QB=async e=>await JB("get","".concat(KB,"/organization/").concat(e),void 0,!0),eF=async(e,t)=>{const n=new FormData;return n.append("logo",t),await JB("post","".concat(KB,"/organization/").concat(e,"/logo"),n,!0)},tF=async e=>await JB("delete","".concat(KB,"/organization/").concat(e,"/logo"),void 0,!0),nF=async e=>await JB("get","".concat(KB,"/organization/code/").concat(encodeURIComponent(e)),void 0,!1),iF=async e=>await JB("get","".concat(KB,"/public/organizations/").concat(encodeURIComponent(e)),void 0,!1),oF=async(e,t)=>await JB("patch","".concat(KB,"/organization/").concat(e),t,!0),rF=e=>{const t="string"==typeof(null==e?void 0:e.subscriptionPath)?e.subscriptionPath:null;return{enabled:!0===(null==e?void 0:e.enabled),subscriptionPath:t,subscriptionUrl:t?"".concat(KB.replace(/\/+$/,"")).concat(t):null,enabledAt:(null==e?void 0:e.enabledAt)||null,rotatedAt:(null==e?void 0:e.rotatedAt)||null}},aF=async e=>{const t=await JB("get","".concat(KB,"/organization/").concat(e,"/calendar-subscription"),void 0,!0);return rF(t)},sF=async e=>{const t=await JB("post","".concat(KB,"/organization/").concat(e,"/calendar-subscription"),{},!0);return rF(t)},lF=async e=>{const t=await JB("post","".concat(KB,"/organization/").concat(e,"/calendar-subscription/rotate"),{},!0);return rF(t)},cF=async e=>{const t=await JB("delete","".concat(KB,"/organization/").concat(e,"/calendar-subscription"),void 0,!0);return rF(t)},dF=async e=>{const t=(e=>new URLSearchParams(Object.entries(e).filter(([,e])=>null!=e&&""!==e).map(([e,t])=>[e,String(t)])).toString())({search:null==e?void 0:e.search,type:null==e?void 0:e.type,active:null==e?void 0:e.active,verified:null==e?void 0:e.verified,page:null==e?void 0:e.page,limit:null==e?void 0:e.limit}),n=t?"".concat(KB,"/organizations?").concat(t):"".concat(KB,"/organizations"),i=await JB("get",n,void 0,!1);return XB(i,{defaultPage:(null==e?void 0:e.page)||1,defaultLimit:(null==e?void 0:e.limit)||25})},uF=async(e,t)=>await JB("post","".concat(KB,"/organization/").concat(e,"/attach-photos"),{file_ids:t},!0),pF=async(e,t)=>await JB("delete","".concat(KB,"/organization/").concat(e,"/detach-photos"),{file_ids:t},!0),hF=Object.freeze(Object.defineProperty({__proto__:null,attachPhotosToOrganization:uF,createOrganization:ZB,deleteOrganizationLogo:tF,detachPhotosFromOrganization:pF,disableOrganizationCalendarSubscription:cF,enableOrganizationCalendarSubscription:sF,getOrganization:QB,getOrganizationCalendarSubscription:aF,getOrganizationStaff:async e=>await JB("get","".concat(KB,"/staff?organization_id=").concat(e,"&is_active=true"),void 0,!1),getOrganizationsByStaff:async e=>await JB("get","".concat(KB,"/staff/").concat(e,"/organizations"),void 0,!0),getPublicOrganizationByCode:nF,getPublicOrganizationBySlug:iF,joinOrganization:async(e,t)=>await JB("post","".concat(KB,"/staff/").concat(e,"/organizations/").concat(t),{},!0),listOrganizations:async e=>{let t=1,n=!0;const i=[];for(;n;){const o=await dF({...e,page:t,limit:100});i.push(...o.data),n=o.pagination.hasNext,t+=1}return i},listOrganizationsPage:dF,reorderOrganizationPhotos:async(e,t)=>await JB("patch","".concat(KB,"/organization/").concat(e,"/reorder-photos"),{photo_orders:t},!0),rotateOrganizationCalendarSubscription:lF,updateOrganization:oF,uploadOrganizationLogo:eF},Symbol.toStringTag,{value:"Module"})),mF=["starter","pro","enterprise"],fF={starter:["animal_profiles","foster_onboarding","broadcast_pleas","foster_interest","in_app_messaging","announcements","basic_directory","health_notes_timeline"],pro:["targeted_pleas","response_dashboard","self_service_booking","multi_coordinator","unlimited_animals","assignment_workflow","coordinator_activity_feed","ai_foster_assistant","sms_notifications","priority_support","foster_support_chat","coordinator_assistant_chat","monthly_impact_report"],enterprise:["multiple_appointment_types","coordinator_calendar","unlimited_coordinators","appointment_analytics","response_analytics","ai_agents","custom_onboarding_fields","sms_included_allowance","api_access","location_scheduling","dedicated_onboarding"]};function gF(e){return mF.includes(e)?e:"starter"}const bF=ss("Posthog",{web:()=>o(()=>import("./web-Cxl86TDe.js"),[]).then(e=>new e.PosthogWeb)}),vF="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,yF=globalThis,wF="10.69.0";function xF(){return kF(yF),yF}function kF(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||wF,t[wF]=t[wF]||{}}function _F(e,t,n=yF){const i=n.__SENTRY__=n.__SENTRY__||{},o=i[wF]=i[wF]||{};return o[e]||(o[e]=t())}const EF=["debug","info","warn","error","log","assert","trace"],SF={};function CF(e){if(!("console"in yF))return e();const t=yF.console,n={},i=Object.keys(SF);
2i.forEach(e=>{const i=SF[e];n[e]=t[e],t[e]=i});try{return e()}finally{i.forEach(e=>{t[e]=n[e]})}}function TF(){return AF().enabled}function IF(e,...t){vF&&TF()&&CF(()=>{yF.console[e]("".concat("Sentry Logger ","[").concat(e,"]:"),...t)})}function AF(){return vF?_F("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const PF={enable:function(){AF().enabled=!0},disable:function(){AF().enabled=!1},isEnabled:TF,log:function(...e){IF("log",...e)},warn:function(...e){IF("warn",...e)},error:function(...e){IF("error",...e)}},OF="?",RF=/\(error: (.*)\)/,LF=/captureMessage|captureException/;function DF(...e){const t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,i=0)=>{const o=[],r=e.split("\n");for(let a=n;a<r.length;a++){let e=r[a];e.length>1024&&(e=e.slice(0,1024));const n=RF.test(e)?e.replace(RF,"$1"):e;if(!n.includes("Error: ")){for(const e of t){const t=e(n);if(t){o.push(t);break}}if(o.length>=50+i)break}}return function(e){if(!e.length)return[];const t=Array.from(e);/sentryWrapped/.test(NF(t).function||"")&&t.pop();t.reverse(),LF.test(NF(t).function||"")&&(t.pop(),LF.test(NF(t).function||"")&&t.pop());return t.slice(0,50).map(e=>({...e,filename:e.filename||NF(t).filename,function:e.function||OF}))}(o.slice(i))}}function NF(e){return e[e.length-1]||{}}const MF="<anonymous>";function zF(e){try{return e&&"function"==typeof e&&e.name||MF}catch(T8){return MF}}function jF(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch(T8){return}}}const BF={},FF={};function VF(e,t){return BF[e]=BF[e]||[],BF[e].push(t),()=>{const n=BF[e];if(n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}}function UF(e,t){if(!FF[e]){FF[e]=!0;try{t()}catch(T8){vF&&PF.error("Error while instrumenting ".concat(e),T8)}}}function qF(e,t){const n=e&&BF[e];if(n)for(const i of n)try{i(t)}catch(T8){vF&&PF.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(zF(i),"\nError:"),T8)}}let HF=null;function WF(e){const t="error";VF(t,e),UF(t,GF)}function GF(){HF=yF.onerror,yF.onerror=function(e,t,n,i,o){return qF("error",{column:i,error:o,line:n,msg:e,url:t}),!!HF&&HF.apply(this,arguments)},yF.onerror.__SENTRY_INSTRUMENTED__=!0}let $F=null;function YF(e){const t="unhandledrejection";VF(t,e),UF(t,XF)}function XF(){$F=yF.onunhandledrejection,yF.onunhandledrejection=function(e){return qF("unhandledrejection",e),!$F||$F.apply(this,arguments)},yF.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const KF=Object.prototype.toString;function JF(e){switch(KF.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return lV(e,Error)}}function ZF(e,t){return KF.call(e)==="[object ".concat(t,"]")}function QF(e){return ZF(e,"ErrorEvent")}function eV(e){return ZF(e,"DOMError")}function tV(e){return ZF(e,"String")}function nV(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function iV(e){return null===e||nV(e)||"object"!=typeof e&&"function"!=typeof e}function oV(e){return ZF(e,"Object")}function rV(e){return"object"==typeof e&&null!==e}function aV(e){return"undefined"!=typeof Event&&lV(e,Event)}function sV(e){return Boolean((null==e?void 0:e.then)&&"function"==typeof e.then)}function lV(e,t){try{return e instanceof t}catch(T8){return!1}}function cV(e){return"undefined"!=typeof Request&&lV(e,Request)}function dV(e,t,n){if(!(t in e))return;const i=e[t];if("function"!=typeof i)return;const o=n(i);"function"==typeof o&&pV(o,i);try{e[t]=o}catch(T8){vF&&PF.log('Failed to replace method "'.concat(t,'" in object'),e)}}function uV(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(T8){vF&&PF.log('Failed to add non-enumerable property "'.concat(String(t),'" to object'),e)}}function pV(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,uV(e,"__sentry_original__",t)}catch(T8){}}function hV(e){return e.__sentry_original__}function mV(e){if(JF(e))return{message:e.message,name:e.name,stack:e.stack,...fV(e)};if(aV(e)){const{type:t,target:n,currentTarget:i,detail:o}=e;return{type:t,target:n,currentTarget:i,...o?{detail:o}:{},...fV(e)}}return e}function fV(e){return rV(e)?Object.fromEntries(Object.entries(e)):{}}let gV;function bV(e){if(void 0!==gV)return gV?gV(e):e();const t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),n=yF;return t in n&&"function"==typeof n[t]?(gV=n[t],gV(e)):(gV=null,e())}function vV(){return bV(()=>Math.random())}function yV(){return bV(()=>Date.now())}const wV=Symbol.for("sentry.skipNormalization"),xV=Symbol.for("sentry.overrideNormalizationDepth");let kV,_V;function EV(e){kV=e}function SV(e,t=100,n=1/0){try{return TV("",e,t,n)}catch(H9){return{ERROR:"**non-serializable** (".concat(H9,")")}}}function CV(e,t=3,n=102400){const i=SV(e,t);return o=i,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(o))>n?CV(e,t-1,n):i;var o}function TV(e,t,n=1/0,i=1/0,o=function(){const e=new WeakSet;function t(t){return!!e.has(t)||(e.add(t),!1)}function n(t){e.delete(t)}return[t,n]}()){const[r,a]=o;if(null==t||["boolean","string"].includes(typeof t)||"number"==typeof t&&Number.isFinite(t))return t;const s=IV(e,t);if(!s.startsWith("[object "))return s;if(function(e){return Boolean(e[wV])}(t))return t;const l=function(e){const t=e[xV];return"number"==typeof t?t:void 0}(t),c=void 0!==l?l:n;if(0===c)return s.replace("object ","");if(r(t))return"[Circular ~]";const d=t;if(d&&"function"==typeof d.toJSON)try{return TV("",d.toJSON(),c-1,i,o)}catch(T8){}const u=Array.isArray(t)?[]:{};let p=0;const h=mV(t);for(const m in h){if(!Object.prototype.hasOwnProperty.call(h,m))continue;if(p>=i){u[m]="[MaxProperties ~]";break}const e=h[m];u[m]=TV(m,e,c-1,i,o),p++}return a(t),u}function IV(e,t){try{if(kV){const e=kV(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return"[".concat(t,"]");if("function"==typeof t)return"[Function: ".concat(zF(t),"]");if("symbol"==typeof t)return"[".concat(String(t),"]");if("bigint"==typeof t)return"[BigInt: ".concat(String(t),"]");const e=function(e){const t=Object.getPrototypeOf(e);return(null==t?void 0:t.constructor)?t.constructor.name:"null prototype"}(t);return"[object ".concat(e,"]")}catch(H9){return"**non-serializable** (".concat(H9,")")}}function AV(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:"".concat(e.slice(0,t),"...")}function PV(e,t){if(!Array.isArray(e))return"";const n=[];for(let i=0;i<e.length;i++){const t=e[i];iV(t)?n.push(String(t)):t instanceof Error?n.push(t.message?"".concat(t.name,": ").concat(t.message):t.name):n.push(IV(0,t))}return n.join(t)}function OV(e,t,n=!1){return!!tV(e)&&(ZF(t,"RegExp")?t.test(e):tV(t)?n?e===t:e.includes(t):"function"==typeof t&&t(e))}function RV(e,t=[],n=!1){for(const i of t)if(OV(e,i,n))return!0;return!1}function LV(e=function(){const e=yF;return e.crypto||e.msCrypto}()){try{if(null==e?void 0:e.randomUUID)return bV(()=>e.randomUUID()).replace(/-/g,"")}catch(T8){}return _V||(_V="10000000100040008000100000000000"),_V.replace(/[018]/g,e=>(e^(16*vV()&15)>>e/4).toString(16))}function DV(e){var t,n;return null==(n=null==(t=e.exception)?void 0:t.values)?void 0:n[0]}function NV(e){const{message:t,event_id:n}=e;if(t)return t;const i=DV(e);return i?i.type&&i.value?"".concat(i.type,": ").concat(i.value):i.t
2ype||i.value||n||"<unknown>":n||"<unknown>"}function MV(e,t,n){const i=e.exception=e.exception||{},o=i.values=i.values||[],r=o[0]=o[0]||{};r.value||(r.value=t||""),r.type||(r.type="Error")}function zV(e,t){const n=DV(e);if(!n)return;const i=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...i,...t},t&&"data"in t){const e={...null==i?void 0:i.data,...t.data};n.mechanism.data=e}}function jV(e){if(function(e){try{return e.__sentry_captured__}catch(T8){}}(e))return!0;try{uV(e,"__sentry_captured__",!0)}catch(T8){}return!1}function BV(){return yV()/1e3}let FV;function VV(){return(null!=FV?FV:FV=function(){const{performance:e}=yF;if(!(null==e?void 0:e.now)||!e.timeOrigin)return BV;const t=e.timeOrigin;return()=>(t+bV(()=>e.now()))/1e3}())()}let UV=null;function qV(){return null===UV&&(UV=function(){var e;const{performance:t}=yF;if(!(null==t?void 0:t.now))return;const n=3e5,i=bV(()=>t.now()),o=yV(),r=t.timeOrigin;if("number"==typeof r&&Math.abs(r+i-o)<n)return r;const a=null==(e=t.timing)?void 0:e.navigationStart;if("number"==typeof a&&Math.abs(a+i-o)<n)return a;return o-i}()),UV}function HV(e){const t=VV(),n={sid:LV(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return{sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?"".concat(e.did):void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}(n)};return e&&WV(n,e),n}function WV(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||VV(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:LV()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function GV(e,t,n=2){if(!t||"object"!=typeof t||n<=0)return t;if(e&&0===Object.keys(t).length)return e;const i={...e};for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=GV(i[o],t[o],n-1));return i}function $V(){return LV()}function YV(){return LV().substring(16)}function XV(e){try{const t=yF.WeakRef;if("function"==typeof t)return new t(e)}catch(T8){}return e}function KV(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch(T8){return}return e}}const JV="_sentrySpan";function ZV(e,t){t?uV(e,JV,XV(t)):delete e[JV]}function QV(e){return KV(e[JV])}class eU{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:$V(),sampleRand:vV()}}clone(){const e=new eU;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,ZV(e,QV(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&WV(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,n=t instanceof eU?t.getScopeData():oV(t)?e:void 0,{tags:i,attributes:o,extra:r,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:d,conversationId:u}=n||{};return this._tags={...this._tags,...i},this._attributes={...this._attributes,...o},this._extra={...this._extra,...r},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),d&&(this._propagationContext=d),u&&(this._conversationId=u),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,ZV(this,void 0),this._attachments=[],this.setPropagationContext({traceId:$V(),sampleRand:vV()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){var n;const i="number"==typeof t?t:100;if(i<=0)return this;const o={timestamp:BV(),...e,message:e.message?AV(e.message,2048):e.message};return this._breadcrumbs.push(o),this._breadcrumbs.length>i&&(this._breadcrumbs=this._breadcrumbs.slice(-i),null==(n=this._client)||n.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:QV(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=GV(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=(null==t?void 0:t.event_id)||LV();if(!this._client)return vF&&PF.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:n},this),n}captureMessage(e,t,n){var i;const o=(null==n?void 0:n.event_id)||LV();if(!this._client)return vF&&PF.warn("No client configured on scope - will not capture message!"),o;const r=null!=(i=null==n?void 0:n.syntheticException)?i:new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:r,...n,event_id:o},this),o}
2captureEvent(e,t){const n=e.event_id||(null==t?void 0:t.event_id)||LV();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(vF&&PF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}const tU=e=>e instanceof Promise&&!e[nU],nU=Symbol("chained PromiseLike"),iU=(e,t)=>{if(!t)return e;let n=!1;for(const i in e){if(i in t)continue;n=!0;const o=e[i];"function"==typeof o?Object.defineProperty(t,i,{value:(...t)=>o.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[i]=o}return n&&Object.assign(t,{[nU]:!0}),t};class oU{constructor(e,t){let n,i;n=e||new eU,i=t||new eU,this._stack=[{scope:n}],this._isolationScope=i}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(T8){throw this._popScope(),T8}return sV(n)?((e,t,n)=>{const i=e.then(e=>(t(e),e),e=>{throw n(e),e});return tU(i)&&tU(e)?i:iU(e,i)})(n,()=>this._popScope(),()=>this._popScope()):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function rU(){const e=kF(xF());return e.stack=e.stack||new oU(_F("defaultCurrentScope",()=>new eU),_F("defaultIsolationScope",()=>new eU))}function aU(e){return rU().withScope(e)}function sU(e,t){const n=rU();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function lU(e){return rU().withScope(()=>e(rU().getIsolationScope()))}function cU(e){const t=kF(e);return t.acs?t.acs:{withIsolationScope:lU,withScope:aU,withSetScope:sU,withSetIsolationScope:(e,t)=>lU(t),getCurrentScope:()=>rU().getScope(),getIsolationScope:()=>rU().getIsolationScope()}}function dU(e,t){var n;const{value:i,unit:o}="object"==typeof(r=e)&&null!=r&&!Array.isArray(r)&&Object.keys(r).includes("value")?e:{value:e,unit:void 0};var r;const a=function(e){if(Array.isArray(e))return{value:e,type:"array"};const t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(i),s=o&&"string"==typeof o?{unit:o}:{};if(a)return{...a,...s};if(!t||"skip-undefined"===t&&void 0===i)return;let l="";try{l=null!=(n=JSON.stringify(i))?n:""}catch(T8){}return{value:l,type:"string",...s}}function uU(e,t=!1){const n={};for(const[i,o]of Object.entries(null!=e?e:{})){const e=dU(o,t);e&&(n[i]=e)}return n}function pU(){return cU(xF()).getCurrentScope()}function hU(){return cU(xF()).getIsolationScope()}function mU(){return _F("globalScope",()=>new eU)}function fU(...e){const t=cU(xF());if(2===e.length){const[n,i]=e;return n?t.withSetScope(n,i):t.withScope(i)}return t.withScope(e[0])}function gU(){return pU().getClient()}function bU(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:i,propagationSpanId:o}=t,r={trace_id:n,span_id:o||YV()};return i&&(r.parent_span_id=i),r}const vU="sentry.source",yU="sentry.sample_rate",wU="sentry.previous_trace_sample_rate",xU="sentry.op",kU="sentry.origin",_U="sentry.status.message",EU="sentry.idle_span_finish_reason",SU="sentry.measurement_unit",CU="sentry.measurement_value",TU="sentry.custom_span_name",IU="sentry.profile_id",AU="sentry.exclusive_time",PU="sentry.link.type";function OU(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"};default:return{code:2,message:"internal_error"}}return{code:2,message:"internal_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}const RU="_sentryScope",LU="_sentryIsolationScope",DU=Symbol.for("sentry.otelSourceInference"),NU=Symbol.for("sentry.otelSourceExplicitlySet"),MU=Symbol.for("sentry.tracerProviderSpan");function zU(e,t,n){e&&(uV(e,LU,XV(n)),uV(e,RU,t))}function jU(e){const t=e;return{scope:t[RU],isolationScope:KV(t[LU])}}function BU(e){return!0===e[DU]}function FU(e){return!0===e[MU]}const VU="sentry-";function UU(e){const t=function(e){if(!e||!tV(e)&&!Array.isArray(e))return;if(Array.isArray(e))return e.reduce((e,t)=>
2{const n=HU(t);return Object.entries(n).forEach(([t,n])=>{e[t]=n}),e},{});return HU(e)}(e);if(!t)return;const n=Object.entries(t).reduce((e,[t,n])=>{if(t.startsWith(VU)){e[t.slice(7)]=n}return e},{});return Object.keys(n).length>0?n:void 0}function qU(e){if(!e)return;return function(e){if(0===Object.keys(e).length)return;return Object.entries(e).reduce((e,[t,n],i)=>{const o="".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n)),r=0===i?o:"".concat(e,",").concat(o);return r.length>8192?(vF&&PF.warn("Not adding key: ".concat(t," with val: ").concat(n," to baggage header due to exceeding baggage size limits.")),e):r},"")}(Object.entries(e).reduce((e,[t,n])=>(n&&(e["".concat(VU).concat(t)]=n),e),{}))}function HU(e){return e.split(",").map(e=>{const t=e.indexOf("=");if(-1===t)return[];return[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch(T8){return}})}).reduce((e,[t,n])=>(t&&n&&(e[t]=n),e),{})}const WU=/^o(\d+)\./,GU=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function $U(e,t=!1){const{host:n,path:i,pass:o,port:r,projectId:a,protocol:s,publicKey:l}=e;return"".concat(s,"://").concat(l).concat(t&&o?":".concat(o):"","@").concat(n).concat(r?":".concat(r):"","/").concat(i?"".concat(i,"/"):i).concat(a)}function YU(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function XU(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let i;return t.orgId?i=String(t.orgId):n&&(i=function(e){const t=e.match(WU);return null==t?void 0:t[1]}(n)),i}function KU(e){const t="string"==typeof e?function(e){const t=GU.exec(e);if(!t)return void CF(()=>{});const[n,i,o="",r="",a="",s=""]=t.slice(1);let l="",c=s;const d=c.split("/");if(d.length>1&&(l=d.slice(0,-1).join("/"),c=d.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return YU({host:r,pass:o,path:l,projectId:c,port:a,protocol:n,publicKey:i})}(e):YU(e);if(t&&function(e){if(!vF)return!0;const{port:t,projectId:n,protocol:i}=e;return!(["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(PF.error("Invalid Sentry Dsn: ".concat(t," missing")),!0))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(i)?t&&isNaN(parseInt(t,10))&&(PF.error("Invalid Sentry Dsn: Invalid port ".concat(t)),1):(PF.error("Invalid Sentry Dsn: Invalid protocol ".concat(i)),1):(PF.error("Invalid Sentry Dsn: Invalid projectId ".concat(n)),1)))}(t))return t}function JU(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;return"number"!=typeof t||isNaN(t)||t<0||t>1?void 0:t}const ZU=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function QU(e,t){const n=function(e){if(!e)return;const t=e.match(ZU);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),i=UU(t);if(!(null==n?void 0:n.traceId))return{traceId:$V(),sampleRand:vV()};const o=function(e,t){const n=JU(null==t?void 0:t.sample_rand);if(void 0!==n)return n;const i=JU(null==t?void 0:t.sample_rate);return i&&void 0!==(null==e?void 0:e.parentSampled)?e.parentSampled?vV()*i:i+vV()*(1-i):vV()}(n,i);i&&(i.sample_rand=o.toString());const{traceId:r,parentSpanId:a,parentSampled:s}=n;return{traceId:r,parentSpanId:a,sampled:s,dsc:i||{},sampleRand:o}}function eq(e=$V(),t=YV(),n){let i="";return void 0!==n&&(i=n?"-1":"-0"),"".concat(e,"-").concat(t).concat(i)}function tq(e=$V(),t=YV(),n){return"00-".concat(e,"-").concat(t,"-").concat(n?"01":"00")}let nq=!1;function iq(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:o,parent_span_id:r,status:a,origin:s,links:l}=cq(e);return{parent_span_id:r,span_id:t,trace_id:n,data:i,op:o,status:a,origin:s,links:l}}function oq(e){const{spanId:t,traceId:n,isRemote:i}=e.spanContext(),o=i?t:cq(e).parent_span_id,r=jU(e).scope;return{parent_span_id:o,span_id:i?(null==r?void 0:r.getPropagationContext().propagationSpanId)||YV():t,trace_id:n}}function rq(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:n,...i},attributes:o})=>({span_id:e,trace_id:t,sampled:1===n,attributes:o,...i})):void 0}function aq(e){return(null==e?void 0:e.length)?e.map(({context:{spanId:e,traceId:t,traceFlags:n},attributes:i})=>({span_id:e,trace_id:t,sampled:1===n,attributes:i})):void 0}function sq(e){return"number"==typeof e?lq(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?lq(e.getTime()):VV()}function lq(e){return e>9999999999?e/1e3:e}function cq(e){if(hq(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(pq(e)){const{attributes:i,startTime:o,name:r,endTime:a,status:s,links:l}=e;return{span_id:t,trace_id:n,data:i,description:r,parent_span_id:uq(e),start_timestamp:sq(o),timestamp:sq(a)||void 0,status:fq(s),op:i[xU],origin:i[kU],links:rq(l)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function dq(e){if(hq(e))return e.getStreamedSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(pq(e)){const{attributes:i,startTime:o,name:r,endTime:a,status:s,links:l}=e;return{name:r,span_id:t,trace_id:n,parent_span_id:uq(e),start_timestamp:sq(o),end_timestamp:sq(a),is_segment:e===_q(e),status:gq(s),attributes:bq(i,s),links:aq(l)}}return{span_id:t,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===_q(e)}}function uq(e){var t;return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?null==(t=e.parentSpanContext)?void 0:t.spanId:void 0}function pq(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}function hq(e){return"function"==typeof e.getSpanJSON}function mq(e){const{traceFlags:t}=e.spanContext();return 1===t}function fq(e){if(e&&0!==e.code)return 1===e.code?"ok":e.message||"internal_error"}function gq(e){return e&&1!==e.code&&0!==e.code&&"cancelled"!==e.message?"error":"ok"}function bq(e,t){const n="error"===gq(t)?null==t?void 0:t.message:void 0;return{...n&&{[_U]:n},...e}}const vq="_sentryChildSpans",yq="_sentryRootSpan";function wq(e,t){const n=e[yq]||e;uV(t,yq,n),e[vq]?e[vq].add(t):uV(e,vq,new Set([t]))}function xq(e){const t=new Set;return function e(n){if(!t.has(n)&&mq(n)){t.add(n);const i=n[vq]?Array.from(n[vq]):[];for(const t of i)e(t)}}(e),Array.from(t)}
2const kq=_q;function _q(e){return e[yq]||e}function Eq(){const e=cU(xF());return e.getActiveSpan?e.getActiveSpan():QV(pU())}function Sq(){nq||(CF(()=>{}),nq=!0)}let Cq=!1;function Tq(e){var t;if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const n=e||(null==(t=gU())?void 0:t.getOptions());return!(!n||null==n.tracesSampleRate&&!n.tracesSampler)}function Iq(e){PF.log("Ignoring span ".concat(e.op," - ").concat(e.description," because it matches `ignoreSpans`."))}function Aq(e,t){if(!(null==t?void 0:t.length))return!1;for(const n of t){if(Rq(n)){if(e.description&&OV(e.description,n))return vF&&Iq(e),!0;continue}const t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;const i=!n.name||e.description&&OV(e.description,n.name),o=!n.op||e.op&&OV(e.op,n.op),r=!n.attributes||Object.entries(n.attributes).every(([t,n])=>{var i;return Pq(null==(i=e.attributes)?void 0:i[t],n)});if(i&&o&&r)return vF&&Iq(e),!0}return!1}function Pq(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?OV(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function Oq(e,t){const n=t.parent_span_id,i=t.span_id;if(n)for(const o of e)o.parent_span_id===i&&(o.parent_span_id=n)}function Rq(e){return"string"==typeof e||e instanceof RegExp}const Lq=Symbol.for("sentry.nonRecordingSpan");class Dq{constructor(e={}){this._traceId=e.traceId||$V(),this._spanId=e.spanId||YV(),this.dropReason=e.dropReason,uV(this,Lq,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function Nq(e){return!!e&&!0===e[Lq]}const Mq="production",zq="_frozenDsc";function jq(e,t){uV(e,zq,t)}function Bq(e,t){const n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o={environment:n.environment||Mq,release:n.release,public_key:i,trace_id:e,org_id:XU(t)};return t.emit("createDsc",o),o}function Fq(e,t){const n=t.getPropagationContext();return n.dsc||Bq(n.traceId,e)}function Vq(e){var t,n,i,o,r;const a=gU();if(!a)return{};const s=kq(e),l=cq(s),c=l.data,d=s.spanContext().traceState,u=null!=(n=null!=(t=null==d?void 0:d.get("sentry.sample_rate"))?t:c[yU])?n:c[wU];function p(e){return"number"!=typeof u&&"string"!=typeof u||(e.sample_rate="".concat(u)),e}const h=s[zq];if(h)return p(h);const m=Nq(s),f=m&&"ignored"===s.dropReason;if(m&&(!Tq(a.getOptions())||f)){const e=jU(s).scope;if(e){const t={...Fq(a,e)};return f&&(t.sampled="false"),p(t)}}const g=null==d?void 0:d.get("sentry.dsc"),b=g&&UU(g);if(b)return p(b);const v=Bq(e.spanContext().traceId,a),y=null!=(i=c[vU])?i:c["sentry.segment.name.source"],w=l.description;return"url"!==y&&w&&(v.transaction=w),Tq()&&(v.sampled=String(mq(s)),v.sample_rand=null!=(r=null==d?void 0:d.get("sentry.sample_rand"))?r:null==(o=jU(s).scope)?void 0:o.getPropagationContext().sampleRand.toString()),p(v),a.emit("createDsc",v,s),v}function Uq(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}function qq(e,t=[]){return[e,t]}function Hq(e,t){const[n,i]=e;return[n,[...i,t]]}function Wq(e,t){const n=e[1];for(const i of n){if(t(i,i[0].type))return!0}return!1}function Gq(e){const t=kF(yF);return t.encodePolyfill?t.encodePolyfill(e):(new TextEncoder).encode(e)}function $q(e){const[t,n]=e;let i=JSON.stringify(t);function o(e){"string"==typeof i?i="string"==typeof e?i+e:[Gq(i),e]:i.push("string"==typeof e?Gq(e):e)}for(const r of n){const[e,t]=r;if(o("\n".concat(JSON.stringify(e),"\n")),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch(T8){e=JSON.stringify(SV(t))}o(e)}}return"string"==typeof i?i:function(e){const t=e.reduce((e,t)=>e+t.length,0),n=new Uint8Array(t);let i=0;for(const o of e)n.set(o,i),i+=o.length;return n}(i)}function Yq(e){return[{type:"span"},e]}function Xq(e){const t="string"==typeof e.data?Gq(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const Kq={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function Jq(e){return function(e){return e in Kq}(e)?Kq[e]:e}function Zq(e){if(!(null==e?void 0:e.sdk))return;
2const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Qq(e,t,n,i){const o=Zq(n),r=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){var n,i,o,r;if(!t)return e;const a=e.sdk||{};e.sdk={...a,name:a.name||t.name,version:a.version||t.version,integrations:[...(null==(n=e.sdk)?void 0:n.integrations)||[],...t.integrations||[]],packages:[...(null==(i=e.sdk)?void 0:i.packages)||[],...t.packages||[]],settings:(null==(o=e.sdk)?void 0:o.settings)||t.settings?{...null==(r=e.sdk)?void 0:r.settings,...t.settings}:void 0}}(e,null==n?void 0:n.sdk);const a=function(e,t,n,i){var o;const r=null==(o=e.sdkProcessingMetadata)?void 0:o.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date(yV()).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:$U(i)},...r&&{trace:r}}}(e,o,i,t);delete e.sdkProcessingMetadata;return qq(a,[[{type:r},e]])}function eH(e,t,n,i=Eq()){const o=i&&kq(i);o&&(vF&&PF.log("[Measurement] Setting measurement on root span: ".concat(e," = ").concat(t," ").concat(n)),o.addEvent(e,{[CU]:t,[SU]:n}))}function tH(e){if(!e||0===e.length)return;const t={};return e.forEach(e=>{const n=e.attributes||{},i=n[SU],o=n[CU];"string"==typeof i&&"number"==typeof o&&(t[e.name]={value:o,unit:i})}),t}function nH(){return kF(xF()).segmentSpanCaptureStrategy}function iH(e){return"stream"===e.getOptions().traceLifecycle}class oH{constructor(e={}){this._traceId=e.traceId||$V(),this._spanId=e.spanId||YV(),this._startTime=e.startTimestamp||VV(),this._links=e.links,this._attributes={},this.setAttributes({[kU]:"manual",[xU]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?1:0}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===vU&&void 0!==t&&BU(this)&&uV(this,NU,!0)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=sq(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,BU(this)||this.setAttribute(vU,"custom")),this}end(e){this._endTime||(this._endTime=sq(e),function(e){if(!vF)return;const{description:t="< unknown name >",op:n="< unknown op >"}=cq(e),{spanId:i}=e.spanContext(),o=kq(e)===e,r='[Tracing] Finishing "'.concat(n,'" ').concat(o?"root ":"",'span "').concat(t,'" with ID ').concat(i);PF.log(r)}(this),this._onSpanEnded()),this._frozen=FU(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[xU],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:fq(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[kU],profile_id:this._attributes[IU],exclusive_time:this._attributes[AU],measurements:tH(this._events),is_segment:this._isStandaloneSpan&&kq(this)===this||void 0,segment_id:this._isStandaloneSpan?kq(this).spanContext().spanId:void 0,links:rq(this._links)}}getStreamedSpanJSON(){var e,t;return{name:null!=(e=this._name)?e:"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:null!=(t=this._endTime)?t:this._startTime,is_segment:this._isStandaloneSpan||this===kq(this),status:gq(this._status),attributes:bq(this._attributes,this._status),links:aq(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;vF&&PF.log("[Tracing] Adding an event to span:",e);const i=rH(t)?t:n||VV(),o=rH(t)?{}:t||{},r={name:e,time:sq(i),attributes:o};return this._events.push(r),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=gU();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));const t=kq(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=gU();if(!t)return;const n=e[1];
2if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}(function(e,t){const n=Vq(e[0]),i=null==t?void 0:t.getDsn(),o=null==t?void 0:t.getOptions().tunnel,r={sent_at:new Date(yV()).toISOString(),...(a=n,!!a.trace_id&&!!a.public_key&&{trace:n}),...!!o&&i&&{dsn:$U(i)}};var a;const{beforeSendSpan:s,ignoreSpans:l}=(null==t?void 0:t.getOptions())||{},c=(null==l?void 0:l.length)?e.filter(e=>{const t=cq(e);return!Aq({description:t.description,op:t.op,attributes:t.data},l)}):e,d=e.length-c.length;d&&(null==t||t.recordDroppedEvent("before_send","span",d));const u=s?e=>{const t=cq(e);return(Uq(s)?t:s(t))||(Sq(),t)}:cq,p=[];for(const h of c){const e=u(h);e&&p.push(Yq(e))}return qq(r,p)}([this],e)):(vF&&PF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));if(!n){const e=nH();if(e){const n=jU(this).scope||pU();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&iH(e))return void e.emit("afterSegmentSpanEnd",this);const i=jU(this).scope||pU(),o=nH();if(o)o.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),i);else{const e=this._convertSpanToTransaction();e&&i.captureEvent(e)}}_convertSpanToTransaction(e={}){var t,n,i,o;if(!aH(cq(this)))return;this._name||(vF&&PF.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:r,isolationScope:a}=jU(this),s=null==(t=null==r?void 0:r.getScopeData().sdkProcessingMetadata)?void 0:t.normalizedRequest;if(!0!==this._sampled)return;null==(n=e.onSpanCaptured)||n.call(e,this);const l=[];for(const h of xq(this)){if(h===this||sH(h)||(null==(i=e.isSpanAlreadyCaptured)?void 0:i.call(e,h)))continue;const t=cq(h);aH(t)&&(null==(o=e.onSpanCaptured)||o.call(e,h),l.push(t))}const c=this._attributes[vU];delete this._attributes[TU];let d=!1;l.forEach(e=>{var t;delete e.data[TU],(null==(t=e.op)?void 0:t.startsWith("gen_ai."))&&(d=!0)});const u={contexts:{trace:iq(this)},spans:l.length>1e3?l.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):l,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:r,capturedSpanIsolationScope:a,dynamicSamplingContext:Vq(this),hasGenAiSpans:d},request:s,...c&&{transaction_info:{source:c}}},p=tH(this._events);return p&&Object.keys(p).length&&(vF&&PF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(p,void 0,2)),u.measurements=p),u}}function rH(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function aH(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}function sH(e){return e instanceof oH&&e.isStandaloneSpan()}function lH(e){const t=uH();return t.startInactiveSpan?t.startInactiveSpan(e):function(e){const t=function(e){const t=e.experimental||{},n={isStandalone:t.standalone,...e};if(e.startTime){const t={...n};return t.startTimestamp=sq(e.startTime),delete t.startTime,t}return n}(e),{forceTransaction:n,parentSpan:i}=e,o=e.scope?t=>fU(e.scope,t):void 0!==i?e=>cH(i,e):e=>e();return o(()=>{const o=pU(),r=function(e,t){if(t)return t;if(null===t)return;const n=QV(e);if(!n)return;const i=gU(),o=i?i.getOptions():{};if(o.parentSpanIsAlwaysRootSpan)return kq(n);return n}(o,i),a=gU();return e.onlyIfParent&&!r?function(e,t){null==t||t.recordDroppedEvent("no_parent_span","span");const n=new Dq({traceId:e.getPropagationContext().traceId});return zU(n,e,hU()),n}(o,a):function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:i}){var o;const r=hU();if(!Tq()){const t={...r.getPropagationContext(),...i.getPropagationContext()},o=e?e.spanContext().traceId:t.traceId,a=new Dq({traceId:o});return e&&!n&&wq(e,a),zU(a,i,r),a}const a=gU();if(function(e,t){var n;const i=null==e?void 0:e.getOptions().ignoreSpans;if(!e||!iH(e)||!(null==i?void 0:i.length))return!1;return Aq({description:t.name||"",op:(null==(n=t.attributes)?void 0:n[xU])||t.op,attributes:t.attributes},i)}(a,t)){dH(i)||null==a||a.recordDroppedEvent("ignored","span");const t=new Dq({dropReason:"ignored",traceId:null!=(o=null==e?void 0:e.spanContext().traceId)?o:i.getPropagationContext().traceId});return e&&!n&&wq(e,t),zU(t,i,r),t}let s;if(e&&!n)s=function(e,t,n,i){const{spanId:o,traceId:r}=e.spanContext(),a=dH(t),s=!a&&mq(e),l=s?new oH({...n,parentSpanId:o,traceId:r,sampled:s}):new Dq({traceId:r});wq(e,l),zU(l,t,i);const c=gU();if(!c)return l;iH(c)&&Nq(l)&&(Nq(e)&&e.dropReason?(l.dropReason=e.dropReason,c.recordDroppedEvent(e.dropReason,"span")):a||(l.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span")));
2c.emit("spanStart",l),n.endTimestamp&&(c.emit("spanEnd",l),c.emit("afterSpanEnd",l));return l}(e,i,t,r),wq(e,s);else if(e){const n=Vq(e),{traceId:o,spanId:a}=e.spanContext(),l=mq(e);s=pH({traceId:o,parentSpanId:a,...t},i,r,l),jq(s,n)}else{const{traceId:e,dsc:n,parentSpanId:o,sampled:a}={...r.getPropagationContext(),...i.getPropagationContext()};s=pH({traceId:e,parentSpanId:o,...t},i,r,a),n&&jq(s,n)}return function(e){if(!vF)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:i}=cq(e),{spanId:o}=e.spanContext(),r=mq(e),a=kq(e),s=a===e,l="[Tracing] Starting ".concat(r?"sampled":"unsampled"," ").concat(s?"root ":"","span"),c=["op: ".concat(n),"name: ".concat(t),"ID: ".concat(o)];if(i&&c.push("parent ID: ".concat(i)),!s){const{op:e,description:t}=cq(a);c.push("root ID: ".concat(a.spanContext().spanId)),e&&c.push("root op: ".concat(e)),t&&c.push("root description: ".concat(t))}PF.log("".concat(l,"\n ").concat(c.join("\n ")))}(s),s}({parentSpan:r,spanArguments:t,forceTransaction:n,scope:o})})}(e)}function cH(e,t){const n=uH();return n.withActiveSpan?n.withActiveSpan(e,t):fU(n=>(ZV(n,e||void 0),t(n)))}function dH(e=pU()){const t=uH();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function uH(){return cU(xF())}function pH(e,t,n,i){var o,r;const a=gU(),s=(null==a?void 0:a.getOptions())||{},{name:l=""}=e,c={spanAttributes:{...e.attributes},spanName:l,parentSampled:i};null==a||a.emit("beforeSampling",c,{decision:!1});const d=null!=(o=c.parentSampled)?o:i,u=c.spanAttributes,p=t.getPropagationContext(),h=dH(t),[m,f,g]=h?[!1]:function(e,t,n){if(!Tq(e))return[!1];let i,o;"function"==typeof e.tracesSampler?(o=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),i=!0):void 0!==t.parentSampled?o=t.parentSampled:void 0!==e.tracesSampleRate&&(o=e.tracesSampleRate,i=!0);const r=JU(o);if(void 0===r)return vF&&PF.warn("[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(o)," of type ").concat(JSON.stringify(typeof o),".")),[!1];if(!r)return vF&&PF.log("[Tracing] Discarding transaction because ".concat("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),[!1,r,i];const a=n<r;return a||vF&&PF.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(o),")")),[a,r,i]}(s,{name:l,parentSampled:d,attributes:u,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:JU(null==(r=p.dsc)?void 0:r.sample_rate)},p.sampleRand),b=new oH({...e,attributes:{[vU]:"custom",[yU]:void 0!==f&&g?f:void 0,...u},sampled:m});return m||!a||h||(vF&&PF.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),a.recordDroppedEvent("sample_rate",iH(a)?"span":"transaction")),zU(b,t,n),a&&a.emit("spanStart",b),b}function hH(e){return Nq(e)&&"ignored"===e.dropReason}const mH={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function fH(e,t={}){const n=new Map;let i,o=!1,r="externalFinish",a=!t.disableAutoFinish;const s=[],{idleTimeout:l=mH.idleTimeout,finalTimeout:c=mH.finalTimeout,childSpanTimeout:d=mH.childSpanTimeout,beforeSpanEnd:u,trimIdleSpanEndTimestamp:p=!0}=t,h=gU(),m=pU();if(!h||!Tq()){const e=new Dq({traceId:m.getPropagationContext().traceId});return zU(e,m,hU()),e}const f=Eq(),g=function(e){const t=lH(e);return ZV(pU(),t),vF&&PF.log("[Tracing] Started span is an idle span"),t}(e);function b(){i&&(clearTimeout(i),i=void 0)}function v(e){b(),i=setTimeout(()=>{!o&&0===n.size&&a&&(r="idleTimeout",g.end(e))},l)}function y(e){i=setTimeout(()=>{!o&&a&&(r="heartbeatFailed",g.end(e))},d)}function w(e){o=!0,n.clear(),s.forEach(e=>e()),ZV(m,f);const t=cq(g),{start_timestamp:i}=t;if(!i)return;t.data[EU]||g.setAttribute(EU,r);const a=t.status;a&&"unknown"!==a||g.setStatus({code:1}),PF.log('[Tracing] Idle span "'.concat(t.op,'" finished'));const d=xq(g).filter(e=>e!==g);let u=0;d.forEach(t=>{t.isRecording()&&(t.setStatus({code:2,message:"cancelled"}),t.end(e),vF&&PF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=cq(t),{timestamp:i=0,start_timestamp:o=0}=n,r=o<=e,a=i-o<=(c+l)/1e3;if(vF){const e=JSON.stringify(t,void 0,2);r?a||PF.log("[Tracing] Discarding span since it finished after idle span final timeout",e):PF.log("[Tracing] Discarding span since it happened after idle span was finished",e)}a&&r||(!function(e,t){e[vq]&&e[vq].delete(t)}(g,t),u++)}),u>0&&g.setAttribute("sentry.idle_span_discarded_spans",u)}return g.end=new Proxy(g.end,{apply(e,t,n){if(u&&u(g),Nq(t))return;const[i,...o]=n,r=sq(i||VV()),a=xq(g).filter(e=>e!==g),s=cq(g);if(!a.length||!p)return w(r),Reflect.apply(e,t,[r,...o]);const l=h.getOptions().ignoreSpans,d=null==a?void 0:a.reduce((e,t)=>
2{const n=cq(t);return n.timestamp?l&&Aq({description:n.description,op:n.op,attributes:n.data},l)?e:e?Math.max(e,n.timestamp):n.timestamp:e},void 0),m=s.start_timestamp,f=Math.min(m?m+c/1e3:1/0,Math.max(m||-1/0,Math.min(r,d||1/0)));return w(f),Reflect.apply(e,t,[f,...o])}}),s.push(h.on("spanStart",e=>{if(o||e===g||cq(e).timestamp||e instanceof oH&&e.isStandaloneSpan())return;var t;xq(g).includes(e)&&(t=e.spanContext().spanId,b(),n.set(t,!0),y(VV()+d/1e3))})),s.push(h.on("spanEnd",e=>{var t;o||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&v(VV()+l/1e3))})),s.push(h.on("idleSpanEnableAutoFinish",e=>{e===g&&(a=!0,v(),n.size&&y())})),t.disableAutoFinish||v(),setTimeout(()=>{o||(g.setStatus({code:2,message:"deadline_exceeded"}),r="finalTimeout",g.end())},c),g}function gH(e,t){const{fingerprint:n,span:i,breadcrumbs:o,sdkProcessingMetadata:r}=t;!function(e,t){const{extra:n,tags:i,user:o,contexts:r,level:a,transactionName:s}=t;Object.keys(n).length&&(e.extra={...n,...e.extra});Object.keys(i).length&&(e.tags={...i,...e.tags});Object.keys(o).length&&(e.user={...o,...e.user});Object.keys(r).length&&(e.contexts={...r,...e.contexts});a&&(e.level=a);s&&"transaction"!==e.type&&(e.transaction=s)}(e,t),i&&function(e,t){e.contexts={trace:oq(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:Vq(t),...e.sdkProcessingMetadata};const n=kq(t),i=cq(n).description;i&&!e.transaction&&"transaction"===e.type&&(e.transaction=i)}(e,i),function(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t));e.fingerprint.length||delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,o),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,r)}function bH(e,t){const{extra:n,tags:i,attributes:o,user:r,contexts:a,level:s,sdkProcessingMetadata:l,breadcrumbs:c,fingerprint:d,eventProcessors:u,attachments:p,propagationContext:h,transactionName:m,span:f}=t;vH(e,"extra",n),vH(e,"tags",i),vH(e,"attributes",o),vH(e,"user",r),vH(e,"contexts",a),e.sdkProcessingMetadata=GV(e.sdkProcessingMetadata,l,2),s&&(e.level=s),m&&(e.transactionName=m),f&&(e.span=f),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),d.length&&(e.fingerprint=[...e.fingerprint,...d]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function vH(e,t,n){e[t]=GV(e[t],n,1)}function yH(e,t){const n=mU().getScopeData();return e&&bH(n,e.getScopeData()),t&&bH(n,t.getScopeData()),n}const wH="http.url",xH="sentry.segment.name",kH="sentry.transaction",_H="url.full",EH="url.path";function SH(e,t){var n;const i=null!=(n=e.attributes)?n:e.attributes={};Object.entries(t).forEach(([e,t])=>{null==t||e in i||(i[e]=t)})}function CH(e){return new IH(t=>{t(e)})}function TH(e){return new IH((t,n)=>{n(e)})}class IH{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new IH((n,i)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(T8){i(T8)}else n(t)},e=>{if(t)try{n(t(e))}catch(T8){i(T8)}else i(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new IH((t,n)=>{let i,o;return this.then(t=>{o=!1,i=t,e&&e()},t=>{o=!0,i=t,e&&e()}).then(()=>{o?n(i):t(i)})})}_executeHandlers(){if(0===this._state)return;const e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){const t=(e,t)=>{0===this._state&&(sV(t)?t.then(n,i):(this._state=e,this._value=t,this._executeHandlers()))},n=e=>{t(1,e)},i=e=>{t(2,e)};try{e(n,i)}catch(T8){i(T8)}}}function AH(e,t,n,i=0){try{const o=PH(t,n,e,i);return sV(o)?o:CH(o)}catch(o){return TH(o)}}function PH(e,t,n,i){const o=n[i];if(!e||!o)return e;const r=o({...e},t);return vF&&null===r&&PF.log('Event processor "'.concat(o.id||"?",'" dropped event')),sV(r)?r.then(e=>PH(e,t,n,i+1)):PH(r,t,n,i+1)}let OH,RH,LH,DH;function NH(e,t,n,i,o,r){const{normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||n.event_id||LV(),timestamp:t.timestamp||BV()},c=n.integrations||e.integrations.map(e=>e.name);!function(e,t){var n,i;const{environment:o,release:r,dist:a,maxValueLength:s}=t;e.environment=e.environment||o||Mq,!e.release&&r&&(e.release=r);!e.dist&&a&&(e.dist=a);const l=e.request;(null==l?void 0:l.url)&&s&&(l.url=AV(l.url,s));
2s&&(null==(i=null==(n=e.exception)?void 0:n.values)||i.forEach(e=>{e.value&&(e.value=AV(e.value,s))}))}(l,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(l,c),o&&o.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){var n,i;const o=function(e){const t=yF._sentryDebugIds,n=yF._debugIds;if(!t&&!n)return{};const i=t?Object.keys(t):[],o=n?Object.keys(n):[];if(DH&&i.length===RH&&o.length===LH)return DH;RH=i.length,LH=o.length,DH={},OH||(OH={});const r=(t,n)=>{for(const i of t){const t=n[i],o=null==OH?void 0:OH[i];if(o&&DH&&t)DH[o[0]]=t,OH&&(OH[i]=[o[0],t]);else if(t){const n=e(i);for(let e=n.length-1;e>=0;e--){const o=n[e],r=null==o?void 0:o.filename;if(r&&DH&&OH){DH[r]=t,OH[i]=[r,t];break}}}}};return t&&r(i,t),n&&r(o,n),DH}(t);null==(i=null==(n=e.exception)?void 0:n.values)||i.forEach(e=>{var t,n;null==(n=null==(t=e.stacktrace)?void 0:t.frames)||n.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}(l,e.stackParser);const d=function(e,t){if(!t)return e;const n=e?e.clone():new eU;return n.update(t),n}(i,n.captureContext);n.mechanism&&zV(l,n.mechanism);const u=o?o.getEventProcessors():[],p=yH(r,d),h=[...n.attachments||[],...p.attachments];h.length&&(n.attachments=h),gH(l,p);const m=[...u,...p.eventProcessors];
2return(n.data&&!0===n.data.__sentry__?CH(l):AH(m,l,n)).then(e=>(e&&function(e){var t,n;const i={};if(null==(n=null==(t=e.exception)?void 0:t.values)||n.forEach(e=>{var t,n;null==(n=null==(t=e.stacktrace)?void 0:t.frames)||n.forEach(e=>{e.debug_id&&(e.abs_path?i[e.abs_path]=e.debug_id:e.filename&&(i[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(i).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const o=e.debug_meta.images;Object.entries(i).forEach(([e,t])=>{o.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof a&&a>0?function(e,t,n){var i,o;if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:SV(e.data,t,n)}}))},...e.user&&{user:SV(e.user,t,n)},...e.contexts&&{contexts:SV(e.contexts,t,n)},...e.extra&&{extra:SV(e.extra,t,n)}};(null==(i=e.contexts)?void 0:i.trace)&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=SV(e.contexts.trace.data,t,n)));e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:SV(e.data,t,n)}})));(null==(o=e.contexts)?void 0:o.flags)&&r.contexts&&(r.contexts.flags=SV(e.contexts.flags,3,n));return r}(e,a,s):e))}function MH(e){if(e)return function(e){return e instanceof eU||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>zH.includes(e))}(e)?{captureContext:e}:e}const zH=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function jH(e,t){return pU().captureException(e,MH(t))}function BH(e,t){return pU().captureEvent(e,t)}function FH(e){hU().setUser(e)}function VH(e){const t=hU(),{user:n}=yH(t,pU()),{userAgent:i}=yF.navigator||{},o=HV({user:n,...i&&{userAgent:i},...e}),r=t.getSession();return"ok"===(null==r?void 0:r.status)&&WV(r,{status:"exited"}),UH(),t.setSession(o),o}function UH(){const e=hU(),t=pU().getSession()||e.getSession();t&&function(e){let t={};"ok"===e.status&&(t={status:"exited"}),WV(e,t)}(t),qH(),e.setSession()}function qH(){const e=hU(),t=gU(),n=e.getSession();n&&t&&t.captureSession(n)}function HH(e=!1){e?UH():qH()}function WH(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}function GH(e,t,n){return t||"".concat(function(e){return"".concat(function(e){const t=e.protocol?"".concat(e.protocol,":"):"",n=e.port?":".concat(e.port):"";return"".concat(t,"//").concat(e.host).concat(n).concat(e.path?"/".concat(e.path):"","/api/")}(e)).concat(e.projectId,"/envelope/")}(e),"?").concat(function(e,t){const n={sentry_version:"7"};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client="".concat(t.name,"/").concat(t.version)),new URLSearchParams(n).toString()}(e,n))}const $H=[];function YH(e){const t=e.defaultIntegrations||[],n=e.integrations;let i;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))i=[...t,...n];else if("function"==typeof n){const e=n(t);i=Array.isArray(e)?e:[e]}else i=t;return function(e){const t={};return e.forEach(e=>{const{name:n}=e,i=t[n];i&&!i.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)}),Object.values(t)}(i)}function XH(e,t){for(const n of t)(null==n?void 0:n.afterAllSetup)&&n.afterAllSetup(e)}function KH(e,t,n){if(n[t.name])vF&&PF.log("Integration skipped because it was already installed: ".concat(t.name));else{if(n[t.name]=t,$H.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),$H.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,i)=>n(t,i,e))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),i=Object.assign((t,i)=>n(t,i,e),{id:t.name});e.addEventProcessor(i)}["processSpan","processSegmentSpan"].forEach(n=>{const i=t[n];"function"==typeof i&&e.on(n,n=>i.call(t,n,e))}),vF&&PF.log("Integration installed: ".concat(t.name))}}function JH(e){const t=gU();t?t.addIntegration(e):vF&&PF.warn('Cannot add integration "'.concat(e.name,'" because no SDK Client is available.'))}function ZH(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function QH(){return"undefined"!=typeof window&&(!ZH()||function(){const e=yF.process;return"renderer"===(null==e?void 0:e.type)}())}function eW(e,t){const n=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...QH()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function tW(e,t){var n;const i=null!=(n=null!=t?t:function(e){return nW().get(e)}(e))?n:[];if(0===i.length)return;const o=e.getOptions(),r=function(e,t,n,i,o){const r={};return(null==t?void 0:t.sdk)&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&i&&(r.dsn=$U(i)),qq(r,[eW(e,o)])}(i,o._metadata,o.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);nW().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(r)}function nW(){return _F("clientToLogBufferMap",()=>new WeakMap)}function iW(e,t){const n=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...QH()&&{ingest_settings:{infer_ip:n,infer_user_agent:n}},items:e}]}function oW(e,t){var n;const i=null!=(n=null!=t?t:function(e){return rW().get(e)}(e))?n:[];if(0===i.length)return;const o=e.getOptions(),r=function(e,t,n,i,o){const r={};return(null==t?void 0:t.sdk)&&(r.sdk={name:t.sdk.name,version:t.sdk.version}),n&&i&&(r.dsn=$U(i)),qq(r,[iW(e,o)])}(i,o._metadata,o.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);rW().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(r)}function rW(){return _F("clientToMetricBufferMap",()=>new WeakMap)}function aW(e){const t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return n=t,{...n,attributes:uU(n.attributes),links:null==(i=n.links)?void 0:i.map(e=>({...e,attributes:uU(e.attributes)}))};var n,i}const sW=Symbol.for("SentryBufferFullError");function lW(e=100){const t=new Set;function n(e){t.delete(e)}return{get $(){return Array.from(t)},add:function(i){if(!(t.size<e))return TH(sW);const o=i();return t.add(o),o.then(()=>n(o),()=>n(o)),o},drain:function(e){if(!t.size)return CH(!0);const n=Promise.allSettled(Array.from(t)).then(()=>!0);if(!e)return n;const i=[n,new Promise(t=>WH(setTimeout(()=>t(!1),e)))];return Promise.race(i)}}}function cW(e,{statusCode:t,headers:n},i=yV()){const o={...e},r=null==n?void 0:n["x-sentry-rate-limits"],a=null==n?void 0:n["retry-after"];if(r)for(const s of r.trim().split(",")){const[e,t,,,n]=s.split(":",5),r=parseInt(e,10),a=1e3*(isNaN(r)?60:r);if(t)for(const s of t.split(";"))"metric_bucket"===s&&n&&!n.split(";").includes("custom")||(o[s]=i+a);else o.all=i+a}else a?o.all=i+function(e,t=yV()){const n=parseInt("".concat(e),10);if(!isNaN(n))return 1e3*n;const i=Date.parse("".concat(e));return isNaN(i)?6e4:i-t}(a,i):429===t&&(o.all=i+6e4);return o}function dW(e,t,n=lW(e.bufferSize||64)){let i={};return{send:function(o){const r=[];
2if(Wq(o,(t,n)=>{const o=Jq(n);!function(e,t,n=yV()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(i,o)?r.push(t):e.recordDroppedEvent("ratelimit_backoff",o)}),0===r.length)return Promise.resolve({});const a=qq(o[0],r),s=t=>{!function(e,t){return Wq(e,(e,n)=>t.includes(n))}(a,["client_report"])?Wq(a,(n,i)=>{e.recordDroppedEvent(t,Jq(i))}):vF&&PF.warn("Dropping client report. Will not send outcomes (reason: ".concat(t,")."))};return n.add(()=>t({body:$q(a)}).then(e=>413===e.statusCode?(vF&&PF.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error"),e):(vF&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&PF.warn("Sentry responded with status code ".concat(e.statusCode," to sent event.")),i=cW(i,e),e),e=>{throw s("network_error"),vF&&PF.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===sW)return vF&&PF.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>n.drain(e)}}function uW(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];(null==n?void 0:n.value)&&(t.push(n.value),n.type&&t.push("".concat(n.type,": ").concat(n.value)))}catch(T8){}return t}const pW=["forwarded","-ip","remote-","via","-user"];const hW={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5};function mW(e){var t,n,i,o,r,a,s,l,c,d,u,p,h,m,f,g,b,v,y,w,x;const k=null!=e.dataCollection?hW:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:pW},httpHeaders:{request:{deny:pW},response:{deny:pW}},httpBodies:[],urlQueryParams:{deny:pW},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7};const _=null!=(t=e.dataCollection)?t:{};return{userInfo:null!=(n=_.userInfo)?n:k.userInfo,cookies:null!=(i=_.cookies)?i:k.cookies,httpHeaders:{request:null!=(r=null==(o=_.httpHeaders)?void 0:o.request)?r:k.httpHeaders.request,response:null!=(s=null==(a=_.httpHeaders)?void 0:a.response)?s:k.httpHeaders.response},httpBodies:null!=(l=_.httpBodies)?l:k.httpBodies,urlQueryParams:null!=(d=null!=(c=_.urlQueryParams)?c:_.queryParams)?d:k.urlQueryParams,graphQL:{document:null!=(p=null==(u=_.graphQL)?void 0:u.document)?p:k.graphQL.document,variables:null!=(m=null==(h=_.graphQL)?void 0:h.variables)?m:k.graphQL.variables},genAI:{inputs:null!=(g=null==(f=_.genAI)?void 0:f.inputs)?g:k.genAI.inputs,outputs:null!=(v=null==(b=_.genAI)?void 0:b.outputs)?v:k.genAI.outputs},databaseQueryData:null!=(y=_.databaseQueryData)?y:k.databaseQueryData,stackFrameVariables:null!=(w=_.stackFrameVariables)?w:k.stackFrameVariables,frameContextLines:null!=(x=_.frameContextLines)?x:k.frameContextLines}}const fW="Not capturing exception because it's already been captured.",gW="Discarded session because of missing or non-string release",bW=Symbol.for("SentryInternalError"),vW=Symbol.for("SentryDoNotSendEventError");function yW(e){return{message:e,[bW]:!0}}function wW(e){return{message:e,[vW]:!0}}function xW(e){return rV(e)&&bW in e}function kW(e){return rV(e)&&vW in e}function _W(e,t,n,i,o){let r,a=0,s=!1;e.on(n,()=>{a=0,clearTimeout(r),s=!1}),e.on(t,t=>{var n;if(a+=i(t),a>=8e5)o(e);else if(!s){const t=null!=(n=e.getOptions()._flushInterval)?n:5e3;t>0&&(s=!0,r=WH(setTimeout(()=>{o(e)},t)))}}),e.on("flush",()=>{o(e)})}class EW{constructor(e){var t,n,i,o,r,a,s;if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=lW(null!=(n=null==(t=e.transportOptions)?void 0:t.bufferSize)?n:64),this._dataCollection=mW(e),e.dsn?this._dsn=KU(e.dsn):vF&&PF.warn("No DSN provided, client will not send events."),this._dsn){const t=GH(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=null!=(o=this._options.enableLogs)?o:null==(i=this._options._experiments)?void 0:i.enableLogs,this._options.enableLogs&&_W(this,"afterCaptureLog","flushLogs",AW,tW);(null==(s=null!=(a=this._options.enableMetrics)?a:null==(r=this._options._experiments)?void 0:r.enableMetrics)||s)&&_W(this,"afterCaptureMetric","flushMetrics",IW,oW)}captureException(e,t,n){const i=LV();if(jV(e))return vF&&PF.log(fW),i;const o={event_id:i,...t};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,n)).then(e=>e),"error"),o.event_id}captureMessage(e,t,n,i){const o={event_id:LV(),...n},r=nV(e)?e:String(e),a=iV(e),s=a?this.eventFromMessage(r,t,o):this.eventFromException(e,o);return this._process(()=>s.then(e=>this._captureEvent(e,o,i)),a?"unknown":"error"),o.event_id}captureEvent(e,t,n){const i=LV();if((null==t?void 0:t.originalException)&&jV(t.originalException))return vF&&PF.log(fW),i;const o={event_id:i,...t},r=e.sdkProcessingMetadata||{},a=r.capturedSpanScope,s=r.capturedSpanIsolationScope,l=SW(e.type);return this._process(()=>this._captureEvent(e,o,a||n,s),l),o.event_id}captureSession(e){this.sendSession(e),WV(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){const t=this._transport;
2if(this.emit("flush"),!t)return!0;const n=await this._isClientDoneProcessing(e),i=await t.flush(e);return n&&i}async close(e){const t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){const t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),KH(this,e,this._integrations),t||XH(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);const n=function(e,t){var n,i,o;if("transaction"!==e.type||!(null==(n=e.spans)?void 0:n.length)||!(null==(i=e.sdkProcessingMetadata)?void 0:i.hasGenAiSpans)||!1===t.getOptions().streamGenAiSpans||iH(t))return;const r=[],a=[];for(const l of e.spans)(null==(o=l.op)?void 0:o.startsWith("gen_ai."))?r.push(aW(l)):a.push(l);if(0===r.length)return;e.spans=a;const s=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:r.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...QH()&&{ingest_settings:{infer_ip:s,infer_user_agent:s}},items:r}]}(e,this);let i=Qq(e,this._dsn,this._options._metadata,this._options.tunnel);for(const o of t.attachments||[])i=Hq(i,Xq(o));n&&(i=Hq(i,n)),this.sendEnvelope(i).then(t=>this.emit("afterSendEvent",e,t))}sendSession(e){const{release:t,environment:n=Mq}=this._options;if("aggregates"in e){const i=e.attrs||{};if(!i.release&&!t)return void(vF&&PF.warn(gW));i.release=i.release||t,i.environment=i.environment||n,e.attrs=i}else{if(!e.release&&!t)return void(vF&&PF.warn(gW));e.release=e.release||t,e.environment=e.environment||n}this.emit("beforeSendSession",e);const i=function(e,t,n,i){const o=Zq(n);return qq({sent_at:new Date(yV()).toISOString(),...o&&{sdk:o},...!!i&&t&&{dsn:$U(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(e,t,n=1){if(this._options.sendClientReports){const i="".concat(e,":").concat(t);vF&&PF.log('Recording outcome: "'.concat(i,'"').concat(n>1?" (".concat(n," times)"):"")),this._outcomes[i]=(this._outcomes[i]||0)+n}}on(e,t){const n=this._hooks[e]=this._hooks[e]||new Set,i=(...e)=>t(...e);return n.add(i),()=>{n.delete(i)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(t){return vF&&PF.error("Error while sending envelope:",t),{}}return vF&&PF.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach(t=>{(null==t?void 0:t.beforeSetup)&&t.beforeSetup(e)}),t.forEach(t=>{t&&KH(e,t,n)}),n}(this,e),XH(this,e)}_updateSessionFromEvent(e,t){var n,i;let o="fatal"===t.level,r=!1;const a=null==(n=t.exception)?void 0:n.values;if(a){r=!0,o=!1;for(const e of a)if(!1===(null==(i=e.mechanism)?void 0:i.handled)){o=!0;break}}const s="ok"===e.status;(s&&0===e.errors||s&&o)&&(WV(e,{...o&&{status:"crashed"},errors:e.errors||Number(r||o)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,i){const o=this.getOptions(),r=this.getIntegrationNames();return!t.integrations&&r.length&&(t.integrations=r),this.emit("preprocessEvent",e,t),e.type||i.setLastEventId(e.event_id||t.event_id),NH(o,e,t,n,this,i).then(e=>{var i;if(null===e)return e;this.emit("postprocessEvent",e,t),e.contexts={trace:{...null==(i=e.contexts)?void 0:i.trace,...bU(n)},...e.contexts};const o=Fq(this,n);return e.sdkProcessingMetadata={dynamicSamplingContext:o,...e.sdkProcessingMetadata},e})}_captureEvent(e,t={},n=pU(),i=hU()){return vF&&CW(e)&&PF.log("Captured error event `".concat(uW(e)[0]||"<unknown>","`")),this._processEvent(e,t,n,i).then(e=>e.event_id,e=>{vF&&(kW(e)?PF.log(e.message):xW(e)?PF.warn(e.message):PF.warn(e))})}_processEvent(e,t,n,i){const o=this.getOptions(),{sampleRate:r}=o,a=TW(e),s=CW(e),l=e.type||"error",c="before send for type `".concat(l,"`"),d=void 0===r?void 0:JU(r);if(s&&"number"==typeof d&&vV()>d)return this.recordDroppedEvent("sample_rate","error"),TH(wW("Discarding event because it's not included in the random sample (sampling rate = ".concat(r,")")));const u=SW(e.type);return this._prepareEvent(e,t,n,i).then(e=>{var n;if(null===e)throw this.recordDroppedEvent("event_processor",u),wW("An event processor returned `null`, will not send event.");if(!0===(null==(n=t.data)?void 0:n.__sentry__))return e;const i=function(e,t,n,i){const{beforeSend:o,beforeSendTransaction:r,ignoreSpans:a}=t,s=!Uq(t.beforeSendSpan)&&t.beforeSendSpan;let l=n;if(CW(l)&&o)return o(l,i);if(TW(l)){if(s||a){const t=function(e){var t,n,i;const{trace_id:o,parent_span_id:r,span_id:a,status:s,origin:l,data:c,op:d}=null!=(n=null==(t=e.contexts)?void 0:t.trace)?n:{};return{data:null!=c?c:{},description:e.transaction,op:d,parent_span_id:r,span_id:null!=a?a:"",start_timestamp:null!=(i=e.start_timestamp)?i:0,status:s,timestamp:e.timestamp,trace_id:null!=o?o:"",origin:l,profile_id:null==c?void 0:c[IU],exclusive_time:null==c?void 0:c[AU],measurements:e.measurements,is_segment:!0}}(l);if((null==a?void 0:a.length)&&Aq({description:t.description,op:t.op,attributes:t.data},a))return null;if(s){const e=s(t);e?l=GV(n,{type:"transaction",timestamp:(c=e).timestamp,start_timestamp:c.start_timestamp,transaction:c.description,contexts:{trace:{trace_id:c.trace_id,span_id:c.span_id,parent_span_id:c.parent_span_id,op:c.op,status:c.status,origin:c.origin,data:{...c.data,...c.profile_id&&{[IU]:c.profile_id},...c.exclusive_time&&{[AU]:c.exclusive_time}}}},measurements:c.measurements}):Sq()}if(l.spans){const t=[],n=l.spans;for(const e of n)if((null==a?void 0:a.length)&&Aq({description:e.description,op:e.op,attributes:e.data},a))Oq(n,e);else if(s){const n=s(e);n?t.push(n):(Sq(),t.push(e))}else t.push(e);const i=l.spans.length-t.length;i&&e.recordDroppedEvent("before_send","span",i),l.spans=t}}if(r){if(l.spans){const e=l.spans.length;l.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return r(l,i)}}var c;return l}(this,o,e,t);return function(e,t){const n="".concat(t," must return `null` or a valid event.");if(sV(e))return e.then(e=>{if(!oV(e)&&null!==e)throw yW(n);return e},e=>{throw yW("".concat(t," rejected with ").concat(e))});if(!oV(e)&&null!==e)throw yW(n);return e}(i,c)}).then(o=>{var r;if(null===o){if(this.recordDroppedEvent("before_send",u),a){const t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw wW("".concat(c," returned `null`, will not send event."))}const l=n.getSession()||i.getSession();if(s&&l&&this._updateSessionFromEvent(l,o),a){const e=((null==(r=o.sdkProcessingMetadata)?void 0:r.spanCountBeforeProcessing)||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}const d=o.transaction_info;if(a&&d&&o.transaction!==e.transaction){const e="custom";o.transaction_info={...d,source:e}}return this.sendEvent(o,t),o}).then(null,e=>{if(kW(e)||xW(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),yW("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(e))})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===sW&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{const[n,i]=e.split(":");return{reason:n,category:i,quantity:t}})}_flushOutcomes(){vF&&PF.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(vF&&PF.log("No outcomes to send"));if(!this._dsn)return void(vF&&PF.log("No dsn provided, will not send outcomes"));vF&&PF.log("Sending outcomes:",e);const t=(n=e,qq((i=this._options.tunnel&&$U(this._dsn))?{dsn:i}:{},[[{type:"client_report"},{timestamp:BV(),discarded_events:n}]]));var n,i;this.sendEnvelope(t)}}function SW(e){return"replay_event"===e?"replay":e||"error"}function CW(e){return void 0===e.type}function TW(e){return"transaction"===e.type}function IW(e){let t=0;return e.name&&(t+=2*e.name.length),t+=8,t+PW(e.attributes)}function AW(e){let t=0;return e.message&&(t+=2*e.message.length),t+PW(e.attributes)}function PW(e){if(!e)return 0;let t=0;
2return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*OW(e[0]):iV(e)?t+=OW(e):t+=100}),t}function OW(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}function RW(e,t){!0===t.debug&&(vF?PF.enable():CF(()=>{}));pU().update(t.initialScope);const n=new e(t);return function(e){pU().setClient(e)}(n),n.init(),n}function LW(e){return"isRelative"in e}function DW(e,t){const n=e.indexOf("://")<=0&&0!==e.indexOf("//"),i=n?"thismessage:/":void 0;try{if("canParse"in URL&&!URL.canParse(e,i))return;const t=new URL(e,i);return n?{isRelative:n,pathname:t.pathname,search:t.search,hash:t.hash}:t}catch(T8){}}function NW(e){if(LW(e))return e.pathname;const t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function MW(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",i=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:i,relative:t[5]+n+i}}function zW(e,t=!0){if(e.startsWith("data:")){const n=e.match(/^data:([^;,]+)/),i=n?n[1]:"text/plain",o=e.includes(";base64,"),r=e.indexOf(",");let a="";if(t&&-1!==r){const t=e.slice(r+1);a=t.length>10?"".concat(t.slice(0,10),"... [truncated]"):t}return"data:".concat(i).concat(o?",base64":"").concat(a?",".concat(a):"")}return e}function jW(e){var t;"aggregates"in e?void 0===(null==(t=e.attrs)?void 0:t.ip_address)&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function BW(e,t,n=[t],i="npm"){const o=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};o.name||(o.name="sentry.javascript.".concat(t),o.packages=n.map(e=>({name:"".concat(i,":@sentry/").concat(e),version:wF})),o.version=wF)}function FW(e={}){const t=e.client||gU();if(!function(){const e=gU();return!1!==(null==e?void 0:e.getOptions().enabled)&&!!(null==e?void 0:e.getTransport())}()||!t)return{};const n=cU(xF());if(n.getTraceData)return n.getTraceData(e);const i=e.scope||pU(),o=e.span||Eq(),r=Nq(o)&&!Tq(t.getOptions()),a=o&&!r?function(e){const{traceId:t,spanId:n}=e.spanContext();return eq(t,n,mq(e))}(o):function(e){const{traceId:t,sampled:n,propagationSpanId:i}=e.getPropagationContext();return eq(t,i,n)}(i),s=qU(o?Vq(o):Fq(t,i));if(!ZU.test(a))return PF.warn("Invalid sentry-trace data. Cannot generate trace data"),{};const l={"sentry-trace":a,baggage:s};return e.propagateTraceparent&&(l.traceparent=o&&!r?function(e){const{traceId:t,spanId:n}=e.spanContext();return tq(t,n,mq(e))}(o):function(e){const{traceId:t,sampled:n,propagationSpanId:i}=e.getPropagationContext();return tq(t,i,n)}(i)),l}const VW=100;function UW(e,t){const n=gU(),i=hU();if(!n)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:r=VW}=n.getOptions();if(r<=0)return;const a={timestamp:BV(),...e},s=o?CF(()=>o(a,t)):a;null!==s&&(n.emit&&n.emit("beforeAddBreadcrumb",s,t),i.addBreadcrumb(s,r))}const qW=new WeakMap,HW=()=>({name:"FunctionToString",setupOnce(){const e=Function.prototype.toString;try{Function.prototype.toString=function(...t){const n=hV(this);let i;try{qW.has(gU())&&void 0!==n&&(i=n)}catch(T8){}return e.apply(null!=i?i:this,t)}}catch(T8){}},setup(e){qW.set(e,!0)}}),WW=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/^Java exception was raised during method invocation$/],GW=(e={})=>{let t;return{name:"EventFilters",setup(n){const i=n.getOptions();t=YW(e,i)},processEvent(n,i,o){if(!t){const n=o.getOptions();t=YW(e,n)}return function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!(null==t?void 0:t.length))return!1;const n=e.transaction;return!!n&&RV(n,t)}(e,t.ignoreTransactions))return vF&&PF.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat(NV(e))),!0}else{if(function(e,t){if(!(null==t?void 0:t.length))return!1;return uW(e).some(e=>RV(e,t))}(e,t.ignoreErrors))return vF&&PF.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(NV(e))),!0;if(function(e){var t,n;if(!(null==(n=null==(t=e.exception)?void 0:t.values)?void 0:n.length))return!1;return!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value)}(e))return vF&&PF.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: ".concat(NV(e))),!0;if(function(e,t){if(!(null==t?void 0:t.length))return!1;const n=XW(e);return!!n&&RV(n,t)}(e,t.denyUrls))return vF&&PF.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(NV(e),".\nUrl: ").concat(XW(e))),!0;if(!function(e,t){if(!(null==t?void 0:t.length))return!0;const n=XW(e);return!n||RV(n,t)}(e,t.allowUrls))return vF&&PF.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(NV(e),".\nUrl: ").concat(XW(e))),!0}return!1}(n,t)?null:n}}},$W=(e={})=>({...GW(e),name:"InboundFilters"});function YW(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:WW],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function XW(e){var t,n,i;try{const o=[...null!=(n=null==(t=e.exception)?void 0:t.values)?n:[]].reverse().find(e=>{var t,n,i;return void 0===(null==(t=e.mechanism)?void 0:t.parent_id)&&(null==(i=null==(n=e.stacktrace)?void 0:n.frames)?void 0:i.length)}),r=null==(i=null==o?void 0:o.stacktrace)?void 0:i.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(r):null}catch(T8){return vF&&PF.error("Cannot extract url for event ".concat(NV(e))),null}}function KW(e,t,n,i,o,r){var a;if(!(null==(a=o.exception)?void 0:a.values)||!r||!lV(r.originalException,Error))return;const s=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;s&&(o.exception.values=JW(e,t,i,r.originalException,n,o.exception.values,s,0))}function JW(e,t,n,i,o,r,a,s){if(r.length>=n+1)return r;let l=[...r];if(lV(i[o],Error)){QW(a,s,i);const r=e(t,i[o]),c=l.length;eG(r,o,c,s),l=JW(e,t,n,i[o],o,[r,...l],r,c)}
2return ZW(i)&&i.errors.forEach((r,c)=>{if(lV(r,Error)){QW(a,s,i);const d=e(t,r),u=l.length;eG(d,"errors[".concat(c,"]"),u,s),l=JW(e,t,n,r,o,[d,...l],d,u)}}),l}function ZW(e){return Array.isArray(e.errors)}function QW(e,t,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...ZW(n)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function eG(e,t,n,i){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:i}}function tG(e){return function(e){return JF(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__}(e)?"".concat(e.message," (").concat(e.__sentry_fetch_url_host__,")"):e.message}const nG=new Set([]);const iG=new Set;function oG(){"console"in yF&&EF.forEach(function(e){!iG.has(e)&&e in yF.console&&(iG.add(e),dV(yF.console,e,function(t){return SF[e]=t,function(...t){const n=t[0],i=SF[e],o=nG.size&&"string"==typeof n&&RV(n,nG);o||qF("console",{args:t,level:e}),(!o||vF&&PF.isEnabled())&&(null==i||i.apply(yF.console,t))}}))})}function rG(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const aG=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){if(!t)return!1;if(function(e,t){const n=e.message,i=t.message;if(!n&&!i)return!1;if(n&&!i||!n&&i)return!1;if(n!==i)return!1;if(!lG(e,t))return!1;if(!sG(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){const n=cG(t),i=cG(e);if(!n||!i)return!1;if(n.type!==i.type||n.value!==i.value)return!1;if(!lG(e,t))return!1;if(!sG(e,t))return!1;return!0}(e,t))return!0;return!1}(t,e))return vF&&PF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(T8){}return e=t}}};function sG(e,t){let n=jF(e),i=jF(t);if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;if(i.length!==n.length)return!1;for(let o=0;o<i.length;o++){const e=i[o],t=n[o];if(e.filename!==t.filename||e.lineno!==t.lineno||e.colno!==t.colno||e.function!==t.function)return!1}return!0}function lG(e,t){let n=e.fingerprint,i=t.fingerprint;if(!n&&!i)return!0;if(n&&!i||!n&&i)return!1;try{return!(n.join("")!==i.join(""))}catch(T8){return!1}}function cG(e){var t,n;return null==(n=null==(t=e.exception)?void 0:t.values)?void 0:n[0]}const dG=()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{const t=pU().getScopeData(),n=hU().getScopeData(),i=t.conversationId||n.conversationId;if(i){const{op:t,data:n,description:o}=cq(e);if(!(null==t?void 0:t.startsWith("gen_ai."))&&!n["ai.operationId"]&&!(null==o?void 0:o.startsWith("ai.")))return;e.setAttribute("gen_ai.conversation.id",i)}})}});function uG(e,t,n,i,o){if(!e.fetchData)return;const{method:r,url:a}=e.fetchData,s=Tq()&&t(a);if(e.endTimestamp){const t=e.fetchData.__span;if(!t)return;const n=i[t];return void(n&&(s&&(function(e,t){var n,i;if(t.response){OU(e,t.response.status);const o=null==(i=null==(n=t.response)?void 0:n.headers)?void 0:i.get("content-length");if(o){const t=parseInt(o);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:2,message:"internal_error"});e.end()}(n,e),function(e,t,n){var i;const o="object"==typeof n&&null!==n?n.onRequestSpanEnd:void 0;null==o||o(e,{headers:null==(i=t.response)?void 0:i.headers,error:t.error})}(n,e,o)),delete i[t]))}const{spanOrigin:l="auto.http.browser",propagateTraceparent:c=!1}="object"==typeof o?o:{spanOrigin:o},d=gU(),u=!!Eq(),p=u||!!d&&iH(d),h=s&&p?lH(function(e,t,n){if(e.startsWith("data:")){const i=zW(e);return{name:"".concat(t," ").concat(i),attributes:hG(e,void 0,t,n)}}const i=DW(e),o=i?NW(i):e;return{name:"".concat(t," ").concat(o),attributes:hG(e,i,t,n)}}(a,r,l)):new Dq,m=hH(h)&&u?void 0:h;if(s&&!p&&(null==d||d.recordDroppedEvent("no_parent_span","span")),e.fetchData.__span=h.spanContext().spanId,i[h.spanContext().spanId]=h,n(e.fetchData.url)){const t=e.args[0],n={...e.args[1]||{}},i=function(e,t,n,i){const o=FW({span:n,propagateTraceparent:i}),r=o["sentry-trace"],a=o.baggage,s=o.traceparent;if(!r)return;const l=t.headers||(cV(e)?e.headers:void 0);if(l){if(function(e){return"undefined"!=typeof Headers&&lV(e,Headers)}(l)){const e=new Headers(l);if(e.get("sentry-trace")||e.set("sentry-trace",r),i&&s&&!e.get("traceparent")&&e.set("traceparent",s),a){const t=e.get("baggage");t?pG(t)||e.set("baggage","".concat(t,",").concat(a)):e.set("baggage",a)}return e}if(function(e){if(!Array.isArray(e))return!1;return e.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])}(l)){const e=[...l];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",r]),i&&s&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",s]);const t=l.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&pG(e[1]));return a&&!t&&e.push(["baggage",a]),e}{const e="sentry-trace"in l?l["sentry-trace"]:void 0,t="traceparent"in l?l.traceparent:void 0,n="baggage"in l?l.baggage:void 0,o=n?Array.isArray(n)?[...n]:[n]:[],c=n&&(Array.isArray(n)?n.find(e=>pG(e)):pG(n));a&&!c&&o.push(a);const d=Object.assign({},l,{"sentry-trace":null!=e?e:r,...o.length>0&&{baggage:o.join(",")}});return i&&s&&!t&&(d.traceparent=s),d}}return{"sentry-trace":r,...a&&{baggage:a},...s&&{traceparent:s}}}(t,n,Tq()&&p?m:void 0,c);i&&(e.args[1]=n,n.headers=i)}if(d){const t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};d.emit("beforeOutgoingRequestSpan",h,t)}return h}function pG(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(VU))}function hG(e,t,n,i){const o={url:zW(e),type:"fetch","http.method":n,[kU]:i,[xU]:"http.client"};return t&&(LW(t)||(o[wH]=zW(t.href),o[_H]=zW(t.href),o["server.address"]=t.host),t.search&&(o["http.query"]=t.search),t.hash&&(o["http.fragment"]=t.hash)),o}function mG(e){return void 0===e?void 0:e>=400&&e<500?"warning":e>=500?"error":void 0}const fG=yF;function gG(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function bG(){var e;if("string"==typeof EdgeRuntime)return!0;
2if(!function(){if(!("fetch"in fG))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch(T8){return!1}}())return!1;if(gG(fG.fetch))return!0;let t=!1;const n=fG.document;if(n&&"function"==typeof n.createElement)try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i),(null==(e=i.contentWindow)?void 0:e.fetch)&&(t=gG(i.contentWindow.fetch)),n.head.removeChild(i)}catch(H9){vF&&PF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",H9)}return t}function vG(e,t){const n="fetch",i=VF(n,e);return UF(n,()=>yG(void 0,t)),i}function yG(e,t=!1){t&&!bG()||dV(yF,"fetch",function(t){return function(...n){const i=new Error,{method:o,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:kG(t),method:xG(n,"method")?String(n.method).toUpperCase():cV(t)&&xG(t,"method")?String(t.method).toUpperCase():"GET"}}const t=e[0];return{url:kG(t),method:xG(t,"method")?String(t.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:o,url:r},startTimestamp:1e3*VV(),virtualError:i,headers:_G(n)};return e||qF("fetch",{...a}),t.apply(yF,n).then(async t=>(e?e(t):qF("fetch",{...a,endTimestamp:1e3*VV(),response:t}),t),e=>{var t;qF("fetch",{...a,endTimestamp:1e3*VV(),error:e}),JF(e)&&void 0===e.stack&&(e.stack=i.stack,uV(e,"framesToPop",1));const n=gU(),o=null!=(t=null==n?void 0:n.getOptions().enhanceFetchErrorMessages)?t:"always";if(!1!==o&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{const t=new URL(a.fetchData.url).host;"always"===o?e.message="".concat(e.message," (").concat(t,")"):uV(e,"__sentry_fetch_url_host__",t)}catch(T8){}throw e})}})}function wG(e){let t;try{t=e.clone()}catch(T8){return}!async function(e,t){if(null==e?void 0:e.body){const n=e.body,i=n.getReader(),o=setTimeout(()=>{n.cancel().then(null,()=>{})},9e4);let r=!0;for(;r;){let e;try{e=setTimeout(()=>{n.cancel().then(null,()=>{})},5e3);const{done:o}=await i.read();clearTimeout(e),o&&(t(),r=!1)}catch(T8){r=!1}finally{clearTimeout(e)}}clearTimeout(o),i.releaseLock(),n.cancel().then(null,()=>{})}}(t,()=>{qF("fetch-body-resolved",{endTimestamp:1e3*VV(),response:e})})}function xG(e,t){return rV(e)&&!!e[t]}function kG(e){return"string"==typeof e?e:e?xG(e,"url")?e.url:e.toString?e.toString():"":""}function _G(e){const[t,n]=e;try{if("object"==typeof n&&null!==n&&"headers"in n&&n.headers)return new Headers(n.headers);if(cV(t))return new Headers(t.headers)}catch(T8){}}const EG=yF;function SG(){try{return EG.document.location.href}catch(T8){return""}}function CG(e,t=5){if(!EG.HTMLElement)return null;let n=e;for(let i=0;i<t;i++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}const TG=yF,IG=TG.document,AG=TG.navigator,PG="Report a Bug",OG="Unable to submit feedback with empty message",RG="No client setup, cannot send feedback.",LG="Unable to determine if Feedback was correctly sent.",DG="Unable to send feedback. This could be because this domain is not in your list of allowed domains.",NG="Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.",MG={ERROR_EMPTY_MESSAGE:OG,ERROR_NO_CLIENT:RG,ERROR_TIMEOUT:LG,ERROR_FORBIDDEN:DG,ERROR_GENERIC:NG};function zG(e,t){var n;return null!=(n=null==t?void 0:t[e])?n:MG[e]}function jG(e,t){return new Error(zG(e,t))}const BG=(e,t={includeReplay:!0})=>{const n=t.errorMessages;if(!e.message)throw jG("ERROR_EMPTY_MESSAGE",n);const i=gU();if(!i)throw jG("ERROR_NO_CLIENT",n);e.tags&&Object.keys(e.tags).length&&pU().setTags(e.tags);const o=function(e,t={},n=pU()){const{message:i,name:o,email:r,url:a,source:s,associatedEventId:l,tags:c}=e,d={contexts:{feedback:{contact_email:r,name:o,message:i,url:a,source:s,associated_event_id:l}},type:"feedback",level:"info",tags:c},u=(null==n?void 0:n.getClient())||gU();return u&&u.emit("beforeSendFeedback",d,t),n.captureEvent(d,t)}({source:"api",url:SG(),...e},t);return new Promise((e,t)=>
2{const r=setTimeout(()=>{a(),t(zG("ERROR_TIMEOUT",n))},3e4),a=i.on("afterSendEvent",(i,s)=>{if(i.event_id===o)return clearTimeout(r),a(),(null==s?void 0:s.statusCode)&&s.statusCode>=200&&s.statusCode<300?e(o):403===(null==s?void 0:s.statusCode)?t(zG("ERROR_FORBIDDEN",n)):t(zG("ERROR_GENERIC",n))})})},FG="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function VG(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{var n,i;null==(n=t.onFormOpen)||n.call(t),null==(i=e.onFormOpen)||i.call(e)},onFormClose:()=>{var n,i;null==(n=t.onFormClose)||n.call(t),null==(i=e.onFormClose)||i.call(e)},onSubmitSuccess:(n,i)=>{var o,r;null==(o=t.onSubmitSuccess)||o.call(t,n,i),null==(r=e.onSubmitSuccess)||r.call(e,n,i)},onSubmitError:n=>{var i,o;null==(i=t.onSubmitError)||i.call(t,n),null==(o=e.onSubmitError)||o.call(e,n)},onFormSubmitted:()=>{var n,i;null==(n=t.onFormSubmitted)||n.call(t),null==(i=e.onFormSubmitted)||i.call(e)},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function UG(e,t){return Object.entries(t).forEach(([t,n])=>{e.setAttributeNS(null,t,n)}),e}const qG=20;function HG({triggerLabel:e,triggerAriaLabel:t,shadow:n,styleNonce:i}){const o=IG.createElement("button");if(o.type="button",o.className="widget__actor",o.ariaHidden="false",o.ariaLabel=t||e||PG,o.appendChild(function(){const e=e=>TG.document.createElementNS("http://www.w3.org/2000/svg",e),t=UG(e("svg"),{width:"".concat(qG),height:"".concat(qG),viewBox:"0 0 ".concat(qG," ").concat(qG),fill:"var(--actor-color, var(--foreground))"}),n=UG(e("g"),{clipPath:"url(#clip0_57_80)"}),i=UG(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});t.appendChild(n).appendChild(i);const o=e("defs"),r=UG(e("clipPath"),{id:"clip0_57_80"}),a=UG(e("rect"),{width:"".concat(qG),height:"".concat(qG),fill:"white"});return r.appendChild(a),o.appendChild(r),t.appendChild(o).appendChild(r).appendChild(a),t}()),e){const t=IG.createElement("span");t.appendChild(IG.createTextNode(e)),o.appendChild(t)}const r=function(e){const t=IG.createElement("style");return t.textContent='\n.widget__actor {\n position: fixed;\n z-index: var(--z-index);\n margin: var(--page-margin);\n inset: var(--actor-inset);\n\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 16px;\n\n font-family: inherit;\n font-size: var(--font-size);\n font-weight: 600;\n line-height: 1.14em;\n text-decoration: none;\n\n background: var(--actor-background, var(--background));\n border-radius: var(--actor-border-radius, 1.7em/50%);\n border: var(--actor-border, var(--border));
2\n box-shadow: var(--actor-box-shadow, var(--box-shadow));\n color: var(--actor-color, var(--foreground));\n fill: var(--actor-color, var(--foreground));\n cursor: pointer;\n opacity: 1;\n transition: transform 0.2s ease-in-out;\n transform: translate(0, 0) scale(1);\n}\n.widget__actor[aria-hidden="true"] {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n transform: translate(0, 16px) scale(0.98);\n}\n\n.widget__actor:hover {\n background: var(--actor-hover-background, var(--background));\n filter: var(--interactive-filter);\n}\n\n.widget__actor svg {\n width: 1.14em;\n height: 1.14em;\n}\n\n@media (max-width: 600px) {\n .widget__actor span {\n display: none;\n }\n}\n',e&&t.setAttribute("nonce",e),t}(i);return{el:o,appendToDom(){n.appendChild(r),n.appendChild(o)},removeFromDom(){o.remove(),r.remove()},show(){o.ariaHidden="false"},hide(){o.ariaHidden="true"}}}const WG="rgba(88, 74, 192, 1)",GG={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:WG,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},$G={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:WG,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function YG(e){return"\n --foreground: ".concat(e.foreground,";\n --background: ").concat(e.background,";\n --accent-foreground: ").concat(e.accentForeground,";\n --accent-background: ").concat(e.accentBackground,";\n --success-color: ").concat(e.successColor,";\n --error-color: ").concat(e.errorColor,";\n --border: ").concat(e.border,";\n --box-shadow: ").concat(e.boxShadow,";\n --outline: ").concat(e.outline,";\n --interactive-filter: ").concat(e.interactiveFilter,";\n ")}function XG({colorScheme:e,themeDark:t,themeLight:n,styleNonce:i}){const o=IG.createElement("style");return o.textContent="\n:host {\n --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif;\n --font-size: 14px;\n --z-index: 100000;\n\n --page-margin: 16px;\n --inset: auto 0 0 auto;\n --actor-inset: var(--inset);\n\n font-family: var(--font-family);\n font-size: var(--font-size);\n\n ".concat("system"!==e?"color-scheme: only ".concat(e,";"):"","\n\n ").concat(YG("dark"===e?{...$G,...t}:{...GG,...n}),"\n}\n\n").concat("system"===e?"\n@media (prefers-color-scheme: dark) {\n :host {\n color-scheme: only dark;\n\n ".concat(YG({...$G,...t}),"\n }\n}"):"","\n"),i&&o.setAttribute("nonce",i),o}function KG(){const e=gU();return null==e?void 0:e.getIntegrationByName("Feedback")}var JG,ZG,QG,e$,t$,n$,i$,o$={},r$=[],a$=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,s$=Array.isArray;function l$(e,t){for(var n in t)e[n]=t[n];return e}function c$(e){var t=e.parentNode;t&&t.removeChild(e)}function d$(e,t,n){var i,o,r,a={};for(r in t)"key"==r?i=t[r]:"ref"==r?o=t[r]:a[r]=t[r];if(arguments.length>2&&(a.children=arguments.length>3?JG.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===a[r]&&(a[r]=e.defaultProps[r]);return u$(e,a,i,o,null)}function u$(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++QG:o,__i:-1,__u:0};return null==o&&null!=ZG.vnode&&ZG.vnode(r),r}function p$(e){return e.children}function h$(e,t){this.props=e,this.context=t}function m$(e,t){if(null==t)return e.__?m$(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?m$(e):null}function f$(e,t,n){var i,o=e.__v,r=o.__e,a=e.__P;if(a)return(i=l$({},o)).__v=o.__v+1,ZG.vnode&&ZG.vnode(i),C$(a,i,o,e.__n,void 0!==a.ownerSVGElement,32&o.__u?[r]:null,t,null==r?m$(o):r,!!(32&o.__u),n),i.__.__k[i.__i]=i,i.__d=void 0,i.__e!=r&&g$(i),i}function g$(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return g$(e)}}function b$(e){(!e.__d&&(e.__d=!0)&&e$.push(e)&&!v$.__r++||t$!==ZG.debounceRendering)&&((t$=ZG.debounceRendering)||n$)(v$)}function v$(){var e,t,n,i=[],o=[];for(e$.sort(i$);e=e$.shift();)e.__d&&(n=e$.length,t=f$(e,i,o)||t,0===n||e$.length>n?(T$(i,t,o),o.length=i.length=0,t=void 0,e$.sort(i$)):t&&ZG.__c&&ZG.__c(t,r$));t&&T$(i,t,o),v$.__r=0}function y$(e,t,n,i,o,r,a,s,l,c,d){var u,p,h,m,f,g=i&&i.__k||r$,b=t.length;for(n.__d=l,function(e,t,n){var i,o,r,a,s,l=t.length,c=n.length,d=c,u=0;for(e.__k=[],i=0;i<l;i++)null!=(o=e.__k[i]=null==(o=t[i])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?u$(null,o,null,null,o):s$(o)?u$(p$,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?u$(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=x$(o,n,a=i+u,d),o.__i=s,r=null,-1!==s&&(d--,(r=n[s])&&(r.__u|=131072)),null==r||null===r.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?u++:s>a?d>l-a?u+=s-a:u--:u=s<a&&s==a-1?s-a:0,s!==i+u&&(o.__u|=65536))):(r=n[i])&&null==r.key&&r.__e&&(r.__e==e.__d&&(e.__d=m$(r)),A$(r,r,!1),n[i]=null,d--);if(d)for(i=0;i<c;i++)null!=(r=n[i])&&!(131072&r.__u)&&(r.__e==e.__d&&(e.__d=m$(r)),A$(r,r))}(n,t,g),l=n.__d,u=0;u<b;u++)null!=(h=n.__k[u])&&"boolean"!=typeof h&&"function"!=typeof h&&(p=-1===h.__i?o$:g[h.__i]||o$,h.__i=u,C$(e,h,p,o,r,a,s,l,c,d),m=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&I$(p.ref,null,h),d.push(h.ref,h.__c||m,h)),null==f&&null!=m&&(f=m),65536&h.__u||p.__k===h.__k?l=w$(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:m&&(l=m.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=f}function w$(e,t,n){var i,o;if("function"==typeof e.type){for(i=e.__k,o=0;i&&o<i.length;o++)i[o]&&(i[o].__=e,t=w$(i[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function x$(e,t,n,i){var o=e.key,r=e.type,a=n-1,s=n+1,l=t[n];
vendor: 1,794 bytes, line 2
2if(null===l||l&&o==l.key&&r===l.type)return n;if(i>(null==l||131072&l.__u?0:1))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&r===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&r===l.type)return s;s++}}return-1}function k$(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||a$.test(t)?n:n+"px"}function _$(e,t,n,i,o){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||k$(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||k$(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n.u=i.u:(n.u=Date.now(),e.addEventListener(t,r?S$:E$,r)):e.removeEventListener(t,r?S$:E$,r);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(a){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function E$(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(ZG.event?ZG.event(e):e)}}function S$(e){if(this.l)return this.l[e.type+!0](ZG.event?ZG.event(e):e)}function C$(e,t,n,i,o,r,a,s,l,c){var d,u,p,h,m,f,g,b,v,y,w,x,k,_,E,S=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),r=[s=t.__e=n.__e]),(d=ZG.__b)&&d(t);e:if("function"==typeof S)try{if(b=t.props,v=(d=S.contextType)&&i[d.__c],y=d?v?v.props.value:d.__:i,n.__c?g=(u=t.__c=n.__c).__=u.__E:("prototype"in S&&S.prototype.render?t.__c=u=new S(b,y
vendor: 4,511 bytes, line 2
2):(t.__c=u=new h$(b,y),u.constructor=S,u.render=P$),v&&v.sub(u),u.props=b,u.state||(u.state={}),u.context=y,u.__n=i,p=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=S.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=l$({},u.__s)),l$(u.__s,S.getDerivedStateFromProps(b,u.__s))),h=u.props,m=u.state,u.__v=t,p)null==S.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==S.getDerivedStateFromProps&&b!==h&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,y),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,y)||t.__v===n.__v)){for(t.__v!==n.__v&&(u.props=b,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),w=0;w<u._sb.length;w++)u.__h.push(u._sb[w]);u._sb=[],u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,y),null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(h,m,f)})}if(u.context=y,u.props=b,u.__P=e,u.__e=!1,x=ZG.__r,k=0,"prototype"in S&&S.prototype.render){for(u.state=u.__s,u.__d=!1,x&&x(t),d=u.render(u.props,u.state,u.context),_=0;_<u._sb.length;_++)u.__h.push(u._sb[_]);u._sb=[]}else do{u.__d=!1,x&&x(t),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++k<25);u.state=u.__s,null!=u.getChildContext&&(i=l$(l$({},i),u.getChildContext())),p||null==u.getSnapshotBeforeUpdate||(f=u.getSnapshotBeforeUpdate(h,m)),y$(e,s$(E=null!=d&&d.type===p$&&null==d.key?d.props.children:d)?E:[E],t,n,i,o,r,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),g&&(u.__E=u.__=null)}catch(C){t.__v=null,l||null!=r?(t.__e=s,t.__u|=l?160:32,r[r.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),ZG.__e(C,t,n)}else null==r&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,o,r,a,s,l){var c,d,u,p,h,m,f,g=n.props,b=t.props,v=t.type;if("svg"===v&&(o=!0),null!=r)for(c=0;c<r.length;c++)if((h=r[c])&&"setAttribute"in h==!!v&&(v?h.localName===v:3===h.nodeType)){e=h,r[c]=null;break}if(null==e){if(null===v)return document.createTextNode(b);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,b.is&&b),r=null,s=!1}if(null===v)g===b||s&&e.data===b||(e.data=b);else{if(r=r&&JG.call(e.childNodes),g=n.props||o$,!s&&null!=r)for(g={},c=0;c<e.attributes.length;c++)g[(h=e.attributes[c]).name]=h.value;for(c in g)h=g[c],"children"==c||("dangerouslySetInnerHTML"==c?u=h:"key"===c||c in b||_$(e,c,null,h,o));for(c in b)h=b[c],"children"==c?p=h:"dangerouslySetInnerHTML"==c?d=h:"value"==c?m=h:"checked"==c?f=h:"key"===c||s&&"function"!=typeof h||g[c]===h||_$(e,c,h,g[c],o);if(d)s||u&&(d.__html===u.__html||d.__html===e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(u&&(e.innerHTML=""),y$(e,s$(p)?p:[p],t,n,i,o&&"foreignObject"!==v,r,a,r?r[0]:n.__k&&m$(n,0),s,l),null!=r)for(c=r.length;c--;)null!=r[c]&&c$(r[c]);s||(c="value",void 0!==m&&(m!==e[c]||"progress"===v&&!m||"option"===v&&m!==g[c])&&_$(e,c,m,g[c],!1),c="checked",void 0!==f&&f!==e[c]&&_$(e,c,f,g[c],!1))}return e}(n.__e,t,n,i,o,r,a,l,c);(d=ZG.diffed)&&d(t)}function T$(e,t,n){for(var i=0;i<n.length;i++)I$(n[i],n[++i],n[++i]);ZG.__c&&ZG.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(n){ZG.__e(n,t.__v)}})}function I$(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(i){ZG.__e(i,n)}}function A$(e,t,n){var i,o;if(ZG.unmount&&ZG.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||I$(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){ZG.__e(r,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&A$(i[o],t,n||"function"!=typeof e.type);n||null==e.__e||c$(e.__e),e.__=e.__e=e.__d=void 0}function P$(e,t,n){return this.constructor(e,n)}JG=r$.slice,ZG={__e:function(e,t,n,i){for(var o,r,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,i||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},QG=0,h$.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=l$({},this.state),"function"==typeof e&&(e=e(l$({},n),this.props)),e&&l$(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),b$(this))},h$.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),b$(this))},h$.prototype.render=p$,e$=[],n$="function"==typeof Promise?Promise.prototype.then.bind(Prom
2ise.resolve()):setTimeout,i$=function(e,t){return e.__v.__b-t.__v.__b},v$.__r=0;var O$,R$,L$,D$,N$=0,M$=[],z$=[],j$=ZG,B$=j$.__b,F$=j$.__r,V$=j$.diffed,U$=j$.__c,q$=j$.unmount,H$=j$.__;function W$(e,t){j$.__h&&j$.__h(R$,e,N$||t),N$=0;var n=R$.__H||(R$.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:z$}),n.__[e]}function G$(e){return N$=1,$$(iY,e)}function $$(e,t,n){var i=W$(O$++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):iY(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=R$,!R$.u)){var o=function(e,t,n){if(!i.__c.__H)return!0;var o=i.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!r||r.call(this,e,t,n);var a=!1;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),!(!a&&i.__c.props===e)&&(!r||r.call(this,e,t,n))};R$.u=!0;var r=R$.shouldComponentUpdate,a=R$.componentWillUpdate;R$.componentWillUpdate=function(e,t,n){if(this.__e){var i=r;r=void 0,o(e,t,n),r=i}a&&a.call(this,e,t,n)},R$.shouldComponentUpdate=o}return i.__N||i.__}function Y$(e,t){var n=W$(O$++,4);!j$.__s&&nY(n.__H,t)&&(n.__=e,n.i=t,R$.__h.push(n))}function X$(e,t){var n=W$(O$++,7);return nY(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function K$(e,t){return N$=8,X$(function(){return e},t)}function J$(){for(var e;e=M$.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eY),e.__H.__h.forEach(tY),e.__H.__h=[]}catch(Ns){e.__H.__h=[],j$.__e(Ns,e.__v)}}j$.__b=function(e){R$=null,B$&&B$(e)},j$.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),H$&&H$(e,t)},j$.__r=function(e){F$&&F$(e),O$=0;var t=(R$=e.__c).__H;t&&(L$===R$?(t.__h=[],R$.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=z$,e.__N=e.i=void 0})):(t.__h.forEach(eY),t.__h.forEach(tY),t.__h=[],O$=0)),L$=R$},j$.diffed=function(e){V$&&V$(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==M$.push(t)&&D$===j$.requestAnimationFrame||((D$=j$.requestAnimationFrame)||Q$)(J$)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==z$&&(e.__=e.__V),e.i=void 0,e.__V=z$})),L$=R$=null},j$.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eY),e.__h=e.__h.filter(function(e){return!e.__||tY(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],j$.__e(n,e.__v)}}),U$&&U$(e,t)},j$.unmount=function(e){q$&&q$(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eY(e)}catch(n){t=n}}),n.__H=void 0,t&&j$.__e(t,n.__v))};var Z$="function"==typeof requestAnimationFrame;function Q$(e){var t,n=function(){clearTimeout(i),Z$&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Z$&&(t=requestAnimationFrame(n))}function eY(e){var t=R$,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),R$=t}function tY(e){var t=R$;e.__c=e.__(),R$=t}function nY(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function iY(e,t){return"function"==typeof t?t(e):t}const oY=Object.defineProperty({__proto__:null,useCallback:K$,useContext:function(e){var t=R$.context[e.__c],n=W$(O$++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(R$)),t.props.value):e.__},useDebugValue:function(e,t){j$.useDebugValue&&j$.useDebugValue(t?t(e):e)},useEffect:function(e,t){var n=W$(O$++,3);!j$.__s&&nY(n.__H,t)&&(n.__=e,n.i=t,R$.__H.__h.push(n))},useErrorBoundary:function(e){var t=W$(O$++,10),n=G$();return t.__=e,R$.componentDidCatch||(R$.componentDidCatch=function(e,i){t.__&&t.__(e,i),n[1](e)}),[n[0],function(){n[1](void 0)}]},useId:function(){var e=W$(O$++,11);if(!e.__){for(var t=R$.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__},useImperativeHandle:function(e,t,n){N$=6,Y$(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==n?n:n.concat(e))},useLayoutEffect:Y$,useMemo:X$,useReducer:$$,useRef:function(e){return N$=5,X$(function(){return{current:e}},[])},useState:G$},Symbol.toStringTag,{value:"Module"});function rY(){const e=e=>IG.createElementNS("http://www.w3.org/2000/svg",e),t=UG(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),n=UG(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return t.appendChild(n),t}function aY({options:e}){const t=X$(()=>({__html:rY().outerHTML}),[]);return d$("h2",{class:"dialog__header"},d$("span",{class:"dialog__title"},e.formTitle),e.showBranding?d$("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function sY(e,t){const n=e.get(t);return"string"==typeof n?n.trim():""}function lY({options:e,defaultEmail:t,defaultName:n,onFormClose:i,onSubmit:o,onSubmitSuccess:r,onSubmitError:a,showEmail
2:s,showName:l,screenshotInput:c}){const{tags:d,addScreenshotButtonLabel:u,removeScreenshotButtonLabel:p,cancelButtonLabel:h,emailLabel:m,emailPlaceholder:f,isEmailRequired:g,isNameRequired:b,messageLabel:v,messagePlaceholder:y,nameLabel:w,namePlaceholder:x,submitButtonLabel:k,isRequiredLabel:_}=e,[E,S]=G$(!1),[C,T]=G$(null),[I,A]=G$(!1),P=null==c?void 0:c.input,[O,R]=G$(null),L=K$(e=>{R(e),A(!1)},[]),D=K$(e=>{const t=function(e,t){const n=[];return t.isNameRequired&&!e.name&&n.push(t.nameLabel),t.isEmailRequired&&!e.email&&n.push(t.emailLabel),e.message||n.push(t.messageLabel),n}(e,{emailLabel:m,isEmailRequired:g,isNameRequired:b,messageLabel:v,nameLabel:w});return t.length>0?T("Please enter in the following required fields: ".concat(t.join(", "))):T(null),0===t.length},[m,g,b,v,w]);return d$("form",{class:"form",onSubmit:K$(async e=>{S(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;const n=new FormData(e.target),i=await(c&&I?c.value():void 0),s={name:sY(n,"name"),email:sY(n,"email"),message:sY(n,"message"),attachments:i?[i]:void 0};if(!D(s))return;try{const e=await o({name:s.name,email:s.email,message:s.message,source:"widget",tags:d},{attachments:s.attachments});r(s,e)}catch(t){FG&&PF.error(t);const e=t instanceof Error?t:new Error(String(t));T(e.message),a(e)}}finally{S(!1)}}
2,[c&&I,r,a])},P&&I?d$(P,{onError:L}):null,d$("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:E},d$("div",{class:"form__top"},C?d$("div",{class:"form__error-container"},C):null,l?d$("label",{for:"name",class:"form__label"},d$(cY,{label:w,isRequiredLabel:_,isRequired:b}),d$("input",{class:"form__input",defaultValue:n,id:"name",name:"name",placeholder:x,required:b,type:"text"})):d$("input",{"aria-hidden":!0,value:n,name:"name",type:"hidden"}),s?d$("label",{for:"email",class:"form__label"},d$(cY,{label:m,isRequiredLabel:_,isRequired:g}),d$("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:f,required:g,type:"email"})):d$("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),d$("label",{for:"message",class:"form__label"},d$(cY,{label:v,isRequiredLabel:_,isRequired:!0}),d$("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:y,required:!0,rows:5})),P?d$("label",{for:"screenshot",class:"form__label"},d$("button",{class:"btn btn--default",disabled:E,type:"button",onClick:()=>{R(null),A(e=>!e)}},I?p:u),O?d$("div",{class:"form__error-container"},O.message):null):null),d$("div",{class:"btn-group"},d$("button",{class:"btn btn--primary",disabled:E,type:"submit"},k),d$("button",{class:"btn btn--default",disabled:E,type:"button",onClick:i},h))))}function cY({label:e,isRequired:t,isRequiredLabel:n}){return d$("span",{class:"form__label__text"},e,t&&d$("span",{class:"form__label__text--required"},n))}function dY(){const e=e=>TG.document.createElementNS("http://www.w3.org/2000/svg",e),t=UG(e("svg"),{width:"".concat(16),height:"".concat(17),viewBox:"0 0 ".concat(16," ").concat(17),fill:"inherit"}),n=UG(e("g"),{clipPath:"url(#clip0_57_156)"}),i=UG(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),o=UG(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});t.appendChild(n).append(o,i);const r=e("defs"),a=UG(e("clipPath"),{id:"clip0_57_156"}),s=UG(e("rect"),{width:"".concat(16),height:"".concat(16),fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),r.appendChild(a),t.appendChild(r).appendChild(a).appendChild(s),t}function uY({open:e,onFormSubmitted:t,...n}){const i=n.options,o=X$(()=>({__html:dY().outerHTML}),[]),[r,a]=G$(null),s=K$(()=>{r&&(clearTimeout(r),a(null)),t()},[r]),l=K$((e,i)=>{n.onSubmitSuccess(e,i),a(setTimeout(()=>{t(),a(null)},5e3))},[t]);return d$(p$,null,r?d$("div",{class:"success__position",onClick:s},d$("div",{class:"success__content"},i.successMessageText,d$("span",{class:"success__icon",dangerouslySetInnerHTML:o}))):d$("dialog",{class:"dialog",onClick:i.onFormClose,open:e},d$("div",{class:"dialog__position"},d$("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},d$(aY,{options:i}),d$(lY,{...n,onSubmitSuccess:l})))))}const pY=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:n,shadow:i})=>{const o=i,r=e.useSentryUser,a=function(){const e=pU().getUser(),t=hU().getUser(),n=mU().getUser();return e&&Object.keys(e).length?e:t&&Object.keys(t).length?t:n}(),s=IG.createElement("div"),l=function(e){const t=IG.createElement("style");return t.textContent="\n:host {\n --dialog-inset: var(--inset);\n}\n\n".concat("\n.dialog {\n position: fixed;\n z-index: var(--z-index);\n margin: 0;\n inset: 0;\n\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n height: 100vh;\n width: 100vw;\n\n color: var(--dialog-color, var(--foreground));\n fill: var(--dialog-color, var(--foreground));\n line-height: 1.75em;\n\n background-color: rgba(0, 0, 0, 0.05);\n border: none;\n inset: 0;\n opacity: 1;\n transition: opacity 0.2s ease-in-out;\n}\n\n.dialog__position {\n position: fixed;\n z-index: var(--z-index);\n inset: var(--dialog-inset);\n padding: var(--page-margin);\n display: flex;\n max-height: calc(100vh - (2 * var(--page-margin)));\n}\n@media (max-width: 600px) {\n .dialog__position {\n inset: var(--page-margin);\n padding: 0;\n }\n}\n\n.dialog__position:has(.editor) {\n inset: var(--page-margin);\n padding: 0;\n}\n\n.dialog:not([open]) {\n opacity: 0;\n pointer-events: none;\n visibility: hidden;\n}\n.dialog:not([open]) .dialog__content {\n transform: translate(0, -16px) scale(0.98);\n}\n\n.dialog__content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: var(--dialog-padding, 24px);\n max-width: 100%;\n width: 100%;\n max-height: 100%;\n overflow: auto;\n\n background: var(--dialog-background, var(--background));\n border-radius: var(--dialog-border-radius, 20px);\n border: var(--dialog-border, var(--border));
2\n box-shadow: var(--dialog-box-shadow, var(--box-shadow));\n transform: translate(0, 0) scale(1);\n transition: transform 0.2s ease-in-out;\n}\n\n","\n").concat("\n.dialog__header {\n display: flex;\n gap: 4px;\n justify-content: space-between;\n font-weight: var(--dialog-header-weight, 600);\n margin: 0;\n}\n.dialog__title {\n align-self: center;\n width: var(--form-width, 272px);\n}\n\n@media (max-width: 600px) {\n .dialog__title {\n width: auto;\n }\n}\n\n.dialog__position:has(.editor) .dialog__title {\n width: auto;\n}\n\n\n.brand-link {\n display: inline-flex;\n}\n.brand-link:focus-visible {\n outline: var(--outline);\n}\n","\n").concat("\n.form {\n display: flex;\n overflow: auto;\n flex-direction: row;\n gap: 16px;\n flex: 1 0;\n}\n\n.form fieldset {\n border: none;\n margin: 0;\n padding: 0;\n}\n\n.form__right {\n flex: 0 0 auto;\n display: flex;\n overflow: auto;\n flex-direction: column;\n justify-content: space-between;\n gap: 20px;\n width: var(--form-width, 100%);\n}\n\n.dialog__position:has(.editor) .form__right {\n width: var(--form-width, 272px);\n}\n\n.form__top {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.form__error-container {\n color: var(--error-color);\n fill: var(--error-color);\n}\n\n.form__label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n margin: 0px;\n}\n\n.form__label__text {\n display: flex;\n gap: 4px;\n align-items: center;\n}\n\n.form__label__text--required {\n font-size: 0.85em;\n}\n\n.form__input {\n font-family: inherit;\n line-height: inherit;\n background: transparent;\n box-sizing: border-box;\n border: var(--input-border, var(--border));\n border-radius: var(--input-border-radius, 6px);\n color: var(--input-color, inherit);\n fill: var(--input-color, inherit);\n font-size: var(--input-font-size, inherit);\n font-weight: var(--input-font-weight, 500);\n padding: 6px 12px;\n}\n\n.form__input::placeholder {\n opacity: 0.65;\n color: var(--input-placeholder-color, inherit);\n filter: var(--interactive-filter);\n}\n\n.form__input:focus-visible {\n outline: var(--input-focus-outline, var(--outline));\n}\n\n.form__input--textarea {\n font-family: inherit;\n resize: vertical;\n}\n\n.error {\n color: var(--error-color);\n fill: var(--error-color);\n}\n","\n").concat("\n.btn-group {\n display: grid;\n gap: 8px;\n}\n\n.btn {\n line-height: inherit;\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n cursor: pointer;\n font-family: inherit;\n font-size: var(--button-font-size, inherit);\n font-weight: var(--button-font-weight, 600);\n padding: var(--button-padding, 6px 16px);\n}\n.btn[disabled] {\n opacity: 0.6;\n pointer-events: none;\n}\n\n.btn--primary {\n color: var(--button-primary-color, var(--accent-foreground));\n fill: var(--button-primary-color, var(--accent-foreground));\n background: var(--button-primary-background, var(--accent-background));\n border: var(--button-primary-border, var(--border));\n border-radius: var(--button-primary-border-radius, 6px);\n font-weight: var(--button-primary-font-weight, 500);\n}\n.btn--primary:hover {\n color: var(--button-primary-hover-color, var(--accent-foreground));\n fill: var(--button-primary-hover-color, var(--accent-foreground));\n background: var(--button-primary-hover-background, var(--accent-background));\n filter: var(--interactive-filter);\n}\n.btn--primary:focus-visible {\n background: var(--button-primary-hover-background, var(--accent-background));\n filter: var(--interactive-filter);\n outline: var(--button-primary-focus-outline, var(--outline));\n}\n\n.btn--default {\n color: var(--button-color, var(--foreground));\n fill: var(--button-color, var(--foreground));\n background: var(--button-background, var(--background));\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n font-weight: var(--button-font-weight, 500);\n}\n.btn--default:hover {\n color: var(--button-color, var(--foreground));\n fill: var(--button-color, var(--foreground));\n background: var(--button-hover-background, var(--background));\n filter: var(--interactive-filter);\n}\n.btn--default:focus-visible {\n background: var(--button-hover-background, var(--background));\n filter: var(--interactive-filter);\n outline: var(--button-focus-outline, var(--outline));\n}\n","\n").concat("\n.success__position {\n position: fixed;\n inset: var(--dialog-inset);\n padding: var(--page-margin);\n z-index: var(--z-index);\n}\n.success__content {\n background: var(--success-background, var(--background));\n border: var(--success-border, var(--border));\n border-radius: var(--success-border-radius, 1.7em/50%);
2\n box-shadow: var(--success-box-shadow, var(--box-shadow));\n font-weight: var(--success-font-weight, 600);\n color: var(--success-color);\n fill: var(--success-color);\n padding: 12px 24px;\n line-height: 1.75em;\n\n display: grid;\n align-items: center;\n grid-auto-flow: column;\n gap: 6px;\n cursor: default;\n}\n\n.success__icon {\n display: flex;\n}\n","\n"),e&&t.setAttribute("nonce",e),t}(e.styleNonce);let c="";const d={get el(){return s},appendToDom(){o.contains(l)||o.contains(s)||(o.appendChild(l),o.appendChild(s))},removeFromDom(){s.remove(),l.remove(),IG.body.style.overflow=c},open(){var t,n;p(!0),null==(t=e.onFormOpen)||t.call(e),null==(n=gU())||n.emit("openFeedbackWidget"),c=IG.body.style.overflow,IG.body.style.overflow="hidden"},close(){p(!1),IG.body.style.overflow=c}},u=null==t?void 0:t.createInput({h:d$,hooks:oY,dialog:d,options:e}),p=t=>{!function(e,t){var n,i,o;ZG.__&&ZG.__(e,t),n=t.__k,i=[],o=[],C$(t,e=t.__k=d$(p$,null,[e]),n||o$,o$,void 0!==t.ownerSVGElement,n?null:t.firstChild?JG.call(t.childNodes):null,i,n?n.__e:t.firstChild,!1,o),e.__d=void 0,T$(i,e,o)}(d$(uY,{options:e,screenshotInput:u,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(r&&(null==a?void 0:a[r.name])||""),defaultEmail:String(r&&(null==a?void 0:a[r.email])||""),onFormClose:()=>{var t;p(!1),null==(t=e.onFormClose)||t.call(e)},onSubmit:n,onSubmitSuccess:(t,n)=>{var i;p(!1),null==(i=e.onSubmitSuccess)||i.call(e,t,n)},onSubmitError:t=>{var n;null==(n=e.onSubmitError)||n.call(e,t)},onFormSubmitted:()=>{var t;null==(t=e.onFormSubmitted)||t.call(e)},open:t}),s)};return d}});function hY(e){const t=IG.createElement("style"),n="#1A141F",i="#302735";return t.textContent="\n.editor {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n}\n\n.editor__image-container {\n justify-items: center;\n padding: 15px;\n position: relative;\n height: 100%;\n border-radius: var(--menu-border-radius, 6px);\n\n background-color: ".concat(n,";\n background-image: repeating-linear-gradient(\n -145deg,\n transparent,\n transparent 8px,\n ").concat(n," 8px,\n ").concat(n," 11px\n ),\n repeating-linear-gradient(\n -45deg,\n transparent,\n transparent 15px,\n ").concat(i," 15px,\n ").concat(i," 16px\n );\n}\n\n.editor__canvas-container {\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.editor__canvas-container > * {\n object-fit: contain;\n position: absolute;\n}\n\n.editor__tool-container {\n padding-top: 8px;\n display: flex;\n justify-content: center;\n}\n\n.editor__tool-bar {\n display: flex;\n gap: 8px;\n}\n\n.editor__tool {\n display: flex;\n padding: 8px 12px;\n justify-content: center;\n align-items: center;\n border: var(--button-border, var(--border));\n border-radius: var(--button-border-radius, 6px);\n background: var(--button-background, var(--background));\n color: var(--button-color, var(--foreground));\n}\n\n.editor__tool--active {\n background: var(--button-primary-background, var(--accent-background));\n color: var(--button-primary-color, var(--accent-foreground));\n}\n\n.editor__rect {\n position: absolute;\n z-index: 2;\n}\n\n.editor__rect button {\n opacity: 0;\n position: absolute;\n top: -12px;\n right: -12px;\n cursor: pointer;\n padding: 0;\n z-index: 3;\n border: none;\n background: none;\n}\n\n.editor__rect:hover button {\n opacity: 1;\n}\n"),e&&t.setAttribute("nonce",e),t}function mY({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:n,onAfterScreenshot:i,onError:o}){const r=function(){var t;const[n,i]=e.useState(null!=(t=TG.devicePixelRatio)?t:1);return e.useEffect(()=>{const e=()=>{i(TG.devicePixelRatio)},t=matchMedia("(resolution: ".concat(TG.devicePixelRatio,"dppx)"));return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[]),n}();e.useEffect(()=>{(async()=>{t();const e=await AG.mediaDevices.getDisplayMedia({video:{width:TG.innerWidth*r,height:TG.innerHeight*r},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),o=IG.createElement("video");await new Promise((t,i)=>{o.srcObject=e,o.onloadedmetadata=()=>
2{n(o,r),e.getTracks().forEach(e=>e.stop()),t()},o.play().catch(i)}),i()})().catch(o)},[])}}function fY(e,t,n){if(!e)return;const i=e.getContext("2d",t);i&&n(e,i)}function gY(e,t){fY(e,{alpha:!0},(e,n)=>{n.drawImage(t,0,0,t.width,t.height,0,0,e.width,e.height)})}function bY(e,t,n){fY(e,{alpha:!0},(e,i)=>{n.length&&(i.fillStyle="rgba(0, 0, 0, 0.25)",i.fillRect(0,0,e.width,e.height)),n.forEach(e=>{!function(e,t,n){switch(e.type){case"highlight":t.shadowColor="rgba(0, 0, 0, 0.7)",t.shadowBlur=50,t.fillStyle=n,t.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),t.clearRect(e.x,e.y,e.w,e.h);break;case"hide":t.fillStyle="rgb(0, 0, 0)",t.fillRect(e.x,e.y,e.w,e.h)}}(e,i,t)})})}function vY({h:e,hooks:t,outputBuffer:n,dialog:i,options:o}){const r=mY({hooks:t}),a=function({h:e}){return function({action:t,setAction:n,options:i}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:"editor__tool ".concat("highlight"===t?"editor__tool--active":""),onClick:()=>{n("highlight"===t?"":"highlight")}},i.highlightToolText),e("button",{type:"button",class:"editor__tool ".concat("hide"===t?"editor__tool--active":""),onClick:()=>{n("hide"===t?"":"hide")}},i.hideToolText)))}}({h:e}),s=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),l={__html:hY(o.styleNonce).innerText},c=i.el.style,d=({screenshot:i})=>{const[r,c]=t.useState("highlight"),[d,u]=t.useState([]),p=t.useRef(null),h=t.useRef(null),m=t.useRef(null),f=t.useRef(null),[g,b]=t.useState(1),v=t.useMemo(()=>{const e=IG.getElementById(o.id);if(!e)return"white";const t=getComputedStyle(e);return t.getPropertyValue("--button-primary-background")||t.getPropertyValue("--accent-background")},[o.id]);t.useLayoutEffect(()=>{const e=()=>{const t=p.current;t&&(fY(i.canvas,{alpha:!1},e=>{const n=Math.min(t.clientWidth/e.width,t.clientHeight/e.height);b(n)}),0!==t.clientHeight&&0!==t.clientWidth||setTimeout(e,0))};return e(),TG.addEventListener("resize",e),()=>{TG.removeEventListener("resize",e)}},[i]);const y=t.useCallback((e,t)=>{fY(e,{alpha:!0},(e,n)=>{n.scale(t,t),e.width=i.canvas.width,e.height=i.canvas.height})},[i]);t.useEffect(()=>{y(h.current,i.dpi),gY(h.current,i.canvas)},[i]),t.useEffect(()=>{y(m.current,i.dpi),fY(m.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),bY(m.current,v,d)},[d,v]),t.useEffect(()=>{y(n,i.dpi),gY(n,i.canvas),fY(IG.createElement("canvas"),{alpha:!0},(e,t)=>{t.scale(i.dpi,i.dpi),e.width=i.canvas.width,e.height=i.canvas.height,bY(e,v,d),gY(n,e)})},[d,i,v]);const w=t.useCallback(e=>t=>{t.preventDefault(),t.stopPropagation(),u(t=>{const n=[...t];return n.splice(e,1),n})},[]),x={width:"".concat(i.canvas.width*g,"px"),height:"".concat(i.canvas.height*g,"px")},k=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:o.styleNonce,dangerouslySetInnerHTML:l}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:p},e("canvas",{ref:h,id:"background",style:x}),e("canvas",{ref:m,id:"foreground",style:x}),e("div",{ref:f,onMouseDown:e=>{if(!r||!f.current)return;const t=f.current.getBoundingClientRect(),n={type:r,x:e.offsetX/g,y:e.offsetY/g},i=(e,n)=>{const i=(n.clientX-t.x)/g,o=(n.clientY-t.y)/g;return{type:e.type,x:Math.min(e.x,i),y:Math.min(e.y,o),w:Math.abs(i-e.x),h:Math.abs(o-e.y)}},o=e=>{fY(m.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),bY(m.current,v,[...d,i(n,e)])},a=e=>{const t=i(n,e);t.w*g>=1&&t.h*g>=1&&u(e=>[...e,t]),IG.removeEventListener("mousemove",o),IG.removeEventListener("mouseup",a)};IG.addEventListener("mousemove",o),IG.addEventListener("mouseup",a)},style:x},d.map((t,n)=>
2e("div",{key:n,class:"editor__rect",style:{top:"".concat(t.y*g,"px"),left:"".concat(t.x*g,"px"),width:"".concat(t.w*g,"px"),height:"".concat(t.h*g,"px")}},e("button",{"aria-label":o.removeHighlightText,onClick:w(n),onMouseDown:k,onMouseUp:k,type:"button"},e(s,null))))))),e(a,{options:o,action:r,setAction:c}))};return function({onError:i}){const[o,a]=t.useState();return r({onBeforeScreenshot:t.useCallback(()=>{c.display="none"},[]),onScreenshot:t.useCallback((e,t)=>{fY(IG.createElement("canvas"),{alpha:!1},(n,i)=>{i.scale(t,t),n.width=e.videoWidth,n.height=e.videoHeight,i.drawImage(e,0,0,n.width,n.height),a({canvas:n,dpi:t})}),n.width=e.videoWidth,n.height=e.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{c.display="block"},[]),onError:t.useCallback(e=>{c.display="block",i(e)},[])}),o?e(d,{screenshot:o}):e("div",null)}}const yY=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:n,options:i})=>{const o=IG.createElement("canvas");return{input:vY({h:e,hooks:t,outputBuffer:o,dialog:n,options:i}),value:async()=>{const e=await new Promise(e=>
2{o.toBlob(e,"image/png")});if(e){return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}}),wY=yF;let xY=0;function kY(){return xY>0}function _Y(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){const t=e.__sentry_wrapped__;return"function"==typeof t?t:e}if(hV(e))return e}catch(T8){return e}const n=function(...n){yF._sentryWrappedDepth=(yF._sentryWrappedDepth||0)+1;try{const i=n.map(e=>_Y(e,t));return e.apply(this,i)}catch(i){throw xY++,setTimeout(()=>{xY--}),fU(e=>{e.addEventProcessor(e=>(t.mechanism&&(MV(e,void 0),zV(e,t.mechanism)),e.extra={...e.extra,arguments:n},e)),jH(i)}),i}finally{yF._sentryWrappedDepth=(yF._sentryWrappedDepth||0)-1}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}catch(T8){}pV(n,e),uV(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:()=>e.name})}catch(T8){}return n}function EY(){const e=SG(),{referrer:t}=wY.document||{},{userAgent:n}=wY.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}}const SY=(({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:n})=>({id:i="sentry-feedback",autoInject:o=!0,showBranding:r=!0,isEmailRequired:a=!1,isNameRequired:s=!1,showEmail:l=!0,showName:c=!0,enableScreenshot:d=!0,useSentryUser:u={email:"email",name:"username"},tags:p,styleNonce:h,scriptNonce:m,colorScheme:f="system",themeLight:g={},themeDark:b={},addScreenshotButtonLabel:v="Add a screenshot",cancelButtonLabel:y="Cancel",confirmButtonLabel:w="Confirm",emailLabel:x="Email",emailPlaceholder:k="[email protected]",formTitle:_="Report a Bug",isRequiredLabel:E="(required)",messageLabel:S="Description",messagePlaceholder:C="What's the bug? What did you expect?",nameLabel:T="Name",namePlaceholder:I="Your Name",removeScreenshotButtonLabel:A="Remove screenshot",submitButtonLabel:P="Send Bug Report",successMessageText:O="Thank you for your report!",triggerLabel:R=PG,triggerAriaLabel:L="",highlightToolText:D="Highlight",hideToolText:N="Hide",removeHighlightText:M="Remove",errorEmptyMessageText:z=OG,errorNoClientText:j=RG,errorTimeoutText:B=LG,errorForbiddenText:F=DG,errorGenericText:V=NG,onFormOpen:U,onFormClose:q,onSubmitSuccess:H,onSubmitError:W,onFormSubmitted:G}={})=>{const $={id:i,autoInject:o,showBranding:r,isEmailRequired:a,isNameRequired:s,showEmail:l,showName:c,enableScreenshot:d,useSentryUser:u,tags:p,styleNonce:h,scriptNonce:m,colorScheme:f,themeDark:b,themeLight:g,triggerLabel:R,triggerAriaLabel:L,cancelButtonLabel:y,submitButtonLabel:P,confirmButtonLabel:w,formTitle:_,emailLabel:x,emailPlaceholder:k,messageLabel:S,messagePlaceholder:C,nameLabel:T,namePlaceholder:I,successMessageText:O,isRequiredLabel:E,addScreenshotButtonLabel:v,removeScreenshotButtonLabel:A,highlightToolText:D,hideToolText:N,removeHighlightText:M,errorEmptyMessageText:z,errorNoClientText:j,errorTimeoutText:B,errorForbiddenText:F,errorGenericText:V,onFormClose:q,onFormOpen:U,onSubmitError:W,onSubmitSuccess:H,onFormSubmitted:G};let Y=null,X=null,K=[];const J=e=>{if(!Y){const t=IG.createElement("div");t.id=String(e.id),IG.body.appendChild(t),Y=t.attachShadow({mode:"open"}),X=XG(e),Y.appendChild(X)}return Y},Z=async i=>{const o=i.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(AG.userAgent)||/Macintosh/i.test(AG.userAgent)&&AG.maxTouchPoints&&AG.maxTouchPoints>1||!isSecureContext);let r,a;try{r=(t?t():await e("feedbackModalIntegration",m))(),JH(r)}catch(T8){throw FG&&PF.error("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),new Error("[Feedback] Missing feedback modal integration!")}try{const t=o?n?n():await e("feedbackScreenshotIntegration",m):void 0;t&&(a=t(),JH(a))}catch(T8){FG&&PF.error("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}const s={ERROR_EMPTY_MESSAGE:i.errorEmptyMessageText,ERROR_NO_CLIENT:i.errorNoClientText,ERROR_TIMEOUT:i.errorTimeoutText,ERROR_FORBIDDEN:i.errorForbiddenText,ERROR_GENERIC:i.errorGenericText},l=r.createDialog({options:{...i,onFormClose:()=>{var e;null==l||l.close(),null==(e=i.onFormClose)||e.call(i)},onFormSubmitted:()=>{var e;null==l||l.close(),null==(e=i.onFormSubmitted)||e.call(i)}},screenshotIntegration:a,sendFeedback:(e,t)=>BG(e,{includeReplay:!0,...t,errorMessages:s}),shadow:J(i)});return l},Q=(e,t={})=>{const n=VG($,t),i="string"==typeof e?IG.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!i)throw FG&&PF.error("[Feedback] Unable to attach to target element"),new Error("Unable to attach to target element");let o=null;const r=async()=>{o||(o=await Z({...n,onFormSubmitted:()=>{var e;null==o||o.removeFromDom(),null==(e=n.onFormSubmitted)||e.call(n)}})),o.appendToDom(),o.open()};i.addEventListener("click",r);const a=()=>{K=K.filter(e=>e!==a),null==o||o.removeFromDom(),o=null,i.removeEventListener("click",r)};return K.push(a),a},ee=(e={})=>{const t=VG($,e),n=J(t),i=HG({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:n,styleNonce:h});return Q(i.el,{...t,onFormOpen(){i.hide()},onFormClose(){i.show()},onFormSubmitted(){i.show()}}),i};return{name:"Feedback",setupOnce(){QH()&&$.autoInject&&("loading"===IG.readyState?IG.addEventListener("DOMContentLoaded",()=>ee().appendToDom()):ee().appendToDom())},attachTo:Q,createWidget(e={}){const t=ee(VG($,e));return t.appendToDom(),t},createForm:async(e={})=>Z(VG($,e)),setTheme(e){if($.colorScheme=e,Y){const e=XG($);X?Y.replaceChild(e,X):Y.prepend(e),X=e}},remove(){var e;Y&&(null==(e=Y.parentElement)||e.remove(),Y=null,X=null),K.forEac
2h(e=>e()),K=[]}}})({getModalIntegration:()=>pY,getScreenshotIntegration:()=>yY});function CY(e,t){const n=AY(e,t),i={type:RY(t),value:LY(t)};return n.length&&(i.stacktrace={frames:n}),void 0===i.type&&""===i.value&&(i.value="Unrecoverable error caught"),i}function TY(e,t,n,i){const o=gU(),r=null==o?void 0:o.getOptions().normalizeDepth,a=(s=t,Object.values(s).find(e=>e instanceof Error));var s;const l={__serialized__:CV(t,r)};if(a)return{exception:{values:[CY(e,a)]},extra:l};const c={exception:{values:[{type:aV(t)?t.constructor.name:i?"UnhandledRejection":"Error",value:MY(t,{isUnhandledRejection:i})}]},extra:l};if(n){const t=AY(e,n);t.length&&(c.exception.values[0].stacktrace={frames:t})}return c}function IY(e,t){return{exception:{values:[CY(e,t)]}}}function AY(e,t){const n=t.stacktrace||t.stack||"",i=function(e){if(e&&PY.test(e.message))return 1;return 0}(t),o=function(e){if("number"==typeof e.framesToPop)return e.framesToPop;return 0}(t);try{return e(n,i,o)}catch(T8){}return[]}const PY=/Minified React error #\d+;/i;function OY(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function RY(e){const t=null==e?void 0:e.name;if(!t&&OY(e)){return e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception"}return t}function LY(e){const t=null==e?void 0:e.message;return OY(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?tG(t.error):tG(e):"No error message"}function DY(e,t,n,i,o){var r,a;let s;if(QF(t)&&t.error){return IY(e,t.error)}if(eV(t)||ZF(t,"DOMException")){const o=t;if("stack"in t){s=IY(e,t);const o=null==(a=null==(r=s.exception)?void 0:r.values)?void 0:a[0];if(i&&n&&o&&!o.stacktrace){const t=AY(e,n);t.length&&(o.stacktrace={frames:t},zV(s,{synthetic:!0}))}}else{const t=o.name||(eV(o)?"DOMError":"DOMException"),r=o.message?"".concat(t,": ").concat(o.message):t;s=NY(e,r,n,i),MV(s,r)}return"code"in o&&(s.tags={...s.tags,"DOMException.code":"".concat(o.code)}),s}if(JF(t))return IY(e,t);if(oV(t)||aV(t)){return s=TY(e,t,n,o),zV(s,{synthetic:!0}),s}return s=NY(e,t,n,i),MV(s,"".concat(t)),zV(s,{synthetic:!0}),s}function NY(e,t,n,i){const o={};if(i&&n){const i=AY(e,n);i.length&&(o.exception={values:[{value:t,stacktrace:{frames:i}}]}),zV(o,{synthetic:!0})}if(nV(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return o.logentry={message:e,params:n},o}return o.message=t,o}function MY(e,{isUnhandledRejection:t}){const n=function(e){const t=Object.keys(mV(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}(e),i=t?"promise rejection":"exception";if(QF(e))return"Event `ErrorEvent` captured as ".concat(i," with message `").concat(e.message,"`");if(aV(e)){const t=function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(T8){}}(e);return"Event `".concat(t,"` (type=").concat(e.type,") captured as ").concat(i)}return"Object captured as ".concat(i," with keys: ").concat(n)}class zY extends EW{constructor(e){var t;const n=function(e){var t;return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:null==(t=wY.SENTRY_RELEASE)?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}(e);BW(n,"browser",["browser"],wY.SENTRY_SDK_SOURCE||"npm"),super(n);const{userInfo:i}=this.getDataCollectionOptions();(null==(t=n._metadata)?void 0:t.sdk)&&(n._metadata.sdk.settings={infer_ip:i?"auto":"never",...n._metadata.sdk.settings});const{sendClientReports:o}=this._options;wY.document&&wY.document.addEventListener("visibilitychange",()=>{"hidden"===wY.document.visibilityState&&(o&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),i&&this.on("beforeSendSession",jW)}eventFromException(e,t){return function(e,t,n,i){const o=DY(e,t,(null==n?void 0:n.syntheticException)||void 0,i);return zV(o),o.level="error",(null==n?void 0:n.event_id)&&(o.event_id=n.event_id),CH(o)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",i,o){const r=NY(e,t,(null==i?void 0:i.syntheticException)||void 0,o);return r.level=n,(null==i?void 0:i.event_id)&&(r.event_id=i.event_id),CH(r)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}_prepareEvent(e,t,n,i){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n,i)}}const jY="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,BY=yF,FY=(e,t,n,i)=>{let o,r;return a=>{t.value>=0&&(a||i)&&(r=t.value-(null!=o?o:0),(r||void 0===o)&&(o=t.value,t.delta=r,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},VY=(e=!0)=>{var t,n;const i=null==(n=null==(t=BY.performance)?void 0:t.getEntriesByType)?void 0:n.call(t,"navigation")[0];if(!e||i&&i.responseStart>0&&i.responseStart<performance.now())return i},UY=()=>{var e;const t=VY();return null!=(e=null==t?void 0:t.activationStart)?e:0};function qY(e,t,n){BY.document&&BY.addEventListener(e,t,n)}function HY(e,t,n){BY.document&&BY.removeEventListener(e,t,n)}let WY=-1;const GY=new Set,$Y=e=>{if(function(e){var t;return"pagehide"===e.type||"hidden"===(null==(t=BY.document)?void 0:t.visibilityState)}(e)&&WY>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(const e of GY)e();isFinite(WY)||(WY="visibilitychange"===e.type?e.timeStamp:0,HY("prerenderingchange",$Y,!0))}},YY=()=>{var e;if(BY.document&&WY<0){const t=UY(),n=BY.document.prerendering||null==(e=globalThis.performance.getEntriesByType("visibility-state").filter(e=>"hidden"===e.name&&e.startTime>t)[0])?void 0:e.startTime;WY=null!=n?n:(()=>{var e,t;return"hidden"!==(null==(e=BY.document)?void 0:e.visibilityState)||(null==(t=BY.document)?void 0:t.prerendering)?1/0:0})(),qY("visibilitychange",$Y,!0),qY("pagehide",$Y,!0),qY("prerenderingchange",$Y,!0)}return{get firstHiddenTime(){return WY}
2,onHidden(e){GY.add(e)}}};const XY=(e,t=-1)=>{var n,i;const o=VY();let r="navigate";o&&((null==(n=BY.document)?void 0:n.prerendering)||UY()>0?r="prerender":(null==(i=BY.document)?void 0:i.wasDiscarded)?r="restore":o.type&&(r=o.type.replace(/_/g,"-")));return{name:e,value:t,rating:"good",delta:0,entries:[],id:"v5-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},KY=new WeakMap;function JY(e,t){try{return KY.get(e)||KY.set(e,new t),KY.get(e)}catch(n){return new t}}class ZY{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){var t;if(e.hadRecentInput)return;const n=this._sessionEntries[0],i=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&i&&e.startTime-i.startTime<1e3&&e.startTime-n.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),null==(t=this._onAfterProcessingUnexpectedShift)||t.call(this,e)}}const QY=(e,t,n={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const i=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return i.observe({type:e,buffered:!0,...n}),i}}catch(T8){}},eX=e=>{let t=!1;return()=>{t||(e(),t=!0)}},tX=e=>{var t;(null==(t=BY.document)?void 0:t.prerendering)?addEventListener("prerenderingchange",()=>e(),!0):e()},nX=[1800,3e3],iX=[.1,.25],oX=(e,t={})=>{((e,t={})=>{tX(()=>{const n=YY(),i=XY("FCP");let o;const r=QY("paint",e=>{for(const t of e)"first-contentful-paint"===t.name&&(r.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-UY(),0),i.entries.push(t),o(!0)))});r&&(o=FY(e,i,nX,t.reportAllChanges))})})(eX(()=>{var n;const i=XY("CLS",0);let o;const r=YY(),a=JY(t,ZY),s=e=>{for(const t of e)a._processEntry(t);a._sessionValue>
2i.value&&(i.value=a._sessionValue,i.entries=a._sessionEntries,o())},l=QY("layout-shift",s);l&&(o=FY(e,i,iX,t.reportAllChanges),r.onHidden(()=>{s(l.takeRecords()),o(!0)}),null==(n=null==BY?void 0:BY.setTimeout)||n.call(BY,o))}))};let rX=0,aX=1/0,sX=0;const lX=e=>{e.forEach(e=>{e.interactionId&&(aX=Math.min(aX,e.interactionId),sX=Math.max(sX,e.interactionId),rX=sX?(sX-aX)/7+1:0)})};let cX;const dX=()=>cX?rX:performance.interactionCount||0;let uX=0;class pX{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){uX=dX(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){const e=Math.min(this._longestInteractionList.length-1,Math.floor((dX()-uX)/50));return this._longestInteractionList[e]}_processEntry(e){var t,n;if(null==(t=this._onBeforeProcessingEntry)||t.call(this,e),!e.interactionId&&"first-input"!==e.entryType)return;const i=this._longestInteractionList.at(-1);let o=this._longestInteractionMap.get(e.interactionId);if(o||this._longestInteractionList.length<10||e.duration>i._latency){if(o?e.duration>o._latency?(o.entries=[e],o._latency=e.duration):e.duration===o._latency&&e.startTime===o.entries[0].startTime&&o.entries.push(e):(o={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(o.id,o),this._longestInteractionList.push(o)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10){const e=this._longestInteractionList.splice(10);for(const t of e)this._longestInteractionMap.delete(t.id)}null==(n=this._onAfterProcessingINPCandidate)||n.call(this,o)}}}const hX=e=>{var t;const n=BY.requestIdleCallback||BY.setTimeout;"hidden"===(null==(t=BY.document)?void 0:t.visibilityState)?e():(qY("visibilitychange",e=eX(e),{once:!0,capture:!0}),qY("pagehide",e,{once:!0,capture:!0}),n(()=>{e(),HY("visibilitychange",e,{capture:!0}),HY("pagehide",e,{capture:!0})}))},mX=[200,500],fX=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=YY();tX(()=>{var i;"interactionCount"in performance||cX||(cX=QY("event",lX,{type:"event",buffered:!0,durationThreshold:0}));const o=XY("INP");let r;const a=JY(t,pX),s=e=>{hX(()=>{for(const n of e)a._processEntry(n);const t=a._estimateP98LongestInteraction();t&&t._latency!==o.value&&(o.value=t._latency,o.entries=t.entries,r())})},l=QY("event",s,{durationThreshold:null!=(i=t.durationThreshold)?i:40});r=FY(e,o,mX,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),n.onHidden(()=>{s(l.takeRecords()),r(!0)}))})};class gX{_processEntry(e){var t;null==(t=this._onBeforeProcessingEntry)||t.call(this,e)}}const bX=[2500,4e3],vX=[800,1800],yX=e=>{var t,n;(null==(t=BY.document)?void 0:t.prerendering)?tX(()=>yX(e)):"complete"!==(null==(n=BY.document)?void 0:n.readyState)?addEventListener("load",()=>yX(e),!0):setTimeout(e)},wX={},xX={};let kX,_X,EX,SX;function CX(e,t=!1){return NX("cls",e,OX,kX,t)}function TX(e,t=!1){return NX("lcp",e,RX,_X,t)}function IX(e){return NX("inp",e,DX,SX)}function AX(e,t){return MX(e,t),xX[e]||(!function(e){const t={};"event"===e&&(t.durationThreshold=0);QY(e,t=>{PX(e,{entries:t})},t)}(e),xX[e]=!0),zX(e,t)}function PX(e,t){const n=wX[e];if(null==n?void 0:n.length)for(const i of n)try{i(t)}catch(T8){jY&&PF.error("Error while triggering instrumentation handler.\nType: ".concat(e,"\nName: ").concat(zF(i),"\nError:"),T8)}}function OX(){return oX(e=>{PX("cls",{metric:e}),kX=e},{reportAllChanges:!0})}function RX(){return((e,t={})=>{tX(()=>{const n=YY(),i=XY("LCP");let o;const r=JY(t,gX),a=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)r._processEntry(t),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-UY(),0),i.entries=[t],o())},s=QY("largest-contentful-paint",a);if(s){o=FY(e,i,bX,t.reportAllChanges);const n=eX(()=>{a(s.takeRecords()),s.disconnect(),o(!0)}),r=e=>{e.isTrusted&&(hX(n),HY(e.type,r,{capture:!0}))};for(const e of["keydown","click","visibilitychange"])qY(e,r,{capture:!0})}})})(e=>{PX("lcp",{metric:e}),_X=e},{reportAllChanges:!0})}function LX(){return((e,t={})=>{const n=XY("TTFB"),i=FY(e,n,vX,t.reportAllChanges);yX(()=>{const e=VY();e&&(n.value=Math.max(e.responseStart-UY(),0),n.entries=[e],i(!0))})})(e=>{PX("ttfb",{metric:e}),EX=e})}function DX(){return fX(e=>{PX("inp",{metric:e}),SX=e})}function NX(e,t,n,i,o=!1){let r;return MX(e,t),xX[e]||(r=n(),xX[e]=!0),i&&t({metric:i}),zX(e,t,o?r:void 0)}function MX(e,t){wX[e]=wX[e]||[],wX[e].push(t)}
2function zX(e,t,n){return()=>{n&&n();const i=wX[e];if(!i)return;const o=i.indexOf(t);-1!==o&&i.splice(o,1)}}const jX={};try{"undefined"!=typeof Node&&(jX.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(jX.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,jX.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,jX.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,jX.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(jX.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch(T8){}function BX(e,t,n){const i=jX[t];if(i)try{return i.call(e,n)}catch(T8){}const o=e[t];return"function"==typeof o?o.call(e,n):o}function FX(e,t={}){if(!e)return"<unknown>";try{let n=e;const i=5,o=[];let r=0,a=0;const s=" > ",l=s.length;let c;const d=Array.isArray(t)?t:t.keyAttrs,u=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&r++<i&&(c=VX(n,d),!("html"===c||r>1&&a+o.length*l+c.length>=u));)o.push(c),a+=c.length,n=BX(n,"parentNode");return o.reverse().join(s)}catch(T8){return"<unknown>"}}function VX(e,t){const n=[],i=BX(e,"tagName");if(!i)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){const t=BX(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}n.push(i.toLowerCase());const o=(null==t?void 0:t.length)?t.filter(t=>BX(e,"getAttribute",t)).map(t=>[t,BX(e,"getAttribute",t)]):null;if(null==o?void 0:o.length)o.forEach(e=>{n.push("[".concat(e[0],'="').concat(e[1],'"]'))});else{const t=BX(e,"id");t&&n.push("#".concat(t));const i=BX(e,"className");if(i&&tV(i)){const e=i.split(/\s+/);for(const t of e)n.push(".".concat(t))}}for(const r of["aria-label","type","name","title","alt"]){const t=BX(e,"getAttribute",r);t&&n.push("[".concat(r,'="').concat(t,'"]'))}return n.join("")}function UX(e){return"number"==typeof e&&isFinite(e)}function qX(e,t,n,{...i}){const o=cq(e).start_timestamp;return o&&o>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),cH(e,()=>{const e=lH({startTime:t,...i});return e&&e.end(n),e})}function HX(e){var t;const n=gU();if(!n)return;const{name:i,transaction:o,attributes:r,startTime:a}=e,{release:s,environment:l}=n.getOptions(),{userInfo:c}=n.getDataCollectionOptions(),d=n.getIntegrationByName("Replay"),u=null==d?void 0:d.getReplayId(),p=pU(),h=p.getUser(),m=void 0!==h?h.email||h.id||h.ip_address:void 0;let f;try{f=p.getScopeData().contexts.profile.profile_id}catch(T8){}return lH({name:i,attributes:{release:s,environment:l,user:m||void 0,profile_id:f||void 0,replay_id:u||void 0,transaction:o,"user_agent.original":null==(t=BY.navigator)?void 0:t.userAgent,"client.address":c?"{{auto}}":void 0,...r},startTime:a,experimental:{standalone:!0}})}function WX(){return BY.addEventListener&&BY.performance}function GX(e){return e/1e3}function $X(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch(T8){return!1}}function YX(e,t){let n,i=!1;function o(e){!i&&n&&t(e,n.spanContext().spanId,n),i=!0}(e=>{const t=t=>{var n;"pagehide"!==t.type&&"hidden"!==(null==(n=BY.document)?void 0:n.visibilityState)||e(t)};qY("visibilitychange",t,{capture:!0,once:!0}),qY("pagehide",t,{capture:!0,once:!0})})(()=>{o("pagehide")});const r=e.on("beforeStartNavigationSpan",(e,t)=>{(null==t?void 0:t.isRedirect)||(o("navigation"),r(),a())}),a=e.on("afterStartPageLoadSpan",e=>{n=e,a()})}function XX(e){let t,n=0;if(!$X("layout-shift"))return;const i=CX(({metric:e})=>{const i=e.entries[e.entries.length-1];i&&(n=e.value,t=i)},!0);YX(e,(e,o)=>{!function(e,t,n,i){var o;jY&&PF.log("Sending CLS span (".concat(e,")"));const r=t?GX((qV()||0)+t.startTime):VV(),a=pU().getScopeData().transactionName,s=t?FX(null==(o=t.sources[0])?void 0:o.node):"Layout shift",l={[kU]:"auto.http.browser.cls",[xU]:"ui.webvital.cls",[AU]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};(null==t?void 0:t.sources)&&t.sources.forEach((e,t)=>{l["cls.source.".concat(t+1)]=FX(e.node)});const c=HX({name:s,transaction:a,attributes:l,startTime:r});c&&(c.addEvent("cls",{[SU]:"",[CU]:e}),c.end(r))}(n,t,o,e),i()})}function KX(e){return null!=e&&e>0&&e<=6e4}function JX(e){let t,n=0;if(!$X("largest-contentful-paint"))return;const i=TX(({metric:e})=>{const i=e.entries[e.entries.length-1];i&&KX(e.value)&&(n=e.value,t=i)},!0);YX(e,(e,o)=>{!function(e,t,n,i){if(!KX(e))return;jY&&PF.log("Sending LCP span (".concat(e,")"));const o=GX((qV()||0)+((null==t?void 0:t.startTime)||0)),r=pU().getScopeData().transactionName,a=t?FX(t.element):"Largest contentful paint",s={[kU]:"auto.http.browser.lcp",[xU]:"ui.webvital.lcp",[AU]:0,"sentry.pageload.span_id":n,"sentry.report_event":i};t&&(t.element&&(s["lcp.element"]=FX(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));
2const l=HX({name:a,transaction:r,attributes:s,startTime:o});l&&(l.addEvent("lcp",{[SU]:"millisecond",[CU]:e}),l.end(o))}(n,t,o,e),i()})}function ZX(e){return e?((qV()||performance.timeOrigin)+e)/1e3:e}function QX(e){var t;const n={};if(null!=e.nextHopProtocol){const{name:t,version:i}=function(e){let t="unknown",n="unknown",i="";for(const o of e){if("/"===o){[t,n]=e.split("/");break}if(!isNaN(Number(o))){t="h"===i?"http":i,n=e.split(i)[1];break}i+=o}return i===e&&(t=i),{name:t,version:n}}(e.nextHopProtocol);n["network.protocol.version"]=i,n["network.protocol.name"]=t}return qV()||(null==(t=WX())?void 0:t.timeOrigin)?(i={...n,"http.request.redirect_start":ZX(e.redirectStart),"http.request.redirect_end":ZX(e.redirectEnd),"http.request.worker_start":ZX(e.workerStart),"http.request.fetch_start":ZX(e.fetchStart),"http.request.domain_lookup_start":ZX(e.domainLookupStart),"http.request.domain_lookup_end":ZX(e.domainLookupEnd),"http.request.connect_start":ZX(e.connectStart),"http.request.secure_connection_start":ZX(e.secureConnectionStart),"http.request.connection_end":ZX(e.connectEnd),"http.request.request_start":ZX(e.requestStart),"http.request.response_start":ZX(e.responseStart),"http.request.response_end":ZX(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0},Object.fromEntries(Object.entries(i).filter(([,e])=>null!=e))):n;var i}const eK=2147483647;let tK,nK,iK=0,oK={};function rK({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:n}){const i=WX();if(i&&qV()){i.mark&&BY.performance.mark("sentry-tracing-init");const o=t?JX(n):!1===t?TX(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&KX(e.value)&&(oK.lcp={value:e.value,unit:"millisecond"},tK=t)},!0):void 0,r=e?XX(n):!1===e?CX(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(oK.cls={value:e.value,unit:""},nK=t)},!0):void 0,a=function(e){return NX("ttfb",e,LX,EX)}(({metric:e})=>{e.entries[e.entries.length-1]&&(oK.ttfb={value:e.value,unit:"millisecond"})}),s=AX("paint",({entries:e})=>{const t=YY();for(const n of e){const e=n.startTime<t.firstHiddenTime;"first-paint"===n.name&&e&&(oK.fp={value:n.startTime,unit:"millisecond"}),"first-contentful-paint"===n.name&&e&&(oK.fcp={value:n.startTime,unit:"millisecond"})}});return()=>{a(),s(),null==o||o(),null==r||r()}}return()=>{}}function aK(e,t){const n=WX(),i=qV();if(!(null==n?void 0:n.getEntries)||!i)return;const{spanStreamingEnabled:o,ignorePerformanceApiSpans:r,ignoreResourceSpans:a}=t,s=GX(i),l=n.getEntries(),{op:c,start_timestamp:d}=cq(e);l.slice(iK).forEach(t=>{const n=GX(t.startTime),i=GX(Math.max(0,t.duration));if(!("navigation"===c&&d&&s+n<d))switch(t.entryType){case"navigation":!function(e,t,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(i=>{cK(e,t,i,n)}),cK(e,t,"secureConnection",n,"TLS/SSL"),cK(e,t,"fetch",n,"cache"),cK(e,t,"domainLookup",n,"DNS"),function(e,t,n){const i=n+GX(t.requestStart),o=n+GX(t.responseEnd),r=n+GX(t.responseStart);t.responseEnd&&(qX(e,i,o,{op:"browser.request",name:t.name,attributes:{[kU]:"auto.ui.browser.metrics"}}),qX(e,r,o,{op:"browser.response",name:t.name,attributes:{[kU]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,s);break;case"mark":case"paint":case"measure":!function(e,t,n,i,o,r){if(function(e){if("measure"!==(null==e?void 0:e.entryType))return;try{return"Components â"===e.detail.devtools.track}catch(T8){return}}(t))return;if(["mark","measure"].includes(t.entryType)&&RV(t.name,r))return;const a=VY(!1),s=GX(a?a.requestStart:0),l=o+Math.max(n,s),c=o+n,d=c+i,u={[kU]:"auto.resource.browser.metrics"};l!==c&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=l);(function(e,t){try{const n=t.detail;if(!n)return;if("object"==typeof n){for(const[t,i]of Object.entries(n))if(i&&iV(i))e["sentry.browser.measure.detail.".concat(t)]=i;else if(void 0!==i)try{e["sentry.browser.measure.detail.".concat(t)]=JSON.stringify(i)}catch(T8){}return}if(iV(n))return void(e["sentry.browser.measure.detail"]=n);try{e["sentry.browser.measure.detail"]=JSON.stringify(n)}catch(T8){}}catch(T8){}})(u,t),l<=d&&qX(e,l,d,{name:t.name,op:t.entryType,attributes:u})}(e,t,n,i,s,r);break;case"resource":!function(e,t,n,i,o,r,a){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;const s=t.initiatorType?"resource.".concat(t.initiatorType):"resource.other";if(null==a?void 0:a.includes(s))return;const l={[kU]:"auto.resource.browser.metrics"},c=MW(n);c.protocol&&(l["url.scheme"]=c.protocol.split(":").pop());c.host&&(l["server.address"]=c.host);l["url.same_origin"]=n.includes(BY.location.origin),l[_H]=n,function(e,t,n){n.forEac
2h(([n,i])=>{const o=e[n];null!=o&&("number"==typeof o&&o<eK||"string"==typeof o)&&(t[i]=o)})}(t,l,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);const d={...l,...QX(t)},u=r+i,p=u+o;qX(e,u,p,{name:n.replace(BY.location.origin,""),op:s,attributes:d})}(e,t,t.name,n,i,s,a)}}),iK=Math.max(l.length-1,0),function(e,t){const n=BY.navigator;if(!n)return;const i=n.connection;i&&(i.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",i.effectiveType),i.type&&e.setAttribute(t?"network.connection.type":"connectionType",i.type),UX(i.rtt)&&(t?e.setAttribute("network.connection.rtt",i.rtt):"pageload"===cq(e).op&&eH("connection.rtt",i.rtt,"millisecond")));UX(n.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",n.deviceMemory):e.setAttribute("deviceMemory","".concat(n.deviceMemory," GB")));UX(n.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",n.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(n.hardwareConcurrency)))}(e,o)}function sK(e,t){var n;const i=qV();if(!(null==(n=WX())?void 0:n.getEntries)||!i)return void lK();const{spanStreamingEnabled:o,recordClsOnPageloadSpan:r,recordLcpOnPageloadSpan:a}=t,s=GX(i);if("pageload"===cq(e).op){if(function(e){const t=VY(!1);if(!t)return;const{responseStart:n,requestStart:i}=t;i<=n&&(e["ttfb.requestTime"]={value:n-i,unit:"millisecond"})}(oK),o){const t=(t,n,i)=>{const o=null!=i?i:"browser.web_vital.".concat(t,".value");e.setAttribute(o,n),jY&&PF.log("Setting web vital attribute",{[o]:n},"on pageload span")};["ttfb","fp","fcp"].forEach(e=>{oK[e]&&t(e,oK[e].value)}),oK["ttfb.requestTime"]&&t("ttfb.requestTime",oK["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else r||delete oK.cls,a||delete oK.lcp,Object.entries(oK).forEach(([t,n])=>{eH(t,n.value,n.unit,e)}),function(e,t){tK&&t.recordLcpOnPageloadSpan&&(tK.element&&e.setAttribute("lcp.element",FX(tK.element)),tK.id&&e.setAttribute("lcp.id",tK.id),tK.url&&e.setAttribute("lcp.url",tK.url.trim().slice(0,200)),null!=tK.loadTime&&e.setAttribute("lcp.loadTime",tK.loadTime),null!=tK.renderTime&&e.setAttribute("lcp.renderTime",tK.renderTime),e.setAttribute("lcp.size",tK.size));(null==nK?void 0:nK.sources)&&t.recordClsOnPageloadSpan&&nK.sources.forEach((t,n)=>e.setAttribute("cls.source.".concat(n+1),FX(t.node)))}(e,t);e.setAttribute(o?"browser.performance.time_origin":"performance.timeOrigin",s),e.setAttribute(o?"browser.performance.navigation.activation_start":"performance.activationStart",UY())}lK()}function lK(){tK=void 0,nK=void 0,oK={}}function cK(e,t,n,i,o=n){const r=function(e){if("secureConnection"===e)return"connectEnd";if("fetch"===e)return"domainLookupStart";return"".concat(e,"End")}(n),a=t[r],s=t["".concat(n,"Start")];s&&a&&qX(e,i+GX(s),i+GX(a),{op:"browser.".concat(o),name:t.name,attributes:{[kU]:"auto.ui.browser.metrics",..."redirect"===n&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}const dK=[],uK=new Map,pK=new Map;function hK(){if(WX()&&qV()){const e=IX(fK);return()=>{e()}}return()=>{}}const mK={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};const fK=({metric:e})=>{if(null==e.value)return;const t=GX(e.value);if(t>60)return;const n=e.entries.find(t=>t.duration===e.value&&mK[t.name]);if(!n)return;const{interactionId:i}=n,o=mK[n.name],r=GX(qV()+n.startTime),a=Eq(),s=a?kq(a):void 0,l=null!=i?uK.get(i):void 0,c=(null==l?void 0:l.span)||s,d=c?cq(c).description:pU().getScopeData().transactionName,u=HX({name:(null==l?void 0:l.elementName)||FX(n.target),transaction:d,attributes:{[kU]:"auto.http.browser.inp",[xU]:"ui.interaction.".concat(o),[AU]:n.duration},startTime:r});u&&(u.addEvent("inp",{[SU]:"millisecond",[CU]:e.value}),u.end(r+t))};function gK(){const e=Object.keys(mK);function t(e){const t=e.target;if(!t)return;const n=FX(t),i=Math.round(e.timeStamp);if(pK.set(i,n),pK.size>50){const e=pK.keys().next().value;void 0!==e&&pK.delete(e)}}
2QH()&&e.forEach(e=>{BY.addEventListener(e,t,{capture:!0,passive:!0})});const n=({entries:e})=>{const t=Eq(),n=t&&kq(t);e.forEach(e=>{if(!function(e){return"duration"in e}(e))return;const t=e.interactionId;if(null==t)return;if(uK.has(t))return;const i=e.target?FX(e.target):function(e){const t=Math.round(e.startTime);let n=pK.get(t);if(!n)for(let i=-5;i<=5;i++){const e=pK.get(t+i);if(e){n=e;break}}return n||"<unknown>"}(e);if(dK.length>10){const e=dK.shift();uK.delete(e)}dK.push(t),uK.set(t,{span:n,elementName:i})})};AX("event",n),AX("first-input",n)}function bK(e){var t,n;const{name:i,op:o,origin:r,metricName:a,value:s,attributes:l,parentSpan:c,reportEvent:d,startTime:u,endTime:p}=e,h=pU().getScopeData().transactionName,m={[kU]:r,[xU]:o,[AU]:0,["browser.web_vital.".concat(a,".value")]:s,[kH]:h,[xH]:h,"user_agent.original":null==(t=BY.navigator)?void 0:t.userAgent,...l};c&&"pageload"===(null==(n=dq(c).attributes)?void 0:n[xU])&&(m["sentry.pageload.span_id"]=c.spanContext().spanId),d&&(m["browser.web_vital.".concat(a,".report_event")]=d);const f=lH({name:i,attributes:m,startTime:u,parentSpan:c});f&&f.end(null!=p?p:u)}function vK(e){let t,n=0;if(!$X("largest-contentful-paint"))return;const i=TX(({metric:e})=>{const i=e.entries[e.entries.length-1];i&&KX(e.value)&&(n=e.value,t=i)},!0);YX(e,(e,o,r)=>{!function(e,t,n,i){if(!KX(e))return;jY&&PF.log("Sending LCP span (".concat(e,")"));const o=qV()||0,r=GX(o),a=GX(o+((null==t?void 0:t.startTime)||0)),s=t?FX(t.element):"Largest contentful paint",l={};(null==t?void 0:t.element)&&(l["browser.web_vital.lcp.element"]=FX(t.element)),(null==t?void 0:t.id)&&(l["browser.web_vital.lcp.id"]=t.id),(null==t?void 0:t.url)&&(l["browser.web_vital.lcp.url"]=t.url),null!=(null==t?void 0:t.loadTime)&&(l["browser.web_vital.lcp.load_time"]=t.loadTime),null!=(null==t?void 0:t.renderTime)&&(l["browser.web_vital.lcp.render_time"]=t.renderTime),null!=(null==t?void 0:t.size)&&(l["browser.web_vital.lcp.size"]=t.size),bK({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:l,parentSpan:n,reportEvent:i,startTime:r,endTime:a})}(n,t,r,e),i()})}function yK(e){let t,n=0;if(!$X("layout-shift"))return;const i=CX(({metric:e})=>{const i=e.entries[e.entries.length-1];i&&(n=e.value,t=i)},!0);YX(e,(e,o,r)=>{!function(e,t,n,i){var o;jY&&PF.log("Sending CLS span (".concat(e,")"));const r=t?GX((qV()||0)+t.startTime):VV(),a=t?FX(null==(o=t.sources[0])?void 0:o.node):"Layout shift",s={};(null==t?void 0:t.sources)&&t.sources.forEach((e,t)=>{s["browser.web_vital.cls.source.".concat(t+1)]=FX(e.node)});bK({name:a,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:s,parentSpan:n,reportEvent:i,startTime:r})}(n,t,r,e),i()})}function wK(){if(!WX()||!qV())return;IX(({metric:e})=>{if(null==e.value)return;if(GX(e.value)>60)return;const t=e.entries.find(t=>t.duration===e.value&&mK[t.name]);t&&function(e,t){jY&&PF.log("Sending INP span (".concat(e,")"));const n=GX(qV()+t.startTime),i=GX(e),o=mK[t.name],r=(u=t.interactionId,null!=u?uK.get(u):void 0),a=Eq(),s=a?kq(a):void 0,l=(null==r?void 0:r.span)||s,c=l?dq(l).name:pU().getScopeData().transactionName,d=(null==r?void 0:r.elementName)||FX(t.target);var u;bK({name:d,op:"ui.interaction.".concat(o),origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[AU]:t.duration,[kH]:c,[xH]:c},startTime:n,endTime:n+i,parentSpan:l})}(e.value,t)})}let xK,kK,_K,EK;function SK(){if(!BY.document)return;const e=qF.bind(null,"dom"),t=CK(e,!0);BY.document.addEventListener("click",t,!1),BY.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{var n,i;const o=null==(n=BY[t])?void 0:n.prototype;(null==(i=null==o?void 0:o.hasOwnProperty)?void 0:i.call(o,"addEventListener"))&&(dV(o,"addEventListener",function(t){return function(n,i,o){if("click"===n||"keypress"==n)try{const i=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},r=i[n]=i[n]||{refCount:0};if(!r.handler){const i=CK(e);r.handler=i,t.call(this,n,i,o)}r.refCount++}catch(T8){}return t.call(this,n,i,o)}}),dV(o,"removeEventListener",function(e){return function(t,n,i){if("click"===t||"keypress"==t)try{const n=this.__sentry_instrumentation_handlers__||{},o=n[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,i),o.handler=void 0,delete n[t]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(T8){}return e.call(this,t,n,i)}}))})}function CK(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const i=function(e){try{return e.target}catch(T8){return null}}(n);if(function(e,t){return"keypress"===e&&(!(null==t?void 0:t.tagName)||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}
2(n.type,i))return;uV(n,"_sentryCaptured",!0),i&&!i._sentryId&&uV(i,"_sentryId",LV());const o="keypress"===n.type?"input":n.type;if(!function(e){if(e.type!==kK)return!1;try{if(!e.target||e.target._sentryId!==_K)return!1}catch(T8){}return!0}(n)){e({event:n,name:o,global:t}),kK=n.type,_K=i?i._sentryId:void 0}clearTimeout(xK),xK=BY.setTimeout(()=>{_K=void 0,kK=void 0},1e3)}}function TK(e){const t="history";VF(t,e),UF(t,IK)}function IK(){function e(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const i=EK,o=function(e){try{return new URL(e,BY.location.origin).toString()}catch(T8){return e}}(String(n));if(EK=o,i===o)return e.apply(this,t);qF("history",{from:i,to:o})}return e.apply(this,t)}}BY.addEventListener("popstate",()=>{const e=BY.location.href,t=EK;if(EK=e,t===e)return;qF("history",{from:t,to:e})}),"history"in fG&&fG.history&&(dV(BY.history,"pushState",e),dV(BY.history,"replaceState",e))}const AK={};const PK="__sentry_xhr_v3__";function OK(e){VF("xhr",e),UF("xhr",RK)}function RK(){if(!BY.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,n){const i=new Error,o=1e3*VV(),r=tV(n[0])?n[0].toUpperCase():void 0,a=function(e){if(tV(e))return e;try{return e.toString()}catch(T8){}return}(n[1]);if(!r||!a)return e.apply(t,n);t[PK]={method:r,url:a,request_headers:{}},"POST"===r&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);const s=()=>{const e=t[PK];if(e&&4===t.readyState){try{e.status_code=t.status}catch(T8){}qF("xhr",{endTimestamp:1e3*VV(),startTimestamp:o,xhr:t,virtualError:i}),t.removeEventListener("readystatechange",s)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,n)=>(s(),e.apply(t,n))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,n){const[i,o]=n,r=t[PK];return r&&tV(i)&&tV(o)&&(r.request_headers[i.toLowerCase()]=o),e.apply(t,n)}}),e.apply(t,n)}}),e.send=new Proxy(e.send,{apply(e,t,n){const i=t[PK];if(!i)return e.apply(t,n);void 0!==n[0]&&(i.body=n[0]);return qF("xhr",{startTimestamp:1e3*VV(),xhr:t}),e.apply(t,n)}})}function LK(e){let t;try{t=e.getAllResponseHeaders()}catch(n){return jY&&PF.error(n,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{const[n,i]=t.split(": ");return i&&(e[n.toLowerCase()]=i),e},{}):{}}function DK(e,t=function(e){const t=AK[e];if(t)return t;let n=BY[e];if(gG(n))return AK[e]=n.bind(BY);const i=BY.document;if(i&&"function"==typeof i.createElement)try{const t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);const o=t.contentWindow;(null==o?void 0:o[e])&&(n=o[e]),i.head.removeChild(t)}catch(T8){jY&&PF.warn("Could not create sandbox iframe for ".concat(e," check, bailing to window.").concat(e,": "),T8)}return n?AK[e]=n.bind(BY):n}("fetch")){let n=0,i=0;return dW(e,async function(o){const r=o.body.length;n+=r,i++;const a={body:o.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&i<15,...e.fetchOptions};try{const n=await t(e.url,a);return{statusCode:n.status,headers:{"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")}}}catch(T8){throw AK["fetch"]=void 0,T8}finally{n-=r,i--}},lW(e.bufferSize||40))}const NK="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function MK(e,t,n,i){const o={filename:e,function:"<anonymous>"===t?OF:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==i&&(o.colno=i),o}const zK=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,jK=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,BK=/\((\S*)(?::(\d+))(?::(\d+))\)/,FK=/at (.+?) ?\(data:(.+?),/,VK=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,UK=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,qK=DF(...[[30,e=>{var t;const n=e.match(FK);if(n)return{filename:"<data:".concat(n[2],">"),function:n[1]};const i=zK.exec(e);if(i){const[,e,t,n]=i;return MK(e,OF,+t,+n)}const o=jK.exec(e);if(o){if(0===(null==(t=o[2])?void 0:t.indexOf("eval"))){const e=BK.exec(o[2]);e&&(o[2]=e[1],o[3]=e[2],o[4]=e[3])}const[e,n]=HK(o[1]||OF,o[2]);return MK(n,e,o[3]?+o[3]:void 0,o[4]?+o[4]:void 0)}}],[50,e=>{const t=VK.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=UK.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||OF;return[n,e]=HK(n,e),MK(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]]),HK=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),i=-1!==e.indexOf("safari-web-extension");return n||i?[-1!==e.indexOf("@")?e.split("@")[0]:OF,n?"safari-extension:".concat(t):"safari-web-extension:".concat(t)]:[e,t]},WK=1024,GK=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console",n=VF(t,e);UF(t,oG)}(function(e){return function(t){if(gU()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:rG(t.level),message:PV(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message="Assertion failed: ".concat(PV(t.args.slice(1)," ")||"console.assert"),n.data.arguments=t.args.slice(1)}UW(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if(gU()!==e)return;let i,o,r="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>WK&&(NK&&PF.warn("`dom.maxStringLength` cannot exceed ".concat(WK,", but a value of ").concat(a," was configured. Sentry will use ").concat(WK," instead.")),a=WK),"string"==typeof r&&(r=[r]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;i=FX(t,{keyAttrs:r,maxStringLength:a}),o=CG(t)}
2catch(T8){i="<unknown>"}if(0===i.length)return;const s={category:"ui.".concat(n.name),message:i};o&&(s.data={"ui.component_name":o}),UW(s,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),VF("dom",n),UF("dom",SK)),t.xhr&&OK(function(e){return function(t){if(gU()!==e)return;const{startTimestamp:n,endTimestamp:i}=t,o=t.xhr[PK];if(!n||!i||!o)return;const{method:r,url:a,status_code:s,body:l}=o,c={method:r,url:a,status_code:s},d={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:i},u={category:"xhr",data:c,type:"http",level:mG(s)};e.emit("beforeOutgoingRequestBreadcrumb",u,d),UW(u,d)}}(e)),t.fetch&&vG(function(e){return function(t){if(gU()!==e)return;const{startTimestamp:n,endTimestamp:i}=t;if(i&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:i},r={category:"fetch",data:t.fetchData,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",r,o),UW(r,o)}else{const o=t.response,r={...t.fetchData,status_code:null==o?void 0:o.status},a={input:t.args,response:o,startTimestamp:n,endTimestamp:i},s={category:"fetch",data:r,type:"http",level:mG(r.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),UW(s,a)}}}(e)),t.history&&TK(function(e){return function(t){if(gU()!==e)return;let n=t.from,i=t.to;const o=MW(wY.location.href);let r=n?MW(n):void 0;const a=MW(i);(null==r?void 0:r.path)||(r=o),o.protocol===a.protocol&&o.host===a.host&&(i=a.relative),o.protocol===r.protocol&&o.host===r.host&&(n=r.relative),UW({category:"navigation",data:{from:n,to:i}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){gU()===e&&UW({category:"sentry.".concat("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:NV(t)},{event:t})}}(e))}}};const $K="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),YK=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&dV(wY,"setTimeout",XK),t.setInterval&&dV(wY,"setInterval",XK),t.requestAnimationFrame&&dV(wY,"requestAnimationFrame",KK),t.XMLHttpRequest&&"XMLHttpRequest"in wY&&dV(XMLHttpRequest.prototype,"send",JK);const e=t.eventTarget;if(e){(Array.isArray(e)?e:$K).forEach(e=>function(e,t){var n,i;const o=null==(n=wY[e])?void 0:n.prototype;if(!(null==(i=null==o?void 0:o.hasOwnProperty)?void 0:i.call(o,"addEventListener")))return;dV(o,"addEventListener",function(n){return function(i,o,r){try{"function"==typeof o.handleEvent&&(o.handleEvent=_Y(o.handleEvent,{mechanism:{data:{handler:zF(o),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch(T8){}return t.unregisterOriginalCallbacks&&function(e,t,n){e&&"object"==typeof e&&"removeEventListener"in e&&"function"==typeof e.removeEventListener&&e.removeEventListener(t,n)}(this,i,o),n.apply(this,[i,_Y(o,{mechanism:{data:{handler:zF(o),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),r])}}),dV(o,"removeEventListener",function(e){return function(t,n,i){try{if(Object.prototype.hasOwnProperty.call(n,"__sentry_wrapped__")){const o=n.__sentry_wrapped__;o&&e.call(this,t,o,i)}}catch(T8){}return e.call(this,t,n,i)}})}(e,t))}}}};function XK(e){return function(...t){const n=t[0];return t[0]=_Y(n,{mechanism:{handled:!1,type:"auto.browser.browserapierrors.".concat(zF(e))}}),e.apply(this,t)}}function KK(e){return function(t){return e.apply(this,[_Y(t,{mechanism:{data:{handler:zF(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function JK(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e
2=>{e in n&&"function"==typeof n[e]&&dV(n,e,function(t){const n={mechanism:{data:{handler:zF(t)},handled:!1,type:"auto.browser.browserapierrors.xhr.".concat(e)}},i=hV(t);return i&&(n.mechanism.data.handler=zF(i)),_Y(t,n)})}),e.apply(this,t)}}const ZK=(e={})=>{var t;const n=null!=(t=e.lifecycle)?t:"route";return{name:"BrowserSession",setupOnce(){if(void 0===wY.document)return void(NK&&PF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported."));VH({ignoreDuration:!0});let e=!1;hX(()=>{e||(HH(),e=!0)});const t=hU();let i=t.getUser();t.addScopeListener(t=>{const n=t.getUser();(null==i?void 0:i.id)===(null==n?void 0:n.id)&&(null==i?void 0:i.ip_address)===(null==n?void 0:n.ip_address)||(i=n,e&&HH())}),"route"===n&&TK(({from:t,to:n})=>{t!==n&&(VH({ignoreDuration:!0}),HH(),e=!0)})}}},QK=()=>({name:"CultureContext",preprocessEvent(e){var t;const n=eJ();n&&(e.contexts={...e.contexts,culture:{...n,...null==(t=e.contexts)?void 0:t.culture}})},processSegmentSpan(e){const t=eJ();t&&SH(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}});function eJ(){try{const e=wY.Intl;if(!e)return;const t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch(T8){return}}const tJ=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(!function(e){WF(t=>{const{stackParser:n,attachStacktrace:i}=iJ();if(gU()!==e||kY())return;const{msg:o,url:r,line:a,column:s,error:l}=t,c=function(e,t,n,i){var o;const r=e.exception=e.exception||{},a=r.values=r.values||[],s=a[0]=a[0]||{},l=s.stacktrace=s.stacktrace||{},c=l.frames=l.frames||[];0===c.length&&c.push({colno:i,lineno:n,filename:null!=(o=oJ(t))?o:SG(),function:OF,in_app:!0});return e}(DY(n,l||o,void 0,i,!1),r,a,s);c.level="error",BH(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}(e),nJ("onerror")),t.onunhandledrejection&&(!function(e){YF(t=>{const{stackParser:n,attachStacktrace:i}=iJ();if(gU()!==e||kY())return;const o=function(e){if(iV(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return e}(t),r=iV(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(o))}]}}:DY(n,o,void 0,i,!0);r.level="error",BH(r,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}(e),nJ("onunhandledrejection"))}}};function nJ(e){NK&&PF.log("Global Handler attached: ".concat(e))}function iJ(){const e=gU();return(null==e?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function oJ(e){if(tV(e)&&0!==e.length)return e.startsWith("data:")?"<".concat(zW(e,!1),">"):e}const rJ=()=>({name:"HttpContext",preprocessEvent(e){var t;if(!wY.navigator&&!wY.location&&!wY.document)return;const n=EY(),i={...n.headers,...null==(t=e.request)?void 0:t.headers};e.request={...n,...e.request,headers:i}},processSegmentSpan(e){var t;const n=null==(t=e.attributes)?void 0:t[xU];if(!wY.navigator&&!wY.location&&!wY.document)return;const i=EY();SH(e,{[_H]:"http.client"!==n?i.url:void 0,"http.request.header.user_agent":i.headers["User-Agent"],"http.request.header.referer":i.headers.Referer})}}),aJ=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,i,o){KW(CY,o.getOptions().stackParser,n,t,e,i)}}},sJ=/^HTML(\w*)Element$/;function lJ(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch(T8){return!1}}(e)){const t=function(e){const t=Object.getPrototypeOf(e);return(null==t?void 0:t.constructor)?t.constructor.name:"null prototype"}(e);if(sJ.test(t))return"[HTMLElement: ".concat(FX(e),"]")}}function cJ(){return!!function(){var e;if(void 0===wY.window)return!1;const t=wY;if(t.nw)return!1;const n=t.chrome||t.browser;if(!(null==(e=null==n?void 0:n.runtime)?void 0:e.id))return!1;const i=SG();return!(wY===wY.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(i))}()&&(NK&&CF(()=>{}),!0)}function dJ(e){return[$W(),HW(),dG(),YK(),GK(),tJ(),aJ(),aG(),rJ(),QK(),ZK()]}function uJ(e){try{return new URL(e,wY.location.origin).href}catch(T8){return}}function pJ(e){try{return new Headers(e)}catch(T8){return}}const hJ={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function mJ(e,t){const{traceFetch:n,traceXHR:i,shouldCreateSpanForRequest:o,enableHTTPTimings:r,tracePropagationTargets:a,onRequestSpanStart:s,onRequestSpanEnd:l}={...hJ,...t},c="function"==typeof o?o:e=>!0,d=e=>function(e,t){const n=SG();if(n){let i,o;try{i=new URL(e,n),o=new URL(n).origin}catch(T8){return!1}const r=i.origin===o;return t?RV(i.toString(),t)||r&&RV(i.pathname,t):r}{const n=!!e.match(/^\/(?!\/)/);return t?RV(e,t):n}}(e,a),u={},p=e.getOptions().propagateTraceparent;n&&vG(t=>{const n=uG(t,c,d,u,{propagateTraceparent:p,onRequestSpanEnd:l});if(n){const i=uJ(t.fetchData.url),o=i?MW(i).host:void 0,a=i?zW(i):void 0;n.setAttributes({[wH]:a,[_H]:a,"server.address":o}),r&&gJ(n,e),null==s||s(n,{headers:t.headers})}}),i&&OK(t=>{var n;const i=function(e,t,n,i,o,r){const a=e.xhr,s=null==a?void 0:a[PK];if(!a||a.__sentry_own_request__||!s)return;const{url:l,method:c}=s,d=Tq()&&t(l);if(e.endTimestamp){const t=a.__sentry_xhr_span_id__;if(!t)return;const n=i[t];return void(n&&(d&&void 0!==s.status_code&&(OU(n,s.status_code),n.end(),null==r||r(n,{headers:pJ(LK(a)),error:e.error})),delete i[t]))}const u=uJ(l),p=MW(u||l),h=u?zW(u):void 0,m=zW((w=l,w.split(/[?#]/,1)[0])),f=gU(),g=!!Eq(),b=g||!!f&&iH(f),v=d&&b?lH({name:"".concat(c," ").concat(m),attributes:{url:zW(l),type:"xhr","http.method":c,"http.url":h,[_H]:h,"server.address":null==p?void 0:p.host,[kU]:"auto.http.browser",[xU]:"http.client",...(null==p?void 0:p.search)&&{"http.query":null==p?void 0:p.search},...(null==p?void 0:p.hash)&&{"http.fragment":null==p?void 0:p.hash}}}):new Dq,y=hH(v)&&g?void 0:v;var w;d&&!b&&(null==f||f.recordDroppedEvent("no_parent_span","span"));a.__sentry_xhr_span_id__=v.spanContext().spanId,i[a.__sentry_xhr_span_id__]=v,n(l)&&function(e,t,n){const{"sentry-trace":i,baggage:o,traceparent:r}=FW({span:t,propagateTraceparent:n});i&&function(e,t,n,i){var o;const r=null==(o=e.__sentry_xhr_v3__)?void 0:o.request_headers;if((null==r?void 0:r["sentry-trace"])||!e.setRequestHeader)return;try{if(e.setRequestHeader("sentry-trace",t),i&&!(null==r?void 0:r.traceparent)&&e.setRequestHeader("traceparent",i),n){const t=null==r?void 0:r.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",n)}}catch(T8){}}(e,i,o,r)}(a,Tq()&&b?y:void 0,o);f&&f.emit("beforeOutgoingRequestSpan",v,e);return v}(t,c,d,u,p,l);i&&(r&&gJ(i,e),null==s||s(i,{headers:pJ(null==(n=t.xhr.__sentry_xhr_v3__)?void 0:n.request_headers)}))})}const fJ=300;function gJ(e,t){const{url:n}=cq(e).data;if(!n||"string"!=typeof n)return;let i=()=>{setTimeout(o)};if(iH(t)){const t=e.end.bind(e);e.end=e=>{const n=null!=e?e:VV();let r=!1;const a=()=>{r||(r=!0,setTimeout(o),t(n),clearTimeout(s))};i=a;const s=setTimeout(a,fJ)}}const o=AX("resource",({entries:t})=>{t.forEach(t=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(t)&&t.name.endsWith(n)&&(e.setAttributes(QX(t)),i())})})}const bJ=new WeakMap,vJ=new WeakMap,yJ=["text/event-stream","application/x-ndjson","application/stream+json"],wJ=()=>({name:"FetchStreamPerformance",setup(){!function(e){const t="fetch-body-resolved",n=VF(t,e);UF(t,()=>yG(wG))}(e=>{if(e.response){const t=bJ.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);const n=vJ.get(e.response);n&&clearTimeout(n)}}}),vG(e=>{var t,n,i,o;if(e.endTimestamp&&e.response){const r=(null==(t=e.response.headers)?void 0:t.get("content-type"))||"";if((null==(n=e.response.headers)?void 0:n.get("content-length"))||!yJ.some(e=>r.startsWith(e)))return;const a=(null==(i=e.fetchData)?void 0:i.url)||"",s=(null==(o=e.fetchData)?void 0:o.method)||"GET",l=DW(a),c=a.startsWith("data:")?zW(a):l?NW(l):a,d=lH({name:"".concat(s," ").concat(c),startTime:e.endTimestamp,attributes:{url:zW(a),"http.method":s,type:"fetch",[xU]:"http.client.stream",[kU]:"auto.http.browser.stream"}});bJ.set(e.response,d);const u=setTimeout(()=>{d.isRecording()&&d.end()},9e4);vJ.set(e.response,u)}})}}),xJ="WebVitals",kJ=(e={})=>{var t;const n=new Set(null!=(t=e.ignore)?t:[]);return{name:xJ,setup(t){var i;const o=iH(t),{enableStandaloneClsSpans:r,enableStandaloneLcpSpans:a}=null!=(i=e._experiments)?i:{},s=o||n.has("cls")?void 0:r||!1,l=o||n.has("lcp")?void 0:a||!1,c=rK({recordClsStandaloneSpans:s,recordLcpStandaloneSpans:l,client:t}),d=new WeakSet;t.on("afterStartPageLoadSpan",e=>{d.add(e)}),t.on("spanEnd",e=>{d.delete(e)&&(c(),sK(e,{recordClsOnPageloadSpan:!1===s,recordLcpOnPageloadSpan:!1===l,spanStreamingEnabled:o}))}),o?(n.has("lcp")||vK(t),n.has("cls")||yK(t),n.has("inp")||wK()):n.has("inp")||hK()},afterAllSetup(){n.has("inp")||gK()}}};const _J="sentry_previous_trace",EJ="sentry.previous_trace";function SJ(e,{linkPreviousTrace:t,consistentTraceSampling:n}){const i="session-storage"===t;let o=i?function(){var e;try{const t=null==(e=wY.sessionStorage)?void 0:e.getItem(_J);return JSON.parse(t)}catch(T8){return}}():void 0;e.on("spanStart",e=>{if(kq(e)!==e)return;const t=pU().getPropagationContext();o=function(e,t,n){const i=cq(t);function o(){var e,t,o;try{const r=Number(null!=(o=null==(e=i.data)?void 0:e[yU])?o:null==(t=n.dsc)?void 0:t.sample_rate);return Number.isNaN(r)?0:r}catch(T8){return 0}}const r={spanContext:t.spanContext(),startTimestamp:i.start_timestamp,sampleRate:o(),sampleRand:n.sampleRand};if(!e)return r;const a=e.spanContext;if(a.traceId===i.trace_id)return e;Date.now()/1e3-e.startTimestamp<=3600&&(NK&&PF.log("Adding previous_trace `".concat(JSON.stringify(a),"` link to span `").concat(JSON.stringify({op:i.op,...t.spanContext()}),"`")),t.addLink({context:a,attributes:{[PU]:"previous_trace"}}),t.setAttribute(EJ,"".concat(a.traceId,"-").concat(a.spanId,"-").concat(CJ(a)?1:0)));return r}(o,e,t),i&&function(e){try{wY.sessionStorage.setItem(_J,JSON.stringify(e))}catch(T8){NK&&PF.warn("Could not store previous trace in sessionStorage",T8)}}(o)});let r=!0;n&&e.on("beforeSampling",e=>
2{if(!o)return;const t=pU(),n=t.getPropagationContext();r&&n.parentSpanId?r=!1:(t.setPropagationContext({...n,dsc:{...n.dsc,sample_rate:String(o.sampleRate),sampled:String(CJ(o.spanContext))},sampleRand:o.sampleRand}),e.parentSampled=CJ(o.spanContext),e.parentSampleRate=o.sampleRate,e.spanAttributes={...e.spanAttributes,[wU]:o.sampleRate})})}function CJ(e){return 1===e.traceFlags}const TJ=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;const IJ={...mH,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...hJ},AJ=(e={})=>{"enableElementTiming"in e&&CF(()=>{});const t={name:void 0,source:void 0},n=wY.document,{enableInp:i,enableLongTask:o,enableLongAnimationFrame:r,_experiments:{enableInteractions:a,enableStandaloneClsSpans:s,enableStandaloneLcpSpans:l},beforeStartSpan:c,idleTimeout:d,finalTimeout:u,childSpanTimeout:p,markBackgroundSpan:h,traceFetch:m,traceXHR:f,trackFetchStreamPerformance:g,shouldCreateSpanForRequest:b,enableHTTPTimings:v,ignoreResourceSpans:y,ignorePerformanceApiSpans:w,instrumentPageLoad:x,instrumentNavigation:k,detectRedirects:_,linkPreviousTrace:E,consistentTraceSampling:S,enableReportPageLoaded:C,onRequestSpanStart:T,onRequestSpanEnd:I}={...IJ,...e},A=function(){const e=wY.navigator;return!!(null==e?void 0:e.userAgent)&&TJ.test(e.userAgent)}();let P,O;function R(e,i,o=!0,r){const a="pageload"===i.op,s=i.name,l=c?c(i):i,h=DW(r||SG()),m={...(null==h?void 0:h.pathname)&&{[EH]:h.pathname},...h&&!LW(h)&&{[_H]:h.href},...l.attributes};if(s!==l.name&&(m[vU]="custom"),l.attributes=m,!o){const e=BV();return void lH({...l,startTime:e}).end(e)}t.name=l.name,t.source=m[vU];const f=fH(l,{idleTimeout:d,finalTimeout:u,childSpanTimeout:p,disableAutoFinish:a,beforeSpanEnd:t=>{aK(t,{ignoreResourceSpans:y,ignorePerformanceApiSpans:w,spanStreamingEnabled:iH(e)}),NJ(e,void 0);const n=pU(),i=n.getPropagationContext();n.setPropagationContext({...i,traceId:f.spanContext().traceId,sampled:mq(f),dsc:Vq(t)}),a&&(O=void 0)},trimIdleSpanEndTimestamp:!C});function g(){n&&["interactive","complete"].includes(n.readyState)&&(e.emit("idleSpanEnableAutoFinish",f),n.removeEventListener("readystatechange",g))}a&&C&&(O=f),NJ(e,f),a&&!C&&n&&(n.addEventListener("readystatechange",g),g())}return{name:"BrowserTracing",setup(e){var t;if(A)NK&&PF.log("[Tracing] Skipping browserTracingIntegration setup for bot user agent.");else{if(function(){function e(){const e=Eq(),t=e&&kq(e);if(t){const e="internal_error";vF&&PF.log("[Tracing] Root span: ".concat(e," -> Global error occurred")),t.setStatus({code:2,message:e})}}Cq||(Cq=!0,WF(e),YF(e))}(),r&&yF.PerformanceObserver&&(null==(t=PerformanceObserver.supportedEntryTypes)?void 0:t.includes("long-animation-frame"))?new PerformanceObserver(e=>{const t=Eq();if(t)for(const n of e.getEntries()){if(!n.scripts[0])continue;const e=GX(qV()+n.startTime),{start_timestamp:i,op:o}=cq(t);if("navigation"===o&&i&&e<i)continue;const r=GX(n.duration),a={[kU]:"auto.ui.browser.metrics"},s=n.scripts[0],{invoker:l,invokerType:c,sourceURL:d,sourceFunctionName:u,sourceCharPosition:p}=s;a["browser.script.invoker"]=l,a["browser.script.invoker_type"]=c,d&&(a["code.filepath"]=d),u&&(a["code.function"]=u),-1!==p&&(a["browser.script.source_char_position"]=p),qX(t,e,e+r,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0}):o&&AX("longtask",({entries:e})=>{const t=Eq();if(!t)return;const{op:n,start_timestamp:i}=cq(t);for(const o of e){const e=GX(qV()+o.startTime),r=GX(o.duration);"navigation"===n&&i&&e<i||qX(t,e,e+r,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[kU]:"auto.ui.browser.metrics"}})}}),a&&AX("event",({entries:e})=>{const t=Eq();if(t)for(const n of e)if("click"===n.name){const e=GX(qV()+n.startTime),i=GX(n.duration),o={name:FX(n.target),op:"ui.interaction.".concat(n.name),startTime:e,attributes:{[kU]:"auto.ui.browser.metrics"}},r=CG(n.target);r&&(o.attributes["ui.component_name"]=r),qX(t,e,e+i,o)}}),_&&n){const e=()=>{P=VV()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}e.on("startNavigationSpan",(t,n)=>{if(gU()!==e)return;if(null==n?void 0:n.isRedirect)return NK&&PF.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),void R(e,{op:"navigation.redirect",...t},!1,n.url);P=void 0,i(),hU().setPropagationContext({traceId:$V(),sampleRand:Math.random(),propagationSpanId:Tq()?void 0:YV()});const o=pU();o.setPropagationContext({traceId:$V(),sampleRand:Math.random(),propagationSpanId:Tq()?void 0:YV()}),o.setSDKProcessingMetadata({normalizedRequest:void 0}),R(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0},!0,null==n?void 0:n.url)}),e.on("startPageLoadSpan",(t,n={})=>
2{if(gU()!==e)return;i();const o=QU(n.sentryTrace||OJ("sentry-trace")||RJ("sentry-trace"),n.baggage||OJ("baggage")||RJ("baggage")),r=pU();r.setPropagationContext(o),Tq()||(r.getPropagationContext().propagationSpanId=YV()),r.setSDKProcessingMetadata({normalizedRequest:EY()}),R(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{C&&O&&(O.setAttribute(EU,"reportPageLoaded"),O.end())})}function i(){const t=DJ(e);t&&!cq(t).timestamp&&(NK&&PF.log("[Tracing] Finishing current active span with op: ".concat(cq(t).op)),t.setAttribute(EU,"cancelled"),t.end())}},afterAllSetup(e){var n;if(A)return;e.addIntegration&&!(null==(n=e.getIntegrationByName)?void 0:n.call(e,xJ))&&e.addIntegration(kJ({ignore:i?[]:["inp"],_experiments:{enableStandaloneClsSpans:s,enableStandaloneLcpSpans:l}}));let o=SG();if("off"!==E&&SJ(e,{linkPreviousTrace:E,consistentTraceSampling:S}),wY.location){if(x){const t=qV();!function(e,t,n){e.emit("startPageLoadSpan",t,n),pU().setTransactionName(t.name);const i=DJ(e);i&&e.emit("afterStartPageLoadSpan",i)}(e,{name:wY.location.pathname,startTime:t?t/1e3:void 0,attributes:{[vU]:"url",[kU]:"auto.pageload.browser"}})}k&&TK(({to:t,from:n})=>{if(void 0===n&&-1!==(null==o?void 0:o.indexOf(t)))return void(o=void 0);o=void 0;const i=DW(t),r=DJ(e),a=r&&_&&function(e,t){const n=cq(e),i=BV(),o=n.start_timestamp;if(i-o>MJ)return!1;if(t&&i-t<=MJ)return!1;return!0}(r,P);PJ(e,{name:(null==i?void 0:i.pathname)||wY.location.pathname,attributes:{[vU]:"url",[kU]:"auto.navigation.browser"}},{url:t,isRedirect:a})})}h&&(wY.document?wY.document.addEventListener("visibilitychange",()=>{const e=Eq();if(!e)return;const t=kq(e);if(wY.document.hidden&&t){const e="cancelled",{op:n,status:i}=cq(t);NK&&PF.log("[Tracing] Transaction: ".concat(e," -> since tab moved to the background, op: ").concat(n)),i||t.setStatus({code:2,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):NK&&PF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),a&&function(e,t,n,i,o){const r=wY.document;let a;const s=()=>{const r="ui.action.click",s=DJ(e);if(s){const e=cq(s).op;if(["navigation","pageload"].includes(e))return void(NK&&PF.warn("[Tracing] Did not create ".concat(r," span because a pageload or navigation span is in progress.")))}a&&(a.setAttribute(EU,"interactionInterrupted"),a.end(),a=void 0),o.name?a=fH({name:o.name,op:r,attributes:{[vU]:o.source||"url"}},{idleTimeout:t,finalTimeout:n,childSpanTimeout:i}):NK&&PF.warn("[Tracing] Did not create ".concat(r," transaction because _latestRouteName is missing."))};r&&addEventListener("click",s,{capture:!0})}(e,d,u,p,t),mJ(e,{traceFetch:m,traceXHR:f,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:v,onRequestSpanStart:T,onRequestSpanEnd:I}),g&&e.addIntegration(wJ())}}};function PJ(e,t,n){const{url:i,isRedirect:o}=n||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:o,url:i}),e.emit("startNavigationSpan",t,{isRedirect:o,url:i});const r=pU();return r.setTransactionName(t.name),i&&!o&&r.setSDKProcessingMetadata({normalizedRequest:{...EY(),url:i}}),DJ(e)}function OJ(e){const t=wY.document,n=null==t?void 0:t.querySelector("meta[name=".concat(e,"]"));return(null==n?void 0:n.getAttribute("content"))||void 0}function RJ(e){var t,n,i;const o=null==(n=null==(t=wY.performance)?void 0:t.getEntriesByType)?void 0:n.call(t,"navigation")[0],r=null==(i=null==o?void 0:o.serverTiming)?void 0:i.find(t=>t.name===e);return null==r?void 0:r.description}const LJ="_sentry_idleSpan";function DJ(e){return e[LJ]}function NJ(e,t){uV(e,LJ,t)}const MJ=1.5;const zJ=["activate","mount"],jJ="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,BJ=/(?:^|[-_])(\w)/g,FJ="<Anonymous>",VJ=(e,t)=>{if(!e)return FJ;if(e.$root===e)return"<Root>";if(!e.$options)return FJ;const n=e.$options;let i=n.name||n._componentTag||n.__name;const o=n.__file;if(!i&&o){const e=o.match(/([^/\\]+)\.vue$/);e&&(i=e[1])}return(i?"<".concat(i.replace(BJ,e=>e.toUpperCase()).replace(/[-_]/g,""),">"):FJ)+(o&&!1!==t?" at ".concat(o):"")},UJ=(e,t)=>{const{errorHandler:n}=e.config;e.config.errorHandler=(i,o,r)=>{var a;const s=VJ(o,!1),l=o?(e=>{if(e&&(e._isVue||e.__isVue)&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const i=t[t.length-1];if(i.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[i,n],n=0)}t.push(e),e=e.$parent}const i=t.map((e,t)=>"".concat((0===t?"---\x3e ":" ".repeat(5+2*t))+(Array.isArray(e)?"".concat(VJ(e[0]),"... (").concat(e[1]," recursive calls)"):VJ(e)))).join("\n");return"\n\nfound in\n\n".concat(i)}return"\n\n(found in ".concat(VJ(e),")")})(o):"",c={componentName:s,lifecycleHook:r,trace:l};if(!1!==(null==t?void 0:t.attachProps)&&o&&((null==(a=o.$options)?void 0:a.propsData)?c.propsData=o.$options.propsData:o.$props&&(c.propsData=o.$props)),setTimeout(()=>{jH(i,{captureContext:{contexts:{vue:c}},mechanism:{handled:!!n,type:"auto.function.vue.error_handler"}})}),"function"!=typeof n||!e.config.errorHandler)throw i;n.call(e,i,o,r)}},qJ="ui.vue",HJ={activate:["activated","deactivated"],create:["beforeCreate","created"],unmount:["beforeUnmount","unmounted"],destroy:["beforeDestroy","destroyed"],mount:["beforeMount","mounted"],update:["beforeUpdate","updated"]};function WJ(e,t,n){e.$_sentryRootComponentSpanTimer&&clearTimeout(e.$_sentryRootComponentSpanTimer),e.$_sentryRootComponentSpanTimer=setTimeout(()=>{var n;(null==(n=e.$root)?void 0:n.$_sentryRootComponentSpan)&&(e.$root.$_sentryRootComponentSpan.end(t),e.$root.$_sentryRootComponentSpan=void 0)},n)}function GJ(e,t){function n(e){return e.replace(/^<([^\s]*)>(?: at [^\s]*)?$/,"$1")}return e.some(e=>n(t)===n(e))}const $J=(e={})=>{const t=(n=(e.hooks||[]).concat(zJ),Array.from(new Set(n)));var n;const i={},o=e.timeout||2e3;for(const r of t){const t=HJ[r];if(t)for(const n of t)i[n]=function(){var i;const a=this.$root===this;a&&(this.$_sentryRootComponentSpan=this.$_sentryRootComponentSpan||lH({name:"Application Render",op:"".concat(qJ,".render"),attributes:{[kU]:"auto.ui.vue"},onlyIfParent:!0}),WJ(this,VV(),o));const s=VJ(this,!1);if(!(a||(Array.isArray(e.trackComponents)?GJ(e.trackComponents,s):e.trackComponents)))return void WJ(this,VV(),o);this.$_sentryComponentSpans=this.$_sentryComponentSpans||{};const l=n===t[0],c=(null==(i=this.$root)?void 0:i.$_sentryRootComponentSpan)||Eq();if(l){if(c){const e=this.$_sentryComponentSpans[r];e&&e.end(),this.$_sentryComponentSpans[r]=lH({name:"Vue ".concat(s),op:"".concat(qJ,".").concat(r),attributes:{[kU]:"auto.ui.vue"},onlyIfParent:!0})}}else{const e=this.$_sentryComponentSpans[r];if(!e)return;e.end(),WJ(this,VV(),o)}};else jJ&&PF.warn("Unknown hook: ".concat(r))}return i},YJ={Vue:yF.Vue,attachProps:!0,attachErrorHandler:!0,tracingOptions:{hooks:zJ,timeout:2e3,trackComponents:!1}},XJ=(e={})=>({name:"Vue",setup(t){const n={...YJ,...t.getOptions(),...e};if(n.Vue||n.app)if(n.app){(Array.isArray(n.app)?n.app:[n.app]).forEac
2h(e=>KJ(e,n))}else n.Vue&&KJ(n.Vue,n);else CF(()=>{})}}),KJ=(e,t)=>{var n;if(jJ){!0===(null==(n=e._instance)?void 0:n.isMounted)&&CF(()=>{})}t.attachErrorHandler&&UJ(e,t),Tq(t)&&e.mixin($J(t.tracingOptions))};function JJ(e){return"object"==typeof(t=e)&&t&&(t.__isVue||t._isVue)?"[VueViewModel]":function(e){return!("object"!=typeof e||!(null==e?void 0:e.__v_isVNode))}(e)?"[VueVNode]":lJ(e);var t}function ZJ(e,t,n){let i=!1;const o="mode"in e;e.onError(e=>jH(e,{mechanism:{handled:!1}})),e.beforeEach((e,r,...a)=>{var s;const l=i?void 0:function(){const e=Eq(),t=e&&kq(e);if(!t)return;return"pageload"===cq(t).op?t:void 0}(),c={};for(const t of Object.keys(e.params))c["".concat("url.path.parameter",".").concat(t)]=e.params[t],c["".concat("params",".").concat(t)]=e.params[t];for(const t of Object.keys(e.query)){const n=e.query[t];n&&(c["query.".concat(t)]=n)}let d=e.path,u="url";if(e.name&&"path"!==t.routeLabel)d=e.name.toString(),u="custom";else if(e.matched.length>0){const t=e.matched.length-1;d=e.matched[t].path,u="route"}if("route"===u&&(c["url.template"]=d),e.name&&(c["navigation.route.id"]=e.name.toString()),pU().setTransactionName(d),t.instrumentPageLoad&&l){"custom"!==cq(l).data[vU]&&(l.updateName(d),l.setAttribute(vU,u)),l.setAttributes({...c,[kU]:"auto.pageload.vue"}),i=!0}if(t.instrumentNavigation&&!l&&n({name:d,op:"navigation",attributes:{...c,[kU]:"auto.navigation.vue",[vU]:u}},function(e){try{return new URL(e,BY.location.origin).toString()}catch(T8){return e}}(null!=(s=e.fullPath)?s:e.path)),o){const e=a[0];"function"==typeof e&&e()}})}const QJ=e=>{const t=Number(e);return Number.isInteger(t)&&t>0?t:null},eZ=e=>{var t,n,i;return QJ(null==e?void 0:e.activeOrganizationId)||QJ(null==(n=null==(t=null==e?void 0:e.fosterProfile)?void 0:t.organization)?void 0:n.id)||QJ(null==(i=null==e?void 0:e.fosterProfile)?void 0:i.organization_id)},tZ="staff",nZ="volunteer";function iZ(e){const t=String(e||"").trim().toLowerCase();return"foster"===t?nZ:t}function oZ(e){return iZ(e)===tZ}function rZ(e){return iZ(e)===nZ}function aZ(e){return rZ(null==e?void 0:e.role)||Boolean(null==e?void 0:e.fosterProfile)}let sZ=null;const lZ=["eighty20ventures.io","pawsitivefoster.com","pawsitive.com"],cZ=["lissettearias","lissette.rubygloom","luciano3497"],dZ=["felipe","lucianno"],uZ=()=>String("phc_V7DZ3fcvXRzRo4mo3mjwNdbN65UIvXx0uiyDfYaNjbm").trim(),pZ=async()=>"undefined"!=typeof window&&uZ().length>0&&(sZ||(sZ=bF.setup({apiKey:uZ(),host:String("https://us.i.posthog.com"),enableSessionReplay:!0,sessionReplayConfig:{screenshotMode:!0,maskAllTextInputs:!1,maskAllImages:!1}}).then(()=>!0).catch(e=>(zL.error("[analytics] Failed to initialize PostHog:",e),sZ=null,!1)),sZ)),hZ=e=>{e().catch(e=>{zL.error("[analytics] PostHog call failed:",e)})},mZ=async(e,t)=>{null!=t&&""!==t?await bF.register({key:e,value:t}):await bF.unregister({key:e})};let fZ=null,gZ=0,bZ=!1;const vZ=e=>{hZ(async()=>{var t,n;if(!e)return;const i=null!=(t=e.uuid)?t:e.id;if(null==i||""===i)return;const o=(e=>e?e.role?iZ(e.role):e.fosterProfile?nZ:e.staffProfile?"coordinator":null:null)(e),r=(e=>{var t,n,i,o,r;if(!e)return null;const a=null!=(r=null!=(o=null!=(i=null!=(n=eZ(e))?n:null==(t=e.staffProfile)?void 0:t.organization_id)?i:e.organization_id)?o:e.organizationId)?r:null;return null==a||""===a?null:String(a)})(e),a=e.name||[e.firstName,e.lastName].filter(Boolean).join(" ")||void 0,s=(e=>{if(!e)return!1;const t=e.trim().toLowerCase();if(!t.includes("@"))return!1;const[n,i]=t.split("@");if(!i)return!1;if(lZ.includes(i))return!0;const o=(e=>e.split("+")[0])(n);return!("gmail.com"!==i&&"me.com"!==i||!cZ.includes(o))||!!dZ.some(e=>o.startsWith(e))})(e.email),l=JSON.stringify([String(i),null!=(n=e.email)?n:"",null!=a?a:"",null!=o?o:"",null!=r?r:"",s]);try{FH({id:String(i),email:e.email||void 0,username:a,role:o||void 0,organizationId:r||void 0})}catch(T8){zL.error("[analytics] Failed to set Sentry user:",T8)}if(l===fZ)return;fZ=l;const c=++gZ,d=()=>c===gZ;try{const t=await pZ();if(!d())return;if(!t)return void(fZ=null);const{optedOut:n}=await bF.isOptOut();if(!d())return;if(n&&(await bF.optIn(),!d()))return;if(await bF.identify({distinctId:String(i),userProperties:{email:e.email||void 0,name:a,firebaseUid:e.uuid?String(e.uuid):void 0,role:o,organization_id:r,organizationId:r,is_internal_user:s}}),!d())return;await mZ("role",o),await mZ("organization_id",r),await mZ("organizationId",r)}catch(u){throw d()&&(fZ=null),u}})},yZ=()=>{fZ=null,gZ+=1,hZ(async()=>{try{FH(null)}catch(T8){zL.error("[analytics] Failed to reset Sentry user:",T8)}await pZ()&&await bF.reset()})},wZ=(e,t)=>{hZ(async()=>{await pZ()&&await bF.capture({event:e,properties:t||{}})})};let xZ=0;const{apiBaseUrl:kZ}=PC,_Z=async(e,t,n,i=!1)=>{try{const{getResilientAuthToken:r}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),a=await r(),s=i&&a?{Authorization:"Bearer ".concat(a)}:{};return(await AB({method:e,url:t,data:n,headers:s,withCredentials:!0})).data}
2catch(r){throw zL.error("Error with ".concat(e.toUpperCase()," request to ").concat(t,":"),r),r}},EZ=async(e,t={})=>{if(!e||!e.email&&!e.uuid&&!e.id)throw new Error("No valid identifier provided");const n=e.email?"email=".concat(e.email):e.uuid?"uuid=".concat(e.uuid):"id=".concat(e.id),i=await _Z("get","".concat(kZ,"/user?").concat(n),void 0,!0);return i&&(wC.set("currentUser",i),vZ(i),!1!==t.initializePush&&o(async()=>{const{initializePushNotifications:e}=await import("./pushNotifications-BQV74sFH.js").then(e=>e.p);return{initializePushNotifications:e}},[]).then(({initializePushNotifications:e})=>{e()}).catch(e=>{zL.error("Failed to load push notifications module",e)})),i},SZ=async e=>{if(!e||!e.uuid&&!e.id)throw new Error("No valid identifier provided");if(!e.updateData||0===Object.keys(e.updateData).length)throw new Error("No update data provided");const t=e.uuid?e.uuid:e.id,n=e.uuid?"uuid":"id",i=await _Z("patch","".concat(kZ,"/user"),{[n]:t,...e.updateData},!0);return i&&!1!==e.syncStore&&(wC.set("currentUser",i),vZ(i)),i},CZ=e=>{if(!e)throw new Error("No valid user id provided");return _Z("delete","".concat(kZ,"/user/").concat(e),void 0,!0)},TZ=Object.freeze(Object.defineProperty({__proto__:null,acceptTerms:(e="1.0")=>_Z("post","".concat(kZ,"/user/accept-terms"),{version:e},!0),checkIfUserExists:e=>_Z("get","".concat(kZ,"/user-exists?email=").concat(e)),createUser:(e,t)=>_Z("post","".concat(kZ,"/user"),{uuid:e,...t},!0),deleteAccount:CZ,getUser:EZ,updateUser:SZ},Symbol.toStringTag,{value:"Module"}));wI("firebase","12.17.0","app");const IZ="firebasestorage.googleapis.com",AZ="storageBucket";class PZ extends HC{constructor(e,t,n=0){super(NZ(e),"Firebase Storage: ".concat(t," (").concat(NZ(e),")")),this.status_=n,this.customData={serverResponse:null},this._baseMessage=this.message,Object.setPrototypeOf(this,PZ.prototype)}get status(){return this.status_}set status(e){this.status_=e}_codeEquals(e){return NZ(e)===this.code}get serverResponse(){return this.customData.serverResponse}set serverResponse(e){this.customData.serverResponse=e,this.customData.serverResponse?this.message="".concat(this._baseMessage,"\n").concat(this.customData.serverResponse):this.message=this._baseMessage}}var OZ,RZ,LZ,DZ;function NZ(e){return"storage/"+e}function MZ(){return new PZ(OZ.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function zZ(){return new PZ(OZ.RETRY_LIMIT_EXCEEDED,"Max retry time for operation exceeded, please try again.")}function jZ(){return new PZ(OZ.CANCELED,"User canceled the upload/download.")}function BZ(){return new PZ(OZ.CANNOT_SLICE_BLOB,"Cannot slice blob for upload. Please retry the upload.")}function FZ(e){return new PZ(OZ.INVALID_ARGUMENT,e)}function VZ(){return new PZ(OZ.APP_DELETED,"The Firebase app was deleted.")}function UZ(e,t){return new PZ(OZ.INVALID_FORMAT,"String does not match format '"+e+"': "+t)}function qZ(e){throw new PZ(OZ.INTERNAL_ERROR,"Internal error: "+e)}(RZ=OZ||(OZ={})).UNKNOWN="unknown",RZ.OBJECT_NOT_FOUND="object-not-found",RZ.BUCKET_NOT_FOUND="bucket-not-found",RZ.PROJECT_NOT_FOUND="project-not-found",RZ.QUOTA_EXCEEDED="quota-exceeded",RZ.UNAUTHENTICATED="unauthenticated",RZ.UNAUTHORIZED="unauthorized",RZ.UNAUTHORIZED_APP="unauthorized-app",RZ.RETRY_LIMIT_EXCEEDED="retry-limit-exceeded",RZ.INVALID_CHECKSUM="invalid-checksum",RZ.CANCELED="canceled",RZ.INVALID_EVENT_NAME="invalid-event-name",RZ.INVALID_URL="invalid-url",RZ.INVALID_DEFAULT_BUCKET="invalid-default-bucket",RZ.NO_DEFAULT_BUCKET="no-default-bucket",RZ.CANNOT_SLICE_BLOB="cannot-slice-blob",RZ.SERVER_FILE_WRONG_SIZE="server-file-wrong-size",RZ.NO_DOWNLOAD_URL="no-download-url",RZ.INVALID_ARGUMENT="invalid-argument",RZ.INVALID_ARGUMENT_COUNT="invalid-argument-count",RZ.APP_DELETED="app-deleted",RZ.INVALID_ROOT_OPERATION="invalid-root-operation",RZ.INVALID_FORMAT="invalid-format",RZ.INTERNAL_ERROR="internal-error",RZ.UNSUPPORTED_ENVIRONMENT="unsupported-environment";class HZ{constructor(e,t){this.bucket=e,this.path_=t}get path(){return this.path_}get isRoot(){return 0===this.path.length}fullServerUrl(){const e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)}bucketOnlyServerUrl(){return"/b/"+encodeURIComponent(this.bucket)+"/o"}static makeFromBucketSpec(e,t){let n;try{n=HZ.makeFromUrl(e,t)}catch(T8){return new HZ(e,"")}if(""===n.path)return n;throw i=e,new PZ(OZ.INVALID_DEFAULT_BUCKET,"Invalid default bucket '"+i+"'.");var i}static makeFromUrl(e,t){let n=null;const i="([A-Za-z0-9.\\-_]+)";const o=new RegExp("^gs://"+i+"(/(.*))?$","i");function r(e){e.path_=decodeURIComponent(e.path)}const a=t.replace(/[.]/g,"\\."),s=[{regex:o,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:new RegExp("^https?://".concat(a,"/").concat("v[A-Za-z0-9_]+","/b/").concat(i,"/o").concat("(/([^?#]*).*)?$"),"i"),indices:{bucket:1,path:3},postModify:r},{regex:new RegExp("^https?://".concat(t===IZ?"(?:storage.googleapis.com|storage.cloud.google.com)":t,"/").concat(i,"/").concat("([^?#]*)"),"i"),indices:{bucket:1,path:2},postModify:r}];for(let l=0;l<s.length;l++){const t=s[l],i=t.regex.exec(e);if(i){const e=i[t.indices.bucket];let o=i[t.indices.path];o||(o=""),n=new HZ(e,o),t.postModify(n);break}}if(null==n)throw function(e){return new PZ(OZ.INVALID_URL,"Invalid URL '"+e+"'.")}(e);return n}}class WZ{constructor(e){this.promise_=Promise.reject(e)}getPromise(){return this.promise_}cancel(e=!1){}}function GZ(e){return"string"==typeof e||e instanceof String}function $Z(e){return YZ()&&e instanceof Blob}function YZ(){return"undefined"!=typeof Blob}function XZ(e,t,n,i){if(i<t)throw FZ("Invalid value for '".concat(e,"'. Expected ").concat(t," or greater."));if(i>n)throw FZ("Invalid value for '".concat(e,"'. Expected ").concat(n," or less."))}
2function KZ(e,t,n){let i=t;return null==n&&(i="https://".concat(t)),"".concat(n,"://").concat(i,"/v0").concat(e)}function JZ(e){const t=encodeURIComponent;let n="?";for(const i in e)if(e.hasOwnProperty(i)){n=n+(t(i)+"="+t(e[i]))+"&"}return n=n.slice(0,-1),n}function ZZ(e,t){const n=e>=500&&e<600,i=-1!==[408,429].indexOf(e),o=-1!==t.indexOf(e);return n||i||o}(DZ=LZ||(LZ={}))[DZ.NO_ERROR=0]="NO_ERROR",DZ[DZ.NETWORK_ERROR=1]="NETWORK_ERROR",DZ[DZ.ABORT=2]="ABORT";class QZ{constructor(e,t,n,i,o,r,a,s,l,c,d,u=!0,p=!1){this.url_=e,this.method_=t,this.headers_=n,this.body_=i,this.successCodes_=o,this.additionalRetryCodes_=r,this.callback_=a,this.errorCallback_=s,this.timeout_=l,this.progressCallback_=c,this.connectionFactory_=d,this.retry=u,this.isUsingEmulator=p,this.pendingConnection_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.promise_=new Promise((e,t)=>{this.resolve_=e,this.reject_=t,this.start_()})}start_(){const e=(e,t)=>{if(t)return void e(!1,new eQ(!1,null,!0));const n=this.connectionFactory_();this.pendingConnection_=n;const i=e=>{const t=e.loaded,n=e.lengthComputable?e.total:-1;null!==this.progressCallback_&&this.progressCallback_(t,n)};null!==this.progressCallback_&&n.addUploadProgressListener(i),n.send(this.url_,this.method_,this.isUsingEmulator,this.body_,this.headers_).then(()=>{null!==this.progressCallback_&&n.removeUploadProgressListener(i),this.pendingConnection_=null;const t=n.getErrorCode()===LZ.NO_ERROR,o=n.getStatus();if(!t||ZZ(o,this.additionalRetryCodes_)&&this.retry){const t=n.getErrorCode()===LZ.ABORT;return void e(!1,new eQ(!1,null,t))}const r=-1!==this.successCodes_.indexOf(o);e(!0,new eQ(r,n))})},t=(e,t)=>{const n=this.resolve_,i=this.reject_,o=t.connection;if(t.wasSuccessCode)try{const e=this.callback_(o,o.getResponse());!function(e){return void 0!==e}(e)?n():n(e)}catch(T8){i(T8)}else if(null!==o){const e=MZ();e.serverResponse=o.getErrorText(),this.errorCallback_?i(this.errorCallback_(o,e)):i(e)}else if(t.canceled){i(this.appDelete_?VZ():jZ())}else{i(zZ())}};this.canceled_?t(0,new eQ(!1,null,!0)):this.backoffId_=function(e,t,n){let i=1,o=null,r=null,a=!1,s=0;function l(){return 2===s}let c=!1;function d(...e){c||(c=!0,t.apply(null,e))}function u(t){o=setTimeout(()=>{o=null,e(h,l())},t)}function p(){r&&clearTimeout(r)}function h(e,...t){if(c)return void p();if(e)return p(),void d.call(null,e,...t);if(l()||a)return p(),void d.call(null,e,...t);let n;i<64&&(i*=2),1===s?(s=2,n=0):n=1e3*(i+Math.random()),u(n)}let m=!1;function f(e){m||(m=!0,p(),c||(null!==o?(e||(s=2),clearTimeout(o),u(0)):e||(s=1)))}return u(0),r=setTimeout(()=>{a=!0,f(!0)},n),f}(e,t,this.timeout_)}getPromise(){return this.promise_}cancel(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingConnection_&&this.pendingConnection_.abort()}}class eQ{constructor(e,t,n){this.wasSuccessCode=e,this.connection=t,this.canceled=!!n}}function tQ(...e){const t="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0;if(void 0!==t){const n=new t;for(let t=0;t<e.length;t++)n.append(e[t]);return n.getBlob()}if(YZ())return new Blob(e);throw new PZ(OZ.UNSUPPORTED_ENVIRONMENT,"This browser doesn't seem to support creating Blobs")}function nQ(e){if("undefined"==typeof atob)throw t="base-64",new PZ(OZ.UNSUPPORTED_ENVIRONMENT,"".concat(t," is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information."));var t;return atob(e)}const iQ="raw",oQ="base64",rQ="base64url",aQ="data_url";class sQ{constructor(e,t){this.data=e,this.contentType=t||null}}function lQ(e,t){switch(e){case iQ:return new sQ(cQ(t));case oQ:case rQ:return new sQ(dQ(e,t));case aQ:return new sQ(function(e){const t=new uQ(e);return t.base64?dQ(oQ,t.rest):function(e){let t;try{t=decodeURIComponent(e)}catch(T8){throw UZ(aQ,"Malformed data URL.")}return cQ(t)}(t.rest)}(t),new uQ(t).contentType)}throw MZ()}function cQ(e){const t=[];for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i<=127)t.push(i);else if(i<=2047)t.push(192|i>>6,128|63&i);else if(55296==(64512&i)){if(n<e.length-1&&56320==(64512&e.charCodeAt(n+1))){i=65536|(1023&i)<<10|1023&e.charCodeAt(++n),t.push(240|i>>18,128|i>>12&63,128|i>>6&63,128|63&i)}else t.push(239,191,189)}else 56320==(64512&i)?t.push(239,191,189):t.push(224|i>>12,128|i>>6&63,128|63&i)}return new Uint8Array(t)}function dQ(e,t){switch(e){case oQ:{const n=-1!==t.indexOf("-"),i=-1!==t.indexOf("_");if(n||i){throw UZ(e,"Invalid character '"+(n?"-":"_")+"' found: is it base64url encoded?")}break}case rQ:{const n=-1!==t.indexOf("+"),i=-1!==t.indexOf("/");if(n||i){throw UZ(e,"Invalid character '"+(n?"+":"/")+"' found: is it base64 encoded?")}t=t.replace(/-/g,"+").replace(/_/g,"/");break}}let n;try{n=nQ(t)}
2catch(T8){if(T8.message.includes("polyfill"))throw T8;throw UZ(e,"Invalid character found")}const i=new Uint8Array(n.length);for(let o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return i}class uQ{constructor(e){this.base64=!1,this.contentType=null;const t=e.match(/^data:([^,]+)?,/);if(null===t)throw UZ(aQ,"Must be formatted 'data:[<mediatype>][;base64],<data>");const n=t[1]||null;null!=n&&(this.base64=function(e,t){if(!(e.length>=t.length))return!1;return e.substring(e.length-t.length)===t}(n,";base64"),this.contentType=this.base64?n.substring(0,n.length-7):n),this.rest=e.substring(e.indexOf(",")+1)}}class pQ{constructor(e,t){let n=0,i="";$Z(e)?(this.data_=e,n=e.size,i=e.type):e instanceof ArrayBuffer?(t?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),n=this.data_.length):e instanceof Uint8Array&&(t?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),n=e.length),this.size_=n,this.type_=i}size(){return this.size_}type(){return this.type_}slice(e,t){if($Z(this.data_)){const r=this.data_,a=(i=e,o=t,(n=r).webkitSlice?n.webkitSlice(i,o):n.mozSlice?n.mozSlice(i,o):n.slice?n.slice(i,o):null);return null===a?null:new pQ(a)}{const n=new Uint8Array(this.data_.buffer,e,t-e);return new pQ(n,!0)}var n,i,o}static getBlob(...e){if(YZ()){const t=e.map(e=>e instanceof pQ?e.data_:e);return new pQ(tQ.apply(null,t))}{const t=e.map(e=>GZ(e)?lQ(iQ,e).data:e.data_);let n=0;t.forEach(e=>{n+=e.byteLength});const i=new Uint8Array(n);let o=0;return t.forEach(e=>{for(let t=0;t<e.length;t++)i[o++]=e[t]}),new pQ(i,!0)}}uploadData(){return this.data_}}function hQ(e){let t;try{t=JSON.parse(e)}catch(T8){return null}return function(e){return"object"==typeof e&&!Array.isArray(e)}(t)?t:null}function mQ(e){const t=e.lastIndexOf("/",e.length-2);return-1===t?e:e.slice(t+1)}function fQ(e,t){return t}class gQ{constructor(e,t,n,i){this.server=e,this.local=t||e,this.writable=!!n,this.xform=i||fQ}}let bQ=null;function vQ(){if(bQ)return bQ;const e=[];e.push(new gQ("bucket")),e.push(new gQ("generation")),e.push(new gQ("metageneration")),e.push(new gQ("name","fullPath",!0));const t=new gQ("name");t.xform=function(e,t){return function(e){return!GZ(e)||e.length<2?e:mQ(e)}(t)},e.push(t);const n=new gQ("size");return n.xform=function(e,t){return void 0!==t?Number(t):t},e.push(n),e.push(new gQ("timeCreated")),e.push(new gQ("updated")),e.push(new gQ("md5Hash",null,!0)),e.push(new gQ("cacheControl",null,!0)),e.push(new gQ("contentDisposition",null,!0)),e.push(new gQ("contentEncoding",null,!0)),e.push(new gQ("contentLanguage",null,!0)),e.push(new gQ("contentType",null,!0)),e.push(new gQ("metadata","customMetadata",!0)),bQ=e,bQ}function yQ(e,t,n){const i={type:"file"},o=n.length;for(let r=0;r<o;r++){const e=n[r];i[e.local]=e.xform(i,t[e.server])}return function(e,t){Object.defineProperty(e,"ref",{get:function(){const n=e.bucket,i=e.fullPath,o=new HZ(n,i);return t._makeStorageReference(o)}})}(i,e),i}function wQ(e,t,n){const i=hQ(t);if(null===i)return null;return yQ(e,i,n)}function xQ(e,t){const n={},i=t.length;for(let o=0;o<i;o++){const i=t[o];i.writable&&(n[i.server]=e[i.local])}return JSON.stringify(n)}class kQ{constructor(e,t,n,i){this.url=e,this.method=t,this.handler=n,this.timeout=i,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}function _Q(e){if(!e)throw MZ()}function EQ(e,t){return function(n,i){const o=wQ(e,i,t);return _Q(null!==o),o}}function SQ(e,t){return function(n,i){const o=wQ(e,i,t);return _Q(null!==o),function(e,t,n,i){const o=hQ(t);if(null===o)return null;if(!GZ(o.downloadTokens))return null;const r=o.downloadTokens;if(0===r.length)return null;const a=encodeURIComponent,s=r.split(",").map(t=>{const o=e.bucket,r=e.fullPath;return KZ("/b/"+a(o)+"/o/"+a(r),n,i)+JZ({alt:"media",token:t})});return s[0]}(o,i,e.host,e._protocol)}}function CQ(e){return function(t,n){let i;var o,r;return 401===t.getStatus()?i=t.getErrorText().includes("Firebase App Check token is invalid")?new PZ(OZ.UNAUTHORIZED_APP,"This app does not have permission to access Firebase Storage on this project."):new PZ(OZ.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again."):402===t.getStatus()?(r=e.bucket,i=new PZ(OZ.QUOTA_EXCEEDED,"Quota for bucket '"+r+"' exceeded, please view quota on https://firebase.google.com/pricing/.")):403===t.getStatus()?(o=e.path,i=new PZ(OZ.UNAUTHORIZED,"User does not have permission to access '"+o+"'.")):i=n,i.status=t.getStatus(),i.serverResponse=n.serverResponse,i}}function TQ(e){const t=CQ(e);return function(n,i){let o=t(n,i);var r;
2return 404===n.getStatus()&&(r=e.path,o=new PZ(OZ.OBJECT_NOT_FOUND,"Object '"+r+"' does not exist.")),o.serverResponse=i.serverResponse,o}}function IQ(e,t,n){const i=Object.assign({},n);return i.fullPath=e.path,i.size=t.size(),i.contentType||(i.contentType=function(e,t){return e&&e.contentType||t&&t.type()||"application/octet-stream"}(null,t)),i}class AQ{constructor(e,t,n,i){this.current=e,this.total=t,this.finalized=!!n,this.metadata=i||null}}function PQ(e,t){let n=null;try{n=e.getResponseHeader("X-Goog-Upload-Status")}catch(T8){_Q(!1)}return _Q(!!n&&-1!==(t||["active"]).indexOf(n)),n}const OQ=262144;function RQ(e,t,n,i,o,r,a,s){const l=new AQ(0,0);if(a?(l.current=a.current,l.total=a.total):(l.current=0,l.total=i.size()),i.size()!==l.total)throw new PZ(OZ.SERVER_FILE_WRONG_SIZE,"Server recorded incorrect upload file size, please retry the upload.");const c=l.total-l.current;let d=c;o>0&&(d=Math.min(d,o));const u=l.current,p=u+d;let h="";h=0===d?"finalize":c===d?"upload, finalize":"upload";const m={"X-Goog-Upload-Command":h,"X-Goog-Upload-Offset":"".concat(l.current)},f=i.slice(u,p);if(null===f)throw BZ();const g=t.maxUploadRetryTime,b=new kQ(n,"POST",function(e,n){const o=PQ(e,["active","final"]),a=l.current+d,s=i.size();let c;return c="final"===o?EQ(t,r)(e,n):null,new AQ(a,s,"final"===o,c)},g);return b.headers=m,b.body=f.uploadData(),b.progressCallback=s||null,b.errorHandler=CQ(e),b}const LQ="running",DQ="paused",NQ="success",MQ="canceled",zQ="error";function jQ(e){switch(e){case"running":case"pausing":case"canceling":return LQ;case"paused":return DQ;case"success":return NQ;case"canceled":return MQ;default:return zQ}}let BQ=class{constructor(e,t,n){const i=function(e){return"function"==typeof e}(e)||null!=t||null!=n;if(i)this.next=e,this.error=null!=t?t:void 0,this.complete=null!=n?n:void 0;else{const t=e;this.next=t.next,this.error=t.error,this.complete=t.complete}}};function FQ(e){return(...t)=>{Promise.resolve().then(()=>e(...t))}}class VQ{constructor(){this.sent_=!1,this.xhr_=new XMLHttpRequest,this.initXhr(),this.errorCode_=LZ.NO_ERROR,this.sendPromise_=new Promise(e=>{this.xhr_.addEventListener("abort",()=>{this.errorCode_=LZ.ABORT,e()}),this.xhr_.addEventListener("error",()=>{this.errorCode_=LZ.NETWORK_ERROR,e()}),this.xhr_.addEventListener("load",()=>{e()})})}send(e,t,n,i,o){if(this.sent_)throw qZ("cannot .send() more than once");if(eT(e)&&n&&(this.xhr_.withCredentials=!0),this.sent_=!0,this.xhr_.open(t,e,!0),void 0!==o)for(const r in o)o.hasOwnProperty(r)&&this.xhr_.setRequestHeader(r,o[r].toString());return void 0!==i?this.xhr_.send(i):this.xhr_.send(),this.sendPromise_}getErrorCode(){if(!this.sent_)throw qZ("cannot .getErrorCode() before sending");return this.errorCode_}getStatus(){if(!this.sent_)throw qZ("cannot .getStatus() before sending");try{return this.xhr_.status}catch(T8){return-1}}getResponse(){if(!this.sent_)throw qZ("cannot .getResponse() before sending");return this.xhr_.response}getErrorText(){if(!this.sent_)throw qZ("cannot .getErrorText() before sending");return this.xhr_.statusText}abort(){this.xhr_.abort()}getResponseHeader(e){return this.xhr_.getResponseHeader(e)}addUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.addEventListener("progress",e)}removeUploadProgressListener(e){null!=this.xhr_.upload&&this.xhr_.upload.removeEventListener("progress",e)}}class UQ extends VQ{initXhr(){this.xhr_.responseType="text"}}function qQ(){return new UQ}class HQ{isExponentialBackoffExpired(){return this.sleepTime>this.maxSleepTime}constructor(e,t,n=null){this._transferred=0,this._needToFetchStatus=!1,this._needToFetchMetadata=!1,this._observers=[],this._error=void 0,this._uploadUrl=void 0,this._request=void 0,this._chunkMultiplier=1,this._resolve=void 0,this._reject=void 0,this._ref=e,this._blob=t,this._metadata=n,this._mappings=vQ(),this._resumable=this._shouldDoResumable(this._blob),this._state="running",this._errorHandler=e=>{if(this._request=void 0,this._chunkMultiplier=1,e._codeEquals(OZ.CANCELED))this._needToFetchStatus=!0,this.completeTransitions_();else{const t=this.isExponentialBackoffExpired();if(ZZ(e.status,[])){if(!t)return this.sleepTime=Math.max(2*this.sleepTime,1e3),this._needToFetchStatus=!0,void this.completeTransitions_();e=zZ()}this._error=e,this._transition("error")}},this._metadataErrorHandler=e=>{this._request=void 0,e._codeEquals(OZ.CANCELED)?this.completeTransitions_():(this._error=e,this._transition("error"))},this.sleepTime=0,this.maxSleepTime=this._ref.storage.maxUploadRetryTime,this._promise=new Promise((e,t)=>
2{this._resolve=e,this._reject=t,this._start()}),this._promise.then(null,()=>{})}_makeProgressCallback(){const e=this._transferred;return t=>this._updateProgress(e+t)}_shouldDoResumable(e){return e.size()>262144}_start(){"running"===this._state&&void 0===this._request&&(this._resumable?void 0===this._uploadUrl?this._createResumable():this._needToFetchStatus?this._fetchStatus():this._needToFetchMetadata?this._fetchMetadata():this.pendingTimeout=setTimeout(()=>{this.pendingTimeout=void 0,this._continueUpload()},this.sleepTime):this._oneShotUpload())}_resolveToken(e){Promise.all([this._ref.storage._getAuthToken(),this._ref.storage._getAppCheckToken()]).then(([t,n])=>{switch(this._state){case"running":e(t,n);break;case"canceling":this._transition("canceled");break;case"pausing":this._transition("paused")}})}_createResumable(){this._resolveToken((e,t)=>{const n=function(e,t,n,i,o){const r=t.bucketOnlyServerUrl(),a=IQ(t,i,o),s={name:a.fullPath},l=KZ(r,e.host,e._protocol),c={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":"".concat(i.size()),"X-Goog-Upload-Header-Content-Type":a.contentType,"Content-Type":"application/json; charset=utf-8"},d=xQ(a,n),u=e.maxUploadRetryTime,p=new kQ(l,"POST",function(e){let t;PQ(e);try{t=e.getResponseHeader("X-Goog-Upload-URL")}catch(T8){_Q(!1)}return _Q(GZ(t)),t},u);return p.urlParams=s,p.headers=c,p.body=d,p.errorHandler=CQ(t),p}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),i=this._ref.storage._makeRequest(n,qQ,e,t);this._request=i,i.getPromise().then(e=>{this._request=void 0,this._uploadUrl=e,this._needToFetchStatus=!1,this.completeTransitions_()},this._errorHandler)})}_fetchStatus(){const e=this._uploadUrl;this._resolveToken((t,n)=>{const i=function(e,t,n,i){const o=e.maxUploadRetryTime,r=new kQ(n,"POST",function(e){const t=PQ(e,["active","final"]);let n=null;try{n=e.getResponseHeader("X-Goog-Upload-Size-Received")}catch(T8){_Q(!1)}n||_Q(!1);const o=Number(n);return _Q(!isNaN(o)),new AQ(o,i.size(),"final"===t)},o);return r.headers={"X-Goog-Upload-Command":"query"},r.errorHandler=CQ(t),r}(this._ref.storage,this._ref._location,e,this._blob),o=this._ref.storage._makeRequest(i,qQ,t,n);this._request=o,o.getPromise().then(e=>{this._request=void 0,this._updateProgress(e.current),this._needToFetchStatus=!1,e.finalized&&(this._needToFetchMetadata=!0),this.completeTransitions_()},this._errorHandler)})}_continueUpload(){const e=OQ*this._chunkMultiplier,t=new AQ(this._transferred,this._blob.size()),n=this._uploadUrl;this._resolveToken((i,o)=>{let r;try{r=RQ(this._ref._location,this._ref.storage,n,this._blob,e,this._mappings,t,this._makeProgressCallback())}catch(T8){return this._error=T8,void this._transition("error")}const a=this._ref.storage._makeRequest(r,qQ,i,o,!1);this._request=a,a.getPromise().then(e=>{this._increaseMultiplier(),this._request=void 0,this._updateProgress(e.current),e.finalized?(this._metadata=e.metadata,this._transition("success")):this.completeTransitions_()},this._errorHandler)})}_increaseMultiplier(){2*(OQ*this._chunkMultiplier)<33554432&&(this._chunkMultiplier*=2)}_fetchMetadata(){this._resolveToken((e,t)=>{const n=function(e,t,n){const i=KZ(t.fullServerUrl(),e.host,e._protocol),o=e.maxOperationRetryTime,r=new kQ(i,"GET",EQ(e,n),o);return r.errorHandler=TQ(t),r}(this._ref.storage,this._ref._location,this._mappings),i=this._ref.storage._makeRequest(n,qQ,e,t);this._request=i,i.getPromise().then(e=>{this._request=void 0,this._metadata=e,this._transition("success")},this._metadataErrorHandler)})}_oneShotUpload(){this._resolveToken((e,t)=>{const n=function(e,t,n,i,o){const r=t.bucketOnlyServerUrl(),a={"X-Goog-Upload-Protocol":"multipart"},s=function(){let e="";for(let t=0;t<2;t++)e+=Math.random().toString().slice(2);return e}();a["Content-Type"]="multipart/related; boundary="+s;const l=IQ(t,i,o),c="--"+s+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+xQ(l,n)+"\r\n--"+s+"\r\nContent-Type: "+l.contentType+"\r\n\r\n",d="\r\n--"+s+"--",u=pQ.getBlob(c,i,d);if(null===u)throw BZ();const p={name:l.fullPath},h=KZ(r,e.host,e._protocol),m=e.maxUploadRetryTime,f=new kQ(h,"POST",EQ(e,n
2),m);return f.urlParams=p,f.headers=a,f.body=u.uploadData(),f.errorHandler=CQ(t),f}(this._ref.storage,this._ref._location,this._mappings,this._blob,this._metadata),i=this._ref.storage._makeRequest(n,qQ,e,t);this._request=i,i.getPromise().then(e=>{this._request=void 0,this._metadata=e,this._updateProgress(this._blob.size()),this._transition("success")},this._errorHandler)})}_updateProgress(e){const t=this._transferred;this._transferred=e,this._transferred!==t&&this._notifyObservers()}_transition(e){if(this._state!==e)switch(e){case"canceling":case"pausing":this._state=e,void 0!==this._request?this._request.cancel():this.pendingTimeout&&(clearTimeout(this.pendingTimeout),this.pendingTimeout=void 0,this.completeTransitions_());break;case"running":const t="paused"===this._state;this._state=e,t&&(this._notifyObservers(),this._start());break;case"paused":case"error":case"success":this._state=e,this._notifyObservers();break;case"canceled":this._error=jZ(),this._state=e,this._notifyObservers()}}completeTransitions_(){switch(this._state){case"pausing":this._transition("paused");break;case"canceling":this._transition("canceled");break;case"running":this._start()}}get snapshot(){const e=jQ(this._state);return{bytesTransferred:this._transferred,totalBytes:this._blob.size(),state:e,metadata:this._metadata,task:this,ref:this._ref}}on(e,t,n,i){const o=new BQ(t||void 0,n||void 0,i||void 0);return this._addObserver(o),()=>{this._removeObserver(o)}}then(e,t){return this._promise.then(e,t)}catch(e){return this.then(null,e)}_addObserver(e){this._observers.push(e),this._notifyObserver(e)}_removeObserver(e){const t=this._observers.indexOf(e);-1!==t&&this._observers.splice(t,1)}_notifyObservers(){this._finishPromise();this._observers.slice().forEach(e=>{this._notifyObserver(e)})}_finishPromise(){if(void 0!==this._resolve){let e=!0;switch(jQ(this._state)){case NQ:FQ(this._resolve.bind(null,this.snapshot))();break;case MQ:case zQ:FQ(this._reject.bind(null,this._error))();break;default:e=!1}e&&(this._resolve=void 0,this._reject=void 0)}}_notifyObserver(e){switch(jQ(this._state)){case LQ:case DQ:e.next&&FQ(e.next.bind(e,this.snapshot))();break;case NQ:e.complete&&FQ(e.complete.bind(e))();break;default:e.error&&FQ(e.error.bind(e,this._error))()}}resume(){const e="paused"===this._state||"pausing"===this._state;return e&&this._transition("running"),e}pause(){const e="running"===this._state;return e&&this._transition("pausing"),e}cancel(){const e="running"===this._state||"pausing"===this._state;return e&&this._transition("canceling"),e}}class WQ{constructor(e,t){this._service=e,this._location=t instanceof HZ?t:HZ.makeFromUrl(t,e.host)}toString(){return"gs://"+this._location.bucket+"/"+this._location.path}_newRef(e,t){return new WQ(e,t)}get root(){const e=new HZ(this._location.bucket,"");return this._newRef(this._service,e)}get bucket(){return this._location.bucket}get fullPath(){return this._location.path}get name(){return mQ(this._location.path)}get storage(){return this._service}get parent(){const e=function(e){if(0===e.length)return null;const t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}(this._location.path);if(null===e)return null;const t=new HZ(this._location.bucket,e);return new WQ(this._service,t)}_throwIfRoot(e){if(""===this._location.path)throw function(e){return new PZ(OZ.INVALID_ROOT_OPERATION,"The operation '"+e+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}(e)}}function GQ(e){e._throwIfRoot("getDownloadURL");const t=function(e,t,n){const i=KZ(t.fullServerUrl(),e.host,e._protocol),o=e.maxOperationRetryTime,r=new kQ(i,"GET",SQ(e,n),o);return r.errorHandler=TQ(t),r}(e.storage,e._location,vQ());return e.storage.makeRequestWithTokens(t,qQ).then(e=>{if(null===e)throw new PZ(OZ.NO_DOWNLOAD_URL,"The given file does not have any download URLs.");return e})}function $Q(e,t){if(e instanceof JQ){const n=e;if(null==n._bucket)throw new PZ(OZ.NO_DEFAULT_BUCKET,"No default bucket found. Did you set the '"+AZ+"' property when initializing the app?");const i=new WQ(n,n._bucket);return null!=t?$Q(i,t):i}return void 0!==t?function(e,t){const n=function(e,t){const n=t.split("/").filter(e=>e.length>0).join("/");return 0===e.length?n:e+"/"+n}(e._location.path,t),i=new HZ(e._location.bucket,n);return new WQ(e.storage,i)}(e,t):e}function YQ(e,t){if(t&&/^[A-Za-z]+:\/\//.test(t)){if(e instanceof JQ)return new WQ(e,t);throw FZ("To use ref(service, url), the first argument must be a Storage instance.")}return $Q(e,t)}function XQ(e,t){const n=null==t?void 0:t[AZ];return null==n?null:HZ.makeFromBucketSpec(n,e)}function KQ(e,t,n,i={}){e.host="".concat(t,":").concat(n);const o=eT(t);o&&tT("https://".concat(e.host,"/b")),e._isUsingEmulator=!0,e._protocol=o?"https":"http";const{mockUserToken:r}=i;r&&(e._overrideAuthToken="string"==typeof r?r:function(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n=t||"demo-project",i=e.iat||0,o=e.sub||e.user_id;if(!o)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const r={iss:"https://securetoken.google.com/".concat(n),aud:n,iat:i,exp:i+3600,auth_time:i,sub:o,user_id:o,firebase:{sign_in_provider:"custom",identities:{}},...e};return[NC(JSON.stringify({alg:"none",type:"JWT"})),NC(JSON.stringify(r)),""].join(".")}(r,e.app.options.projectId))}class JQ{constructor(e,t,n,i,o,r=!1){this.app=e,this._authProvider=t,this._appCheckProvider=n,this._url=i,this._firebaseVersion=o,this._isUsingEmulator=r,this._bucket=null,this._host=IZ,this._protocol="https",this._appId=null,this._deleted=!1,this._maxOperationRetryTime=12e4,this._maxUploadRetryTime=6e5,this._requests=new Set,this._bucket=null!=i?HZ.makeFromBucketSpec(i,this._host):XQ(this._host,this.app.options)}get host(){return this._host}set host(e){this._host=e,null!=this._url?this._bucket=HZ.makeFromBucketSpec(this._url,e):this._bucket=XQ(e,this.app.options)}get maxUploadRetryTime(){return this._maxUploadRetryTime}set maxUploadRetryTime(e){XZ("time",0,Number.POSITIVE_INFINITY,e),this._maxUploadRetryTime=e}get maxOperationRetryTime(){return this._maxOperationRetryTime}set maxOperationRetryTime(e){XZ("time",0,Number.POSITIVE_INFINITY,e),this._maxOperationRetryTime=e}async _getAuthToken(){if(this._overrideAuthToken)return this._overrideAuthToken;const e=this._authProvider.getImmediate({optional:!0});if(e){const t=await e.getToken();if(null!==t)return t.accessToken}return null}async _getAppCheckToken(){if(hI(this.app)&&this.app.settings.appCheckToken)return this.app.settings.appCheckToken;const e=this._appCheckProvider.getImmediate({optional:!0});if(e){return(await e.getToken()).token}return null}_delete(){return this._deleted||(this._deleted=!0,this._requests.forEac
2h(e=>e.cancel()),this._requests.clear()),Promise.resolve()}_makeStorageReference(e){return new WQ(this,e)}_makeRequest(e,t,n,i,o=!0){if(this._deleted)return new WZ(VZ());{const r=function(e,t,n,i,o,r,a=!0,s=!1){const l=JZ(e.urlParams),c=e.url+l,d=Object.assign({},e.headers);return function(e,t){t&&(e["X-Firebase-GMPID"]=t)}(d,t),function(e,t){null!==t&&t.length>0&&(e.Authorization="Firebase "+t)}(d,n),function(e,t){e["X-Firebase-Storage-Version"]="webjs/"+(null!=t?t:"AppManager")}(d,r),function(e,t){null!==t&&(e["X-Firebase-AppCheck"]=t)}(d,i),new QZ(c,e.method,d,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,o,a,s)}(e,this._appId,n,i,t,this._firebaseVersion,o,this._isUsingEmulator);return this._requests.add(r),r.getPromise().then(()=>this._requests.delete(r),()=>this._requests.delete(r)),r}}async makeRequestWithTokens(e,t){const[n,i]=await Promise.all([this._getAuthToken(),this._getAppCheckToken()]);return this._makeRequest(e,t,n,i).getPromise()}}const ZQ="@firebase/storage",QQ="0.14.4",e0="storage";function t0(e,t,n){return function(e,t,n){return e._throwIfRoot("uploadBytesResumable"),new HQ(e,new pQ(t),n)}(e=QC(e),t,n)}function n0(e){return GQ(e=QC(e))}function i0(e,t){return YQ(e=QC(e),t)}function o0(e=vI(),t){const n=pI(e=QC(e),e0).getImmediate({identifier:t}),i=(e=>{const t=BC(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error("Invalid host ".concat(t," with no separate hostname and port!"));const i=parseInt(t.substring(n+1),10);return"["===t[0]?[t.substring(1,n-1),i]:[t.substring(0,n),i]})("storage");return i&&function(e,t,n,i={}){KQ(e,t,n,i)}(n,...i),n}function r0(e,{instanceIdentifier:t}){const n=e.getProvider("app").getImmediate(),i=e.getProvider("auth-internal"),o=e.getProvider("app-check-internal");return new JQ(n,i,o,t,gI)}function a0(){return{apiKey:"AIzaSyCP8qv3uRFiZxK8OaI_S__xINLR3Jj45sg",authDomain:"pawsitive-foster-production.firebaseapp.com",projectId:"pawsitive-foster-production",storageBucket:"pawsitive-foster-production.firebasestorage.app",messagingSenderId:"399865240826",appId:"1:399865240826:web:a4bdb8e07f91e167ed3d43"}}uI(new nT(e0,r0,"PUBLIC").setMultipleInstances(!0)),wI(ZQ,QQ,""),wI(ZQ,QQ,"esm2020");const s0="registrationInProgress",l0=async e=>{await wC.set(s0,!!e&&Date.now())},c0=e=>"number"==typeof e&&Date.now()-e<6e5,d0=async()=>c0(await wC.get(s0)),u0=Object.freeze(Object.defineProperty({__proto__:null,isRegistrationFlagActive:c0,isRegistrationInProgress:d0,setRegistrationInProgress:l0},Symbol.toStringTag,{value:"Module"}));let p0=null,h0=null,m0=null,f0=!1,g0=[],b0=null;const v0=new Set;let y0=!1,w0=[];const x0=e=>{b0=e,v0.forEach(t=>{try{t(e)}catch(n){zL.warn("[firebase-init] Auth state subscriber error:",n)}})},k0=e=>{f0||(f0=!0,g0.forEach(t=>t(e)),g0=[])},_0=e=>(v0.add(e),()=>{v0.delete(e)}),E0=()=>b0,S0=()=>y0?Promise.resolve(!0):new Promise(e=>{w0.push(e)}),C0=()=>f0?Promise.resolve(!0):new Promise(e=>{g0.push(e)});const T0=()=>h0,I0=Object.freeze(Object.defineProperty({__proto__:null,get auth(){return h0},get firebaseApp(){return p0},getAuthInstance:T0,getFirebaseAppInstance:()=>p0,getLatestAuthState:E0,getStorageInstance:()=>m0,initializeFirebase:async function(){try{return p0=bI({apiKey:"AIzaSyCP8qv3uRFiZxK8OaI_S__xINLR3Jj45sg",authDomain:"pawsitive-foster-production.firebaseapp.com",projectId:"pawsitive-foster-production",storageBucket:"pawsitive-foster-production.firebasestorage.app",messagingSenderId:"399865240826",appId:"1:399865240826:web:a4bdb8e07f91e167ed3d43"}),h0=as.isNativePlatform()?hP(p0,{persistence:mR}
2):hP(p0,{persistence:$O,popupRedirectResolver:wL}),m0=o0(p0),y0=!0,w0.forEach(e=>e(!0)),w0=[],NO(h0,async e=>{let t=null;if(e)try{await wC.set("firebaseUser",e);const n=await wC.get("currentUser"),i=!!n&&n.uuid===e.uid,o=await d0();if(t=i?n:null,x0({firebaseUser:e,currentUser:t,isAuthenticated:!0}),k0(!0),o)return;(async()=>{var t,n;try{await new Promise(e=>setTimeout(e,100));const t=await EZ({uuid:e.uid});t&&(await wC.set("currentUser",t),vZ(t),await e.getIdToken(!0),x0({firebaseUser:e,currentUser:t,isAuthenticated:!0}))}catch(i){zL.warn("[firebase-init] Error fetching currentUser:",{message:null==i?void 0:i.message,code:null==i?void 0:i.code,status:null==(t=null==i?void 0:i.response)?void 0:t.status,responseData:null==(n=null==i?void 0:i.response)?void 0:n.data})}})()}catch(n){zL.error("[firebase-init] Error in auth state handler:",n),x0({firebaseUser:e,currentUser:t,isAuthenticated:!0}),k0(!0)}else{const n=Boolean(await wC.get("authSignOutInProgress")),i=await wC.get("currentUser");if(f0){if(as.isNativePlatform()&&i&&!n)return t=i,void x0({firebaseUser:null,currentUser:t,isAuthenticated:!0});await wC.set("currentUser",null),await wC.set("firebaseUser",null),await wC.set("authSignOutInProgress",!1),yZ()}else t=i;x0({firebaseUser:e,currentUser:t,isAuthenticated:!!t}),k0(!!t)}}),p0}catch(e){return null}},get storage(){return m0},subscribeToAuthState:_0,waitForAuthState:C0,waitForFirebaseInit:S0},Symbol.toStringTag,{value:"Module"})),A0=Ct(null),P0=Ct(!1),O0=async()=>(await S0(),T0()),R0=e=>{const t=e.firebaseUser,n=e.currentUser;return n?(P0.value=!0,void(A0.value={...t||{},...n})):t?(P0.value=!0,void(A0.value=t)):(P0.value=!1,void(A0.value=null))};let L0=!1;!async function(){var e;if(!L0){L0=!0;try{const t=await wC.get("currentUser"),n=await O0(),i=null!=(e=null==n?void 0:n.currentUser)?e:null;t?(P0.value=!0,A0.value={...i,...t}):i?(P0.value=!0,A0.value=i):(P0.value=!1,A0.value=null)}catch(t){zL.error("[useAuth] Error loading initial auth state:",t)}}}();let D0=!1;function N0(){const e=kr(()=>P0.value);return{user:A0,isLoggedIn:e,logout:async()=>{try{const{clearTokenCache:e}=await o(async()=>{const{clearTokenCache:e}=await Promise.resolve().then(()=>nD);return{clearTokenCache:e}},void 0);e();const{signOut:t}=await o(async()=>{const{signOut:e}=await Promise.resolve().then(()=>ML);return{signOut:e}},void 0),n=await O0();n&&await t(n),P0.value=!1,A0.value=null}catch(e){throw zL.error("[useAuth] Logout error:",e),e}},loadCurrentUserData:async()=>{var e;const t=await O0(),n=null!=(e=null==t?void 0:t.currentUser)?e:null;if(n){P0.value=!0;try{const e=await EZ({uuid:n.uid});e&&(A0.value={...n,...e},await wC.set("currentUser",e))}catch(i){}}else P0.value=!1}}}!function(){if(D0)return;D0=!0,_0(e=>{R0(e)});const e=E0();e&&R0(e)}();const M0=Object.freeze(Object.defineProperty({__proto__:null,useAuth:N0},Symbol.toStringTag,{value:"Module"})),z0=Ct(null),j0=Ct(!1),B0=Ct(null),F0=Ct(null),V0=Ct(Date.now());let U0=null,q0=null,H0=0,W0=!1,G0=null,$0=null;const Y0=e=>{const t=Number.parseInt(String(null!=e?e:""),10);return Number.isInteger(t)?t:null},X0=e=>{var t,n,i,o;return Y0(null==e?void 0:e.activeOrganizationId)||Y0(null==(t=null==e?void 0:e.staffProfile)?void 0:t.organization_id)||Y0(null==(i=null==(n=null==e?void 0:e.fosterProfile)?void 0:n.organization)?void 0:i.id)||Y0(null==(o=null==e?void 0:e.fosterProfile)?void 0:o.organization_id)},K0=(e,t)=>{var n,i;if(!e||!t)return null;const o=e.fosterProfile;return null!=(i=[null==(n=e.staffProfile)?void 0:n.organization,null==o?void 0:o.organization,...Array.isArray(null==o?void 0:o.organizations)?o.organizations:[],...Array.isArray(null==o?void 0:o.organizationMemberships)?o.organizationMemberships.map(e=>null==e?void 0:e.organization):[]].find(e=>Y0(null==e?void 0:e.id)===t))?i:null},J0=()=>{z0.value=null,j0.value=!1,B0.value=null,F0.value=null,U0=null,q0=null},Z0=async e=>{var t,n;if(!(null==e?void 0:e.id))return;const i=Y0(e.id);if(!i)return;z0.value={...Y0(null==(t=z0.value)?void 0:t.id)===i?z0.value:{},...e},B0.value=null,F0.value=i;const{user:o}=N0(),r=((e,t)=>{var n,i,o,r,a,s;if(!(null==t?void 0:t.id)||!(null==e?void 0:e.id))return t;let l=!1;const c={...t},d=Y0(e.id);if(Y0(null!=(r=null==(n=c.staffProfile)?void 0:n.organization_id)?r:null==(o=null==(i=c.staffProfile)?void 0:i.organization)?void 0:o.id)===d&&(c.staffProfile={...c.staffProfile,organization:e},l=!0),c.fosterProfile){const t={...c.fosterProfile};Y0(null!=(s=t.organization_id)?s:null==(a=t.organization)?void 0:a.id)===d&&(t.organization=e,l=!0),Array.isArray(t.organizations)&&(t.organizations=t.organizations.map(t=>Y0(null==t?void 0:t.id)===d?e:t),l=!0),Array.isArray(t.organizationMemberships)&&(t.organizationMemberships=t.organizationMemberships.map(t=>{var n,i;return Y0(null!=(i=null==t?void 0:t.organization_id)?i:null==(n=null==t?void 0:t.organization)?void 0:n.id)!==d?t:(l=!0,{...t,organization:e})})),c.fosterProfile=t}return l?c:t})(z0.value,null!=(n=o.value)?n:null);r&&r!==o.value&&(o.value=r,await wC.set("currentUser",r))},Q0=async(e,t={})=>
2{if(!e)return void J0();if(!t.force&&F0.value===e&&z0.value)return;if(!t.force&&q0&&U0===e)return q0;const n=++H0;return U0=e,j0.value=!0,q0=(async()=>{try{const t=await QB(e);if(n!==H0)return;await Z0(t)}catch(t){if(n!==H0)return;z0.value=null,B0.value=t instanceof Error?t:new Error("Failed to load organization plan"),F0.value=null,zL.error("[usePlanGating] Failed to load organization:",t)}finally{n===H0&&(j0.value=!1,U0=null,q0=null)}})(),q0};function e1(){(()=>{if(W0)return;W0=!0;const{user:e,loadCurrentUserData:t}=N0(),n=DN();bn(()=>{var t;return X0(null!=(t=e.value)?t:null)},(e,t)=>{t&&t!==e&&n.leaveOrganization(t),G0&&G0!==e&&(n.leaveOrganization(G0),G0=null),e?(n.joinOrganization(e),G0=e):G0=null},{immediate:!0});const i=t=>{var n;const i=Y0(null==t?void 0:t.id),o=X0(null!=(n=e.value)?n:null);i&&i===o&&Z0(t)};n.onOrganizationPlanChanged(i),n.onOrganizationIdentityChanged(i),n.onConnect(async()=>{var n;try{await t();const i=X0(null!=(n=e.value)?n:null);await Q0(i,{force:!0})}catch(i){zL.error("[usePlanGating] Failed to refresh identity after socket reconnect:",i)}})})();const{user:e}=N0(),t=kr(()=>{var t;return X0(null!=(t=e.value)?t:null)}),n=kr(()=>{var n;return K0(null!=(n=e.value)?n:null,t.value)});bn([t,n],([t])=>{var n;((e,t)=>{var n,i;if(!t)return void J0();if(F0.value===t&&Y0(null==(n=z0.value)?void 0:n.id)===t)return;const o=K0(e,t);z0.value=o?{...Y0(null==(i=z0.value)?void 0:i.id)===t?z0.value:{},...o}:null,B0.value=null})(null!=(n=e.value)?n:null,t),Q0(t)},{immediate:!0});const i=kr(()=>{var e;const t=null==(e=z0.value)?void 0:e.plan_expires_at;if(!t)return null;const n=new Date(t);return Number.isNaN(n.getTime())?null:n});bn(i,e=>{if($0&&(clearTimeout($0),$0=null),!e)return;const t=e.getTime()-Date.now();t<=0?V0.value=Date.now():$0=setTimeout(()=>{V0.value=Date.now(),$0=null},Math.min(t+1e3,2147483647))},{immediate:!0});const o=kr(()=>{if(!i.value)return 0;const e=i.value.getTime()-V0.value;return e<=0?0:Math.ceil(e/864e5)}),r=kr(()=>o.value>0),a=kr(()=>{var e;const t=gF(null==(e=z0.value)?void 0:e.plan);return i.value&&i.value.getTime()<=V0.value?"starter":t});return{organization:z0,organizationError:B0,isLoading:j0,orgPlan:a,hasAccess:e=>function(e,t){const n=gF(e),i=mF.indexOf(n);for(let o=0;o<=i;o+=1)if(fF[mF[o]].includes(t))return!0;return!1}(a.value,e),planExpiring:r,daysRemaining:o}}const t1=ss("Share",{web:()=>o(()=>import("./web-aCTOsZ-_.js"),[]).then(e=>new e.ShareWeb)});function n1(){return{showToast:async(e,t="success",n=2e3)=>{const i=await MS.create({message:e,duration:n,position:"top",color:t});await i.present()}}}const i1=Object.freeze(Object.defineProperty({__proto__:null,useToast:n1},Symbol.toStringTag,{value:"Module"}));async function o1(e,t={}){const{fallbackEnabled:n=!0,silent:i=!1}=t;try{if(navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),{success:!0};if(n)return r1(e,i);throw new Error("Clipboard API not available and fallback disabled")}catch(o){const t=o instanceof Error?o.message:"Unknown clipboard error";return n?r1(e,i):{success:!1,error:t}}}function r1(e,t=!1){try{const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.top="-9999px",t.style.left="-9999px",t.style.opacity="0",t.style.pointerEvents="none",t.setAttribute("readonly",""),t.setAttribute("aria-hidden","true"),document.body.appendChild(t),t.focus(),t.select(),t.setSelectionRange(0,e.length);const n=document.execCommand("copy");if(document.body.removeChild(t),n)return{success:!0};throw new Error("execCommand copy failed")}catch(n){return{success:!1,error:n instanceof Error?n.message:"Fallback copy failed"}}}const a1="animal_renamed",s1="care_update_created",l1="animal_photos_added",c1="care_note_acknowledgement_toggled",d1="notification_preference_changed",u1="animal_intake_saved",p1="foster_application_shared",h1=e=>{wZ(a1,{animal_id:String(e.animalId),had_previous_name:e.hadPreviousName})},m1=e=>{e.mediaCount<=0||wZ(l1,{animal_id:String(e.animalId),source:e.source,media_count:e.mediaCount})},f1=e=>{wZ(s1,{animal_id:String(e.animalId),source:e.source,has_note:e.hasNote,has_weight:e.hasWeight,media_count:e.mediaCount}),m1({animalId:e.animalId,source:e.source,mediaCount:e.mediaCount})},g1=e=>{wZ(c1,{note_id:String(e.noteId),acknowledged:e.acknowledged})},b1=e=>{wZ(d1,{channel:e.channel,setting:e.setting,enabled:e.enabled})},v1=e=>{wZ(u1,{source:e.source,method:e.method,intake_type:e.intakeType,animal_count:e.animalCount})},y1=e=>{const t=String(e||"").toLowerCase();return t?t.includes("copytopasteboard")?"copy_link":t.endsWith("activity.message")||t.includes("messaging")||t.includes("sms")||t.endsWith(".mms")?"text":t.includes("mail")||t.includes("outlook")||t.endsWith(".gm")?"email":"other_app":"share_sheet"},w1=e=>{wZ(p1,{source:e.source,channel:e.channel,share_target:e.shareTarget||null})},x1=/^[A-Z0-9]{2,}-20\d{2}-[A-Z0-9]{3,}(?:-[A-Z0-9]+)?$/i,k1=/^[A-Z0-9]{2,32}$/i,_1=e=>{const t=String(e||"").trim();return t&&!x1.test(t)&&k1.test(t)?t:""},E1=(e,t=((e=window.location)=>"localhost"===e.hostname?"https://app.pawsitivefoster.com":e.origin)())=>
2"".concat(t,"/apply/").concat(encodeURIComponent(e));function S1(){const{user:e}=N0(),{showToast:t}=n1(),n=kr(()=>(e=>{var t,n,i,o,r;const a=null!=(null==e?void 0:e.activeOrganizationId)?String(e.activeOrganizationId):"",s=Array.isArray(null==(t=null==e?void 0:e.fosterProfile)?void 0:t.organizations)?e.fosterProfile.organizations:[],l=a&&s.find(e=>String(null==e?void 0:e.id)===a),c=[null==(i=null==(n=null==e?void 0:e.staffProfile)?void 0:n.organization)?void 0:i.orgCode,null==l?void 0:l.orgCode,null==(r=null==(o=null==e?void 0:e.fosterProfile)?void 0:o.organization)?void 0:r.orgCode];for(const d of c){const e=_1(d);if(e)return e}return""})(e.value)),i=kr(()=>{var t,n,i,o,r;const a=e.value;return String((null==(n=null==(t=null==a?void 0:a.staffProfile)?void 0:t.organization)?void 0:n.name)||(null==(o=null==(i=null==a?void 0:a.fosterProfile)?void 0:i.organization)?void 0:o.name)||(null==(r=null==a?void 0:a.organization)?void 0:r.name)||(null==a?void 0:a.organization_name)||"our organization")}),o=kr(()=>Boolean(n.value));return{orgCode:n,orgName:i,canShare:o,shareFosterApplication:async e=>{if(!n.value)return void(await t("Your org code is missing â contact support.","danger"));const o=E1(n.value),r={title:"Foster with ".concat(i.value),text:"Apply to be a foster volunteer with ".concat(i.value),url:o,dialogTitle:"Share foster application"};if(await(async()=>{try{return!0===(await t1.canShare()).value}catch(T8){return!1}})())try{const t=await t1.share(r);return void w1({source:e,channel:y1(null==t?void 0:t.activityType),shareTarget:null==t?void 0:t.activityType})}catch(H9){if((e=>{const t=String((null==e?void 0:e.name)||""),n=String((null==e?void 0:e.message)||"").toLowerCase();return"AbortError"===t||n.includes("abort")||n.includes("cancel")})(H9))return}if((await o1(o)).success)return w1({source:e,channel:"copy_link"}),void(await t("Application link copied to clipboard","success"));await t("Share this link: ".concat(o),"success")}}}const C1=new WeakMap,T1=(e,t)=>{"object"==typeof e&&null!==e&&C1.set(e,t)},I1=e=>"object"==typeof e&&null!==e&&C1.get(e)||null,A1=async()=>{await S0();const e=T0();if(!e)throw new Error("Firebase auth not initialized");return e},P1=async(e,t)=>{try{const n=await A1(),i=3e4,o=new Promise((e,t)=>{setTimeout(()=>t(new Error("Firebase request timed out after ".concat(i/1e3," seconds"))),i)}),r=hO(n,e,t);return await Promise.race([r,o])}catch(n){if(zL.error("[Firebase] Registration error:",n),zL.error("[Firebase] Error code:",n.code),zL.error("[Firebase] Error message:",n.message),"auth/network-request-failed"===n.code)throw new Error("Unable to connect to authentication service. Please check your internet connection and try again. If you're on a corporate/public network, it may be blocking the connection.");throw n}},O1=async()=>{try{if(as.isNativePlatform())return await D1();const e=await A1(),t=new MP,n=await MR(e,t);if(null==n?void 0:n.user)return n.user;throw new Error("Error creating user, no user in response")}catch(e){throw zL.error("Error registering user:",e),e}},R1=()=>{const e=new DP("apple.com");return e.addScope("email"),e.addScope("name"),e},L1=async()=>{var e,t,n,i;const{FirebaseAuthentication:r}=await o(async()=>{const{FirebaseAuthentication:e}=await import("./index-B6TxQw_2.js");return{FirebaseAuthentication:e}},[]),a=await A1(),s=R1(),l=await r.signInWithApple({skipNativeAuth:!0}),c=null==(e=l.credential)?void 0:e.idToken,d=null==(t=l.credential)?void 0:t.nonce;if(!c||!d)throw new Error("Apple sign-in failed. Missing Apple credentials.");const u=s.credential({idToken:c,rawNonce:d});let p;try{p=await QP(a,u)}catch(f){throw T1(f,u),f}const h=p.user,m=null==(i=null==(n=l.user)?void 0:n.displayName)?void 0:i.trim();return m&&!h.displayName&&await xO(h,{displayName:m}),h},D1=async()=>{var e,t,n;const{FirebaseAuthentication:i}=await o(async()=>{const{FirebaseAuthentication:e}=await import("./index-B6TxQw_2.js");return{FirebaseAuthentication:e}},[]),r=await A1(),a=new Promise((e,t)=>{setTimeout(()=>{t(new Error("Google sign-in timed out. Please try again."))},15e3)}),s=await Promise.race([i.signInWithGoogle({skipNativeAuth:!0}),a]),l=null==(e=s.credential)?void 0:e.idToken;if(!l)throw new Error("Google sign-in failed. Missing Google credentials.");const c=MP.credential(l);let d;try{d=await QP(r,c)}catch(h){throw T1(h,c),h}const u=d.user,p=null==(n=null==(t=s.user)?void 0:t.displayName)?void 0:n.trim();return p&&!u.displayName&&await xO(u,{displayName:p}),u},N1=async()=>{try{if(as.isNativePlatform())return await L1();const e=await A1(),t=R1(),n=await MR(e,t);if(null==n?void 0:n.user)return n.user;throw new Error("Error creating user, no user in response")}
2catch(e){throw zL.error("Error registering user:",e),e}},M1=async(e,t)=>{try{const n=await A1();return await mO(n,e,t)}catch(n){throw zL.error("Error logging in user:",n),n}},z1=async()=>{try{if(as.isNativePlatform())return await D1();const e=await A1(),t=new MP,n=await MR(e,t);if(null==n?void 0:n.user)return n.user;throw new Error("Error logging in user, no user in response")}catch(e){throw zL.error("Error logging in user:",e),e}},j1=async()=>{try{if(as.isNativePlatform())return await L1();const e=await A1(),t=R1(),n=await MR(e,t);if(null==n?void 0:n.user)return n.user;throw new Error("Error logging in user, no user in response")}catch(e){throw zL.error("Error logging in user:",e),e}},B1=async e=>{try{const t="localhost"===window.location.hostname?"https://app.pawsitivefoster.com":window.location.origin,n={url:"".concat(t,"/signin"),handleCodeInApp:!1},i=await A1();await lO(i,e,n)}catch(t){zL.error("Forgot password error:",t);const e="auth/user-not-found"===t.code?"No account found with this email address.":t.message||"Failed to send password reset email. Please try again.";throw new Error(e)}},F1=async()=>{await wC.set("authSignOutInProgress",!0);try{const e=await A1();await MO(e)}finally{const{clearTokenCache:e}=await o(async()=>{const{clearTokenCache:e}=await Promise.resolve().then(()=>nD);return{clearTokenCache:e}},void 0);e(),await wC.set("currentUser",null),await wC.set("firebaseUser",null),await wC.set("authSignOutInProgress",!1)}},V1=async()=>{try{yZ(),await wC.set("authSignOutInProgress",!0);const{unregisterCurrentPushToken:t}=await o(async()=>{const{unregisterCurrentPushToken:e}=await import("./pushNotifications-BQV74sFH.js").then(e=>e.p);return{unregisterCurrentPushToken:e}},[]);await t();const{clearAppBadge:n}=await o(async()=>{const{clearAppBadge:e}=await Promise.resolve().then(()=>sD);return{clearAppBadge:e}},void 0);if(await n(),as.isNativePlatform())try{const{FirebaseAuthentication:e}=await o(async()=>{const{FirebaseAuthentication:e}=await import("./index-B6TxQw_2.js");return{FirebaseAuthentication:e}},[]);await e.signOut()}catch(e){zL.warn("Native auth sign-out failed:",e)}const i=await A1();await MO(i);const{clearTokenCache:r}=await o(async()=>{const{clearTokenCache:e}=await Promise.resolve().then(()=>nD);return{clearTokenCache:e}},void 0);r(),await wC.set("currentUser",null),await wC.set("firebaseUser",null),await wC.set("authSignOutInProgress",!1)}catch(t){zL.error("Error logging out user:",t),await wC.set("currentUser",null),await wC.set("firebaseUser",null),await wC.set("authSignOutInProgress",!1),yZ();const{clearAppBadge:e}=await o(async()=>{const{clearAppBadge:e}=await Promise.resolve().then(()=>sD);return{clearAppBadge:e}},void 0);throw await e(),t}},U1=Ct(!1),q1=gt(U1),H1=()=>{U1.value=!1};function W1(){const e=tk(),t=Ct(!1);return{showSignOutConfirm:t,openSignOutConfirm:()=>{t.value=!0},closeSignOutConfirm:()=>{t.value=!1},signOut:async()=>{if(!U1.value){U1.value=!0,t.value=!1;try{try{await V1()}catch(n){zL.error("Error during logout:",n)}await e.replace("/signin")&&H1()}catch(n){throw H1(),zL.error("Error navigating after logout:",n),n}}}}}const G1="classic",$1=[{id:"classic",label:"Classic"},{id:"plum",label:"Plum"},{id:"calypso",label:"Calypso"},{id:"unicorn",label:"Unicorn"},{id:"ember",label:"Ember"},{id:"mermaid",label:"Mermaid"}],Y1=$1.map(e=>e.id);function X1(e){return"string"==typeof e&&Y1.includes(e)}const K1=Ct(G1);function J1(e){return"".concat("pawsitive.backgroundTheme",".").concat(e)}function Z1(e){if("undefined"==typeof window||!window.localStorage)return null;try{return window.localStorage.getItem(J1(e))}catch(T8){return null}}function Q1(e,t){if(null!=t&&""!==t&&"undefined"!=typeof window&&window.localStorage)try{window.localStorage.setItem(J1(t),e)}catch(T8){}}function e2(e){"undefined"!=typeof document&&(document.documentElement.dataset.appTheme=e)}function t2(e,t){null!=t&&""!==t&&(SZ({id:String(t),updateData:{background_theme:e},syncStore:!1}).catch(e=>{zL.warn("Failed to save background theme to backend",e)}),async function(e,t){try{const n=await wC.get("currentUser");n&&String(n.id)===String(t)&&n.background_theme!==e&&await wC.set("currentUser",{...n,background_theme:e})}catch(T8){}}(e,t))}function n2(e){const t=null!=e&&""!==e?Z1(e):null,n=X1(t)?t:G1;K1.value=n,e2(n)}function i2(){return{currentThemeId:gt(K1),setTheme:function(e,t){X1(e)&&(K1.value=e,e2(e),Q1(e,t),t2(e,t))},syncFromUser:function(e){const t=null==e?void 0:e.id;if(null==t)return K1.value=G1,void e2(G1);const n=null==e?void 0:e.background_theme;if(X1(n))return K1.value=n,e2(n),void Q1(n,t);const i=Z1(t),o=X1(i)?i:G1;K1.value=o,e2(o),o!==G1&&(Q1(o,t),t2(o,t))}}}const o2=["innerHTML"],r2=["src","alt"],a2=(e,t)=>
2{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},s2=a2(Gn({__name:"Icon",props:{name:{},alt:{default:""},size:{default:"md"},color:{default:"white"},weight:{default:"regular"},className:{default:""}},setup(e){const t=e,n=Ct(!1),i=kr(()=>"string"==typeof t.name&&t.name.startsWith("data:image/svg+xml")),o=kr(()=>{if(!i.value)return"";try{const e=t.name.split(",");if(e.length<2)return"";const n=e[0].includes(";base64");let i="";i=n?atob(e[1]):decodeURIComponent(e[1]);return i.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/on\w+="[^"]*"/g,"").replace(/javascript:/gi,"")}catch(e){return""}}),r=new Set(["apple","arrow-right","camera-ai","circle-arrow-down-right","circle-arrow-down-right-filled","edit-outline","google","lock","message","message-2-purple","message-lines","paper-bag-animal-purple","phone-call","phonecall","report-medical","sparkles-gradient","star","star-filled","stethoscope-purple"]),a=kr(()=>i.value?"":t.name?r.has(t.name)?"/assets/icons/".concat(t.name,".svg"):"/assets/icons/ionicons/".concat(t.name,".svg"):""),s=e=>{const i=e.target;i.src.includes("/ionicons/")?i.src="/assets/icons/".concat(t.name,".svg"):n.value=!0},l=kr(()=>"none"===t.color?"":"white"===t.color?"brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(200%) hue-rotate(187deg) brightness(103%) contrast(97%)":"primary-0"===t.color?"brightness(0) saturate(100%) invert(91%) sepia(11%) saturate(1095%) hue-rotate(298deg) brightness(103%) contrast(101%)":"success"===t.color?"brightness(0) saturate(100%) invert(70%) sepia(34%) saturate(573%) hue-rotate(118deg) brightness(92%) contrast(88%)":"danger"===t.color?"brightness(0) saturate(100%) invert(69%) sepia(39%) saturate(1395%) hue-rotate(314deg) brightness(101%) contrast(95%)":"purple-light"===t.color?"brightness(0) saturate(100%) invert(73%) sepia(51%) saturate(497%) hue-rotate(206deg) brightness(100%) contrast(93%)":"grey-100"===t.color?"brightness(0) saturate(100%) invert(95%) sepia(3%) saturate(300%) hue-rotate(190deg) brightness(95%) contrast(90%)":"grey-200"===t.color?"brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(300%) hue-rotate(190deg) brightness(95%) contrast(89%)":"grey-400"===t.color?"brightness(0) saturate(100%) invert(62%) sepia(8%) saturate(254%) hue-rotate(169deg) brightness(92%) contrast(88%)":"grey-300"===t.color?"brightness(0) saturate(100%) invert(77%) sepia(4%) saturate(400%) hue-rotate(200deg) brightness(93%) contrast(86%)":"warning-100"===t.color?"brightness(0) saturate(100%) invert(82%) sepia(40%) saturate(1057%) hue-rotate(336deg) brightness(103%) contrast(101%)":"primary-100"===t.color?"brightness(0) saturate(100%) invert(50%) sepia(70%) saturate(400%) hue-rotate(282deg) brightness(113%) contrast(101%)":""),c=kr(()=>{if("number"==typeof t.size)return"".concat(t.size,"px");switch(t.size){case"xs":return"12px";case"sm":return"16px";case"lg":return"32px";default:return"24px"}});return(t,n)=>i.value?(jo(),qo("div",or({key:0,innerHTML:o.value,class:["custom-icon","string"==typeof e.size?e.size:"","weight-".concat(e.weight),e.className],style:{filter:l.value,width:c.value,height:c.value}},t.$attrs),null,16,o2)):(jo(),qo("img",or({key:1,src:a.value,alt:e.alt,class:["custom-icon","string"==typeof e.size?e.size:"","weight-".concat(e.weight),e.className],style:{filter:l.value,width:c.value,height:c.value}},t.$attrs,{onError:s}),null,16,r2))}}),[["__scopeId","data-v-efd1960e"]]),l2={class:"sponsor-welcome"},c2=a2(Gn({__name:"SponsorWelcomeModal",props:{isOpen:{type:Boolean}},emits:["dismiss"],setup(e,{emit:t}){const n=t,i=()=>n("dismiss");return(t,n)=>(jo(),Ho(Pt(PS),{"is-open":e.isOpen,onDidDismiss:i,class:"sponsor-welcome-modal"},{default:cn(()=>[Xo("div",l2,[Xo("button",{class:"sponsor-welcome__close",type:"button","aria-label":"Close",onClick:i},[Ko(s2,{name:"close-outline",size:"md",color:"grey-300"})]),n[1]||(n[1]=Xo("h2",{class:"sponsor-welcome__title"},"Welcome â you're set up as a sponsor",-1)),n[2]||(n[2]=Xo("p",{class:"sponsor-welcome__body"},"You'll see animals you intake yourself, plus any animals other staff assign to you.",-1)),Ko(Pt(uE),{expand:"block",class:"button-primary sponsor-welcome__button",onClick:i},{default:cn(()=>[...n[0]||(n[0]=[Zo("Got it",-1)])]),_:1})])]),_:1},8,["is-open"]))}}),[["__scopeId","data-v-2b3849b7"]]),d2=a2(Gn({__name:"SavedIndicator",props:{state:{}},setup:e=>(t,n)=>(jo(),Ho(zr,{name:"saved-fade"},{default:cn(()=>["idle"!==e.state?(jo(),qo("span",{key:0,class:Y(["saved-indicator","saved-indicator--".concat(e.state)])},["saving"===e.state?(jo(),qo(Ro,{key:0},[Ko(Pt(YE),{name:"crescent",class:"saved-indicator__spinner"}),n[0]||(n[0]=Zo(" Saving⦠",-1))],64)):"saved"===e.state?(jo(),qo(Ro,{key:1},[Ko(s2,{name:"checkmark",size:"sm",color:"success",class:"saved-indicator__check"}),n[1]||(n[1]=Zo(" Saved ",-1))],64)):"error"===e.state?(jo(),qo(Ro,{key:2},[Ko(s2,{name:"alert-circle-outline",size:"sm",color:"danger",class:"saved-indicator__check"}),n[2]||(n[2]=Zo(" Couldn't save ",-1))],64)):er("",!0)],2)):er("",!0)]),_:1}))}),[["__scopeId","data-v-7a8d0ee3"]]),u2=new Map,p2=Ct(0),h2=Ct("idle");let m2=null;const f2=kr(()=>p2.value>
20?"saving":h2.value),g2=()=>{null!==m2&&(clearTimeout(m2),m2=null)},b2=e=>{p2.value=Math.max(0,p2.value-1),e?h2.value="error":"error"!==h2.value&&(h2.value="saved"),g2(),p2.value>0||(m2=setTimeout(()=>{m2=null,h2.value="idle"},"error"===h2.value?3e3:2e3))},v2=(e,t,n={})=>{const{trackStatus:i=!0}=n,o=(e=>{const t=Array.isArray(e)?e:[e];return Array.from(new Set(t.map(e=>String(null!=e?e:"").trim()).filter(Boolean)))})(e);i&&(p2.value+=1,g2());const r=o.map(e=>{var t;return null!=(t=u2.get(e))?t:Promise.resolve()}),a=Promise.all(r).then(()=>t()),s=a.then(()=>{i&&b2(!1)},()=>{i&&b2(!0)});return o.forEach(e=>{u2.set(e,s),s.then(()=>{u2.get(e)===s&&u2.delete(e)})}),a},y2=()=>{u2.clear(),p2.value=0,h2.value="idle",g2()};function w2(){return{status:f2,inFlightCount:p2,enqueueWrite:v2,reset:y2}}const x2={key:0,class:"save-status",role:"status","aria-live":"polite"},k2=a2(Gn({__name:"SaveStatusIndicator",setup(e){const{status:t}=w2();return(e,n)=>(jo(),Ho(zr,{name:"save-status-fade"},{default:cn(()=>["idle"!==Pt(t)?(jo(),qo("div",x2,[Ko(d2,{state:Pt(t)},null,8,["state"])])):er("",!0)]),_:1}))}}),[["__scopeId","data-v-e23646d2"]]),{apiBaseUrl:_2}=PC,E2=async(e,t,n,i={})=>{try{const{authRequired:r=!1,forceRefreshToken:a=!1}=i;if(!h0&&r)throw new Error("Authentication required but Firebase auth not available");const s=null==h0?void 0:h0.currentUser,{forceRefreshAuthToken:l,getResilientAuthToken:c}=await o(async()=>{const{forceRefreshAuthToken:e,getResilientAuthToken:t}=await Promise.resolve().then(()=>nD);return{forceRefreshAuthToken:e,getResilientAuthToken:t}},void 0),d=s?await(a?l():c()):null,u=r&&d?{Authorization:"Bearer ".concat(d)}:{};return(await AB({method:e,url:t,data:n,headers:u})).data}catch(r){throw zL.error("Error with ".concat(e.toUpperCase()," request to ").concat(t,":"),r),r}},S2=e=>new URLSearchParams(Object.entries(e).filter(([,e])=>null!=e&&""!==e).map(([e,t])=>[e,String(t)])).toString(),C2=e=>{const t=Number(e);return Number.isInteger(t)&&t>0?t:null},T2=async()=>{var e,t,n,i;const o=await wC.get("currentUser");return C2(null==o?void 0:o.activeOrganizationId)||C2(null==(t=null==(e=null==o?void 0:o.fosterProfile)?void 0:e.organization)?void 0:t.id)||C2(null==(n=null==o?void 0:o.fosterProfile)?void 0:n.organization_id)||C2(null==(i=null==o?void 0:o.staffProfile)?void 0:i.organization_id)},I2=async(e,t={})=>{const n=S2({org:await T2()||void 0,...t});return"".concat(e).concat(n?"?".concat(n):"")},A2={getActiveOrganizationId:async()=>T2(),getChat:async e=>{try{const t=S2({org:await T2()||void 0});return await E2("get","".concat(_2,"/chat/").concat(e).concat(t?"?".concat(t):""),null,{authRequired:!0})}catch(t){throw zL.error("Failed to get chat:",t),t}},getUserChatsPage:async e=>{try{const t=await T2(),n=S2({page:null==e?void 0:e.page,limit:null==e?void 0:e.limit,org:t||void 0,type:(null==e?void 0:e.type)||void 0}),i="".concat(_2,"/chats").concat(n?"?".concat(n):""),o=await E2("get",i,null,{authRequired:!0,forceRefreshToken:!0});return XB(o,{defaultPage:(null==e?void 0:e.page)||1,defaultLimit:(null==e?void 0:e.limit)||25})}catch(t){throw zL.error("Failed to get user chats:",t),t}},getUserChats:async()=>{let e=1,t=!0;const n=[];for(;t;){const i=await A2.getUserChatsPage({page:e,limit:100});n.push(...i.data),t=i.pagination.hasNext,e+=1}return n},createChat:async e=>{try{return await E2("post","".concat(_2,"/chat"),{...e,organizationId:await T2()||void 0},{authRequired:!0})}catch(t){throw zL.error("Failed to create chat:",t),t}},createPleaIntakeChat:async e=>{try{return await E2("post","".concat(_2,"/chat-agentic/plea-intake"),{...e,organizationId:await T2()||void 0},{authRequired:!0})}catch(t){throw zL.error("Failed to create plea intake chat:",t),t}},getOrCreateFosterSupportChat:async e=>{try{return await E2("post","".concat(_2,"/chat-agentic/foster-support"),{organizationId:await T2()||void 0,forceNew:!0===(null==e?void 0:e.forceNew)||void 0},{authRequired:!0})}catch(t){throw zL.error("Failed to open foster support chat:",t),t}},getOrCreateCoordinatorAssistantChat:async e=>{try{return await E2("post","".concat(_2,"/chat-agentic/coordinator-assistant"),{organizationId:await T2()||void 0,forceNew:!0===(null==e?void 0:e.forceNew)||void 0},{authRequired:!0})}
2catch(t){throw zL.error("Failed to open coordinator assistant chat:",t),t}},getCoordinatorAssistantPending:async()=>{const e=await I2("".concat(_2,"/chat-agentic/coordinator-assistant/pending"));return await E2("get",e,null,{authRequired:!0})},sendAssistantFeedback:async(e,t,n,i)=>{try{const o=await T2(),r=o?"?org=".concat(o):"";await E2("post","".concat(_2,"/chat/").concat(e,"/message/").concat(t,"/feedback").concat(r),{rating:n,comment:i||void 0},{authRequired:!0})}catch(o){throw zL.error("Failed to send assistant feedback:",o),o}},getFosterSupportChats:async()=>{try{return(await A2.getUserChatsPage({limit:50,type:"Foster Support"})).data}catch(e){throw zL.error("Failed to load foster support chat history:",e),e}},getCoordinatorAssistantChats:async()=>{try{return(await A2.getUserChatsPage({limit:50,type:"Coordinator Assistant"})).data}catch(e){throw zL.error("Failed to load coordinator assistant chat history:",e),e}},removeAssistantChatFromHistory:async e=>{try{const t=await I2("".concat(_2,"/chat/").concat(e,"/history"));await E2("delete",t,null,{authRequired:!0})}catch(t){throw zL.error("Failed to remove assistant chat from history:",t),t}},updateChat:async(e,t)=>{try{return await E2("patch","".concat(_2,"/chat/").concat(e),{...t,organizationId:await T2()||void 0},{authRequired:!0})}catch(n){throw zL.error("Failed to update chat:",n),n}},getChatMessagesPage:async(e,t)=>{try{const n=await T2(),i=S2({order:(null==t?void 0:t.order)||"desc",page:null==t?void 0:t.page,limit:null==t?void 0:t.limit,org:n||void 0}),o="".concat(_2,"/chat/").concat(e,"/messages").concat(i?"?".concat(i):""),r=await E2("get",o,null,{authRequired:!0});return XB(r,{defaultPage:(null==t?void 0:t.page)||1,defaultLimit:(null==t?void 0:t.limit)||25})}catch(n){throw zL.error("Failed to get chat messages:",n),n}},getChatMessages:async(e,t="desc")=>{let n=1,i=!0;const o=[];for(;i;){const r=await A2.getChatMessagesPage(e,{order:t,page:n,limit:100});o.push(...r.data),i=r.pagination.hasNext,n+=1}return o},reviseIntakeIds:async(e,t,n)=>E2("patch","".concat(_2,"/chat/").concat(e,"/intake-draft/").concat(t),{animalIds:n,organizationId:await T2()||void 0},{authRequired:!0}),sendMessage:async(e,t,n,i)=>{try{const o="".concat(_2,"/chat/").concat(e,"/message");return await E2("post",o,{content:t,attachments:n,...i?{confirmationActionId:i}:{},organizationId:await T2()||void 0},{authRequired:!0})}catch(o){throw zL.error("Failed to send message:",o),o}},createDirectChat:async e=>{try{const t="".concat(_2,"/chats/direct");return await E2("post",t,{targetUserId:e,organizationId:await T2()||void 0},{authRequired:!0})}catch(t){throw zL.error("Failed to create direct chat:",t),t}},deleteChat:async e=>{try{const t=await I2("".concat(_2,"/chat/").concat(e));await AB.delete(t,{headers:{Authorization:"Bearer ".concat(await(await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0)).getResilientAuthToken())}})}catch(t){throw zL.error("Failed to delete chat:",t),t}}},P2=Object.freeze(Object.defineProperty({__proto__:null,default:A2},Symbol.toStringTag,{value:"Module"}));function O2(e){const t="string"==typeof(null==e?void 0:e.unreadCount)?parseInt(e.unreadCount,10):Number(null==e?void 0:e.unreadCount);return Number.isFinite(t)&&t>0?Math.floor(t):0===t?0:(null==e?void 0:e.hasUnreadMessages)?1:0}function R2(e){return e.reduce((e,t)=>e+O2(t),0)}function L2(e){if("string"!=typeof e)return"";const t=e.trim();if(!t)return"";const n=t.toLowerCase();return"null"===n||"undefined"===n?"":t}function D2(e){const t=L2(e);if(!t)return{first_name:"",last_name:""};const n=t.split(/\s+/).filter(Boolean);return{first_name:n[0]||"",last_name:n.slice(1).join(" ")||""}}function N2(e,t){const n=L2(e),i=L2(t);return n||i?i?n?"".concat(n," ").concat(i):i:n:""}function M2(e,t){var n,i;const o=N2(null!=(n=e.counterpartyFirstName)?n:void 0,null!=(i=e.counterpartyLastName)?i:void 0);return e.displayName||e.name||o||t}function z2(e){if(!e)return"";const t=N2(e.first_name,e.last_name);return t||L2(e.name)}function j2(e){var t,n;if(!e)return"";const i=L2(null==(t=null==e?void 0:e.permissions)?void 0:t.display_name);if(i)return i;const o=L2((null==(n=null==e?void 0:e.user)?void 0:n.name)||(null==e?void 0:e.name));return o||N2(null==e?void 0:e.first_name,null==e?void 0:e.last_name)}function B2(e){if(!e)return"";const t=j2((null==e?void 0:e.staffProfile)||(null==e?void 0:e.staff)||null);if(t)return t;const n=z2((null==e?void 0:e.fosterProfile)||(null==e?void 0:e.foster)||null);return n||L2(null==e?void 0:e.name)}const F2=Object.freeze(Object.defineProperty({__proto__:null,combineName:N2,getChatDisplayName:M2,getCurrentUserDisplayName:B2,getFosterDisplayName:z2,getStaffDisplayName:j2,normalizeNamePart:L2,splitName:D2},Symbol.toStringTag,{value:"Module"})),V2={useMocks:!1,animalAuditTrailUi:!1,careJourneyUi:!1,animalImportUi:!1},U2=e=>!0===(null==e?void 0:e.fosterSupportChatEnabled),q2=e=>!0===(null==e?void 0:e.coordinatorAssistantChatEnabled),H2=e=>!0===(null==e?void 0:e.feedbackSurveyEnabled),W2=Ct(!0),G2=Ct(!1),$2=Ct(!1),Y2=Ct(0);let X2=!1,K2=0,J2=0;const Z2=async()=>{var e;const t=K2,n=++J2;try{const e=await A2.getCoordinatorAssistantPending();if(t!==K2||n!==J2)return;W2.value=!1!==(null==e?void 0:e.available),$2.value=W2.value&&!0===(null==e?void 0:e.pending),Y2.value=$2.value?Math.max(1,Number(null==e?void 0:e.count)||1):0}catch(i){if(t!==K2||n!==J2)return;const o=null==(e=null==i?void 0:i.response)?void 0:e.status;404===o||403===o?(W2.value=!1,$2.value=!1,Y2.value=0):zL.error("Coordinator assistant availability probe failed:",i)}finally{t===K2&&n===J2&&(G2.value=!0)}},Q2=async()=>{X2||(X2=!0,await Z2())},e5=()=>{$2.value=!1,Y2.value=0},t5=()=>{K2+=1,J2+=1,W2.value=!0,G2.value=!1,$2.value=!1,Y2.value=0,X2=!1,Q2(
2)};"undefined"!=typeof window&&window.addEventListener("foster-active-org-changed",t5);const n5=()=>({coordinatorOllieAvailable:W2,coordinatorOllieAvailabilityChecked:G2,coordinatorOllieWorthALookPending:$2,coordinatorOllieWorthALookCount:Y2,ensureCoordinatorOllieAvailabilityChecked:Q2,refreshCoordinatorOllieStatus:Z2,clearCoordinatorOlliePending:e5}),{apiBaseUrl:i5}=PC,o5=async()=>{var e,t;const{getResilientAuthToken:n}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),i=await n();return(null!=(t=null==(e=(await AB.get("".concat(i5,"/admin/orgs/activity"),{headers:i?{Authorization:"Bearer ".concat(i)}:{}})).data)?void 0:e.orgs)?t:[]).map(e=>{var t,n,i;return{id:Number(e.id),name:String(null!=(t=e.name)?t:"Org ".concat(e.id)),animalsTotal:Number(null!=(i=null==(n=e.counts)?void 0:n.animalsTotal)?i:0)}})},r5=async(e={})=>{const{getResilientAuthToken:t}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),n=await t(),i=new URLSearchParams;e.month&&i.set("month",e.month),null!=e.organizationId&&i.set("organizationId",String(e.organizationId));const r="".concat(i5,"/reports/org-impact").concat(i.toString()?"?".concat(i.toString()):"");try{return(await AB.get(r,{headers:n?{Authorization:"Bearer ".concat(n)}:{}})).data}catch(a){throw zL.error("Error fetching org impact report:",a),a}},a5=async(e={})=>{var t,n;const{getResilientAuthToken:i}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),r=await i(),a=new URLSearchParams;null!=e.organizationId&&a.set("organizationId",String(e.organizationId));const s="".concat(i5,"/reports/org-impact/months").concat(a.toString()?"?".concat(a.toString()):"");try{return null!=(n=null==(t=(await AB.get(s,{headers:r?{Authorization:"Bearer ".concat(r)}:{}})).data)?void 0:t.months)?n:[]}catch(l){throw zL.error("Error fetching org impact report months:",l),l}},s5=async e=>{const{getResilientAuthToken:t}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),n=await t(),i=new URLSearchParams({month:e.month});try{return(await AB.get("".concat(i5,"/reports/org-impact/html?").concat(i.toString()),{headers:n?{Authorization:"Bearer ".concat(n)}:{},responseType:"text"})).data}catch(r){throw zL.error("Error fetching org impact report preview:",r),r}},l5=async e=>{const{getResilientAuthToken:t}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),n=await t(),i=new URLSearchParams;return i.set("month",e.month),null!=e.organizationId&&i.set("organizationId",String(e.organizationId)),{url:"".concat(i5,"/reports/org-impact/pdf?").concat(i.toString()),headers:n?{Authorization:"Bearer ".concat(n)}:{}}},c5=async e=>{const t=await l5(e);try{return(await AB.get(t.url,{headers:t.headers,responseType:"blob"})).data}catch(n){throw zL.error("Error downloading org impact report PDF:",n),n}},d5=async()=>{const{getResilientAuthToken:e}=await o(async()=>{const{getResilientAuthToken:e}=await Promise.resolve().then(()=>nD);return{getResilientAuthToken:e}},void 0),t=await e();return t?{Authorization:"Bearer ".concat(t)}:{}},u5=(e,t={})=>{const n=new URLSearchParams;return t.period&&n.set("period",t.period),null!=t.organizationId&&n.set("organizationId",String(t.organizationId)),"".concat(i5).concat(e).concat(n.size?"?".concat(n.toString()):"")},p5=async()=>(await AB.get(u5("/reports/weekly"),{headers:await d5()})).data.report,h5=async(e={})=>(await AB.get(u5("/reports/monthly",e),{headers:await d5()})).data,m5=async(e={})=>{var t,n;return null!=(n=null==(t=(await AB.get(u5("/reports/monthly/months",e),{headers:await d5()})).data)?void 0:t.periods)?n:[]},f5=async(e={})=>({url:u5("/reports/monthly/pdf",e),headers:await d5()}),g5=async(e={})=>{const t=await f5(e);return(await AB.get(t.url,{headers:t.headers,responseType:"blob"})).data},b5=Ct(!1),v5=Ct(!1);let y5=null;const w5=async()=>
2{if(!v5.value)return y5||(y5=(async()=>{try{const e=await(async()=>{var e;return{enabled:!0===(null==(e=(await AB.get("".concat(i5,"/reports/availability"),{headers:await d5()})).data)?void 0:e.enabled)}})();b5.value=!0===e.enabled}catch(e){b5.value=!1,zL.error("Reports availability probe failed:",e)}finally{v5.value=!0,y5=null}})(),y5)};function x5(e,t={}){var n;const i=null!=(n=t.debounceMs)?n:500;let o=null;const r=()=>{t.enabled&&!t.enabled()||"visible"===document.visibilityState&&(o&&clearTimeout(o),o=setTimeout(()=>{o=null,Promise.resolve(e()).catch(e=>{zL.error("Visibility refetch failed:",e)})},i))},a=()=>{"visible"===document.visibilityState&&r()};ui(()=>{document.addEventListener("visibilitychange",a),window.addEventListener("focus",r)}),fi(()=>{document.removeEventListener("visibilitychange",a),window.removeEventListener("focus",r),o&&(clearTimeout(o),o=null)})}const k5=[{value:"director",label:"Shelter Director/Manager",category:"leadership",description:"Overall operations and strategic decisions",recommendedPrograms:["program.tnr","program.rtf","program.animal_transport","program.owner_surrender","program.adoption_events","program.animal_sponsorship","program.vaccination_events","program.snr","program.supply_pantry"]},{value:"foster_coordinator",label:"Foster Coordinator",category:"coordination",description:"Manages foster network, placements, and support",recommendedPrograms:["program.rtf","program.animal_transport","program.animal_sponsorship","program.supply_pantry"]},{value:"volunteer_coordinator",label:"Volunteer Coordinator",category:"coordination",description:"Recruits, trains, and manages volunteers",recommendedPrograms:["program.tnr","program.animal_transport","program.adoption_events","program.animal_sponsorship","program.vaccination_events","program.snr","program.supply_pantry"]},{value:"veterinary_coordinator",label:"Veterinary Coordinator",category:"coordination",description:"Manages medical care and vet relationships",recommendedPrograms:["program.tnr","program.rtf","program.animal_transport","program.vaccination_events","program.snr"]},{value:"intake_coordinator",label:"Intake Team Member",category:"coordination",description:"Handles incoming animals and assessments",recommendedPrograms:["program.tnr","program.rtf","program.animal_transport","program.owner_surrender"]},{value:"adoption_counselor",label:"Adoption Counselor",category:"operations",description:"Matches animals with adopters",recommendedPrograms:["program.adoption_events","program.animal_sponsorship"]},{value:"transport_coordinator",label:"Transport Coordinator",category:"operations",description:"Manages animal transfers between locations",recommendedPrograms:["program.animal_transport","program.rtf","program.tnr","program.supply_pantry"]},{value:"admin",label:"Administrative Staff",category:"admin",description:"General administrative support",recommendedPrograms:["program.owner_surrender","program.adoption_events","program.animal_sponsorship","program.supply_pantry"]}],_5={"Foster Program Coordinator":"foster_coordinator","Intake Coordinator":"intake_coordinator"},E5=e=>e.trim(),S5=e=>E5(e).toLowerCase(),C5=(e,t=k5)=>{if("string"!=typeof e)return;const n=E5(e);if(!n)return;const i=S5(n),o=Object.entries(_5).find(([e])=>S5(e)===i),r=o?o[1]:void 0;if(r)return t.find(e=>e.value===r);const a=t.find(e=>e.value===n||e.label===n);return a||t.find(e=>S5(e.value)===i||S5(e.label)===i)},T5=(e,t=k5)=>{var n,i;if("string"!=typeof e)return"";const o=E5(e);return o?null!=(i=null==(n=C5(o,t))?void 0:n.value)?i:o:""},I5=(e,t=k5)=>(Array.isArray(e)?e:"string"==typeof e?e.split(","):[]).map(e=>T5(e,t)).filter(Boolean),A5=(e,t=k5)=>{var n,i;if("string"!=typeof e)return"";const o=E5(e);return o?null!=(i=null==(n=C5(o,t))?void 0:n.label)?i:o:""},P5=(e,t=k5)=>I5(e,t).map(e=>A5(e,t)).join(", "),O5=(e,t=k5)=>I5(e,t).some(e=>{const n=C5(e,t);if(!n){const t=e.toLowerCase();return t.includes("coordinator")||t.includes("admin")||t.includes("manager")}return"coordination"===n.category||"admin"===n.value||"leadership"===n.category});let R5=null;const L5=e=>(null==e?void 0:e.trim().replace(/^v/i,""))||null,D5=L5("1.0.152"),N5=L5("1.0.152"),M5=D5||N5||"0.0.0",z5=Ct(M5);let j5=null;const B5=async()=>j5||(j5=(async()=>{const e=await(async()=>as.isNativePlatform()?(R5||(R5=o(()=>Promise.resolve().then(()=>P6),void 0).then(e=>({updater:e.CapacitorUpdater})).catch(e=>(zL.warn("Failed to load Capgo updater:",e),null))),R5):null)();if(!e)return void(z5.value=M5);const t=e.updater;try{const{bundle:e,native:n}=await t.current(),i=(null==e?void 0:e.id)&&"builtin"!==e.id?e.version:n;z5.value=L5(i)||M5}catch(n){z5.value=M5,zL.warn("Failed to load Capgo app version:",n)}})(),j5),F5=()=>(B5(),{appVersion:gt(z5),loadAppVersion:B5}),V5="pawsitive:native-file-viewer-dismissed",U5=Ct("idle"),q5=Ct(null);let H5=null;const W5=()=>{null!==H5&&(clearTimeout(H5),H5=null)},G5=()=>{W5(),H5=setTimeout(()=>
2{H5=null,"sending"!==U5.value&&"progress"!==U5.value||(U5.value="released")},9e4)},$5=e=>{const t=parseInt(String(e),10);return Number.isInteger(t)?t:null},Y5=()=>{W5(),q5.value=null,U5.value="idle"},X5=e=>{const t=$5(e);null!==t&&(q5.value={pleaId:t,batchId:null,processed:0,total:0,sentCount:0,failedCount:0},U5.value="sending",G5())},K5=(e,t)=>{var n,i;const o=$5(e);if(null!==o){if(q5.value&&q5.value.pleaId===o){if("complete"===U5.value)return}else X5(o);q5.value&&(q5.value={...q5.value,batchId:null!=(n=t.batchId)?n:q5.value.batchId,total:null!=(i=t.totalFosters)?i:q5.value.total})}},J5=e=>{var t,n,i,o;if("idle"===U5.value||"complete"===U5.value)return!1;if(i=e.pleaId,o=e.batchId,!q5.value||q5.value.pleaId!==i||q5.value.batchId&&o&&q5.value.batchId!==o)return!1;const r=q5.value;return!(e.processed<r.processed)&&(q5.value={...r,batchId:null!=(n=null!=(t=r.batchId)?t:e.batchId)?n:null,processed:e.processed,total:e.total||r.total,sentCount:e.sentCount,failedCount:e.failedCount},U5.value="progress",G5(),!0)},Z5=e=>"complete"!==U5.value&&(!(!q5.value||q5.value.pleaId!==e.pleaId)&&(q5.value={...q5.value,processed:e.totalFosters,total:e.totalFosters,sentCount:e.sentCount,failedCount:e.failedCount},U5.value="complete",W5(),!0)),Q5=e=>{const t=$5(e);null!==t&&q5.value&&q5.value.pleaId===t&&Y5()},e4=kr(()=>{if("progress"!==U5.value||!q5.value||q5.value.total<=0)return null;const e=Math.min(q5.value.processed,q5.value.total);return"Sending to ".concat(e," of ").concat(q5.value.total,"â¦")});function t4(){return{phase:U5,activeSend:q5,sendingLabel:e4,beginSend:X5,applySendResponse:K5,recordProgress:J5,recordComplete:Z5,abortSend:Q5,reset:Y5}}let n4=!1,i4=null,o4=null,r4=null,a4=null,s4=null,l4=null;const c4=DN(),d4=t4(),u4=async()=>{if(!s4)return;const e=s4;s4=null,await e.dismiss()},p4=async(e,t=0)=>{let n="Plea sent to ".concat(e," foster volunteer").concat(1===e?"":"s",".");t>0&&(n+=" ".concat(t," email").concat(1===t?"":"s"," failed."));const i=await MS.create({message:n,duration:2500,position:"top",color:"success",cssClass:"app-toast",translucent:!0});await i.present()},h4=async()=>{if(!l4)return;const e=l4;l4=null;const t=await e;await t.dismiss()},m4=async e=>{if(!d4.recordProgress(e))return;const t=d4.sendingLabel.value;t&&await(async e=>{l4||(l4=(async()=>{await u4();const t=await MS.create({message:e,duration:0,position:"top",cssClass:"app-toast toast-neutral",translucent:!0});return await t.present(),t})()),(await l4).message=e})(t)},f4=e=>{v4(),d4.beginSend(e)},g4=e=>{d4.abortSend(e)},b4=(e,t,n)=>{var i;v4();const o=parseInt(String(e),10);if(!Number.isInteger(o))return;const r="complete"===d4.phase.value&&(null==(i=d4.activeSend.value)?void 0:i.pleaId)===o;d4.applySendResponse(o,{batchId:n,totalFosters:t}),r||l4||(async e=>{const t=await MS.create({message:"Sending plea to ".concat(e," foster volunteer").concat(1===e?"":"s","â¦"),duration:2e3,position:"top",cssClass:"app-toast toast-neutral",translucent:!0});s4=t,await t.present()})(t)},v4=()=>{n4||(n4=!0,i4=c4.onPleaSendProgress(e=>{m4(e)}),o4=c4.onPleaSendComplete(e=>{(async e=>{d4.recordComplete(e)&&(await h4(),await p4(e.totalFosters,e.failedCount||0))})(e)}),r4=c4.onDataChanged(e=>{(async e=>{var t;if("plea-sent"!==e.action)return;const n=d4.phase.value;if("sending"!==n&&"progress"!==n&&"released"!==n)return;const i=d4.activeSend.value,o=parseInt(String(null==(t=e.metadata)?void 0:t.pleaId),10);if(!i||!Number.isInteger(o)||o!==i.pleaId)return;const r=i.total;d4.reset(),await h4(),await p4(r)})(e)}),a4=bn(d4.phase,e=>{"released"===e&&(async()=>{await h4();const e=await MS.create({message:"Still working on this send. We'll update the count when it finishes.",duration:3500,position:"top",color:"medium",cssClass:"app-toast",translucent:!0});await e.present()})()}))},y4=()=>{i4&&(i4(),i4=null),o4&&(o4(),o4=null),r4&&(r4(),r4=null),a4&&(a4(),a4=null),n4=!1,d4.reset(),h4(),u4()},w4={class:"user-profile-section"},x4=["src","alt"],k4={key:1,class:"avatar-fallback"},_4={class:"user-name"},E4={class:"user-email"},S4={class:"org-status"},C4={class:"org-name"},T4=["icon"],I4={class:"menu-footer"},A4={class:"menu-footer-version"},P4={class:"monitoring-disclosure"},O4={class:"menu-footer-copyright"},R4=Gn({__name:"App",setup(e){const t=nk(),n=tk(),{unreadCount:i,messagesNotificationCount:o,schedulingNotificationCount:r,updateMessagesNotificationCount:a}=ZM(),{organization:s,hasAccess:l}=e1(),{coordinatorOllieWorthALookPending:c,coordinatorOllieWorthALookCount:d,ensureCoordinatorOllieAvailabilityChecked:u,refreshCoordinatorOllieStatus:p,clearCoordinatorOlliePending:h}=n5(),{reportsEnabled:m,ensureReportsAvailabilityChecked:f}={reportsEnabled:b5,reportsAvailabilityChecked:v5,ensureReportsAvailabilityChecked:w5},{canShare:g,shareFosterApplication:b}=S1(),{signOut:v}=W1(),{syncFromUser:y}=i2(),w=DN(),{appVersion:x}=F5(),k=Ct(null),_=Ct(null),E=Ct(!1);let S=null,C=null,T=null,I=null,A=null,P=null;const O=as.isNativePlatform(),R=as.isNativePlatform()&&"ios"===as.getPlatform(),L=as.isNativePlatform()&&"android"===as.getPlatform(),D="ios"===as.getPlatform(),N=["input","textarea","select",'[contenteditable="true"]','[contenteditable=""]',"ion-input","ion-textarea","ion-searchbar",'[role="textbox"]'].join(", "),M=(e,t=0)=>{if("undefined"==typeof document)return;const n=document.documentElement,i=e?Math.max(0,Math.round(t)):0;E.value=e,n.classList.toggle("keyboard-open",e),n.style.setProperty("--keyboard-height","".concat(i,"px"))},z=()=>{if("undefined"==typeof document)return()=>{};const e=e=>{var t;!E.value||(t=e.target)instanceof Element&&Boolean(t.closest(N))||(e.target instanceof Element&&e.target.closest("ion-alert .alert-wrapper, .ollie-footer, .quick-log-modal .modal-content")||(async()=>
2{if("undefined"==typeof document)return;const e=document.activeElement;if(e instanceof HTMLElement&&e.blur(),O)try{await _s.hide()}catch(t){zL.warn("Keyboard hide skipped:",t)}else M(!1)})())};document.addEventListener("pointerdown",e,!0);const t=e=>{var t,n;const i=null!=(n=null==(t=e.detail)?void 0:t.keyboardHeight)?n:0;M(!0,i)},n=()=>{M(!1)};if(window.addEventListener("ionKeyboardDidShow",t),window.addEventListener("ionKeyboardDidHide",n),!O)return()=>{document.removeEventListener("pointerdown",e,!0),window.removeEventListener("ionKeyboardDidShow",t),window.removeEventListener("ionKeyboardDidHide",n),M(!1)};const i=[];return(async()=>{try{R&&await _s.setResizeMode({mode:ws.Ionic}),i.push(await _s.addListener("keyboardWillShow",e=>{M(!0,e.keyboardHeight)})),i.push(await _s.addListener("keyboardDidShow",e=>{M(!0,e.keyboardHeight)})),i.push(await _s.addListener("keyboardWillHide",()=>{M(!1)})),i.push(await _s.addListener("keyboardDidHide",()=>{M(!1)}))}catch(e){zL.error("Failed to initialize global keyboard manager:",e)}})(),()=>{document.removeEventListener("pointerdown",e,!0),window.removeEventListener("ionKeyboardDidShow",t),window.removeEventListener("ionKeyboardDidHide",n),M(!1),i.forEach(e=>{e.remove()})}},j=e=>{if(!e)return null;const t=e.trim();if(!t||"transparent"===t)return null;const n=t.match(/^#([0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i);if(n){const e=n[1];return 3===e.length?"#".concat(e.split("").map(e=>"".concat(e).concat(e)).join("").toUpperCase()):8===e.length?"#".concat(e.slice(0,6).toUpperCase()):"#".concat(e.toUpperCase())}const i=t.match(/rgba?\(\s*([0-9.]+)\s*,\s*([0-9.]+)\s*,\s*([0-9.]+)(?:\s*,\s*([0-9.]+))?\s*\)/i);if(!i)return null;const[,o,r,a,s]=i;if(void 0!==s&&Number(s)<=.01)return null;const l=e=>Math.max(0,Math.min(255,Math.round(Number(e)))).toString(16).padStart(2,"0").toUpperCase();return"#".concat(l(o)).concat(l(r)).concat(l(a))},B=e=>e.length>0?e[e.length-1]:void 0,F=async()=>{var e,t;if(!O||"undefined"==typeof document)return;const n=document.documentElement,i=(()=>{var e,t,n,i,o,r,a,s;const l=Array.from(document.querySelectorAll("ion-modal, ion-popover, ion-action-sheet")).filter(e=>!e.classList.contains("overlay-hidden")),c=B(l);if(c)return null!=(n=null!=(t=null!=(e=c.querySelector("ion-header"))?e:c.querySelector("ion-toolbar"))?t:c.querySelector("ion-content"))?n:c;const d=Array.from(document.querySelectorAll("ion-router-outlet > ion-page")).filter(e=>!e.classList.contains("ion-page-hidden")&&!e.classList.contains("ion-page-invisible")),u=null!=(i=B(d))?i:document.querySelector("ion-page");return u?null!=(s=null!=(a=null!=(r=u.querySelector("ion-header"))?r:u.querySelector("ion-toolbar"))?a:u.querySelector("ion-content"))?s:u:null!=(o=document.querySelector("ion-app"))?o:document.body})(),o=null!=(t=null!=(e=(e=>{var t,n;let i=e;for(;i;){const e=window.getComputedStyle(i),o=null!=(n=null!=(t=j(e.getPropertyValue("--status-bar-background")))?t:j(e.getPropertyValue("--background")))?n:j(e.getPropertyValue("--ion-background-color")),r=j(e.backgroundColor);if(o)return o;if(r)return r;i=i.parentElement}return null})(i))?e:j(window.getComputedStyle(n).getPropertyValue("--color-background")))?t:"#1A1B25",r=(a=o,Number.parseInt(a.slice(1,3),16)/255*.2126+Number.parseInt(a.slice(3,5),16)/255*.7152+Number.parseInt(a.slice(5,7),16)/255*.0722>.62?Ss.Light:Ss.Dark);var a;n.dataset.statusBarColor=o,n.dataset.statusBarStyle=r;try{await As.setStyle({style:r}),await As.setBackgroundColor({color:o})}catch(s){zL.warn("Status bar sync skipped:",s)}},V=e=>{var t;const n=null==(t=null==e?void 0:e.staffProfile)?void 0:t.organization_id;return"number"==typeof n?n:null},U=async e=>{var t,n;const i=V(e);if(i){if((null==(t=_.value)?void 0:t.id)!==i){_.value=(null==(n=null==e?void 0:e.staffProfile)?void 0:n.organization)||null;try{_.value=await QB(i)}catch(o){}}}else _.value=null},q=()=>{var e;return(null==(e=null==h0?void 0:h0.currentUser)?void 0:e.uid)||null},H=()=>{S&&(S(),S=null),y4(),w.disconnect(),P=null,a(0)},W=async()=>{var e,t;if(k.value&&q())if("pending"!==(null==(t=null==(e=k.value)?void 0:e.fosterProfile)?void 0:t.status))try{const e=await A2.getUserChats();a(R2(e))}catch(n){zL.error("Failed to refresh unread message count:",n)}else a(0);else a(0)},G=()=>{C&&clearTimeout(C),C=setTimeout(()=>{C=null,W()},400)},$=()=>{S&&(S(),S=null),S=w.onUnread(()=>{G()})},X=async e=>{const t=q();if(!e||!t)return void(P||S?H():a(0));if(P!==t){P&&P!==t?H():S&&(S(),S=null);try{await w.connect(),$(),v4(),P=t,await W()}catch(n){P=null,zL.error("Failed to initialize socket:",n)}}};ui(async()=>{v4();try{k.value=await wC.get("currentUser"),await X(k.value),await U(k.value),I=setInterval(async()=>{try{const e=await wC.get("currentUser");k.value=e,await X(e),await U(e)}catch(e){}},2e3)}catch(e){}}),ui(()=>{document.documentElement.classList.toggle("native-ios",R),document.documentElement.classList.toggle("native-android",L),T=z(),A=(()=>
2{if(!O||"undefined"==typeof document)return()=>{};let e=null;const t=()=>{null!==e&&window.cancelAnimationFrame(e),e=window.requestAnimationFrame(()=>{e=null,F()})},n=new MutationObserver(()=>{t()});return n.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class","style"]}),window.addEventListener("focus",t),window.addEventListener(V5,t),t(),()=>{null!==e&&window.cancelAnimationFrame(e),n.disconnect(),window.removeEventListener("focus",t),window.removeEventListener(V5,t)}})(),"undefined"!=typeof window&&document.documentElement.style.setProperty("--browser-ui-bottom-offset","0px")}),mi(()=>{document.documentElement.classList.remove("native-ios"),document.documentElement.classList.remove("native-android"),I&&(clearInterval(I),I=null),C&&(clearTimeout(C),C=null),H(),null==T||T(),T=null,null==A||A(),A=null}),bn(()=>t.fullPath,async()=>{O&&(await Jt(),F())});const K=kr(()=>B2(window.currentUserCache||k.value)||"User"),J=kr(()=>{const e=window.currentUserCache||k.value;return(null==e?void 0:e.email)||""}),Z=kr(()=>{const e=K.value;return e?e.charAt(0).toUpperCase():"U"}),Q=Ct(!1),te=kr(()=>{const e=window.currentUserCache||k.value,t=(null==e?void 0:e.staffProfile)||(null==e?void 0:e.staff)||null;return(null==t?void 0:t.photo_url)||(null==e?void 0:e.photo_url)||(null==e?void 0:e.photoURL)||(null==e?void 0:e.avatarUrl)||(null==e?void 0:e.imageUrl)||null});bn(te,()=>{Q.value=!1});const ne=kr(()=>{var e,t,n,i,o,r,a,l;const c=V(k.value),d=(null==(n=null==(t=null==(e=k.value)?void 0:e.staffProfile)?void 0:t.organization)?void 0:n.name)||(null==(i=k.value)?void 0:i.organization_name)||"Organization Name";return Number(null==(o=s.value)?void 0:o.id)===c&&(null==(r=s.value)?void 0:r.name)?s.value.name:(null==(a=_.value)?void 0:a.id)===c&&(null==(l=_.value)?void 0:l.name)?_.value.name:d}),ie=kr(()=>o.value||0),oe=kr(()=>i.value||0),re=kr(()=>{const e=window.currentUserCache||k.value;return(null==e?void 0:e.isAdmin)||!1}),ae=kr(()=>{var e;const t=window.currentUserCache||k.value,n=(null==t?void 0:t.staffProfile)||(null==t?void 0:t.staff)||null,i=null==n?void 0:n.id,o=null==(e=null==n?void 0:n.organization)?void 0:e.staff_id;return Boolean(i&&o&&i===o)}),se=e=>(null==e?void 0:e.staffProfile)||(null==e?void 0:e.staff)||null,le=kr(()=>{var e,t,n;const i=window.currentUserCache||k.value,o=se(i),r=Number((null==o?void 0:o.organization_id)||(null==(e=null==o?void 0:o.organization)?void 0:e.id)||0);return r&&Number(null==(t=s.value)?void 0:t.id)===r?s.value:r&&Number(null==(n=_.value)?void 0:n.id)===r?_.value:(null==o?void 0:o.organization)||null}),ce=kr(()=>{var e;const t=le.value;return!0===(null==t?void 0:t.publicIntakeEnabled)||!0===(null==(e=null==t?void 0:t.settings)?void 0:e.publicIntakeEnabled)}),de=kr(()=>{var e,t;const n=window.currentUserCache||k.value;return Boolean(!0===(null==(e=null==n?void 0:n.staffProfile)?void 0:e.is_sponsor)||!0===(null==(t=null==n?void 0:n.staff)?void 0:t.is_sponsor))}
2),ue=Ct(!1),pe=e=>"pawsitive.sponsorWelcomeDismissed.".concat(e),he=()=>{if(ue.value=!1,"undefined"==typeof window||!window.localStorage)return;const e=window.currentUserCache||k.value,t=null==e?void 0:e.id;t&&window.localStorage.setItem(pe(t),"1")};bn(()=>{var e;return null==(e=k.value)?void 0:e.id},()=>{(()=>{var e,t;if("undefined"==typeof window||!window.localStorage)return;const n=window.currentUserCache||k.value,i=null==n?void 0:n.id,o=Boolean(!0===(null==(e=null==n?void 0:n.staffProfile)?void 0:e.is_sponsor)||!0===(null==(t=null==n?void 0:n.staff)?void 0:t.is_sponsor));if(!i||!o)return;window.localStorage.getItem(pe(i))||(ue.value=!0)})(),y(k.value)}),bn(()=>{var e;return null==(e=k.value)?void 0:e.background_theme},()=>y(k.value));const me=kr(()=>{var e,t;const n=window.currentUserCache||k.value,i=Boolean(!0===(null==(e=null==n?void 0:n.staffProfile)?void 0:e.is_sponsor)||!0===(null==(t=null==n?void 0:n.staff)?void 0:t.is_sponsor)),o=Boolean(oZ(null==n?void 0:n.role)||(null==n?void 0:n.isAdmin)||(null==n?void 0:n.staffProfile)),r=aZ(n);return o&&!r&&!i}),fe=kr(()=>{const e=window.currentUserCache||k.value,t=Boolean(oZ(null==e?void 0:e.role)||(null==e?void 0:e.isAdmin)||(null==e?void 0:e.staffProfile)),n=aZ(e);return q2(s.value)&&l("coordinator_assistant_chat")&&t&&!n&&!de.value});bn(fe,e=>{e&&u()},{immediate:!0}),x5(p,{enabled:()=>fe.value});const ge=kr(()=>{var e,t;const n=window.currentUserCache||k.value,i=Boolean(oZ(null==n?void 0:n.role)||(null==n?void 0:n.isAdmin)||(null==n?void 0:n.staffProfile)),o=aZ(n),r=Boolean(!0===(null==(e=null==n?void 0:n.staffProfile)?void 0:e.is_sponsor)||!0===(null==(t=null==n?void 0:n.staff)?void 0:t.is_sponsor)),a=l("monthly_impact_report");return i&&!o&&!r&&a});bn(ge,e=>{e&&f()},{immediate:!0});const be=kr(()=>ge.value&&m.value),ve=kr(()=>{const e=window.currentUserCache||k.value,t=se(e),n=Boolean(oZ(null==e?void 0:e.role)||(null==e?void 0:e.isAdmin)||t),i=aZ(e),o=(e=>{var t;const n=Array.isArray(null==(t=null==e?void 0:e.permissions)?void 0:t.roles)?e.permissions.roles:[];return I5(n.length>0?n:null==e?void 0:e.position)})(t).includes("intake_coordinator");return ce.value&&n&&!i&&(o||ae.value)}),ye=async()=>{await Eb.close("main-menu");try{const e=KG();if(e){const t=await e.createForm();return t.appendToDom(),void t.open()}}catch(e){zL.error("Failed to open Sentry feedback form:",e)}window.location.href="mailto:[email protected]"},we=()=>{Eb.close("main-menu")},xe=async(e,i={})=>{Eb.close("main-menu").catch(()=>{}),t.path!==e&&(i.replace?await n.replace(e):await n.push(e))},ke=()=>{h(),xe("/assistant")},_e=()=>{Eb.close("main-menu").catch(()=>{}),b("side_menu")},Ee=()=>{Eb.close("main-menu").catch(()=>{}),TC(_C)},Se=async()=>{const e=await LS.create({header:"Sign Out",message:"Are you sure you want to sign out?",buttons:[{text:"Cancel",role:"cancel",cssClass:"secondary"},{text:"Sign Out",cssClass:"danger",handler:()=>{S&&(S(),S=null),y4(),a(0),w.disconnect(),v()}}]});await e.present()};return ui(async()=>{try{await Eb.enable(!0,"main-menu")}catch(e){}try{const e=document.querySelector("ion-router-outlet");e&&(e.animation=(e,t)=>{try{const e=t.enteringEl,n=t.leavingEl;if(n&&n.querySelector('[data-page="volunteer-directory"]')){const t=Vm().addElement(e).fromTo("transform","translateX(100%)","translateX(0)").fromTo("opacity",0,1).duration(300).easing("cubic-bezier(0.32, 0.72, 0, 1)"),i=Vm().addElement(n).fromTo("transform","translateX(0)","translateX(-33%)").fromTo("opacity",1,.8).duration(300).easing("cubic-bezier(0.32, 0.72, 0, 1)");return Vm().addAnimation([t,i])}{const t=Vm().addElement(e).fromTo("opacity",0,1).duration(300).easing("ease-out");if(n){const e=Vm().addElement(n).fromTo("opacity",1,0).duration(200).easing("ease-in");return Vm().addAnimation([t,e])}return t}}catch(n){return Vm().addElement(t.enteringEl).fromTo("opacity",0,1).duration(300)}})}catch(e){}}),bn(()=>t.fullPath,()=>{"/signin"===t.path&&y(null),k.value&&G()},{immediate:!0}),bn(()=>w.isConnected.value,e=>{e&&k.value&&($(),v4(),G())}),(e,t)=>(jo(),Ho(Pt(yS),{class:Y({"signing-out":Pt(q1)})},{default:cn(()=>[Ko(Pt(ME),{side:"start",type:"overlay","content-id":"main-content","menu-id":"main-menu"},{default:cn(()=>[Ko(Pt(kE),{class:"ion-no-border"},{default:cn(()=>[Ko(Pt(QE),{class:"ion-no-border menu-toolbar"},{default:cn(()=>[Ko(Pt(JE),null,{default:cn(()=>[...t[27]||(t[27]=[Zo("Menu",-1)])]),_:1}),Xo("button",{class:"menu-close-btn",onClick:we},[Ko(s2,{name:"close",size:24})])]),_:1})]),_:1}),Ko(Pt(gE),{class:"menu-content"},{default:cn(()=>[Ko(Pt(DE),null,{default:cn(()=>[Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/home"===e.$route.path}),onClick:t[0]||(t[0]=Ja(e=>xe("/home",{replace:!0}),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(dC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[28]||(t[28]=[Zo("Home",-1)])]),_:1}),oe.value>0?(jo(),Ho(Pt(dE),{key:0,slot:"end"},{default:cn(()=>[Zo(ee(oe.value),1)]),_:1})):er("",!0)]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/all-animals"===e.$route.path}),onClick:t[1]||(t[1]=Ja(e=>xe("/all-animals"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(fC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[29]||(t[29]=[Zo("Animals",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/fosters"===e.$route.path}),onClick:t[2]||(t[2]=Ja(e=>xe("/fosters"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M402 168c-2.93 40.67-33.1 72-66 72s-63.12-31.32-66-72c-3-42.31 26.37-72 66-72s69 30.46 66 72' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/>
2<path d='M336 304c-65.17 0-127.84 32.37-143.54 95.41-2.08 8.34 3.15 16.59 11.72 16.59h263.65c8.57 0 13.77-8.25 11.72-16.59C463.85 335.36 401.18 304 336 304Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M200 185.94c-2.34 32.48-26.72 58.06-53 58.06s-50.7-25.57-53-58.06C91.61 152.15 115.34 128 147 128s55.39 24.77 53 57.94' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M206 306c-18.05-8.27-37.93-11.45-59-11.45-52 0-102.1 25.85-114.65 76.2-1.65 6.66 2.53 13.25 9.37 13.25H154' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[30]||(t[30]=[Zo("Volunteers",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/messages"===e.$route.path}),onClick:t[3]||(t[3]=Ja(e=>xe("/messages"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt($S)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[31]||(t[31]=[Zo("Messages",-1)])]),_:1}),ie.value>0?(jo(),Ho(Pt(dE),{key:0,slot:"end"},{default:cn(()=>[Zo(ee(ie.value),1)]),_:1})):er("",!0)]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/scheduling"===e.$route.path}),onClick:t[4]||(t[4]=Ja(e=>xe("/scheduling"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(qS)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[32]||(t[32]=[Zo("Scheduling",-1)])]),_:1}),Pt(r)>0?(jo(),Ho(Pt(dE),{key:0,slot:"end"},{default:cn(()=>[Zo(ee(Pt(r)),1)]),_:1})):er("",!0)]),_:1},8,["class"])]),_:1}),fe.value?(jo(),Ho(Pt(jE),{key:0,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/assistant"===e.$route.path}),onClick:Ja(ke,["stop"])},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(gC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[33]||(t[33]=[Zo("Ollie",-1)])]),_:1}),Pt(c)?(jo(),Ho(Pt(dE),{key:0,slot:"end"},{default:cn(()=>[Zo(ee(Pt(d)),1)]),_:1})):er("",!0)]),_:1},8,["class"])]),_:1})):er("",!0),ve.value?(jo(),Ho(Pt(jE),{key:1,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":e.$route.path.startsWith("/public-intake")}),onClick:t[5]||(t[5]=Ja(e=>xe("/public-intake"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M384 80H128c-26 0-43 14-48 40L48 272v112a48.14 48.14 0 0 0 48 48h320a48.14 48.14 0 0 0 48-48V272l-32-152c-5-27-23-40-48-40Z' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M48 272h144M320 272h144M192 272a64 64 0 0 0 128 0' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[34]||(t[34]=[Zo("Public Intake",-1)])]),_:1})]),_:1},8,["class"])]),_:1})):er("",!0),me.value?(jo(),Ho(Pt(jE),{key:2,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/animal-records"===e.$route.path}),onClick:t[6]||(t[6]=Ja(e=>xe("/animal-records"),["stop"]))},{default:cn(()=>[t[36]||(t[36]=Xo("span",{slot:"start",class:"menu-svg-icon","aria-hidden":"true"},null,-1)),Ko(Pt(LE),null,{default:cn(()=>[...t[35]||(t[35]=[Zo("Animal Records",-1)])]),_:1})]),_:1},8,["class"])]),_:1})):er("",!0),be.value?(jo(),Ho(Pt(jE),{key:3,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/reports"===e.$route.path&&!(re.value&&"monthly"===e.$route.query.tab)}),onClick:t[7]||(t[7]=Ja(e=>xe("/reports"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(bC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[37]||(t[37]=[Zo("Reports",-1)])]),_:1})]),_:1},8,["class"])]),_:1})):er("",!0),Pt(g)?(jo(),Ho(Pt(jE),{key:4,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:Ja(_e,["stop"])},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'>
2<path d='M336 192h40a40 40 0 0 1 40 40v192a40 40 0 0 1-40 40H136a40 40 0 0 1-40-40V232a40 40 0 0 1 40-40h40M336 128l-80-80-80 80M256 321V48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[38]||(t[38]=[Zo("Share foster application",-1)])]),_:1})]),_:1})]),_:1})):er("",!0),Pt(_C)?(jo(),Ho(Pt(jE),{key:5,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:Ja(Ee,["stop"])},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M87.48 380c1.2-4.38-1.43-10.47-3.94-14.86a43 43 0 0 0-2.54-3.8 199.8 199.8 0 0 1-33-110C47.64 139.09 140.72 48 255.82 48 356.2 48 440 117.54 459.57 209.85a199 199 0 0 1 4.43 41.64c0 112.41-89.49 204.93-204.59 204.93-18.31 0-43-4.6-56.47-8.37s-26.92-8.77-30.39-10.11a31.1 31.1 0 0 0-11.13-2.07 30.7 30.7 0 0 0-12.08 2.43L81.5 462.78a16 16 0 0 1-4.66 1.22 9.61 9.61 0 0 1-9.58-9.74 16 16 0 0 1 .6-3.29Z' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><circle cx='160' cy='256' r='32'/><circle cx='256' cy='256' r='32'/><circle cx='352' cy='256' r='32'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[39]||(t[39]=[Zo("Share feedback",-1)])]),_:1})]),_:1})]),_:1})):er("",!0),re.value?(jo(),qo(Ro,{key:6},[Ko(Pt(AE),null,{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[40]||(t[40]=[Zo("Admin Tools",-1)])]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/admin/verification"===e.$route.path}),onClick:t[8]||(t[8]=Ja(e=>xe("/admin/verification"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'>
2<path d='M336 176 225.2 304 176 255.8' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M463.1 112.37C373.68 96.33 336.71 84.45 256 48c-80.71 36.45-117.68 48.33-207.1 64.37C32.7 369.13 240.58 457.79 256 464c15.42-6.21 223.3-94.87 207.1-351.63' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[41]||(t[41]=[Zo("Verification Dashboard",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/admin/orgs"===e.$route.path}),onClick:t[9]||(t[9]=Ja(e=>xe("/admin/orgs"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M176 416v64M80 32h192a32 32 0 0 1 32 32v412a4 4 0 0 1-4 4H48h0V64a32 32 0 0 1 32-32M320 192h112a32 32 0 0 1 32 32v256h0-160 0V208a16 16 0 0 1 16-16' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/><path d='M98.08 431.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M98.08 351.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M98.08 271.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M98.08 191.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M98.08 111.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M178.08 351.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M178.08 271.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M178.08 191.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M178.08 111.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M258.08 431.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M258.08 351.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M258.08 271.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79'/><ellipse cx='256' cy='176' rx='15.95' ry='16.03' transform='rotate(-45 255.99 175.996)'/><path d='M258.08 111.87a16 16 0 1 1 13.79-13.79 16 16 0 0 1-13.79 13.79M400 400a16 16 0 1 0 16 16 16 16 0 0 0-16-16M400 320a16 16 0 1 0 16 16 16 16 0 0 0-16-16M400 240a16 16 0 1 0 16 16 16 16 0 0 0-16-16M336 400a16 16 0 1 0 16 16 16 16 0 0 0-16-16M336 320a16 16 0 1 0 16 16 16 16 0 0 0-16-16M336 240a16 16 0 1 0 16 16 16 16 0 0 0-16-16'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[42]||(t[42]=[Zo("Org signups",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/admin/reports"===e.$route.path}),onClick:t[10]||(t[10]=Ja(e=>xe("/admin/reports"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 464V68.14a8 8 0 0 1 4-6.9C91.81 56.66 112.92 48 160 48c64 0 145 48 192 48a199.5 199.5 0 0 0 77.23-15.77 2 2 0 0 1 2.77 1.85v219.36a4 4 0 0 1-2.39 3.65C421.37 308.7 392.33 320 352 320c-48 0-128-32-192-32s-80 16-80 16' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[43]||(t[43]=[Zo("Content Reports",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/reports"===e.$route.path&&"monthly"===e.$route.query.tab}),onClick:t[11]||(t[11]=Ja(e=>xe("/reports?tab=monthly"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(bC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[44]||(t[44]=[Zo("Monthly Reports",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/impact-report"===e.$route.path}),onClick:t[12]||(t[12]=Ja(e=>xe("/impact-report"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(bC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>
2[...t[45]||(t[45]=[Zo("Impact Report",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/admin/ai-usage"===e.$route.path}),onClick:t[13]||(t[13]=Ja(e=>xe("/admin/ai-usage"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt(gC)},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[46]||(t[46]=[Zo("AI Usage",-1)])]),_:1})]),_:1},8,["class"])]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",class:Y({"active-menu-item":"/dev/router"===e.$route.path}),onClick:t[14]||(t[14]=Ja(e=>xe("/dev/router"),["stop"]))},{default:cn(()=>[Ko(Pt(_S),{slot:"start",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='m350.67 150.93-117.2 46.88a64 64 0 0 0-35.66 35.66l-46.88 117.2a8 8 0 0 0 10.4 10.4l117.2-46.88a64 64 0 0 0 35.66-35.66l46.88-117.2a8 8 0 0 0-10.4-10.4M256 280a24 24 0 1 1 24-24 24 24 0 0 1-24 24'/></svg>")},null,8,["icon"]),Ko(Pt(LE),null,{default:cn(()=>[...t[47]||(t[47]=[Zo("Router Page",-1)])]),_:1})]),_:1},8,["class"])]),_:1})],64)):er("",!0),ae.value?(jo(),qo(Ro,{key:7},[Ko(Pt(AE),null,{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[48]||(t[48]=[Zo("Organization settings",-1)])]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[15]||(t[15]=Ja(e=>xe("/organization"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[49]||(t[49]=[Zo("Organization Details",-1)])]),_:1})]),_:1})]),_:1}),de.value?er("",!0):(jo(),Ho(Pt(jE),{key:0,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[16]||(t[16]=Ja(e=>xe("/team"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[50]||(t[50]=[Zo("Manage Team",-1)])]),_:1})]),_:1})]),_:1})),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[17]||(t[17]=Ja(e=>xe("/settings/org-shape"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[51]||(t[51]=[Zo("Species & programs",-1)])]),_:1})]),_:1})]),_:1}),D?er("",!0):(jo(),Ho(Pt(jE),{key:1,"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[18]||(t[18]=Ja(e=>xe("/settings/billing"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[52]||(t[52]=[Zo("Billing",-1)])]),_:1})]),_:1})]),_:1}))],64)):er("",!0),Ko(Pt(AE),null,{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[53]||(t[53]=[Zo("General settings",-1)])]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[19]||(t[19]=Ja(e=>xe("/notification-preferences"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[54]||(t[54]=[Zo("Notifications",-1)])]),_:1})]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[20]||(t[20]=Ja(e=>
2xe("/settings/change-password"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[55]||(t[55]=[Zo("Change Password",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),Ko(Pt(DE),null,{default:cn(()=>[Ko(Pt(AE),null,{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[56]||(t[56]=[Zo("About Pawsitive Foster",-1)])]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[21]||(t[21]=Ja(e=>xe("/faq"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[57]||(t[57]=[Zo("FAQs",-1)])]),_:1})]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:Ja(ye,["stop"])},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[58]||(t[58]=[Zo("Contact Support",-1)])]),_:1})]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[22]||(t[22]=Ja(e=>xe("/privacy"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[59]||(t[59]=[Zo("Privacy Policy",-1)])]),_:1})]),_:1})]),_:1}),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:t[23]||(t[23]=Ja(e=>xe("/terms"),["stop"]))},{default:cn(()=>[Ko(Pt(LE),null,{default:cn(()=>[...t[60]||(t[60]=[Zo("Terms of Service",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),Xo("div",w4,[Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",lines:"none",class:"user-info-item",onClick:t[25]||(t[25]=Ja(e=>xe("/coordinator/profile"),["stop"])),detail:!1},{default:cn(()=>[Ko(Pt(cE),{slot:"start",class:"user-avatar"},{default:cn(()=>[te.value&&!Q.value?(jo(),qo("img",{key:0,src:te.value,alt:K.value,onError:t[24]||(t[24]=e=>Q.value=!0)},null,40,x4)):(jo(),qo("div",k4,ee(Z.value),1))]),_:1}),Ko(Pt(LE),null,{default:cn(()=>[Xo("h2",_4,ee(K.value),1),Xo("p",E4,ee(J.value),1),Xo("div",S4,[Xo("span",C4,ee(ne.value),1)])]),_:1}),Xo("ion-icon",{slot:"end",icon:Pt("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>"),class:"profile-chevron","aria-hidden":"true"},null,8,T4)]),_:1})]),_:1}),t[62]||(t[62]=Xo("div",{class:"menu-divider"},null,-1)),Ko(Pt(jE),{"auto-hide":!1},{default:cn(()=>[Ko(Pt(IE),{button:"",onClick:Se,lines:"none",class:"sign-out-item",detail:!1},{default:cn(()=>[Ko(Pt(LE),{color:"danger"},{default:cn(()=>[...t[61]||(t[61]=[Zo("Sign Out",-1)])]),_:1})]),_:1})]),_:1}),t[63]||(t[63]=Xo("div",{class:"menu-divider"},null,-1))]),Xo("div",I4,[Ko(Pt(_E),{src:"/assets/logos/logo-small.svg",alt:"Pawsitive Foster",class:"menu-footer-logo"}),Xo("div",A4,"v"+ee(Pt(x)),1),t[66]||(t[66]=Xo("div",{class:"menu-footer-tagline"},"Built with ð by foster volunteers.",-1)),Xo("div",P4,[t[64]||(t[64]=Zo(" We use error tracking and product analytics to improve app quality and your experience. No personal messages or sensitive data are shared. See our ",-1)),Xo("a",{href:"/privacy",onClick:t[26]||(t[26]=Ja(e=>xe("/privacy"),["prevent"]))},"Privacy Policy"),t[65]||(t[65]=Zo(" for details. ",-1))]),Xo("div",O4,"© "+ee((new Date).getFullYear())+" Pawsitive Foster. All rights reserved.",1)])]),_:1})]),_:1}),t[67]||(t[67]=Xo("div",{id:"side-panel-root"},null,-1)),Ko(Pt(bS),{id:"main-content",animated:!Pt(q1)},null,8,["animated"]),t[68]||(t[68]=Xo("div",{class:"app-grain","aria-hidden":"true"},null,-1)),Ko(c2,{"is-open":ue.value,onDismiss:he},null,8,["is-open"]),Ko(k2)]),_:1},8,["class"]))}}),L4={main:0},D4=(e="main")=>{var t;const n=(null!==(t=L4[e])&&void 0!==t?t:0)+1;return L4[e]=n,n.toString()},N4=()=>"ios"===as.getPlatform(),M4=()=>as.isNativePlatform(),z4=()=>as.isNativePlatform()&&(N4()||"android"===as.getPlatform()),j4=()=>z4(),B4="/coordinator/signup/step-1",F4="/coordinator/signup/step-2",V4="/coordinator/signup/step-3",U4=[B4,F4,V4,"/pending-verification"],q4=V4,H4=e=>(null==e?void 0:e.staffProfile)||(null==e?void 0:e.staff)||null,W4=e=>{const t=H4(e),n=null==t?void 0:t.organization;if(!n)return!1;if(!n.verified)return!1;if(n.onboarding_completed_at)return!1;if(!0===(null==t?void 0:t.is_sponsor))return!1;const i=(o=null==t?void 0:t.id,r=n.staff_id,null!=o&&null!=r&&String(o)===String(r));var o,r;return Boolean(i)},G4=e=>{const t=H4(e),n=null==t?void 0:t.organization;if(!t||!n)return!1;if(!1===n.verified)return!1;const i=null==t?void 0:t.position;return!("string"==typeof i&&i.trim().length>0)},$4=e=>{var t,n;const i=null==(t=H4(e))?void 0:t.organization,o=null==i?void 0:i.enabledPrograms;if(!(Array.isArray(o)&&o.length>0))return B4;return String((null==(n=null==i?void 0:i.address)?void 0:n.zip)||"").trim().length>0?V4:F4},Y4=e=>"string"==typeof e&&e.trim().length>0,X4=()=>j4(),K4=e=>{var t,n;return aZ(e)?"pending"===(null==(t=null==e?void 0:e.fosterProfile)?void 0:t.status)&&(null==(n=null==e?void 0:e.fosterProfile)?void 0:n.onboarding_completed)?"/pending-application":"/foster/home":!X4()&&W4(e)?$4(e):!X4()&&G4(e)?q4:"/home"},J4=[{path:"/dev/router",name:"RouterPage",component:()=>o(()=>import("./RouterPage-DHU27l36.js"),__vite__mapDeps([0,1]))},{path:"/",redirect:"/signin"},{path:"/apply/:orgCode",name:"FosterApplicationPage",component:()=>o(()=>import("./FosterApplicationPage-Bc5f9JM6.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),props:!0,meta:{requiresAuth:!1}},{path:"/terms",name:"Terms",component:()=>o(()=>import("./TermsPage-BD17JM3s.js"),__vite__mapDeps([25,26])),meta:{requiresAuth:!1}},{path:"/privacy",name:"Privacy",component:()=>o(()=>import("./PrivacyPage-Cs_U-vgo.js"),__vite__mapDeps([27,28])),meta:{requiresAuth:!1}},{path:"/faq",name:"FAQ",component:()=>o(()=>import("./FAQPage-CytMrr6O.js"),__vite__mapDeps([29,30,31,32])),meta:{requiresAuth:!1}},{path:"/invite/:token",name:"InviteCapture",component:()=>o(()=>import("./InviteCapture-gPu0ewGn.js"),__vite__mapDeps([33,34,35]))},{path:"/invite",name:"ReferralPage",component:()=>o(()=>import("./ReferralPage-BEe-TfDN.js"),__vite__mapDeps([36,37,38]))},{path:"/ref/:code",name:"ReferralCapture",component:()=>o(()=>import("./ReferralCapture-OrwH03bk.js"),__vite__mapDeps([39,37,40]))},{path:"/signup",name:"SignupPage",component:()=>o(()=>import("./SignupPage-D6XMjqUU.js"),__vite__mapDeps([41,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])),props:e=>({invite:e.query.invite}),beforeEnter:()=>!X4()||{path:"/signin"}},{path:"/foster/welcome",name:"FosterWelcome",component:()=>o(()=>import("./FosterWelcome-1Ktg0Mlz.js"),__vite__mapDeps([42,43,34,44])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/onboarding/1",name:"FosterOnboardingStep1",component:()=>o(()=>import("./FosterOnboardingStep1-BOK7Tv4a.js"),__vite__mapDeps([45,9,5,10,46,16,17,47])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/onboarding/2",name:"FosterOnboardingStep2",component:()=>o(()=>import("./FosterOnboardingStep2-Bpl-lpdZ.js"),__vite__mapDeps([48,46,16,17,49,50,13,51])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/onboarding/3",name:"FosterOnboardingStep3",component:()=>o(()=>import("./FosterOnboardingStep3-B2vhvQ3T.js"),__vite__mapDeps([52,46,16,17,53])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/download-app",name:"FosterDownloadApp",component:()=>o(()=>import("./FosterDownloadApp-6BSly3yC.js"),__vite__mapDeps([54,43,34,55])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/home",name:"FosterHomePage",component:()=>o(()=>import("./FosterHomePage-hzM76p-s.js"),__vite__mapDeps([56,57,58,59,60,61,62,63,64,65,66,67,68,69,49,16,17,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/adoption-share/:opportunityId",name:"FosterAdoptionShare",component:()=>o(()=>import("./AdoptionSharePage-De8OiOdv.js"),__vite__mapDeps([105,106,107,86,108])),props:!0,meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/animals",name:"FosterAnimalsPage",component:()=>o(()=>import("./FosterAnimalsPage-R7q_lasp.js"),__vite__mapDeps([109,58,59,60,61,62,30,31,95,84,85,87,88,96,110,
2111,65,66,49,16,17,63,64,68,69,112,13,113])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/resources",name:"FosterResourcesPage",component:()=>o(()=>import("./FosterResourcesPage-Dxf_PKTy.js"),__vite__mapDeps([114,30,31,95,84,85,87,88,96,102,103,115])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/community",name:"FosterCommunityPage",component:()=>o(()=>import("./FosterCommunityPage-DoWrmwDm.js"),__vite__mapDeps([116,95,84,85,87,88,96,117])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/messages",name:"FosterMessagesPage",component:()=>o(()=>import("./FosterMessagesPage-BihJ-sbl.js"),__vite__mapDeps([118,49,16,17,119,120,121,122,78,87,88,89,90,91,92,123,68,63,64,69,124,58,125,126,127,30,31,95,84,85,96,128])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/ollie",name:"FosterOlliePage",component:()=>o(()=>import("./FosterOlliePage-DlRtWw2l.js"),__vite__mapDeps([129,130,131,124,58,125,68,63,64,69,60,61,90,91,16,17,132,133,134,135,136,76,78,137])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/staff-directory",name:"FosterStaffDirectoryPage",component:()=>o(()=>import("./FosterStaffDirectoryPage-DXYPxINA.js"),__vite__mapDeps([138,16,17,139,140,30,31,95,84,85,87,88,96,90,91,141])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/settings",name:"FosterSettingsPage",component:()=>o(()=>import("./FosterSettingsPage-BDq8hxte.js"),__vite__mapDeps([142,49,16,17,90,91,143,84,85,144,145])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/preferences",name:"FosterPreferencesPage",component:()=>o(()=>import("./FosterPreferencesPage-Dld700-V.js"),__vite__mapDeps([146,16,17,49,13,14,50,147])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/availability",name:"FosterAvailabilityPage",component:()=>o(()=>import("./FosterAvailabilityPage-BTPRkPTe.js"),__vite__mapDeps([148,16,17,149,150,49,132,151])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/history",name:"FosterHistoryPage",component:()=>o(()=>import("./FosterHistoryPage-BDxY4gIT.js"),__vite__mapDeps([152,63,64,60,61,153])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/faq",name:"FosterFAQPage",component:()=>o(()=>import("./FosterFAQPage-C6Wl1KA9.js"),__vite__mapDeps([154,30,31,155])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/book",name:"FosterBooking",component:()=>o(()=>import("./BookingFlow-BWOew7MR.js"),__vite__mapDeps([156,98,70,67,68,63,64,69,157,16,17,158,159,160])),meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/animal/:id",name:"FosterAnimalProfile",component:()=>o(()=>import("./FosterAnimalProfile-Cy99U8fv.js"),__vite__mapDeps([161,162,76,75,63,64,98,163,60,61,97,164,58,100,101,81,82,165,131,166,89,90,91,92,74,167,168,77,169,78,170,171,172,79,16,17,67,68,69,70,73,20,95,84,85,87,88,96,173,174,93,94,65,66,175,133,134,102,103,158,159,176])),props:!0,meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/submit-interest/:id?",name:"FosterSubmitInterest",component:()=>o(()=>import("./FosterSubmitInterestPage-DMwVFkSM.js"),__vite__mapDeps([177,58,178,179,4,5,6,173,174,67,68,63,64,69,60,61,16,17,180])),props:!0,meta:{requiresAuth:!0,requiresFoster:!0}},{path:"/foster/:id",name:"FosterPage",component:()=>o(()=>import("./FosterPage-C8G8Clt-.js"),__vite__mapDeps([181,182,183,184,120,119,185,16,17,186,187,13,80,81,58,63,64,82,83,90,91,89,92,67,68,69,164,188,122,132,110,111,189])),props:!0,meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/staff-profile/:id",name:"StaffProfilePage",component:()=>o(()=>import("./StaffProfilePage-Do3gE6fM.js"),__vite__mapDeps([190,182,89,90,91,92,93,94,183,184,191,120,119,122,192,193])),props:!0,meta:{requiresAuth:!0}},{path:"/home",name:"AppHome",component:()=>o(()=>import("./HomePage-D6YBQyju.js"),__vite__mapDeps([194,71,16,17,72,195,84,85,87,88,67,68,63,64,69,196,49,112,13,197,178,179,4,5,6,198,199,200,201,202,203,204,205,206,207,30,31,208,209,110,111,210,89,90,91,92,211,187,132,212,213,214,20,215,216,186,60,61,217,218,219,76,75,175,220,106,221,222,223,173,174,224,225,18,226,227,228,78,74,98,163,97,229,43,230])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/foster-message/:fosterId",name:"FosterMessagePage",component:()=>o(()=>import("./FosterMessageThreadPage-DlWOs5XT.js"),__vite__mapDeps([231,135,136,89,90,91,92,123,68,63,64,69,124,58,125,126,16,17,76,49,119,120,183,184,133,134,167,78,232])),props:!0,meta:{requiresAuth:!0}},{path:"/fosters",name:"FosterDirectory",component:()=>o(()=>import("./VolunteerDirectory-DNtFn5zQ.js"),__vite__mapDeps([233,210,89,90,91,92,63,64,211,187,13,132,212,165,131,166,110,111,227,18,20,226,5,228,30,31,139,140,224,84,85,87,88,225,16,17,234,69,235,21,236])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/send-plea/:animalId?",name:"SendPleaPage",component:()=>o(()=>import("./SendPleaPage-BjULbEqI.js"),__vite__mapDeps([237,205,206,207,30,31,208,209,110,111,210,89,90,91,92,63,64,211,187,13,132,212,214,213,5,16,17,186,215,216,68,69,60,61,112,238])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/coordinator/weekly-schedule",name:"WeeklySchedule",component:()=>o(()=>import("./WeeklySchedule-CL2CtY4x.js"),__vite__mapDeps([239,110,111,173,174,77,229,20,240])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/admin/verification",name:"VerificationDashboard",component:()=>o(()=>import("./VerificationDashboard-Bcc1GSNM.js"),__vite__mapDeps([241,19,192,4,5,6,30,31,200,201,242])),meta:{requiresAuth:!0,requiresAdmin:!0}},{path:"/admin/reports",name:"ReportsDashboard",component:()=>o(()=>import("./ReportsDashboard-BT3SRgjd.js"),__vite__mapDeps([243,120,244])),meta:{requiresAuth:!0,requiresAdmin:!0}},{path:"/reports",name:"ReportsPage",component:()=>o(()=>import("./ReportsPage-Bp7DzRxZ.js"),__vite__mapDeps([245,139,140,224,84,85,87,88,225,246,107,247])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0,disallowSponsorStaff:!0}},{path:"/impact-report",name:"ImpactReportPage",component:()=>o(()=>import("./ImpactReportPage-R-6qpGSt.js"),__vite__mapDeps([248,139,140,224,84,85,87,88,225,205,206,207,246,107,78,249])),meta:{requiresAuth:!0,requiresAdmin:!0}},{path:"/admin/orgs",name:"OrgSignupsDashboard",component:()=>o(()=>import("./OrgSignupsDashboard-CXVSLqhe.js"),__vite__mapDeps([250,78,251])),meta:{requiresAuth:!0,requiresAdmin:!0}},{path:"/admin/ai-usage",name:"AiUsageDashboard",component:()=>o(()=>import("./AiUsageDashboard-Bkx76J2W.js"),__vite__mapDeps([252,78,253])),meta:{requiresAuth:!0,requiresAdmin:!0}},{path:"/edit-animal/:animalId",name:"EditAnimalPage",component:()=>o(()=>import("./EditPleaPage-BWGLP1fI.js"),__vite__mapDeps([254,255])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/notifications",name:"NotificationPage",component:()=>o(()=>import("./NotificationPage-Dv0b_a8W.js"),__vite__mapDeps([256,77,139,140,257])),meta:{requiresAuth:!0}},{path:"/notification",redirect:"/notifications"},{path:"/scheduling",name:"SchedulingDashboard",component:()=>o(()=>import("./AppointmentDashboard-BgRAcoBY.js"),__vite__mapDeps([258,259,178,179,139,140,110,
2111,173,174,77,20,58,90,91,169,78,224,84,85,87,88,225,198,199,229,185,16,17,186,187,13,235,97,98,260])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/public-intake",name:"PublicIntakeDashboard",component:()=>o(()=>import("./PublicIntakePage-DGQ2G9qI.js"),__vite__mapDeps([261,139,140,30,31,90,91,112,13,220,262,195,16,17,49,235,168,263])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/public-intake/:id",name:"PublicIntakeSubmission",component:()=>o(()=>import("./PublicIntakeSubmissionPage-CMbZwZdF.js"),__vite__mapDeps([264,139,140,218,219,220,197,178,179,4,5,6,198,199,200,201,202,64,203,204,205,206,207,30,31,208,209,110,111,210,89,90,91,92,63,211,187,13,132,212,213,214,20,16,17,215,216,186,60,61,112,217,68,69,76,75,175,49,196,106,221,222,223,133,134,262,195,235,265])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/organization",name:"OrganizationDetailsPage",component:()=>o(()=>import("./OrganizationDetailsPage-BY8yXXa5.js"),__vite__mapDeps([266,90,91,157,16,17,20,61,267,268,5,69,76,269,206,192,270])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0,disallowSponsorStaff:!0}},{path:"/settings/billing",name:"BillingSettingsPage",component:()=>o(()=>import("./BillingPage-Bm4LEJi7.js"),__vite__mapDeps([271,205,206,207,78,272])),meta:{requiresAuth:!0,requiresCoordinator:!0,requiresOrgOwner:!0},beforeEnter:()=>!N4()||{path:"/organization"}},{path:"/team",name:"TeamPage",component:()=>o(()=>
2import("./TeamPage-DT_vTogg.js"),__vite__mapDeps([273,165,131,166,274,275,170,171,18,226,5,205,206,207,214,191,122,267,21,276])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0,disallowSponsorStaff:!0,requiresOrgOwner:!0}},{path:"/settings/org-shape",name:"OrgShapePage",component:()=>o(()=>import("./OrgShapePage-CC5hDeOX.js"),__vite__mapDeps([277,110,111,170,171,4,5,6,221,222,78,20,14,278])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/animal-types",redirect:"/settings/org-shape"},{path:"/animal-records",name:"AnimalRecordsPage",component:()=>o(()=>import("./AnimalRecordsPage-Bh8EtC3W.js"),__vite__mapDeps([279,139,140,30,31,280,67,68,63,64,69,281,110,111,224,84,85,87,88,225,78,269,267,282])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0,disallowSponsorStaff:!0}},{path:"/all-animals",name:"AllAnimalsPage",component:()=>o(()=>import("./AllAnimalsPage-DcVyBQaE.js"),__vite__mapDeps([283,58,284,159,78,285,280,67,68,63,64,69,281,59,60,61,62,163,98,97,30,31,139,140,110,111,224,84,85,87,88,225,70,73,185,16,17,186,187,13,196,49,112,90,91,235,286])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/signin",name:"SignIn",component:()=>o(()=>import("./SignInPage-B-I2aEAM.js"),__vite__mapDeps([287,15,4,5,6,11,12,22,288]))},{path:"/resume-signup",name:"ResumeSignup",component:()=>o(()=>import("./ResumeSignupPage-DB0ByG_H.js"),__vite__mapDeps([289,22,4,5,6,15,290])),meta:{requiresAuth:!0}},{path:"/pending-verification",name:"PendingVerification",component:()=>o(()=>import("./PendingVerificationPage-DK2xpoaW.js"),__vite__mapDeps([291,259,292])),meta:{requiresAuth:!0}},{path:"/pending-application",name:"PendingApplication",component:()=>o(()=>import("./PendingVerificationPage-DK2xpoaW.js"),__vite__mapDeps([291,259,292])),meta:{requiresAuth:!0}},{path:"/signup/organization",name:"OrganizationSignUp",component:()=>o(()=>import("./VerificationRequestPage-BWiS_hRQ.js"),__vite__mapDeps([293,57,259,4,5,6,110,111,7,8,20,267,19,15,17,294])),beforeEnter:()=>!X4()||{path:"/signin"}},{path:"/coordinator/signup/step-1",name:"SignUpStep1",component:()=>o(()=>import("./SignUpFlow_1-BZQiebS3.js"),__vite__mapDeps([295,14,110,111,20,296])),meta:{requiresAuth:!0,requiresOrgOwner:!0,disallowSponsorStaff:!0},beforeEnter:()=>!X4()||{path:"/signin"}},{path:"/coordinator/signup/step-2",name:"SignUpStep2",component:()=>o(()=>import("./SignUpFlow_2-BhXCoDe7.js"),__vite__mapDeps([297,4,5,6,61,267,20,268,298])),meta:{requiresAuth:!0,requiresOrgOwner:!0,disallowSponsorStaff:!0},beforeEnter:()=>!X4()||{path:"/signin"}},{path:"/coordinator/signup/step-3",name:"SignUpStep3",component:()=>o(()=>import("./SignUpFlow_3-D-Z5c5v8.js"),__vite__mapDeps([299,110,111,205,206,207,178,179,20,300])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0},beforeEnter:()=>!X4()||{path:"/signin"}},{path:"/forgot-password",name:"ForgotPasswordPage",component:()=>o(()=>import("./ForgotPasswordPage-1vgHAFI_.js"),__vite__mapDeps([301,302,4,5,6,22,303]))},{path:"/verification-otp",name:"VerificationPage",component:()=>o(()=>import("./VerificationPage-B3i0vYQK.js"),__vite__mapDeps([304,302,22,305]))},{path:"/new-password",name:"NewPasswordPage",component:()=>o(()=>import("./NewPasswordPage-DZ53K-Lu.js"),__vite__mapDeps([306,302,22,307]))},{path:"/onboarding",component:()=>o(()=>import("./OnboardingPage_1-CYwlLfT4.js"),__vite__mapDeps([308,309])),props:e=>({userType:e.query.userType||"volunteer"})},{path:"/onboarding/2",component:()=>o(()=>import("./OnboardingPage_2-BL8E9MSB.js"),__vite__mapDeps([310,311])),props:e=>({userType:e.query.userType||"volunteer"})},{path:"/onboarding/3",component:()=>o(()=>import("./OnboardingPage_3-CX61dDVk.js"),__vite__mapDeps([312,313])),props:e=>({userType:e.query.userType||"volunteer"})},{path:"/coordinator/profile",name:"CoordinatorProfilePage",component:()=>o(()=>import("./EditProfilePage-D3WAu6x5.js"),__vite__mapDeps([314,4,5,6,202,64,203,9,10,143,84,85,144,76,229,20,315])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/profile",redirect:"/coordinator/profile"},{path:"/foster/profile",name:"FosterProfileEditPage",component:()=>o(()=>import("./FosterEditProfilePage-CRt0KsD5.js"),__vite__mapDeps([316,202,64,203,4,5,6,9,10,76,16,17,20,49,188,13,234,317])),meta:{requiresAuth:!0,requiresFoster:!0}}
2,{path:"/settings/change-password",name:"ChangePasswordPage",component:()=>o(()=>import("./ChangePasswordPage-BqQuxAwC.js"),__vite__mapDeps([318,4,5,6,319])),meta:{requiresAuth:!0}},{path:"/notification-preferences",name:"NotificationPreferencesPage",component:()=>o(()=>import("./NotificationPreferencesPage-CNtNEWKg.js"),__vite__mapDeps([320,214,205,206,207,16,17,229,208,209,9,5,10,321,322])),meta:{requiresAuth:!0}},{path:"/messages",name:"MessagesPage",component:()=>o(()=>import("./MessagesPage-DWvSwUuN.js"),__vite__mapDeps([323,121,122,78,87,88,89,90,91,92,123,68,63,64,69,124,58,125,126,127,30,31,210,211,187,13,132,212,324,185,16,17,186,139,140,224,84,85,225,119,120,325])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/assistant",name:"CoordinatorAssistantPage",component:()=>o(()=>import("./CoordinatorAssistantPage-DALeRwVv.js"),__vite__mapDeps([326,130,131,124,58,125,68,63,64,69,60,61,90,91,16,17,132,133,134,135,136,76,78,137])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/foster-directory",name:"FosterDirectoryPage",component:()=>o(()=>import("./FosterDirectoryPage-DgcEB9mW.js"),__vite__mapDeps([327,16,17,139,140,30,31,224,84,85,87,88,225,90,91,132,328])),meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/message/:id",name:"MessageThreadPage",component:()=>o(()=>import("./FosterMessagePage-hvqcWJOu.js"),__vite__mapDeps([329,135,136,89,90,91,92,123,68,63,64,69,124,58,125,126,183,184,133,134,76,120,119,167,78,330])),props:!0,meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/animal/:id",name:"AnimalProfile",component:()=>o(()=>import("./AnimalProfilePage-CxEXx7R4.js").then(e=>e.A),__vite__mapDeps([331,280,67,68,63,64,69,281,163,60,61,98,97,78,187,13,284,159,285,162,76,75,164,58,100,101,81,82,165,131,166,89,90,91,92,74,167,168,77,169,170,171,172,30,31,210,211,132,212,324,16,17,332,218,219,4,5,6,333,334,110,111,149,150,20,335,221,222,204,205,206,207,208,209,213,214,215,216,186,112,217,198,199,336,337,178,179,133,134,224,84,85,87,88,225,195,185,122,59,62,338])),props:!0,meta:{requiresAuth:!0,requiresStaffOrCoordinator:!0}},{path:"/action-sheet",name:"ActionSheet",component:()=>o(()=>import("./ActionSheetExample-BKugxr9C.js"),__vite__mapDeps([339,340]))},{path:"/dev/scheduling-demo",name:"SchedulingDemo",component:()=>o(()=>import("./SchedulingDemo-CT2mPogu.js"),__vite__mapDeps([341,98,342]))},{path:"/:pathMatch(.*)*",redirect:"/signin"}],Z4=(e=>{const t=Object.assign({},e);delete t.tabsPrefix;const n=ek(t),i=((e,t)=>{let n={direction:void 0,action:void 0,delta:void 0};t.afterEach((t,i,o)=>{if(o)return;const{direction:r,action:a,delta:l}=n;s=e.history.state.position;const c=e.history.state.replaced?"replace":void 0;d(t,a||c,r,l),n={direction:void 0,action:void 0,delta:void 0}});const i=(()=>{const e=[],t={},n=t=>{const n=r(t.tab);let i;if(n){for(i=n[n.length-1];i&&i.id!==t.id;)n.pop(),i=n[n.length-1];n.pop(),n.push(t)}for(i=e[e.length-1];i&&i.id!==t.id;)e.pop(),i=e[e.length-1];e.pop(),e.push(t)},i=t=>{const n=r(t.tab);n&&(n[n.length-1]&&n[n.length-1].id===t.id&&n.pop(),n.push(t)),e.push(t)},o=n=>{if(n){const{position:i,tab:o}=n,r=e.findIndex(e=>e.position===i);if(-1===r)return;e.splice(r);const a=e=>{const n=t[e].findIndex(e=>e.position===i);-1!==n&&t[e].splice(n)},s=t[o];if(o&&s)a(o);else for(const e in t)a(e)}else{for(const e in t)t[e]=[];e.length=0}},r=e=>{let n;return e&&(n=t[e],n||(n=t[e]=[])),n},a=()=>e[e.length-1];return{current:(t,n)=>e[n-t]||a(),size:()=>e.length,last:a,add:e=>{"pop"===e.routerAction?n(e):i(e),"root"===e.routerDirection&&(o(),i(e))},canGoBack:(e=1,t,n)=>n-e>=t,update:n=>{const i=e.findIndex(e=>e.id===n.id);i>-1&&e.splice(i,1,n);const o=t[n.tab||""];if(o){const e=o.findIndex(e=>e.id===n.id);e>-1?o.splice(e,1,n):o.push(n)}else n.tab&&(t[n.tab]=[n])},getFirstRouteInfoForTab:e=>{const t=r(e);if(t)return t[0]},getCurrentRouteInfoForTab:e=>{const t=r(e);if(t)return t[t.length-1]},findLastLocation:(t,n=-1)=>{const i=r(t.tab);if(i){if(n<-1)return i[i.length-1+n];for(let e=i.length-2;e>=0;e--){const n=i[e];if(n&&n.pathname===t.pushedByRoute)return n}}for(let o=e.length-2;o>=0;o--){const i=e[o];if(i&&i.pathname===t.pushedByRoute)return e[o+1+n]}},clearHistory:o}})();let o,r,a=e.history.state.position,s=e.history.state.position;const l=[];"undefined"!=typeof document&&document.addEventListener("ionBackButton",t=>{t.detail.register(0,t=>{e.history.go(-1),t()})}),e.history.listen((e,t,i)=>{n={delta:i.delta,action:"pop"===i.type&&i.delta>=1?"push":i.type,direction:""===i.direction?"forward":i.direction}});const c=(e,n,i,o,r)=>{u(n,i,o,r),"push"===n?t.push(e):t.replace(e)},d=(e,t,n,c)=>{let d;if(r)if("replace"===r.routerAction)d=i.current(a,s);else if("pop"===r.routerAction)d=i.current(a,s+1),"replace"===t&&i.clearHistory();else{const e="root"===r.routerDirection?s:s-1;d=i.current(a,e)}else d=o;if(d||(d={pathname:"",search:""}),d.pathname+d.search!==e.fullPath){if(!r){if("replace"===t)r={routerAction:"replace",routerDirection:"none"};else if("pop"===t){const e=i.current(a,s-c);if(e&&e.pushedByRoute){const t=i.findLastLocation(e,c);r=Object.assign(Object.assign({},t),{routerAction:"pop",routerDirection:"back"})}else r={routerAction:"pop",routerDirection:"none"}}r||(r={routerAction:"push",routerDirection:n||"forward"})}let l;if(null==r?void 0:r.id)l=Object.assign(Object.assign({},r),{lastPathname:d.pathname});else{const t="push"===r.routerAction&&"forward"===r.routerDirection;if(l=Object.assign(Object.assign({id:D4("routeInfo")},r),{lastPathname:d.pathname,pathname:e.path,search:e.fullPath&&e.fullPath.split("?")[1]||"",params:e.params&&e.params,prevRouteLastPathname:d.lastPathname}),t)l.pushedByRoute=""!==d.pathname?d.pathname:void 0;else if("pop"===l.routerAction){const e=i.findLastLocation(l);l.pushedByRoute=null==e?void 0:e.pushedByRoute}else if("push"===l.routerAction&&l.tab!==d.tab){const e=i.getCurrentRouteInfoForTab(l.tab);l.pushedByRoute=null==e?void 0:e.pushedByRoute}else if("replace"===l.routerAction){const e=i.current(a,s),t=null==e?void 0:e.pushedByRoute,n=void 0!==t&&t!==l.pathname?t:l.pushedByRoute;l.lastPathname=(null==e?void 0:e.pathname)||l.lastPathname,l.pushedByRoute=n,l.routerDirection=(null==e?void 0:e.routerDirection)||l.routerDirection,l.routerAnimation=(null==e?void 0:e.routerAnimation)||l.routerAnimation,l.prevRouteLastPathname=null==e?void 0:e.lastPathname}}l.position=s,l.delta=c;const u=i.size(),p=s-a;u>p||u===p&&u>0&&"replace"===t?"push"!==l.routerAction&&"replace"!==l.routerAction||void 0!==c||(i.clearHistory(l),i.add(l)):i.add(l),1===i.size()&&(a=l.position),o=l}
2r=void 0,l.forEach(e=>e(o))},u=(e="push",t="forward",n,i)=>{r={routerAction:e,routerDirection:t,routerAnimation:n,tab:i}};return{handleNavigate:c,getLeavingRouteInfo:()=>i.current(a,s),handleNavigateBack:(e,n)=>{const o=i.current(a,s);if(o&&o.pushedByRoute){const a=i.findLastLocation(o);a?(r=Object.assign(Object.assign({},a),{routerAction:"pop",routerDirection:"back",routerAnimation:n||o.routerAnimation}),o.lastPathname===o.pushedByRoute||a.pathname===o.pushedByRoute&&!o.tab&&!a.tab?t.back():t.go(a.position-o.position)):c(e,"pop","back",n)}else c(e,"pop","back",n)},handleSetCurrentTab:e=>{const t=Object.assign({},i.current(a,s));t.tab!==e&&(t.tab=e,i.update(t));const n=i.findLastLocation(t);t.pushedByRoute!==t.lastPathname&&(null==n?void 0:n.tab)!==e&&(t.pushedByRoute=void 0,i.update(t))},getCurrentRouteInfo:()=>o,canGoBack:(e=1)=>i.canGoBack(e,a,s),navigate:e=>{const{routerAnimation:n,routerDirection:i,routerLink:o}=e;u("push",i,n),t.push(o)},resetTab:e=>{const n=i.getFirstRouteInfoForTab(e);n&&t.go(n.position-s)},changeTab:(e,n)=>{if(!n)return;const o=i.getCurrentRouteInfoForTab(e),a=n.indexOf("#"),s=a>=0?n.slice(0,a):n,l=a>=0&&a<n.length-1?n.slice(a):"",[d,u]=s.split("?"),p=u?"?".concat(u):"";if(o){r=Object.assign(Object.assign({},r),{routerAction:"push",routerDirection:"none",tab:e});const n=p||o.search,i=Object.assign({query:ux(n)},l?{hash:l}:{});o.pathname===d?t.push(Object.assign({path:o.pathname},i)):t.push(Object.assign({path:d},i))}else c(d+p+l,"push","none",void 0,e)},registerHistoryChangeListener:e=>{l.push(e)},goBack:e=>{u("pop","back",e),t.back()},goForward:e=>{u("push","forward",e),t.forward()}}})(e,n),o=(e=>{const t={},n=(e,t)=>t.find(t=>{if(t.pathname===e)return t}),i=(i,o,r=!1)=>{const a=t=>{if(r&&!t.ionRoute||""===i)return!1;const n=e.resolve(i).matched.find(e=>e===t.matchedRoute);return n?(!n.path.includes(":")||i===t.pathname)&&t:void 0};if(o){const r=t[o];if(!r)return;const s=e?r.find(a):n(i,r);if(s)return s}else for(const e in t){const o=t[e],r=n(i,o);if(r)return r}};return{unmountLeavingViews:(e,n,i=1)=>{const o=t[e];if(!o)return;const r=o.findIndex(e=>e===n);if(-1===r)return;const a=Math.min(o.length,r-i);for(let t=r+1;t<a;t++){const e=o[t];e.mount=!1,e.ionPageElement=void 0,e.ionRoute=!1,e.matchedRoute.instances={}}},mountIntermediaryViews:(e,n,i=1)=>{const o=t[e];if(!o)return;const r=o.findIndex(e=>e===n);if(-1===r)return;const a=Math.min(o.length,r+i);for(let t=r+1;t<a;t++)o[t].mount=!0},clear:e=>{delete t[e]},findViewItemByRouteInfo:(e,t)=>i(e.pathname,t,!1),findLeavingViewItemByRouteInfo:(e,t,n=!0)=>i(e.lastPathname,t,n),findViewItemByPathname:(e,t)=>i(e,t,!1),createViewItem:(e,t,n,i,o)=>({id:D4("viewItem"),pathname:i.pathname,outletId:e,matchedRoute:n,ionPageElement:o,vueComponent:t,vueComponentRef:Tt(),ionRoute:!1,mount:!1,exact:i.pathname===n.path,params:i.params,vueComponentData:{}}),getChildrenToRender:e=>t[e]?t[e].filter(e=>e.mount):[],add:e=>{const{outletId:n}=e;t[n]?t[n].push(e):t[n]=[e]},remove:(e,n)=>{if(!n)throw Error("outletId required");const i=t[n];i&&(t[n]=i.filter(t=>t.id!==e.id))},registerIonPage:(e,t)=>{e.ionPageElement=t,e.ionRoute=!0,e.matchedRoute.instances={default:e.vueComponentRef.value}},getViewStack:e=>t[e],size:()=>Object.keys(t).length}})(n),r=n.install.bind(n);n.install=e=>{e.provide("navManager",i),e.provide("viewStacks",o),r(e)};const a=n.isReady.bind(n);return n.isReady=()=>a(),n})({history:(Q4="/",Cx(Q4)),routes:J4});var Q4;Z4.beforeEach(async e=>{var t,n,i,o,r,a,s,l,c,d,u,p,h,m,f,g,b,v,y,w,x,k;if(q1.value){if("/signin"===e.path)return!0;if(null==(t=e.meta)?void 0:t.requiresAuth)return{path:"/signin",replace:!0}}const _="/signin"===e.path,E="/"===e.path;if(Boolean(null==(n=e.meta)?void 0:n.requiresAuth))try{await C0()}catch(T8){return{path:"/signin",query:{redirect:e.fullPath}}}const S=E0(),C=!!(null==h0?void 0:h0.currentUser)||Boolean(null==S?void 0:S.isAuthenticated),T=await wC.get("currentUser"),I="undefined"!=typeof window&&Boolean(window.Cypress)&&!C&&!!T,A=M4()&&!!T,P=C||I||A,O=P&&null!=(i=null!=T?T:null==S?void 0:S.currentUser)?i:null,R=aZ(O),L=!(!oZ(null==O?void 0:O.role)&&!(null==O?void 0:O.isAdmin)),D=(e=>{var t,n,i,o,r;if(!e)return!1;if(oZ(null==e?void 0:e.role)||(null==e?void 0:e.isAdmin))return!0;const a=null==(n=null==(t=null==e?void 0:e.staffProfile)?void 0:t.permissions)?void 0:n.roles;if(Array.isArray(a)&&O5(a))return!0;const s=null==(i=null==e?void 0:e.staffProfile)?void 0:i.id,l=null==(r=null==(o=null==e?void 0:e.staffProfile)?void 0:o.organization)?void 0:r.staff_id;return Boolean(s&&l&&s===l)})(O),N=Boolean(!0===(null==(o=null==O?void 0:O.staffProfile)?void 0:o.is_sponsor)||!0===(null==(r=null==O?void 0:O.staff)?void 0:r.is_sponsor)),M=(null==(a=null==O?void 0:O.staffProfile)?void 0:a.id)||(null==(s=null==O?void 0:O.staff)?void 0:s.id),z=(null==(c=null==(l=null==O?void 0:O.staffProfile)?void 0:l.organization)?void 0:c.staff_id
2)||(null==(u=null==(d=null==O?void 0:O.staff)?void 0:d.organization)?void 0:u.staff_id),j=Boolean(M&&z&&String(M)===String(z)),B=!1===(null==(p=e.meta)?void 0:p.requiresAuth);if(P&&!O&&"/resume-signup"!==e.path&&(E||_||(null==(h=e.meta)?void 0:h.requiresAuth)))return{path:"/resume-signup"};if((E||_)&&P&&O)return{path:K4(O)};if(P){const t=null==(m=null==O?void 0:O.staffProfile)?void 0:m.organization;if(!1===(null==t?void 0:t.verified)&&"/pending-verification"!==e.path)return{path:"/pending-verification"};if(!X4()&&W4(O)&&!U4.includes(e.path))return{path:$4(O)};if(!X4()&&!W4(O)&&G4(O)&&e.path!==q4)return{path:q4};if("pending"===(null==(f=null==O?void 0:O.fosterProfile)?void 0:f.status)){const t="/pending-application";if(B||e.path===t)return;return{path:t}}const n=(e=>{var t;const n=null==e?void 0:e.fosterProfile;if(!n||n.onboarding_completed)return null;const i=Array.isArray(n.languagesSpoken)?n.languagesSpoken:[],o="boolean"==typeof n.has_pets,r=!0!==n.has_pets||Y4(n.existing_pets_description),a=!Y4(n.phone)||Boolean(n.sms_consented_at||n.sms_consent_method);if(!Boolean(n.age_range&&n.preferredContactMethod&&n.housing_status&&i.length>0&&o&&r&&a))return"/foster/onboarding/1";const s=Array.isArray(n.capabilities)?n.capabilities:[],l=Array.isArray(null==(t=n.happyToFoster)?void 0:t.foster_types)?n.happyToFoster.foster_types:Array.isArray(n.foster_types)?n.foster_types:[],c=s.length>0||l.length>0,d=n.kitten_care_plans||{};return Boolean(c&&Y4(d.day_location)&&Y4(d.sleep_location)&&Y4(d.time_with_kittens_daily)&&Y4(d.alone_time_hours))?("boolean"==typeof n.comfortable_giving_meds&&("boolean"==typeof n.can_transport||"boolean"==typeof n.can_bring_in)&&"boolean"==typeof n.can_isolate&&Y4(n.has_fostered_before),"/foster/onboarding/3"):"/foster/onboarding/2"})(O);if(n&&e.path!==n)return{path:n};if((null==(g=e.meta)?void 0:g.requiresAdmin)&&!(null==O?void 0:O.isAdmin))return{path:"/home"}}else if(null==(b=e.meta)?void 0:b.requiresAuth)return{path:"/signin",query:{redirect:e.fullPath}};if((null==(v=e.meta)?void 0:v.requiresFoster)&&!R)return{path:"/home"};if((null==(y=e.meta)?void 0:y.requiresStaffOrCoordinator)&&!L){if(R){const t=e.params.id;return t?{path:"/foster/animal/".concat(t)}:{path:"/foster/home"}}return{path:"/signin",query:{redirect:e.fullPath}}}return(null==(w=e.meta)?void 0:w.requiresCoordinator)&&!D?R?{path:"/foster/home"}:P?{path:"/home"}:{path:"/signin",query:{redirect:e.fullPath}}:(null==(x=e.meta)?void 0:x.disallowSponsorStaff)&&N?P?{path:"/home"}:{path:"/signin",query:{redirect:e.fullPath}}:!((null==(k=e.meta)?void 0:k.requiresOrgOwner)&&!j)||(P?{path:"/home"}:{path:"/signin",query:{redirect:e.fullPath}})}),Z4.afterEach(e=>{(e=>{if(xZ+=1,!as.isNativePlatform()&&1===xZ)return;const t="undefined"!=typeof window&&window.location?window.location.href:e;wZ("$pageview",{$current_url:t,$pathname:e})})(e.fullPath)});const e6=Object.freeze(Object.defineProperty({__proto__:null,default:Z4},Symbol.toStringTag,{value:"Module"}));let t6=!1,n6=null;const i6="Idempotency-Key",o6=new Set(["post","put","patch","delete"]);let r6=!1;const a6=()=>{if("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID)return crypto.randomUUID();const e=new Uint8Array(16);crypto.getRandomValues(e),e[6]=15&e[6]|64,e[8]=63&e[8]|128;const t=Array.from(e,e=>e.toString(16).padStart(2,"0")).join("");return"".concat(t.slice(0,8),"-").concat(t.slice(8,12),"-").concat(t.slice(12,16),"-").concat(t.slice(16,20),"-").concat(t.slice(20))},s6="pawsitive:vite-preload-recovery";let l6=0;const c6=[/failed to fetch dynamically imported module/i,/error loading dynamically imported module/i,/importing a module script failed/i,/failed to load module script/i,/^load failed$/i,/network error/i,/unable to preload/i,/valid javascript mime type/i,/expected a javascript-or-wasm module script/i,/couldn't resolve component/i],d6=e=>e instanceof Error||e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message?e.message:String(e||""),u6=e=>{const t=d6(e);return c6.some(e=>e.test(t))},p6=(e,t={},n)=>{var i,o,r,a,s,l;const c=null!=(i=t.window)?i:"undefined"!=typeof window?window:void 0,d=null!=(o=t.storage)?o:null==c?void 0:c.sessionStorage,u=null!=(a=null==(r=t.now)?void 0:r.call(t))?a:Date.now(),p=null!=(s=t.cooldownMs)?s:6e4,h=(e=>{if(!e)return l6;try{const t=e.getItem(s6);if(!t)return l6;const n=JSON.parse(t);return"number"==typeof n.at&&Number.isFinite(n.at)?n.at:l6}catch(T8){return l6}})(d);if(h>0&&u-h<p)return!1;null==n||n();
2((e,t,n)=>{if(l6=t,e)try{e.setItem(s6,JSON.stringify({at:t,message:n}))}catch(T8){}})(d,u,d6(e));return(null!=(l=t.reload)?l:()=>null==c?void 0:c.location.reload())(),!0},h6=(e,t={})=>!!u6(e)&&p6(e,t),m6="pawsitive:vue-renderer-recovery";let f6=null;const g6="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"runtime-".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,8)),b6=e=>/emitsoptions/i.test((e=>{if(e instanceof Error)return e.message;if(e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message)return e.message;try{return String(null!=e?e:"")}catch(T8){return""}})(e)),v6=()=>{if("undefined"!=typeof window)try{return window.sessionStorage}catch(T8){return}},y6=e=>{if(!e)return f6;try{const t=e.getItem(m6);if(!t)return null;const n=JSON.parse(t);return"number"!=typeof n.attemptedAt||"string"!=typeof n.incidentId||"pending"!==n.status&&"recovered"!==n.status?null:{attemptRuntimeId:"string"==typeof n.attemptRuntimeId?n.attemptRuntimeId:void 0,attemptedAt:n.attemptedAt,failureReported:!0===n.failureReported,incidentId:n.incidentId,recoveredAt:"number"==typeof n.recoveredAt?n.recoveredAt:void 0,status:n.status}}catch(T8){return f6}},w6=(e,t)=>{if(e)try{e.setItem(m6,JSON.stringify(t))}catch(T8){f6=t}else f6=t},x6=e=>"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"renderer-".concat(e.toString(36),"-").concat(Math.random().toString(36).slice(2,8)),k6="__capgo_history_stack__";if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof history){const e=window;if(!e.__capgoHistoryPatched){e.__capgoHistoryPatched=!0;const t=()=>{try{if(e.__capgoKeepUrlPathAfterReload)return!0}catch(H9){}try{return"1"===window.localStorage.getItem("__capgo_keep_url_path_after_reload")}catch(H9){return!1}},n=()=>{try{const e=window.sessionStorage.getItem(k6);if(!e)return{stack:[],index:-1};const t=JSON.parse(e);return t&&Array.isArray(t.stack)&&"number"==typeof t.index?t:{stack:[],index:-1}}catch(H9){return{stack:[],index:-1}}},i=(e,t)=>{try{window.sessionStorage.setItem(k6,JSON.stringify({stack:e,index:t}))}catch(H9){}},o=()=>{try{window.sessionStorage.removeItem(k6)}catch(H9){}},r=e=>{try{const t=null!=e?e:window.location.href,n=new URL(t instanceof URL?t.toString():t,window.location.href);return"".concat(n.pathname).concat(n.search).concat(n.hash)}catch(H9){return null}},a=(e,t)=>{if(e.length<=100)return{stack:e,index:t};const n=e.length-100;return{stack:e.slice(n),index:Math.max(0,t-n)}},s=e=>{"complete"===document.readyState||"interactive"===document.readyState?e():window.addEventListener("DOMContentLoaded",e,{once:!0})};let l=!1,c=!1,d=!1;const u=()=>{if(!l)return;const e=n(),t=r();if(t){if(0===e.stack.length)return e.stack.push(t),e.index=0,void i(e.stack,e.index);(e.index<0||e.index>=e.stack.length)&&(e.index=e.stack.length-1),e.stack[e.index]!==t&&(e.stack[e.index]=t,i(e.stack,e.index))}},p=(e,t)=>{if(!l||c)return;const o=r(e);if(!o)return;let{stack:s,index:d}=n();0===s.length?(s.push(o),d=s.length-1):t?((d<0||d>=s.length)&&(d=s.length-1),s[d]=o):d>=s.length-1?(s.push(o),d=s.length-1):(s=s.slice(0,d+1),s.push(o),d=s.length-1),({stack:s,index:d}=a(s,d)),i(s,d)},h=()=>{if(!l||c)return;const e=n();if(0===e.stack.length)return void u();const t=e.index>=0&&e.index<e.stack.length?e.index:e.stack.length-1,i=r();if(1===e.stack.length&&i===e.stack[0])return;const o=e.stack[0];if(!o)return;c=!0;try{history.replaceState(history.state,document.title,o);for(let t=1;t<e.stack.length;t+=1)history.pushState(history.state,document.title,e.stack[t])}catch(H9){return void(c=!1)}c=!1;const a=t-(e.stack.length-1);0!==a?history.go(a):(history.replaceState(history.state,document.title,e.stack[t]),window.dispatchEvent(new PopStateEvent("popstate")))},m=()=>{l&&!d&&(d=!0,s(()=>{d=!1,h()}))};let f=null,g=null;const b=()=>{if(!l||c)return;const e=r();if(!e)return;const t=n(),o=t.stack.lastIndexOf(e);o>=0?t.index=o:(t.stack.push(e),t.index=t.stack.length-1);const s=a(t.stack,t.index);i(s.stack,s.index)},v=()=>{f&&g||(f=history.pushState,g=history.replaceState,history.pushState=function(e,t,n){const i=null==f?void 0:f.call(history,e,t,n);return p(n,!1),i},history.replaceState=function(e,t,n){const i=null==g?void 0:g.call(history,e,t,n);return p(n,!0),i},window.addEventListener("popstate",b))},y=()=>{f&&(history.pushState=f,f=null),g&&(history.replaceState=g,g=null),window.removeEventListener("popstate",b)},w=e=>{l!==e?(l=e,l?(v(),u(),m()):(y(),o())):l&&(u(),m())};
2window.addEventListener("CapacitorUpdaterKeepUrlPathAfterReload",t=>{var n;const i=t,o=null===(n=null==i?void 0:i.detail)||void 0===n?void 0:n.enabled;"boolean"==typeof o?(e.__capgoKeepUrlPathAfterReload=o,w(o)):(e.__capgoKeepUrlPathAfterReload=!0,w(!0))}),w(t())}}var _6,E6,S6,C6,T6,I6;(E6=_6||(_6={}))[E6.UNKNOWN=0]="UNKNOWN",E6[E6.UPDATE_NOT_AVAILABLE=1]="UPDATE_NOT_AVAILABLE",E6[E6.UPDATE_AVAILABLE=2]="UPDATE_AVAILABLE",E6[E6.UPDATE_IN_PROGRESS=3]="UPDATE_IN_PROGRESS",(C6=S6||(S6={}))[C6.UNKNOWN=0]="UNKNOWN",C6[C6.PENDING=1]="PENDING",C6[C6.DOWNLOADING=2]="DOWNLOADING",C6[C6.INSTALLING=3]="INSTALLING",C6[C6.INSTALLED=4]="INSTALLED",C6[C6.FAILED=5]="FAILED",C6[C6.CANCELED=6]="CANCELED",C6[C6.DOWNLOADED=11]="DOWNLOADED",(I6=T6||(T6={}))[I6.OK=0]="OK",I6[I6.CANCELED=1]="CANCELED",I6[I6.FAILED=2]="FAILED",I6[I6.NOT_AVAILABLE=3]="NOT_AVAILABLE",I6[I6.NOT_ALLOWED=4]="NOT_ALLOWED",I6[I6.INFO_MISSING=5]="INFO_MISSING";const A6=ss("CapacitorUpdater",{web:()=>o(()=>import("./web-D9czlN9f.js"),[]).then(e=>new e.CapacitorUpdaterWeb)}),P6=Object.freeze(Object.defineProperty({__proto__:null,get AppUpdateAvailability(){return _6},get AppUpdateResultCode(){return T6},CapacitorUpdater:A6,get FlexibleUpdateInstallStatus(){return S6}},Symbol.toStringTag,{value:"Module"}));function O6(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function R6(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:O6(t[n])&&O6(e[n])&&Object.keys(t[n]).length>0&&R6(e[n],t[n])})}const L6={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function D6(){const e="undefined"!=typeof document?document:{};return R6(e,L6),e}const N6={document:L6,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function M6(){const e="undefined"!=typeof window?window:{};return R6(e,N6),e}function z6(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function j6(e,t=0){return setTimeout(e,t)}function B6(){return Date.now()}function F6(e,t="x"){const n=M6();let i,o,r;const a=function(e){const t=M6();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new n.WebKitCSSMatrix("none"===o?"":o)):(r=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===t&&(o=n.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(o=n.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),o||0}function V6(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function U6(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function q6(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const i=e[n];if(null!=i&&!U6(i)){const e=Object.keys(Object(i)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,o=e.length;n<o;n+=1){const o=e[n],r=Object.getOwnPropertyDescriptor(i,o);void 0!==r&&r.enumerable&&(V6(t[o])&&V6(i[o])?i[o].__swiper__?t[o]=i[o]:q6(t[o],i[o]):!V6(t[o])&&V6(i[o])?(t[o]={},i[o].__swiper__?t[o]=i[o]:q6(t[o],i[o])):t[o]=i[o])}}}return t}function H6(e,t,n){e.style.setProperty(t,n)}function W6({swiper:e,targetPosition:t,side:n}){const i=M6(),o=-e.translate;let r,a=null;const s=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=t>o?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,d=()=>{r=(new Date).getTime(),null===a&&(a=r);
vendor: 18,883 bytes, line 2
2const l=Math.max(Math.min((r-a)/s,1),0),u=.5-Math.cos(l*Math.PI)/2;let p=o+u*(t-o);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})}),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function G6(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function $6(e,t=""){const n=M6(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function Y6(e){try{return}catch(H9){}}function X6(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:z6(t)),n}function K6(e){const t=M6(),n=D6(),i=e.getBoundingClientRect(),o=n.body,r=e.clientTop||o.clientTop||0,a=e.clientLeft||o.clientLeft||0,s=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+s-r,left:i.left+l-a}}function J6(e,t){return M6().getComputedStyle(e,null).getPropertyValue(t)}function Z6(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function Q6(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function e3(e,t){t&&e.addEventListener("transitionend",function n(i){i.target===e&&(t.call(e,i),e.removeEventListener("transitionend",n))})}function t3(e,t,n){const i=M6();return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom"))}function n3(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function i3(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function o3(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let r3,a3,s3;function l3(){return r3||(r3=function(){const e=M6(),t=D6();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),r3}function c3(e={}){return a3||(a3=function({userAgent:e}={}){const t=l3(),n=M6(),i=n.navigator.platform,o=e||n.navigator.userAgent,r={ios:!1,android:!1},a=n.screen.width,s=n.screen.height,l=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i;let h="MacIntel"===i;return!c&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(a,"x").concat(s))>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),l&&!p&&(r.os="android",r.android=!0),(c||u||d)&&(r.os="ios",r.ios=!0),r}(e)),a3}function d3(){return s3||(s3=function(){const e=M6(),t=c3();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=i();return{isSafari:n||r,needPerspectiveFix:n,need3dFix:r||o&&t.ios,isWebView:o}}()),s3}const u3=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const p3=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const h3=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(n){let t=n.querySelector(".".concat(e.params.lazyPreloaderClass));!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)),t&&!t.lazyPreloaderManaged&&t.remove())})),t&&!t.lazyPreloaderManaged&&t.remove()}},m3=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},f3=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=o,r=[n-t];return r.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{r.includes(t.column)&&m3(e,n)})}const r=o+i-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=r+t;a+=1){const t=(a%n+n)%n;(t<o||t>r)&&m3(e,t)}else for(let a=Math.max(o-t,0);a<=Math.min(r+t,n-1);a+=1)a!==o&&(a>r||a<o)&&m3(e,a)};var g3={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:i,wrapperEl:o}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let r=F6(o,e);return r+=this.cssOverflowAdjustment(),n&&(r=-r),r||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:o,wrapperEl:r,progress:a}=n;let s,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,o.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,o.cssMode?r[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:o.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),r.style.transform="translate3d(".concat(l,"px, ").concat(c,"px, ").concat(0,"px)"));const d=n.maxTranslate()-n.minTranslate();s=0===d?0:(e-n.minTranslate())/d,s!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,o){const r=this,{params:a,wrapperEl:s}=r;if(r.animating&&a.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let d;if(d=i&&e>l?l:i&&e<c?c:e,r.updateProgress(d),a.cssMode){const e=r.isHorizontal();if(0===t)s[e?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return W6({swiper:r,targetPosition:-d,side:e?"left":"top"}),!0;s.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,o),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,n&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function b3({swiper:e,runCallbacks:t,direction:n,step:i}){const{activeIndex:o,previousIndex:r}=e;let a=n;a||(a=o>r?"next":o<r?"prev":"reset"),e.emit("transition".concat(i)),t&&"reset"===a?e.emit("slideResetTransition".concat(i)):t&&o!==r&&(e.emit("slideChangeTransition".concat(i)),"next"===a?e.emit("slideNextTransition".concat(i)):e.emit("slidePrevTransition".concat(i)))}var v3={slideTo:function(e=0,t,n=!0,i,o){"string"==typeof e&&(e=parseInt(e,10));const r=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:m}=r;if(!m&&!i&&!o||r.destroyed||r.animating&&s.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const f=Math.min(r.params.slidesPerGroupSkip,a);let g=f+Math.floor((a-f)/r.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const b=-l[g];if(s.normalizeSlideIndex)for(let x=0;x<c.length;x+=1){const e=-Math.floor(100*b),t=Math.floor(100*c[x]),n=Math.floor(100*c[x+1]);void 0!==c[x+1]?e>=t&&e<n-(n-t)/2?a=x:e>=t&&e<n&&(a=x+1):e>=t&&(a=x)}if(r.initialized&&a!==u){if(!r.allowSlideNext&&(p?b>r.translate&&b>r.minTranslate():b<r.translate&&b<r.minTranslate()))return!1;if(!r.allowSlidePrev&&b>r.translate&&b>r.maxTranslate()&&(u||0)!==a)return!1}let v;a!==(d||0)&&n&&r.emit("beforeSlideChangeStart"),r.updateProgress(b),v=a>u?"next":a<u?"prev":"reset";const y=r.virtual&&r.params.virtual.enabled;if(!(y&&o)&&(p&&-b===r.translate||!p&&b===r.translate))return r.updateActiveIndex(a),s.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==s.effect&&r.setTranslate(b),"reset"!==v&&(r.transitionStart(n,v),r.transitionEnd(n,v)),!1;if(s.cssMode){const e=r.isHorizontal(),n=p?b:-b;if(0===t)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=n})):h[e?"scrollLeft":"scrollTop"]=n,y&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return W6({swiper:r,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const w=d3().isSafari;return y&&!o&&w&&r.isElement&&r.virtual.update(!1,!1,a),r.setTransition(t),r.setTranslate(b),r.updateActiveIndex(a),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,v),0===t?r.transitionEnd(n,v):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,v))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,i){if("string"==typeof e){e=parseInt(e,10)}const o=this;if(o.destroyed)return;void 0===t&&(t=o.params.speed);const r=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a+=o.virtual.slidesBefore;else{let e;if(r){const t=a*o.params.grid.rows;e=o.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=o.getSlideIndexByData(a);const t=r?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:n,slidesOffsetBefore:s,slidesOffsetAfter:l}=o.params,c=n||!!s||!!l;let d=o.params.slidesPerView;"auto"===d?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2==0&&(d+=1));let u=t-e<d;if(c&&(u=u||e<Math.ceil(d/2)),i&&c&&"auto"!==o.params.slidesPerView&&!r&&(u=!1),u){const n=c?e<o.activeIndex?"prev":"next":e-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?o.realIndex:void 0})}if(r){const e=a*o.params.grid.rows;a=o.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,t,n,i)}),o},slideNext:function(e,t=!0,n){const i=this,{enabled:o,params:r,animating:a}=i;if(!o||i.destroyed)return i;void 0===e&&(e=i.params.speed);let s=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(s=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<r.slidesPerGroupSkip?1:s,c=i.virtual&&r.virtual.enabled;if(r.loop){if(a&&!c&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t=!0,n){const i=this,{params:o,snapGrid:r,slidesGrid:a,rtlTranslate:s,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const d=i.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(s?i.translate:-i.translate),h=r.map(e=>u(e)),m=o.freeMode&&o.freeMode.enabled;let f=r[h.indexOf(p)-1];if(void 0===f&&(o.cssMode||m)){let e;r.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(f=m?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&(g=a.indexOf(f),g<0&&(g=i.activeIndex-1),"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(g=g-i.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),o.rewind&&i.isBeginning){const o=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(o,e,t,n)}return o.loop&&0===i.activeIndex&&o.cssMode?(requestAnimationFrame(()=>{i.slideTo(g,e,t,n)}),!0):i.slideTo(g,e,t,n)},slideReset:function(e,t=!0,n){const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,i=.5){const o=this;if(o.destroyed)return;void 0===e&&(e=o.params.speed);let r=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,r),s=a+Math.floor((r-a)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const e=o.snapGrid[s];l-e>(o.snapGrid[s+1]-e)*i&&(r+=o.params.slidesPerGroup)}else{const e=o.snapGrid[s-1];l-e<=(o.snapGrid[s]-e)*i&&(r-=o.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,o.slidesGrid.length-1),o.slideTo(r,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let o,r=e.getSlideIndexWhenGrid(e.clickedIndex);const a=e.isElement?"swiper-slide":".".concat(t.slideClass),s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(o):r>(s?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),r=e.getSlideIndex($6(n,"".concat(a,'[data-swiper-slide-index="').concat(o,'"]'))[0]),j6(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}};function y3(e,t,n){const i=M6(),{params:o}=e,r=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return!r||!(n<=a||n>=i.innerWidth-a)||"prevent"===r&&(t.preventDefault(),!0)}function w3(e){const t=this;if(t.destroyed)return;const n=D6();let i=e;i.originalEvent&&(i=i.originalEvent);const o=t.touchEventsData;if("pointerdown"===i.type){if(null!==o.pointerId&&o.pointerId!==i.pointerId)return;o.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(o.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void y3(t,i,i.targetTouches[0].pageX);const{params:r,touches:a,enabled:s}=t;if(!s)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=i.target;if("wrapper"===r.touchEventsTarget&&!function(e,t){const n=M6();let i=t.contains(e);!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return i}(l,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(o.isTouched&&o.isMoved)return;const c=!!r.noSwipingClass&&""!==r.noSwipingClass,d=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&d&&(l=d[0]);const u=r.noSwipingSelector?r.noSwipingSelector:".".concat(r.noSwipingClass),p=!(!i.target||!i.target.shadowRoot);if(r.noSwiping&&(p?function(e,t=this){return function t(n){if(!n||n===D6()||n===M6())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(r.swipeHandler&&!l.closest(r.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const h=a.currentX,m=a.currentY;if(!y3(t,i,h))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=m,o.touchStartTime=B6(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(o.allowThresholdMove=!1);let f=!0;l.matches(o.focusableElements)&&(f=!1,"SELECT"===l.nodeName&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(o.focusableElements))&&n.activeElement.blur();const g=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!g||l.isContentEditable||i.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function x3(e){const t=D6(),n=this;if(n.destroyed)return;const i=n.touchEventsData,{params:o,touches:r,rtlTranslate:a,enabled:s}=n;if(!s)return;if(!o.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===i.touchId),!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return r.startX=d,void(r.startY=u);if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=B6()));if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(u<r.startY&&n.translate<=n.maxTranslate()||u>r.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(a&&(d>r.startX&&-n.translate<=n.maxTranslate()||d<r.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(d<r.startX&&n.translate<=n.maxTranslate()||d>r.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=u;const p=r.currentX-r.startX,h=r.currentY-r.startY;
vendor: 3,534 bytes, line 2
2if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&r.currentY===r.startY||n.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?e>o.touchAngle:90-e>o.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!o.cssMode&&c.cancelable&&c.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&c.stopPropagation();let m=n.isHorizontal()?p:h,f=n.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;o.oneWayMovement&&(m=Math.abs(m)*(a?1:-1),f=Math.abs(f)*(a?1:-1)),r.diff=m,m*=o.touchRatio,a&&(m=-m,f=-f);const g=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=f>0?"prev":"next";const b=n.params.loop&&!o.cssMode,v="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(b&&v&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!o.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==o._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&g!==n.touchesDirection&&b&&v&&Math.abs(m)>=1)return Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let y=!0,w=o.resistanceRatio;if(o.touchReleaseOnEdges&&(w=0),m>0?(b&&v&&i.allowThresholdMove&&i.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(y=!1,o.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+m)**w))):m<0&&(b&&v&&i.allowThresholdMove&&i.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==o.slidesPerView&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===o.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(y=!1,o.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-m)**w))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),o.threshold>0){if(!(Math.abs(m)>o.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 13,902 bytes, line 2
2if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=n.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}o.followFinger&&!o.cssMode&&((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function k3(e){const t=this;if(t.destroyed)return;const n=t.touchEventsData;let i,o=e;o.originalEvent&&(o=o.originalEvent);if("touchend"===o.type||"touchcancel"===o.type){if(i=[...o.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(o.pointerId!==n.pointerId)return;i=o}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(o.type)){if(!(["pointercancel","contextmenu"].includes(o.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:r,touches:a,rtlTranslate:s,slidesGrid:l,enabled:c}=t;if(!c)return;if(!r.simulateTouch&&"mouse"===o.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",o),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=B6(),u=d-n.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target,e),t.emit("tap click",o),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(n.lastClickTime=B6(),j6(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===a.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=r.followFinger?s?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,f=t.slidesSizesGrid[0];for(let w=0;w<l.length;w+=w<r.slidesPerGroupSkip?1:r.slidesPerGroup){const e=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==l[w+e]?(h||p>=l[w]&&p<l[w+e])&&(m=w,f=l[w+e]-l[w]):(h||p>=l[w])&&(m=w,f=l[l.length-1]-l[l.length-2])}let g=null,b=null;r.rewind&&(t.isBeginning?b=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-l[m])/f,y=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(v>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?g:m+y):t.slideTo(m)),"prev"===t.swipeDirection&&(v>1-r.longSwipesRatio?t.slideTo(m+y):null!==b&&v<0&&Math.abs(v)>r.longSwipesRatio?t.slideTo(b):t.slideTo(m))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(m+y):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+y),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:m))}}function _3(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:o,snapGrid:r}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s)e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=a?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=o,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function E3(e){const t=this;t.destroyed||t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function S3(){const e=this;if(e.destroyed)return;const{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let o;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();o=0===r?0:(e.translate-e.minTranslate())/r,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function C3(e){const t=this;t.destroyed||(h3(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update())}function T3(){const e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const I3=(e,t)=>{const n=D6(),{params:i,el:o,wrapperEl:r,device:a}=e,s=!!i.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;o&&"string"!=typeof o&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&o[l]("click",e.onClick,!0),i.cssMode&&r[l]("scroll",e.onScroll),i.updateOnWindowResize?e[c](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",_3,!0):e[c]("observerUpdate",_3,!0),o[l]("load",e.onLoad,{capture:!0}))};const A3=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var P3={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:o}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const a=D6(),s="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:a.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,s,l);if(!c||e.currentBreakpoint===c)return;const d=(c in r?r[c]:void 0)||e.originalParams,u=A3(e,i),p=A3(e,d),h=e.params.grabCursor,m=d.grabCursor,f=i.enabled;u&&!p?(o.classList.remove("".concat(i.containerModifierClass,"grid"),"".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()):!u&&p&&(o.classList.add("".concat(i.containerModifierClass,"grid")),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&o.classList.add("".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()),h&&!m?e.unsetGrabCursor():!h&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===d[t])return;const n=i[t]&&i[t].enabled,o=d[t]&&d[t].enabled;n&&!o&&e[t].disable(),!n&&o&&e[t].enable()});const g=d.direction&&d.direction!==i.direction,b=i.loop&&(d.slidesPerView!==i.slidesPerView||g),v=i.loop;g&&n&&e.changeDirection(),q6(e.params,d);const y=e.params.enabled,w=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!y?e.disable():!f&&y&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!v&&w?(e.loopCreate(t),e.updateSlides()):v&&!w&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1;const o=M6(),r="window"===t?o.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let s=0;s<a.length;s+=1){const{point:e,value:r}=a[s];"window"===t?o.matchMedia("(min-width: ".concat(r,"px)")).matches&&(i=e):r<=n.clientWidth&&(i=e)}return i||"max"}};var O3={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function R3(e,t){return function(n={}){const i=Object.keys(n)[0],o=n[i];"object"==typeof o&&null!==o?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in o?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),q6(t,n)):q6(t,n)):q6(t,n)}}const L3={eventsEmitter:{on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const o=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][o](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function o(...n){i.off(e,o),o.__emitterProxy&&delete o.__emitterProxy,t.apply(i,n)}return o.__emitterProxy=t,i.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)})}),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,i,o;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),o=t):(n=e[0].events,i=e[0].data,o=e[0].context||t),i.unshift(o);return(Array.isArray(n)?n:n.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(o,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(o,i)})}),t}},update:{updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(J6(i,"padding-left")||0,10)-parseInt(J6(i,"padding-right")||0,10),n=n-parseInt(J6(i,"padding-top")||0,10)-parseInt(J6(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:o,rtlTranslate:r,wrongRTL:a}=e,s=e.virtual&&n.virtual.enabled,l=s?e.virtual.slides.length:e.slides.length,c=$6(o,".".concat(e.params.slideClass,", swiper-slide")),d=s?e.virtual.slides.length:c.length;let u=[];const p=[],h=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let f=n.slidesOffsetAfter;"function"==typeof f&&(f=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,b=e.slidesGrid.length,v=e.size-m-f;let y=n.spaceBetween,w=-m,x=0,k=0;if(void 0===v)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*v:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y-m-f,c.forEac
2h(e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(H6(i,"--swiper-centered-offset-before",""),H6(i,"--swiper-centered-offset-after","")),n.cssMode&&(H6(i,"--swiper-slides-offset-before","".concat(m,"px")),H6(i,"--swiper-slides-offset-after","".concat(f,"px")));const _=n.grid&&n.grid.rows>1&&e.grid;let E;_?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const S="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let C=0;C<d;C+=1){E=0;const i=c[C];if(!i||(_&&e.grid.updateSlide(C,i,c),"none"!==J6(i,"display"))){if(s&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(E=n.virtual.slidesPerViewAutoSlideSize),E&&i&&(n.roundLengths&&(E=Math.floor(E)),i.style[e.getDirectionLabel("width")]="".concat(E,"px"));else if("auto"===n.slidesPerView){S&&(i.style[e.getDirectionLabel("width")]="");const o=getComputedStyle(i),r=i.style.transform,a=i.style.webkitTransform;if(r&&(i.style.transform="none"),a&&(i.style.webkitTransform="none"),n.roundLengths)E=e.isHorizontal()?t3(i,"width"):t3(i,"height");else{const e=t(o,"width"),n=t(o,"padding-left"),r=t(o,"padding-right"),a=t(o,"margin-left"),s=t(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+a+s;else{const{clientWidth:t,offsetWidth:o}=i;E=e+n+r+a+s+(o-t)}}r&&(i.style.transform=r),a&&(i.style.webkitTransform=a),n.roundLengths&&(E=Math.floor(E))}else E=(v-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(E=Math.floor(E)),i&&(i.style[e.getDirectionLabel("width")]="".concat(E,"px"));i&&(i.swiperSlideSize=E),h.push(E),n.centeredSlides?(w=w+E/2+x/2+y,0===x&&0!==C&&(w=w-v/2-y),0===C&&(w=w-v/2-y),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),k%n.slidesPerGroup===0&&u.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(k-Math.min(e.params.slidesPerGroupSkip,k))%e.params.slidesPerGroup===0&&u.push(w),p.push(w),w=w+E+y),e.virtualSize+=E+y,x=E,k+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+f,r&&a&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width="".concat(e.virtualSize+y,"px")),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+y,"px")),_&&e.grid.updateWrapperSize(E,u),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,i=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let o=u.length;if(i){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=h.length-1;n>=0&&(t+=h[n]+(n<h.length-1?y:0),t<=v);n-=1)e=h.length-n}else e=Math.floor(n.slidesPerView);o=Math.max(d-e,0)}const r=[];for(let a=0;a<u.length;a+=1){let t=u[a];n.roundLengths&&(t=Math.floor(t)),i?a<=o&&r.push(t):u[a]<=e.virtualSize-v&&r.push(t)}u=r,Math.floor(e.virtualSize-v)-Math.floor(u[u.length-1])>1&&(i||u.push(e.virtualSize-v))}if(s&&n.loop){const t=h[0]+y;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),o=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)u.push(u[u.length-1]+o)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&u.push(u[u.length-1]+t),p.push(p[p.length-1]+t),e.virtualSize+=t}if(0===u.length&&(u=[0]),0!==y){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==c.length-1).forEach(e=>{e.style[t]="".concat(y,"px")})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(y||0)}),e-=y;const t=e>v?e-v:0;u=u.map(e=>e<=0?-m:e>t?t+f:e)}if(n.centerInsufficientSlides){let e=0;if(h.forEach(t=>{e+=t+(y||0)}),e-=y,e<v){const t=(v-e)/2;u.forEach((e,n)=>{u[n]=e-t}),p.forEach((e,n)=>{p[n]=e+t})}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){H6(i,"--swiper-centered-offset-before","".concat(-u[0],"px")),H6(i,"--swiper-centered-offset-after","".concat(e.size/2-h[h.length-1]/2,"px"));const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==l&&e.emit("slidesLengthChange"),u.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(s||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t="".concat(n.containerModifierClass,"backface-hidden"),i=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let o,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>
vendor: 9,559 bytes, line 2
21)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(o=0;o<Math.ceil(t.params.slidesPerView);o+=1){const e=t.activeIndex+o;if(e>t.slides.length&&!i)break;n.push(a(e))}else n.push(a(t.activeIndex));for(o=0;o<n.length;o+=1)if(void 0!==n[o]){const e=n[o].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height="".concat(r,"px"))},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:o,snapGrid:r}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;o&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let l=0;l<i.length;l+=1){const e=i[l];let c=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(a+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+s),u=(a-r[0]+(n.centeredSlides?t.minTranslate():0)-c)/(e.swiperSlideSize+s),p=-(a-c),h=p+t.slidesSizesGrid[l],m=p>=0&&p<=t.size-t.slidesSizesGrid[l],f=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;f&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l)),u3(e,f,n.slideVisibleClass),u3(e,m,n.slideFullyVisibleClass),e.progress=o?-d:d,e.originalProgress=o?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:r,isEnd:a,progressLoop:s}=t;const l=r,c=a;if(0===i)o=0,r=!0,a=!0;else{o=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,s=Math.abs(e-t.maxTranslate())<1;r=n||o<=0,a=s||o>=1,n&&(o=0),s&&(o=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),o=t.slidesGrid[n],r=t.slidesGrid[i],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);s=l>=o?(l-o)/a:(l+a-r)/a,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:r,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),a&&!c&&t.emit("reachEnd toEdge"),(l&&!r||c&&!a)&&t.emit("fromEdge"),t.emit("progress",o)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:o}=e,r=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=e=>$6(i,".".concat(n.slideClass).concat(e,", swiper-slide").concat(e))[0];let l,c,d;if(r)if(n.loop){let t=o-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=s('[data-swiper-slide-index="'.concat(t,'"]'))}else l=s('[data-swiper-slide-index="'.concat(o,'"]'));else a?(l=t.find(e=>e.column===o),d=t.find(e=>e.column===o+1),c=t.find(e=>e.column===o-1)):l=t[o];l&&(a||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{p3(e,e===l,n.slideActiveClass),p3(e,e===d,n.slideNextClass),p3(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:o,activeIndex:r,realIndex:a,snapIndex:s}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let o;for(let r=0;r<t.length;r+=1)void 0!==t[r+1]?i>=t[r]&&i<t[r+1]-(t[r+1]-t[r])/2?o=r:i>=t[r]&&i<t[r+1]&&(o=r+1):i>=t[r]&&(o=r);return n.normalizeSlideIndex&&(o<0||void 0===o)&&(o=0),o}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/o.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===r&&!t.params.loop)return void(l!==s&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&o.grid&&o.grid.rows>1;let p;if(t.virtual&&o.virtual.enabled)p=o.loop?d(c):c;else if(u){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/o.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:s,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:r,activeIndex:c}),t.initialized&&f3(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let o=e.closest(".".concat(i.slideClass,", swiper-slide"));!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!o&&e.matches&&e.matches(".".concat(i.slideClass,", swiper-slide"))&&(o=e)});let r,a=!1;if(o)for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){a=!0,r=s;break}if(!o||!a)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=r,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:g3,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration="".concat(e,"ms"),n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),b3({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),b3({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:v3,loop:{loopCreate:function(e,t){const n=this,{params:i,slidesEl:o}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const r=()=>{$6(o,".".concat(i.slideClass,", swiper-slide")).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},a=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||a)&&(()=>{const e=$6(o,".".concat(i.slideBlankClass));e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const s=i.slidesPerGroup*(a?i.grid.rows:1),l=n.slides.length%s!==0,c=a&&n.slides.length%i.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?X6("swiper-slide",[i.slideBlankClass]):X6("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};if(l){if(i.loopAddBlankSlides){d(s-n.slides.length%s),n.recalcSlides(),n.updateSlides()}else Y6();r()}else if(c){if(i.loopAddBlankSlides){d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()}else Y6();r()}else r();const u=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:u?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:i,activeSlideIndex:o,initial:r,byController:a,byMousewheel:s}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:u,slidesEl:p,params:h}=l,{centeredSlides:m,slidesOffsetBefore:f,slidesOffsetAfter:g,initialSlide:b}=h,v=m||!!f||!!g;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled)return t&&(v||0!==l.snapIndex?v&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=u,void l.emit("loopFix");let y=h.slidesPerView;"auto"===y?y=l.slidesPerViewDynamic():(y=Math.ceil(parseFloat(h.slidesPerView,10)),v&&y%2==0&&(y+=1));const w=h.slidesPerGroupAuto?y:h.slidesPerGroup;let x=v?Math.max(w,Math.ceil(y/2)):w;x%w!==0&&(x+=w-x%w),x+=h.loopAdditionalSlides,l.loopedSlides=x;const k=l.grid&&h.grid&&h.grid.rows>1;(c.length<y+x||"cards"===l.params.effect&&c.length<y+2*x||k&&"row"===h.grid.fill)&&Y6();const _=[],E=[],S=k?Math.ceil(c.length/h.grid.rows):c.length,C=r&&S-b<y&&!v;let T=C?b:l.activeIndex;void 0===o?o=l.getSlideIndex(c.find(e=>e.classList.contains(h.slideActiveClass))):T=o;const I="next"===n||!n,A="prev"===n||!n;let P=0,O=0;const R=(k?c[o].column:o)+(v&&void 0===i?-y/2+.5:0);if(R<x){P=Math.max(x-R,w);for(let e=0;e<x-R;e+=1){const t=e-Math.floor(e/S)*S;if(k){const e=S-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&_.push(t)}else _.push(S-t-1)}}else if(R+y>S-x){O=Math.max(R-(S-2*x),w),C&&(O=Math.max(O,y-S+b+1));for(let e=0;e<O;e+=1){const t=e-Math.floor(e/S)*S;k?c.forEach((e,n)=>{e.column===t&&E.push(n)}):E.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&c.length<y+2*x&&(E.includes(o)&&E.splice(E.indexOf(o),1),_.includes(o)&&_.splice(_.indexOf(o),1)),A&&_.forEach(e
vendor: 4,903 bytes, line 2
2=>{c[e].swiperLoopMoveDOM=!0,p.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),I&&E.forEach(e=>{c[e].swiperLoopMoveDOM=!0,p.append(c[e]),c[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===h.slidesPerView?l.updateSlides():k&&(_.length>0&&A||E.length>0&&I)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),h.watchSlidesProgress&&l.updateSlidesOffset(),t)if(_.length>0&&A){if(void 0===e){const e=l.slidesGrid[T],t=l.slidesGrid[T+P]-e;s?l.setTranslate(l.translate-t):(l.slideTo(T+Math.ceil(P),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(i){const e=k?_.length/h.grid.rows:_.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(E.length>0&&I)if(void 0===e){const e=l.slidesGrid[T],t=l.slidesGrid[T-O]-e;s?l.setTranslate(l.translate-t):(l.slideTo(T-O,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=k?E.length/h.grid.rows:E.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!a){const r={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===h.slidesPerView&&t})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...r,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&t})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}},grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=w3.bind(e),e.onTouchMove=x3.bind(e),e.onTouchEnd=k3.bind(e),e.onDocumentTouchStart=T3.bind(e),t.cssMode&&(e.onScroll=S3.bind(e)),e.onClick=E3.bind(e),e.onLoad=C3.bind(e),I3(e,"on")},detachEvents:function(){I3(this,"off")}},breakpoints:P3,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:o,device:r}=e,a=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},D3={};class N3{constructor(...e){let t,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=q6({},n),t&&!n.el&&(n.el=t);const i=D6();if(n.el&&"string"==typeof n.el&&i.querySelectorAll(n.el).length>1){const e=[];return i.querySelectorAll(n.el).forEach(t=>{const i=q6({},n,{el:t});e.push(new N3(i))}),e}const o=this;o.__swiper__=!0,o.support=l3(),o.device=c3({userAgent:n.userAgent}),o.browser=d3(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEac
vendor: 4,320 bytes, line 2
2h(e=>{"function"==typeof e&&o.modules.indexOf(e)<0&&o.modules.push(e)});const r={};o.modules.forEach(e=>{e({params:n,swiper:o,extendParams:R3(n,r),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const a=q6({},O3,r);return o.params=q6({},a,D3,n),o.originalParams=q6({},o.params),o.passedParams=q6({},n),o.params&&o.params.on&&Object.keys(o.params.on).forEach(e=>{o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===o.params.direction,isVertical:()=>"vertical"===o.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=Z6($6(t,".".concat(n.slideClass,", swiper-slide"))[0]);return Z6(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=$6(e,".".concat(t.slideClass,", swiper-slide"))}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),o=(n.maxTranslate()-i)*e+i;n.translateTo(o,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:i,slidesGrid:o,slidesSizesGrid:r,size:a,activeIndex:s}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[s]?Math.ceil(i[s].swiperSlideSize):0;for(let n=s+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>a&&(e=!0));for(let n=s-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let c=s+1;c<i.length;c+=1){(t?o[c]+r[c]-o[s]<a:o[c]-o[s]<a)&&(l+=1)}else for(let c=s-1;c>=0;c-=1){o[s]-o[c]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEac
2h(t=>{t.complete&&h3(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(t.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove("".concat(n.params.containerModifierClass).concat(i)),n.el.classList.add("".concat(n.params.containerModifierClass).concat(e)),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>".".concat((t.params.wrapperClass||"").trim().split(" ").join("."));let o=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return $6(n,i())[0]})();return!o&&t.params.createElements&&(o=X6("div",t.params.wrapperClass),n.append(o),$6(n,".".concat(t.params.slideClass)).forEach(e=>{o.append(e)})),Object.assign(t,{el:n,wrapperEl:o,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:o,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===J6(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===J6(n,"direction")),wrongRTL:"-webkit-box"===J6(o,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?h3(t,e):e.addEventListener("load",e=>{h3(t,e.target)})}),f3(t),t.initialized=!0,f3(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const n=this,{params:i,el:o,wrapperEl:r,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),o&&"string"!=typeof o&&o.removeAttribute("style"),r&&r.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(T8){}try{delete t[e]}catch(T8){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){q6(D3,e)}static get extendedDefaults(){return D3}static get defaults(){return O3}static installModule(e){N3.prototype.__modules__||(N3.prototype.__modules__=[]);const t=N3.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}
2static use(e){return Array.isArray(e)?(e.forEach(e=>N3.installModule(e)),N3):(N3.installModule(e),N3)}}function M3(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(o=>{if(!n[o]&&!0===n.auto){let r=$6(e.el,".".concat(i[o]))[0];r||(r=X6("div",i[o]),r.className=i[o],e.el.append(r)),n[o]=r,t[o]=r}}),n}Object.keys(L3).forEach(e=>{Object.keys(L3[e]).forEach(t=>{N3.prototype[t]=L3[e][t]})}),N3.use([function({swiper:e,on:t,emit:n}){const i=M6();let o=null,r=null;const a=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},s=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(o=new ResizeObserver(t=>{r=i.requestAnimationFrame(()=>{const{width:n,height:i}=e;let o=n,r=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(o=n?n.width:(t[0]||t).inlineSize,r=n?n.height:(t[0]||t).blockSize)}),o===n&&r===i||a()})}),o.observe(e.el)):(i.addEventListener("resize",a),i.addEventListener("orientationchange",s))}),t("destroy",()=>{r&&i.cancelAnimationFrame(r),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",s)})},function({swiper:e,extendParams:t,on:n,emit:i}){const o=[],r=M6(),a=(t,n={})=>{const a=new(r.MutationObserver||r.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void i("observerUpdate",t[0]);const n=function(){i("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(n):r.setTimeout(n,0)});a.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),o.push(a)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=Q6(e.hostEl);for(let e=0;e<t.length;e+=1)a(t[e])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{o.forEach(e=>{e.disconnect()}),o.splice(0,o.length)})}]);const z3='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function j3(e=""){return".".concat(e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,"."))}function B3(e){const t=this,{params:n,slidesEl:i}=t;n.loop&&t.loopDestroy();const o=e=>{if("string"==typeof e){const t=document.createElement("div");o3(t,e),i.append(t.children[0]),o3(t,"")}else i.append(e)};if("object"==typeof e&&"length"in e)for(let r=0;r<e.length;r+=1)e[r]&&o(e[r]);else o(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update()}function F3(e){const t=this,{params:n,activeIndex:i,slidesEl:o}=t;n.loop&&t.loopDestroy();let r=i+1;const a=e=>{if("string"==typeof e){const t=document.createElement("div");o3(t,e),o.prepend(t.children[0]),o3(t,"")}else o.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&a(e[t]);r=i+e.length}else a(e);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(),t.slideTo(r,0,!1)}function V3(e,t){const n=this,{params:i,activeIndex:o,slidesEl:r}=n;let a=o;i.loop&&(a-=n.loopedSlides,n.loopDestroy(),n.recalcSlides());const s=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=s)return void n.appendSlide(t);let l=a>e?a+1:a;const c=[];for(let d=s-1;d>=e;d-=1){const e=n.slides[d];e.remove(),c.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);l=a>e?a+t.length:a}else r.append(t);for(let d=0;d<c.length;d+=1)r.append(c[d]);n.recalcSlides(),i.loop&&n.loopCreate(),i.observer&&!n.isElement||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function U3(e){const t=this,{params:n,activeIndex:i}=t;let o=i;n.loop&&(o-=t.loopedSlides,t.loopDestroy());let r,a=o;if("object"==typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)r=e[n],t.slides[r]&&t.slides[r].remove(),r<a&&(a-=1);a=Math.max(a,0)}else r=e,t.slides[r]&&t.slides[r].remove(),r<a&&(a-=1),a=Math.max(a,0);t.recalcSlides(),n.loop&&t.loopCreate(),n.observer&&!t.isElement||t.update(
2),n.loop?t.slideTo(a+t.loopedSlides,0,!1):t.slideTo(a,0,!1)}function q3(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function H3(e){const{effect:t,swiper:n,on:i,setTranslate:o,setTransition:r,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:c}=e;let d;i("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push("".concat(n.params.containerModifierClass).concat(t)),s&&s()&&n.classNames.push("".concat(n.params.containerModifierClass,"3d"));const e=a?a():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),i("setTranslate _virtualUpdated",()=>{n.params.effect===t&&o()}),i("setTransition",(e,i)=>{n.params.effect===t&&r(i)}),i("transitionEnd",()=>{if(n.params.effect===t&&l){if(!c||!c().slideShadows)return;n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),l()}}),i("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(o(),d=!1)}))})}function W3(e,t){const n=G6(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function G3({swiper:e,duration:t,transformElements:n,allSlides:i}){const{activeIndex:o}=e;if(e.params.virtualTranslate&&0!==t){let t,r=!1;t=i?n:n.filter(t=>{const n=t.classList.contains("swiper-slide-transform")?(t=>{if(!t.parentElement)return e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode);return t.parentElement})(t):t;return e.getSlideIndex(n)===o}),t.forEach(t=>{e3(t,()=>{if(r)return;if(!e||e.destroyed)return;r=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}}function $3(e,t,n){const i="swiper-slide-shadow".concat(n?"-".concat(n):"").concat(e?" swiper-slide-shadow-".concat(e):""),o=G6(t);let r=o.querySelector(".".concat(i.split(" ").join(".")));return r||(r=X6("div",i.split(" ")),o.append(r)),r}const Y3=[function({swiper:e,extendParams:t,on:n,emit:i}){let o;t({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const r=D6();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const a=r.createElement("div");function s(t,n){const i=e.params.virtual;if(i.cache&&e.virtual.cache[n])return e.virtual.cache[n];let o;return i.renderSlide?(o=i.renderSlide.call(e,t,n),"string"==typeof o&&(o3(a,o),o=a.children[0])):o=e.isElement?X6("swiper-slide"):X6("div",e.params.slideClass),o.setAttribute("data-swiper-slide-index",n),i.renderSlide||o3(o,t),i.cache&&(e.virtual.cache[n]=o),o}function l(t,n,o){const{slidesPerGroup:r,centeredSlides:a,slidesPerView:l,loop:c,initialSlide:d}=e.params;if(n&&!c&&d>0)return;const{addSlidesBefore:u,addSlidesAfter:p,slidesPerViewAutoSlideSize:h}=e.params.virtual,{from:m,to:f,slides:g,slidesGrid:b,offset:v}=e.virtual;e.params.cssMode||e.updateActiveIndex();const y=void 0===o?e.activeIndex||0:o;let w,x,k,_;if(w=e.rtlTranslate?"right":e.isHorizontal()?"left":"top","auto"===l)if(h){let t=e.size;t||(t=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),x=Math.max(1,Math.ceil(t/h))}else x=1;else x=l;a?(k=Math.floor(x/2)+r+p,_=Math.floor(x/2)+r+u):(k=x+(r-1)+p,_=(c?x:r)+u);let E=y-_,S=y+k;c||(E=Math.max(E,0),S=Math.min(S,g.length-1));let C=(e.slidesGrid[E]||0)-(e.slidesGrid[0]||0);function T(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(c&&y>=_?(E-=_,a||(C+=e.slidesGrid[0])):c&&y<_&&(E=-_,a&&(C+=e.slidesGrid[0])),Object.assign(e.virtual,{from:E,to:S,offset:C,slidesGrid:e.slidesGrid,slidesBefore:_,slidesAfter:k}),m===E&&f===S&&!t)return e.slidesGrid!==b&&C!==v&&e.slides.forEach(t=>{t.style[w]="".concat(C-Math.abs(e.cssOverflowAdjustment()),"px")}),e.updateProgress(),void i("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:C,from:E,to:S,slides:function(){const e=[];for(let t=E;t<=S;t+=1)e.push(g[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?T():i("virtualUpdate"));const I=[],A=[],P=e=>{let t=e;return e<0?t=g.length+e:t>=g.length&&(t-=g.length),t};if(t)e.slides.filter(t=>t.matches(".".concat(e.params.slideClass,", swiper-slide"))).forEac
2h(e=>{e.remove()});else for(let i=m;i<=f;i+=1)if(i<E||i>S){const t=P(i);e.slides.filter(n=>n.matches(".".concat(e.params.slideClass,'[data-swiper-slide-index="').concat(t,'"], swiper-slide[data-swiper-slide-index="').concat(t,'"]'))).forEach(e=>{e.remove()})}const O=c?-g.length:0,R=c?2*g.length:g.length;for(let e=O;e<R;e+=1)if(e>=E&&e<=S){const n=P(e);void 0===f||t?A.push(n):(e>f&&A.push(n),e<m&&I.push(n))}if(A.forEach(t=>{e.slidesEl.append(s(g[t],t))}),c)for(let i=I.length-1;i>=0;i-=1){const t=I[i];e.slidesEl.prepend(s(g[t],t))}else I.sort((e,t)=>t-e),I.forEach(t=>{e.slidesEl.prepend(s(g[t],t))});$6(e.slidesEl,".swiper-slide, swiper-slide").forEach(t=>{t.style[w]="".concat(C-Math.abs(e.cssOverflowAdjustment()),"px")}),T()}n("beforeInit",()=>{if(!e.params.virtual.enabled)return;let t;if(void 0===e.passedParams.virtual.slides){const n=[...e.slidesEl.children].filter(t=>t.matches(".".concat(e.params.slideClass,", swiper-slide")));n&&n.length&&(e.virtual.slides=[...n],t=!0,n.forEach((t,n)=>{t.setAttribute("data-swiper-slide-index",n),e.virtual.cache[n]=t,t.remove()}))}t||(e.virtual.slides=e.params.virtual.slides),e.classNames.push("".concat(e.params.containerModifierClass,"virtual")),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,l(!1,!0)}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(o),o=setTimeout(()=>{l()},100)):l())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&H6(e.wrapperEl,"--swiper-virtual-size","".concat(e.virtualSize,"px"))}),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.push(t[n]);else e.virtual.slides.push(t);l(!0)},prependSlide:function(t){const n=e.activeIndex;let i=n+1,o=1;if(Array.isArray(t)){for(let n=0;n<t.length;n+=1)t[n]&&e.virtual.slides.unshift(t[n]);i=n+t.length,o=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,n={};Object.keys(t).forEach(e=>{const i=t[e],r=i.getAttribute("data-swiper-slide-index");r&&i.setAttribute("data-swiper-slide-index",parseInt(r,10)+o),n[parseInt(e,10)+o]=i}),e.virtual.cache=n}l(!0),e.slideTo(i,0)},removeSlide:function(t){if(null==t)return;let n=e.activeIndex;if(Array.isArray(t))for(let i=t.length-1;i>=0;i-=1)e.params.virtual.cache&&(delete e.virtual.cache[t[i]],Object.keys(e.virtual.cache).forEach(n=>{n>t&&(e.virtual.cache[n-1]=e.virtual.cache[n],e.virtual.cache[n-1].setAttribute("data-swiper-slide-index",n-1),delete e.virtual.cache[n])})),e.virtual.slides.splice(t[i],1),t[i]<n&&(n-=1),n=Math.max(n,0);else e.params.virtual.cache&&(delete e.virtual.cache[t],Object.keys(e.virtual.cache).forEach(n=>{n>t&&(e.virtual.cache[n-1]=e.virtual.cache[n],e.virtual.cache[n-1].setAttribute("data-swiper-slide-index",n-1),delete e.virtual.cache[n])})),e.virtual.slides.splice(t,1),t<n&&(n-=1),n=Math.max(n,0);l(!0),e.slideTo(n,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),l(!0),e.slideTo(0,0)},update:l})},function({swiper:e,extendParams:t,on:n,emit:i}){const o=D6(),r=M6();function a(t){if(!e.enabled)return;const{rtlTranslate:n}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const s=a.keyCode||a.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===s,d=l&&34===s,u=37===s,p=39===s,h=38===s,m=40===s;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&m||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&h||c))return!1;if(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey)return;if(o.activeElement&&(o.activeElement.isContentEditable||o.activeElement.nodeName&&("input"===o.activeElement.nodeName.toLowerCase()||"textarea"===o.activeElement.nodeName.toLowerCase())))return;if(e.params.keyboard.onlyInViewport&&(c||d||u||p||h||m)){let t=!1;if(Q6(e.el,".".concat(e.params.slideClass,", swiper-slide")).length>0&&0===Q6(e.el,".".concat(e.params.slideActiveClass)).length)return;const i=e.el,o=i.clientWidth,a=i.clientHeight,s=r.innerWidth,l=r.innerHeight,c=K6(i);n&&(c.left-=i.scrollLeft);const d=[[c.left,c.top],[c.left+o,c.top],[c.left,c.top+a],[c.left+o,c.top+a]];for(let e=0;e<d.length;e+=1){const n=d[e];if(n[0]>=0&&n[0]<=s&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;t=!0}}if(!t)return}const f=e.params.keyboard.speed;e.isHorizontal()?((c||d||u||p)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((d||p)&&!n||(c||u)&&n)&&e.slideNext(f),((c||u)&&!n||(d||p)&&n)&&e.slidePrev(f)):((c||d||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(d||m)&&e.slideNext(f),(c||h)&&e.slidePrev(f)),i("keyPress",s)}function s(){e.keyboard.enabled||(o.addEventListener("keydown",a),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(o.removeEventListener("keydown",a),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),n("init",()=>{e.params.keyboard.enabled&&s()}),n("destroy",()=>{e.keyboard.enabled&&l()}),Object.assign(e.keyboard,{enable:s,disable:l})},function({swiper:e,extendParams:t,on:n,emit:i}){const o=M6();let r;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=B6();const l=[];function c(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function u(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta)&&(!(e.params.mousewheel.thresholdTime&&B6()-s<e.params.mousewheel.thresholdTime)&&(t.delta>=6&&B6()-s<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),s=(new o.Date).getTime(),!1)))}function p(t){let n=t,o=!0;if(!e.enabled)return;if(t.target.closest(".".concat(e.params.mousewheel.noMousewheelClass)))return;const s=e.params.mousewheel;e.params.cssMode&&n.preventDefault();let c=e.el;"container"!==e.params.mousewheel.eventsTarget&&(c=document.querySelector(e.params.mousewheel.eventsTarget));const d=c&&c.contains(n.target);if(!e.mouseEntered&&!d&&!s.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let p=0;const h=e.rtlTranslate?-1:1,m=function(e){let t=0,n=0,i=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120
vendor: 4,977 bytes, line 2
2),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=o,o=0),(i||o)&&e.deltaMode&&(1===e.deltaMode?(i*=40,o*=40):(i*=800,o*=800)),i&&!t&&(t=i<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:o}}(n);if(s.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(m.pixelX)>Math.abs(m.pixelY)))return!0;p=-m.pixelX*h}else{if(!(Math.abs(m.pixelY)>Math.abs(m.pixelX)))return!0;p=-m.pixelY}else p=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*h:-m.pixelY;if(0===p)return!0;s.invert&&(p=-p);let f=e.getTranslate()+p*s.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),o=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),o&&e.params.nested&&n.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:B6(),delta:Math.abs(p),direction:Math.sign(p)},o=a&&t.time<a.time+500&&t.delta<=a.delta&&t.direction===a.direction;if(!o){a=void 0;let c=e.getTranslate()+p*s.sensitivity;const d=e.isBeginning,u=e.isEnd;if(c>=e.minTranslate()&&(c=e.minTranslate()),c<=e.maxTranslate()&&(c=e.maxTranslate()),e.setTransition(0),e.setTranslate(c),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();const n=l.length?l[l.length-1]:void 0,i=l[0];if(l.push(t),n&&(t.delta>n.delta||t.direction!==n.direction))l.splice(0);else if(l.length>=15&&t.time-i.time<500&&i.delta-t.delta>=1&&t.delta<=6){const n=p>0?.8:.2;a=t,l.splice(0),r=j6(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,n)},0)}r||(r=j6(()=>{if(e.destroyed||!e.params)return;a=t,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(o||i("scroll",n),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),s.releaseOnEdges&&(c===e.minTranslate()||c===e.maxTranslate()))return!0}}else{const n={time:B6(),delta:Math.abs(p),direction:Math.sign(p),raw:t};l.length>=2&&l.shift();const i=l.length?l[l.length-1]:void 0;if(l.push(n),i?(n.direction!==i.direction||n.delta>i.delta||n.time>i.time+150)&&u(n):u(n),function(t){const n=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function h(t){let n=e.el;"container"!==e.params.mousewheel.eventsTarget&&(n=document.querySelector(e.params.mousewheel.eventsTarget)),n[t]("mouseenter",c),n[t]("mouseleave",d),n[t]("wheel",p)}function m(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",p),!0):!e.mousewheel.enabled&&(h("addEventListener"),e.mousewheel.enabled=!0,!0)}function f(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,p),!0):!!e.mousewheel.enabled&&(h("removeEventListener"),e.mousewheel.enabled=!1,!0)}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&f(),e.params.mousewheel.enabled&&m()}),n("destroy",()=>{e.params.cssMode&&m(),e.mousewheel.enabled&&f()}),Object.assign(e.mousewheel,{enable:m,disable:f})},function({swiper:e,extendParams:t,on:n,emit:i}){function o(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function r(t,n){const i=e.params.navigation;(t=n3(t)).forEach(t=>{t&&(t.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function a(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return r(n,!1),void r(t,!1);r(n,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function s(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=M3(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let n=o(t.nextEl),i=o(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:i}),n=n3(n),i=n3(i);const r=(n,i)=>{if(n){if(t.addIcons&&n.matches(".swiper-button-next,.swiper-button-prev")&&!n.querySelector("svg")){const e=document.createElement("div");o3(e,z3),n.appendChild(e.querySelector("svg")),e.remove()}n.addEventListener("click","next"===i?l:s)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};
2n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function d(){let{nextEl:t,prevEl:n}=e.navigation;t=n3(t),n=n3(n);const i=(t,n)=>{t.removeEventListener("click","next"===n?l:s),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:z3},n("init",()=>{!1===e.params.navigation.enabled?u():(c(),a())}),n("toEdge fromEdge lock unlock",()=>{a()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:t,prevEl:n}=e.navigation;t=n3(t),n=n3(n),e.enabled?a():[...t,...n].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,n)=>{let{nextEl:o,prevEl:r}=e.navigation;o=n3(o),r=n3(r);const a=n.target;let s=r.includes(a)||o.includes(a);if(e.isElement&&!s){const e=n.path||n.composedPath&&n.composedPath();e&&(s=e.find(e=>o.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!s){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===a||e.pagination.el.contains(a)))return;let t;o.length?t=o[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),[...o,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const u=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},disable:u,update:a,init:c,destroy:d})},function({swiper:e,extendParams:t,on:n,emit:i}){const o="swiper-pagination";let r;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:"".concat(o,"-bullet"),bulletActiveClass:"".concat(o,"-bullet-active"),modifierClass:"".concat(o,"-"),currentClass:"".concat(o,"-current"),totalClass:"".concat(o,"-total"),hiddenClass:"".concat(o,"-hidden"),progressbarFillClass:"".concat(o,"-progressbar-fill"),progressbarOppositeClass:"".concat(o,"-progressbar-opposite"),clickableClass:"".concat(o,"-clickable"),lockClass:"".concat(o,"-lock"),horizontalClass:"".concat(o,"-horizontal"),verticalClass:"".concat(o,"-vertical"),paginationDisabledClass:"".concat(o,"-disabled")}}),e.pagination={el:null,bullets:[]};let a=0;function s(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function l(t,n){const{bulletActiveClass:i}=e.params.pagination;t&&(t=t["".concat("prev"===n?"previous":"next","ElementSibling")])&&(t.classList.add("".concat(i,"-").concat(n)),(t=t["".concat("prev"===n?"previous":"next","ElementSibling")])&&t.classList.add("".concat(i,"-").concat(n,"-").concat(n)))}function c(t){const n=t.target.closest(j3(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const i=Z6(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=(o=e.realIndex,r=i,a=e.slides.length,(r%=a)===1+(o%=a)?"next":r===o-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var o,r,a}function d(){const t=e.rtl,n=e.params.pagination;if(s())return;let o,c,d=e.pagination.el;d=n3(d);const u=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,p=e.params.loop?Math.ceil(u/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,o=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(o=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,o=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let s,u,p;if(n.dynamicBullets&&(r=t3(i[0],e.isHorizontal()?"width":"height"),d.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]="".concat(r*(n.dynamicMainBullets+4),"px")}),n.dynamicMainBullets>1&&void 0!==c&&(a+=o-(c||0),a>n.dynamicMainBullets-1?a=n.dynamicMainBullets-1:a<0&&(a=0)),s=Math.max(o-a,0),u=s+(Math.min(i.length,n.dynamicMainBullets)-1),p=(u+s)/2),i.forEac
2h(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>"".concat(n.bulletActiveClass).concat(e))].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)i.forEach(t=>{const i=Z6(t);i===o?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&(i>=s&&i<=u&&t.classList.add(..."".concat(n.bulletActiveClass,"-main").split(" ")),i===s&&l(t,"prev"),i===u&&l(t,"next"))});else{const t=i[o];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&i.forEach((e,t)=>{e.setAttribute("part",t===o?"bullet-active":"bullet")}),n.dynamicBullets){const e=i[s],t=i[u];for(let o=s;o<=u;o+=1)i[o]&&i[o].classList.add(..."".concat(n.bulletActiveClass,"-main").split(" "));l(e,"prev"),l(t,"next")}}if(n.dynamicBullets){const o=Math.min(i.length,n.dynamicMainBullets+4),a=(r*o-r)/2-p*r,s=t?"right":"left";i.forEach(t=>{t.style[e.isHorizontal()?s:"top"]="".concat(a,"px")})}}d.forEach((t,r)=>{if("fraction"===n.type&&(t.querySelectorAll(j3(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(o+1)}),t.querySelectorAll(j3(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let i;i=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(o+1)/p;let a=1,s=1;"horizontal"===i?a=r:s=r,t.querySelectorAll(j3(n.progressbarFillClass)).forEach(t=>{t.style.transform="translate3d(0,0,0) scaleX(".concat(a,") scaleY(").concat(s,")"),t.style.transitionDuration="".concat(e.params.speed,"ms")})}"custom"===n.type&&n.renderCustom?(o3(t,n.renderCustom(e,o+1,p)),0===r&&i("paginationRender",t)):(0===r&&i("paginationRender",t),i("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)})}function u(){const t=e.params.pagination;if(s())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let o=e.pagination.el;o=n3(o);let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)t.renderBullet?r+=t.renderBullet.call(e,n,t.bulletClass):r+="<".concat(t.bulletElement," ").concat(e.isElement?'part="bullet"':"",' class="').concat(t.bulletClass,'"></').concat(t.bulletElement,">")}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'.concat(t.currentClass,'"></span>')+" / "+'<span class="'.concat(t.totalClass,'"></span>')),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'.concat(t.progressbarFillClass,'"></span>')),e.pagination.bullets=[],o.forEach(n=>{"custom"!==t.type&&o3(n,r||""),"bullets"===t.type&&e.pagination.bullets.push(...n.querySelectorAll(j3(t.bulletClass)))}),"custom"!==t.type&&i("paginationRender",o[0])}function p(){e.params.pagination=M3(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n;"string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.find(t=>Q6(t,".swiper")[0]===e.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=n3(n),n.forEach(n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add("".concat(t.modifierClass).concat(t.type,"-dynamic")),a=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",c),e.enabled||n.classList.add(t.lockClass)}))}function h(){const t=e.params.pagination;if(s())return;let n=e.pagination.el;
2n&&(n=n3(n),n.forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:n}=e.pagination;n=n3(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.pagination.enabled?m():(p(),u(),d())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{u(),d()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:t}=e.pagination;t&&(t=n3(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(t,n)=>{const o=n.target,r=n3(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!o.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&o===e.navigation.nextEl||e.navigation.prevEl&&o===e.navigation.prevEl))return;const t=r[0].classList.contains(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=n3(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=n3(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),p(),u(),d()},disable:m,render:u,update:d,init:p,destroy:h})},function({swiper:e,extendParams:t,on:n,emit:i}){const o=D6();let r,a,s,l,c=!1,d=null,u=null;function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n}=e,{dragEl:i,el:o}=t,r=e.params.scrollbar,l=e.params.loop?e.progressLoop:e.progress;let c=a,u=(s-a)*l;n?(u=-u,u>0?(c=a-u,u=0):-u+a>s&&(c=s+u)):u<0?(c=a+u,u=0):u+a>s&&(c=s-u),e.isHorizontal()?(i.style.transform="translate3d(".concat(u,"px, 0, 0)"),i.style.width="".concat(c,"px")):(i.style.transform="translate3d(0px, ".concat(u,"px, 0)"),i.style.height="".concat(c,"px")),r.hide&&(clearTimeout(d),o.style.opacity=1,d=setTimeout(()=>{o.style.opacity=0,o.style.transitionDuration="400ms"},1e3))}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:n,el:i}=t;n.style.width="",n.style.height="",s=e.isHorizontal()?i.offsetWidth:i.offsetHeight,l=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),a="auto"===e.params.scrollbar.dragSize?s*l:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n.style.width="".concat(a,"px"):n.style.height="".concat(a,"px"),i.style.display=l>=1?"none":"",e.params.scrollbar.hide&&(i.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(t){return e.isHorizontal()?t.clientX:t.clientY}function f(t){const{scrollbar:n,rtlTranslate:i}=e,{el:o}=n;let l;l=(m(t)-K6(o)[e.isHorizontal()?"left":"top"]-(null!==r?r:a/2))/(s-a),l=Math.max(Math.min(l,1),0),i&&(l=1-l);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*l;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function g(t){const n=e.params.scrollbar,{scrollbar:o,wrapperEl:a}=e,{el:s,dragEl:l}=o;c=!0,r=t.target===l?m(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),a.style.transitionDuration="100ms",l.style.transitionDuration="100ms",f(t),clearTimeout(u),s.style.transitionDuration="0ms",n.hide&&(s.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",t)}function b(t){const{scrollbar:n,wrapperEl:o}=e,{el:r,dragEl:a}=n;c&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,f(t),o.style.transitionDuration="0ms",r.style.transitionDuration="0ms",a.style.transitionDuration="0ms",i("scrollbarDragMove",t))}function v(t){const n=e.params.scrollbar,{scrollbar:o,wrapperEl:r}=e,{el:a}=o;c&&(c=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),n.hide&&(clearTimeout(u),u=j6(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())}function y(t){const{scrollbar:n,params:i}=e,r=n.el;if(!r)return;const a=r,s=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!a)return;const c="on"===t?"addEventListener":"removeEventListener";a[c]("pointerdown",g,s),o[c]("pointermove",b,s),o[c]("pointerup",v,l)}function w(){const{scrollbar:t,el:n}=e;e.params.scrollbar=M3(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const i=e.params.scrollbar;if(!i.el)return;let r,a;
2if("string"==typeof i.el&&e.isElement&&(r=e.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=o.querySelectorAll(i.el),!r.length)return;e.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(a=r.querySelector(j3(e.params.scrollbar.dragClass)),a||(a=X6("div",e.params.scrollbar.dragClass),r.append(a))),Object.assign(t,{el:r,dragEl:a}),i.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&y("on"),r&&r.classList[e.enabled?"remove":"add"](...z6(e.params.scrollbar.lockClass))}function x(){const t=e.params.scrollbar,n=e.scrollbar.el;n&&n.classList.remove(...z6(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&y("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:n}=e.scrollbar;n=n3(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.scrollbar.enabled?k():(w(),h(),p())}),n("update resize observerUpdate lock unlock changeDirection",()=>{h()}),n("setTranslate",()=>{p()}),n("setTransition",(t,n)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration="".concat(t,"ms"))}(n)}),n("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...z6(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const k=()=>{e.el.classList.add(...z6(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...z6(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...z6(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...z6(e.params.scrollbar.scrollbarDisabledClass)),w(),h(),p()},disable:k,updateSize:h,setTranslate:p,init:w,destroy:x})},function({swiper:e,extendParams:t,on:n}){t({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(t,n)=>{const{rtl:i}=e,o=i?-1:1,r=t.getAttribute("data-swiper-parallax")||"0";let a=t.getAttribute("data-swiper-parallax-x"),s=t.getAttribute("data-swiper-parallax-y");const l=t.getAttribute("data-swiper-parallax-scale"),c=t.getAttribute("data-swiper-parallax-opacity"),d=t.getAttribute("data-swiper-parallax-rotate");if(a||s?(a=a||"0",s=s||"0"):e.isHorizontal()?(a=r,s="0"):(s=r,a="0"),a=a.indexOf("%")>=0?"".concat(parseInt(a,10)*n*o,"%"):"".concat(a*n*o,"px"),s=s.indexOf("%")>=0?"".concat(parseInt(s,10)*n,"%"):"".concat(s*n,"px"),null!=c){const e=c-(c-1)*(1-Math.abs(n));t.style.opacity=e}let u="translate3d(".concat(a,", ").concat(s,", 0px)");if(null!=l){const e=l-(l-1)*(1-Math.abs(n));u+=" scale(".concat(e,")")}if(d&&null!=d){u+=" rotate(".concat(d*n*-1,"deg)")}t.style.transform=u},r=()=>{const{el:t,slides:n,progress:r,snapGrid:a,isElement:s}=e,l=$6(t,i);e.isElement&&l.push(...$6(e.hostEl,i)),l.forEach(e=>{o(e,r)}),n.forEach((t,n)=>{let s=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(s+=Math.ceil(n/2)-r*(a.length-1)),s=Math.min(Math.max(s,-1),1),t.querySelectorAll("".concat(i,", [data-swiper-parallax-rotate]")).forEach(e=>{o(e,s)})})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&r()}),n("setTranslate",()=>{e.params.parallax.enabled&&r()}),n("setTransition",(t,n)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{el:n,hostEl:o}=e,r=[...n.querySelectorAll(i)];
2e.isElement&&r.push(...o.querySelectorAll(i)),r.forEach(e=>{let n=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),e.style.transitionDuration="".concat(n,"ms")})})(n)})},function({swiper:e,extendParams:t,on:n,emit:i}){const o=M6();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let r,a,s=1,l=!1,c=!1,d={x:0,y:0};const u=[],p={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let f,g=1;function b(){if(u.length<2)return 1;const e=u[0].pageX,t=u[0].pageY,n=u[1].pageX,i=u[1].pageY;return Math.sqrt((n-e)**2+(i-t)**2)}function v(){const t=e.params.zoom,n=p.imageWrapEl.getAttribute("data-swiper-zoom")||t.maxRatio;if(t.limitToOriginalSize&&p.imageEl&&p.imageEl.naturalWidth){const e=p.imageEl.naturalWidth/p.imageEl.offsetWidth;return Math.min(e,n)}return n}function y(t){const n=e.isElement?"swiper-slide":".".concat(e.params.slideClass);return!!t.target.matches(n)||e.slides.filter(e=>e.contains(t.target)).length>0}function w(t){const n=".".concat(e.params.zoom.containerClass);return!!t.target.matches(n)||[...e.hostEl.querySelectorAll(n)].filter(e=>e.contains(t.target)).length>0}function x(t){if("mouse"===t.pointerType&&u.splice(0,u.length),!y(t))return;const n=e.params.zoom;if(r=!1,a=!1,u.push(t),!(u.length<2)){if(r=!0,p.scaleStart=b(),!p.slideEl){p.slideEl=t.target.closest(".".concat(e.params.slideClass,", swiper-slide")),p.slideEl||(p.slideEl=e.slides[e.activeIndex]);let i=p.slideEl.querySelector(".".concat(n.containerClass));if(i&&(i=i.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=i,p.imageWrapEl=i?Q6(p.imageEl,".".concat(n.containerClass))[0]:void 0,!p.imageWrapEl)return void(p.imageEl=void 0);p.maxRatio=v()}if(p.imageEl){const[e,t]=function(){if(u.length<2)return{x:null,y:null};const e=p.imageEl.getBoundingClientRect();return[(u[0].pageX+(u[1].pageX-u[0].pageX)/2-e.x-o.scrollX)/s,(u[0].pageY+(u[1].pageY-u[0].pageY)/2-e.y-o.scrollY)/s]}();p.originX=e,p.originY=t,p.imageEl.style.transitionDuration="0ms"}l=!0}}function k(t){if(!y(t))return;const n=e.params.zoom,i=e.zoom,o=u.findIndex(e=>e.pointerId===t.pointerId);o>=0&&(u[o]=t),u.length<2||(a=!0,p.scaleMove=b(),p.imageEl&&(i.scale=p.scaleMove/p.scaleStart*s,i.scale>p.maxRatio&&(i.scale=p.maxRatio-1+(i.scale-p.maxRatio+1)**.5),i.scale<n.minRatio&&(i.scale=n.minRatio+1-(n.minRatio-i.scale+1)**.5),p.imageEl.style.transform="translate3d(0,0,0) scale(".concat(i.scale,")")))}function _(t){if(!y(t))return;if("mouse"===t.pointerType&&"pointerout"===t.type)return;const n=e.params.zoom,i=e.zoom,o=u.findIndex(e=>e.pointerId===t.pointerId);o>=0&&u.splice(o,1),r&&a&&(r=!1,a=!1,p.imageEl&&(i.scale=Math.max(Math.min(i.scale,p.maxRatio),n.minRatio),p.imageEl.style.transitionDuration="".concat(e.params.speed,"ms"),p.imageEl.style.transform="translate3d(0,0,0) scale(".concat(i.scale,")"),s=i.scale,l=!1,i.scale>1&&p.slideEl?p.slideEl.classList.add("".concat(n.zoomedSlideClass)):i.scale<=1&&p.slideEl&&p.slideEl.classList.remove("".concat(n.zoomedSlideClass)),1===i.scale&&(p.originX=0,p.originY=0,p.slideEl=void 0)))}function E(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function S(t){const n="mouse"===t.pointerType&&e.params.zoom.panOnMouseMove;if(!y(t)||!w(t))return;const i=e.zoom;if(!p.imageEl)return;if(!h.isTouched||!p.slideEl)return void(n&&T(t));if(n)return void T(t);h.isMoved||(h.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,h.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,h.startX=F6(p.imageWrapEl,"x")||0,h.startY=F6(p.imageWrapEl,"y")||0,p.slideWidth=p.slideEl.offsetWidth,p.slideHeight=p.slideEl.offsetHeight,p.imageWrapEl.style.transitionDuration="0ms");const o=h.width*i.scale,r=h.height*i.scale;h.minX=Math.min(p.slideWidth/2-o/2,0),h.maxX=-h.minX,h.minY=Math.min(p.slideHeight/2-r/2,0),h.maxY=-h.minY,h.touchesCurrent.x=u.length>0?u[0].pageX:t.pageX,h.touchesCurrent.y=u.length>0?u[0].pageY:t.pageY;if(Math.max(Math.abs(h.touchesCurrent.x-h.touchesStart.x),Math.abs(h.touchesCurrent.y-h.touchesStart.y))>5&&(e.allowClick=!1),!h.isMoved&&!l){if(e.isHorizontal()&&(Math.floor(h.minX)===Math.floor(h.startX)&&h.touchesCurrent.x<h.touchesStart.x||Math.floor(h.maxX)===Math.floor(h.startX)&&h.touchesCurrent.x>h.touchesStart.x))return h.isTouched=!1,void E();if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.y<h.touchesStart.y||Math.floor(h.maxY)===Math.floor(h.startY)&&h.touchesCurrent.y>h.touchesStart.y))return h.isTouched=!1,void E()}t.cancelable&&t.preventDefault(),t.stopPropagation(),clearTimeout(f),e.touchEventsData.preventTouchMoveFromPointerMove=!0,f=setTimeout(()=>{e.destroyed||E()}),h.isMoved=!0;const a=(i.scale-s)/(p.maxRatio-e.params.zoom.minRatio),{originX:c,originY:d}=p;h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX+a*(h.width-2*c),h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY+a*(h.height-2*d),h.currentX<h.minX&&(h.currentX=h.minX+1-(h.minX-h.currentX+1)**.8),h.currentX>h.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentY<h.minY&&(h.currentY=h.minY+1-(h.minY-h.currentY+1)**.8),h.currentY>h.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=h.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=h.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(h.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(h.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(h.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(h.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=h.touchesCurrent.x,m.prevPositionY=h.touchesCurrent.y,m.prevTime=Date.now(),p.imageWrapEl.style.transform="translate3d(".concat(h.currentX,"px, ").concat(h.currentY,"px,0)")}function C(){const t=e.zoom;p.slideEl&&e.activeIndex!==e.slides.indexOf(p.slideEl)&&(p.imageEl&&(p.imageEl.style.transform="translate3d(0,
20,0) scale(1)"),p.imageWrapEl&&(p.imageWrapEl.style.transform="translate3d(0,0,0)"),p.slideEl.classList.remove("".concat(e.params.zoom.zoomedSlideClass)),t.scale=1,s=1,p.slideEl=void 0,p.imageEl=void 0,p.imageWrapEl=void 0,p.originX=0,p.originY=0)}function T(e){if(s<=1||!p.imageWrapEl)return;if(!y(e)||!w(e))return;const t=o.getComputedStyle(p.imageWrapEl).transform,n=new o.DOMMatrix(t);if(!c)return c=!0,d.x=e.clientX,d.y=e.clientY,h.startX=n.e,h.startY=n.f,h.width=p.imageEl.offsetWidth||p.imageEl.clientWidth,h.height=p.imageEl.offsetHeight||p.imageEl.clientHeight,p.slideWidth=p.slideEl.offsetWidth,void(p.slideHeight=p.slideEl.offsetHeight);const i=-3*(e.clientX-d.x),r=-3*(e.clientY-d.y),a=h.width*s,l=h.height*s,u=p.slideWidth,m=p.slideHeight,f=Math.min(u/2-a/2,0),g=-f,b=Math.min(m/2-l/2,0),v=-b,x=Math.max(Math.min(h.startX+i,g),f),k=Math.max(Math.min(h.startY+r,v),b);p.imageWrapEl.style.transitionDuration="0ms",p.imageWrapEl.style.transform="translate3d(".concat(x,"px, ").concat(k,"px, 0)"),d.x=e.clientX,d.y=e.clientY,h.startX=x,h.startY=k,h.currentX=x,h.currentY=k}function I(t){const n=e.zoom,i=e.params.zoom;if(!p.slideEl){t&&t.target&&(p.slideEl=t.target.closest(".".concat(e.params.slideClass,", swiper-slide"))),p.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?p.slideEl=$6(e.slidesEl,".".concat(e.params.slideActiveClass))[0]:p.slideEl=e.slides[e.activeIndex]);let n=p.slideEl.querySelector(".".concat(i.containerClass));n&&(n=n.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=n,p.imageWrapEl=n?Q6(p.imageEl,".".concat(i.containerClass))[0]:void 0}if(!p.imageEl||!p.imageWrapEl)return;let r,a,l,c,d,u,m,f,g,b,y,w,x,k,_,E,S,C;p.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),p.slideEl.classList.add("".concat(i.zoomedSlideClass)),void 0===h.touchesStart.x&&t?(r=t.pageX,a=t.pageY):(r=h.touchesStart.x,a=h.touchesStart.y);const T=s,I="number"==typeof t?t:null;1===s&&I&&(r=void 0,a=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0);const A=v();n.scale=I||A,s=I||A,!t||1===s&&I?(m=0,f=0):(S=p.slideEl.offsetWidth,C=p.slideEl.offsetHeight,l=K6(p.slideEl).left+o.scrollX,c=K6(p.slideEl).top+o.scrollY,d=l+S/2-r,u=c+C/2-a,g=p.imageEl.offsetWidth||p.imageEl.clientWidth,b=p.imageEl.offsetHeight||p.imageEl.clientHeight,y=g*n.scale,w=b*n.scale,x=Math.min(S/2-y/2,0),k=Math.min(C/2-w/2,0),_=-x,E=-k,T>0&&I&&"number"==typeof h.currentX&&"number"==typeof h.currentY?(m=h.currentX*n.scale/T,f=h.currentY*n.scale/T):(m=d*n.scale,f=u*n.scale),m<x&&(m=x),m>_&&(m=_),f<k&&(f=k),f>E&&(f=E)),I&&1===n.scale&&(p.originX=0,p.originY=0),h.currentX=m,h.currentY=f,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform="translate3d(".concat(m,"px, ").concat(f,"px,0)"),p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform="translate3d(0,0,0) scale(".concat(n.scale,")")}function A(){const t=e.zoom,n=e.params.zoom;if(!p.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?p.slideEl=$6(e.slidesEl,".".concat(e.params.slideActiveClass))[0]:p.slideEl=e.slides[e.activeIndex];let t=p.slideEl.querySelector(".".concat(n.containerClass));t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),p.imageEl=t,p.imageWrapEl=t?Q6(p.imageEl,".".concat(n.containerClass))[0]:void 0}p.imageEl&&p.imageWrapEl&&(p.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,s=1,h.currentX=void 0,h.currentY=void 0,h.touchesStart.x=void 0,h.touchesStart.y=void 0,p.imageWrapEl.style.transitionDuration="300ms",p.imageWrapEl.style.transform="translate3d(0,0,0)",p.imageEl.style.transitionDuration="300ms",p.imageEl.style.transform="translate3d(0,0,0) scale(1)",p.slideEl.classList.remove("".concat(n.zoomedSlideClass)),p.slideEl=void 0,p.originX=0,p.originY=0,e.params.zoom.panOnMouseMove&&(d={x:0,y:0},c&&(c=!1,h.startX=0,h.startY=0)))}function P(t){const n=e.zoom;n.scale&&1!==n.scale?A():I(t)}function O(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function R(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const{passiveListener:n,activeListenerWithCapture:i}=O();e.wrapperEl.addEventListener("pointerdown",x,n),e.wrapperEl.addEventListener("pointermove",k,i),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.addEventListener(t,_,n)}),e.wrapperEl.addEventListener("pointermove",S,i)}function L(){const t=e.zoom;if(!t.enabled)return;t.enabled=!1;const{passiveListener:n,activeListenerWithCapture:i}=O();e.wrapperEl.removeEventListener("pointerdown",x,n),e.wrapperEl.removeEventListener("pointermove",k,i),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.removeEventListener(t,_,n)}),e.wrapperEl.removeEventListener("pointermove",S,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=p.imageEl,n=p.slideEl;i("zoomChange",e,t,n)}g=e}}),n("init",()=>{e.params.zoom.enabled&&R()}),n("destroy",()=>{L()}),n("touchStart",(t,n)=>{e.zoom.enabled&&function(t){const n=e.device;if(!p.imageEl)return;if(h.isTouched)return;n.android&&t.cancelable&&t.preventDefault(),h.isTouched=!0;const i=u.length>0?u[0]:t;h.touchesStart.x=i.pageX,h.touchesStart.y=i.pageY}(n)}),n("touchEnd",(t,n)=>{e.zoom.enabled&&function(){const t=e.zoom;if(u.length=0,!p.imageEl)return;if(!h.isTouched||!h.isMoved)return h.isTouched=!1,void(h.isMoved=!1);h.isTouched=!1,h.isMoved=!1;let n=300,i=300;const o=m.x*n,r=h.currentX+o,a=m.y*i,s=h.currentY+a;0!==m.x&&(n=Math.abs((r-h.currentX)/m.x)),0!==m.y&&(i=Math.abs((s-h.currentY)/m.y));const l=Math.max(n,i);h.currentX=r,h.currentY=s;const c=h.width*t.scale,d=h.height*t.scale;h.minX=Math.min(p.slideWidth/2-c/2,0),h.maxX=-h.minX,h.minY=Math.min(p.slideHeight/2-d/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),p.imageWrapEl.style.transitionDuration="".concat(l,"ms"),p.imageWrapEl.style.transform="translate3d(".concat(h.currentX,"px, ").concat(h.currentY,"px,0)")}()}),n("doubleTap",(t,n)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&P(n)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&C()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&C()}),Object.assign(e.zoom,{enable:R,disable:L,in:I,out:A,toggle:P})},function({swiper:e,extendParams:t,on:n}){function i(e,t){const n=function(){let e,t,n;return(i,o)=>{for(t=-1,e=i.length;e-t>1;)n=e+t>>1,i[n]<=o?t=n:e=n;return e}}();let i,o;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(o=n(this.x,e),i=o-1,(e-this.x[i])*(this.y[o]-this.y[i])/(this.x[o]-this.x[i])+this.y[i]):0},this}function o(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},n("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof e.params.controller.control||e.params.controller.control instanceof HTMLElement)){return void("string"==typeof e.params.controller.control?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEac
2h(t=>{if(e.controller.control||(e.controller.control=[]),t&&t.swiper)e.controller.control.push(t.swiper);else if(t){const n="".concat(e.params.eventsPrefix,"init"),i=o=>{e.controller.control.push(o.detail[0]),e.update(),t.removeEventListener(n,i)};t.addEventListener(n,i)}})}e.controller.control=e.params.controller.control}),n("update",()=>{o()}),n("resize",()=>{o()}),n("observerUpdate",()=>{o()}),n("setTranslate",(t,n,i)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTranslate(n,i)}),n("setTransition",(t,n,i)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTransition(n,i)}),Object.assign(e.controller,{setTranslate:function(t,n){const o=e.controller.control;let r,a;const s=e.constructor;function l(t){if(t.destroyed)return;const n=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline=e.params.loop?new i(e.slidesGrid,t.slidesGrid):new i(e.snapGrid,t.snapGrid)}(t),a=-e.controller.spline.interpolate(-n)),a&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),a=(n-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(a=t.maxTranslate()-a),t.updateProgress(a),t.setTranslate(a,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(o))for(let e=0;e<o.length;e+=1)o[e]!==n&&o[e]instanceof s&&l(o[e]);else o instanceof s&&n!==o&&l(o)},setTransition:function(t,n){const i=e.constructor,o=e.controller.control;let r;function a(n){n.destroyed||(n.setTransition(t,e),0!==t&&(n.transitionStart(),n.params.autoHeight&&j6(()=>{n.updateAutoHeight()}),e3(n.wrapperEl,()=>{o&&n.transitionEnd()})))}if(Array.isArray(o))for(r=0;r<o.length;r+=1)o[r]!==n&&o[r]instanceof i&&a(o[r]);else o instanceof i&&n!==o&&a(o)}})},function({swiper:e,extendParams:t,on:n}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i,o,r=null,a=(new Date).getTime();function s(e){const t=r;0!==t.length&&o3(t,e)}function l(e){(e=n3(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function c(e){(e=n3(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function d(e,t){(e=n3(e)).forEach(e=>{e.setAttribute("role",t)})}function u(e,t){(e=n3(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function p(e,t){(e=n3(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function h(e){(e=n3(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function m(e){(e=n3(e)).forEach(e=>{e.removeAttribute("aria-disabled")})}function f(t){if(13!==t.keyCode&&32!==t.keyCode)return;const n=e.params.a11y,i=t.target;if(!e.pagination||!e.pagination.el||i!==e.pagination.el&&!e.pagination.el.contains(t.target)||t.target.matches(j3(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=n3(e.navigation.prevEl);n3(e.navigation.nextEl).includes(i)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?s(n.lastSlideMessage):s(n.nextSlideMessage)),t.includes(i)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?s(n.firstSlideMessage):s(n.prevSlideMessage))}e.pagination&&i.matches(j3(e.params.pagination.bulletClass))&&i.click()}}function g(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function b(){return g()&&e.params.pagination.clickable}const v=(e,t,n)=>{l(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",f)),p(e,n)},y=t=>
2{o&&o!==t.target&&!o.contains(t.target)&&(i=!0),e.a11y.clicked=!0},w=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},x=e=>{a=(new Date).getTime()},k=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus)return;if((new Date).getTime()-a<100)return;const n=t.target.closest(".".concat(e.params.slideClass,", swiper-slide"));if(!n||!e.slides.includes(n))return;o=n;const r=e.virtual&&e.params.virtual.enabled,s=(r?parseInt(n.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(n))===e.activeIndex,l=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(n);s||l||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{i||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):r?e.slideTo(e.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(n)),0),i=!1)}))},_=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&u(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&d(e.slides,t.slideRole);const n=e.slides.length;t.slideLabelMessage&&e.slides.forEach((i,o)=>{const r=e.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):o;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,n))})},E=()=>{const t=e.params.a11y;e.el.append(r);const n=e.el;t.containerRoleDescriptionMessage&&u(n,t.containerRoleDescriptionMessage),t.containerMessage&&p(n,t.containerMessage),t.containerRole&&d(n,t.containerRole);const i=e.wrapperEl,o=t.id||i.getAttribute("id")||"swiper-wrapper-".concat(function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16));var a;if(a=o,n3(i).forEach(e=>{e.setAttribute("id",a)}),t.wrapperLiveRegion){!function(e,t){(e=n3(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(i,e.params.autoplay&&e.params.autoplay.enabled?"off":"polite")}_();let{nextEl:s,prevEl:l}=e.navigation?e.navigation:{};if(s=n3(s),l=n3(l),s&&s.forEach(e=>v(e,0,t.nextSlideMessage)),l&&l.forEach(e=>v(e,0,t.prevSlideMessage)),b()){n3(e.pagination.el).forEach(e=>{e.addEventListener("keydown",f)})}D6().addEventListener("visibilitychange",x),e.el.addEventListener("focus",k,!0),e.el.addEventListener("pointerdown",y,!0),e.el.addEventListener("pointerup",w,!0)};n("beforeInit",()=>{r=X6("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&E()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&_()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:n}=e.navigation;n&&(e.isBeginning?(h(n),c(n)):(m(n),l(n))),t&&(e.isEnd?(h(t),c(t)):(m(t),l(t)))}()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;g()&&e.pagination.bullets.forEach(n=>{e.params.pagination.clickable&&(l(n),e.params.pagination.renderBullet||(d(n,"button"),p(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,Z6(n)+1)))),n.matches(j3(e.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),n("destroy",()=>{e.params.a11y.enabled&&function(){r&&r.remove();let{nextEl:t,prevEl:n}=e.navigation?e.navigation:{};t=n3(t),n=n3(n),t&&t.forEach(e=>e.removeEventListener("keydown",f)),n&&n.forEach(e=>e.removeEventListener("keydown",f)),b()&&n3(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",f)});D6().removeEventListener("visibilitychange",x),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",k,!0),e.el.removeEventListener("pointerdown",y,!0),e.el.removeEventListener("pointerup",w,!0))}()})},function({swiper:e,extendParams:t,on:n}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,o={};const r=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=e=>{const t=M6();let n;n=e?new URL(e):t.location;const i=n.pathname.slice(1).split("/").filter(e=>""!==e),o=i.length;return{key:i[o-2],value:i[o-1]}},s=(t,n)=>{const o=M6();if(!i||!e.params.history.enabled)return;let a;a=e.params.url?new URL(e.params.url):o.location;const s=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector('[data-swiper-slide-index="'.concat(n,'"]')):e.slides[n];let l=r(s.getAttribute("data-history"));if(e.params.history.root.length>0){let n=e.params.history.root;"/"===n[n.length-1]&&(n=n.slice(0,n.length-1)),l="".concat(n,"/").concat(t?"".concat(t,"/"):"").concat(l)}else a.pathname.includes(t)||(l="".concat(t?"".concat(t,"/"):"").concat(l));e.params.history.keepQuery&&(l+=a.search);const c=o.history.state;c&&c.value===l||(e.params.history.replaceState?o.history.replaceState({value:l},null,l):o.history.pushState({value:l},null,l))},l=(t,n,i)=>{if(n)for(let o=0,a=e.slides.length;o<a;o+=1){const a=e.slides[o];if(r(a.getAttribute("data-history"))===n){const n=e.getSlideIndex(a);e.slideTo(n,t,i)}}else e.slideTo(0,t,i)},c=()=>{o=a(e.params.url),l(e.params.speed,o.value,!1)};n("init",()=>{e.params.history.enabled&&(()=>{const t=M6();
2if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);i=!0,o=a(e.params.url),o.key||o.value?(l(0,o.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c)):e.params.history.replaceState||t.addEventListener("popstate",c)}})()}),n("destroy",()=>{e.params.history.enabled&&(()=>{const t=M6();e.params.history.replaceState||t.removeEventListener("popstate",c)})()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{i&&s(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{i&&e.params.cssMode&&s(e.params.history.key,e.activeIndex)})},function({swiper:e,extendParams:t,emit:n,on:i}){let o=!1;const r=D6(),a=M6();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(t,n){if(e.virtual&&e.params.virtual.enabled){const t=e.slides.find(e=>e.getAttribute("data-hash")===n);if(!t)return 0;return parseInt(t.getAttribute("data-swiper-slide-index"),10)}return e.getSlideIndex($6(e.slidesEl,".".concat(e.params.slideClass,'[data-hash="').concat(n,'"], swiper-slide[data-hash="').concat(n,'"]'))[0])}}});const s=()=>{n("hashChange");const t=r.location.hash.replace("#",""),i=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector('[data-swiper-slide-index="'.concat(e.activeIndex,'"]')):e.slides[e.activeIndex];if(t!==(i?i.getAttribute("data-hash"):"")){const n=e.params.hashNavigation.getSlideIndex(e,t);if(void 0===n||Number.isNaN(n))return;e.slideTo(n)}},l=()=>{if(!o||!e.params.hashNavigation.enabled)return;const t=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector('[data-swiper-slide-index="'.concat(e.activeIndex,'"]')):e.slides[e.activeIndex],i=t?t.getAttribute("data-hash")||t.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,"#".concat(i)||""),n("hashSet")):(r.location.hash=i||"",n("hashSet"))};i("init",()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;o=!0;const t=r.location.hash.replace("#","");if(t){const n=0,i=e.params.hashNavigation.getSlideIndex(e,t);e.slideTo(i||0,n,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",s)})()}),i("destroy",()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",s)}),i("transitionEnd _freeModeNoMomentumRelease",()=>{o&&l()}),i("slideChange",()=>{o&&e.params.cssMode&&l()})},function({swiper:e,extendParams:t,on:n,emit:i,params:o}){let r,a;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,l,c,d,u,p,h,m=o&&o.autoplay?o.autoplay.delay:3e3,f=o&&o.autoplay?o.autoplay.delay:3e3,g=(new Date).getTime();function b(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),h||t.detail&&t.detail.bySwiperTouchMove||E())}const v=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?l=!0:l&&(f=s,l=!1);const t=e.autoplay.paused?s:g+f-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/m),a=requestAnimationFrame(()=>{v()})},y=()=>{let t=e.params.autoplay.delay;const n=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],!t)return;return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(n)&&n>0&&(t=n),t},w=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),v();let n=t;void 0===n&&(n=y(),m=n,f=n),s=n;const o=e.params.speed,l=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(o,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,o,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(o,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,o,!0,!0),i("autoplay")),e.params.cssMode&&(g=(new Date).getTime(),requestAnimationFrame(()=>{w()})))};return n>0?(clearTimeout(r),r=setTimeout(()=>{l()},n)):requestAnimationFrame(()=>{l()}),n},x=()=>{g=(new Date).getTime(),e.autoplay.running=!0,w(),i("autoplayStart")},k=()=>
2{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),i("autoplayStop")},_=(t,n)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(p=!0);const o=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):E()};if(e.autoplay.paused=!0,n)return void o();const a=s||e.params.autoplay.delay;s=a-((new Date).getTime()-g),e.isEnd&&s<0&&!e.params.loop||(s<0&&(s=0),o())},E=()=>{e.isEnd&&s<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(g=(new Date).getTime(),p?(p=!1,w(s)):w(),e.autoplay.paused=!1,i("autoplayResume"))},S=()=>{if(e.destroyed||!e.autoplay.running)return;const t=D6();"hidden"===t.visibilityState&&(p=!0,_(!0)),"visible"===t.visibilityState&&E()},C=t=>{"mouse"===t.pointerType&&(p=!0,h=!0,e.animating||e.autoplay.paused||_(!0))},T=t=>{"mouse"===t.pointerType&&(h=!1,e.autoplay.paused&&E())};n("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",T)),D6().addEventListener("visibilitychange",S),x())}),n("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",T)),D6().removeEventListener("visibilitychange",S),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(d||p)&&E()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():_(!0,!0)}),n("beforeTransitionStart",(t,n,i)=>{!e.destroyed&&e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?_(!0,!0):k())}),n("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?k():(c=!0,d=!1,p=!1,u=setTimeout(()=>{p=!0,d=!0,_(!0)},200)))}),n("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(u),clearTimeout(r),e.params.autoplay.disableOnInteraction)return d=!1,void(c=!1);d&&e.params.cssMode&&E(),d=!1,c=!1}}),n("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(s=y(),m=y())}),Object.assign(e.autoplay,{start:x,stop:k,pause:_,resume:E})},function({swiper:e,extendParams:t,on:n}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,o=!1;function r(){const t=e.thumbs.swiper;return!(!t||t.destroyed)&&(t.params.virtual&&t.params.virtual.enabled)}function a(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const n=t.clickedIndex,i=t.clickedSlide;if(i&&i.classList.contains(e.params.thumbs.slideThumbActiveClass))return;if(null==n)return;let o;o=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):n,e.params.loop?e.slideToLoop(o):e.slideTo(o)}function s(){const{thumbs:t}=e.params;if(i)return!1;i=!0;const n=e.constructor;if(t.swiper instanceof n){if(t.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(V6(t.swiper)){const i=Object.assign({},t.swiper);Object.assign(i,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new n(i),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),r()&&e.thumbs.swiper.on("virtualUpdate",()=>{l(!1,{autoScroll:!1})}),!0}function l(t,n){var i;const o=e.thumbs.swiper;if(!o||o.destroyed)return;let a=1;const s=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(a=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(a=1),a=Math.floor(a),o.slides.forEach(e=>e.classList.remove(s)),o.params.loop||r())for(let r=0;r<a;r+=1)$6(o.slidesEl,'[data-swiper-slide-index="'.concat(e.realIndex+r,'"]')).forEach(e=>{e.classList.add(s)});else for(let r=0;r<a;r+=1)o.slides[e.realIndex+r]&&o.slides[e.realIndex+r].classList.add(s);(null==(i=null==n?void 0:n.autoScroll)||i)&&function(t){const n=e.thumbs.swiper;if(!n||n.destroyed)return;const i="auto"===n.params.slidesPerView?n.slidesPerViewDynamic():n.params.slidesPerView,o=e.params.thumbs.autoScrollOffset,r=o&&!n.params.loop;if(e.realIndex!==n.realIndex||r){const a=n.activeIndex;let s,l;if(n.params.loop){const t=n.slides.find(t=>t.getAttribute("data-swiper-slide-index")==="".concat(e.realIndex));s=n.slides.indexOf(t),l=e.activeIndex>e.previousIndex?"next":"prev"}else s=e.realIndex,l=s>e.previousIndex?"next":"prev";r&&(s+="next"===l?o:-1*o),n.visibleSlidesIndexes&&n.visibleSlidesIndexes.indexOf(s)<0&&(n.params.centeredSlides?s=s>a?s-Math.floor(i/2)+1:s+Math.floor(i/2)-1:s>a&&n.params.slidesPerGroup,n.slideTo(s,t))}}(t?0:void 0)}e.thumbs={swiper:null},n("beforeInit",()=>{const{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const n=D6(),i=()=>{const i="string"==typeof t.swiper?n.querySelector(t.swiper):t.swiper;if(i&&i.swiper)t.swiper=i.swiper,s(),l(!0);else if(i){const n="".concat(e.params.eventsPrefix,"init"),o=r=>{t.swiper=r.detail[0],i.removeEventListener(n,o),s(),l(!0),t.swiper.update(
2),e.update()};i.addEventListener(n,o)}return i},o=()=>{if(e.destroyed)return;i()||requestAnimationFrame(o)};requestAnimationFrame(o)}else s(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(t,n)=>{const i=e.thumbs.swiper;i&&!i.destroyed&&i.setTransition(n)}),n("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&o&&t.destroy()}),Object.assign(e.thumbs,{init:s,update:l})},function({swiper:e,extendParams:t,emit:n,once:i}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;const{touchEventsData:t,touches:n}=e;0===t.velocities.length&&t.velocities.push({position:n[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:n[e.isHorizontal()?"currentX":"currentY"],time:B6()})},onTouchEnd:function({currentPos:t}){if(e.params.cssMode)return;const{params:o,wrapperEl:r,rtlTranslate:a,snapGrid:s,touchEventsData:l}=e,c=B6()-l.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<s.length?e.slideTo(s.length-1):e.slideTo(e.slides.length-1);else{if(o.freeMode.momentum){if(l.velocities.length>1){const t=l.velocities.pop(),n=l.velocities.pop(),i=t.position-n.position,r=t.time-n.time;e.velocity=i/r,e.velocity/=2,Math.abs(e.velocity)<o.freeMode.minimumVelocity&&(e.velocity=0),(r>150||B6()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=o.freeMode.momentumVelocityRatio,l.velocities.length=0;let t=1e3*o.freeMode.momentumRatio;const c=e.velocity*t;let d=e.translate+c;a&&(d=-d);let u,p=!1;const h=20*Math.abs(e.velocity)*o.freeMode.momentumBounceRatio;let m;if(d<e.maxTranslate())o.freeMode.momentumBounce?(d+e.maxTranslate()<-h&&(d=e.maxTranslate()-h),u=e.maxTranslate(),p=!0,l.allowMomentumBounce=!0):d=e.maxTranslate(),o.loop&&o.centeredSlides&&(m=!0);else if(d>e.minTranslate())o.freeMode.momentumBounce?(d-e.minTranslate()>h&&(d=e.minTranslate()+h),u=e.minTranslate(),p=!0,l.allowMomentumBounce=!0):d=e.minTranslate(),o.loop&&o.centeredSlides&&(m=!0);else if(o.freeMode.sticky){let t;for(let e=0;e<s.length;e+=1)if(s[e]>-d){t=e;break}d=Math.abs(s[t]-d)<Math.abs(s[t-1]-d)||"next"===e.swipeDirection?s[t]:s[t-1],d=-d}if(m&&i("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(t=a?Math.abs((-d-e.translate)/e.velocity):Math.abs((d-e.translate)/e.velocity),o.freeMode.sticky){const n=Math.abs((a?-d:d)-e.translate),i=e.slidesSizesGrid[e.activeIndex];t=n<i?o.speed:n<2*i?1.5*o.speed:2.5*o.speed}}else if(o.freeMode.sticky)return void e.slideToClosest();o.freeMode.momentumBounce&&p?(e.updateProgress(u),e.setTransition(t),e.setTranslate(d),e.transitionStart(!0,e.swipeDirection),e.animating=!0,e3(r,()=>{e&&!e.destroyed&&l.allowMomentumBounce&&(n("momentumBounce"),e.setTransition(o.speed),setTimeout(()=>{e.setTranslate(u),e3(r,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(d),e.setTransition(t),e.setTranslate(d),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,e3(r,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(d),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(o.freeMode.sticky)return void e.slideToClosest();o.freeMode&&n("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||c>=o.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function({swiper:e,extendParams:t,on:n}){let i,o,r,a;t({grid:{rows:1,fill:"column"}});const s=()=>{let t=e.params.spaceBetween;return"string"==typeof t&&t.indexOf("%")>=0?t=parseFloat(t.replace("%",""))/100*e.size:"string"==typeof t&&(t=parseFloat(t)),t};n("init",()=>{a=e.params.grid&&e.params.grid.rows>1}),n("update",()=>{const{params:t,el:n}=e,i=t.grid&&t.grid.rows>1;a&&!i?(n.classList.remove("".concat(t.containerModifierClass,"grid"),"".concat(t.containerModifierClass,"grid-column")),r=1,e.emitContainerClasses()):!a&&i&&(n.classList.add("".concat(t.containerModifierClass,"grid")),"column"===t.grid.fill&&n.classList.add("".concat(t.containerModifierClass,"grid-column")),e.emitContainerClasses()),a=i}),e.grid={initSlides:t=>{const{slidesPerView:n}=e.params,{rows:a,fill:s}=e.params.grid,l=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:t.length;r=Math.floor(l/a),i=Math.floor(l/a)===l/a?l:Math.ceil(l/a)*a,"auto"!==n&&"row"===s&&(i=Math.max(i,Math.floor(n)*a)),o=i/a},unsetSlides:()=>
2{e.slides&&e.slides.forEach(t=>{t.swiperSlideGridSet&&(t.style.height="",t.style[e.getDirectionLabel("margin-top")]="")})},updateSlide:(t,n,a)=>{const{slidesPerGroup:l}=e.params,c=s(),{rows:d,fill:u}=e.params.grid,p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:a.length;let h,m,f;if("row"===u&&l>1){const e=Math.floor(t/(l*d)),o=t-d*l*e,r=0===e?l:Math.min(Math.ceil((p-e*d*l)/d),l);f=Math.floor(o/r),m=o-f*r+e*l,h=m+f*i/d,n.style.order=h}else"column"===u?(m=Math.floor(t/d),f=t-m*d,(m>r||m===r&&f===d-1)&&(f+=1,f>=d&&(f=0,m+=1))):(f=Math.floor(t/o),m=t-f*o);n.row=f,n.column=m,n.style.height="calc((100% - ".concat((d-1)*c,"px) / ").concat(d,")"),n.style[e.getDirectionLabel("margin-top")]=0!==f?c&&"".concat(c,"px"):"",n.swiperSlideGridSet=!0},updateWrapperSize:(t,n)=>{const{centeredSlides:o,roundLengths:r}=e.params,a=s(),{rows:l}=e.params.grid;if(e.virtualSize=(t+a)*i,e.virtualSize=Math.ceil(e.virtualSize/l)-a,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]="".concat(e.virtualSize+a,"px")),o){const t=[];for(let i=0;i<n.length;i+=1){let o=n[i];r&&(o=Math.floor(o)),n[i]<e.virtualSize+n[0]&&t.push(o)}n.splice(0,n.length),n.push(...t)}}}},function({swiper:e}){Object.assign(e,{appendSlide:B3.bind(e),prependSlide:F3.bind(e),addSlide:V3.bind(e),removeSlide:U3.bind(e),removeAllSlides:q3.bind(e)})},function({swiper:e,extendParams:t,on:n}){t({fadeEffect:{crossFade:!1}}),H3({effect:"fade",swiper:e,on:n,setTranslate:()=>{const{slides:t}=e;e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides[n];let i=-t.swiperSlideOffset;e.params.virtualTranslate||(i-=e.translate);let o=0;e.isHorizontal()||(o=i,i=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),a=W3(0,t);a.style.opacity=r,a.style.transform="translate3d(".concat(i,"px, ").concat(o,"px, 0px)")}},setTransition:t=>{const n=e.slides.map(e=>G6(e));n.forEach(e=>{e.style.transitionDuration="".concat(t,"ms")}),G3({swiper:e,duration:t,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:n}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,n)=>{let i=n?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),o=n?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");i||(i=X6("div","swiper-slide-shadow-cube swiper-slide-shadow-".concat(n?"left":"top").split(" ")),e.append(i)),o||(o=X6("div","swiper-slide-shadow-cube swiper-slide-shadow-".concat(n?"right":"bottom").split(" ")),e.append(o)),i&&(i.style.opacity=Math.max(-t,0)),o&&(o.style.opacity=Math.max(t,0))};H3({effect:"cube",swiper:e,on:n,setTranslate:()=>{const{el:t,wrapperEl:n,slides:o,width:r,height:a,rtlTranslate:s,size:l,browser:c}=e,d=i3(e),u=e.params.cubeEffect,p=e.isHorizontal(),h=e.virtual&&e.params.virtual.enabled;let m,f=0;u.shadow&&(p?(m=e.wrapperEl.querySelector(".swiper-cube-shadow"),m||(m=X6("div","swiper-cube-shadow"),e.wrapperEl.append(m)),m.style.height="".concat(r,"px")):(m=t.querySelector(".swiper-cube-shadow"),m||(m=X6("div","swiper-cube-shadow"),t.append(m))));for(let e=0;e<o.length;e+=1){const t=o[e];let n=e;h&&(n=parseInt(t.getAttribute("data-swiper-slide-index"),10));let r=90*n,a=Math.floor(r/360);s&&(r=-r,a=Math.floor(-r/360));const c=Math.max(Math.min(t.progress,1),-1);let m=0,g=0,b=0;n%4==0?(m=4*-a*l,b=0):(n-1)%4==0?(m=0,b=4*-a*l):(n-2)%4==0?(m=l+4*a*l,b=l):(n-3)%4==0&&(m=-l,b=3*l+4*l*a),s&&(m=-m),p||(g=m,m=0);const v="rotateX(".concat(d(p?0:-r),"deg) rotateY(").concat(d(p?r:0),"deg) translate3d(").concat(m,"px, ").concat(g,"px, ").concat(b,"px)");c<=1&&c>-1&&(f=90*n+90*c,s&&(f=90*-n-90*c)),t.style.transform=v,u.slideShadows&&i(t,c,p)}if(n.style.transformOrigin="50% 50% -".concat(l/2,"px"),n.style["-webkit-transform-origin"]="50% 50% -".concat(l/2,"px"),u.shadow)if(p)m.style.transform="translate3d(0px, ".concat(r/2+u.shadowOffset,"px, ").concat(-r/2,"px) rotateX(89.99deg) rotateZ(0deg) scale(").concat(u.shadowScale,")");else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),n=u.shadowScale,i=u.shadowScale/t,o=u.shadowOffset;m.style.transform="scale3d(".concat(n,", 1, ").concat(i,") translate3d(0px, ").concat(a/2+o,"px, ").concat(-a/2/i,"px) rotateX(-89.99deg)")}const g=(c.isSafari||c.isWebView)&&c.needPerspectiveFix?-l/2:0;n.style.transform="translate3d(0px,0,".concat(g,"px) rotateX(").concat(d(e.isHorizontal()?0:f),"deg) rotateY(").concat(d(e.isHorizontal()?-f:0),"deg)"),n.style.setProperty("--swiper-cube-translate-z","".concat(g,"px"))},setTransition:t=>{const{el:n,slides:i}=e;
2if(i.forEach(e=>{e.style.transitionDuration="".concat(t,"ms"),e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration="".concat(t,"ms")})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const e=n.querySelector(".swiper-cube-shadow");e&&(e.style.transitionDuration="".concat(t,"ms"))}},recreateShadows:()=>{const t=e.isHorizontal();e.slides.forEach(e=>{const n=Math.max(Math.min(e.progress,1),-1);i(e,n,t)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function({swiper:e,extendParams:t,on:n}){t({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(t,n)=>{let i=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),o=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");i||(i=$3("flip",t,e.isHorizontal()?"left":"top")),o||(o=$3("flip",t,e.isHorizontal()?"right":"bottom")),i&&(i.style.opacity=Math.max(-n,0)),o&&(o.style.opacity=Math.max(n,0))};H3({effect:"flip",swiper:e,on:n,setTranslate:()=>{const{slides:t,rtlTranslate:n}=e,o=e.params.flipEffect,r=i3(e);for(let a=0;a<t.length;a+=1){const s=t[a];let l=s.progress;e.params.flipEffect.limitRotation&&(l=Math.max(Math.min(s.progress,1),-1));const c=s.swiperSlideOffset;let d=-180*l,u=0,p=e.params.cssMode?-c-e.translate:-c,h=0;e.isHorizontal()?n&&(d=-d):(h=p,p=0,u=-d,d=0),s.style.zIndex=-Math.abs(Math.round(l))+t.length,o.slideShadows&&i(s,l);const m="translate3d(".concat(p,"px, ").concat(h,"px, 0px) rotateX(").concat(r(u),"deg) rotateY(").concat(r(d),"deg)");W3(0,s).style.transform=m}},setTransition:t=>{const n=e.slides.map(e=>G6(e));n.forEach(e=>{e.style.transitionDuration="".concat(t,"ms"),e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration="".concat(t,"ms")})}),G3({swiper:e,duration:t,transformElements:n})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(t=>{let n=t.progress;e.params.flipEffect.limitRotation&&(n=Math.max(Math.min(t.progress,1),-1)),i(t,n)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:n}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),H3({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{const{width:t,height:n,slides:i,slidesSizesGrid:o}=e,r=e.params.coverflowEffect,a=e.isHorizontal(),s=e.translate,l=a?t/2-s:n/2-s,c=a?r.rotate:-r.rotate,d=r.depth,u=i3(e);for(let e=0,p=i.length;e<p;e+=1){const t=i[e],n=o[e],s=(l-t.swiperSlideOffset-n/2)/n,p="function"==typeof r.modifier?r.modifier(s):s*r.modifier;let h=a?c*p:0,m=a?0:c*p,f=-d*Math.abs(p),g=r.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(r.stretch)/100*n);let b=a?0:g*p,v=a?g*p:0,y=1-(1-r.scale)*Math.abs(p);Math.abs(v)<.001&&(v=0),Math.abs(b)<.001&&(b=0),Math.abs(f)<.001&&(f=0),Math.abs(h)<.001&&(h=0),Math.abs(m)<.001&&(m=0),Math.abs(y)<.001&&(y=0);const w="translate3d(".concat(v,"px,").concat(b,"px,").concat(f,"px) rotateX(").concat(u(m),"deg) rotateY(").concat(u(h),"deg) scale(").concat(y,")");if(W3(0,t).style.transform=w,t.style.zIndex=1-Math.abs(Math.round(p)),r.slideShadows){let e=a?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),n=a?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=$3("coverflow",t,a?"left":"top")),n||(n=$3("coverflow",t,a?"right":"bottom")),e&&(e.style.opacity=p>0?p:0),n&&(n.style.opacity=-p>0?-p:0)}}},setTransition:t=>{e.slides.map(e=>G6(e)).forEach(e=>{e.style.transitionDuration="".concat(t,"ms"),e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e
2=>{e.style.transitionDuration="".concat(t,"ms")})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function({swiper:e,extendParams:t,on:n}){t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:"".concat(e,"px");H3({effect:"creative",swiper:e,on:n,setTranslate:()=>{const{slides:t,wrapperEl:n,slidesSizesGrid:o}=e,r=e.params.creativeEffect,{progressMultiplier:a}=r,s=e.params.centeredSlides,l=i3(e);if(s){const t=o[0]/2-e.params.slidesOffsetBefore||0;n.style.transform="translateX(calc(50% - ".concat(t,"px))")}for(let c=0;c<t.length;c+=1){const n=t[c],o=n.progress,d=Math.min(Math.max(n.progress,-r.limitProgress),r.limitProgress);let u=d;s||(u=Math.min(Math.max(n.originalProgress,-r.limitProgress),r.limitProgress));const p=n.swiperSlideOffset,h=[e.params.cssMode?-p-e.translate:-p,0,0],m=[0,0,0];let f=!1;e.isHorizontal()||(h[1]=h[0],h[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};d<0?(g=r.next,f=!0):d>0&&(g=r.prev,f=!0),h.forEach((e,t)=>{h[t]="calc(".concat(e,"px + (").concat(i(g.translate[t])," * ").concat(Math.abs(d*a),"))")}),m.forEach((e,t)=>{let n=g.rotate[t]*Math.abs(d*a);m[t]=n}),n.style.zIndex=-Math.abs(Math.round(o))+t.length;const b=h.join(", "),v="rotateX(".concat(l(m[0]),"deg) rotateY(").concat(l(m[1]),"deg) rotateZ(").concat(l(m[2]),"deg)"),y="scale(".concat(u<0?1+(1-g.scale)*u*a:1-(1-g.scale)*u*a,")"),w=u<0?1+(1-g.o
2pacity)*u*a:1-(1-g.opacity)*u*a,x="translate3d(".concat(b,") ").concat(v," ").concat(y);if(f&&g.shadow||!f){let e=n.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=$3("creative",n)),e){const t=r.shadowPerProgress?d*(1/r.limitProgress):d;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const k=W3(0,n);k.style.transform=x,k.style.opacity=w,g.origin&&(k.style.transformOrigin=g.origin)}},setTransition:t=>{const n=e.slides.map(e=>G6(e));n.forEach(e=>{e.style.transitionDuration="".concat(t,"ms"),e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration="".concat(t,"ms")})}),G3({swiper:e,duration:t,transformElements:n,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:n}){t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),H3({effect:"cards",swiper:e,on:n,setTranslate:()=>{const{slides:t,activeIndex:n,rtlTranslate:i}=e,o=e.params.cardsEffect,{startTranslate:r,isTouched:a}=e.touchEventsData,s=i?-e.translate:e.translate;for(let l=0;l<t.length;l+=1){const c=t[l],d=c.progress,u=Math.min(Math.max(d,-4),4);let p=c.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform="translateX(".concat(e.minTranslate(),"px)")),e.params.centeredSlides&&e.params.cssMode&&(p-=t[0].swiperSlideOffset);let h=e.params.cssMode?-p-e.translate:-p,m=0;const f=-100*Math.abs(u);let g=1,b=-o.perSlideRotate*u,v=o.perSlideOffset-.75*Math.abs(u);const y=e.virtual&&e.params.virtual.enabled?e.virtual.from+l:l,w=(y===n||y===n-1)&&u>0&&u<1&&(a||e.params.cssMode)&&s<r,x=(y===n||y===n+1)&&u<0&&u>-1&&(a||e.params.cssMode)&&s>r;if(w||x){const t=(1-Math.abs((Math.abs(u)-.5)/.5))**.5;b+=-28*u*t,g+=-.5*t,v+=96*t,m="".concat((o.rotate||e.isHorizontal()?-25:0)*t*Math.abs(u),"%")}if(h=u<0?"calc(".concat(h,"px ").concat(i?"-":"+"," (").concat(v*Math.abs(u),"%))"):u>0?"calc(".concat(h,"px ").concat(i?"-":"+"," (-").concat(v*Math.abs(u),"%))"):"".concat(h,"px"),!e.isHorizontal()){const e=m;m=h,h=e}const k="".concat(u<0?1+(1-g)*u:1-(1-g)*u),_="\n translate3d(".concat(h,", ").concat(m,", ").concat(f,"px)\n rotateZ(").concat(o.rotate?i?-b:b:0,"deg)\n scale(").concat(k,")\n ");if(o.slideShadows){let e=c.querySelector(".swiper-slide-shadow");e||(e=$3("cards",c)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(u)-.5)/.5,0),1))}c.style.zIndex=-Math.abs(Math.round(d))+t.length;W3(0,c).style.transform=_}},setTransition:t=>{const n=e.slides.map(e=>G6(e));n.forEach(e=>{e.style.transitionDuration="".concat(t,"ms"),e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration="".concat(t,"ms")})}),G3({swiper:e,duration:t,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}];N3.use(Y3);const X3=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function K3(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function J3(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>
2n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:K3(t[n])&&K3(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:J3(e[n],t[n]):e[n]=t[n]})}function Z3(e=""){return e.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}const Q3=e=>{if(parseFloat(e)===Number(e))return Number(e);if("true"===e)return!0;if(""===e)return!0;if("false"===e)return!1;if("null"===e)return null;if("undefined"!==e){if("string"==typeof e&&e.includes("{")&&e.includes("}")&&e.includes('"')){let t;try{t=JSON.parse(e)}catch(H9){t=e}return t}return e}},e8=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function t8(e,t,n){const i={},o={};J3(i,O3);const r=[...X3,"on"],a=r.map(e=>e.replace(/_/,""));r.forEach(t=>{t=t.replace("_",""),void 0!==e[t]&&(o[t]=e[t])});const s=[...e.attributes];return"string"==typeof t&&void 0!==n&&s.push({name:t,value:K3(n)?{...n}:n}),s.forEach(e=>{const t=e8.find(t=>e.name.startsWith("".concat(t,"-")));if(t){const n=Z3(t),i=Z3(e.name.split("".concat(t,"-"))[1]);void 0===o[n]&&(o[n]={}),!0===o[n]&&(o[n]={enabled:!0}),!1===o[n]&&(o[n]={enabled:!1}),o[n][i]=Q3(e.value)}else{const t=Z3(e.name);if(!a.includes(t))return;const n=Q3(e.value);o[t]&&e8.includes(e.name)&&!K3(n)?(o[t].constructor!==Object&&(o[t]={}),o[t].enabled=!!n):o[t]=n}}),J3(i,o),i.navigation?i.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...!0!==i.navigation?i.navigation:{}}:!1===i.navigation&&delete i.navigation,i.scrollbar?i.scrollbar={el:".swiper-scrollbar",...!0!==i.scrollbar?i.scrollbar:{}}:!1===i.scrollbar&&delete i.scrollbar,i.pagination?i.pagination={el:".swiper-pagination",...!0!==i.pagination?i.pagination:{}}:!1===i.pagination&&delete i.pagination,{params:i,passedParams:o}}const n8
vendor: 16,701 bytes, line 2
2=':host{--swiper-theme-color:#007aff}:host{display:block;margin-left:auto;margin-right:auto;position:relative;z-index:1}.swiper{display:block;height:100%;list-style:none;margin-left:auto;margin-right:auto;overflow:hidden;padding:0;position:relative;width:100%;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{box-sizing:initial;display:flex;height:100%;position:relative;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);width:100%;z-index:1}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){display:block;flex-shrink:0;height:100%;position:relative;transition-property:transform;width:100%}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){backface-visibility:hidden;transform:translateZ(0)}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-slides-offset-before);scroll-margin-inline-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-horizontal ::slotted(swiper-slide):last-child{margin-inline-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-slides-offset-before);scroll-margin-block-start:var(--swiper-slides-offset-before)}.swiper-css-mode.swiper-vertical ::slotted(swiper-slide):last-child{margin-block-end:var(--swiper-slides-offset-after)}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{height:var(--swiper-centered-offset-after);min-width:1px;width:100%}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";left:0;pointer-events:none;position:absolute;top:0}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{height:var(--swiper-virtual-size);width:1px}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{align-items:center;color:var(--swiper-navigation-color,var(--swiper-theme-color));cursor:pointer;display:flex;height:var(--swiper-navigation-size);justify-content:center;position:absolute;width:var(--swiper-navigation-size);z-index:10}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{cursor:auto;opacity:0;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next ::slotted(svg),.swiper-button-next svg,.swiper-button-prev ::slotted(svg),.swiper-button-prev svg{height:100%;object-fit:contain;transform-origin:center;width:100%;fill:currentColor;pointer-events:none}.swiper-button-lock{display:none}.swiper-button-next,.swiper-button-prev{margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-button-prev .swiper-navigation-icon,.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-next,.swiper-horizontal .swiper-button-prev,.swiper-horizontal~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{margin-left:0;margin-top:calc(0px - var(--swiper-navigation-size)/2);top:var(--swiper-navigation-top-offset,50%)}.swiper-horizontal .swiper-button-prev,.swiper-horizontal.swiper-rtl .swiper-button-next,.swiper-horizontal.swiper-rtl~.swiper-button-next,.swiper-horizontal~.swiper-button-prev{left:var(--swiper-navigation-sides-offset,4px);right:auto}.swiper-horizontal .swiper-button-next,.swiper-horizontal.swiper-rtl .swiper-button-prev,.swiper-horizontal.swiper-rtl~.swiper-button-prev,.swiper-horizontal~.swiper-button-next{left:auto;right:var(--swiper-navigation-sides-offset,4px)}.swiper-horizontal .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl .swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-next .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-horizontal~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(180deg)}.swiper-horizontal.swiper-rtl .swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-horizontal.swiper-rtl~.swiper-button-prev .swiper-navigation-icon,.swiper-horizontal.swiper-rtl~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(0deg)}.swiper-vertical .swiper-button-next,.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-next,.swiper-vertical~.swiper-button-prev{left:var(--swiper-navigation-top-offset,50%);margin-left:calc(0px - var(--swiper-navigation-size)/2);margin-top:0;right:auto}.swiper-vertical .swiper-button-prev,.swiper-vertical~.swiper-button-prev{bottom:auto;top:var(--swiper-navigation-sides-offset,4px)}.swiper-vertical .swiper-button-prev .swiper-navigation-icon,.swiper-vertical .swiper-button-prev ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-prev .swiper-navigation-icon,.swiper-vertical~.swiper-button-prev ::slotted(.swiper-navigation-icon){transform:rotate(-90deg)}.swiper-vertical .swiper-button-next,.swiper-vertical~.swiper-button-next{bottom:var(--swiper-navigation-sides-offset,4px);top:auto}.swiper-vertical .swiper-button-next .swiper-navigation-icon,.swiper-vertical .swiper-button-next ::slotted(.swiper-navigation-icon),.swiper-vertical~.swiper-button-next .swiper-navigation-icon,.swiper-vertical~.swiper-button-next ::slotted(.swiper-navigation-icon){transform:rotate(90deg)}.swiper-pagination{position:absolute;text-align:center;transform:translateZ(0);transition:opacity .3s;z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);left:0;top:var(--swiper-pagination-top,auto);width:100%}.swiper-pagination-bullets-dynamic{font-size:0;overflow:hidden}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{position:relative;transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{background:var(--swiper-pagination-bullet-inactive-color,#000);border-radius:var(--swiper-pagination-bullet-border-radius,50%);display:inline-block;height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));opacity:var(--swiper-pagination-bullet-inactive-opacity,.2);width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px))}button.swiper-pagination-bullet{appearance:none;border:none;box-shadow:none;margin:0;padding:0}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{background:var(--swiper-pagination-color,var(--swiper-theme-color));opacity:var(--swiper-pagination-bullet-opacity,1)}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{left:var(--swiper-pagination-left,auto);right:var(--swiper-pagination-right,8px);top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{display:block;margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,#00000040);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));height:100%;left:0;position:absolute;top:0;transform:scale(0);transform-origin:left top;width:100%}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0;width:100%}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{height:100%;left:0;top:0;width:var(--swiper-pagination-progressbar-size,4px)}.swiper-pagination-lock{display:none}.swiper-scrollbar{background:var(--swiper-scrollbar-bg-color,#0000001a);border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{bottom:var(--swiper-scrollbar-bottom,4px);height:var(--swiper-scrollbar-size,4px);left:var(--swiper-scrollbar-sides-offset,1%);position:absolute;top:var(--swiper-scrollbar-top,auto);width:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);z-index:50}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{height:calc(100% - var(--swiper-scrollbar-sides-offset, 1%)*2);left:var(--swiper-scrollbar-left,auto);position:absolute;right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);width:var(--swiper-scrollbar-size,4px);z-index:50}.swiper-scrollbar-drag{background:var(--swiper-scrollbar-drag-bg-color,#00000080);border-radius:var(--swiper-scrollbar-border-radius,10px);height:100%;left:0;position:relative;top:0;width:100%}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{left:0;opacity:0;pointer-events:none;position:absolute;top:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{margin:0 auto;transition-timing-function:ease-out}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-direction:column;flex-wrap:wrap}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){backface-visibility:hidden;height:100%;pointer-events:none;transform-origin:0 0;visibility:hidden;width:100%;z-index:1}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{bottom:0;height:100%;left:0;opacity:.6;position:absolute;width:100%;z-index:0}.swiper-cube .swiper-cube-shadow:before{background:#000;bottom:0;content:"";filter:blur(50px);left:0;position:absolute;right:0;top:0}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){backface-visibility:hidden;pointer-events:none;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){backface-visibility:hidden;overflow:hidden;transform-origin:center bottom}'
2;const i8="undefined"==typeof window||"undefined"==typeof HTMLElement?class{}:HTMLElement,o8=(e,t)=>{if("undefined"!=typeof CSSStyleSheet&&e.adoptedStyleSheets){const n=new CSSStyleSheet;n.replaceSync(t),e.adoptedStyleSheets=[n]}else{const n=document.createElement("style");n.rel="stylesheet",n.textContent=t,e.appendChild(n)}};class r8 extends i8{constructor(){super(),this.attachShadow({mode:"open"})}cssStyles(){return[n8,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join("\n")}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(e=>parseInt(e.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,this.rendered)if(this.slideSlots>e)for(let n=e;n<this.slideSlots;n+=1){const e=document.createElement("swiper-slide");e.setAttribute("part","slide slide-".concat(n+1));const t=document.createElement("slot");t.setAttribute("name","slide-".concat(n+1)),e.appendChild(t),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(e)}else if(this.slideSlots<e){const e=this.swiper.slides;for(let t=e.length-1;t>=0;t-=1)t>this.slideSlots&&e[t].remove()}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&o8(this.shadowRoot,e),this.cssLinks().forEach(e=>{if(this.shadowRoot.querySelector('link[href="'.concat(e,'"]')))return;const t=document.createElement("link");t.rel="stylesheet",t.href=e,this.shadowRoot.appendChild(t)});const t=document.createElement("div");t.classList.add("swiper"),t.part="container",o3(t,'\n <slot name="container-start"></slot>\n <div class="swiper-wrapper" part="wrapper">\n <slot></slot>\n '.concat(Array.from({length:this.slideSlots}).map((e,t)=>'\n <swiper-slide part="slide slide-'.concat(t,'">\n <slot name="slide-').concat(t,'"></slot>
2\n </swiper-slide>\n ')).join(""),'\n </div>\n <slot name="container-end"></slot>\n ').concat(function(e={}){return e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}(this.passedParams)?'\n <div part="button-prev" class="swiper-button-prev"><slot name="button-prev"></slot></div>\n <div part="button-next" class="swiper-button-next"><slot name="button-next"></slot></div>\n ':"","\n ").concat(function(e={}){return e.pagination&&void 0===e.pagination.el}(this.passedParams)?'\n <div part="pagination" class="swiper-pagination"></div>\n ':"","\n ").concat(function(e={}){return e.scrollbar&&void 0===e.scrollbar.el}(this.passedParams)?'\n <div part="scrollbar" class="swiper-scrollbar"></div>\n ':"","\n ")),this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){if(this.swiper&&this.swiper.initialized)return;const{params:e,passedParams:t}=t8(this);this.swiperParams=e,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new N3(this.shadowRoot.querySelector(".swiper"),{...e.virtual?{}:{observer:!0},...e,touchEventsTarget:"container",onAny:(t,...n)=>{"observerUpdate"===t&&this.calcSlideSlots();const i=e.eventsPrefix?"".concat(e.eventsPrefix).concat(t.toLowerCase()):t.toLowerCase(),o=new CustomEvent(i,{detail:n,bubbles:"hashChange"!==t,cancelable:!0});this.dispatchEvent(o)}})}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||!1!==this.init&&"false"!==this.getAttribute("init")&&this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(e,t){const{params:n,passedParams:i}=t8(this,e,t);this.passedParams=i,this.swiperParams=n,this.swiper&&this.swiper.params[e]===t||function({swiper:e,slides:t,passedParams:n,changedParams:i,nextEl:o,prevEl:r,scrollbarEl:a,paginationEl:s}){const l=i.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:c,pagination:d,navigation:u,scrollbar:p,virtual:h,thumbs:m}=e;let f,g,b,v,y,w,x,k;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&c.thumbs&&(!c.thumbs.swiper||c.thumbs.swiper.destroyed)&&(f=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||s)&&(c.pagination||!1===c.pagination)&&d&&!d.el&&(b=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||!1===c.scrollbar)&&p&&!p.el&&(v=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||o)&&(c.navigation||!1===c.navigation)&&u&&!u.prevEl&&!u.nextEl&&(y=!0);const _=t=>{e[t]&&(e[t].destroy(),"navigation"===t?(e.isElement&&(e[t].prevEl.remove(),e[t].nextEl.remove()),c[t].prevEl=void 0,c[t].nextEl=void 0,e[t].prevEl=void 0,e[t].nextEl=void 0):(e.isElement&&e[t].el.remove(),c[t].el=void 0,e[t].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!n.loop?w=!0:!c.loop&&n.loop?x=!0:k=!0),l.forEach(e=>{if(K3(c[e])&&K3(n[e]))Object.assign(c[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||_(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=n[e]:!1===t&&_(e)}}),l.includes("controller")&&!g&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&t&&h&&c.virtual.enabled?(h.slides=t,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(t&&(h.slides=t),h.update(!0)),i.includes("children")&&t&&c.loop&&(k=!0),f&&m.init()&&m.update(!0);g&&(e.controller.control=c.controller.control),b&&(!e.isElement||s&&"string"!=typeof s||((s=document.createElement("div")).classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),d.init(),d.render(),d.update()),v&&(!e.isElement||a&&"string"!=typeof a||((a=document.createElement("div")).classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),y&&(e.isElement&&(o&&"string"!=typeof o||((o=document.createElement("div")).classList.add("swiper-button-next"),o3(o,e.navigation.arrowSvg),o.part.add("button-next"),e.el.appendChild(o)),r&&"string"!=typeof r||((r=document.createElement("div")).classList.add("swiper-button-prev"),o3(r,e.
2navigation.arrowSvg),r.part.add("button-prev"),e.el.appendChild(r))),o&&(c.navigation.nextEl=o),r&&(c.navigation.prevEl=r),u.init(),u.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&e.changeDirection(n.direction,!1),(w||k)&&e.loopDestroy(),(x||k)&&e.loopCreate(),e.update()}({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Z3(e)],..."navigation"===e&&i[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{},..."pagination"===e&&i[e]?{paginationEl:".swiper-pagination"}:{},..."scrollbar"===e&&i[e]?{scrollbarEl:".swiper-scrollbar"}:{}})}attributeChangedCallback(e,t,n){this.swiper&&this.swiper.initialized&&("true"===t&&null===n&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return X3.filter(e=>e.includes("_")).map(e=>e.replace(/[A-Z]/g,e=>"-".concat(e)).replace("_","").toLowerCase())}}X3.forEach(e=>{"init"!==e&&(e=e.replace("_",""),Object.defineProperty(r8.prototype,e,{configurable:!0,get(){return(this.passedParams||{})[e]},set(t){this.passedParams||(this.passedParams={}),this.passedParams[e]=t,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(e,t)}}))});class a8 extends i8{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||""===this.getAttribute("lazy")||"true"===this.getAttribute("lazy");if(o8(this.shadowRoot,"::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:10}::slotted(.swiper-slide-shadow){background:#00000026}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(270deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(90deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(0deg,#00000080,#0000)}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(180deg,#00000080,#0000)}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s linear infinite;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid #0000;box-sizing:border-box;height:42px;left:50%;margin-left:-21px;margin-top:-21px;position:absolute;top:50%;transform-origin:50%;width:42px;z-index:10}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){backface-visibility:hidden;z-index:0}::slotted(.swiper-zoom-container){align-items:center;display:flex;height:100%;justify-content:center;text-align:center;width:100%}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-height:100%;max-width:100%;object-fit:contain}"),this.shadowRoot.appendChild(document.createElement("slot")),e){const e=document.createElement("div");e.classList.add("swiper-lazy-preloader"),e.part.add("preloader"),this.shadowRoot.appendChild(e)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}}const s8=()=>{"undefined"!=typeof window&&(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",r8),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",a8))};"undefined"!=typeof window&&(window.SwiperElementRegisterParams=e=>{X3.push(...e)});const l8={style:{display:"flex","align-items":"center"}},c8=["type","inputmode","placeholder","disabled","maxlength","value"],d8={key:0},u8=["innerHTML"],p8=Gn({__name:"single-otp-input",props:{inputType:{default:"tel"},inputmode:{default:"numeric"},value:{default:""},separator:{default:""},focus:{type:Boolean,default:!1},inputClasses:{default:""},conditionalClass:{default:""},shouldAutoFocus:{type:Boolean,default:!1},isLastChild:{type:Boolean,default:!1},placeholder:{default:""},isDisabled:{type:Boolean,default:!1}},emits:["on-change","on-keydown","on-paste","on-focus","on-blur"],setup(e,{emit:t}){const n=e,i=t,o=Ct(n.value||""),r=Ct(null),a=e=>{const t=e.target.value;return t&&t.trim().length>1?(e.clipboardData={getData:()=>t.trim()},i("on-paste",e)):i("on-change",t)},s=e=>{n.isDisabled&&e.preventDefault();const t=e||window.event,o=t.which?t.which:t.keyCode;/iPhone|iPad|iPod/.test(navigator.userAgent)||(e=>e>=48&&e<=57||e>=96&&e<=105)(o)||"letter-numeric"===n.inputType&&(e=>e>=65&&e<=90)(o)||[8,9,13,37,39,46,86].includes(o)?i("on-keydown",e):t.preventDefault()},l=e=>i("on-paste",e),c=()=>(r.value.select(),i("on-focus")),d=()=>i("on-blur"),u=kr(()=>["letter-numeric","number"].includes(n.inputType)?"text":n.inputType);return bn(()=>n.value,(e,t)=>{e!==t&&(o.value=e)}),bn(()=>n.focus,(e,t)=>{t!==e&&r.value&&n.focus&&(r.value.focus(),r.value.select())}),ui(()=>{r.value&&n.focus&&n.shouldAutoFocus&&(r.value.focus(),r.value.select())}),(e,t)=>(jo(),qo("div",l8,[Xo("input",{"data-test":"single-input",type:u.value,inputmode:e.inputmode,placeholder:e.placeholder,disabled:e.isDisabled,ref_key:"input",ref:r,min:"0",max:"9",maxlength:e.isLastChild?1:void 0,pattern:"[0-9]",value:o.value,class:Y([e.inputClasses,e.conditionalClass,{"is-complete":o.value}]),onInput:a,onKeydown:s,onPaste:l,onFocus:c,onBlur:d},null,42,c8),!e.isLastChild&&e.separator?(jo(),qo("span",d8,[Xo("span",{innerHTML:e.separator},null,8,u8)])):er("",!0)]))}}),h8={style:{display:"flex"}
2,class:"otp-input-container"},m8={key:0,autocomplete:"off",name:"hidden",type:"text",style:{display:"none"}},f8=Gn({__name:"vue3-otp-input",props:{value:{default:""},numInputs:{default:4},separator:{default:""},inputClasses:{default:""},conditionalClass:{default:()=>[]},inputType:{},inputmode:{default:"text"},shouldAutoFocus:{type:Boolean,default:!1},placeholder:{default:()=>[]},isDisabled:{type:Boolean,default:!1},shouldFocusOrder:{type:Boolean}},emits:["update:value","on-change","on-complete"],setup(e,{expose:t,emit:n}){const i=e,o=n,r=Ct(0),a=Ct([]),s=Ct([]);bn(()=>i.value,e=>{if(e.length===i.numInputs||0===a.value.length){const t=e.split("");a.value=t}},{immediate:!0});const l=()=>{r.value!==i.numInputs-1&&(r.value=-1)},c=()=>a.value.join("").length===i.numInputs?(o("update:value",a.value.join("")),o("on-complete",a.value.join(""))):"Wait until the user enters the required number of characters",d=e=>{r.value=Math.max(Math.min(i.numInputs-1,e),0)},u=()=>{d(r.value+1)},p=()=>{d(r.value-1)},h=e=>{s.value=Object.assign([],a.value),a.value[r.value]=e.toString(),s.value.join("")!==a.value.join("")&&(o("update:value",a.value.join("")),o("on-change",a.value.join("")),c())},m=e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain").slice(0,i.numInputs-r.value).split("");if("number"===i.inputType&&!t.join("").match(/^\d+$/)||"letter-numeric"===i.inputType&&!t.join("").match(/^\w+$/))return"Invalid pasted data";const n=a.value.slice(0,r.value).concat(t);return n.slice(0,i.numInputs).forEach(function(e,t){a.value[t]=e}),d(n.slice(0,i.numInputs).length),c()},f=e=>{h(e),r.value<i.numInputs-1&&u()},g=e=>{i.shouldFocusOrder&&setTimeout(()=>{const t=a.value.join("").length;e-t>=0&&(r.value=t,a.value[e]="")},100)};return t({clearInput:()=>{a.value.length>0&&(o("update:value",""),o("on-change","")),a.value=[],r.value=0},fillInput:e=>{const t=e.split("");t.length===i.numInputs&&(a.value=t,o("update:value",a.value.join("")),o("on-complete",a.value.join("")))}}),(e,t)=>(jo(),qo("div",h8,["password"===e.inputType?(jo(),qo("input",m8)):er("",!0),(jo(!0),qo(Ro,null,Ci(e.numInputs,(t,n)=>{var i,o;return jo(),Ho(p8,{key:n,focus:r.value===n,value:a.value[n],separator:e.separator,"input-type":e.inputType,inputmode:e.inputmode,"input-classes":e.inputClasses,conditionalClass:null==(i=e.conditionalClass)?void 0:i[n],"is-last-child":n===e.numInputs-1,"should-auto-focus":e.shouldAutoFocus,placeholder:null==(o=e.placeholder)?void 0:o[n],"is-disabled":e.isDisabled,onOnChange:f,onOnKeydown:e=>((e,t)=>{switch(e.keyCode){case 8:e.preventDefault(),h(""),p();break;case 46:e.preventDefault(),h("");break;case 37:e.preventDefault(),p();break;case 39:e.preventDefault(),u();break;default:g(t)}})(e,n),onOnPaste:m,onOnFocus:e=>(e=>{r.value=e})(n),onOnBlur:l},null,8,["focus","value","separator","input-type","inputmode","input-classes","conditionalClass","is-last-child","should-auto-focus","placeholder","is-disabled","onOnKeydown","onOnFocus"])}),128))]))}});var g8,b8,v8=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),y8=function(e,t,n,i){return new(n||(n=Promise))(function(o,r){function a(e){try{l(i.next(e))}catch(t){r(t)}}function s(e){try{l(i.throw(e))}catch(t){r(t)}}function l(e){e.done?o(e.value):function(e){return e instanceof n?e:new n(function(t){t(e)})}(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())})},w8=function(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(l){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,l[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&l[0]?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,i=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=t.call(e,a)}catch(s){l=[6,s],i=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([s,l])}}}
2,x8=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},k8=!1,_8=!1,E8={},S8=function(e){return"object"===(e=typeof e)||"function"===e};function C8(e){var t,n,i;return null!==(i=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==i?i:void 0}var T8,I8=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=null,r=!1,a=!1,s=[],l=function(t){for(var n=0;n<t.length;n++)o=t[n],Array.isArray(o)?l(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!S8(o))&&(o=String(o)),r&&a?s[s.length-1].$text$+=o:s.push(r?A8(null,o):o),a=r)};if(l(n),t){var c=t.className||t.class;c&&(t.class="object"!=typeof c?c:Object.keys(c).filter(function(e){return c[e]}).join(" "))}var d=A8(e,null);return d.$attrs$=t,s.length>0&&(d.$children$=s),d},A8=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null};return n},P8={},O8=function(e){return f9(e).$hostElement$},R8=function(e,t,n){var i=O8(e);return{emit:function(e){return L8(i,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}}},L8=function(e,t,n){var i=S9.ce(t,n);return e.dispatchEvent(i),i},D8=new WeakMap,N8=function(e){var t=e.$cmpMeta$,n=e.$hostElement$,i=t.$flags$,o=(t.$tagName$,function(){}),r=function(e,t){var n,i=M8(t),o=k9.get(i);if(e=11===e.nodeType?e:E9,o)if("string"==typeof o){e=e.head||e;var r=D8.get(e),a=void 0;if(r||D8.set(e,r=new Set),!r.has(i)){(a=E9.createElement("style")).innerHTML=o;var s=null!==(n=S9.$nonce$)&&void 0!==n?n:C8(E9);null!=s&&a.setAttribute("nonce",s),e.insertBefore(a,e.querySelector("link")),r&&r.add(i)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=x8(x8([],e.adoptedStyleSheets,!0),[o],!1));return i}(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&i&&(n["s-sc"]=r,n.classList.add(r+"-h")),o()},M8=function(e,t){return"sc-"+e.$tagName$},z8=function(e,t,n,i,o,r){if(n!==i){var a=v9(e,t),s=t.toLowerCase();if("class"===t){var l=e.classList,c=B8(n),d=B8(i);l.remove.apply(l,c.filter(function(e){return e&&!d.includes(e)})),l.add.apply(l,d.filter(function(e){return e&&!c.includes(e)}))}else if("style"===t){for(var u in n)i&&null!=i[u]||(u.includes("-")?e.style.removeProperty(u):e.style[u]="");for(var u in i)n&&i[u]===n[u]||(u.includes("-")?e.style.setProperty(u,i[u]):e.style[u]=i[u])}else if("ref"===t)i&&i(e);else if(a||"o"!==t[0]||"n"!==t[1]){var p=S8(i);if((a||p&&null!==i)&&!o)try{if(e.tagName.includes("-"))e[t]=i;else{var h=null==i?"":i;"list"===t?a=!1:null!=n&&e[t]==h||(e[t]=h)}}catch(m){}null==i||!1===i?!1===i&&""!==e.getAttribute(t)||e.removeAttribute(t):(!a||4&r||o)&&!p&&(i=!0===i?"":i,e.setAttribute(t,i))}else t="-"===t[2]?t.slice(3):v9(_9,s)?s.slice(2):s[2]+t.slice(3),n&&S9.rel(e,t,n,!1),i&&S9.ael(e,t,i,!1)}},j8=/\s/,B8=function(e){return e?e.split(j8):[]},F8=function(e,t,n,i){var o=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||E8,a=t.$attrs$||E8;for(i in r)i in a||z8(o,i,r[i],void 0,n,t.$flags$);for(i in a)z8(o,i,r[i],a[i],n,t.$flags$)},V8=function(e,t,n,i){var o,r,a=t.$children$[n],s=0;if(null!==a.$text$)o=a.$elm$=E9.createTextNode(a.$text$);else{if(k8||(k8="svg"===a.$tag$),o=a.$elm$=E9.createElementNS(k8?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",a.$tag$),k8&&"foreignObject"===a.$tag$&&(k8=!1),F8(null,a,k8),function(e){return null!=e}(g8)&&o["s-si"]!==g8&&o.classList.add(o["s-si"]=g8),a.$children$)for(s=0;s<a.$children$.length;++s)(r=V8(e,a,s))&&o.appendChild(r);"svg"===a.$tag$?k8=!1:"foreignObject"===o.tagName&&(k8=!0)}return o},U8=function(e,t,n,i,o,r){var a,s=e;for(s.shadowRoot&&s.tagName===b8&&(s=s.shadowRoot);o<=r;++o)i[o]&&(a=V8(null,n,o))&&(i[o].$elm$=a,s.insertBefore(a,t))},q8=function(e,t,n){for(var i=t;i<=n;++i){var o=e[i];if(o){var r=o.$elm$;G8(o),r&&r.remove()}}},H8=function(e,t){return e.$tag$===t.$tag$},W8=function(e,t){var n=t.$elm$=e.$elm$,i=e.$children$,o=t.$children$,r=t.$tag$,a=t.$text$;null===a?(F8(e,t,k8="svg"===r||"foreignObject"!==r&&k8),null!==i&&null!==o?function(e,t,n,i){for(var o,r=0,a=0,s=t.length-1,l=t[0],c=t[s],d=i.length-1,u=i[0],p=i[d];r<=s&&a<=d;)null==l?l=t[++r]:null==c?c=t[--s]:null==u?u=i[++a]:null==p?p=i[--d]:H8(l,u)?(W8(l,u),l=t[++r],u=i[++a]):H8(c,p)?(W8(c,p),c=t[
2--s],p=i[--d]):H8(l,p)?(W8(l,p),e.insertBefore(l.$elm$,c.$elm$.nextSibling),l=t[++r],p=i[--d]):H8(c,u)?(W8(c,u),e.insertBefore(c.$elm$,l.$elm$),c=t[--s],u=i[++a]):(o=V8(t&&t[a],n,a),u=i[++a],o&&l.$elm$.parentNode.insertBefore(o,l.$elm$));r>s?U8(e,null==i[d+1]?null:i[d+1].$elm$,n,i,a,d):a>d&&q8(t,r,s)}(n,i,t,o):null!==o?(null!==e.$text$&&(n.textContent=""),U8(n,null,t,o,0,o.length-1)):null!==i&&q8(i,0,i.length-1),k8&&"svg"===r&&(k8=!1)):e.$text$!==a&&(n.data=a)},G8=function(e){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(G8)},$8=function(e,t){var n=e.$hostElement$,i=e.$vnode$||A8(null,null),o=function(e){return e&&e.$tag$===P8}(t)?t:I8(null,null,t);b8=n.tagName,o.$tag$=null,o.$flags$|=4,e.$vnode$=o,o.$elm$=i.$elm$=n.shadowRoot||n,g8=n["s-sc"],W8(i,o)},Y8=function(e,t){t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(function(t){return e.$onRenderResolve$=t}))},X8=function(e,t){if(e.$flags$|=16,!(4&e.$flags$)){Y8(e,e.$ancestorComponent$);return L9(function(){return K8(e,t)})}e.$flags$|=512},K8=function(e,t){var n=(e.$cmpMeta$.$tagName$,function(){}),i=e.$lazyInstance$;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(function(e){var t=e[0],n=e[1];return o9(i,t,n)}),e.$queuedListeners$=void 0)),n(),J8(void 0,function(){return Q8(e,i,t)})},J8=function(e,t){return Z8(e)?e.then(t):t()},Z8=function(e){return e instanceof Promise||e&&e.then&&"function"==typeof e.then},Q8=function(e,t,n){return y8(void 0,void 0,void 0,function(){var i,o,r,a,s,l,c;return w8(this,function(d){return o=e.$hostElement$,e.$cmpMeta$.$tagName$,r=function(){},a=o["s-rc"],n&&N8(e),e.$cmpMeta$.$tagName$,s=function(){},e9(e,t),a&&(a.map(function(e){return e()}),o["s-rc"]=void 0),s(),r(),l=null!==(i=o["s-p"])&&void 0!==i?i:[],c=function(){return t9(e)},0===l.length?c():(Promise.all(l).then(c),e.$flags$|=4,l.length=0),[2]})})},e9=function(e,t,n){try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,$8(e,t)}catch(i){y9(i,e.$hostElement$)}return null},t9=function(e){e.$cmpMeta$.$tagName$;var t=e.$hostElement$,n=function(){},i=e.$lazyInstance$,o=e.$ancestorComponent$;64&e.$flags$?n():(e.$flags$|=64,r9(t),o9(i,"componentDidLoad"),n(),e.$onReadyResolve$(t),o||i9()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&R9(function(){return X8(e,!1)}),e.$flags$&=-517},n9=function(e){var t=f9(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&X8(t,!1),n},i9=function(e){r9(E9.documentElement),R9(function(){return L8(_9,"appload",{detail:{namespace:"ionicpwaelements"}})})},o9=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(i){y9(i)}},r9=function(e){return e.classList.add("hydrated")},a9=function(e,t,n,i){var o=f9(e),r=o.$instanceValues$.get(t),a=o.$flags$,s=o.$lazyInstance$;n=function(e,t){return null==e||S8(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?String(e):e}(n,i.$members$[t][0]);var l=Number.isNaN(r)&&Number.isNaN(n);8&a&&void 0!==r||!(n!==r&&!l)||(o.$instanceValues$.set(t,n),s&&2==(18&a)&&X8(o,!1))},s9=function(e,t,n){if(t.$members$){var i=Object.entries(t.$members$),o=e.prototype;if(i.map(function(e){var i=e[0],r=e[1][0];31&r||2&n&&32&r?Object.defineProperty(o,i,{get:function(){return function(e,t){return f9(e).$instanceValues$.get(t)}(this,i)},set:function(e){a9(this,i,e,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(o,i,{value:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=f9(this);return n.$onInstancePromise$.then(function(){var t;return(t=n.$lazyInstance$)[i].apply(t,e)})}})}),1&n){var r=new Map;o.attributeChangedCallback=function(e,t,n){var i=this;S9.jmp(function(){var t=r.get(e);if(i.hasOwnProperty(t))n=i[t],delete i[t];else if(o.hasOwnProperty(t)&&"number"==typeof i[t]&&i[t]==n)return;i[t]=(null!==n||"boolean"!=typeof i[t])&&n})},e.observedAttributes=i.filter(function(e){return e[0],15&e[1][0]}).map(function(e){var t=e[0],n=e[1][1]||t;return r.set(n,t),n})}}return e},l9=function(e,t,n,i,o){return y8(void 0,void 0,void 0,function(){var e,i,r,a,s,l,c;return w8(this,function(d){switch(d.label){case 0:return 32&t.$flags$?[3,3]:(t.$flags$|=32,(o=x9(n)).then?(e=function(){},[4,o]):[3,2]);case 1:o=d.sent(),e(),d.label=2;case 2:o.isProxied||(s9(o,n,2),o.isProxied=!0),n.$tagName$,i=function(){},t.$flags$|=8;try{new o(t)}catch(u){y9(u)}t.$flags$&=-9,i(),o.style&&(r=o.style,a=M8(n),k9.has(a)||(n.$tagName$,s=function(){},function(e,t,n){var i=k9.get(e);T9&&n?"string"==typeof(i=i||new CSSStyleSheet)?i=t:i.replaceSync(t):i=t,k9.set(e,i)}(a,r,!!(1&n.$flags$)),s())),d.label=3;case 3:return l=t.$ancestorComponent$,c=function(){return X8(t,!0)},l&&l["s-rc"]?l["s-rc"].push(c):c(),[2]}})})},c9=function(e,t){var n;void 0===t&&(t={});var i,o=function(){},r=[],a=t.exclude||[],s=_9.customElements,l=E9.head,c=l.querySelector("meta[charset]"),d=E9.createElement("style"),u=[],p=!0;Object.assign(S9,t),S9.$resourcesUrl$=new URL(t.resourcesUrl||"./",E9.baseURI).href,e.map(function(e){e[1].map(function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};n.$members$=t[2],n.$listeners$=t[3];var o=n.$tagName$,l=function(e){function t(t){var i=e.call(this,t)||this;return b9(t=i,n),1&n.$flags$&&t.attachShadow({mode:"open"}),i}return v8(t,e),t.prototype.connectedCallback=function(){var e=this;i&&(clearTimeout(i),i=null),p?u.push(this):S9.jmp(function(){return function(e){if(!(1&S9.$flags$)){var t=f9(e),n=t.$cmpMeta$,i=(n.$tagName$,function(){});if(1&t.$flags$)d9(e,t,n.$listeners$);else{t.$flags$|=1;for(var o=e;o=o.parentNode||o.host;)if(o["s-p"]){Y8(t,t.$ancestorComponent$=o);break}n.$members$&&Object.entries(n.$members$).map(function(t){var n=t[0];if(31&t[1][0]&&e.hasOwnProperty(n)){var i=e[n];delete e[n],e[n]=i}}),l9(0,t,n)}i()}}(e)})},t.prototype.disconnectedCallback=function(){var e=this;S9.jmp(function(){return function(e){if(!(1&S9.$flags$)){var t=f9(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(function(e){return e()}),t.$rmListeners$=void 0),o9(n,"disconnectedCallback")}}(e)})},t.prototype.componentOnReady=function(){return f9(this).$onReadyPromise$},t}(HTMLElement);n.$lazyBundleId$=e[0],a.includes(o)||s.get(o)||(r.push(o),s.define(o,s9(l,n,1)))})}),d.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles","");var h=null!==(n=S9.$nonce$)&&void 0!==n?n:C8(E9);null!=h&&d.setAttribute("nonce",h),l.insertBefore(d,c?c.nextSibling:l.firstChild),p=!1,u.length?u.map(function(e){return e.connectedCallback()}
2):S9.jmp(function(){return i=setTimeout(i9,30)}),o()},d9=function(e,t,n,i){n&&n.map(function(n){var i=n[0],o=n[1],r=n[2],a=p9(e,i),s=u9(t,r),l=h9(i);S9.ael(a,o,s,l),(t.$rmListeners$=t.$rmListeners$||[]).push(function(){return S9.rel(a,o,s,l)})})},u9=function(e,t){return function(n){try{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}catch(i){y9(i)}}},p9=function(e,t){return 16&t?E9.body:e},h9=function(e){return!!(2&e)},m9=new WeakMap,f9=function(e){return m9.get(e)},g9=function(e,t){return m9.set(t.$lazyInstance$=e,t)},b9=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(function(e){return n.$onInstanceResolve$=e}),n.$onReadyPromise$=new Promise(function(e){return n.$onReadyResolve$=e}),e["s-p"]=[],e["s-rc"]=[],d9(e,n,t.$listeners$),m9.set(e,n)},v9=function(e,t){return t in e},y9=function(e,t){return(0,console.error)(e,t)},w9=new Map,x9=function(e,t,n){var i=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$,a=w9.get(r);if(a)return a[i];var s=function(e){return w9.set(r,e),e[i]};switch(r){case"pwa-action-sheet":return o(()=>import("./pwa-action-sheet.entry-DWB01kQn.js"),[]).then(s,y9);case"pwa-camera-modal":return o(()=>import("./pwa-camera-modal.entry-Dmc1qxqD.js"),[]).then(s,y9);case"pwa-toast":return o(()=>import("./pwa-toast.entry-CS5VnE00.js"),[]).then(s,y9);case"pwa-camera-modal-instance":return o(()=>import("./pwa-camera-modal-instance.entry-5uR7sqsj.js"),[]).then(s,y9);case"pwa-camera":return o(()=>import("./pwa-camera.entry-tgT_7oPG.js"),[]).then(s,y9)}return o(()=>import("./".concat(r,".entry.js").concat("")),[]).then(function(e){return w9.set(r,e),e[i]},y9)},k9=new Map,_9="undefined"!=typeof window?window:{},E9=_9.document||{head:{}},S9={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,i){return e.addEventListener(t,n,i)},rel:function(e,t,n,i){return e.removeEventListener(t,n,i)},ce:function(e,t){return new CustomEvent(e,t)}},C9=function(e){return Promise.resolve(e)},T9=function(){try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(T8){}return!1}(),I9=[],A9=[],P9=function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){y9(n)}e.length=0},O9=function(){P9(I9),P9(A9),(_8=I9.length>0)&&S9.raf(O9)},R9=function(e){return C9().then(e)},L9=(T8=A9,function(e){T8.push(e),_8||(_8=!0,4&S9.$flags$?R9(O9):S9.raf(O9))});if(function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}(),as.isNativePlatform()&&A6.notifyAppReady().catch(e=>{zL.warn("Failed to notify Capgo app ready:",e)}),((e={})=>{var t;const n=null!=(t=e.window)?t:"undefined"!=typeof window?window:void 0;if(!n)return()=>{};const i=t=>{((e,t={})=>{p6(e.payload,t,()=>e.preventDefault())})(t,{...e,window:n})};n.addEventListener("vite:preloadError",i)})(),"undefined"!=typeof window){const e=console.error;console.error=(...t)=>{const n=t.map(e=>"string"==typeof e||"number"==typeof e?String(e):"").join(" ");n.includes("message channel closed")||n.includes("Extension context invalidated")||n.includes("chrome-extension://")||n.includes("moz-extension://")||n.includes("listener indicated an asynchronous response")||n.includes("message channel closed before a response was received")||e.apply(console,t)},window.addEventListener("unhandledrejection",e=>{var t;const n=(null==(t=e.reason)?void 0:t.toString())||"";(n.includes("message channel closed")||n.includes("Extension context invalidated")||n.includes("chrome-extension://")||n.includes("moz-extension://")||n.includes("listener indicated an asynchronous response")||n.includes("message channel closed before a response was received"))&&e.preventDefault()});try{!0&&(console.log=()=>{},console.info=()=>{},console.warn=()=>{},console.debug=()=>{})}catch(T8){}}t6||(t6=!0,AB.interceptors.response.use(e=>e,async e=>{var t,n,i,r;if(429===(null==(t=null==e?void 0:e.response)?void 0:t.status)){const t=(e=>{var t,n,i;const o=null==(t=e.response)?void 0:t.data,r=null==o?void 0:o.error;if("string"==typeof r&&((null==o?void 0:o.error_code)||(null==o?void 0:o.limit_scope)))return r;const a=null==(i=null==(n=e.response)?void 0:n.headers)?void 0:i["retry-after"],s=Number.parseInt(String(null!=a?a:""),10);return Number.isFinite(s)&&s>0?"Too many requests right now. Please try again in about ".concat(s," seconds."):"Too many requests right now. Please wait a moment and try again."})(e);((e,t)=>
2{if(e.message=t,e.response){if(e.response.data&&"object"==typeof e.response.data){const n=e.response.data;return n.error=t,void(n.message=t)}e.response.data={error:t,message:t}}})(e,t)}const a=null==e?void 0:e.config,s=null==(n=null==e?void 0:e.response)?void 0:n.data,l=s&&"object"==typeof s?s.error_code:void 0;if(401===(null==(i=null==e?void 0:e.response)?void 0:i.status)&&"AUTH_PROFILE_MISSING"===l)return await(async()=>{if(n6)return n6;let e=null;return e=(async()=>{try{const[{default:e},{default:t},{isRegistrationInProgress:n}]=await Promise.all([o(()=>Promise.resolve().then(()=>xC),void 0),o(()=>Promise.resolve().then(()=>e6),void 0),o(()=>Promise.resolve().then(()=>u0),void 0)]);await e.set("currentUser",null),await n()||"/resume-signup"===t.currentRoute.value.path||await t.replace("/resume-signup")}finally{n6===e&&(n6=null)}})(),n6=e,n6})(),Promise.reject(e);if(401===(null==(r=null==e?void 0:e.response)?void 0:r.status)&&!1!==(null==s?void 0:s.retryable)&&a&&!a._authRetry){a._authRetry=!0;try{const e=await eD();if(e)return a.headers={...a.headers||{},Authorization:"Bearer ".concat(e)},AB(a)}catch(T8){}}return Promise.reject(e)})),r6||(r6=!0,AB.interceptors.request.use(e=>{const t=String(e.method||"get").toLowerCase(),n=String(e.url||"");if(!o6.has(t)||!n.startsWith(PC.apiBaseUrl))return e;const i=e.headers||{};return i[i6]||(i[i6]=a6()),e.headers=i,e})),s8(),n2();if((async()=>{})(),"undefined"!=typeof window)try{!function(e,t){"undefined"==typeof window?Promise.resolve():C9().then(function(){return c9([["pwa-camera-modal",[[1,"pwa-camera-modal",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],present:[64],dismiss:[64]}]]],["pwa-action-sheet",[[1,"pwa-action-sheet",{header:[1],cancelable:[4],options:[16],open:[32]}]]],["pwa-toast",[[1,"pwa-toast",{message:[1],duration:[2],closing:[32]}]]],["pwa-camera",[[1,"pwa-camera",{facingMode:[1,"facing-mode"],handlePhoto:[16],hidePicker:[4,"hide-picker"],handleNoDeviceError:[16],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"],photo:[32],photoSrc:[32],showShutterOverlay:[32],flashIndex:[32],hasCamera:[32],rotation:[32],deviceError:[32]}]]],["pwa-camera-modal-instance",[[1,"pwa-camera-modal-instance",{facingMode:[1,"facing-mode"],hidePicker:[4,"hide-picker"],noDevicesText:[1,"no-devices-text"],noDevicesButtonText:[1,"no-devices-button-text"]},[[16,"keyup","handleBackdropKeyUp"]]]]]],t)})}(window)}catch(W9){}document.documentElement.classList.add("dark-theme"),document.documentElement.setAttribute("data-theme","dark"),as.isNativePlatform()&&"ios"===as.getPlatform()&&o(async()=>{const{Keyboard:e}=await Promise.resolve().then(()=>Es);return{Keyboard:e}},void 0).then(({Keyboard:e})=>e.setAccessoryBarVisible({isVisible:!0})).catch(e=>{});const D9=((...e)=>{const t=(ts||(ts=Eo(es))).createApp(...e),{mount:n}=t;return t.mount=e=>{const i=function(e){if(x(e)){return document.querySelector(e)}return e}(e);if(!i)return;const o=t._component;w(o)||o.render||o.template||(o.template=i.innerHTML),1===i.nodeType&&(i.textContent="");const r=n(i,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t})(R4).use(pS).use(Z4);bZ||"undefined"==typeof window||(bZ=!0,window.addEventListener("foster-active-org-changed",()=>{hZ(async()=>{const{useAuth:e}=await o(async()=>{const{useAuth:e}=await Promise.resolve().then(()=>M0);return{useAuth:e}},void 0),{user:t}=e();vZ(t.value)})})),hZ(async()=>{await pZ()});const N9="production",M9=["production","staging","website"].includes(N9);as.isNativePlatform();const z9=M9&&Boolean("https://600113e1c26aecc6d49b39d9b299afb7@o4510211933601792.ingest.us.sentry.io/4510303622070272");let j9=null,B9=!1;const F9=()=>!j9||Date.now()-j9.at>15e3?null:j9,V9=()=>{if(B9||"undefined"==typeof window)return;B9=!0;let e=!1;const t=()=>{e||(e=!0,window.clearTimeout(n),window.location.reload())},n=window.setTimeout(t,1500);z9?async function(e){const t=gU();return t?t.flush(e):(vF&&PF.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}(1200).catch(()=>!1).finally(t):window.setTimeout(t,0)};D9.config.errorHandler=(e,t,n)=>{var i,o;if(zL.error("Vue Error:",e),zL.error("Component:",t),zL.error("Error Info:",n),h6(e))return;const r=((e,t={})=>{var n,i,o,r,a,s,l,c,d;if(!b6(e))return{action:"ignore"};const u=null!=(i=null==(n=t.now)?void 0:n.call(t))?i:Date.now(),p=null!=(o=t.runtimeId)?o:g6,h=null!=(r=t.storage)?r:v6(),m=null!=(a=t.newIncidentAfterMs)?a:3e5,f=y6(h),g=null!=(l=null!=(s=null==f?void 0:f.recoveredAt)?s:null==f?void 0:f.attemptedAt)?l:0;if(!f||"recovered"===f.status&&u-g>=m){const e={attemptRuntimeId:p,attemptedAt:u,failureReported:!1,incidentId:null!=(d=null==(c=t.createIncidentId)?void 0:c.call(t))?d:x6(u),status:"pending"};return w6(h,e),{action:"recover",incidentId:e.incidentId}}if("pending"===f.status&&f.attemptRuntimeId===p)return{action:"suppress-dupl
2icate",incidentId:f.incidentId};if(!f.failureReported){const e={...f,failureReported:!0};return w6(h,e),{action:"report-recovery-failure",incidentId:e.incidentId}}return{action:"suppress-duplicate",incidentId:f.incidentId}})(e);if("ignore"!==r.action){const o=F9(),a=!o&&("recover"===r.action||"report-recovery-failure"===r.action);return z9&&(o&&UW({category:"vue.renderer",data:{faultChainId:o.faultChainId,incidentId:r.incidentId,recoveryAction:r.action,route:Z4.currentRoute.value.fullPath},level:"error",message:"emitsOptions followed an earlier Vue error"}),a&&jH(e,{contexts:{rendererRecovery:{incidentId:r.incidentId,recoveryAction:r.action,route:Z4.currentRoute.value.fullPath},vue:{componentName:(null==(i=null==t?void 0:t.$options)?void 0:i.name)||"Unknown",errorInfo:n}},fingerprint:["vue-renderer-corruption","emitsOptions"],tags:{error_source:"vue",renderer_recovery:"recover"===r.action?"attempted":"failed",runtime_platform:as.getPlatform(),vue_error_role:"renderer_corruption"}})),void("recover"===r.action&&V9())}const a=F9(),s=(e=>{if(e instanceof Error)return"".concat(e.name,":").concat(e.message);try{return String(e)}catch(T8){return"unknown-nonserializable-error"}})(e);if((null==a?void 0:a.signature)===s)return void(z9&&UW({category:"vue.error-chain",data:{faultChainId:a.faultChainId,route:Z4.currentRoute.value.fullPath},level:"error",message:"Duplicate Vue error suppressed after the primary error"}));const l="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"vue-".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,8));j9={at:Date.now(),faultChainId:l,signature:s},z9&&jH(e,{contexts:{vue:{componentName:(null==(o=null==t?void 0:t.$options)?void 0:o.name)||"Unknown",errorInfo:n,route:Z4.currentRoute.value.fullPath}},tags:{error_source:"vue",fault_chain_id:l,runtime_platform:as.getPlatform(),vue_error_role:"primary"}})},z9&&function(e={}){const t={defaultIntegrations:[...dJ(),XJ()],...e};BW(t,"vue");const n=function(e={}){const t=!e.skipBrowserExtensionCheck&&cJ();let n=null==e.defaultIntegrations?dJ():e.defaultIntegrations;const i={...e,enabled:!t&&e.enabled,stackParser:(o=e.stackParser||qK,Array.isArray(o)?DF(...o):o),integrations:YH({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||DK};var o;return EV(lJ),RW(zY,i)}(t);EV(JJ)}({app:D9,attachErrorHandler:!1,dsn:"https://600113e1c26aecc6d49b39d9b299afb7@o4510211933601792.ingest.us.sentry.io/4510303622070272",environment:N9,integrations:[function(e={}){if(!e.router)return AJ(e);const t=AJ({...e,instrumentNavigation:!1}),{router:n,instrumentNavigation:i=!0,instrumentPageLoad:o=!0,routeLabel:r="name"}=e;return{...t,afterAllSetup(e){t.afterAllSetup(e),ZJ(n,{routeLabel:r,instrumentNavigation:i,instrumentPageLoad:o},(t,n)=>{PJ(e,t,{url:n})})}}}({router:Z4}),SY({colorScheme:"dark",isNameRequired:!0,isEmailRequired:!0,showBranding:!1,autoInject:!1,buttonLabel:"Report Bug",submitButtonLabel:"Send Report",formTitle:"Report a Bug",messagePlaceholder:"What happened? Please describe the issue in detail...",namePlaceholder:"Your Name",emailPlaceholder:"Your Email",successMessageText:"Thank you for your feedback!",useSentryUser:{email:"email",name:"username"}})],tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/pawsitive-foster-.*\.herokuapp\.com\/api/],replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,release:"pawsitive-frontend@".concat("1.0.152"),ignoreErrors:["Network request failed","ResizeObserver loop limit exceeded","message channel closed","Extension context invalidated","chrome-extension://","moz-extension://"],beforeSend:e=>(e.user&&(delete e.user.email,delete e.user.ip_address),e)}),Z4.onError(e=>{u6(e)?h6(e):z9&&jH(e,{contexts:{navigation:{route:Z4.currentRoute.value.fullPath}},tags:{error_source:"vue_router",runtime_platform:as.getPlatform()}})}),D9.component("v-otp-input",f8);const U9=()=>{D9.mount("#app"),((e={})=>{var t,n,i;const o=null!=(t=e.storage)?t:v6(),r=y6(o);r&&"pending"===r.status&&w6(o,{...r,recoveredAt:null!=(i=null==(n=e.now)?void 0:n.call(e))?i:Date.now(),status:"recovered"})})()},q9=async()=>{var e;if(null==(e=Z4.currentRoute.value.meta)?void 0:e.requiresAuth)try{const e=await wC.get("currentUser");n2(null==e?void 0:e.id)}catch(T8){n2()}
2else n2()};!async function(){try{const{initializeFirebase:e}=await o(async()=>{const{initializeFirebase:e}=await Promise.resolve().then(()=>I0);return{initializeFirebase:e}},void 0);await e(),await Z4.isReady(),await q9(),U9();const{initializePushNotifications:t}=await o(async()=>{const{initializePushNotifications:e}=await import("./pushNotifications-BQV74sFH.js").then(e=>e.p);return{initializePushNotifications:e}},[]);t()}catch(W9){zL.error("Failed to initialize Firebase or mount app:",W9),await Z4.isReady(),await q9(),U9()}}();export{I8 as $,IC as A,n1 as B,as as C,DN as D,ui as E,_6 as F,rp as G,Ov as H,Cd as I,Vm as J,Mm as K,gp as L,Id as M,fl as N,Uf as O,fd as P,gl as Q,qf as R,Kf as S,wd as T,xd as U,Yf as V,ls as W,fp as X,Ff as Y,Hf as Z,o as _,n as __vite_legacy_guard,AB as a,gE as a$,O8 as a0,g9 as a1,R8 as a2,P8 as a3,n9 as a4,o0 as a5,i0 as a6,n0 as a7,ps as a8,dO as a9,mO as aA,bO as aB,ER as aC,YP as aD,kO as aE,_O as aF,xO as aG,mP as aH,wO as aI,WR as aJ,MR as aK,GR as aL,zR as aM,eO as aN,CP as aO,OO as aP,Gn as aQ,Ho as aR,cn as aS,mS as aT,tk as aU,Ko as aV,QE as aW,pE as aX,hS as aY,kE as aZ,er as a_,hO as aa,cO as ab,jO as ac,vO as ad,$R as ae,DP as af,gO as ag,OP as ah,NP as ai,zP as aj,MP as ak,kR as al,SR as am,FP as an,SA as ao,zO as ap,yO as aq,lO as ar,fO as as,RO as at,LA as au,mR as av,QO as aw,$O as ax,HP as ay,nO as az,PC as b,M1 as b$,nk as b0,jo as b1,FN as b2,UN as b3,sS as b4,ss as b5,yC as b6,jN as b7,NN as b8,Z4 as b9,ee as bA,nF as bB,YE as bC,FS as bD,_S as bE,eC as bF,sE as bG,lE as bH,s2 as bI,Y as bJ,j4 as bK,xE as bL,t1 as bM,o1 as bN,Ja as bO,hE as bP,KE as bQ,fE as bR,WE as bS,N4 as bT,M4 as bU,iZ as bV,nZ as bW,Jt as bX,mt as bY,l0 as bZ,P1 as b_,D2 as ba,EZ as bb,t0 as bc,yI as bd,vI as be,bI as bf,a0 as bg,A2 as bh,O5 as bi,f4 as bj,g4 as bk,b4 as bl,a2 as bm,Xo as bn,uE as bo,Zo as bp,n5 as bq,xi as br,JE as bs,DE as bt,IE as bu,LE as bv,CE as bw,qo as bx,Ro as by,Ci as bz,jH as c,Ba as c$,tZ as c0,O1 as c1,N1 as c2,W4 as c3,$4 as c4,G4 as c5,q4 as c6,dn as c7,qa as c8,V1 as c9,An as cA,q as cB,e1 as cC,cC as cD,dC as cE,mC as cF,fC as cG,GS as cH,$S as cI,tC as cJ,nC as cK,U2 as cL,os as cM,PE as cN,OE as cO,RE as cP,IS as cQ,Ud as cR,zE as cS,$1 as cT,d2 as cU,i2 as cV,bE as cW,VE as cX,US as cY,qS as cZ,q2 as c_,PS as ca,zS as cb,sC as cc,lC as cd,WS as ce,P5 as cf,qE as cg,HE as ch,EE as ci,SE as cj,Qa as ck,_E as cl,NE as cm,XE as cn,cE as co,F5 as cp,ZM as cq,S1 as cr,kC as cs,W1 as ct,TC as cu,KG as cv,Li as cw,Ti as cx,cS as cy,zr as cz,mi as d,tD as d$,Aa as d0,z4 as d1,YS as d2,jS as d3,M2 as d4,wE as d5,DS as d6,x5 as d7,TS as d8,Fa as d9,CZ as dA,mE as dB,_i as dC,ti as dD,I1 as dE,F1 as dF,z1 as dG,j1 as dH,na as dI,gn as dJ,ZE as dK,iF as dL,ZB as dM,$n as dN,mn as dO,Ot as dP,Tt as dQ,cr as dR,j2 as dS,QS as dT,pC as dU,rC as dV,HS as dW,vC as dX,lS as dY,H1 as dZ,tO as d_,t4 as da,OS as db,AS as dc,$E as dd,GE as de,uC as df,KS as dg,ZS as dh,BS as di,VS as dj,Ua as dk,As as dl,Ts as dm,V5 as dn,gF as dp,dS as dq,S0 as dr,T0 as ds,eD as dt,FE as du,k5 as dv,B1 as dw,TE as dx,pO as dy,NS as dz,kr as e,m1 as e$,St as e0,O2 as e1,I5 as e2,yE as e3,Qr as e4,oF as e5,B2 as e6,T5 as e7,A5 as e8,vE as e9,aF as eA,lF as eB,cF as eC,sF as eD,tF as eE,uF as eF,pF as eG,eF as eH,SZ as eI,b1 as eJ,BE as eK,oi as eL,UW as eM,w2 as eN,V2 as eO,a6 as eP,v1 as eQ,f1 as eR,R2 as eS,h1 as eT,Qo as eU,Yx as eV,H2 as eW,_C as eX,CC as eY,SC as eZ,uS as e_,z2 as ea,oC as eb,UE as ec,a5 as ed,r5 as ee,o5 as ef,XS as eg,JS as eh,iC as ei,l5 as ej,c5 as ek,aC as el,BN as em,MN as en,zN as eo,HN as ep,$N as eq,WN as er,YN as es,hC as et,h5 as eu,f5 as ev,g5 as ew,m5 as ex,p5 as ey,s5 as ez,LS as f,or as f0,g1 as f1,s8 as f2,GN as f3,EC as f4,$a as f5,L2 as f6,N2 as f7,hn as f8,pn as f9,se as fa,Di as fb,pi as fc,hi as fd,_r as fe,Do as ff,Jo as fg,xC as fh,nD as fi,QM as fj,hF as fk,TZ as fl,I0 as fm,M0 as fn,P2 as fo,F2 as fp,JL as g,N0 as h,eZ as i,aZ as j,h0 as k,zL as l,LL as m,XB as n,wx as o,QJ as p,wZ as q,Ct as r,wC as s,MS as t,Pt as u,oZ as v,bn as w,rZ as x,QB as y,fi as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.