1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AppLayout-De9NoAPn.js","assets/elements-5kxJS_4j.js","assets/useRedesign-xeayEwR4.js","assets/react-error-boundary.esm-DcHtxTCg.js","assets/useModalActions-Dvto1loR.js","assets/useMutation-jkV-6MpM.js","assets/index.esm-GMeyTKQp.js","assets/RouteGuard-CNp5Ush8.js","assets/useSelectedProperty-CronaFcx.js","assets/CustomContent-CcAnhb4u.js","assets/index-BSR_b3JY.js","assets/ExternalLink-CjcVybEr.js","assets/useLogo-ARqS3TaL.js","assets/useNavigationOptions-BTEqle56.js","assets/board-communications-BjIyroYp.js","assets/portal-requests-pSSQdVkY.js","assets/requests-list-utils-C5cdaefJ.js","assets/useHomeOffersEnabled-CrYKd7YT.js","assets/useCommunityFeedEnabled-DeTX4iZs.js","assets/useAuthorization-XS6cSJ0I.js","assets/trackEvent-CeNPAPKA.js","assets/SetupNewPaymentMethodForm-DI7k7gv1.js","assets/CreditCardOnlyNotice-CF1hOALw.js","assets/useHomeSettings-BpMxwRo0.js","assets/useUserPreferences-Bkl7YYbu.js","assets/CustomContent-DRQushAI.js","assets/NewRequestModal-BUe0l4Oi.js","assets/home-requests-C15tSr0i.js","assets/useIsNonHomeownerBoardMember-Cs-SpCXk.js","assets/useCustomContent-DI_9OCLI.js","assets/grids-DGmfp9GI.js","assets/startOfDay-AazlW55I.js","assets/not-found-CCZh5OKn.js","assets/EmbedLayout-B1euSYbp.js","assets/arcs._id_-Bk0kpNEO.js","assets/authorization-DRCBMAi9.js","assets/useRedirectOnAssociationChange-4ruYXzIx.js","assets/NoteContent-BKv-Srb-.js","assets/useAttachmentViewer-BQoPBwhJ.js","assets/arcs._id_-DuMy9BFY.js","assets/tslib.es6-SRej636X.js","assets/index-Dh4i1-J3.js","assets/startOfMonth-FrfBe6WJ.js","assets/endOfMonth-ypFnROgy.js","assets/addMonths-BU5XNL5s.js","assets/isSameDay-CQTDJwZ-.js","assets/addDays-Le9Cqm9z.js","assets/subDays-BmZFCyDz.js","assets/board-arc-requests-BZRuynie.js","assets/board-requests-01BmDrLN.js","assets/attachments._id_-CDC7HCrK.js","assets/ExpressLayout-D59XecoE.js","assets/useEpayLaunchDarkly-DZE0z9-1.js","assets/ContactDetailsLayout-DkIPf7_Y.js","assets/contactDetails-DS-9aPQX.js","assets/unsubscribe.pay-876Kjzzy.js","assets/UnsubscribedMessage-BsIi-Aei.js","assets/unsubscribe.pay.confirmation-B0bcMIY8.js","assets/board.messages._id_._messageId_.attachments-D7bdsV_2.js","assets/board-portal-requests-Dhj4UIYh.js","assets/document._associationId_._documentId_.preview-D5mOKhnL.js","assets/DefaultLayout-svroB_hN.js","assets/index-CXXhSrRR.js","assets/server-error-2XtPzYhI.js","assets/jwt-DU0iNLyI.js","assets/sso-CxxfuBe4.js","assets/handoff-BdcDDmAI.js","assets/claim._token_-Dfx4qQOE.js","assets/claim-unavailable-svF8e3U8.js","assets/ftu-a87mBql8.js","assets/PublicLayout-Cco-f2k2.js","assets/ExpandableCustomContent-C4IwOpOO.js","assets/recaptcha-wrapper-CbEHRrbN.js","assets/useIsMobile-DE0QDUth.js","assets/public-DRjDU9t-.js","assets/useBanner-B9a9zq1p.js","assets/useLayoutContext-SRgr9BCN.js","assets/useLaunchDarklyReady-CaQ8ROVM.js","assets/paynow-DNplowd-.js","assets/UpcomingCharges-Cx9oTqGU.js","assets/ClassifiedCardSummary-C9UEyf2u.js","assets/index-RwycqXlP.js","assets/isSurchargedFunding-ChfbXkw5.js","assets/custom-C5luricj.js","assets/epay-CyDaVdSY.js","assets/SMSEnrollmentConfirmation-Cm4LCeaY.js","assets/SavedPaymentMethodOptions-BqGspsqE.js","assets/confirmation-Dnc0XziU.js","assets/contact-BOuaNXJ-.js","assets/contactFieldMaxLengths-DkDsle-Q.js","assets/arcs-CBP5duiQ.js","assets/useSavedGridPageSize-iR3hnzqU.js","assets/GridSettings-BQybxGtG.js","assets/MobileCardButton-D6bsn729.js","assets/useMobileRedesignActive-7HkeUmjL.js","assets/useMobileRedesignBoardPages-BgUjR8UU.js","assets/MobilePillTabs-CEvHclwf.js","assets/MobileSearchSortList-SnRnltaF.js","assets/MobileTable-C7aibx3F.js","assets/useRequestHistoryTelemetry-BplUFfRL.js","assets/subMonths-BEZpMnR7.js","assets/FilterableGridFilters-BSwkYGCZ.js","assets/useBoardFrustrationEnabled-D-vRo-Pq.js","assets/bank-accounts-DJYqJtTx.js","assets/ModernPortalPage-ZOfMD2FX.js","assets/clickableCardProps-H_WzBPvj.js","assets/MobileField-B3-KzBgL.js","assets/bank-accounts-D9Ed8j26.js","assets/bank-accounts._id_-BiphkceE.js","assets/AttachColumn-Y9hp0Xxk.js","assets/exportGridToExcel-CJeE00kv.js","assets/endOfDay-DXHghz6c.js","assets/collections-DfX_Srmx.js","assets/BoardListDetailOutlet-BLfTYBPG.js","assets/CollectionDecisionModal-B-OdhykA.js","assets/boardDecisionActions-BmpNgjt4.js","assets/SendMessageModal-r-MvvBTt.js","assets/MessageForm-CoPnETZi.js","assets/useMessageComposer-BQ7Z4YY2.js","assets/BoardTabPills-k6mLXMRn.js","assets/BoardStatusIndicator-DIMjCsE9.js","assets/boardDetailItemIds-CezeTAyo.js","assets/collections._id_-DTR-9AlG.js","assets/BoardCollectionDetailPage-
1Dkd6FRp6.js","assets/BoardDetailNotFound-De-vNomZ.js","assets/BoardDetailSlideOverLayout-DnJc9dxC.js","assets/MessageList-DKgNewCz.js","assets/BoardDetailPresentation-DSingZcf.js","assets/homeowners-DX5kJ0sg.js","assets/homeowners-D7bWy2rE.js","assets/homeowners._id_-BEcBzg9Q.js","assets/homeowners._id_.items._itemId_-DqynC9_T.js","assets/Messages-rxPn-4eQ.js","assets/inspections-C3vrQSTp.js","assets/board-inspections-B7imZAEA.js","assets/inspections._id_-Om5BlkHZ.js","assets/violations-cBcqEzT0.js","assets/ViolationDecisionModal-CoCy-Om7.js","assets/violations._id_-Cv6N1SQa.js","assets/BoardViolationDetailPage-5Q32gnxw.js","assets/invoices-S6eYwJt_.js","assets/DeclineModal-BO8VKDMV.js","assets/invoices._id_-BGkO6Gvx.js","assets/more-items-6M_7LoC6.js","assets/reports-BJ8-lIUq.js","assets/to-do-list-P6pEFCz-.js","assets/BoardTaskDecisionModals-DJ3dTyih.js","assets/boardTaskCategories-CCzdb8L1.js","assets/WorkOrderDecisionModal-BKRkejas.js","assets/to-do-list._id_-DJlk3jFc.js","assets/BoardWorkOrderDetailPage-8DA9ejBc.js","assets/Widget-Dku3WMLx.js","assets/work-orders-DXBSTrVv.js","assets/work-orders._id_-BgUOG06j.js","assets/index-BVTZmbIK.js","assets/BillingSideContentContainer-CJkKgLhW.js","assets/SupportLink-DCM4mU_A.js","assets/ManagePayment-Dmr654v8.js","assets/store-BnWRYCbS.js","assets/index--XmZdgz-.js","assets/recurringIntervals-CtqK-wqt.js","assets/manage-account-D_suqim0.js","assets/payment-consent-Bi9zGg9M.js","assets/support-BfgGdB7k.js","assets/account-overview-LARpIieg.js","assets/MakeAPayment-Cku-Ygqz.js","assets/usePaymentProviders-Dq8U2NWu.js","assets/StatementDownloadModal-BtrP3kqE.js","assets/account-history-BRTkbCJz.js","assets/auto-draft-DAbTakBy.js","assets/instant-payment-djfNWs5s.js","assets/calendar-BPz2h1wR.js","assets/reservations-BJ4iGbMv.js","assets/index-DHc3Muri.js","assets/index-Bli2xxvl.css","assets/datepicker-B9D4iLeH.js","assets/datepicker-CKKEloXK.css","assets/constructNow-BCdMewCy.js","assets/reservations-Bg-GwNHP.js","assets/amenityReservationRules-YcrKH3aG.js","assets/FilterableGridWidget-CTujm4JR.js","assets/reservations._id_-DFwkvrs1.js","assets/FileUploader-wlsQ0ZBI.js","assets/reservations-item._id_-BsP6uIWo.js","assets/PortalRequestDetails-DxxeDHh1.js","assets/directory-D5KJQ53_.js","assets/requests-JfTO7gBT.js","assets/useRequestPermissions-BIkLmJ0X.js","assets/requests-xa8J6rbV.js","assets/requests.upload-Dw6bfrbG.js","assets/requests._id_-BwhITvAz.js","assets/new-request-CzFIm8TR.js","assets/documents-DfjEIXtt.js","assets/user-securities-Dv9cwF-y.js","assets/help-DFN1oKd-.js","assets/faq-fC1fmfPS.js","assets/feed-BrRdALdq.js","assets/parseISO-BodwZc1-.js","assets/compliance-and-notices-DTEKktYj.js","assets/compliance-and-notices._id_-ChQvvdAb.js","assets/inbox-DebgVb5I.js","assets/inbox-utils-cCyAOT4Z.js","assets/inbox._id_--Htox5Ss.js","assets/dashboard-CIj8Ky6h.js","assets/useBoardTasksWidgetEnabled-DkUM10GV.js","assets/dashboard.board-task._id_-B11fsEVn.js","assets/login-CilW2r3X.js","assets/ForgotLoginForm-CoXHnKqy.js","assets/logout-BLP2NqKv.js","assets/forgot-login-BpmtANoW.js","assets/create-account-CtlTbqCW.js","assets/request-account-DdTUuODO.js","assets/offers-DPN57MhW.js","assets/offers-JzqB6opw.css","assets/communications-BKozGVrX.js","assets/communications._id_-DXoCpm2-.js","assets/new-communication-BAUxL7EI.js","assets/profile-settings-DNZ-X-pu.js","assets/messages-BhuUzEZN.js","assets/view-message-DcFwKV3_.js","assets/forms._formDefinitionId_-BQYqTXnA.js"])))=>i.map(i=>d[i]); 2var Ii=n=>{throw TypeError(n)};var Fo=(n,e,t)=>e.has(n)||Ii("Cannot "+t);var f=(n,e,t)=>(Fo(n,e,"read from private field"),t?t.call(n):e.get(n)),Z=(n,e,t)=>e.has(n)?Ii("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),$=(n,e,t,r)=>(Fo(n,e,"write to private field"),r?r.call(n,t):e.set(n,t),t),Pe=(n,e,t)=>(Fo(n,e,"access private method"),t);var Fa=(n,e,t,r)=>({set _(a){$(n,e,a,t)},get _(){return f(n,e,r)}});import{c as Kd,g as ti,r as O,d as Gd,e as Qd,j as v,f as Ba,R as ra,i as Jd,h as Xd,k as ja,l as Zd,n as Wn,m as du,T as ef,_ as B}from"./elements-5kxJS_4j.js";import{G as tf}from"./grids-DGmfp9GI.js";import{t as Xt,c as Or,n as nf,s as Li,m as rf,a as fu}from"./startOfDay-AazlW55I.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=t(a);fetch(a.href,o)}})();var Ua={},Mi;function af(){if(Mi)return Ua;Mi=1;var n=Kd();return Ua.createRoot=n.createRoot,Ua.hydrateRoot=n.hydrateRoot,Ua}var of=af();const sf=ti(of);/** 3 * @remix-run/router v1.23.2 4 * 5 * Copyright (c) Remix Software Inc. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE.md file in the root directory of this source tree. 9 * 10 * @license MIT 11 */function je(){return je=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},je.apply(this,arguments)}var Xe;(function(n){n.Pop="POP",n.Push="PUSH",n.Replace="REPLACE"})(Xe||(Xe={}));const Ni="popstate";function cf(n){n===void 0&&(n={});function e(r,a){let{pathname:o,search:s,hash:i}=r.location;return ia("",{pathname:o,search:s,hash:i},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}
vendor: 2,711 bytes, line 11
11function t(r,a){return typeof a=="string"?a:Gn(a)}return uf(e,t,null,n)}function de(n,e){if(n===!1||n===null||typeof n>"u")throw new Error(e)}function Kn(n,e){if(!n){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function lf(){return Math.random().toString(36).substr(2,8)}function Fi(n,e){return{usr:n.state,key:n.key,idx:e}}function ia(n,e,t,r){return t===void 0&&(t=null),je({pathname:typeof n=="string"?n:n.pathname,search:"",hash:""},typeof e=="string"?xn(e):e,{state:t,key:e&&e.key||r||lf()})}function Gn(n){let{pathname:e="/",search:t="",hash:r=""}=n;return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function xn(n){let e={};if(n){let t=n.indexOf("#");t>=0&&(e.hash=n.substr(t),n=n.substr(0,t));let r=n.indexOf("?");r>=0&&(e.search=n.substr(r),n=n.substr(0,r)),n&&(e.pathname=n)}return e}function uf(n,e,t,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,i=Xe.Pop,c=null,l=u();l==null&&(l=0,s.replaceState(je({},s.state,{idx:l}),""));function u(){return(s.state||{idx:null}).idx}function d(){i=Xe.Pop;let w=u(),m=w==null?null:w-l;l=w,c&&c({action:i,location:g.location,delta:m})}function h(w,m){i=Xe.Push;let b=ia(g.location,w,m);l=u()+1;let C=Fi(b,l),R=g.createHref(b);try{s.pushState(C,"",R)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;a.location.assign(R)}o&&c&&c({action:i,location:g.location,delta:1})}function p(w,m){i=Xe.Replace;let b=ia(g.location,w,m);l=u();let C=Fi(b,l),R=g.createHref(b);s.replaceState(C,"",R),o&&c&&c({action:i,location:g.location,delta:0})}function y(w){let m=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof w=="string"?w:Gn(w);return b=b.replace(/ $/,"%20"),de(m,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,m)}let g={get action(){return i},get location(){return n(a,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(Ni,d),c=w,()=>{a.removeEventListener(Ni,d),c=null}},createHref(w){return e(a,w)},createURL:y,encodeLocation(w){let m=y(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:p,go(w){return s.go(w)}};return g}var Me;(function(n){n.data="data",n.deferred="deferred",n.redirect="redirect",n.error="error"})(Me||(Me={}));const df=new Set(["lazy","caseSensitive","path","id","index","children"]);function ff(n){return n.index===!0}function co(n,e,t,r){return t===void 0&&(t=[]),r===void 0&&(r={}),n.map((a,o)=>{let s=[...t,String(o)],i=typeof a.id=="string"?a.id:s.join("-");if(de(a.index!==!0||!a.children,"Cannot specify children on an index route"),de(!r[i],'Found a route id collision on i
11d "'+i+`". Route id's must be globally unique within Data Router usages`),ff(a)){let c=je({},a,e(a),{id:i});return r[i]=c,c}else{let c=je({},a,e(a),{id:i,children:void 0});return r[i]=c,a.children&&(c.children=co(a.children,e,s,r)),c}})}function kn(n,e,t){return t===void 0&&(t="/"),to(n,e,t,!1)}function to(n,e,t,r){let a=typeof e=="string"?xn(e):e,o=cn(a.pathname||"/",t);if(o==null)return null;let s=mu(n);hf(s);let i=null;for(let c=0;i==null&&c<s.length;++c){let l=Ef(o);i=Sf(s[c],l,r)}return i}function hu(n,e){let{route:t,pathname:r,params:a}=n;return{id:t.id,pathname:r,params:a,data:e[t.id],handle:t.handle}}function mu(n,e,t,r){e===void 0&&(e=[]),t===void 0&&(t=[]),r===void 0&&(r="");let a=(o,s,i)=>{let c={relativePath:i===void 0?o.path||"":i,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(de(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let l=sn([r,c.relativePath]),u=t.concat(c);o.children&&o.children.length>0&&(de(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),mu(o.children,e,u,l)),!(o.path==null&&!o.index)&&e.push({path:l,score:wf(l,o.index),routesMeta:u})};return n.forEach((o,s)=>{var i;if(o.path===""||!((i=o.path)!=null&&i.includes("?")))a(o,s);else for(let c of pu(o.path))a(o,s,c)}),e}function pu(n){let e=n.split("/");if(e.length===0)return[];let[t,...r]=e,a=t.endsWith("?"),o=t.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=pu(r.join("/")),i=[];return i.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&i.push(...s),i.map(c=>n.startsWith("/")&&c===""?"/":c)}function hf(n){n.sort((e,t)=>e.score!==t.score?t.score-e.score:Pf(e.routesMeta.map(r=>r.childrenIndex),t.routesMeta.map(r=>r.childrenIndex)))}const mf=/^:[\w-]+$/,pf=3,yf=2,gf=1,vf=10,bf=-2,Bi=n=>n==="*";function wf(n,e){let t=n.split("/"),r=t.length;return t.some(Bi)&&(r+=bf),e&&(r+=yf),t.filter(a=>!Bi(a)).reduce((a,o)=>a+(mf.test(o)?pf:o===""?gf:vf),r)}function Pf(n,e){return n.length===e.length&&n.slice(0,-1).every((r,a)=>r===e[a])?n[n.length-1]-e[e.length-1]:0}function Sf(n,e,t){t===void 0&&(t=!1);let{routesMeta:r}=n,a={},o="/",s=[];for(let i=0;i<r.length;++i){let c=r[i],l=i===r.length-1,u=o==="/"?e:e.slice(o.length)||"/",d=ji({path:c.relativePath,caseSensitive:c.caseSensitive,end:l},u),h=c.route;if(!d&&l&&t&&!r[r.length-1].route.index&&(d=ji({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!d)return null;
11Object.assign(a,d.params),s.push({params:a,pathname:sn([o,d.pathname]),pathnameBase:Tf(sn([o,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(o=sn([o,d.pathnameBase]))}return s}function ji(n,e){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[t,r]=Af(n.path,n.caseSensitive,n.end),a=e.match(t);if(!a)return null;let o=a[0],s=o.replace(/(.)\/+$/,"$1"),i=a.slice(1);return{params:r.reduce((l,u,d)=>{let{paramName:h,isOptional:p}=u;if(h==="*"){let g=i[d]||"";s=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const y=i[d];return p&&!y?l[h]=void 0:l[h]=(y||"").replace(/%2F/g,"/"),l},{}),pathname:o,pathnameBase:s,pattern:n}}function Af(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!0),Kn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),'Route path "'+n+'" will be treated as if it were '+('"'+n.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+n.replace(/\*$/,"/*")+'".'));let r=[],a="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,i,c)=>(r.push({paramName:i,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return n.endsWith("*")?(r.push({paramName:"*"}),a+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?a+="\\/*$":n!==""&&n!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),r]}function Ef(n){try{return n.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Kn(!1,'The URL path "'+n+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),n}}function cn(n,e){if(e==="/")return n;if(!n.toLowerCase().startsWith(e.toLowerCase()))return null;let t=e.endsWith("/")?e.length-1:e.length,r=n.charAt(t);return r&&r!=="/"?null:n.slice(t)||"/"}const Cf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rf=n=>Cf.test(n);function xf(n,e){e===void 0&&(e="/");let{pathname:t,search:r="",hash:a=""}=typeof n=="string"?xn(n):n,o;if(t)if(Rf(t))o=t;else{if(t.includes("//")){let s=t;t=t.replace(/\/\/+/g,"/"),Kn(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+t))}t.startsWith("/")?o=Ui(t.substring(1),"/"):o=Ui(t,e)}else o=e;return{pathname:o,search:Df(r),hash:Of(a)}}function Ui(n,e){let t=e.replace(/\/+$/,"").split("/");return n.split("/").forEach(a=>{a===".."?t.length>1&&t.pop():a!=="."&&t.push(a)}),t.length>1?t.join("/"):"/"}function Bo(n,e,t,r){return"Cannot include a '"+n+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function yu(n){return n.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function wo(n,e){let t=yu(n);return e?t.map((r,a)=>a===t.length-1?r.pathname:r.pathnameBase):t.map(r=>r.pathnameBase)}function Po(n,e,t,r){r===void 0&&(r=!1);let a;typeof n=="string"?a=xn(n):(a=je({},n),de(!a.pathname||!a.pathname.includes("?"),Bo("?","pathname","search",a)),de(!a.pathname||!a.pathname.includes("#"),Bo("#","pathname","hash",a)),de(!a.search||!a.search.includes("#"),Bo("#","search","hash",a)));let o=n===""||a.pathname==="",s=o?"/":a.pathname,i;if(s==null)i=t;else{let d=e.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;a.pathname=h.join("/")}i=d>=0?e[d]:"/"}let c=xf(a,i),l=s&&s!=="/"&&s.endsWith("/"),u=(o||s===".")&&t.endsWith("/");return!c.pathname.endsWith("/")&&(l||u)&&(c.pathname+="/"),c}const sn=n=>n.join("/").replace(/\/\/+/g,"/"),Tf=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Df=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Of=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;class bs extends Error{}class _f{constructor(e,t){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],de(e&&typeof e=="object"&&!Array.isArray(e),"defer() only accepts plain objects");let r;this.abortPromise=new Promise((o,s)=>r=s),this.controller=new AbortController;let a=()=>r(new bs("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",a),this.controller.signal.addEventListener("abort",a),this.data=Object.entries(e).reduce((o,s)=>{let[i,c]=s;return Object.assign(o,{[i]:this.trackPromise(i,c)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let r=Promise.race([t,this.abortPromise]).then(a=>this.onSettle(r,e,void 0,a),a=>this.onSettle(r,e,a));return r.catch(()=>{}),Object.defineProperty(r,"_tracked",{get:()=>!0}),r}onSettle(e,t,r,a){if(this.controller.signal.aborted&&r instanceof bs)return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>r}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),r===void 0&&a===void 0){let o=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:()=>o}
11),this.emit(!1,t),Promise.reject(o)}return a===void 0?(Object.defineProperty(e,"_error",{get:()=>r}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:()=>a}),this.emit(!1,t),a)}emit(e,t){this.subscribers.forEach(r=>r(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let r=()=>this.cancel();e.addEventListener("abort",r),t=await new Promise(a=>{this.subscribe(o=>{e.removeEventListener("abort",r),(o||this.done)&&a(o)})})}return t}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return de(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[r,a]=t;return Object.assign(e,{[r]:If(a)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function kf(n){return n instanceof Promise&&n._tracked===!0}function If(n){if(!kf(n))return n;if(n._error)throw n._error;return n._data}const GC=function(e,t){t===void 0&&(t={});let r=typeof t=="number"?{status:t}:t;return new _f(e,r)},QC=function(e,t){t===void 0&&(t=302);let r=t;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let a=new Headers(r.headers);return a.set("Location",e),new Response(null,je({},r,{headers:a}))};class lo{constructor(e,t,r,a){a===void 0&&(a=!1),this.status=e,this.statusText=t||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ca(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}const gu=["post","put","patch","delete"],Lf=new Set(gu),Mf=["get",...gu],Nf=new Set(Mf),Ff=new Set([301,302,303,307,308]),Bf=new Set([307,308]),jo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jf={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ni=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uf=n=>({hasErrorBoundary:!!n.hasErrorBoundary}),vu="remix-router-transitions";function qf(n){const e=n.window?n.window:typeof window<"u"?window:void 0,t=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",r=!t;de(n.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(n.mapRouteProperties)a=n.mapRouteProperties;else if(n.detectErrorBoundary){let S=n.detectErrorBoundary;a=x=>({hasErrorBoundary:S(x)})}else a=Uf;let o={},s=co(n.routes,a,void 0,o),i,c=n.basename||"/",l=n.dataStrategy||zf,u=n.patchRoutesOnNavigation,d=je({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},n.future),h=null,p=new Set,y=null,g=null,w=null,m=n.hydrationData!=null,b=kn(s,n.history.location,c),C=!1,R=null;if(b==null&&!u){let S=Ct(404,{pathname:n.history.location.pathname}),{matches:x,route:k}=Ji(s);b=x,R={[k.id]:S}}b&&!n.hydrationData&&tn(b,s,n.history.location.pathname).active&&(b=null);let E;if(b)if(b.some(S=>S.route.lazy))E=!1;else if(!b.some(S=>S.route.loader))E=!0;else if(d.v7_partialHydration){let S=n.hydrationData?n.hydrationData.loaderData:null,x=n.hydrationData?n.hydrationData.errors:null;if(x){let k=b.findIndex(F=>x[F.route.id]!==void 0);E=b.slice(0,k+1).every(F=>!Ps(F.route,S,x))}else E=b.every(k=>!Ps(k.route,S,x))}else E=n.hydrationData!=null;else if(E=!1,b=[],d.v7_partialHydration){let S=tn(null,s,n.history.location.pathname);S.active&&S.matches&&(C=!0,b=S.matches)}let j,P={historyAction:n.history.action,location:n.history.location,matches:b,initialized:E,navigation:jo,restoreScrollPosition:n.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:n.hydrationData&&n.hydrationData.loaderData||{},actionData:n.hydrationData&&n.hydrationData.actionData||null,errors:n.hydrationData&&n.hydrationData.errors||R,fetchers:new Map,blockers:new Map},I=Xe.Pop,Y=!1,_,U=!1,z=new Map,ge=null,ne=!1,Ae=!1,Qe=[],He=new Set,pe=new Map,le=0,Ge=-1,xe=new Map,ve=new Set,Ue=new Map,rt=new Map,Ve=new Set,gt=new Map,fe=new Map,Ie;function Ft(){if(h=n.history.listen(S=>{let{action:x,location:k,delta:F}=S;if(Ie){Ie(),Ie=void 0;return}Kn(fe.size===0||F!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let V=Ia({currentLocation:P.location,nextLocation:k,historyAction:x});if(V&&F!=null){let te=new Promise(ie=>{Ie=ie});n.history.go(F*-1),ar(V,{state:"blocked",location:k,proceed(){ar(V,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),te.then(()=>n.history.go(F))},reset(){let ie=new Map(P.blockers);ie.set(V,gr),we({blockers:ie})}});return}return Ze(x,k)}),t){oh(e,z);let S=()=>sh(e,z);e.addEventListener("pagehide",S),ge=()=>e.removeEventListener("pagehide",S)}return P.initialized||Ze(Xe.Pop,P.location,{initialHydration:!0}),j}function Ht(){h&&h(),ge&&ge(),p.clear(),_&&_.abort(),P.fetchers.forEac
vendor: 37,815 bytes, lines 11-21
11h((S,x)=>rr(x)),P.blockers.forEach((S,x)=>ka(x))}function Ot(S){return p.add(S),()=>p.delete(S)}function we(S,x){x===void 0&&(x={}),P=je({},P,S);let k=[],F=[];d.v7_fetcherPersist&&P.fetchers.forEach((V,te)=>{V.state==="idle"&&(Ve.has(te)?F.push(te):k.push(te))}),Ve.forEach(V=>{!P.fetchers.has(V)&&!pe.has(V)&&F.push(V)}),[...p].forEach(V=>V(P,{deletedFetchers:F,viewTransitionOpts:x.viewTransitionOpts,flushSync:x.flushSync===!0})),d.v7_fetcherPersist?(k.forEach(V=>P.fetchers.delete(V)),F.forEach(V=>rr(V))):F.forEach(V=>Ve.delete(V))}function $e(S,x,k){var F,V;let{flushSync:te}=k===void 0?{}:k,ie=P.actionData!=null&&P.navigation.formMethod!=null&&qt(P.navigation.formMethod)&&P.navigation.state==="loading"&&((F=S.state)==null?void 0:F._isRedirect)!==!0,G;x.actionData?Object.keys(x.actionData).length>0?G=x.actionData:G=null:ie?G=P.actionData:G=null;let Q=x.loaderData?Gi(P.loaderData,x.loaderData,x.matches||[],x.errors):P.loaderData,K=P.blockers;K.size>0&&(K=new Map(K),K.forEach((Ce,st)=>K.set(st,gr)));let ee=Y===!0||P.navigation.formMethod!=null&&qt(P.navigation.formMethod)&&((V=S.state)==null?void 0:V._isRedirect)!==!0;i&&(s=i,i=void 0),ne||I===Xe.Pop||(I===Xe.Push?n.history.push(S,S.state):I===Xe.Replace&&n.history.replace(S,S.state));let he;if(I===Xe.Pop){let Ce=z.get(P.location.pathname);Ce&&Ce.has(S.pathname)?he={currentLocation:P.location,nextLocation:S}:z.has(S.pathname)&&(he={currentLocation:S,nextLocation:P.location})}else if(U){let Ce=z.get(P.location.pathname);Ce?Ce.add(S.pathname):(Ce=new Set([S.pathname]),z.set(P.location.pathname,Ce)),he={currentLocation:P.location,nextLocation:S}}we(je({},x,{actionData:G,loaderData:Q,historyAction:I,location:S,initialized:!0,navigation:jo,revalidation:"idle",restoreScrollPosition:ot(S,x.matches||P.matches),preventScrollReset:ee,blockers:K}),{viewTransitionOpts:he,flushSync:te===!0}),I=Xe.Pop,Y=!1,U=!1,ne=!1,Ae=!1,Qe=[]}async function et(S,x){if(typeof S=="number"){n.history.go(S);return}let k=ws(P.location,P.matches,c,d.v7_prependBasename,S,d.v7_relativeSplatPath,x==null?void 0:x.fromRouteId,x==null?void 0:x.relative),{path:F,submission:V,error:te}=qi(d.v7_normalizeFormMethod,!1,k,x),ie=P.location,G=ia(P.location,F,x&&x.state);G=je({},G,n.history.encodeLocation(G));let Q=x&&x.replace!=null?x.replace:void 0,K=Xe.Push;Q===!0?K=Xe.Replace:Q===!1||V!=null&&qt(V.formMethod)&&V.formAction===P.location.pathname+P.location.search&&(K=Xe.Replace);let ee=x&&"preventScrollReset"in x?x.preventScrollReset===!0:void 0,he=(x&&x.flushSync)===!0,Ce=Ia({currentLocation:ie,nextLocation:G,historyAction:K});if(Ce){ar(Ce,{state:"blocked",location:G,proceed(){ar(Ce,{state:"proceeding",proceed:void 0,reset:void 0,location:G}),et(S,x)},reset(){let st=new Map(P.blockers);st.set(Ce,gr),we({blockers:st})}});return}return await Ze(K,G,{submission:V,pendingError:te,preventScrollReset:ee,replace:x&&x.replace,enableViewTransition:x&&x.viewTransition,flushSync:he})}function en(){if(Ee(),we({revalidation:"loading"}),P.navigation.state!=="submitting"){if(P.navigation.state==="idle"){Ze(P.historyAction,P.location,{startUninterruptedRevalidation:!0});return}Ze(I||P.historyAction,P.navigation.location,{overrideNavigation:P.navigation,enableViewTransition:U===!0})}}async function Ze(S,x,k){_&&_.abort(),_=null,I=S,ne=(k&&k.startUninterruptedRevalidation)===!0,Bt(P.location,P.matches),Y=(k&&k.preventScrollReset)===!0,U=(k&&k.enableViewTransition)===!0;let F=i||s,V=k&&k.overrideNavigation,te=k!=null&&k.initialHydration&&P.matches&&P.matches.length>0&&!C?P.matches:kn(F,x,c),ie=(k&&k.flushSync)===!0;if(te&&P.initialized&&!Ae&&Jf(P.location,x)&&!(k&&k.submission&&qt(k.submission.formMethod))){$e(x,{matches:te},{flushSync:ie});return}let G=tn(te,F,x.pathname);if(G.active&&G.matches&&(te=G.matches),!te){let{error:Fe,notFoundMatches:Te,route:ze}=jr(x.pathname);$e(x,{matches:Te,loaderData:{},errors:{[ze.id]:Fe}},{flushSync:ie});return}_=new AbortController;let Q=cr(n.history,x,_.signal,k&&k.submission),K;if(k&&k.pendingError)K=[In(te).route.id,{type:Me.error,error:k.pendingError}];else if(k&&k.submission&&qt(k.submission.formMethod)){let Fe=await at(Q,x,k.submission,te,G.active,{replace:k.replace,flushSync:ie});if(Fe.shortCircuited)return;if(Fe.pendingActionResult){let[Te,ze]=Fe.pendingActionResult;if(Dt(ze)&&ca(ze.error)&&ze.error.status===404){_=null,$e(x,{matches:Fe.matches,loaderData:{},errors:{[Te]:ze.error}});return}}te=Fe.matches||te,K=Fe.pendingActionResult,V=Uo(x,k.submission),ie=!1,G.active=!1,Q=cr(n.history,Q.url,Q.signal)}let{shortCircuited:ee,matches:he,loaderData:Ce,errors:st}=await re(Q,x,te,G.active,V,k&&k.submission,k&&k.fetcherSubmission,k&&k.replace,k&&k.initialHydration===!0,ie,K);ee||(_=null,$e(x,je({matches:he||te},Qi(K),{loaderData:Ce,errors:st})))}async function at(S,x,k,F,V,te){te===void 0&&(te={}),Ee();let ie=rh(x,k);if(we({navigation:ie},{flushSync:te.flushSync===!0}),V){let K=await La(F,x.pathname,S.signal);if(K.type==="aborted")return{shortCircuited:!0};if(K.type==="error"){let ee=In(K.partialMatches).route.id;return{matches:K.partialMatches,pendingActionResult:[ee,{type:Me.error,error:K.error}]}}else if(K.matches)F=K.matches;else{let{notFoundMatches:ee,error:he,route:Ce}=jr(x.pathname);return{matches:ee,pendingActionResult:[Ce.id,{type:Me.error,error:he}]}}}let G,Q=aa(F,x);if(!Q.route.action&&!Q.route.lazy)G={type:Me.error,error:Ct(405,{method:S.method,pathname:x.pathname,routeId:Q.route.id})};else if(G=(await be("action",P,S,[Q],F,null))[Q.route.id],S.signal.aborted)return{shortCircuited:!0};if(Ln(G)){let K;return te&&te.replace!=null?K=te.replace:K=Wi(G.response.headers.get("Location"),new URL(S.url),c,n.history)===P.location.pathname+P.location.search,await X(S,G,!0,{submission:k,replace:K}),{shortCircuited:!0}}if(Sn(G))throw Ct(400,{type:"defer-action"});if(Dt(G)){let K=In(F,Q.route.id);return(te&&te.replace)!==!0&&(I=Xe.Push),{matches:F,pendingActionResult:[K.route.id,G]}}return{matches:F,pendingActionResult:[Q.route.id,G]}}async function re(S,x,k,F,V,te,ie,G,Q,K,ee){let he=V||Uo(x,te),Ce=te||ie||Zi(he),st=!ne&&(!d.v7_partialHydration||!Q);if(F){if(st){let We=qe(ee);we(je({navigation:he},We!==void 0?{actionData:We}:{}),{flushSync:K})}let Re=await La(k,x.pathname,S.signal);if(Re.type==="aborted")return{shortCircuited:!0};if(Re.type==="error"){let We=In(Re.partialMatches).route.id;return{matches:Re.partialMatches,loaderData:{},errors:{[We]:Re.error}}}else if(Re.matches)k=Re.matches;else{let{error:We,notFoundMatches:sr,route:Hr}=jr(x.pathname);return{matches:sr,loaderData:{},errors:{[Hr.id]:We}}}}let Fe=i||s,[Te,ze]=Vi(n.history,P,k,Ce,x,d.v7_partialHydration&&Q===!0,d.v7_skipActionErrorRevalidation,Ae,Qe,He,Ve,Ue,ve,Fe,c,ee);if(W(Re=>!(k&&k.some(We=>We.route.id===Re))||Te&&Te.some(We=>We.route.id===Re)),Ge=++le,Te.length===0&&ze.length===0){let Re=_a();return $e(x,je({matches:k,loaderData:{},errors:ee&&Dt(ee[1])?{[ee[0]]:ee[1].error}:null},Qi(ee),Re?{fetchers:new Map(P.fetchers)}:{}),{flushSync:K}),{shortCircuited:!0}}if(st){let Re={};if(!F){Re.navigation=he;let We=qe(ee);We!==void 0&&(Re.actionData=We)}ze.length>0&&(Re.fetchers=D(ze)),we(Re,{flushSync:K})}ze.forEach(Re=>{Vt(Re.key),Re.controller&&pe.set(Re.key,Re.controller)});let or=()=>ze.forEach(Re=>Vt(Re.key));_&&_.signal.addEventListener("abort",or);let{loaderResults:Ur,fetcherResults:nn}=await me(P,k,Te,ze,S);if(S.signal.aborted)return{shortCircuited:!0};_&&_.signal.removeEventListener("abort",or),ze.forEach(Re=>pe.delete(Re.key));let $t=qa(Ur);if($t)return await X(S,$t.result,!0,{replace:G}),{shortCircuited:!0};if($t=qa(nn),$t)return ve.add($t.key),await X(S,$t.result,!0,{replace:G}),{shortCircuited:!0};let{loaderData:No,errors:qr}=Ki(P,k,Ur,ee,ze,nn,gt);gt.forEach((Re,We)=>{Re.subscribe(sr=>{(sr||Re.done)&>.delete(We)})}),d.v7_partialHydration&&Q&&P.errors&&(qr=je({},P.errors,qr));let On=_a(),Ma=Dn(Ge),Na=On||Ma||ze.length>0;return je({matches:k,loaderData:No,errors:qr},Na?{fetchers:new Map(P.fetchers)}:{})}function qe(S){if(S&&!Dt(S[1]))return{[S[0]]:S[1].data};if(P.actionData)return Object.keys(P.actionData).length===0?null:P.actionData}function D(S){return S.forEach(x=>{let k=P.fetchers.get(x.key),F=Vr(void 0,k?k.data:void 0);P.fetchers.set(x.key,F)}),new Map(P.fetchers)}function L(S,x,k,F){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Vt(S);let V=(F&&F.flushSync)===!0,te=i||s,ie=ws(P.location,P.matches,c,d.v7_prependBasename,k,d.v7_relativeSplatPath,x,F==null?void 0:F.relative),G=kn(te,ie,c),Q=tn(G,te,ie);if(Q.active&&Q.matches&&(G=Q.matches),!G){vt(S,x,Ct(404,{pathname:ie}),{flushSync:V});return}let{path:K,submission:ee,error:he}=qi(d.v7_normalizeFormMethod,!0,ie,F);if(he){vt(S,x,he,{flushSync:V});return}let Ce=aa(G,K),st=(F&&F.preventScrollReset)===!0;if(ee&&qt(ee.formMethod)){N(S,x,K,Ce,G,Q.active,V,st,ee);return}Ue.set(S,{routeId:x,path:K}),q(S,x,K,Ce,G,Q.active,V,st,ee)}async function N(S,x,k,F,V,te,ie,G,Q){Ee(),Ue.delete(S);function K(Je){if(!Je.route.action&&!Je.route.lazy){let ir=Ct(405,{method:Q.formMethod,pathname:k,routeId:x});return vt(S,x,ir,{flushSync:ie}),!0}return!1}if(!te&&K(F))return;let ee=P.fetchers.get(S);St(S,ah(Q,ee),{flushSync:ie});let he=new AbortController,Ce=cr(n.history,k,he.signal,Q);if(te){let Je=await La(V,new URL(Ce.url).pathname,Ce.signal,S);if(Je.type==="aborted")return;if(Je.type==="error"){vt(S,x,Je.error,{flushSync:ie});return}else if(Je.matches){if(V=Je.matches,F=aa(V,k),K(F))return}else{vt(S,x,Ct(404,{pathname:k}),{flushSync:ie});return}}pe.set(S,he);let st=le,Te=(await be("action",P,Ce,[F],V,S))[F.route.id];if(Ce.signal.aborted){pe.get(S)===he&&pe.delete(S);return}if(d.v7_fetcherPersist&&Ve.has(S)){if(Ln(Te)||Dt(Te)){St(S,fn(void 0));return}}else{if(Ln(Te))if(pe.delete(S),Ge>st){St(S,fn(void 0));return}else return ve.add(S),St(S,Vr(Q)),X(Ce,Te,!1,{fetcherSubmission:Q,preventScrollReset:G});if(Dt(Te)){vt(S,x,Te.error);return}}if(Sn(Te))throw Ct(400,{type:"defer-action"});let ze=P.navigation.location||P.location,or=cr(n.history,ze,he.signal),Ur=i||s,nn=P.navigation.state!=="idle"?kn(Ur,P.navigation.location,c):P.matches;de(nn,"Didn't find any matches after fetcher action");let $t=++le;xe.set(S,$t);let No=Vr(Q,Te.data);P.fetchers.set(S,No);let[qr,On]=Vi(n.history,P,nn,Q,ze,!1,d.v7_skipActionErrorRevalidation,Ae,Qe,He,Ve,Ue,ve,Ur,c,[F.route.id,Te]);On.filter(Je=>Je.key!==S).forEach(Je=>{let ir=Je.key,ki=P.fetchers.get(ir),Yd=Vr(void 0,ki?ki.data:void 0);P.fetchers.set(ir,Yd),Vt(ir),Je.controller&&pe.set(ir,Je.controller)}),we({fetchers:new Map(P.fetchers)});let Ma=()=>On.forEach(Je=>Vt(Je.key));he.signal.addEventListener("abort",Ma);let{loaderResults:Na,fetcherResults:Re}=await me(P,nn,qr,On,or);if(he.signal.aborted)return;he.signal.removeEventListener("abort",Ma),xe.delete(S),pe.delete(S),On.forEach(Je=>pe.delete(Je.key));let We=qa(Na);if(We)return X(or,We.result,!1,{preventScrollReset:G});if(We=qa(Re),We)return ve.add(We.key),X(or,We.result,!1,{preventScrollReset:G});let{loaderData:sr,errors:Hr}=Ki(P,nn,Na,void 0,On,Re,gt);if(P.fetchers.has(S)){let Je=fn(Te.data);P.fetchers.set(S,Je)}Dn($t),P.navigation.state==="loading"&&$t>Ge?(de(I,"Expected pending action"),_&&_.abort(),$e(P.navigation.location,{matches:nn,loaderData:sr,errors:Hr,fetchers:new Map(P.fetchers)})):(we({errors:Hr,loaderData:Gi(P.loaderData,sr,nn,Hr),fetchers:new Map(P.fetchers)}),Ae=!1)}async function q(S,x,k,F,V,te,ie,G,Q){let K=P.fetchers.get(S);St(S,Vr(Q,K?K.data:void 0),{flushSync:ie});let ee=new AbortController,he=cr(n.history,k,ee.signal);if(te){let Te=await La(V,new URL(he.url).pathname,he.signal,S);if(Te.type==="aborted")return;if(Te.type==="error"){vt(S,x,Te.error,{flushSync:ie});return}else if(Te.matches)V=Te.matches,F=aa(V,k);else{vt(S,x,Ct(404,{pathname:k}),{flushSync:ie});return}}pe.set(S,ee);let Ce=le,Fe=(await be("loader",P,he,[F],V,S))[F.route.id];if(Sn(Fe)&&(Fe=await ri(Fe,he.signal,!0)||Fe),pe.get(S)===ee&&pe.delete(S),!he.signal.aborted){if(Ve.has(S)){St(S,fn(void 0));return}if(Ln(Fe))if(Ge>Ce){St(S,fn(void 0));return}else{ve.add(S),await X(he,Fe,!1,{preventScrollReset:G});return}if(Dt(Fe)){vt(S,x,Fe.error);return}de(!Sn(Fe),"Unhandled fetcher deferred data"),St(S,fn(Fe.data))}}async function X(S,x,k,F){let{submission:V,fetcherSubmission:te,preventScrollReset:ie,replace:G}=F===void 0?{}:F;x.response.headers.has("X-Remix-Revalidate")&&(Ae=!0);let Q=x.response.headers.get("Location");de(Q,"Expected a Location header on the redirect Response"),Q=Wi(Q,new URL(S.url),c,n.history);let K=ia(P.location,Q,{_isRedirect:!0});if(t){let Te=!1;if(x.response.headers.has("X-Remix-Reload-Document"))Te=!0;else if(ni.test(Q)){const ze=n.history.createURL(Q);Te=ze.origin!==e.location.origin||cn(ze.pathname,c)==null}if(Te){G?e.location.replace(Q):e.location.assign(Q);return}}_=null;let ee=G===!0||x.response.headers.has("X-Remix-Replace")?Xe.Replace:Xe.Push,{formMethod:he,formAction:Ce,formEncType:st}=P.navigation;!V&&!te&&he&&Ce&&st&&(V=Zi(P.navigation));let Fe=V||te;if(Bf.has(x.response.status)&&Fe&&qt(Fe.formMethod))await Ze(ee,K,{submission:je({},Fe,{formAction:Q}),preventScrollReset:ie||Y,enableViewTransition:k?U:void 0});else{let Te=Uo(K,V);await Ze(ee,K,{overrideNavigation:Te,fetcherSubmission:te,preventScrollReset:ie||Y,enableViewTransition:k?U:void 0})}}async function be(S,x,k,F,V,te){let ie,G={};try{ie=await Wf(l,S,x,k,F,V,te,o,a)}catch(Q){return F.forEach(K=>{G[K.route.id]={type:Me.error,error:Q}}),G}for(let[Q,K]of Object.entries(ie))if(Xf(K)){let ee=K.result;G[Q]={type:Me.redirect,response:Gf(ee,k,Q,V,c,d.v7_relativeSplatPath)}}else G[Q]=await Kf(K);return G}async function me(S,x,k,F,V){let te=S.matches,ie=be("loader",S,V,k,x,null),G=Promise.all(F.map(async ee=>{if(ee.matches&&ee.match&&ee.controller){let Ce=(await be("loader",S,cr(n.history,ee.path,ee.controller.signal),[ee.match],ee.matches,ee.key))[ee.match.route.id];return{[ee.key]:Ce}}else return Promise.resolve({[ee.key]:{type:Me.error,error:Ct(404,{pathname:ee.path})}})})),Q=await ie,K=(await G).reduce((ee,he)=>Object.assign(ee,he),{});return await Promise.all([th(x,Q,V.signal,te,S.loaderData),nh(x,K,F)]),{loaderResults:Q,fetcherResults:K}}function Ee(){Ae=!0,Qe.push(...W()),Ue.forEach((S,x)=>{pe.has(x)&&He.add(x),Vt(x)})}function St(S,x,k){k===void 0&&(k={}),P.fetchers.set(S,x),we({fetchers:new Map(P.fetchers)},{flushSync:(k&&k.flushSync)===!0})}function vt(S,x,k,F){F===void 0&&(F={});let V=In(P.matches,x);rr(S),we({errors:{[V.route.id]:k},fetchers:new Map(P.fetchers)},{flushSync:(F&&F.flushSync)===!0})}function nr(S){return rt.set(S,(rt.get(S)||0)+1),Ve.has(S)&&Ve.delete(S),P.fetchers.get(S)||jf}function rr(S){let x=P.fetchers.get(S);pe.has(S)&&!(x&&x.state==="loading"&&xe.has(S))&&Vt(S),Ue.delete(S),xe.delete(S),ve.delete(S),d.v7_fetcherPersist&&Ve.delete(S),He.delete(S),P.fetchers.delete(S)}function Lo(S){let x=(rt.get(S)||0)-1;x<=0?(rt.delete(S),Ve.add(S),d.v7_fetcherPersist||rr(S)):rt.set(S,x),we({fetchers:new Map(P.fetchers)})}function Vt(S){let x=pe.get(S);x&&(x.abort(),pe.delete(S))}function Oa(S){for(let x of S){let k=nr(x),F=fn(k.data);P.fetchers.set(x,F)}}function _a(){let S=[],x=!1;for(let k of ve){let F=P.fetchers.get(k);de(F,"Expected fetcher: "+k),F.state==="loading"&&(ve.delete(k),S.push(k),x=!0)}return Oa(S),x}function Dn(S){let x=[];for(let[k,F]of xe)if(F<S){let V=P.fetchers.get(k);de(V,"Expected fetcher: "+k),V.state==="loading"&&(Vt(k),xe.delete(k),x.push(k))}return Oa(x),x.length>0}function Mo(S,x){let k=P.blockers.get(S)||gr;return fe.get(S)!==x&&fe.set(S,x),k}function ka(S){P.blockers.delete(S),fe.delete(S)}function ar(S,x){let k=P.blockers.get(S)||gr;de(k.state==="unblocked"&&x.state==="blocked"||k.state==="blocked"&&x.state==="blocked"||k.state==="blocked"&&x.state==="proceeding"||k.state==="blocked"&&x.state==="unblocked"||k.state==="proceeding"&&x.state==="unblocked","Invalid blocker state transition: "+k.state+" -> "+x.state);let F=new Map(P.blockers);F.set(S,x),we({blockers:F})}function Ia(S){let{currentLocation:x,nextLocation:k,historyAction:F}=S;if(fe.size===0)return;fe.size>1&&Kn(!1,"A router only supports one blocker at a time");let V=Array.from(fe.entries()),[te,ie]=V[V.length-1],G=P.blockers.get(te);if(!(G&&G.state==="proceeding")&&ie({currentLocation:x,nextLocation:k,historyAction:F}))return te}function jr(S){let x=Ct(404,{pathname:S}),k=i||s,{matches:F,route:V}=Ji(k);return W(),{notFoundMatches:F,route:V,error:x}}function W(S){let x=[];return gt.forEach((k,F)=>{(!S||S(F))&&(k.cancel(),x.push(F),gt.delete(F))}),x}function ye(S,x,k){if(y=S,w=x,g=k||null,!m&&P.navigation===jo){m=!0;let F=ot(P.location,P.matches);F!=null&&we({restoreScrollPosition:F})}return()=>{y=null,w=null,g=null}}function Ne(S,x){return g&&g(S,x.map(F=>hu(F,P.loaderData)))||S.key}function Bt(S,x){if(y&&w){let k=Ne(S,x);y[k]=w()}}function ot(S,x){if(y){let k=Ne(S,x),F=y[k];if(typeof F=="number")return F}return null}function tn(S,x,k){if(u)if(S){if(Object.keys(S[0].params).length>0)return{active:!0,matches:to(x,k,c,!0)}}else return{active:!0,matches:to(x,k,c,!0)||[]};return{active:!1,matches:null}}async function La(S,x,k,F){if(!u)return{type:"success",matches:S};let V=S;for(;;){let te=i==null,ie=i||s,G=o;try{await u({signal:k,path:x,matches:V,fetcherKey:F,patch:(ee,he)=>{k.aborted||zi(ee,he,ie,G,a)}})}catch(ee){return{type:"error",error:ee,partialMatches:V}}finally{te&&!k.aborted&&(s=[...s])}if(k.aborted)return{type:"aborted"};let Q=kn(ie,x,c);if(Q)return{type:"success",matches:Q};let K=to(ie,x,c,!0);if(!K||V.length===K.length&&V.every((ee,he)=>ee.route.id===K[he].route.id))return{type:"success",matches:null};V=K}}function zd(S){o={},i=co(S,a,void 0,o)}function Wd(S,x){let k=i==null;zi(S,x,i||s,o,a),k&&(s=[...s],we({}))}return j={get basename(){return c},get future(){return d},get state(){return P},get routes(){return s},get window(){return e},initialize:Ft,subscribe:Ot,enableScrollRestoration:ye,navigate:et,fetch:L,revalidate:en,createHref:S=>n.history.createHref(S),encodeLocation:S=>n.history.encodeLocation(S),getFetcher:nr,deleteFetcher:Lo,dispose:Ht,getBlocker:Mo,deleteBlocker:ka,patchRoutes:Wd,_internalFetchControllers:pe,_internalActiveDeferreds:gt,_internalSetRoutes:zd},j}function Hf(n){return n!=null&&("formData"in n&&n.formData!=null||"body"in n&&n.body!==void 0)}function ws(n,e,t,r,a,o,s,i){let c,l;if(s){c=[];for(let d of e)if(c.push(d),d.route.id===s){l=d;break}}else c=e,l=e[e.length-1];let u=Po(a||".",wo(c,o),cn(n.pathname,t)||n.pathname,i==="path");if(a==null&&(u.search=n.search,u.hash=n.hash),(a==null||a===""||a===".")&&l){let d=ai(u.search);if(l.route.index&&!d)u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index";else if(!l.route.index&&d){let h=new URLSearchParams(u.search),p=h.getAll("index");h.delete("index"),p.filter(g=>g).forEach(g=>h.append("index",g));let y=h.toString();u.search=y?"?"+y:""}}return r&&t!=="/"&&(u.pathname=u.pathname==="/"?t:sn([t,u.pathname])),Gn(u)}function qi(n,e,t,r){if(!r||!Hf(r))return{path:t};if(r.formMethod&&!eh(r.formMethod))return{path:t,error:Ct(405,{method:r.formMethod})};let a=()=>({path:t,error:Ct(400,{type:"invalid-body"})}),o=r.formMethod||"get",s=n?o.toUpperCase():o.toLowerCase(),i=Pu(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!qt(s))return a();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,y)=>{let[g,w]=y;return""+p+g+"="+w+` 12`},""):String(r.body);return{path:t,submission:{formMethod:s,formAction:i,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!qt(s))return a();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:s,formAction:i,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return a()}}}de(typeof FormData=="function","FormData is not available in this environment");let c,l;if(r.formData)c=Ss(r.formData),l=r.formData;else if(r.body instanceof FormData)c=Ss(r.body),l=r.body;else if(r.body instanceof URLSearchParams)c=r.body,l=Yi(c);else if(r.body==null)c=new URLSearchParams,l=new FormData;else try{c=new URLSearchParams(r.body),l=Yi(c)}catch{return a()}let u={formMethod:s,formAction:i,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if(qt(u.formMethod))return{path:t,submission:u};let d=xn(t);return e&&d.search&&ai(d.search)&&c.append("index",""),d.search="?"+c,{path:Gn(d),submission:u}}function Hi(n,e,t){t===void 0&&(t=!1);let r=n.findIndex(a=>a.route.id===e);return r>=0?n.slice(0,t?r+1:r):n}function Vi(n,e,t,r,a,o,s,i,c,l,u,d,h,p,y,g){let w=g?Dt(g[1])?g[1].error:g[1].data:void 0,m=n.createURL(e.location),b=n.createURL(a),C=t;o&&e.errors?C=Hi(t,Object.keys(e.errors)[0],!0):g&&Dt(g[1])&&(C=Hi(t,g[0]));let R=g?g[1].statusCode:void 0,E=s&&R&&R>=400,j=C.filter((I,Y)=>{let{route:_}=I;if(_.lazy)return!0;if(_.loader==null)return!1;if(o)return Ps(_,e.loaderData,e.errors);if(Vf(e.loaderData,e.matches[Y],I)||c.some(ge=>ge===I.route.id))return!0;let U=e.matches[Y],z=I;return $i(I,je({currentUrl:m,currentParams:U.params,nextUrl:b,nextParams:z.params},r,{actionResult:w,actionStatus:R,defaultShouldRevalidate:E?!1:i||m.pathname+m.search===b.pathname+b.search||m.search!==b.search||bu(U,z)}))}),P=[];return d.forEach((I,Y)=>{if(o||!t.some(ne=>ne.route.id===I.routeId)||u.has(Y))return;let _=kn(p,I.path,y);if(!_){P.push({key:Y,routeId:I.routeId,path:I.path,matches:null,match:null,controller:null});return}let U=e.fetchers.get(Y),z=aa(_,I.path),ge=!1;h.has(Y)?ge=!1:l.has(Y)?(l.delete(Y),ge=!0):U&&U.state!=="idle"&&U.data===void 0?ge=i:ge=$i(z,je({currentUrl:m,currentParams:e.matches[e.matches.length-1].params,nextUrl:b,nextParams:t[t.length-1].params},r,{actionResult:w,actionStatus:R,defaultShouldRevalidate:E?!1:i})),ge&&P.push({key:Y,routeId:I.routeId,path:I.path,matches:_,match:z,controller:new AbortController})}),[j,P]}function Ps(n,e,t){if(n.lazy)return!0;if(!n.loader)return!1;let r=e!=null&&e[n.id]!==void 0,a=t!=null&&t[n.id]!==void 0;return!r&&a?!1:typeof n.loader=="function"&&n.loader.hydrate===!0?!0:!r&&!a}function Vf(n,e,t){let r=!e||t.route.id!==e.route.id,a=n[t.route.id]===void 0;return r||a}function bu(n,e){let t=n.route.path;return n.pathname!==e.pathname||t!=null&&t.endsWith("*")&&n.params["*"]!==e.params["*"]}function $i(n,e){if(n.route.shouldRevalidate){let t=n.route.shouldRevalidate(e);if(typeof t=="boolean")return t}return e.defaultShouldRevalidate}function zi(n,e,t,r,a){var o;let s;if(n){let l=r[n];de(l,"No route found to patch children into: routeId = "+n),l.children||(l.children=[]),s=l.children}else s=t;let i=e.filter(l=>!s.some(u=>wu(l,u))),c=co(i,a,[n||"_","patch",String(((o=s)==null?void 0:o.length)||"0")],r);s.push(...c)}function wu(n,e){return"id"in n&&"id"in e&&n.id===e.id?!0:n.index===e.index&&n.path===e.path&&n.caseSensitive===e.caseSensitive?(!n.children||n.children.length===0)&&(!e.children||e.children.length===0)?!0:n.children.every((t,r)=>{var a;return(a=e.children)==null?void 0:a.some(o=>wu(t,o))}):!1}async function $f(n,e,t){if(!n.lazy)return;let r=await n.lazy();if(!n.lazy)return;let a=t[n.id];de(a,"No route found in manifest");let o={};for(let s in r){let c=a[s]!==void 0&&s!=="hasErrorBoundary";Kn(!c,'Route "'+a.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!c&&!df.has(s)&&(o[s]=r[s])}Object.assign(a,o),Object.assign(a,je({},e(a),{lazy:void 0}))}async function zf(n){let{matches:e}=n,t=e.filter(a=>a.shouldLoad);return(await Promise.all(t.map(a=>a.resolve()))).reduce((a,o,s)=>Object.assign(a,{[t[s].route.id]:o}),{})}async function Wf(n,e,t,r,a,o,s,i,c,l){let u=o.map(p=>p.route.lazy?$f(p.route,c,i):void 0),d=o.map((p,y)=>{let g=u[y],w=a.some(b=>b.route.id===p.route.id);return je({},p,{shouldLoad:w,resolve:async b=>(b&&r.method==="GET"&&(p.route.lazy||p.route.loader)&&(w=!0),w?Yf(e,r,p,g,b,l):Promise.resolve({type:Me.data,result:void 0}))})}),h=await n({matches:d,request:r,params:o[0].params,fetcherKey:s,context:l});try{await Promise.all(u)}catch{}return h}async function Yf(n,e,t,r,a,o){let s,i,c=l=>{let u,d=new Promise((y,g)=>u=g);i=()=>u(),e.signal.addEventListener("abort",i);let h=y=>typeof l!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+n+'" [routeId: '+t.route.id+"]"))):l({request:e,params:t.params,context:o},...y!==void 0?[y]:[]),p=(async()=>{try{return{type:"data",result:await(a?a(g=>h(g)):h())}}catch(y){return{type:"error",result:y}}})();return Promise.race([p,d])};try{let l=t.route[n];if(r)if(l){let u,[d]=await Promise.all([c(l).catch(h=>{u=h}),r]);if(u!==void 0)throw u;s=d}else if(await r,l=t.route[n],l)s=await c(l);else if(n==="action"){let u=new URL(e.url),d=u.pathname+u.search;throw Ct(405,{method:e.method,pathname:d,routeId:t.route.id})}else return{type:Me.data,result:void 0};else if(l)s=await c(l);else{let u=new URL(e.url),d=u.pathname+u.search;throw Ct(404,{pathname:d})}de(s.result!==void 0,"You defined "+(n==="action"?"an action":"a loader")+" for route "+('"'+t.route.id+"\" but didn't return anything from your `"+n+"` ")+"function. Please return a value or `null`.")}catch(l){return{type:Me.error,result:l}}finally{i&&e.signal.removeEventListener("abort",i)}return s}async function Kf(n){let{result:e,type:t}=n;if(Su(e)){let d;try{let h=e.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?e.body==null?d=null:d=await e.json():d=await e.text()}catch(h){return{type:Me.error,error:h}}return t===Me.error?{type:Me.error,error:new lo(e.status,e.statusText,d),statusCode:e.status,headers:e.headers}:{type:Me.data,data:d,statusCode:e.status,headers:e.headers}}if(t===Me.error){if(Xi(e)){var r,a;if(e.data instanceof Error){var o,s;return{type:Me.error,error:e.data,statusCode:(o=e.init)==null?void 0:o.status,headers:(s=e.init)!=null&&s.headers?new Headers(e.init.headers):void 0}}return{type:Me.error,error:new lo(((r=e.init)==null?void 0:r.status)||500,void 0,e.data),statusCode:ca(e)?e.status:void 0,headers:(a=e.init)!=null&&a.headers?new Headers(e.init.headers):void 0}}return{type:Me.error,error:e,statusCode:ca(e)?e.status:void 0}}if(Zf(e)){var i,c;return{type:Me.deferred,deferredData:e,statusCode:(i=e.init)==null?void 0:i.status,headers:((c=e.init)==null?void 0:c.headers)&&new Headers(e.init.headers)}}if(Xi(e)){var l,u;return{type:Me.data,data:e.data,statusCode:(l=e.init)==null?void 0:l.status,headers:(u=e.init)!=null&&u.headers?new Headers(e.init.headers):void 0}}return{type:Me.data,data:e}}function Gf(n,e,t,r,a,o){let s=n.headers.get("Location");if(de(s,"Redirects returned/thrown from loaders/actions must have a Location header"),!ni.test(s)){let i=r.slice(0,r.findIndex(c=>c.route.id===t)+1);s=ws(new URL(e.url),i,a,!0,s,o),n.headers.set("Location",s)}return n}function Wi(n,e,t,r){let a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(ni.test(n)){let o=n,s=o.startsWith("//")?new URL(e.protocol+o):new URL(o);if(a.includes(s.protocol))throw new Error("Invalid redirect location");let i=cn(s.pathname,t)!=null;if(s.origin===e.origin&&i)return s.pathname+s.search+s.hash}try{let o=r.createURL(n);if(a.includes(o.protocol))throw new Error("Invalid redirect location")}catch{}return n}function cr(n,e,t,r){let a=n.createURL(Pu(e)).toString(),o={signal:t};if(r&&qt(r.formMethod)){let{formMethod:s,formEncType:i}=r;o.method=s.toUpperCase(),i==="application/json"?(o.headers=new Headers({"Content-Type":i}),o.body=JSON.stringify(r.json)):i==="text/plain"?o.body=r.text:i==="application/x-www-form-urlencoded"&&r.formData?o.body=Ss(r.formData):o.body=r.formData}return new Request(a,o)}function Ss(n){let e=new URLSearchParams;for(let[t,r]of n.entries())e.append(t,typeof r=="string"?r:r.name);return e}function Yi(n){let e=new FormData;for(let[t,r]of n.entries())e.append(t,r);return e}function Qf(n,e,t,r,a){let o={},s=null,i,c=!1,l={},u=t&&Dt(t[1])?t[1].error:void 0;return n.forEach(d=>{if(!(d.route.id in e))return;let h=d.route.id,p=e[h];if(de(!Ln(p),"Cannot handle redirect results in processLoaderData"),Dt(p)){let y=p.error;u!==void 0&&(y=u,u=void 0),s=s||{};{let g=In(n,h);s[g.route.id]==null&&(s[g.route.id]=y)}o[h]=void 0,c||(c=!0,i=ca(p.error)?p.error.status:500),p.headers&&(l[h]=p.headers)}else Sn(p)?(r.set(h,p.deferredData),o[h]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!c&&(i=p.statusCode),p.headers&&(l[h]=p.headers)):(o[h]=p.data,p.statusCode&&p.statusCode!==200&&!c&&(i=p.statusCode),p.headers&&(l[h]=p.headers))}),u!==void 0&&t&&(s={[t[0]]:u},o[t[0]]=void 0),{loaderData:o,errors:s,statusCode:i||200,loaderHeaders:l}}function Ki(n,e,t,r,a,o,s){let{loaderData:i,errors:c}=Qf(e,t,r,s);return a.forEach(l=>{let{key:u,match:d,controller:h}=l,p=o[u];if(de(p,"Did not find corresponding fetcher result"),!(h&&h.signal.aborted))if(Dt(p)){let y=In(n.matches,d==null?void 0:d.route.id);c&&c[y.route.id]||(c=je({},c,{[y.route.id]:p.error})),n.fetchers.delete(u)}else if(Ln(p))de(!1,"Unhandled fetcher revalidation redirect");else if(Sn(p))de(!1,"Unhandled fetcher deferred data");else{let y=fn(p.data);n.fetchers.set(u,y)}}),{loaderData:i,errors:c}}function Gi(n,e,t,r){let a=je({},e);for(let o of t){let s=o.route.id;if(e.hasOwnProperty(s)?e[s]!==void 0&&(a[s]=e[s]):n[s]!==void 0&&o.route.loader&&(a[s]=n[s]),r&&r.hasOwnProperty(s))break}return a}function Qi(n){return n?Dt(n[1])?{actionData:{}}:{actionData:{[n[0]]:n[1].data}}:{}}function In(n,e){return(e?n.slice(0,n.findIndex(r=>r.route.id===e)+1):[...n]).reverse().find(r=>r.route.hasErrorBoundary===!0)||n[0]}function Ji(n){let e=n.length===1?n[0]:n.find(t=>t.index||!t.path||t.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function Ct(n,e){let{pathname:t,routeId:r,method:a,type:o,message:s}=e===void 0?{}:e,i="Unknown Server Error",c="Unknown @remix-run/router error";return n===400?(i="Bad Request",a&&t&&r?c="You made a "+a+' request to "'+t+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?c="defer() is not supported in actions":o==="invalid-body"&&(c="Unable to encode submission body")):n===403?(i="Forbidden",c='Route "'+r+'" does not match URL "'+t+'"'):n===404?(i="Not Found",c='No route matches URL "'+t+'"'):n===405&&(i="Method Not Allowed",a&&t&&r?c="You made a "+a.toUpperCase()+' request to "'+t+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":a&&(c='Invalid request method "'+a.toUpperCase()+'"')),new lo(n||500,i,new Error(c),!0)}function qa(n){let e=Object.entries(n);for(let t=e.length-1;t>=0;t--){let[r,a]=e[t];if(Ln(a))return{key:r,result:a}}}function Pu(n){let e=typeof n=="string"?xn(n):n;return Gn(je({},e,{hash:""}))}function Jf(n,e){return n.pathname!==e.pathname||n.search!==e.search?!1:n.hash===""?e.hash!=="":n.hash===e.hash?!0:e.hash!==""}function Xf(n){return Su(n.result)&&Ff.has(n.result.status)}function Sn(n){return n.type===Me.deferred}function Dt(n){return n.type===Me.error}function Ln(n){return(n&&n.type)===Me.redirect}function Xi(n){return typeof n=="object"&&n!=null&&"type"in n&&"data"in n&&"init"in n&&n.type==="DataWithResponseInit"}function Zf(n){let e=n;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function Su(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.headers=="object"&&typeof n.body<"u"}function eh(n){return Nf.has(n.toLowerCase())}function qt(n){return Lf.has(n.toLowerCase())}async function th(n,e,t,r,a){let o=Object.entries(e);for(let s=0;s<o.length;s++){let[i,c]=o[s],l=n.find(h=>(h==null?void 0:h.route.id)===i);if(!l)continue;let u=r.find(h=>h.route.id===l.route.id),d=u!=null&&!bu(u,l)&&(a&&a[l.route.id])!==void 0;Sn(c)&&d&&await ri(c,t,!1).then(h=>{h&&(e[i]=h)})}}async function nh(n,e,t){for(let r=0;r<t.length;r++){let{key:a,routeId:o,controller:s}=t[r],i=e[a];n.find(l=>(l==null?void 0:l.route.id)===o)&&Sn(i)&&(de(s,"Expected an AbortController for revalidating fetcher deferred result"),await ri(i,s.signal,!0).then(l=>{l&&(e[a]=l)}))}}async function ri(n,e,t){if(t===void 0&&(t=!1),!await n.deferredData.resolveData(e)){if(t)try{return{type:Me.data,data:n.deferredData.unwrappedData}}catch(a){return{type:Me.error,error:a}}return{type:Me.data,data:n.deferredData.data}}}function ai(n){return new URLSearchParams(n).getAll("index").some(e=>e==="")}function aa(n,e){let t=typeof e=="string"?xn(e).search:e.search;if(n[n.length-1].route.index&&ai(t||""))return n[n.length-1];let r=yu(n);return r[r.length-1]}function Zi(n){let{formMethod:e,formAction:t,formEncType:r,text:a,formData:o,json:s}=n;if(!(!e||!t||!r)){if(a!=null)return{formMethod:e,formAction:t,formEncType:r,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:e,formAction:t,formEncType:r,formData:o,json:void 0,text:void 0};if(s!==void 0)return{formMethod:e,formAction:t,formEncType:r,formData:void 0,json:s,text:void 0}}}function Uo(n,e){return e?{state:"loading",location:n,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function rh(n,e){return{state:"submitting",location:n,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Vr(n,e){return n?{state:"loading",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function ah(n,e){return{state:"submitting",formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text,data:e?e.data:void 0}}function fn(n){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:n}}function oh(n,e){try{let t=n.sessionStorage.getItem(vu);if(t){let r=JSON.parse(t);for(let[a,o]of Object.entries(r||{}))o&&Array.isArray(o)&&e.set(a,new Set(o||[]))}}catch{}}function sh(n,e){if(e.size>0){let t={};for(let[r,a]of e)t[r]=[...a];try{n.sessionStorage.setItem(vu,JSON.stringify(t))}catch(r){Kn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** 13 * React Router v6.30.3 14 * 15 * Copyright (c) Remix Software Inc. 16 * 17 * This source code is licensed under the MIT license found in the 18 * LICENSE.md file in the root directory of this source tree. 19 * 20 * @license MIT 21 */function _r(){return _r=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_r.apply(this,arguments)}const Pa=O.createContext(null),oi=O.createContext(null),As=O.createContext(null),ln=O.createContext(null),si=O.createContext(null),Zt=O.createContext({outlet:null,matches:[],isDataRoute:!1}),Au=O.createContext(null);function ih(n,e){let{relative:t}=e===void 0?{}:e;Lr()||de(!1);let{basename:r,navigator:a}=O.useContext(ln),{hash:o,pathname:s,search:i}=Ru(n,{relative:t}),c=s;return r!=="/"&&(c=s==="/"?r:sn([r,s])),a.createHref({pathname:c,search:i,hash:o})}function Lr(){return O.useContext(si)!=null}function Tn(){return Lr()||de(!1),O.useContext(si).location}function Eu(n){O.useContext(ln).static||O.useLayoutEffect(n)}function Sa(){let{isDataRoute:n}=O.useContext(Zt);return n?Sh():ch()}function ch(){Lr()||de(!1);let n=O.useContext(Pa),{basename:e,future:t,navigator:r}=O.useContext(ln),{matches:a}=O.useContext(Zt),{pathname:o}=Tn(),s=JSON.stringify(wo(a,t.v7_relativeSplatPath)),i=O.useRef(!1);return Eu(()=>{i.current=!0}),O.useCallback(function(l,u){if(u===void 0&&(u={}),!i.current)return;if(typeof l=="number"){r.go(l);return}let d=Po(l,JSON.parse(s),o,u.relative==="path");n==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:sn([e,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[e,r,s,o,n])}const Cu=O.createContext(null);function JC(){return O.useContext(Cu)}function lh(n){let e=O.useContext(Zt).outlet;return e&&O.createElement(Cu.Provider,{value:n},e)}function uh(){let{matches:n}=O.useContext(Zt),e=n[n.length-1];return e?e.params:{}}function Ru(n,e){let{relative:t}=e===void 0?{}:e,{future:r}=O.useContext(ln),{matches:a}=O.useContext(Zt),{pathname:o}=Tn(),s=JSON.stringify(wo(a,r.v7_relativeSplatPath));return O.useMemo(()=>Po(n,JSON.parse(s),o,t==="path"),[n,s,o,t])}function dh(n,e,t,r){Lr()||de(!1);let{navigator:a}=O.useContext(ln),{matches:o}=O.useContext(Zt),s=o[o.length-1],i=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let l=Tn(),u;u=l;let d=u.pathname||"/",h=d;if(c!=="/"){let g=c.replace(/^\//,"").split("/");h="/"+d.replace(/^\//,"").split("/").slice(g.length).join("/")}let p=kn(n,{pathname:h});return yh(p&&p.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:sn([c,a.encodeLocation?a.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?c:sn([c,a.encodeLocation?a.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),o,t,r)}function fh(){let n=bh(),e=ca(n)?n.status+" "+n.statusText:n instanceof Error?n.message:JSON.stringify(n),t=n instanceof Error?n.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application
21Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},e),t?O.createElement("pre",{style:a},t):null,null)}const hh=O.createElement(fh,null);class mh extends O.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?O.createElement(Zt.Provider,{value:this.props.routeContext},O.createElement(Au.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ph(n){let{routeContext:e,match:t,children:r}=n,a=O.useContext(Pa);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),O.createElement(Zt.Provider,{value:e},r)}function yh(n,e,t,r){var a;if(e===void 0&&(e=[]),t===void 0&&(t=null),r===void 0&&(r=null),n==null){var o;if(!t)return null;if(t.errors)n=t.matches;else if((o=r)!=null&&o.v7_partialHydration&&e.length===0&&!t.initialized&&t.matches.length>0)n=t.matches;else return null}let s=n,i=(a=t)==null?void 0:a.errors;if(i!=null){let u=s.findIndex(d=>d.route.id&&(i==null?void 0:i[d.route.id])!==void 0);u>=0||de(!1),s=s.slice(0,Math.min(s.length,u+1))}let c=!1,l=-1;if(t&&r&&r.v7_partialHydration)for(let u=0;u<s.length;u++){let d=s[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(l=u),d.route.id){let{loaderData:h,errors:p}=t,y=d.route.loader&&h[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||y){c=!0,l>=0?s=s.slice(0,l+1):s=[s[0]];break}}}return s.reduceRight((u,d,h)=>{let p,y=!1,g=null,w=null;t&&(p=i&&d.route.id?i[d.route.id]:void 0,g=d.route.errorElement||hh,c&&(l<0&&h===0?(Ah("route-fallback"),y=!0,w=null):l===h&&(y=!0,w=d.route.hydrateFallbackElement||null)));let m=e.concat(s.slice(0,h+1)),b=()=>{let C;return p?C=g:y?C=w:d.route.Component?C=O.createElement(d.route.Component,null):d.route.element?C=d.route.element:C=u,O.createElement(ph,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:t!=null},children:C})};return t&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?O.createElement(mh,{location:t.location,revalidation:t.revalidation,component:g,error:p,children:b(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):b()},null)}var xu=(function(n){return n.UseBlocker="useBlocker",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n})(xu||{}),Tu=(function(n){return n.UseBlocker="useBlocker",n.UseLoaderData="useLoaderData",n.UseActionData="useActionData",n.UseRouteError="useRouteError",n.UseNavigation="useNavigation",n.UseRouteLoaderData="useRouteLoaderData",n.UseMatches="useMatches",n.UseRevalidator="useRevalidator",n.UseNavigateStable="useNavigate",n.UseRouteId="useRouteId",n})(Tu||{});function ii(n){let e=O.useContext(Pa);return e||de(!1),e}function Mr(n){let e=O.useContext(oi);return e||de(!1),e}function gh(n){let e=O.useContext(Zt);return e||de(!1),e}function ci(n){let e=gh(),t=e.matches[e.matches.length-1];return t.route.id||de(!1),t.route.id}function vh(){return Mr().navigation}function XC(){let n=ii(),e=Mr();return O.useMemo(()=>({revalidate:n.router.revalidate,state:e.revalidation}),[n.router.revalidate,e.revalidation])}function Du(){let{matches:n,loaderData:e}=Mr();return O.useMemo(()=>n.map(t=>hu(t,e)),[n,e])}function ZC(){let n=Mr(Tu.UseLoaderData),e=ci();if(n.errors&&n.errors[e]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+e+")");return}return n.loaderData[e]}function bh(){var n;let e=O.useContext(Au),t=Mr(),r=ci();return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function wh(){let n=O.useContext(As);return n==null?void 0:n._data}let Ph=0;function eR(n){let{router:e,basename:t}=ii(xu.UseBlocker),r=Mr(),[a,o]=O.useState(""),s=O.useCallback(i=>{if(typeof n!="function")return!!n;
21if(t==="/")return n(i);let{currentLocation:c,nextLocation:l,historyAction:u}=i;return n({currentLocation:_r({},c,{pathname:cn(c.pathname,t)||c.pathname}),nextLocation:_r({},l,{pathname:cn(l.pathname,t)||l.pathname}),historyAction:u})},[t,n]);return O.useEffect(()=>{let i=String(++Ph);return o(i),()=>e.deleteBlocker(i)},[e]),O.useEffect(()=>{a!==""&&e.getBlocker(a,s)},[e,a,s]),a&&r.blockers.has(a)?r.blockers.get(a):gr}function Sh(){let{router:n}=ii(),e=ci(),t=O.useRef(!1);return Eu(()=>{t.current=!0}),O.useCallback(function(a,o){o===void 0&&(o={}),t.current&&(typeof a=="number"?n.navigate(a):n.navigate(a,_r({fromRouteId:e},o)))},[n,e])}const ec={};function Ah(n,e,t){ec[n]||(ec[n]=!0)}function Eh(n,e){n==null||n.v7_startTransition,(n==null?void 0:n.v7_relativeSplatPath)===void 0&&(!e||e.v7_relativeSplatPath),e&&(e.v7_fetcherPersist,e.v7_normalizeFormMethod,e.v7_partialHydration,e.v7_skipActionErrorRevalidation)}function Ch(n){let{to:e,replace:t,state:r,relative:a}=n;Lr()||de(!1);let{future:o,static:s}=O.useContext(ln),{matches:i}=O.useContext(Zt),{pathname:c}=Tn(),l=Sa(),u=Po(e,wo(i,o.v7_relativeSplatPath),c,a==="path"),d=JSON.stringify(u);return O.useEffect(()=>l(JSON.parse(d),{replace:t,state:r,relative:a}),[l,d,a,t,r]),null}function tR(n){return lh(n.context)}function T(n){de(!1)}function Rh(n){let{basename:e="/",children:t=null,location:r,navigationType:a=Xe.Pop,navigator:o,static:s=!1,future:i}=n;Lr()&&de(!1);let c=e.replace(/^\/*/,"/"),l=O.useMemo(()=>({basename:c,navigator:o,static:s,future:_r({v7_relativeSplatPath:!1},i)}),[c,i,o,s]);typeof r=="string"&&(r=xn(r));let{pathname:u="/",search:d="",hash:h="",state:p=null,key:y="default"}=r,g=O.useMemo(()=>{let w=cn(u,c);return w==null?null:{location:{pathname:w,search:d,hash:h,state:p,key:y},navigationType:a}},[c,u,d,h,p,y,a]);return g==null?null:O.createElement(ln.Provider,{value:l},O.createElement(si.Provider,{children:t,value:g}))}function nR(n){let{children:e,errorElement:t,resolve:r}=n;return O.createElement(Th,{resolve:r,errorElement:t},O.createElement(Dh,null,e))}var _t=(function(n){return n[n.pending=0]="pending",n[n.success=1]="success",n[n.error=2]="error",n})(_t||{});const xh=new Promise(()=>{});class Th extends O.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,a=null,o=_t.pending;if(!(r instanceof Promise))o=_t.success,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>r});else if(this.state.error){o=_t.error;let s=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>s})}else r._tracked?(a=r,o="_error"in a?_t.error:"_data"in a?_t.success:_t.pending):(o=_t.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),a=r.then(s=>Object.defineProperty(r,"_data",{get:()=>s}),s=>Object.defineProperty(r,"_error",{get:()=>s})));if(o===_t.error&&a._error instanceof bs)throw xh;if(o===_t.error&&!t)throw a._error;if(o===_t.error)return O.createElement(As.Provider,{value:a,children:t});if(o===_t.success)return O.createElement(As.Provider,{value:a,children:e});throw a}}function Dh(n){let{children:e}=n,t=wh(),r=typeof e=="function"?e(t):e;return O.createElement(O.Fragment,null,r)}function Es(n,e){e===void 0&&(e=[]);let t=[];return O.Children.forEach(n,(r,a)=>{if(!O.isValidElement(r))return;let o=[...e,a];if(r.type===O.Fragment){t.push.apply(t,Es(r.props.children,o));return}r.type!==T&&de(!1),!r.props.index||!r.props.children||de(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Es(r.props.children,o)),t.push(s)}),t}function Oh(n){let e={hasErrorBoundary:n.ErrorBoundary!=null||n.errorElement!=null};return n.Component&&Object.assign(e,{element:O.createElement(n.Component),Component:void 0}),n.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:O.createElement(n.HydrateFallback),HydrateFallback:void 0}),n.ErrorBoundary&&Object.assign(e,{errorElement:O.createElement(n.ErrorBoundary),ErrorBoundary:void 0}),e}/** 22 * React Router DOM v6.30.3 23 * 24 * Copyright (c) Remix Software Inc. 25 * 26 * This source code is licensed under the MIT license found in the 27 * LICENSE.md file in the root directory of this source tree. 28 * 29 * @license MIT 30 */function kr(){return kr=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},kr.apply(this,arguments)}function _h(n,e){if(n==null)return{};var t={},r=Object.keys(n),a,o;for(o=0;o<r.length;o++)a=r[o],!(e.indexOf(a)>=0)&&(t[a]=n[a]);return t}function kh(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function Ih(n,e){return n.button===0&&(!e||e==="_self")&&!kh(n)}function Cs(n){return n===void 0&&(n=""),new URLSearchParams(typeof n=="string"||Array.isArray(n)||n instanceof URLSearchParams?n:Object.keys(n).reduce((e,t)=>
vendor: 5,966 bytes, line 30
30{let r=n[t];return e.concat(Array.isArray(r)?r.map(a=>[t,a]):[[t,r]])},[]))}function Lh(n,e){let t=Cs(n);return e&&e.forEach((r,a)=>{t.has(a)||e.getAll(a).forEach(o=>{t.append(a,o)})}),t}const Mh=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Nh="6";try{window.__reactRouterVersion=Nh}catch{}function Fh(n,e){return qf({basename:void 0,future:kr({},void 0,{v7_prependBasename:!0}),history:cf({window:void 0}),hydrationData:Bh(),routes:n,mapRouteProperties:Oh,dataStrategy:void 0,patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Bh(){var n;let e=(n=window)==null?void 0:n.__staticRouterHydrationData;return e&&e.errors&&(e=kr({},e,{errors:jh(e.errors)})),e}function jh(n){if(!n)return null;let e=Object.entries(n),t={};for(let[r,a]of e)if(a&&a.__type==="RouteErrorResponse")t[r]=new lo(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let s=new o(a.message);s.stack="",t[r]=s}catch{}}if(t[r]==null){let o=new Error(a.message);o.stack="",t[r]=o}}else t[r]=a;return t}const Uh=O.createContext({isTransitioning:!1}),qh=O.createContext(new Map),Hh="startTransition",tc=Gd[Hh],Vh="flushSync",nc=Qd[Vh];function $h(n){tc?tc(n):n()}function $r(n){nc?nc(n):n()}class zh{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}}function rc(n){let{fallbackElement:e,router:t,future:r}=n,[a,o]=O.useState(t.state),[s,i]=O.useState(),[c,l]=O.useState({isTransitioning:!1}),[u,d]=O.useState(),[h,p]=O.useState(),[y,g]=O.useState(),w=O.useRef(new Map),{v7_startTransition:m}=r||{},b=O.useCallback(I=>{m?$h(I):I()},[m]),C=O.useCallback((I,Y)=>{let{deletedFetchers:_,flushSync:U,viewTransitionOpts:z}=Y;I.fetchers.forEach((ne,Ae)=>{ne.data!==void 0&&w.current.set(Ae,ne.data)}),_.forEach(ne=>w.current.delete(ne));let ge=t.window==null||t.window.document==null||typeof t.window.document.startViewTransition!="function";if(!z||ge){U?$r(()=>o(I)):b(()=>o(I));return}if(U){$r(()=>{h&&(u&&u.resolve(),h.skipTransition()),l({isTransitioning:!0,flushSync:!0,currentLocation:z.currentLocation,nextLocation:z.nextLocation})});let ne=t.window.document.startViewTransition(()=>{$r(()=>o(I))});ne.finished.finally(()=>{$r(()=>{d(void 0),p(void 0),i(void 0),l({isTransitioning:!1})})}),$r(()=>p(ne));return}h?(u&&u.resolve(),h.skipTransition(),g({state:I,currentLocation:z.currentLocation,nextLocation:z.nextLocation})):(i(I),l({isTransitioning:!0,flushSync:!1,currentLocation:z.currentLocation,nextLocation:z.nextLocation}))},[t.window,h,u,w,b]);O.useLayoutEffect(()=>t.subscribe(C),[t,C]),O.useEffect(()=>{c.isTransitioning&&!c.flushSync&&d(new zh)},[c]),O.useEffect(()=>{if(u&&s&&t.window){let I=s,Y=u.promise,_=t.window.document.startViewTransition(async()=>{b(()=>o(I)),await Y});_.finished.finally(()=>{d(void 0),p(void 0),i(void 0),l({isTransitioning:!1})}),p(_)}},[b,s,u,t.window]),O.useEffect(()=>{u&&s&&a.location.key===s.location.key&&u.resolve()},[u,h,a.location,s]),O.useEffect(()=>{!c.isTransitioning&&y&&(i(y.state),l({isTransitioning:!0,flushSync:!1,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),g(void 0))},[c.isTransitioning,y]),O.useEffect(()=>{},[]);let R=O.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:I=>t.navigate(I),push:(I,Y,_)=>t.navigate(I,{state:Y,preventScrollReset:_==null?void 0:_.preventScrollReset}),replace:(I,Y,_)=>t.navigate(I,{replace:!0,state:Y,preventScrollReset:_==null?void 0:_.preventScrollReset})}),[t]),E=t.basename||"/",j=O.useMemo(()=>({router:t,navigator:R,static:!1,basename:E}),[t,R,E]),P=O.useMemo(()=>({v7_relativeSplatPath:t.future.v7_relativeSplatPath}),[t.future.v7_relativeSplatPath]);return O.useEffect(()=>Eh(r,t.future),[r,t.future]),O.createElement(O.Fragment,null,O.createElement(Pa.Provider,{value:j},O.createElement(oi.Provider,{value:a},O.createElement(qh.Provider,{value:w.current},O.createElement(Uh.Provider,{value:c},O.createElement(Rh,{basename:E,location:a.location,navigationType:a.historyAction,navigator:R,future:P},a.initialized||t.future.v7_partialHydration?O.createElement(Wh,{routes:t.routes,future:t.future,state:a}):e))))),null)}const Wh=O.memo(Yh);function Yh(n){let{routes:e,future:t,state:r}=n;return dh(e,void 0,r,t)}const Kh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Gh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qh=O.forwardRef(function(e,t){let{onClick:r,relative:a,reloadDocument:o,replace:s,state:i,target:c,to:l,preventScrollReset:u,viewTransition:d}=e,h=_h(e,Mh),{basename:p}=O.useContext(ln),y,g=!1;if(typeof l=="string"&&Gh.test(l)&&(y=l,Kh))try{let C=new URL(window.location.href),R=l.startsWith("//")?new URL(C.protocol+l):new URL(l),E=cn(R.pathname,p);R.origin===C.origin&&E!=null?l=E+R.search+R.hash:g=!0}catch{}let w=ih(l,{relative:a}),m=Zh(l,{replace:s,state:i,target:c,preventScrollReset:u,relative:a,viewTransition:d});function b(C){r&&r(C),C.defaultPrevented||m(C)}return O.createElement("a",kr({},h,{href:y||w,onClick:g||o?r:b,ref:t,target:c}))});function rR(n){let{getKey:e,storageKey:t}=n;return em({getKey:e,storageKey:t}),null}var Rs;(function(n){n.UseScrollRestoration="useScrollRestoration",n.UseSubmit="useSubmit",n.UseSubmitFetcher="useSubmitFetcher",n.UseFetcher="useFetcher",n.useViewTransitionState="useViewTransitionState"})(Rs||(Rs={}));var xs;(function(n){n.UseFetcher="useFetcher",n.UseFetchers="useFetchers",n.UseScrollRestoration="useScrollRestoration"})(xs||(xs={}));function Jh(n){let e=O.useContext(Pa);return e||de(!1),e}function Xh(n){let e=O.useContext(oi);return e||de(!1),e}function Zh(n,e){let{target:t,replace:r,state:a,preventScrollReset:o,relative:s,viewTransition:i}=e===void 0?{}:e,c=Sa(),l=Tn(),u=Ru(n,{relative:s});return O.useCallback(d=>
30{if(Ih(d,t)){d.preventDefault();let h=r!==void 0?r:Gn(l)===Gn(u);c(n,{replace:h,state:a,preventScrollReset:o,relative:s,viewTransition:i})}},[l,c,u,r,a,t,n,o,s,i])}function aR(n){let e=O.useRef(Cs(n)),t=O.useRef(!1),r=Tn(),a=O.useMemo(()=>Lh(r.search,t.current?null:e.current),[r.search]),o=Sa(),s=O.useCallback((i,c)=>{const l=Cs(typeof i=="function"?i(a):i);t.current=!0,o("?"+l,c)},[o,a]);return[a,s]}const ac="react-router-scroll-positions";let Ha={};function em(n){let{getKey:e,storageKey:t}=n===void 0?{}:n,{router:r}=Jh(Rs.UseScrollRestoration),{restoreScrollPosition:a,preventScrollReset:o}=Xh(xs.UseScrollRestoration),{basename:s}=O.useContext(ln),i=Tn(),c=Du(),l=vh();O.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),tm(O.useCallback(()=>{if(l.state==="idle"){let u=(e?e(i,c):null)||i.key;Ha[u]=window.scrollY}try{sessionStorage.setItem(t||ac,JSON.stringify(Ha))}catch{}window.history.scrollRestoration="auto"},[t,e,l.state,i,c])),typeof document<"u"&&(O.useLayoutEffect(()=>{try{let u=sessionStorage.getItem(t||ac);u&&(Ha=JSON.parse(u))}catch{}},[t]),O.useLayoutEffect(()=>{let u=e&&s!=="/"?(h,p)=>e(kr({},h,{pathname:cn(h.pathname,s)||h.pathname}),p):e,d=r==null?void 0:r.enableScrollRestoration(Ha,()=>window.scrollY,u);return()=>d&&d()},[r,s,e]),O.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}if(i.hash){let u=document.getElementById(decodeURIComponent(i.hash.slice(1)));if(u){u.scrollIntoView();return}}o!==!0&&window.scrollTo(0,0)}},[i,a,o]))}function tm(n,e){let{capture:t}={};O.useEffect(()=>{let r=t!=null?{capture:t}:void 0;return window.addEventListener("pagehide",n,r),()=>{window.removeEventListener("pagehide",n,r)}},[n,t])}var Aa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},nm={setTimeout:(n,e)=>setTimeout(n,e),clearTimeout:n=>clearTimeout(n),setInterval:(n,e)=>setInterval(n,e),clearInterval:n=>clearInterval(n)},mn,ei,tu,rm=(tu=class{constructor(){Z(this,mn,nm);Z(this,ei,!1)}setTimeoutProvider(n){$(this,mn,n)}setTimeout(n,e){return f(this,mn).setTimeout(n,e)}clearTimeout(n){f(this,mn).clearTimeout(n)}setInterval(n,e){return f(this,mn).setInterval(n,e)}clearInterval(n){f(this,mn).clearInterval(n)}},mn=new WeakMap,ei=new WeakMap,tu),Mn=new rm;function am(n){setTimeout(n,0)}var Qn=typeof window>"u"||"Deno"in globalThis;function Rt(){}function om(n,e){return typeof n=="function"?n(e):n}function Ts(n){return typeof n=="number"&&n>=0&&n!==1/0}function Ou(n,e){return Math.max(n+(e||0)-Date.now(),0)}function En(n,e){return typeof n=="function"?n(e):n}function Mt(n,e){return typeof n=="function"?n(e):n}function oc(n,e){const{type:t="all",exact:r,fetchStatus:a,predicate:o,queryKey:s,stale:i}=n;if(s){if(r){if(e.queryHash!==li(s,e.options))return!1}else if(!ua(e.queryKey,s))return!1}if(t!=="all"){const c=e.isActive();if(t==="active"&&!c||t==="inactive"&&c)return!1}return!(typeof i=="boolean"&&e.isStale()!==i||a&&a!==e.state.fetchStatus||o&&!o(e))}function sc(n,e){const{exact:t,status:r,predicate:a,mutationKey:o}=n;if(o){if(!e.options.mutationKey)return!1;if(t){if(la(e.options.mutationKey)!==la(o))return!1}else if(!ua(e.options.mutationKey,o))return!1}return!(r&&e.state.status!==r||a&&!a(e))}function li(n,e){return((e==null?void 0:e.queryKeyHashFn)||la)(n)}function la(n){return JSON.stringify(n,(e,t)=>Os(t)?Object.keys(t).sort().reduce((r,a)=>(r[a]=t[a],r),{}):t)}function ua(n,e){return n===e?!0:typeof n!=typeof e?!1:n&&e&&typeof n=="object"&&typeof e=="object"?Object.keys(e).every(t=>ua(n[t],e[t])):!1}var sm=Object.prototype.hasOwnProperty;function _u(n,e,t=0){if(n===e)return n;if(t>500)return e;const r=ic(n)&&ic(e);if(!r&&!(Os(n)&&Os(e)))return e;const o=(r?n:Object.keys(n)).length,s=r?e:Object.keys(e),i=s.length,c=r?new Array(i):{};let l=0;for(let u=0;u<i;u++){const d=r?u:s[u],h=n[d],p=e[d];if(h===p){c[d]=h,(r?u<o:sm.call(n,d))&&l++;continue}if(h===null||p===null||typeof h!="object"||typeof p!="object"){c[d]=p;continue}const y=_u(h,p,t+1);c[d]=y,y===h&&l++}return o===i&&l===o?n:c}function Ds(n,e){if(!e||Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(n[t]!==e[t])return!1;return!0}function ic(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function Os(n){if(!cc(n))return!1;const e=n.constructor;if(e===void 0)return!0;const t=e.prototype;return!(!cc(t)||!t.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function cc(n){return Object.prototype.toString.call(n)==="[object Object]"}function im(n){return new Promise(e=>{Mn.setTimeout(e,n)})}function _s(n,e,t){return typeof t.structuralSharing=="function"?t.structuralSharing(n,e):t.structuralSharing!==!1?_u(n,e):e}function oR(n){return n}function cm(n,e,t=0){const r=[...n,e];return t&&r.length>t?r.slice(1):r}function lm(n,e,t=0){const r=[e,...n];return t&&r.length>t?r.slice(0,-1):r}var ui=Symbol();function ku(n,e){return!n.queryFn&&(e!=null&&e.initialPromise)?()=>e.initialPromise:!n.queryFn||n.queryFn===ui?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function Iu(n,e){return typeof n=="function"?n(...e):!!n}function um(n,e,t){let r=!1,a;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(a??(a=e()),r||(r=!0,a.aborted?t():a.addEventListener("abort",t,{once:!0})),a)}),n}var Fn,pn,vr,nu,dm=(nu=class extends Aa{constructor(){super();Z(this,Fn);Z(this,pn);Z(this,vr);$(this,vr,e=>{if(!Qn&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){f(this,pn)||this.setEventListener(f(this,vr))}onUnsubscribe(){var e;this.hasListeners()||((e=f(this,pn))==null||e.call(this),$(this,pn,void 0))}setEventListener(e){var t;$(this,vr,e),(t=f(this,pn))==null||t.call(this),$(this,pn,e(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(e){f(this,Fn)!==e&&($(this,Fn,e),this.onFocus())}onFocus(){const e=this.isFocused();
30this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return typeof f(this,Fn)=="boolean"?f(this,Fn):((e=globalThis.document)==null?void 0:e.visibilityState)!=="hidden"}},Fn=new WeakMap,pn=new WeakMap,vr=new WeakMap,nu),di=new dm;function ks(){let n,e;const t=new Promise((a,o)=>{n=a,e=o});t.status="pending",t.catch(()=>{});function r(a){Object.assign(t,a),delete t.resolve,delete t.reject}return t.resolve=a=>{r({status:"fulfilled",value:a}),n(a)},t.reject=a=>{r({status:"rejected",reason:a}),e(a)},t}var fm=am;function hm(){let n=[],e=0,t=i=>{i()},r=i=>{i()},a=fm;const o=i=>{e?n.push(i):a(()=>{t(i)})},s=()=>{const i=n;n=[],i.length&&a(()=>{r(()=>{i.forEach(c=>{t(c)})})})};return{batch:i=>{let c;e++;try{c=i()}finally{e--,e||s()}return c},batchCalls:i=>(...c)=>{o(()=>{i(...c)})},schedule:o,setNotifyFunction:i=>{t=i},setBatchNotifyFunction:i=>{r=i},setScheduler:i=>{a=i}}}var lt=hm(),br,yn,wr,ru,mm=(ru=class extends Aa{constructor(){super();Z(this,br,!0);Z(this,yn);Z(this,wr);$(this,wr,e=>{if(!Qn&&window.addEventListener){const t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}})}onSubscribe(){f(this,yn)||this.setEventListener(f(this,wr))}onUnsubscribe(){var e;this.hasListeners()||((e=f(this,yn))==null||e.call(this),$(this,yn,void 0))}setEventListener(e){var t;$(this,wr,e),(t=f(this,yn))==null||t.call(this),$(this,yn,e(this.setOnline.bind(this)))}setOnline(e){f(this,br)!==e&&($(this,br,e),this.listeners.forEach(r=>{r(e)}))}isOnline(){return f(this,br)}},br=new WeakMap,yn=new WeakMap,wr=new WeakMap,ru),uo=new mm;function pm(n){return Math.min(1e3*2**n,3e4)}function Lu(n){return(n??"online")==="online"?uo.isOnline():!0}var Is=class extends Error{constructor(n){super("CancelledError"),this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}};function Mu(n){let e=!1,t=0,r;const a=ks(),o=()=>a.status!=="pending",s=g=>{var w;if(!o()){const m=new Is(g);h(m),(w=n.onCancel)==null||w.call(n,m)}},i=()=>{e=!0},c=()=>{e=!1},l=()=>di.isFocused()&&(n.networkMode==="always"||uo.isOnline())&&n.canRun(),u=()=>Lu(n.networkMode)&&n.canRun(),d=g=>{o()||(r==null||r(),a.resolve(g))},h=g=>{o()||(r==null||r(),a.reject(g))},p=()=>new Promise(g=>{var w;r=m=>{(o()||l())&&g(m)},(w=n.onPause)==null||w.call(n)}).then(()=>{var g;r=void 0,o()||(g=n.onContinue)==null||g.call(n)}),y=()=>{if(o())return;let g;const w=t===0?n.initialPromise:void 0;try{g=w??n.fn()}catch(m){g=Promise.reject(m)}Promise.resolve(g).then(d).catch(m=>{var j;if(o())return;const b=n.retry??(Qn?0:3),C=n.retryDelay??pm,R=typeof C=="function"?C(t,m):C,E=b===!0||typeof b=="number"&&t<b||typeof b=="function"&&b(t,m);if(e||!E){h(m);return}t++,(j=n.onFail)==null||j.call(n,t,m),im(R).then(()=>l()?void 0:p()).then(()=>{e?h(m):y()})})};return{promise:a,status:()=>a.status,cancel:s,continue:()=>(r==null||r(),a),cancelRetry:i,continueRetry:c,canStart:u,start:()=>(u()?y():p().then(y),a)}}var Bn,au,Nu=(au=class{constructor(){Z(this,Bn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ts(this.gcTime)&&$(this,Bn,Mn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(Qn?1/0:300*1e3))}clearGcTimeout(){f(this,Bn)&&(Mn.clearTimeout(f(this,Bn)),$(this,Bn,void 0))}},Bn=new WeakMap,au),jn,Pr,It,Un,tt,ya,qn,jt,rn,ou,ym=(ou=class extends Nu{constructor(e){super();Z(this,jt);Z(this,jn);Z(this,Pr);Z(this,It);Z(this,Un);Z(this,tt);Z(this,ya);Z(this,qn);$(this,qn,!1),$(this,ya,e.defaultOptions),this.setOptions(e.options),this.observers=[],$(this,Un,e.client),$(this,It,f(this,Un).getQueryCache()),this.queryKey=e.queryKey,this.queryHash=e.queryHash,$(this,jn,uc(this.options)),this.state=e.state??f(this,jn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return(e=f(this,tt))==null?void 0:e.promise}setOptions(e){if(this.options={...f(this,ya),...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=uc(this.options);t.data!==void 0&&(this.setState(lc(t.data,t.dataUpdatedAt)),$(this,jn,t))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&f(this,It).remove(this)}setData(e,t){const r=_s(this.state.data,e,this.options);return Pe(this,jt,rn).call(this,{data:r,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),r}setState(e,t){Pe(this,jt,rn).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var r,a;const t=(r=f(this,tt))==null?void 0:r.promise;return(a=f(this,tt))==null||a.cancel(e),t?t.then(Rt).catch(Rt):Prom
30ise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(f(this,jn))}isActive(){return this.observers.some(e=>Mt(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ui||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>En(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Ou(this.state.dataUpdatedAt,e)}onFocus(){var t;const e=this.observers.find(r=>r.shouldFetchOnWindowFocus());e==null||e.refetch({cancelRefetch:!1}),(t=f(this,tt))==null||t.continue()}onOnline(){var t;const e=this.observers.find(r=>r.shouldFetchOnReconnect());e==null||e.refetch({cancelRefetch:!1}),(t=f(this,tt))==null||t.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),f(this,It).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(f(this,tt)&&(f(this,qn)?f(this,tt).cancel({revert:!0}):f(this,tt).cancelRetry()),this.scheduleGc()),f(this,It).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Pe(this,jt,rn).call(this,{type:"invalidate"})}async fetch(e,t){var c,l,u,d,h,p,y,g,w,m,b,C;if(this.state.fetchStatus!=="idle"&&((c=f(this,tt))==null?void 0:c.status())!=="rejected"){if(this.state.data!==void 0&&(t!=null&&t.cancelRefetch))this.cancel({silent:!0});else if(f(this,tt))return f(this,tt).continueRetry(),f(this,tt).promise}if(e&&this.setOptions(e),!this.options.queryFn){const R=this.observers.find(E=>E.options.queryFn);R&&this.setOptions(R.options)}const r=new AbortController,a=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>($(this,qn,!0),r.signal)})},o=()=>{const R=ku(this.options,t),j=(()=>{const P={client:f(this,Un),queryKey:this.queryKey,meta:this.meta};return a(P),P})();return $(this,qn,!1),this.options.persister?this.options.persister(R,j,this):R(j)},i=(()=>{const R={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:f(this,Un),state:this.state,fetchFn:o};return a(R),R})();(l=this.options.behavior)==null||l.onFetch(i,this),$(this,Pr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=i.fetchOptions)==null?void 0:u.meta))&&Pe(this,jt,rn).call(this,{type:"fetch",meta:(d=i.fetchOptions)==null?void 0:d.meta}),$(this,tt,Mu({initialPromise:t==null?void 0:t.initialPromise,fn:i.fetchFn,onCancel:R=>{R instanceof Is&&R.revert&&this.setState({...f(this,Pr),fetchStatus:"idle"}),r.abort()},onFail:(R,E)=>{Pe(this,jt,rn).call(this,{type:"failed",failureCount:R,error:E})},onPause:()=>{Pe(this,jt,rn).call(this,{type:"pause"})},onContinue:()=>{Pe(this,jt,rn).call(this,{type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}));try{const R=await f(this,tt).start();if(R===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(R),(p=(h=f(this,It).config).onSuccess)==null||p.call(h,R,this),(g=(y=f(this,It).config).onSettled)==null||g.call(y,R,this.state.error,this),R}catch(R){if(R instanceof Is){if(R.silent)return f(this,tt).promise;if(R.revert){if(this.state.data===void 0)throw R;return this.state.data}}throw Pe(this,jt,rn).call(this,{type:"error",error:R}),(m=(w=f(this,It).config).onError)==null||m.call(w,R,this),(C=(b=f(this,It).config).onSettled)==null||C.call(b,this.state.data,R,this),R}finally{this.scheduleGc()}}},jn=new WeakMap,Pr=new WeakMap,It=new WeakMap,Un=new WeakMap,tt=new WeakMap,ya=new WeakMap,qn=new WeakMap,jt=new WeakSet,rn=function(e){const t=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Fu(r.data,this.options),fetchMeta:e.meta??null};case"success":const a={...r,...lc(e.data,e.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return $(this,Pr,e.manual?a:void 0),a;case"error":const o=e.error;
vendor: 4,214 bytes, line 30
30return{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=t(this.state),lt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),f(this,It).notify({query:this,type:"updated",action:e})})},ou);function Fu(n,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Lu(e.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function lc(n,e){return{data:n,dataUpdatedAt:e??Date.now(),error:null,isInvalidated:!1,status:"success"}}function uc(n){const e=typeof n.initialData=="function"?n.initialData():n.initialData,t=e!==void 0,r=t?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:t?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"pending",fetchStatus:"idle"}}var Et,Se,ga,bt,Hn,Sr,an,gn,va,Ar,Er,Vn,$n,vn,Cr,_e,oa,Ls,Ms,Ns,Fs,Bs,js,Us,Bu,su,gm=(su=class extends Aa{constructor(e,t){super();Z(this,_e);Z(this,Et);Z(this,Se);Z(this,ga);Z(this,bt);Z(this,Hn);Z(this,Sr);Z(this,an);Z(this,gn);Z(this,va);Z(this,Ar);Z(this,Er);Z(this,Vn);Z(this,$n);Z(this,vn);Z(this,Cr,new Set);this.options=t,$(this,Et,e),$(this,gn,null),$(this,an,ks()),this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(f(this,Se).addObserver(this),dc(f(this,Se),this.options)?Pe(this,_e,oa).call(this):this.updateResult(),Pe(this,_e,Fs).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qs(f(this,Se),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qs(f(this,Se),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Pe(this,_e,Bs).call(this),Pe(this,_e,js).call(this),f(this,Se).removeObserver(this)}setOptions(e){const t=this.options,r=f(this,Se);if(this.options=f(this,Et).defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Mt(this.options.enabled,f(this,Se))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Pe(this,_e,Us).call(this),f(this,Se).setOptions(this.options),t._defaulted&&!Ds(this.options,t)&&f(this,Et).getQueryCache().notify({type:"observerOptionsUpdated",query:f(this,Se),observer:this});const a=this.hasListeners();a&&fc(f(this,Se),r,this.options,t)&&Pe(this,_e,oa).call(this),this.updateResult(),a&&(f(this,Se)!==r||Mt(this.options.enabled,f(this,Se))!==Mt(t.enabled,f(this,Se))||En(this.options.staleTime,f(this,Se))!==En(t.staleTime,f(this,Se)))&&Pe(this,_e,Ls).call(this);const o=Pe(this,_e,Ms).call(this);a&&(f(this,Se)!==r||Mt(this.options.enabled,f(this,Se))!==Mt(t.enabled,f(this,Se))||o!==f(this,vn))&&Pe(this,_e,Ns).call(this,o)}getOptimisticResult(e){const t=f(this,Et).getQueryCache().build(f(this,Et),e),r=this.createResult(t,e);return bm(this,r)&&($(this,bt,r),$(this,Sr,this.options),$(this,Hn,f(this,Se).state)),r}getCurrentResult(){return f(this,bt)}trackResult(e,t){return new Proxy(e,{get:(r,a)=>(this.trackProp(a),t==null||t(a),a==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&f(this,an).status==="pending"&&f(this,an).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(r,a))})}trackProp(e){f(this,Cr).add(e)}getCurrentQuery(){return f(this,Se)}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=f(this,Et).defaultQueryOptions(e),r=f(this,Et).getQueryCache().build(f(this,Et),t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return Pe(this,_e,oa).call(this,{...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),f(this,bt)))}createResult(e,t){var Y;const r=f(this,Se),a=this.options,o=f(this,bt),s=f(this,Hn),i=f(this,Sr),l=e!==r?e.state:f(this,ga),{state:u}=e;let d={...u},h=!1,p;
30if(t._optimisticResults){const _=this.hasListeners(),U=!_&&dc(e,t),z=_&&fc(e,r,t,a);(U||z)&&(d={...d,...Fu(u.data,e.options)}),t._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:y,errorUpdatedAt:g,status:w}=d;p=d.data;let m=!1;if(t.placeholderData!==void 0&&p===void 0&&w==="pending"){let _;o!=null&&o.isPlaceholderData&&t.placeholderData===(i==null?void 0:i.placeholderData)?(_=o.data,m=!0):_=typeof t.placeholderData=="function"?t.placeholderData((Y=f(this,Er))==null?void 0:Y.state.data,f(this,Er)):t.placeholderData,_!==void 0&&(w="success",p=_s(o==null?void 0:o.data,_,t),h=!0)}if(t.select&&p!==void 0&&!m)if(o&&p===(s==null?void 0:s.data)&&t.select===f(this,va))p=f(this,Ar);else try{$(this,va,t.select),p=t.select(p),p=_s(o==null?void 0:o.data,p,t),$(this,Ar,p),$(this,gn,null)}catch(_){$(this,gn,_)}f(this,gn)&&(y=f(this,gn),p=f(this,Ar),g=Date.now(),w="error");const b=d.fetchStatus==="fetching",C=w==="pending",R=w==="error",E=C&&b,j=p!==void 0,I={status:w,fetchStatus:d.fetchStatus,isPending:C,isSuccess:w==="success",isError:R,isInitialLoading:E,isLoading:E,data:p,dataUpdatedAt:d.dataUpdatedAt,error:y,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:b,isRefetching:b&&!C,isLoadingError:R&&!j,isPaused:d.fetchStatus==="paused",isPlaceholderData:h,isRefetchError:R&&j,isStale:fi(e,t),refetch:this.refetch,promise:f(this,an),isEnabled:Mt(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const _=I.data!==void 0,U=I.status==="error"&&!_,z=Ae=>{U?Ae.reject(I.error):_&&Ae.resolve(I.data)},ge=()=>{const Ae=$(this,an,I.promise=ks());z(Ae)},ne=f(this,an);switch(ne.status){case"pending":e.queryHash===r.queryHash&&z(ne);break;case"fulfilled":(U||I.data!==ne.value)&&ge();break;case"rejected":(!U||I.error!==ne.reason)&&ge();break}}return I}updateResult(){const e=f(this,bt),t=this.createResult(f(this,Se),this.options);if($(this,Hn,f(this,Se).state),$(this,Sr,this.options),f(this,Hn).data!==void 0&&$(this,Er,f(this,Se)),Ds(t,e))return;$(this,bt,t);const r=()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,o=typeof a=="function"?a():a;if(o==="all"||!o&&!f(this,Cr).size)return!0;const s=new Set(o??f(this,Cr));return this.options.throwOnError&&s.add("error"),Object.keys(f(this,bt)).some(i=>{const c=i;return f(this,bt)[c]!==e[c]&&s.has(c)})};Pe(this,_e,Bu).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Pe(this,_e,Fs).call(this)}},Et=new WeakMap,Se=new WeakMap,ga=new WeakMap,bt=new WeakMap,Hn=new WeakMap,Sr=new WeakMap,an=new WeakMap,gn=new WeakMap,va=new WeakMap,Ar=new WeakMap,Er=new WeakMap,Vn=new WeakMap,$n=new WeakMap,vn=new WeakMap,Cr=new WeakMap,_e=new WeakSet,oa=function(e){Pe(this,_e,Us).call(this);let t=f(this,Se).fetch(this.options,e);return e!=null&&e.throwOnError||(t=t.catch(Rt)),t},Ls=function(){Pe(this,_e,Bs).call(this);const e=En(this.options.staleTime,f(this,Se));if(Qn||f(this,bt).isStale||!Ts(e))return;const r=Ou(f(this,bt).dataUpdatedAt,e)+1;$(this,Vn,Mn.setTimeout(()=>{f(this,bt).isStale||this.updateResult()},r))},Ms=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(f(this,Se)):this.options.refetchInterval)??!1},Ns=function(e){Pe(this,_e,js).call(this),$(this,vn,e),!(Qn||Mt(this.options.enabled,f(this,Se))===!1||!Ts(f(this,vn))||f(this,vn)===0)&&$(this,$n,Mn.setInterval(()=>{(this.options.refetchIntervalInBackground||di.isFocused())&&Pe(this,_e,oa).call(this)},f(this,vn)))},Fs=function(){Pe(this,_e,Ls).call(this),Pe(this,_e,Ns).call(this,Pe(this,_e,Ms).call(this))},Bs=function(){f(this,Vn)&&(Mn.clearTimeout(f(this,Vn)),$(this,Vn,void 0))},js=function(){f(this,$n)&&(Mn.clearInterval(f(this,$n)),$(this,$n,void 0))},Us=function(){const e=f(this,Et).getQueryCache().build(f(this,Et),this.options);if(e===f(this,Se))return;const t=f(this,Se);$(this,Se,e),$(this,ga,e.state),this.hasListeners()&&(t==null||t.removeObserver(this),e.addObserver(this))},Bu=function(e){lt.batch(()=>
30{e.listeners&&this.listeners.forEach(t=>{t(f(this,bt))}),f(this,Et).getQueryCache().notify({query:f(this,Se),type:"observerResultsUpdated"})})},su);function vm(n,e){return Mt(e.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&e.retryOnMount===!1)}function dc(n,e){return vm(n,e)||n.state.data!==void 0&&qs(n,e,e.refetchOnMount)}function qs(n,e,t){if(Mt(e.enabled,n)!==!1&&En(e.staleTime,n)!=="static"){const r=typeof t=="function"?t(n):t;return r==="always"||r!==!1&&fi(n,e)}return!1}function fc(n,e,t,r){return(n!==e||Mt(r.enabled,n)===!1)&&(!t.suspense||n.state.status!=="error")&&fi(n,t)}function fi(n,e){return Mt(e.enabled,n)!==!1&&n.isStaleByTime(En(e.staleTime,n))}function bm(n,e){return!Ds(n.getCurrentResult(),e)}function hc(n){return{onFetch:(e,t)=>{var u,d,h,p,y;const r=e.options,a=(h=(d=(u=e.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,o=((p=e.state.data)==null?void 0:p.pages)||[],s=((y=e.state.data)==null?void 0:y.pageParams)||[];let i={pages:[],pageParams:[]},c=0;const l=async()=>{let g=!1;const w=C=>{um(C,()=>e.signal,()=>g=!0)},m=ku(e.options,e.fetchOptions),b=async(C,R,E)=>{if(g)return Promise.reject();if(R==null&&C.pages.length)return Promise.resolve(C);const P=(()=>{const U={client:e.client,queryKey:e.queryKey,pageParam:R,direction:E?"backward":"forward",meta:e.options.meta};return w(U),U})(),I=await m(P),{maxPages:Y}=e.options,_=E?lm:cm;return{pages:_(C.pages,I,Y),pageParams:_(C.pageParams,R,Y)}};if(a&&o.length){const C=a==="backward",R=C?ju:Hs,E={pages:o,pageParams:s},j=R(r,E);i=await b(E,j,C)}else{const C=n??o.length;do{const R=c===0?s[0]??r.initialPageParam:Hs(r,i);if(c>0&&R==null)break;i=await b(i,R),c++}while(c<C)}return i};e.options.persister?e.fetchFn=()=>{var g,w;return(w=(g=e.options).persister)==null?void 0:w.call(g,l,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},t)}:e.fetchFn=l}}}function Hs(n,{pages:e,pageParams:t}){const r=e.length-1;return e.length>0?n.getNextPageParam(e[r],e,t[r],t):void 0}function ju(n,{pages:e,pageParams:t}){var r;return e.length>0?(r=n.getPreviousPageParam)==null?void 0:r.call(n,e[0],e,t[0],t):void 0}function sR(n,e){return e?Hs(n,e)!=null:!1}function iR(n,e){return!e||!n.getPreviousPageParam?!1:ju(n,e)!=null}var ba,Wt,wt,zn,Yt,hn,iu,wm=(iu=class extends Nu{constructor(e){super();Z(this,Yt);Z(this,ba);Z(this,Wt);Z(this,wt);Z(this,zn);$(this,ba,e.client),this.mutationId=e.mutationId,$(this,wt,e.mutationCache),$(this,Wt,[]),this.state=e.state||Pm(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){f(this,Wt).includes(e)||(f(this,Wt).push(e),this.clearGcTimeout(),f(this,wt).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){$(this,Wt,f(this,Wt).filter(t=>t!==e)),this.scheduleGc(),f(this,wt).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){f(this,Wt).length||(this.state.status==="pending"?this.scheduleGc():f(this,wt).remove(this))}continue(){var e;return((e=f(this,zn))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var s,i,c,l,u,d,h,p,y,g,w,m,b,C,R,E,j,P,I,Y;const t=()=>{Pe(this,Yt,hn).call(this,{type:"continue"})},r={client:f(this,ba),meta:this.options.meta,mutationKey:this.options.mutationKey};$(this,zn,Mu({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(new Error("No mutationFn found")),onFail:(_,U)=>{Pe(this,Yt,hn).call(this,{type:"failed",failureCount:_,error:U})},onPause:()=>{Pe(this,Yt,hn).call(this,{type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>f(this,wt).canRun(this)}));const a=this.state.status==="pending",o=!f(this,zn).canStart();try{if(a)t();else{Pe(this,Yt,hn).call(this,{type:"pending",variables:e,isPaused:o}),await((i=(s=f(this,wt).config).onMutate)==null?void 0:i.call(s,e,this,r));const U=await((l=(c=this.options).onMutate)==null?void 0:l.call(c,e,r));U!==this.state.context&&Pe(this,Yt,hn).call(this,{type:"pending",context:U,variables:e,isPaused:o})}const _=await f(this,zn).start();return await((d=(u=f(this,wt).config).onSuccess)==null?void 0:d.call(u,_,e,this.state.context,this,r)),await((p=(h=this.options).onSuccess)==null?void 0:p.call(h,_,e,this.state.context,r)),await((g=(y=f(this,wt).config).onSettled)==null?void 0:g.call(y,_,null,this.state.variables,this.state.context,this,r)),await((m=(w=this.options).onSettled)==null?void 0:m.call(w,_,null,e,this.state.context,r)),Pe(this,Yt,hn).call(this,{type:"success",data:_}),_}catch(_){try{await((C=(b=f(this,wt).config).onError)==null?void 0:C.call(b,_,e,this.state.context,this,r))}catch(U){Promise.reject(U)}
30try{await((E=(R=this.options).onError)==null?void 0:E.call(R,_,e,this.state.context,r))}catch(U){Promise.reject(U)}try{await((P=(j=f(this,wt).config).onSettled)==null?void 0:P.call(j,void 0,_,this.state.variables,this.state.context,this,r))}catch(U){Promise.reject(U)}try{await((Y=(I=this.options).onSettled)==null?void 0:Y.call(I,void 0,_,e,this.state.context,r))}catch(U){Promise.reject(U)}throw Pe(this,Yt,hn).call(this,{type:"error",error:_}),_}finally{f(this,wt).runNext(this)}}},ba=new WeakMap,Wt=new WeakMap,wt=new WeakMap,zn=new WeakMap,Yt=new WeakSet,hn=function(e){const t=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),lt.batch(()=>{f(this,Wt).forEach(r=>{r.onMutationUpdate(e)}),f(this,wt).notify({mutation:this,type:"updated",action:e})})},iu);function Pm(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var on,Ut,wa,cu,Sm=(cu=class extends Aa{constructor(e={}){super();Z(this,on);Z(this,Ut);Z(this,wa);this.config=e,$(this,on,new Set),$(this,Ut,new Map),$(this,wa,0)}build(e,t,r){const a=new wm({client:e,mutationCache:this,mutationId:++Fa(this,wa)._,options:e.defaultMutationOptions(t),state:r});return this.add(a),a}add(e){f(this,on).add(e);const t=Va(e);if(typeof t=="string"){const r=f(this,Ut).get(t);r?r.push(e):f(this,Ut).set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(f(this,on).delete(e)){const t=Va(e);if(typeof t=="string"){const r=f(this,Ut).get(t);if(r)if(r.length>1){const a=r.indexOf(e);a!==-1&&r.splice(a,1)}else r[0]===e&&f(this,Ut).delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Va(e);if(typeof t=="string"){const r=f(this,Ut).get(t),a=r==null?void 0:r.find(o=>o.state.status==="pending");return!a||a===e}else return!0}runNext(e){var r;const t=Va(e);if(typeof t=="string"){const a=(r=f(this,Ut).get(t))==null?void 0:r.find(o=>o!==e&&o.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){lt.batch(()=>{f(this,on).forEach(e=>{this.notify({type:"removed",mutation:e})}),f(this,on).clear(),f(this,Ut).clear()})}getAll(){return Array.from(f(this,on))}find(e){const t={exact:!0,...e};return this.getAll().find(r=>sc(t,r))}findAll(e={}){return this.getAll().filter(t=>sc(e,t))}notify(e){lt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>
vendor: 6,600 bytes, line 30
30t.state.isPaused);return lt.batch(()=>Promise.all(e.map(t=>t.continue().catch(Rt))))}},on=new WeakMap,Ut=new WeakMap,wa=new WeakMap,cu);function Va(n){var e;return(e=n.options.scope)==null?void 0:e.id}var Kt,lu,Am=(lu=class extends Aa{constructor(e={}){super();Z(this,Kt);this.config=e,$(this,Kt,new Map)}build(e,t,r){const a=t.queryKey,o=t.queryHash??li(a,t);let s=this.get(o);return s||(s=new ym({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){f(this,Kt).has(e.queryHash)||(f(this,Kt).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=f(this,Kt).get(e.queryHash);t&&(e.destroy(),t===e&&f(this,Kt).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){lt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return f(this,Kt).get(e)}getAll(){return[...f(this,Kt).values()]}find(e){const t={exact:!0,...e};return this.getAll().find(r=>oc(t,r))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(r=>oc(e,r)):t}notify(e){lt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){lt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){lt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Kt=new WeakMap,lu),Ye,bn,wn,Rr,xr,Pn,Tr,Dr,uu,Em=(uu=class{constructor(n={}){Z(this,Ye);Z(this,bn);Z(this,wn);Z(this,Rr);Z(this,xr);Z(this,Pn);Z(this,Tr);Z(this,Dr);$(this,Ye,n.queryCache||new Am),$(this,bn,n.mutationCache||new Sm),$(this,wn,n.defaultOptions||{}),$(this,Rr,new Map),$(this,xr,new Map),$(this,Pn,0)}mount(){Fa(this,Pn)._++,f(this,Pn)===1&&($(this,Tr,di.subscribe(async n=>{n&&(await this.resumePausedMutations(),f(this,Ye).onFocus())})),$(this,Dr,uo.subscribe(async n=>{n&&(await this.resumePausedMutations(),f(this,Ye).onOnline())})))}unmount(){var n,e;Fa(this,Pn)._--,f(this,Pn)===0&&((n=f(this,Tr))==null||n.call(this),$(this,Tr,void 0),(e=f(this,Dr))==null||e.call(this),$(this,Dr,void 0))}isFetching(n){return f(this,Ye).findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return f(this,bn).findAll({...n,status:"pending"}).length}getQueryData(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=f(this,Ye).get(e.queryHash))==null?void 0:t.state.data}ensureQueryData(n){const e=this.defaultQueryOptions(n),t=f(this,Ye).build(this,e),r=t.state.data;return r===void 0?this.fetchQuery(n):(n.revalidateIfStale&&t.isStaleByTime(En(e.staleTime,t))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(n){return f(this,Ye).findAll(n).map(({queryKey:e,state:t})=>{const r=t.data;return[e,r]})}setQueryData(n,e,t){const r=this.defaultQueryOptions({queryKey:n}),a=f(this,Ye).get(r.queryHash),o=a==null?void 0:a.state.data,s=om(e,o);if(s!==void 0)return f(this,Ye).build(this,r).setData(s,{...t,manual:!0})}setQueriesData(n,e,t){return lt.batch(()=>f(this,Ye).findAll(n).map(({queryKey:r})=>[r,this.setQueryData(r,e,t)]))}getQueryState(n){var t;const e=this.defaultQueryOptions({queryKey:n});return(t=f(this,Ye).get(e.queryHash))==null?void 0:t.state}removeQueries(n){const e=f(this,Ye);lt.batch(()=>{e.findAll(n).forEach(t=>{e.remove(t)})})}resetQueries(n,e){const t=f(this,Ye);return lt.batch(()=>(t.findAll(n).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...n},e)))}cancelQueries(n,e={}){const t={revert:!0,...e},r=lt.batch(()=>f(this,Ye).findAll(n).map(a=>a.cancel(t)));return Promise.all(r).then(Rt).catch(Rt)}invalidateQueries(n,e={}){return lt.batch(()=>(f(this,Ye).findAll(n).forEach(t=>{t.invalidate()}),(n==null?void 0:n.refetchType)==="none"?Promise.resolve():this.refetchQueries({...n,type:(n==null?void 0:n.refetchType)??(n==null?void 0:n.type)??"active"},e)))}refetchQueries(n,e={}){const t={...e,cancelRefetch:e.cancelRefetch??!0},r=lt.batch(()=>f(this,Ye).findAll(n).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let o=a.fetch(void 0,t);return t.throwOnError||(o=o.catch(Rt)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Rt)}fetchQuery(n){const e=this.defaultQueryOptions(n);e.retry===void 0&&(e.retry=!1);const t=f(this,Ye).build(this,e);return t.isStaleByTime(En(e.staleTime,t))?t.fetch(e):Promise.resolve(t.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(Rt).catch(Rt)}fetchInfiniteQuery(n){return n.behavior=hc(n.pages),this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(Rt).catch(Rt)}ensureInfiniteQueryData(n){return n.behavior=hc(n.pages),this.ensureQueryData(n)}resumePausedMutations(){return uo.isOnline()?f(this,bn).resumePausedMutations():Promise.resolve()}getQueryCache(){return f(this,Ye)}getMutationCache(){return f(this,bn)}getDefaultOptions(){return f(this,wn)}setDefaultOptions(n){$(this,wn,n)}setQueryDefaults(n,e){f(this,Rr).set(la(n),{queryKey:n,defaultOptions:e})}getQueryDefaults(n){const e=[...f(this,Rr).values()],t={};return e.forEach(r=>{ua(n,r.queryKey)&&Object.assign(t,r.defaultOptions)}),t}setMutationDefaults(n,e){f(this,xr).set(la(n),{mutationKey:n,defaultOptions:e})}getMutationDefaults(n){const e=[...f(this,xr).values()],t={};return e.forEach(r=>{ua(n,r.mutationKey)&&Object.assign(t,r.defaultOptions)}),t}defaultQueryOptions(n){if(n._defaulted)return n;const e={...f(this,wn).queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return e.queryHash||(e.queryHash=li(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ui&&(e.enabled=!1),e}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...f(this,wn).mutations,...(n==null?void 0:n.mutationKey)&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){f(this,Ye).clear(),f(this,bn).clear()}},Ye=new WeakMap,bn=new WeakMap,wn=new WeakMap,Rr=new WeakMap,xr=new WeakMap,Pn=new WeakMap,Tr=new WeakMap,Dr=new WeakMap,uu),Uu=O.createContext(void 0),Cm=n=>{const e=O.useContext(Uu);if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Rm=({client:n,children:e})=>(O.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),v.jsx(Uu.Provider,{value:n,children:e})),qu=O.createContext(!1),xm=()=>O.useContext(qu);qu.Provider;function Tm(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var Dm=O.createContext(Tm()),Om=()=>O.useContext(Dm),_m=(n,e,t)=>{const r=t!=null&&t.state.error&&typeof n.throwOnError=="function"?Iu(n.throwOnError,[t.state.error,t]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||r)&&(e.isReset()||(n.retryOnMount=!1))}
30,km=n=>{O.useEffect(()=>{n.clearReset()},[n])},Im=({result:n,errorResetBoundary:e,throwOnError:t,query:r,suspense:a})=>n.isError&&!e.isReset()&&!n.isFetching&&r&&(a&&n.data===void 0||Iu(t,[n.error,r])),Lm=n=>{if(n.suspense){const t=a=>a==="static"?a:Math.max(a??1e3,1e3),r=n.staleTime;n.staleTime=typeof r=="function"?(...a)=>t(r(...a)):t(r),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},Mm=(n,e)=>n.isLoading&&n.isFetching&&!e,Nm=(n,e)=>(n==null?void 0:n.suspense)&&e.isPending,mc=(n,e,t)=>e.fetchOptimistic(n).catch(()=>{t.clearReset()});function Fm(n,e,t){var h,p,y,g;const r=xm(),a=Om(),o=Cm(),s=o.defaultQueryOptions(n);(p=(h=o.getDefaultOptions().queries)==null?void 0:h._experimental_beforeQuery)==null||p.call(h,s);const i=o.getQueryCache().get(s.queryHash);s._optimisticResults=r?"isRestoring":"optimistic",Lm(s),_m(s,a,i),km(a);const c=!o.getQueryCache().get(s.queryHash),[l]=O.useState(()=>new e(o,s)),u=l.getOptimisticResult(s),d=!r&&n.subscribed!==!1;if(O.useSyncExternalStore(O.useCallback(w=>{const m=d?l.subscribe(lt.batchCalls(w)):Rt;return l.updateResult(),m},[l,d]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),O.useEffect(()=>{l.setOptions(s)},[s,l]),Nm(s,u))throw mc(s,l,a);if(Im({result:u,errorResetBoundary:a,throwOnError:s.throwOnError,query:i,suspense:s.suspense}))throw u.error;if((g=(y=o.getDefaultOptions().queries)==null?void 0:y._experimental_afterQuery)==null||g.call(y,s,u),s.experimental_prefetchInRender&&!Qn&&Mm(u,r)){const w=c?mc(s,l,a):i==null?void 0:i.promise;w==null||w.catch(Rt).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?u:l.trackResult(u)}function Bm(n,e){return Fm(n,gm)}function cR(n){return n}function Cn(n){function e(t,r){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=t,this.code=r}return e.prototype=new Error,e.prototype.name=n,e.prototype.constructor=e,e}const jm=Cn("LaunchDarklyUnexpectedResponseError"),Um=Cn("LaunchDarklyInvalidEnvironmentIdError"),qm=Cn("LaunchDarklyInvalidUserError"),Hm=Cn("LaunchDarklyInvalidEventKeyError"),Vm=Cn("LaunchDarklyInvalidArgumentError"),$m=Cn("LaunchDarklyFlagFetchError");for(var Ke={LDUnexpectedResponseError:jm,LDInvalidEnvironmentIdError:Um,LDInvalidUserError:qm,LDInvalidEventKeyError:Hm,LDInvalidArgumentError:Vm,LDInvalidDataError:Cn("LaunchDarklyInvalidDataError"),LDFlagFetchError:$m,LDTimeoutError:Cn("LaunchDarklyTimeoutError"),isHttpErrorRecoverable:function(n){return!(n>=400&&n<500)||n===400||n===408||n===429}},zm=function(n){var e=yc(n),t=e[0],r=e[1];return 3*(t+r)/4-r},Wm=function(n){var e,t,r=yc(n),a=r[0],o=r[1],s=new Km((function(l,u,d){return 3*(u+d)/4-d})(0,a,o)),i=0,c=o>0?a-4:a;for(t=0;t<c;t+=4)e=kt[n.charCodeAt(t)]<<18|kt[n.charCodeAt(t+1)]<<12|kt[n.charCodeAt(t+2)]<<6|kt[n.charCodeAt(t+3)],s[i++]=e>>16&255,s[i++]=e>>8&255,s[i++]=255&e;return o===2&&(e=kt[n.charCodeAt(t)]<<2|kt[n.charCodeAt(t+1)]>>4,s[i++]=255&e),o===1&&(e=kt[n.charCodeAt(t)]<<10|kt[n.charCodeAt(t+1)]<<4|kt[n.charCodeAt(t+2)]>>2,s[i++]=e>>8&255,s[i++]=255&e),s},Ym=function(n){for(var e,t=n.length,r=t%3,a=[],o=16383,s=0,i=t-r;s<i;s+=o)a.push(Qm(n,s,s+o>i?i:s+o));return r===1?(e=n[t-1],a.push(Qt[e>>2]+Qt[e<<4&63]+"==")):r===2&&(e=(n[t-2]<<8)+n[t-1],a.push(Qt[e>>10]+Qt[e>>4&63]+Qt[e<<2&63]+"=")),a.join("")},Qt=[],kt=[],Km=typeof Uint8Array<"u"?Uint8Array:Array,pc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=0;lr<64;++lr)Qt[lr]=pc[lr],kt[pc.charCodeAt(lr)]=lr;function yc(n){var e=n.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=n.indexOf("=");return t===-1&&(t=e),[t,t===e?0:4-t%4]}function Gm(n){return Qt[n>>18&63]+Qt[n>>12&63]+Qt[n>>6&63]+Qt[63&n]}function Qm(n,e,t){for(var r,a=[],o=e;o<t;o+=3)r=(n[o]<<16&16711680)+(n[o+1]<<8&65280)+(255&n[o+2]),a.push(Gm(r));return a.join("")}kt[45]=62,kt[95]=63;var Jm={byteLength:zm,toByteArray:Wm,fromByteArray:Ym},gc=Array.isArray,vc=Object.keys,Xm=Object.prototype.hasOwnProperty,Zm=function n(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r,a,o,s=gc(e),i=gc(t);if(s&&i){if((a=e.length)!=t.length)return!1;for(r=a;r--!==0;)if(!n(e[r],t[r]))return!1;return!0}if(s!=i)return!1;var c=e instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==t.getTime();var u=e instanceof RegExp,d=t instanceof RegExp;if(u!=d)return!1;if(u&&d)return e.toString()==t.toString();var h=vc(e);if((a=h.length)!==vc(t).length)return!1;for(r=a;r--!==0;)if(!Xm.call(t,h[r]))return!1;for(r=a;r--!==0;)if(!n(e[o=h[r]],t[o]))return!1;return!0}return e!=e&&t!=t};const ep=["key","ip","country","email","firstName","lastName","avatar","name"];function bc(n){const e=unescape(encodeURIComponent(n));return Jm.fromByteArray((function(t){const r=[];for(let a=0;a<t.length;a++)r.push(t.charCodeAt(a));return r})(e))}function qo(n,e){return Object.prototype.hasOwnProperty.call(n,e)}var Ho,ue={appendUrlPath:function(n,e){return(n.endsWith("/")?n.substring(0,n.length-1):n)+(e.startsWith("/")?"":"/")+e},base64URLEncode:function(n){return bc(n).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},btoa:bc,clone:function(n){return JSON.parse(JSON.stringify(n))},deepEquals:function(n,e){return Zm(n,e)},extend:function(...n){return n.reduce((e,t)=>
30({...e,...t}),{})},getLDUserAgentString:function(n){const e=n.version||"?";return n.userAgent+"/"+e},objectHasOwnProperty:qo,onNextTick:function(n){setTimeout(n,0)},sanitizeContext:function(n){if(!n)return n;let e;return n.kind!==null&&n.kind!==void 0||ep.forEach(t=>{const r=n[t];r!==void 0&&typeof r!="string"&&(e=e||{...n},e[t]=String(r))}),e||n},transformValuesToVersionedValues:function(n){const e={};for(const t in n)qo(n,t)&&(e[t]={value:n[t],version:0});return e},transformVersionedValuesToValues:function(n){const e={};for(const t in n)qo(n,t)&&(e[t]=n[t].value);return e},wrapPromiseCallback:function(n,e){const t=n.then(r=>(e&&setTimeout(()=>{e(null,r)},0),r),r=>{if(!e)return Promise.reject(r);setTimeout(()=>{e(r,null)},0)});return e?void 0:t},once:function(n){let e,t=!1;return function(...r){return t||(t=!0,e=n.apply(this,r)),e}}},tp=new Uint8Array(16);function wc(){if(!Ho&&!(Ho=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ho(tp)}var np=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function fo(n){return typeof n=="string"&&np.test(n)}for(var Pc,Vo,ct=[],$o=0;$o<256;++$o)ct.push(($o+256).toString(16).substr(1));function no(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=(ct[n[e+0]]+ct[n[e+1]]+ct[n[e+2]]+ct[n[e+3]]+"-"+ct[n[e+4]]+ct[n[e+5]]+"-"+ct[n[e+6]]+ct[n[e+7]]+"-"+ct[n[e+8]]+ct[n[e+9]]+"-"+ct[n[e+10]]+ct[n[e+11]]+ct[n[e+12]]+ct[n[e+13]]+ct[n[e+14]]+ct[n[e+15]]).toLowerCase();if(!fo(t))throw TypeError("Stringified UUID is invalid");return t}var zo=0,Wo=0;function Hu(n){if(!fo(n))throw TypeError("Invalid UUID");var e,t=new Uint8Array(16);return t[0]=(e=parseInt(n.slice(0,8),16))>>>24,t[1]=e>>>16&255,t[2]=e>>>8&255,t[3]=255&e,t[4]=(e=parseInt(n.slice(9,13),16))>>>8,t[5]=255&e,t[6]=(e=parseInt(n.slice(14,18),16))>>>8,t[7]=255&e,t[8]=(e=parseInt(n.slice(19,23),16))>>>8,t[9]=255&e,t[10]=(e=parseInt(n.slice(24,36),16))/1099511627776&255,t[11]=e/4294967296&255,t[12]=e>>>24&255,t[13]=e>>>16&255,t[14]=e>>>8&255,t[15]=255&e,t}function Vu(n,e,t){function r(a,o,s,i){if(typeof a=="string"&&(a=(function(u){u=unescape(encodeURIComponent(u));for(var d=[],h=0;h<u.length;++h)d.push(u.charCodeAt(h));return d})(a)),typeof o=="string"&&(o=Hu(o)),o.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+a.length);if(c.set(o),c.set(a,o.length),(c=t(c))[6]=15&c[6]|e,c[8]=63&c[8]|128,s){i=i||0;for(var l=0;l<16;++l)s[i+l]=c[l];return s}return no(c)}try{r.name=n}catch{}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function Sc(n){return 14+(n+64>>>9<<4)+1}function An(n,e){var t=(65535&n)+(65535&e);return(n>>16)+(e>>16)+(t>>16)<<16|65535&t}function So(n,e,t,r,a,o){return An((s=An(An(e,n),An(r,o)))<<(i=a)|s>>>32-i,t);var s,i}function ut(n,e,t,r,a,o,s){return So(e&t|~e&r,n,e,a,o,s)}function dt(n,e,t,r,a,o,s){return So(e&r|t&~r,n,e,a,o,s)}function ft(n,e,t,r,a,o,s){return So(e^t^r,n,e,a,o,s)}function ht(n,e,t,r,a,o,s){return So(t^(e|~r),n,e,a,o,s)}var rp=Vu("v3",48,function(n){if(typeof n=="string"){var e=unescape(encodeURIComponent(n));n=new Uint8Array(e.length);for(var t=0;t<e.length;++t)n[t]=e.charCodeAt(t)}return(function(r){for(var a=[],o=32*r.length,s="0123456789abcdef",i=0;i<o;i+=8){var c=r[i>>5]>>>i%32&255,l=parseInt(s.charAt(c>>>4&15)+s.charAt(15&c),16);a.push(l)}return a})((function(r,a){r[a>>5]|=128<<a%32,r[Sc(a)-1]=a;for(var o=1732584193,s=-271733879,i=-1732584194,c=271733878,l=0;l<r.length;l+=16){var u=o,d=s,h=i,p=c;o=ut(o,s,i,c,r[l],7,-680876936),c=ut(c,o,s,i,r[l+1],12,-389564586),i=ut(i,c,o,s,r[l+2],17,606105819),s=ut(s,i,c,o,r[l+3],22,-1044525330),o=ut(o,s,i,c,r[l+4],7,-176418897),c=ut(c,o,s,i,r[l+5],12,1200080426),i=ut(i,c,o,s,r[l+6],17,-1473231341),s=ut(s,i,c,o,r[l+7],22,-45705983),o=ut(o,s,i,c,r[l+8],7,1770035416),c=ut(c,o,s,i,r[l+9],12,-1958414417),i=ut(i,c,o,s,r[l+10],17,-42063),s=ut(s,i,c,o,r[l+11],22,-1990404162),o=ut(o,s,i,c,r[l+12],7,1804603682),c=ut(c,o,s,i,r[l+13],12,-40341101),i=ut(i,c,o,s,r[l+14],17,-1502002290),o=dt(o,s=ut(s,i,c,o,r[l+15],22,1236535329),i,c,r[l+1],5,-165796510),c=dt(c,o,s,i,r[l+6],9,-1069501632),i=dt(i,c,o,s,r[l+11],14,643717713),s=dt(s,i,c,o,r[l],20,-373897302),o=dt(o,s,i,c,r[l+5],5,-701558691),c=dt(c,o,s,i,r[l+10],9,38016083),i=dt(i,c,o,s,r[l+15],14,-660478335),s=dt(s,i,c,o,r[l+4],20,-405537848),o=dt(o,s,i,c,r[l+9],5,568446438),c=dt(c,o,s,i,r[l+14],9,-1019803690),i=dt(i,c,o,s,r[l+3],14,-187363961),s=dt(s,i,c,o,r[l+8],20,1163531501),o=dt(o,s,i,c,r[l+13],5,-1444681467),c=dt(c,o,s,i,r[l+2],9,-51403784),i=dt(i,c,o,s,r[l+7],14,1735328473),o=ft(o,s=dt(s,i,c,o,r[l+12],20,-1926607734),i,c,r[l+5],4,-378558),c=ft(c,o,s,i,r[l+8],11,-2022574463),i=ft(i,c,o,s,r[l+11],16,1839030562),s=ft(s,i,c,o,r[l+14],23,-35309556),o=ft(o,s,i,c,r[l+1],4,-1530992060),c=ft(c,o,s,i,r[l+4],11,1272893353),i=ft(i,c,o,s,r[l+7],16,-155497632),s=ft(s,i,c,o,r[l+10],23,-1094730640),o=ft(o,s,i,c,r[l+13],4,681279174),c=ft(c,o,s,i,r[l],11,-358537222),i=ft(i,c,o,s,r[l+3],16,-722521979),s=ft(s,i,c,o,r[l+6],23,76029189),o=ft(o,s,i,c,r[l+9],4,-640364487),c=ft(c,o,s,i,r[l+12],11,-421815835),i=ft(i,c,o,s,r[l+15],16,530742520),o=ht(o,s=ft(s,i,c,o,r[l+2],23,-995338651),i,c,r[l],6,-198630844),c=ht(c,o,s,i,r[l+7],10,1126891415),i=ht(i,c,o,s,r[l+14],15,-1416354905),s=ht(s,i,c,o,r[l+5],21,-57434055),o=ht(o,s,i,c,r[l+12],6,1700485571),c=ht(c,o,s,i,r[l+3],10,-1894986606),i=ht(i,c,o,s,r[l+10],15,-1051523),s=ht(s,i,c,o,r[l+1],21,-2054922799),o=ht(o,s,i,c,r[l+8],6,1873313359),c=ht(c,o,s,i,r[l+15],10,-30611744),i=ht(i,c,o,s,r[l+6],15,-1560198380),s=ht(s,i,c,o,r[l+13],21,1309151649),o=ht(o,s,i,c,r[l+4],6,-145523070),c=ht(c,o,s,i,r[l+11],10,-1120210379),i=ht(i,c,o,s,r[l+2],15,718787259),s=ht(s,i,c,o,r[l+9],21,-343485551),o=An(o,u),s=An(s,d),i=An(i,h),c=An(c,p)}return[o,s,i,c]})((function(r){if(r.length===0)return[];for(var a=8*r.length,o=new Uint32Array(Sc(a)),s=0;s<a;s+=8)o[s>>5]|=(255&r[s/8])<<s%32;return o}
30)(n),8*n.length))}),ap=rp;function op(n,e,t,r){switch(n){case 0:return e&t^~e&r;case 1:case 3:return e^t^r;case 2:return e&t^e&r^t&r}}function Yo(n,e){return n<<e|n>>>32-e}var sp=Vu("v5",80,function(n){var e=[1518500249,1859775393,2400959708,3395469782],t=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof n=="string"){var r=unescape(encodeURIComponent(n));n=[];for(var a=0;a<r.length;++a)n.push(r.charCodeAt(a))}else Array.isArray(n)||(n=Array.prototype.slice.call(n));n.push(128);for(var o=n.length/4+2,s=Math.ceil(o/16),i=new Array(s),c=0;c<s;++c){for(var l=new Uint32Array(16),u=0;u<16;++u)l[u]=n[64*c+4*u]<<24|n[64*c+4*u+1]<<16|n[64*c+4*u+2]<<8|n[64*c+4*u+3];i[c]=l}i[s-1][14]=8*(n.length-1)/Math.pow(2,32),i[s-1][14]=Math.floor(i[s-1][14]),i[s-1][15]=8*(n.length-1)&4294967295;for(var d=0;d<s;++d){for(var h=new Uint32Array(80),p=0;p<16;++p)h[p]=i[d][p];for(var y=16;y<80;++y)h[y]=Yo(h[y-3]^h[y-8]^h[y-14]^h[y-16],1);for(var g=t[0],w=t[1],m=t[2],b=t[3],C=t[4],R=0;R<80;++R){var E=Math.floor(R/20),j=Yo(g,5)+op(E,w,m,b)+C+e[E]+h[R]>>>0;C=b,b=m,m=Yo(w,30)>>>0,w=g,g=j}t[0]=t[0]+g>>>0,t[1]=t[1]+w>>>0,t[2]=t[2]+m>>>0,t[3]=t[3]+b>>>0,t[4]=t[4]+C>>>0}return[t[0]>>24&255,t[0]>>16&255,t[0]>>8&255,255&t[0],t[1]>>24&255,t[1]>>16&255,t[1]>>8&255,255&t[1],t[2]>>24&255,t[2]>>16&255,t[2]>>8&255,255&t[2],t[3]>>24&255,t[3]>>16&255,t[3]>>8&255,255&t[3],t[4]>>24&255,t[4]>>16&255,t[4]>>8&255,255&t[4]]}),ip=sp,hi=Object.freeze({__proto__:null,v1:function(n,e,t){var r=e&&t||0,a=e||new Array(16),o=(n=n||{}).node||Pc,s=n.clockseq!==void 0?n.clockseq:Vo;if(o==null||s==null){var i=n.random||(n.rng||wc)();o==null&&(o=Pc=[1|i[0],i[1],i[2],i[3],i[4],i[5]]),s==null&&(s=Vo=16383&(i[6]<<8|i[7]))}var c=n.msecs!==void 0?n.msecs:Date.now(),l=n.nsecs!==void 0?n.nsecs:Wo+1,u=c-zo+(l-Wo)/1e4;if(u<0&&n.clockseq===void 0&&(s=s+1&16383),(u<0||c>zo)&&n.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");zo=c,Wo=l,Vo=s;var d=(1e4*(268435455&(c+=122192928e5))+l)%4294967296;a[r++]=d>>>24&255,a[r++]=d>>>16&255,a[r++]=d>>>8&255,a[r++]=255&d;var h=c/4294967296*1e4&268435455;a[r++]=h>>>8&255,a[r++]=255&h,a[r++]=h>>>24&15|16,a[r++]=h>>>16&255,a[r++]=s>>>8|128,a[r++]=255&s;for(var p=0;p<6;++p)a[r+p]=o[p];return e||no(a)},v3:ap,v4:function(n,e,t){var r=(n=n||{}).random||(n.rng||wc)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){t=t||0;for(var a=0;a<16;++a)e[t+a]=r[a];return e}return no(r)},v5:ip,NIL:"00000000-0000-0000-0000-000000000000",version:function(n){if(!fo(n))throw TypeError("Invalid UUID");return parseInt(n.substr(14,1),16)},validate:fo,stringify:no,parse:Hu});const zr=["debug","info","warn","error","none"];var mi={commonBasicLogger:function(n,e){if(n&&n.destination&&typeof n.destination!="function")throw new Error("destination for basicLogger was set to a non-function");function t(l){return function(u){console&&console[l]&&console[l].call(console,u)}}const r=n&&n.destination?[n.destination,n.destination,n.destination,n.destination]:[t("log"),t("info"),t("warn"),t("error")],a=!(!n||!n.destination),o=n&&n.prefix!==void 0&&n.prefix!==null?n.prefix:"[LaunchDarkly] ";let s=1;if(n&&n.level)for(let l=0;l<zr.length;l++)zr[l]===n.level&&(s=l);function i(l,u,d){if(d.length<1)return;let h;const p=a?u+": "+o:o;if(d.length!==1&&e){const y=[...d];y[0]=p+y[0],h=e(...y)}else h=p+d[0];try{r[l](h)}catch(y){console&&console.log&&console.log("[LaunchDarkly] Configured logger's "+u+" method threw an exception: "+y)}}const c={};for(let l=0;l<zr.length;l++){const u=zr[l];if(u!=="none")if(l<s)c[u]=()=>{};else{const d=l;c[u]=function(){i(d,u,arguments)}}}return c},validateLogger:function(n){zr.forEach(e=>{if(e!=="none"&&(!n[e]||typeof n[e]!="function"))throw new Error("Provided logger instance must support logger."+e+"(...) method")})}};function $a(n){return n&&n.message?n.message:typeof n=="string"||n instanceof String?n:JSON.stringify(n)}const ur=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initialize-the-client for instructions on SDK initialization.";var se={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+ur},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(n){return'enqueueing "'+n+'" event'},debugPostingDiagnosticEvent:function(n){return"sending diagnostic event ("+n.kind+")"},debugPostingEvents:function(n){return"sending "+n+" events"}
vendor: 4,398 bytes, line 30
30,debugStreamDelete:function(n){return'received streaming deletion for flag "'+n+'"'},debugStreamDeleteIgnored:function(n){return'received streaming deletion for flag "'+n+'" but ignored due to version check'},debugStreamPatch:function(n){return'received streaming update for flag "'+n+'"'},debugStreamPatchIgnored:function(n){return'received streaming update for flag "'+n+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(n){return"polling for feature flags at "+n},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(n,e){return e?'"'+n+'" is deprecated, please use "'+e+'"':'"'+n+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+ur},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+ur},errorFetchingFlags:function(n){return"Error fetching flag settings: "+$a(n)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(n,e,t){return"Received error "+n+(n===401?" (invalid SDK key)":"")+" for "+e+" - "+(Ke.isHttpErrorRecoverable(n)?t:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+ur},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(n,e)=>`an inspector: "${e}" of type: "${n}" generated an exception`,invalidContentType:function(n){return'Expected application/json content type but got "'+n+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(n,e)=>`an inspector: "${e}" of an invalid type (${n}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidMetricValue:n=>`The track function was called with a non-numeric "metricValue" (${n}), only numeric metric values are supported.`,invalidContext:function(){return"Invalid context specified."+ur},invalidTagValue:n=>`Config option "${n}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(n){return"local storage is unavailable: "+$a(n)},networkError:n=>"network error"+(n?" ("+n+")":""),optionBelowMinimum:(n,e,t)=>'Config option "'+n+'" was set to '+e+", changing to minimum value of "+t,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(n){return"Opening stream connection to "+n},streamError:function(n,e){return"Error on stream connection: "+$a(n)+", will continue retrying after "+e+" milliseconds."},tagValueTooLong:n=>`Value of "${n}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(n){return'Custom event "'+n+'" does not exist'},unknownOption:n=>'Ignoring unknown config option "'+n+'"',contextNotSpecified:function(){return"No context specified."+ur},unrecoverableStreamError:n=>`Error on stream connection ${$a(n)}, giving up permanently`,wrongOptionType:(n,e,t)=>'Config option "'+n+'" should be of type '+e+", got "+t+", using default value",wrongOptionTypeBoolean:(n,e)=>'Config option "'+n+'" should be a boolean, got '+e+", converting to boolean"};const{validateLogger:cp}=mi,Ac={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(n,e,t){const r={};return e.id&&(r.id=Ec(`${n}
30.id`,e.id,t)),e.version&&(r.version=Ec(`${n}.version`,e.version,t)),r}},inspectors:{default:[]},hooks:{default:[]},plugins:{default:[]}},lp=/^(\w|\.|-)+$/;function Ko(n){return n&&n.replace(/\/+$/,"")}function Ec(n,e,t){if(typeof e=="string"&&e.match(lp)){if(!(e.length>64))return e;t.warn(se.tagValueTooLong(n))}else t.warn(se.invalidTagValue(n))}var pi={baseOptionDefs:Ac,validate:function(n,e,t,r){const a=ue.extend({logger:{default:r}},Ac,t),o={};function s(c){ue.onNextTick(()=>{e&&e.maybeReportError(new Ke.LDInvalidArgumentError(c))})}let i=ue.extend({},n||{});return(function(c){const l=c;Object.keys(o).forEach(u=>{if(l[u]!==void 0){const d=o[u];r&&r.warn(se.deprecated(u,d)),d&&(l[d]===void 0&&(l[d]=l[u]),delete l[u])}})})(i),i=(function(c){const l=ue.extend({},c);return Object.keys(a).forEach(u=>{l[u]!==void 0&&l[u]!==null||(l[u]=a[u]&&a[u].default)}),l})(i),i=(function(c){const l=ue.extend({},c),u=d=>{if(d===null)return"any";if(d===void 0)return;if(Array.isArray(d))return"array";const h=typeof d;return h==="boolean"||h==="string"||h==="number"||h==="function"?h:"object"};return Object.keys(c).forEach(d=>{const h=c[d];if(h!=null){const p=a[d];if(p===void 0)s(se.unknownOption(d));else{const y=p.type||u(p.default),g=p.validator;if(g){const w=g(d,c[d],r);w!==void 0?l[d]=w:delete l[d]}else if(y!=="any"){const w=y.split("|"),m=u(h);w.indexOf(m)<0?y==="boolean"?(l[d]=!!h,s(se.wrongOptionTypeBoolean(d,m))):(s(se.wrongOptionType(d,y,m)),l[d]=p.default):m==="number"&&p.minimum!==void 0&&h<p.minimum&&(s(se.optionBelowMinimum(d,h,p.minimum)),l[d]=p.minimum)}}}}),l.baseUrl=Ko(l.baseUrl),l.streamUrl=Ko(l.streamUrl),l.eventsUrl=Ko(l.eventsUrl),l})(i),cp(i.logger),i},getTags:function(n){const e={};return n&&(n.application&&n.application.id!==void 0&&n.application.id!==null&&(e["application-id"]=[n.application.id]),n.application&&n.application.version!==void 0&&n.application.id!==null&&(e["application-version"]=[n.application.version])),e}};const{getLDUserAgentString:up}=ue;var yi={getLDHeaders:function(n,e){if(e&&!e.sendLDHeaders)return{};const t={};t[n.userAgentHeaderName||"User-Agent"]=up(n),e&&e.wrapperName&&(t["X-LaunchDarkly-Wrapper"]=e.wrapperVersion?e.wrapperName+"/"+e.wrapperVersion:e.wrapperName);const r=pi.getTags(e),a=Object.keys(r);return a.length&&(t["x-launchdarkly-tags"]=a.sort().map(o=>Array.isArray(r[o])?r[o].sort().map(s=>`${o}/${s}`):[`${o}/${r[o]}`]).reduce((o,s)=>o.concat(s),[]).join(" ")),t},transformHeaders:function(n,e){return e&&e.requestHeaderTransform?e.requestHeaderTransform({...n}):n}};const{v1:dp}=hi,{getLDHeaders:fp,transformHeaders:hp}=yi;var $u=function(n,e,t){const r=ue.extend({"Content-Type":"application/json"},fp(n,t)),a={};return a.sendEvents=(o,s,i)=>{if(!n.httpRequest)return Promise.resolve();const c=JSON.stringify(o),l=i?null:dp();return(function u(d){const h=i?r:ue.extend({},r,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":l});return n.httpRequest("POST",s,hp(h,t),c).promise.then(p=>{if(p)return p.status>=400&&Ke.isHttpErrorRecoverable(p.status)&&d?u(!1):(function(y){const g={status:y.status},w=y.header("date");if(w){const m=Date.parse(w);m&&(g.serverTime=m)}return g})(p)}).catch(()=>d?u(!1):Promise.reject())})(!0).catch(()=>{})},a},mp=function n(e,t=[]){if(e===null||typeof e!="object")return JSON.stringify(e);if(t.includes(e))throw new Error("Cycle detected");return Array.isArray(e)?`[${e.map(r=>n(r,[...t,e])).map(r=>r===void 0?"null":r).join(",")}]`:`{${Object.keys(e).sort().map(r=>{const a=n(e[r],[...t,e]);if(a!==void 0)return`${JSON.stringify(r)}:${a}`}).filter(r=>r!==void 0).join(",")}}`};const{commonBasicLogger:pp}=mi;function Cc(n){return typeof n=="string"&&n!=="kind"&&n.match(/^(\w|\.|-)+$/)}var Ao={checkContext:function(n,e){if(n){if(e&&(n.kind===void 0||n.kind===null))return n.key!==void 0&&n.key!==null;const t=n.key,r=n.kind===void 0?"user":n.kind,a=Cc(r),o=r==="multi"||t!=null&&t!=="";if(r==="multi"){const s=Object.keys(n).filter(i=>i!=="kind");return o&&s.every(i=>Cc(i))&&s.every(i=>{const c=n[i].key;return c!=null&&c!==""})}return o&&a}return!1},getContextKeys:function(n,e=pp()){if(!n)return;const t={},{kind:r,key:a}=n;switch(r){case void 0:t.user=`${a}`;break;case"multi":Object.entries(n).filter(([o])=>o!=="kind").forEach(([o,s])=>{s&&s.key&&(t[o]=s.key)});break;case null:e.warn(`null is not a valid context kind: ${n}`);break;case"":e.warn(`'' is not a valid context kind: ${n}`);break;default:t[r]=`${a}`}return t},getContextKinds:function(n){return n?n.kind===null||n.kind===void 0?["user"]:n.kind!=="multi"?[n.kind]:Object.keys(n).filter(e=>e!=="kind"):[]}};const{getContextKinds:yp}=Ao;var gp=function(){const n={};let e=0,t=0,r={},a={};return n.summarizeEvent=o=>{if(o.kind==="feature"){const s=o.key+":"+(o.variation!==null&&o.variation!==void 0?o.variation:"")+":"+(o.version!==null&&o.version!==void 0?o.version:""),i=r[s];let c=a[o.key];c||(c=new Set,a[o.key]=c),(function(l){return l.context?yp(l.context):l.contextKeys?Object.keys(l.contextKeys):[]}
30)(o).forEach(l=>c.add(l)),i?i.count=i.count+1:r[s]={count:1,key:o.key,version:o.version,variation:o.variation,value:o.value,default:o.default},(e===0||o.creationDate<e)&&(e=o.creationDate),o.creationDate>t&&(t=o.creationDate)}},n.getSummary=()=>{const o={};let s=!0;for(const i of Object.values(r)){let c=o[i.key];c||(c={default:i.default,counters:[],contextKinds:[...a[i.key]]},o[i.key]=c);const l={value:i.value,count:i.count};i.variation!==void 0&&i.variation!==null&&(l.variation=i.variation),i.version!==void 0&&i.version!==null?l.version=i.version:l.unknown=!0,c.counters.push(l),s=!1}return s?null:{startDate:e,endDate:t,features:o,kind:"summary"}},n.clearSummary=()=>{e=0,t=0,r={},a={}},n},vp=function(n){let e={},t={};return{summarizeEvent:function(r){if(r.kind==="feature"){const a=mp(r.context);if(!a)return;let o=e[a];o||(e[a]=gp(),o=e[a],t[a]=r.context),o.summarizeEvent(r)}},getSummaries:function(){const r=e,a=t;return e={},t={},Object.entries(r).map(([o,s])=>{const i=s.getSummary();return i.context=n.filter(a[o]),i})}}};function zu(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}function Rc(n){return(n.startsWith("/")?n.substring(1):n).split("/").map(e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e)}function xc(n){return!n.startsWith("/")}function Tc(n,e){const t=xc(n),r=xc(e);if(t&&r)return n===e;if(t){const a=Rc(e);return a.length===1&&n===a[0]}if(r){const a=Rc(n);return a.length===1&&e===a[0]}return n===e}function Dc(n){return`/${zu(n)}`}var Go={cloneExcluding:function(n,e){const t=[],r={},a=[];for(t.push(...Object.keys(n).map(o=>({key:o,ptr:Dc(o),source:n,parent:r,visited:[n]})));t.length;){const o=t.pop();if(e.some(s=>Tc(s,o.ptr)))a.push(o.ptr);else{const s=o.source[o.key];if(s===null)o.parent[o.key]=s;else if(Array.isArray(s))o.parent[o.key]=[...s];else if(typeof s=="object"){if(o.visited.includes(s))continue;o.parent[o.key]={},t.push(...Object.keys(s).map(i=>{return{key:i,ptr:(c=o.ptr,l=zu(i),`${c}/${l}`),source:s,parent:o.parent[o.key],visited:[...o.visited,s]};var c,l}))}else o.parent[o.key]=s}}return{cloned:r,excluded:a.sort()}},compare:Tc,literalToReference:Dc},bp=function(n){const e={},t=n.allAttributesPrivate,r=n.privateAttributes||[],a=["key","kind","_meta","anonymous"],o=["name","ip","firstName","lastName","email","avatar","country"],s=(i,c)=>{if(typeof i!="object"||i===null||Array.isArray(i))return;const{cloned:l,excluded:u}=Go.cloneExcluding(i,((d,h)=>(t||h&&d.anonymous?Object.keys(d):[...r,...d._meta&&d._meta.privateAttributes||[]]).filter(p=>!a.some(y=>Go.compare(p,y))))(i,c));return l.key=String(l.key),u.length&&(l._meta||(l._meta={}),l._meta.redactedAttributes=u),l._meta&&(delete l._meta.privateAttributes,Object.keys(l._meta).length===0&&delete l._meta),l.anonymous!==void 0&&(l.anonymous=!!l.anonymous),l};return e.filter=(i,c=!1)=>i.kind===void 0||i.kind===null?s((l=>{const u={...l.custom||{},kind:"user",key:l.key};l.anonymous!==void 0&&(u.anonymous=!!l.anonymous);for(const d of o)delete u[d],l[d]!==void 0&&l[d]!==null&&(u[d]=String(l[d]));return l.privateAttributeNames!==void 0&&l.privateAttributeNames!==null&&(u._meta=u._meta||{},u._meta.privateAttributes=l.privateAttributeNames.map(d=>d.startsWith("/")?Go.literalToReference(d):d)),u})(i),c):i.kind==="multi"?((l,u)=>{const d={kind:l.kind},h=Object.keys(l);for(const p of h)if(p!=="kind"){const y=s(l[p],u);y&&(d[p]=y)}return d})(i,c):s(i,c),e};const{getContextKeys:wp}=Ao;var Pp=function(n,e,t,r=null,a=null,o=null){const s={},i=o||$u(n,t,e),c=ue.appendUrlPath(e.eventsUrl,"/events/bulk/"+t),l=bp(e),u=vp(l),d=e.samplingInterval,h=e.eventCapacity,p=e.flushInterval,y=e.logger;let g,w=[],m=0,b=!1,C=!1;function R(){return d===0||Math.floor(Math.random()*d)===0}function E(P){const I=ue.extend({},P);return P.kind==="identify"||P.kind==="feature"||P.kind==="custom"?I.context=l.filter(P.context):(I.contextKeys=wp(P.context,y),delete I.context),P.kind==="feature"&&(delete I.trackEvents,delete I.debugEventsUntilDate),I}function j(P){w.length<h?(w.push(P),C=!1):(C||(C=!0,y.warn(se.eventCapacityExceeded())),r&&r.incrementDroppedEvents())}return s.enqueue=function(P){if(b)return;let I=!1,Y=!1;var _;if(u.summarizeEvent(P),P.kind==="feature"?R()&&(I=!!P.trackEvents,Y=!!(_=P).debugEventsUntilDate&&_.debugEventsUntilDate>m&&_.debugEventsUntilDate>new Date().getTime()):I=R(),I&&j(E(P)),Y){const U=ue.extend({},P,{kind:"debug"});U.context=l.filter(U.context),delete U.trackEvents,delete U.debugEventsUntilDate,j(U)}},s.flush=async function(){if(b)return Promise.resolve();const P=w;
30return u.getSummaries().forEach(I=>{Object.keys(I.features).length&&P.push(I)}),r&&r.setEventsInLastBatch(P.length),P.length===0?Promise.resolve():(w=[],y.debug(se.debugPostingEvents(P.length)),i.sendEvents(P,c).then(I=>{I&&(I.serverTime&&(m=I.serverTime),Ke.isHttpErrorRecoverable(I.status)||(b=!0),I.status>=400&&ue.onNextTick(()=>{a.maybeReportError(new Ke.LDUnexpectedResponseError(se.httpErrorMessage(I.status,"event posting","some events were dropped")))}))}))},s.start=function(){const P=()=>{s.flush(),g=setTimeout(P,p)};g=setTimeout(P,p)},s.stop=function(){clearTimeout(g)},s},Sp=function(n){const e={},t={};return e.on=function(r,a,o){t[r]=t[r]||[],t[r]=t[r].concat({handler:a,context:o})},e.off=function(r,a,o){if(t[r])for(let s=0;s<t[r].length;s++)t[r][s].handler===a&&t[r][s].context===o&&(t[r]=t[r].slice(0,s).concat(t[r].slice(s+1)))},e.emit=function(r){if(!t[r])return;const a=t[r].slice(0);for(let o=0;o<a.length;o++)a[o].handler.apply(a[o].context,Array.prototype.slice.call(arguments,1))},e.getEvents=function(){return Object.keys(t)},e.getEventListenerCount=function(r){return t[r]?t[r].length:0},e.maybeReportError=function(r){r&&(t.error?this.emit("error",r):(n||console).error(r.message))},e};const za="ready",Qo="initialized",Jo="failed";var Ap=function(n){let e=!1,t=!1,r=null,a=null;const o=new Promise(s=>{const i=()=>{n.off(za,i),s()};n.on(za,i)}).catch(()=>{});return{getInitializationPromise:()=>a||(e?Promise.resolve():t?Promise.reject(r):(a=new Promise((s,i)=>{const c=()=>{n.off(Qo,c),s()},l=u=>{n.off(Jo,l),i(u)};n.on(Qo,c),n.on(Jo,l)}),a)),getReadyPromise:()=>o,signalSuccess:()=>{e||t||(e=!0,n.emit(Qo),n.emit(za))},signalFailure:s=>{e||t||(t=!0,r=s,n.emit(Jo,s),n.emit(za)),n.maybeReportError(s)}}},Ep=function(n,e,t,r){const a={};function o(){let s="";const i=r.getContext();return i&&(s=t||ue.btoa(JSON.stringify(i))),"ld:"+e+":"+s}return a.loadFlags=()=>n.get(o()).then(s=>{if(s==null)return null;try{let i=JSON.parse(s);if(i){const c=i.$schema;c===void 0||c<1?i=ue.transformValuesToVersionedValues(i):delete i.$schema}return i}catch{return a.clearFlags().then(()=>null)}}),a.saveFlags=s=>{const i=ue.extend({},s,{$schema:1});return n.set(o(),JSON.stringify(i))},a.clearFlags=()=>n.clear(o()),a},Cp=function(n,e){const t={};let r=!1;const a=o=>{r||(r=!0,e.warn(se.localStorageUnavailable(o)))};return t.isEnabled=()=>!!n,t.get=o=>new Promise(s=>{n?n.get(o).then(s).catch(i=>{a(i),s(void 0)}):s(void 0)}),t.set=(o,s)=>new Promise(i=>{n?n.set(o,s).then(()=>i(!0)).catch(c=>{a(c),i(!1)}):i(!1)}),t.clear=o=>new Promise(s=>{n?n.clear(o).then(()=>s(!0)).catch(i=>{a(i),s(!1)}):s(!1)}),t};const{appendUrlPath:Oc,base64URLEncode:Rp,objectHasOwnProperty:xp}=ue,{getLDHeaders:Tp,transformHeaders:Dp}=yi,{isHttpErrorRecoverable:Op}=Ke;var _p=function(n,e,t,r){const a=e.streamUrl,o=e.logger,s={},i=Oc(a,"/eval/"+t),c=e.useReport,l=e.evaluationReasons,u=e.streamReconnectDelay,d=Tp(n,e);let h,p=!1,y=null,g=null,w=null,m=null,b=null,C=0;function R(){const _=(U=(function(){const z=u*Math.pow(2,C);return z>3e4?3e4:z})(),U-Math.trunc(.5*Math.random()*U));var U;return C+=1,_}function E(_){if(_.status&&typeof _.status=="number"&&!Op(_.status))return I(),o.error(se.unrecoverableStreamError(_)),void(g&&(clearTimeout(g),g=null));const U=R();p||(o.warn(se.streamError(_,U)),p=!0),Y(!1),I(),j(U)}function j(_){g||(_?g=setTimeout(P,_):P())}function P(){let _;g=null;let U="";const z={headers:d,readTimeoutMillis:3e5};if(n.eventSourceFactory){m!=null&&(U="h="+m),c?n.eventSourceAllowsReport?(_=i,z.method="REPORT",z.headers["Content-Type"]="application/json",z.body=JSON.stringify(w)):(_=Oc(a,"/ping/"+t),U=""):_=i+"/"+Rp(JSON.stringify(w)),z.headers=Dp(z.headers,e),l&&(U=U+(U?"&":"")+"withReasons=true"),_=_+(U?"?":"")+U,I(),o.info(se.streamConnecting(_)),h=new Date().getTime(),y=n.eventSourceFactory(_,z);for(const ge in b)xp(b,ge)&&y.addEventListener(ge,b[ge]);y.onerror=E,y.onopen=()=>{C=0}}}function I(){y&&(o.info(se.streamClosing()),y.close(),y=null)}function Y(_){h&&r&&r.recordStreamInit(h,!_,new Date().getTime()-h),h=null}return s.connect=function(_,U,z){w=_,m=U,b={};for(const ge in z||{})b[ge]=function(ne){p=!1,Y(!0),z[ge]&&z[ge](ne)};j()},s.disconnect=function(){clearTimeout(g),g=null,I()},s.isConnected=function(){return!!(y&&n.eventSourceIsActive&&n.eventSourceIsActive(y))},s},kp=function(n){let e,t,r,a;const o={addPromise:(s,i)=>{e=s,t&&t(),t=i,s.then(c=>{e===s&&(r(c),n&&n())},c=>{e===s&&(a(c),n&&n())})}};return o.resultPromise=new Promise((s,i)=>{r=s,a=i}),o};const{transformHeaders:Ip,getLDHeaders:Lp}=yi,_c="application/json";var Mp=function(n,e,t){const r=e.baseUrl,a=e.useReport,o=e.evaluationReasons,s=e.logger,i={},c={};function l(u,d){if(!n.httpRequest)return new Promise((m,b)=>{b(new Ke.LDFlagFetchError(se.httpUnavailable()))});const h=d?"REPORT":"GET",p=Lp(n,e);d&&(p["Content-Type"]=_c);let y=c[u];y||(y=kp(()=>{delete c[u]}),c[u]=y);const g=n.httpRequest(h,u,Ip(p,e),d),w=g.promise.then(m=>{if(m.status===200){if(m.header("content-type")&&m.header("content-type").substring(0,16)===_c)return JSON.parse(m.body);{const b=se.invalidContentType(m.header("content-type")||"");return Promise.reject(new Ke.LDFlagFetchError(b))}}return Promise.reject((function(b){return b.status===404?new Ke.LDInvalidEnvironmentIdError(se.environmentNotFound()):new Ke.LDFlagFetchError(se.errorFetchingFlags(b.statusText||String(b.status)))})(m))},m=>Promise.reject(new Ke.LDFlagFetchError(se.networkError(m))));return y.addPromise(w,()=>{g.cancel&&g.cancel()}),y.resultPromise}return i.fetchJSON=function(u){return l(ue.appendUrlPath(r,u),null)},i.fetchFlagSettings=function(u,d){let h,p,y,g="";return a?(p=[r,"/sdk/evalx/",t,"/context"].join(""),y=JSON.stringify(u)):(h=ue.base64URLEncode(JSON.stringify(u)),p=[r,"/sdk/evalx/",t,"/contexts/",h].join("")),d&&(g="h="+d),o&&(g=g+(g?"&":"")+"withReasons=true"),p=p+(g?"?":"")+g,s.debug(se.debugPolling(p)),l(p,y)},i},Np=function(n,e){const t={};let r;return t.setContext=function(a){r=ue.sanitizeContext(a),r&&e&&e(ue.clone(r))},t.getContext=function(){return r?ue.clone(r):null},t};const{v1:Fp}=hi,{getContextKinds:Bp}=Ao;var jp=function(n){function e(r){return r==null||r==="user"?"ld:$anonUserId":`ld:$contextKey:${r}`}function t(r,a){return a.key!==null&&a.key!==void 0?(a.key=a.key.toString(),Promise.resolve(a)):a.anonymous?(function(o){return n.get(e(o))})(r).then(o=>{if(o)return a.key=o,a;{const s=Fp();return a.key=s,(function(i,c){return n.set(e(c),i)})(s,r).then(()=>a)}}):Promise.reject(new Ke.LDInvalidUserError(se.invalidContext()))}this.processContext=r=>{if(!r)return Promise.reject(new Ke.LDInvalidUserError(se.contextNotSpecified()));const a=ue.clone(r);if(r.kind==="multi"){const o=Bp(a);return Promise.all(o.map(s=>t(s,a[s]))).then(()=>a)}return t(r.kind,a)}};const{v1:Up}=hi,{baseOptionDefs:Xo}=pi,{appendUrlPath:qp}=ue;var Zo={DiagnosticId:function(n){const e={diagnosticId:Up()};return n&&(e.sdkKeySuffix=n.length>6?n.substring(n.length-6):n),e},DiagnosticsAccumulator:function(n){let e,t,r,a;function o(s){e=s,t=0,r=0,a=[]}return o(n),{getProps:()=>({dataSinceDate:e,droppedEvents:t,eventsInLastBatch:r,streamInits:a}),setProps:s=>
30{e=s.dataSinceDate,t=s.droppedEvents||0,r=s.eventsInLastBatch||0,a=s.streamInits||[]},incrementDroppedEvents:()=>{t++},setEventsInLastBatch:s=>{r=s},recordStreamInit:(s,i,c)=>{const l={timestamp:s,failed:i,durationMillis:c};a.push(l)},reset:o}},DiagnosticsManager:function(n,e,t,r,a,o,s){const i=!!n.diagnosticUseCombinedEvent,c="ld:"+a+":$diagnostics",l=qp(o.eventsUrl,"/events/diagnostic/"+a),u=o.diagnosticRecordingInterval,d=t;let h,p,y=!!o.streaming;const g={};function w(){return{sdk:C(),configuration:R(),platform:n.diagnosticPlatformData}}function m(E){o.logger&&o.logger.debug(se.debugPostingDiagnosticEvent(E)),r.sendEvents(E,l,!0).then(()=>{}).catch(()=>{})}function b(){m((function(){const E=new Date().getTime();let j={kind:i?"diagnostic-combined":"diagnostic",id:s,creationDate:E,...d.getProps()};return i&&(j={...j,...w()}),d.reset(E),j})()),p=setTimeout(b,u),h=new Date().getTime(),i&&(function(){if(e.isEnabled()){const E={...d.getProps()};e.set(c,JSON.stringify(E))}})()}function C(){const E={...n.diagnosticSdkData};return o.wrapperName&&(E.wrapperName=o.wrapperName),o.wrapperVersion&&(E.wrapperVersion=o.wrapperVersion),E}function R(){return{customBaseURI:o.baseUrl!==Xo.baseUrl.default,customStreamURI:o.streamUrl!==Xo.streamUrl.default,customEventsURI:o.eventsUrl!==Xo.eventsUrl.default,eventsCapacity:o.eventCapacity,eventsFlushIntervalMillis:o.flushInterval,reconnectTimeMillis:o.streamReconnectDelay,streamingDisabled:!y,allAttributesPrivate:!!o.allAttributesPrivate,diagnosticRecordingIntervalMillis:o.diagnosticRecordingInterval,usingSecureMode:!!o.hash,bootstrapMode:!!o.bootstrap,fetchGoalsDisabled:!o.fetchGoals,sendEventsOnlyForVariation:!!o.sendEventsOnlyForVariation}}return g.start=()=>{i?(function(E){if(!e.isEnabled())return E(!1);e.get(c).then(j=>{if(j)try{const P=JSON.parse(j);d.setProps(P),h=P.dataSinceDate}catch{}E(!0)}).catch(()=>{E(!1)})})(E=>{if(E){const j=(h||0)+u,P=new Date().getTime();P>=j?b():p=setTimeout(b,j-P)}else Math.floor(4*Math.random())===0?b():p=setTimeout(b,u)}):(m({kind:"diagnostic-init",id:s,creationDate:d.getProps().dataSinceDate,...w()}),p=setTimeout(b,u))},g.stop=()=>{p&&clearTimeout(p)},g.setStreaming=E=>{y=E},g}},Hp=function(n,e){let t=!1;const r={type:n.type,name:n.name,synchronous:n.synchronous,method:(...a)=>{try{n.method(...a)}catch{t||(t=!0,e.warn(se.inspectorMethodError(r.type,r.name)))}}};return r};const{onNextTick:Wa}=ue,At={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(At);var Vp={InspectorTypes:At,InspectorManager:function(n,e){const t={},r={[At.flagUsed]:[],[At.flagDetailsChanged]:[],[At.flagDetailChanged]:[],[At.clientIdentityChanged]:[]},a={[At.flagUsed]:[],[At.flagDetailsChanged]:[],[At.flagDetailChanged]:[],[At.clientIdentityChanged]:[]},o=n&&n.map(s=>Hp(s,e));return o&&o.forEach(s=>{Object.prototype.hasOwnProperty.call(r,s.type)&&!s.synchronous?r[s.type].push(s):Object.prototype.hasOwnProperty.call(a,s.type)&&s.synchronous?a[s.type].push(s):e.warn(se.invalidInspector(s.type,s.name))}),t.hasListeners=s=>r[s]&&r[s].length||a[s]&&a[s].length,t.onFlagUsed=(s,i,c)=>{const l=At.flagUsed;a[l].length&&a[l].forEach(u=>u.method(s,i,c)),r[l].length&&Wa(()=>{r[l].forEach(u=>u.method(s,i,c))})},t.onFlags=s=>{const i=At.flagDetailsChanged;a[i].length&&a[i].forEach(c=>c.method(s)),r[i].length&&Wa(()=>{r[i].forEach(c=>c.method(s))})},t.onFlagChanged=(s,i)=>{const c=At.flagDetailChanged;a[c].length&&a[c].forEach(l=>l.method(s,i)),r[c].length&&Wa(()=>{r[c].forEach(l=>l.method(s,i))})},t.onIdentityChanged=s=>{const i=At.clientIdentityChanged;a[i].length&&a[i].forEach(c=>c.method(s)),r[i].length&&Wa(()=>{r[i].forEach(c=>c.method(s))})},t}};const{LDTimeoutError:$p}=Ke;var zp=function(n,e){return new Promise((t,r)=>{setTimeout(()=>{r(new $p(`${e} timed out after ${n} seconds.`))},1e3*n)})};const kc="unknown hook";function Wr(n,e,t,r,a){try{return r()}catch(o){return n==null||n.error(`An error was encountered in "${e}" of the "${t}" hook: ${o}`),a}}function Yr(n,e){try{return e.getMetadata().name||kc}catch{return n.error("Exception thrown getting metadata for hook. Unable to get hook name."),kc}}var Wp=function(n,e){const t=e?[...e]:[];
30return{withEvaluation:function(r,a,o,s){if(t.length===0)return s();const i=[...t],c={flagKey:r,context:a,defaultValue:o},l=(function(d,h,p){return h.map(y=>Wr(d,"beforeEvaluation",Yr(d,y),()=>{var g;return((g=y==null?void 0:y.beforeEvaluation)==null?void 0:g.call(y,p,{}))??{}},{}))})(n,i,c),u=s();return(function(d,h,p,y,g){for(let w=h.length-1;w>=0;w-=1){const m=h[w],b=y[w];Wr(d,"afterEvaluation",Yr(d,m),()=>{var C;return((C=m==null?void 0:m.afterEvaluation)==null?void 0:C.call(m,p,b,g))??{}},{})}})(n,i,c,l,u),u},identify:function(r,a){const o=[...t],s={context:r,timeout:a},i=(function(c,l,u){return l.map(d=>Wr(c,"beforeIdentify",Yr(c,d),()=>{var h;return((h=d==null?void 0:d.beforeIdentify)==null?void 0:h.call(d,u,{}))??{}},{}))})(n,o,s);return c=>{(function(l,u,d,h,p){for(let y=u.length-1;y>=0;y-=1){const g=u[y],w=h[y];Wr(l,"afterIdentify",Yr(l,g),()=>{var m;return((m=g==null?void 0:g.afterIdentify)==null?void 0:m.call(g,d,w,p))??{}},{})}})(n,o,s,i,c)}},addHook:function(r){t.push(r)},afterTrack:function(r){if(t.length===0)return;const a=[...t];(function(o,s,i){for(let c=s.length-1;c>=0;c-=1){const l=s[c];Wr(o,"afterTrack",Yr(o,l),()=>{var u;return(u=l==null?void 0:l.afterTrack)==null?void 0:u.call(l,i)},void 0)}})(n,a,r)}}},Yp=function(){let n,e={};function t(r){return n&&ue.objectHasOwnProperty(n,r)&&n[r]?n[r]:e&&ue.objectHasOwnProperty(e,r)&&e[r]&&!e[r].deleted?e[r]:null}return{clearAllOverrides:function(){if(!n)return{};const r={...n};return n=void 0,r},get:t,getFlagOverrides:function(){return n||{}},getFlags:function(){return e},getFlagsWithOverrides:function(){const r={};for(const a in e){const o=t(a);o&&(r[a]=o)}if(n)for(const a in n){const o=t(a);o&&(r[a]=o)}return r},removeOverride:function(r){n&&n[r]&&(delete n[r],Object.keys(n).length===0&&(n=void 0))},setFlags:function(r){e={...r}},setOverride:function(r,a){n||(n={}),n[r]={value:a}}}};const Ic="unknown plugin";function Ya(n,e){try{return e.getMetadata().name||Ic}catch{return n.error("Exception thrown getting metadata for plugin. Unable to get plugin name."),Ic}}var Kp={getPluginHooks:function(n,e,t){const r=[];return t.forEach(a=>{var o;try{const s=(o=a.getHooks)==null?void 0:o.call(a,e);s===void 0?n.error(`Plugin ${Ya(n,a)} returned undefined from getHooks.`):s&&s.length>0&&r.push(...s)}catch{n.error(`Exception thrown getting hooks for plugin ${Ya(n,a)}. Unable to get hooks.`)}}),r},registerPlugins:function(n,e,t,r){r.forEach(a=>{try{a.register(t,e)}catch{n.error(`Exception thrown registering plugin ${Ya(n,a)}.`)}})},registerPluginsForDebugOverride:function(n,e,t){t.forEach(r=>{var a;try{(a=r.registerDebug)==null||a.call(r,e)}catch{n.error(`Exception thrown registering debug override with plugin ${Ya(n,r)}.`)}})},createPluginEnvironment:function(n,e,t){const r={};n.userAgent&&(r.name=n.userAgent),n.version&&(r.version=n.version),t.wrapperName&&(r.wrapperName=t.wrapperName),t.wrapperVersion&&(r.wrapperVersion=t.wrapperVersion);const a={};t.application&&(t.application.name&&(a.name=t.application.name),t.application.version&&(a.version=t.application.version));const o={sdk:r,clientSideId:e};return Object.keys(a).length>0&&(o.application=a),o}};const{commonBasicLogger:Gp}=mi,{checkContext:Qp}=Ao,{InspectorTypes:Ka,InspectorManager:Jp}=Vp,{getPluginHooks:Xp,registerPlugins:Zp,registerPluginsForDebugOverride:ey,createPluginEnvironment:ty}=Kp,Ga="change",Lc="internal-change";var Wu={initialize:function(n,e,t,r,a){const o=(function(){return t&&t.logger?t.logger:a&&a.logger&&a.logger.default||Gp("warn")})(),s=Sp(o),i=Ap(s),c=pi.validate(t,s,a,o),l=Jp(c.inspectors,o),u=c.sendEvents;let d=n,h=c.hash;const p=[...c.plugins],y=ty(r,n,c),g=Xp(o,y,p),w=Wp(o,[...c.hooks,...g]),m=Cp(r.localStorage,o),b=$u(r,d,c),C=c.sendEvents&&!c.diagnosticOptOut,R=C?Zo.DiagnosticId(d):null,E=C?Zo.DiagnosticsAccumulator(new Date().getTime()):null,j=C?Zo.DiagnosticsManager(r,m,E,b,d,c,R):null,P=_p(r,c,d,E),I=c.eventProcessor||Pp(r,c,d,E,s,b),Y=Mp(r,c,d),_=Yp();let U,z,ge,ne=c.streaming,Ae=!1,Qe=!1,He=!0;const pe=c.stateProvider,le=Np(null,function(D){(function(L){pe||L&&ve({kind:"identify",context:L,creationDate:new Date().getTime()})})(D),l.hasListeners(Ka.clientIdentityChanged)&&l.onIdentityChanged(le.getContext())}),Ge=new jp(m),xe=m.isEnabled()?Ep(m,d,h,le):null;function ve(D){d&&(pe&&pe.enqueueEvent&&pe.enqueueEvent(D)||(D.context?(He=!1,!u||Qe||r.isDoNotTrack()||(o.debug(se.debugEnqueueingEvent(D.
30kind)),I.enqueue(D))):He&&(o.warn(se.eventWithoutContext()),He=!1)))}function Ue(D,L){l.hasListeners(Ka.flagDetailChanged)&&l.onFlagChanged(D.key,Ie(L))}function rt(){l.hasListeners(Ka.flagDetailsChanged)&&l.onFlags(Object.entries(_.getFlagsWithOverrides()).map(([D,L])=>({key:D,detail:Ie(L)})).reduce((D,L)=>(D[L.key]=L.detail,D),{}))}function Ve(D,L,N,q){const X=le.getContext(),be=new Date,me={kind:"feature",key:D,context:X,value:L?L.value:null,variation:L?L.variationIndex:null,default:N,creationDate:be.getTime()},Ee=_.getFlags()[D];Ee&&(me.version=Ee.flagVersion?Ee.flagVersion:Ee.version,me.trackEvents=Ee.trackEvents,me.debugEventsUntilDate=Ee.debugEventsUntilDate),(q||Ee&&Ee.trackReason)&&L&&(me.reason=L.reason),ve(me)}function gt(D){return Qp(D,!1)?Promise.resolve(D):Promise.reject(new Ke.LDInvalidUserError(se.invalidContext()))}function fe(D,L,N,q,X,be){var St;let me;const Ee=_.get(D);return Ee?(me=Ie(Ee),Ee.value!==null&&Ee.value!==void 0||(me.value=L)):me={value:L,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}},N&&(X||((St=Ee==null?void 0:Ee.prerequisites)==null||St.forEach(vt=>
30{fe(vt,void 0,N,!1,!1,!1)})),Ve(D,me,L,q)),!X&&be&&(function(vt,nr){l.hasListeners(Ka.flagUsed)&&l.onFlagUsed(vt,nr,le.getContext())})(D,me),me}function Ie(D){return{value:D.value,variationIndex:D.variation===void 0?null:D.variation,reason:D.reason||null}}function Ft(){if(z=!0,!le.getContext())return;const D=L=>{try{return JSON.parse(L)}catch{return void s.maybeReportError(new Ke.LDInvalidDataError(se.invalidData()))}};P.connect(le.getContext(),h,{ping:function(){o.debug(se.debugStreamPing());const L=le.getContext();Y.fetchFlagSettings(L,h).then(N=>{ue.deepEquals(L,le.getContext())&&Ot(N||{})}).catch(N=>{s.maybeReportError(new Ke.LDFlagFetchError(se.errorFetchingFlags(N)))})},put:function(L){const N=D(L.data);N&&(o.debug(se.debugStreamPut()),Ot(N))},patch:function(L){const N=D(L.data);if(!N)return;const q=_.getFlags(),X=q[N.key];if(!X||!X.version||!N.version||X.version<N.version){o.debug(se.debugStreamPatch(N.key));const be={},me=ue.extend({},N);delete me.key,q[N.key]=me,_.setFlags(q);const Ee=Ie(me);be[N.key]=X?{previous:X.value,current:Ee}:{current:Ee},Ue(N,me),we(be)}else o.debug(se.debugStreamPatchIgnored(N.key))},delete:function(L){const N=D(L.data);if(!N)return;const q=_.getFlags();if(!q[N.key]||q[N.key].version<N.version){o.debug(se.debugStreamDelete(N.key));const X={};q[N.key]&&!q[N.key].deleted&&(X[N.key]={previous:q[N.key].value}),q[N.key]={version:N.version,deleted:!0},_.setFlags(q),Ue(N,q[N.key]),we(X)}else o.debug(se.debugStreamDeleteIgnored(N.key))}})}function Ht(){z&&(P.disconnect(),z=!1)}function Ot(D){const L={};if(!D)return Promise.resolve();const N=_.getFlags();for(const q in N)ue.objectHasOwnProperty(N,q)&&N[q]&&(D[q]&&!ue.deepEquals(D[q].value,N[q].value)?L[q]={previous:N[q].value,current:Ie(D[q])}:D[q]&&!D[q].deleted||(L[q]={previous:N[q].value}));for(const q in D)ue.objectHasOwnProperty(D,q)&&D[q]&&(!N[q]||N[q].deleted)&&(L[q]={current:Ie(D[q])});return _.setFlags({...D}),rt(),we(L).catch(()=>{})}function we(D){const L=Object.keys(D);if(L.length>0){const N={};L.forEach(q=>{const X=D[q].current,be=X?X.value:void 0,me=D[q].previous;s.emit(Ga+":"+q,be,me),N[q]=X?{current:be,previous:me}:{previous:me}}),s.emit(Ga,N),s.emit(Lc,_.getFlagsWithOverrides()),c.sendEventsOnlyForVariation||pe||L.forEach(q=>{Ve(q,D[q].current)})}return U&&xe?xe.saveFlags(_.getFlags()):Promise.resolve()}function $e(){const D=ne||ge&&ne===void 0;D&&!z?Ft():!D&&z&&Ht(),j&&j.setStreaming(D)}function et(D){return D===Ga||D.substr(0,7)===Ga+":"}if(typeof c.bootstrap=="string"&&c.bootstrap.toUpperCase()==="LOCALSTORAGE"&&(xe?U=!0:o.warn(se.localStorageUnavailable())),typeof c.bootstrap=="object"&&_.setFlags((function(D){const L=Object.keys(D),N="$flagsState",q="$valid",X=D[N];!X&&L.length&&o.warn(se.bootstrapOldFormat()),D[q]===!1&&o.warn(se.bootstrapInvalid());const be={};return L.forEach(me=>{if(me!==N&&me!==q){let Ee={value:D[me]};X&&X[me]?Ee=ue.extend(Ee,X[me]):Ee.version=0,be[me]=Ee}}),be})(c.bootstrap)),pe){const D=pe.getInitialState();D?en(D):pe.on("init",en),pe.on("update",function(L){L.context&&le.setContext(L.context),L.flags&&Ot(L.flags)})}else(function(){if(!n)return Promise.reject(new Ke.LDInvalidEnvironmentIdError(se.environmentNotSpecified()));let D;return Ge.processContext(e).then(gt).then(L=>(D=ue.once(w.identify(L,void 0)),L)).then(L=>(D==null||D({status:"completed"}),le.setContext(L),typeof c.bootstrap=="object"?Ze():U?xe.loadFlags().then(N=>N==null?(_.setFlags({}),Y.fetchFlagSettings(le.getContext(),h).then(q=>Ot(q||{})).then(Ze).catch(q=>{at(new Ke.LDFlagFetchError(se.errorFetchingFlags(q)))})):(_.setFlags(N),ue.onNextTick(Ze),Y.fetchFlagSettings(le.getContext(),h).then(q=>Ot(q)).catch(q=>s.maybeReportError(q)))):Y.fetchFlagSettings(le.getContext(),h).then(N=>{_.setFlags(N||{}),rt(),Ze()}).catch(N=>{_.setFlags({}),at(N)}))).catch(L=>{throw D==null||D({status:"error"}),L})})().catch(at);function en(D){d=D.environment,le.setContext(D.context),_.setFlags({...D.flags}),ue.onNextTick(Ze)}function Ze(){o.info(se.clientInitialized()),Ae=!0,$e(),i.signalSuccess()}function at(D){i.signalFailure(D)}const re={waitForInitialization:function(D=void 0){if(D!=null){if(typeof D=="number")return(function(L){L>5&&o.warn("The waitForInitialization function was called with a timeout greater than 5 seconds. We recommend a timeout of 5 seconds or less.");const N=i.getInitializationPromise(),q=zp(L,"waitForInitialization");return Promise.race([q,N]).catch(X=>{throw X instanceof Ke.LDTimeoutError&&o.error(`waitForInitialization error: ${X}`),X})})(D);o.warn("The waitForInitialization method was provided with a non-numeric timeout.")}return o.warn("The waitForInitialization function was called without a timeout specified. In a future version a default timeout will be applied."),i.getInitializationPromise()},waitUntilReady:()=>
30i.getReadyPromise(),identify:function(D,L,N){if(Qe)return ue.wrapPromiseCallback(Promise.resolve({}),N);if(pe)return o.warn(se.identifyDisabled()),ue.wrapPromiseCallback(Promise.resolve(ue.transformVersionedValuesToValues(_.getFlagsWithOverrides())),N);let q;const X=U&&xe?xe.clearFlags():Promise.resolve();return ue.wrapPromiseCallback(X.then(()=>Ge.processContext(D)).then(gt).then(be=>(q=ue.once(w.identify(be,void 0)),be)).then(be=>Y.fetchFlagSettings(be,L).then(me=>{const Ee=ue.transformVersionedValuesToValues(me);return le.setContext(be),h=L,me?Ot(me).then(()=>Ee):Ee})).then(be=>(q==null||q({status:"completed"}),z&&Ft(),be)).catch(be=>(q==null||q({status:"error"}),s.maybeReportError(be),Promise.reject(be))),N)},getContext:function(){return le.getContext()},variation:function(D,L){const{value:N}=w.withEvaluation(D,le.getContext(),L,()=>fe(D,L,!0,!1,!1,!0));return N},variationDetail:function(D,L){return w.withEvaluation(D,le.getContext(),L,()=>fe(D,L,!0,!0,!1,!0))},track:function(D,L,N){if(typeof D!="string")return void s.maybeReportError(new Ke.LDInvalidEventKeyError(se.unknownCustomEventKey(D)));N!==void 0&&typeof N!="number"&&o.warn(se.invalidMetricValue(typeof N)),r.customEventFilter&&!r.customEventFilter(D)&&o.warn(se.unknownCustomEventKey(D));const q=le.getContext(),X={kind:"custom",key:D,context:q,url:r.getCurrentUrl(),creationDate:new Date().getTime()};q&&q.anonymous&&(X.contextKind=q.anonymous?"anonymousUser":"user"),L!=null&&(X.data=L),N!=null&&(X.metricValue=N),ve(X),w.afterTrack({context:q,key:D,data:L,metricValue:N})},on:function(D,L,N){et(D)?(ge=!0,Ae&&$e(),s.on(D,L,N)):s.on(...arguments)},off:function(D){if(s.off(...arguments),et(D)){let L=!1;s.getEvents().forEach(N=>{et(N)&&s.getEventListenerCount(N)>0&&(L=!0)}),L||(ge=!1,z&&ne===void 0&&Ht())}},setStreaming:function(D){const L=D===null?void 0:D;L!==ne&&(ne=L,$e())},flush:function(D){return ue.wrapPromiseCallback(u?I.flush():Promise.resolve(),D)},allFlags:function(){const D={},L=_.getFlagsWithOverrides();if(!L)return D;for(const N in L)D[N]=fe(N,null,!c.sendEventsOnlyForVariation,!1,!0,!1).value;return D},close:function(D){if(Qe)return ue.wrapPromiseCallback(Promise.resolve(),D);const L=()=>{Qe=!0,_.setFlags({})},N=Promise.resolve().then(()=>{if(Ht(),j&&j.stop(),u)return I.stop(),I.flush()}).then(L).catch(L);return ue.wrapPromiseCallback(N,D)},addHook:function(D){w.addHook(D)}};return Zp(o,y,re,p),ey(o,{setOverride:function(D,L){const N={},q=_.get(D),X=q?q.value:null;if(X===L)return void o.debug(`setOverride: No change needed for ${D}, value already ${L}`);_.setOverride(D,L);const be=_.get(D),me=Ie(be);N[D]={previous:X,current:me},Ue({key:D},be),we(N)},removeOverride:function(D){const L=_.getFlagOverrides();if(!L[D])return;const N={},q=L[D],X=_.getFlags()[D];N[D]={previous:q.value,current:X?Ie(X):void 0},_.removeOverride(D),Ue({key:D},X),we(N)},clearAllOverrides:function(){const D=_.getFlagOverrides();if(Object.keys(D).length===0)return;const L={},N=_.getFlags();Object.keys(D).forEach(q=>{const X=D[q],be=N[q];L[q]={previous:X.value,current:be?Ie(be):void 0}}),_.clearAllOverrides(),Object.keys(L).length>0&&we(L)},getAllOverrides:function(){const D=_.getFlagOverrides();if(!D)return{};const L={};return Object.keys(D).forEach(N=>{const q=D[N];q&&(L[N]=q.value)}),L}},p),{client:re,options:c,emitter:s,ident:le,logger:o,requestor:Y,start:function(){u&&(j&&j.start(),I.start())},enqueueEvent:ve,getFlagsInternal:function(){return _.getFlagsWithOverrides()},getEnvironmentId:()=>d,internalChangeEventName:Lc}},errors:Ke},ny=Wu.initialize,ry=Wu.errors;function ay(n,e,t){return(e=(function(r){var a=(function(o,s){if(typeof o!="object"||!o)return o;var i=o[Symbol.toPrimitive];if(i!==void 0){var c=i.call(o,s);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)})(r,"string");return typeof a=="symbol"?a:a+""})(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Mc(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable})),t.push.apply(t,r)}return t}function Nc(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};
30e%2?Mc(Object(t),!0).forEach(function(r){ay(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Mc(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}var Fc={promise:Promise.resolve({status:200,header:function(){return null},body:null})};function oy(n,e,t,r,a){if(a&&!(function(){var l=window.navigator&&window.navigator.userAgent;if(l){var u=l.match(/Chrom(e|ium)\/([0-9]+)\./);if(u)return parseInt(u[2],10)<73}return!0})())return Fc;var o=new window.XMLHttpRequest;for(var s in o.open(n,e,!a),t||{})Object.prototype.hasOwnProperty.call(t,s)&&o.setRequestHeader(s,t[s]);if(a){try{o.send(r)}catch{}return Fc}var i,c=new Promise(function(l,u){o.addEventListener("load",function(){i||l({status:o.status,header:function(d){return o.getResponseHeader(d)},body:o.responseText})}),o.addEventListener("error",function(){i||u(new Error)}),o.send(r)});return{promise:c,cancel:function(){i=!0,o.abort()}}}var es=n=>{if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function sy(n,e,t,r){var a,o,s=((n.kind==="substring"||n.kind==="regex")&&r.includes("/")?e:e.replace(r,"")).replace(t,"");switch(n.kind){case"exact":o=e,a=new RegExp("^"+es(n.url)+"/?$");break;case"canonical":o=s,a=new RegExp("^"+es(n.url)+"/?$");break;case"substring":o=s,a=new RegExp(".*"+es(n.substring)+".*$");break;case"regex":o=s,a=new RegExp(n.pattern);break;default:return!1}return a.test(o)}function Bc(n,e){for(var t={},r=null,a=[],o=0;o<n.length;o++)for(var s=n[o],i=s.urls||[],c=0;c<i.length;c++)if(sy(i[c],window.location.href,window.location.search,window.location.hash)){s.kind==="pageview"?e("pageview",s):(a.push(s),e("click_pageview",s));break}return a.length>0&&(r=function(l){for(var u=(function(h,p){for(var y=[],g=0;g<p.length;g++)for(var w=h.target,m=p[g],b=m.selector,C=document.querySelectorAll(b);w&&C.length>0;){for(var R=0;R<C.length;R++)w===C[R]&&y.push(m);w=w.parentNode}return y})(l,a),d=0;d<u.length;d++)e("click",u[d])},document.addEventListener("click",r)),t.dispose=function(){document.removeEventListener("click",r)},t}function iy(n,e){var t,r;function a(){r&&r.dispose(),t&&t.length&&(r=Bc(t,o))}function o(s,i){var c=n.ident.getContext(),l={kind:s,key:i.key,data:null,url:window.location.href,creationDate:new Date().getTime(),context:c};return s==="click"&&(l.selector=i.selector),n.enqueueEvent(l)}return n.requestor.fetchJSON("/sdk/goals/"+n.getEnvironmentId()).then(function(s){s&&s.length>0&&(r=Bc(t=s,o),(function(i,c){var l,u=window.location.href;function d(){(l=window.location.href)!==u&&(u=l,c())}(function h(p,y){p(),setTimeout(function(){h(p,y)},y)})(d,i),window.history&&window.history.pushState?window.addEventListener("popstate",d):window.addEventListener("hashchange",d)})(300,a)),e()}).catch(function(s){n.emitter.maybeReportError(new ry.LDUnexpectedResponseError((s&&s.message,s.message))),e()}),{}}var Qa="goalsReady",cy={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};function ly(n,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=(function(u){var d,h={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var p=u&&u.disableSyncEventPost;h.httpRequest=function(m,b,C,R){var E=h.synchronousFlush&!p;return h.synchronousFlush=!1,oy(m,b,C,R,E)}}h.httpAllowsPost=function(){return d===void 0&&(d=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),d},h.httpFallbackPing=function(m){new window.Image().src=m};var y,g=u&&u.eventUrlTransformer;h.getCurrentUrl=function(){return g?g(window.location.href):window.location.href},h.isDoNotTrack=function(){var m;return(m=window.navigator&&window.navigator.doNotTrack!==void 0?window.navigator.doNotTrack:window.navigator&&window.navigator.msDoNotTrack!==void 0?window.navigator.msDoNotTrack:window.doNotTrack)===1||m===!0||m==="1"||m==="yes"};try{window.localStorage&&(h.localStorage={get:function(m){return new Promise(function(b){b(window.localStorage.getItem(m))})},set:function(m,b){return new Promise(function(C){window.localStorage.setItem(m,b),C()})},clear:function(m){return new Promise(function(b){window.localStorage.removeItem(m),b()})}})}catch{h.localStorage=null}if(u&&u.useReport&&typeof window.EventSourcePolyfill=="function"&&window.EventSourcePolyfill.supp
30ortedOptions&&window.EventSourcePolyfill.supportedOptions.method?(h.eventSourceAllowsReport=!0,y=window.EventSourcePolyfill):(h.eventSourceAllowsReport=!1,y=window.EventSource),window.EventSource){var w=3e5;h.eventSourceFactory=function(m,b){var C=Nc(Nc({},{heartbeatTimeout:w,silentTimeout:w,skipDefaultHeaders:!0}),b);return new y(m,C)},h.eventSourceIsActive=function(m){return m.readyState===window.EventSource.OPEN||m.readyState===window.EventSource.CONNECTING}}return h.userAgent="JSClient",h.version="3.9.0",h.diagnosticSdkData={name:"js-client-sdk",version:"3.9.0"},h.diagnosticPlatformData={name:"JS"},h.diagnosticUseCombinedEvent=!0,h})(t),a=ny(n,e,t,r,cy),o=a.client,s=a.options,i=a.emitter,c=new Promise(function(u){var d=i.on(Qa,function(){i.off(Qa,d),u()})});o.waitUntilGoalsReady=function(){return c},s.fetchGoals?iy(a,function(){return i.emit(Qa)}):i.emit(Qa),document.readyState!=="complete"?window.addEventListener("load",a.start):a.start();var l=function(){r.synchronousFlush=!0,o.flush().catch(function(){}),r.synchronousFlush=!1};return document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&l()}),window.addEventListener("pagehide",l),o}var ts,jc;function uy(){if(jc)return ts;jc=1;var n="[object Symbol]",e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
307f]/g,r="\\ud800-\\udfff",a="\\u0300-\\u036f\\ufe20-\\ufe23",o="\\u20d0-\\u20f0",s="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",c="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",d=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",h="A-Z\\xc0-\\xd6\\xd8-\\xde",p="\\ufe0e\\ufe0f",y=c+l+u+d,g="['â]",w="["+r+"]",m="["+y+"]",b="["+a+o+"]",C="\\d+",R="["+s+"]",E="["+i+"]",j="[^"+r+y+C+s+i+h+"]",P="\\ud83c[\\udffb-\\udfff]",I="(?:"+b+"|"+P+")",Y="[^"+r+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",U="[\\ud800-\\udbff][\\udc00-\\udfff]",z="["+h+"]",ge="\\u200d",ne="(?:"+E+"|"+j+")",Ae="(?:"+z+"|"+j+")",Qe="(?:"+g+"(?:d|ll|m|re|s|t|ve))?",He="(?:"+g+"(?:D|LL|M|RE|S|T|VE))?",pe=I+"?",le="["+p+"]?",Ge="(?:"+ge+"(?:"+[Y,_,U].join("|")+")"+le+pe+")*",xe=le+pe+Ge,ve="(?:"+[R,_,U].join("|")+")"+xe,Ue="(?:"+[Y+b+"?",b,_,U,w].join("|")+")",rt=RegExp(g,"g"),Ve=RegExp(b,"g"),gt=RegExp(P+"(?="+P+")|"+Ue+xe,"g"),fe=RegExp([z+"?"+E+"+"+Qe+"(?="+[m,z,"$"].join("|")+")",Ae+"+"+He+"(?="+[m,z+ne,"$"].join("|")+")",z+"?"+ne+"+"+Qe,z+"+"+He,C,ve].join("|"),"g"),Ie=RegExp("["+ge+r+a+o+p+"]"),Ft=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ht={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",à :"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä :"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å :"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"ss"},Ot=typeof Ba=="object"&&Ba&&Ba.Object===Object&&Ba,we=typeof self=="object"&&self&&self.Object===Object&&self,$e=Ot||we||Function("return this")();function et(W,ye,Ne,Bt){for(var ot=-1,tn=W?W.length:0;++ot<tn;)Ne=ye(Ne,W[ot],ot,W);return Ne}function en(W){return W.split("")}function Ze(W){return W.match(e)||[]}function at(W){return function(ye){return W==null?void 0:W[ye]}}var re=at(Ht);function qe(W){return Ie.test(W)}function D(W){return Ft.test(W)}function L(W){return qe(W)?N(W):en(W)}function N(W){return W.match(gt)||[]}function q(W){return W.match(fe)||[]}var X=Object.prototype,be=X.toString,me=$e.Symbol,Ee=me?me.prototype:void 0,St=Ee?Ee.toString:void 0;function vt(W,ye,Ne){var Bt=-1,ot=W.length;ye<0&&(ye=-ye>ot?0:ot+ye),Ne=Ne>ot?ot:Ne,Ne<0&&(Ne+=ot),ot=ye>Ne?0:Ne-ye>>>0,ye>>>=0;for(var tn=Array(ot);++Bt<ot;)tn[Bt]=W[Bt+ye];return tn}function nr(W){if(typeof W=="string")return W;if(_a(W))return St?St.call(W):"";var ye=W+"";return ye=="0"&&1/W==-1/0?"-0":ye}function rr(W,ye,Ne){var Bt=W.length;return Ne=Ne===void 0?Bt:Ne,!ye&&Ne>=Bt?W:vt(W,ye,Ne)}function Lo(W){return function(ye){ye=Dn(ye);var Ne=qe(ye)?L(ye):void 0,Bt=Ne?Ne[0]:ye.charAt(0),ot=Ne?rr(Ne,1).join(""):ye.slice(1);return Bt[W]()+ot}}function Vt(W){return function(ye){return et(jr(ar(ye).replace(rt,"")),W,"")}}function Oa(W){return!!W&&typeof W=="object"}function _a(W){return typeof W=="symbol"||Oa(W)&&be.call(W)==n}function Dn(W){return W==null?"":nr(W)}var Mo=Vt(function(W,ye,Ne){return ye=ye.toLowerCase(),W+(Ne?ka(ye):ye)});function ka(W){return Ia(Dn(W).toLowerCase())}function ar(W){return W=Dn(W),W&&W.replace(t,re).replace(Ve,"")}var Ia=Lo("toUpperCase");function jr(W,ye,Ne){return W=Dn(W),ye=ye,ye===void 0?D(W)?q(W):Ze(W):W.match(ye)||[]}return ts=Mo,ts}var dy=uy();const Yu=ti(dy);var ns={exports:{}},De={};/** @license React v16.13.1 31 * react-is.production.min.js 32 * 33 * Copyright (c) Facebook, Inc. and its affiliates. 34 * 35 * This source code is licensed under the MIT license found in the 36 * LICENSE file in the root directory of this source tree. 37 */var Uc;function fy(){if(Uc)return De;Uc=1;var n=typeof Symbol=="function"&&Symbol.for,e=n?Symbol.for("react.element"):60103,t=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,i=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,l=n?Symbol.for("react.concurrent_mode"):60111,u=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,p=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,w=n?Symbol.for("react.fundamental"):60117,m=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;
37function C(E){if(typeof E=="object"&&E!==null){var j=E.$$typeof;switch(j){case e:switch(E=E.type,E){case c:case l:case r:case o:case a:case d:return E;default:switch(E=E&&E.$$typeof,E){case i:case u:case y:case p:case s:return E;default:return j}}case t:return j}}}function R(E){return C(E)===l}return De.AsyncMode=c,De.ConcurrentMode=l,De.ContextConsumer=i,De.ContextProvider=s,De.Element=e,De.ForwardRef=u,De.Fragment=r,De.Lazy=y,De.Memo=p,De.Portal=t,De.Profiler=o,De.StrictMode=a,De.Suspense=d,De.isAsyncMode=function(E){return R(E)||C(E)===c},De.isConcurrentMode=R,De.isContextConsumer=function(E){return C(E)===i},De.isContextProvider=function(E){return C(E)===s},De.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},De.isForwardRef=function(E){return C(E)===u},De.isFragment=function(E){return C(E)===r},De.isLazy=function(E){return C(E)===y},De.isMemo=function(E){return C(E)===p},De.isPortal=function(E){return C(E)===t},De.isProfiler=function(E){return C(E)===o},De.isStrictMode=function(E){return C(E)===a},De.isSuspense=function(E){return C(E)===d},De.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===l||E===o||E===a||E===d||E===h||typeof E=="object"&&E!==null&&(E.$$typeof===y||E.$$typeof===p||E.$$typeof===s||E.$$typeof===i||E.$$typeof===u||E.$$typeof===w||E.$$typeof===m||E.$$typeof===b||E.$$typeof===g)},De.typeOf=C,De}var qc;function hy(){return qc||(qc=1,ns.exports=fy()),ns.exports}var rs,Hc;function my(){if(Hc)return rs;Hc=1;var n=hy(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[n.ForwardRef]=r,o[n.Memo]=a;function s(y){return n.isMemo(y)?a:o[y.$$typeof]||e}var i=Object.defineProperty,c=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;function p(y,g,w){if(typeof g!="string"){if(h){var m=d(g);m&&m!==h&&p(y,m,w)}var b=c(g);l&&(b=b.concat(l(g)));for(var C=s(y),R=s(g),E=0;E<b.length;++E){var j=b[E];if(!t[j]&&!(w&&w[j])&&!(R&&R[j])&&!(C&&C[j])){var P=u(g,j);try{i(y,j,P)}catch{}}}}return y}return rs=p,rs}var py=my();const lR=ti(py),yy=()=>O.createContext({flags:{},flagKeyMap:{},ldClient:void 0}),Ku=yy(),{Provider:uR,Consumer:dR}=Ku,Eo={useCamelCaseFlagKeys:!0,sendEventsOnFlagRead:!0,reactContext:Ku},Ja=n=>{var e;return(e=n.context)!=null?e:n.user},Vs=n=>{const e={};for(const t in n)t.indexOf("$")!==0&&(e[Yu(t)]=n[t]);return e},gy=(n,e)=>{const t={};for(const r in n)e&&e[r]===void 0||(t[r]=n[r].current);return t},as=(n,e)=>{const t=n.allFlags();return e?Object.keys(e).reduce((r,a)=>(r[a]=Object.prototype.hasOwnProperty.call(t,a)?t[a]:e[a],r),{}):t};function os(n,e,t=Eo,r){const a=(function(c,l){return l===void 0?c:Object.keys(l).reduce((u,d)=>($s(c,d)&&(u[d]=c[d]),u),{})})(e,r),{useCamelCaseFlagKeys:o=!0}=t,[s,i={}]=o?(function(c){const l={},u={};for(const d in c){if(d.indexOf("$")===0)continue;const h=Yu(d);l[h]=c[d],u[h]=d}return[l,u]})(a):[a];return{flags:t.sendEventsOnFlagRead?vy(n,s,i,o):s,flagKeyMap:i}}function $s(n,e){return Object.prototype.hasOwnProperty.call(n,e)}function vy(n,e,t,r){return new Proxy(e,{get(a,o,s){const i=Reflect.get(a,o,s),c=r&&$s(t,o)||$s(a,o);if(typeof o=="symbol"||!c)return i;if(i===void 0)return;const l=r?t[o]:o;return n.variation(l,i)}})}Vs.camelCaseKeys=Vs;const by={wrapperName:"react-client-sdk",wrapperVersion:"3.9.0",sendEventsOnlyForVariation:!0};var wy=Object.defineProperty,Py=Object.defineProperties,Sy=Object.getOwnPropertyDescriptors,Vc=Object.getOwnPropertySymbols,Ay=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,$c=(n,e,t)=>e in n?wy(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t,Tt=(n,e)=>{for(var t in e||(e={}))Ay.call(e,t)&&$c(n,t,e[t]);if(Vc)for(var t of Vc(e))Ey.call(e,t)&&$c(n,t,e[t]);return n},Kr=(n,e)=>Py(n,Sy(e)),ss=(n,e,t)=>new Promise((r,a)=>{var o=c=>{try{i(t.next(c))}catch(l){a(l)}},s=c=>{try{i(t.throw(c))}catch(l){a(l)}},i=c=>c.done?r(c.value):Promise.resolve(c.value).then(o,s);i((t=t.apply(n,e)).next())});class Cy extends O.Component{constructor(e){super(e),this.getReactOptions=()=>Tt(Tt({},Eo),this.props.reactOptions),this.subscribeToChanges=r=>{const{flags:a}=this.props;r.on("change",o=>{const s=this.getReactOptions(),i=gy(o,a);Object.keys(i).length>0&&this.setState(c=>{const l=Tt(Tt({},c.unproxiedFlags),i);return Tt(Kr(Tt({},c),{unproxiedFlags:l}),os(r,l,s,a))})})},this.onFailed=(r,a)=>{this.setState(o=>Kr(Tt({},o),{error:a}))},this.onReady=(r,a,o)=>{const s=as(r,o);this.setState(i=>Tt(Kr(Tt({},i),{unproxiedFlags:s}),os(r,s,a,o)))},this.prepareLDClient=()=>ss(this,null,function*(){var r;const{clientSideID:a,flags:o,options:s}=this.props;let i=yield this.props.ldClient;const c=this.getReactOptions();let l,u=this.state.unproxiedFlags;if(i)u=as(i,o);else{const d=(r=Ja(this.props))!=null?r:{anonymous:!0,kind:"user"};i=ly(a,d,Tt(Tt({},by),s));try{yield i.waitForInitialization(this.props.timeout),u=as(i,o)}catch(h){l=h,l!=null&&l.name.toLowerCase().includes("timeout")&&(i.on("failed",this.onFailed),i.on("ready",()=>{this.onReady(i,c,o)}))}}this.setState(d=>Kr(Tt(Kr(Tt({},d),{unproxiedFlags:u}),os(i,u,c,o)),{ldClient:i,error:l})),this.subscribeToChanges(i)});const{options:t}=e;if(this.state={flags:{},unproxiedFlags:{},flagKeyMap:{}},t){const{bootstrap:r}=t;if(r&&r!=="localStorage"){const{useCamelCaseFlagKeys:a}=this.getReactOptions();this.state={flags:a?Vs(r):r,unproxiedFlags:r,flagKeyMap:{}}}}}componentDidMount(){return ss(this,null,function*(){const{deferInitialization:e}=this.props;e&&!Ja(this.props)||(yield this.prepareLDClient())})}componentDidUpdate(e){return ss(this,null,function*(){const{deferInitialization:t}=this.props,r=!Ja(e)&&Ja(this.props);t&&r&&(yield this.prepareLDClient())})}render(){const{flags:e,flagKeyMap:t,ldClient:r,error:a}=this.state,{reactContext:o}=this.getReactOptions();return ra.createElement(o.Provider,{value:{flags:e,flagKeyMap:t,ldClient:r,error:a}},this.props.children)}}const gi=n=>{const{flags:e}=O.useContext(Eo.reactContext);return e},Ry=n=>{const{ldClient:e}=O.useContext(Eo.reactContext);return e},xy="https://vantaca-api-actionitems-prod-001.vantaca.net/api",Gu="https://vantaca-api-associations-prod-001.vantaca.net/api",Ty="https://vantaca-api-users-prod-001.vantaca.net/api/",Qu="https://api-pay-platform.vantaca.net/api",Dy="https://api-pay-expresspay.vantaca.net/api",Oy="https://api-pay-guestpay.vantaca.net/api",_y=void 0,fR="https://portal.vantaca.net/Mobile/EmbedSSO",ky=600,hR=900,mR=1279,pR=void 0,Iy="https://vantaca-home.zendesk.com/hc/en-us",Ly="Using_this_AG_Grid_Enterprise_key_( AG-050445 )_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_( [email protected] )___For_help_with_changing_this_key_please_contact_( [email protected] )___( Vantaca )_is_granted_a_( Multiple Applications )_Developer_License_for_( 3 )_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_AG_Grid_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_( 2 )_Production_Environments___This_key_works_with_AG_Grid_Enterprise_versions_released_before_( 7 November 2024 )____[v2]_MTczMDkzNzYwMDAwMA==0306b789837b5f70ed1e269fefb8ffd5",yR="pk_live_51MP8coHpq7nfeDeMGIR1gmdz3bkfpKNR87niQlcybZ52rWYZHJMzKSnENQWHdDVLegwTXd5DoQrgJ8zfPgA82wOM00JifbC32Z",ro="697776b018568909ea6ffb6f";"all".split(",").map(n=>n.toLowerCase().trim());const gR="6LcZaKsnAAAAAIdwtM39Blg9hCMA8dNI1Qh-9eTY",vR=/true/i.test(void 0),My=/true/i.test("true"),bR=/true/i.test("true"),wR=/true/i.test("true"),PR=/true/.test(void 0),SR=/true/.test(void 0),AR=/true/.test(void 0),ER=/true/.test(void 0),CR=/true/.test("true"),RR=/true/.test("true"),xR=/true/.test(void 0),TR=/true/i.test(void 0),DR=/true/.test(void 0),Ny=new Set("".split(",").map(n=>
vendor: 4,330 bytes, line 37
37n.trim()).filter(Boolean)),OR="https://go.hoai.com/sdk.js",_R="vantaca-tf1gFTyAfM0pbB63UwyFM4q_ejz5gEVtwdHjtTaxlh0",kR="https://perkspot-api.perkspot.com/pow/WidgetOffers",IR="https://psprodcdnstorage.blob.core.windows.net/pow/prod/widget.js",LR="299,300,301,302".split(",").map(n=>n.trim()).filter(Boolean),MR=/true/i.test("true"),ce=n=>typeof n=="string",Gr=()=>{let n,e;const t=new Promise((r,a)=>{n=r,e=a});return t.resolve=n,t.reject=e,t},zc=n=>n==null?"":""+n,Fy=(n,e,t)=>{n.forEach(r=>{e[r]&&(t[r]=e[r])})},By=/###/g,Wc=n=>n&&n.indexOf("###")>-1?n.replace(By,"."):n,Yc=n=>!n||ce(n),sa=(n,e,t)=>{const r=ce(e)?e.split("."):e;let a=0;for(;a<r.length-1;){if(Yc(n))return{};const o=Wc(r[a]);!n[o]&&t&&(n[o]=new t),Object.prototype.hasOwnProperty.call(n,o)?n=n[o]:n={},++a}return Yc(n)?{}:{obj:n,k:Wc(r[a])}},Kc=(n,e,t)=>{const{obj:r,k:a}=sa(n,e,Object);if(r!==void 0||e.length===1){r[a]=t;return}let o=e[e.length-1],s=e.slice(0,e.length-1),i=sa(n,s,Object);for(;i.obj===void 0&&s.length;)o=`${s[s.length-1]}.${o}`,s=s.slice(0,s.length-1),i=sa(n,s,Object),i!=null&&i.obj&&typeof i.obj[`${i.k}.${o}`]<"u"&&(i.obj=void 0);i.obj[`${i.k}.${o}`]=t},jy=(n,e,t,r)=>{const{obj:a,k:o}=sa(n,e,Object);a[o]=a[o]||[],a[o].push(t)},ho=(n,e)=>{const{obj:t,k:r}=sa(n,e);if(t&&Object.prototype.hasOwnProperty.call(t,r))return t[r]},Uy=(n,e,t)=>{const r=ho(n,t);return r!==void 0?r:ho(e,t)},Ju=(n,e,t)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in n?ce(n[r])||n[r]instanceof String||ce(e[r])||e[r]instanceof String?t&&(n[r]=e[r]):Ju(n[r],e[r],t):n[r]=e[r]);return n},dr=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var qy={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Hy=n=>ce(n)?n.replace(/[&<>"'\/]/g,e=>qy[e]):n;class Vy{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const $y=[" ",",","?","!",";"],zy=new Vy(20),Wy=(n,e,t)=>{e=e||"",t=t||"";const r=$y.filter(s=>e.indexOf(s)<0&&t.indexOf(s)<0);if(r.length===0)return!0;const a=zy.getRegExp(`(${r.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!a.test(n);if(!o){const s=n.indexOf(t);s>0&&!a.test(n.substring(0,s))&&(o=!0)}return o},zs=function(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[e])return Object.prototype.hasOwnProperty.call(n,e)?n[e]:void 0;const r=e.split(t);let a=n;for(let o=0;o<r.length;){if(!a||typeof a!="object")return;let s,i="";for(let c=o;c<r.length;++c)if(c!==o&&(i+=t),i+=r[c],s=a[i],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&c<r.length-1)continue;o+=c-o+1;break}a=s}return a},mo=n=>n==null?void 0:n.replace("_","-"),Yy={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){var t,r;(r=(t=console==null?void 0:console[n])==null?void 0:t.apply)==null||r.call(t,console,e)}};class po{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Yy,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,a){return a&&!this.debug?null:(ce(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new po(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new po(this.logger,e)}}var Jt=new po;class Co{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(t)||0;this.observers[r].set(t,a+1)}),this}
37off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(s=>{let[i,c]=s;for(let l=0;l<c;l++)i(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(s=>{let[i,c]=s;for(let l=0;l<c;l++)i.apply(i,[e,...r])})}}class Gc extends Co{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){var l,u;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,s=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let i;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],r&&(Array.isArray(r)?i.push(...r):ce(r)&&o?i.push(...r.split(o)):i.push(r)));const c=ho(this.data,i);return!c&&!t&&!r&&e.indexOf(".")>-1&&(e=i[0],t=i[1],r=i.slice(2).join(".")),c||!s||!ce(r)?c:zs((u=(l=this.data)==null?void 0:l[e])==null?void 0:u[t],r,o)}addResource(e,t,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let i=[e,t];r&&(i=i.concat(s?r.split(s):r)),e.indexOf(".")>-1&&(i=e.split("."),a=t,t=i[1]),this.addNamespaces(t),Kc(this.data,i,a),o.silent||this.emit("added",e,t,r,a)}addResources(e,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(ce(r[o])||Array.isArray(r[o]))&&this.addResource(e,t,o,r[o],{silent:!0});a.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,a,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),a=r,r=t,t=i[1]),this.addNamespaces(t);let c=ho(this.data,i)||{};s.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?Ju(c,r,o):c={...c,...r},Kc(this.data,i,c),s.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(a=>t[a]&&Object.keys(t[a]).length>0)}toJSON(){return this.data}}var Xu={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,r,a){return n.forEach(o=>{var s;e=((s=this.processors[o])==null?void 0:s.process(e,t,r,a))??e}),e}};const Qc={},Jc=n=>!ce(n)&&typeof n!="boolean"&&typeof n!="number";class yo extends Co{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Fy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
37i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Jt.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const r=this.resolve(e,t);return(r==null?void 0:r.res)!==void 0}extractFromKey(e,t){let r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const s=r&&e.indexOf(r)>-1,i=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Wy(e,r,a);if(s&&!i){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:ce(o)?[o]:o};const l=e.split(r);(r!==a||r===a&&this.options.ns.indexOf(l[0])>-1)&&(o=l.shift()),e=l.join(a)}return{key:e,namespaces:ce(o)?[o]:o}}translate(e,t,r){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const a=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,o=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:s,namespaces:i}=this.extractFromKey(e[e.length-1],t),c=i[i.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((l==null?void 0:l.toLowerCase())==="cimode"){if(u){const U=t.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${U}${s}`,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${U}${s}`}return a?{res:s,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:s}const d=this.resolve(e,t);let h=d==null?void 0:d.res;const p=(d==null?void 0:d.usedKey)||s,y=(d==null?void 0:d.exactUsedKey)||s,g=["[object Number]","[object Function]","[object RegExp]"],w=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,b=t.count!==void 0&&!ce(t.count),C=yo.hasDefaultValue(t),R=b?this.pluralResolver.getSuffix(l,t.count,t):"",E=t.ordinal&&b?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",j=b&&!t.ordinal&&t.count===0,P=j&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${R}`]||t[`defaultValue${E}`]||t.defaultValue;let I=h;m&&!h&&C&&(I=P);const Y=Jc(I),_=Object.prototype.toString.apply(I);if(m&&I&&Y&&g.indexOf(_)<0&&!(ce(w)&&Array.isArray(I))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,I,{...t,ns:i}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(d.res=U,d.usedParams=this.getUsedParamsDetails(t),d):U}if(o){const U=Array.isArray(I),z=U?[]:{},ge=U?y:p;for(const ne in I)if(Object.prototype.hasOwnProperty.call(I,ne)){const Ae=`${ge}${o}${ne}`;C&&!h?z[ne]=this.translate(Ae,{...t,defaultValue:Jc(P)?P[ne]:void 0,joinArrays:!1,ns:i}):z[ne]=this.translate(Ae,{...t,joinArrays:!1,ns:i}),z[ne]===Ae&&(z[ne]=I[ne])}h=z}}else if(m&&ce(w)&&Array.isArray(h))h=h.join(w),h&&(h=this.extendTranslation(h,e,t,r));else{let U=!1,z=!1;!this.isValidLookup(h)&&C&&(U=!0,h=P),this.isValidLookup(h)||(z=!0,h=s);const ne=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&z?void 0:h,Ae=C&&P!==h&&this.options.updateMissing;if(z||U||Ae){if(this.logger.log(Ae?"updateKey":"missingKey",l,c,s,Ae?P:h),o){const le=this.resolve(s,{...t,keySeparator:!1});le&&le.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Qe=[];const He=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&He&&He[0])for(let le=0;le<He.length;le++)Qe.push(He[le]);else this.options.saveMissingTo==="all"?Qe=this.languageUtils.toResolveHierarchy(t.lng||this.language):Qe.push(t.lng||this.language);const pe=(le,Ge,xe)=>{var Ue;const ve=C&&xe!==h?xe:ne;this.options.missingKeyHandler?this.options.missingKeyHandler(le,c,Ge,ve,Ae,t):(Ue=this.backendConnector)!=null&&Ue.saveMissing&&this.backendConnector.saveMissing(le,c,Ge,ve,Ae,t),this.emit
vendor: 12,160 bytes, line 37
37("missingKey",le,c,Ge,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?Qe.forEach(le=>{const Ge=this.pluralResolver.getSuffixes(le,t);j&&t[`defaultValue${this.options.pluralSeparator}zero`]&&Ge.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ge.push(`${this.options.pluralSeparator}zero`),Ge.forEach(xe=>{pe([le],s+xe,t[`defaultValue${xe}`]||P)})}):pe(Qe,s,P))}h=this.extendTranslation(h,e,t,d,r),z&&h===s&&this.options.appendNamespaceToMissingKey&&(h=`${c}:${s}`),(z||U)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${s}`:s,U?h:void 0))}return a?(d.res=h,d.usedParams=this.getUsedParamsDetails(t),d):h}extendTranslation(e,t,r,a,o){var l,u;var s=this;if((l=this.i18nFormat)!=null&&l.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const d=ce(e)&&(((u=r==null?void 0:r.interpolation)==null?void 0:u.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(d){const y=e.match(this.interpolator.nestingRegexp);h=y&&y.length}let p=r.replace&&!ce(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,r.lng||this.language||a.usedLng,r),d){const y=e.match(this.interpolator.nestingRegexp),g=y&&y.length;h<g&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var y=arguments.length,g=new Array(y),w=0;w<y;w++)g[w]=arguments[w];return(o==null?void 0:o[0])===g[0]&&!r.context?(s.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${t[0]}`),null):s.translate(...g,t)},r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,c=ce(i)?[i]:i;return e!=null&&(c!=null&&c.length)&&r.applyPostProcessor!==!1&&(e=Xu.handle(c,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,s,i;return ce(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(r))return;const l=this.extractFromKey(c,t),u=l.key;a=u;let d=l.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const h=t.count!==void 0&&!ce(t.count),p=h&&!t.ordinal&&t.count===0,y=t.context!==void 0&&(ce(t.context)||typeof t.context=="number")&&t.context!=="",g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);d.forEach(w=>{var m,b;this.isValidLookup(r)||(i=w,!Qc[`${g[0]}-${w}`]&&((m=this.utils)!=null&&m.hasLoadedNamespace)&&!((b=this.utils)!=null&&b.hasLoadedNamespace(i))&&(Qc[`${g[0]}-${w}`]=!0,this.logger.warn(`key "${a}" for languages "${g.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(C=>{var j;if(this.isValidLookup(r))return;s=C;const R=[u];if((j=this.i18nFormat)!=null&&j.addLookupKeys)this.i18nFormat.addLookupKeys(R,u,C,w,t);else{let P;h&&(P=this.pluralResolver.getSuffix(C,t.count,t));const I=`${this.options.pluralSeparator}zero`,Y=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(R.push(u+P),t.ordinal&&P.indexOf(Y)===0&&R.push(u+P.replace(Y,this.options.pluralSeparator)),p&&R.push(u+I)),y){const _=`${u}${this.options.contextSeparator}${t.context}`;R.push(_),h&&(R.push(_+P),t.ordinal&&P.indexOf(Y)===0&&R.push(_+P.replace(Y,this.options.pluralSeparator)),p&&R.push(_+I))}}let E;for(;E=R.pop();)this.isValidLookup(r)||(o=E,r=this.getResource(C,w,E,t))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:s,usedNS:i}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,r){var o;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(o=this.i18nFormat)!=null&&o.getResource?this.i18nFormat.getResource(e,t,r,a):this.resourceStore.getResource(e,t,r,a)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!ce(e.replace);let a=r?e.replace:e;if(r&&typeof e.count<"u"&&(a.count=e.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of t)delete a[o]}return a}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}}class Xc{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Jt.create("languageUtils")}getScriptPartFromCode(e){if(e=mo(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=mo(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(ce(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(r=>{if(t)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(t=a)}),!t&&this.options.supportedLngs&&e.forEach(r=>{if(t)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return t=a;t=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),ce(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),a=[],o=s=>{s&&(this.isSupportedCode(s)?a.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return ce(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(e))):ce(e)&&o(this.formatLanguageCode(e)),r.forEach(s=>{a.indexOf(s)<0&&o(this.formatLanguageCode(s))}),a}}const Zc={zero:0,one:1,two:2,few:3,many:4,other:5},el={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ky{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=Jt.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=mo(e==="dev"?"en":e),a=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let s;try{s=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),el;if(!e.match(/-|_/))return el;const c=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(c,t)}return this.pluralRulesCache[o]=s,s}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,r).map(a=>`${t}${a}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort((a,o)=>Zc[a]-Zc[o]).map(a=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(e,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}const tl=function(n,e,t){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=Uy(n,e,t);return!o&&a&&ce(t)&&(o=zs(n,t,r),o===void 0&&(o=zs(e,t,r))),o},is=n=>n.replace(/\$/g,"$$$$");class Gy{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Jt.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(r=>r),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:s,suffix:i,suffixEscaped:c,formatSeparator:l,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:h,nestingPrefixEscaped:p,nestingSuffix:y,nestingSuffixEscaped:g,nestingOptionsSeparator:w,maxReplaces:m,alwaysFormat:b}=e.interpolation;this.escape=t!==void 0?t:Hy,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?dr(o):s||"{{",this.suffix=i?dr(i):c||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=h?dr(h):p||dr("$t("),this.nestingSuffix=y?dr(y):g||dr(")"),this.nestingOptionsSeparator=w||",",this.maxReplaces=m||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,r)=>(t==null?void 0:t.source)===r?(t.lastIndex=0,t):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,a){var p;let o,s,i;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=y=>{if(y.indexOf(this.formatSeparator)<0){const b=tl(t,c,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(b,void 0,r,{...a,...t,interpolationkey:y}):b}const g=y.split(this.formatSeparator),w=g.shift().trim(),m=g.join(this.formatSeparator).trim();return this.format(tl(t,c,w,this.options.keySeparator,this.options.ignoreJSONStructure),m,r,{...a,...t,interpolationkey:w})};this.resetRegExp();const u=(a==null?void 0:a.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=((p=a==null?void 0:a.interpolation)==null?void 0:p.skipOnVariables)!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>is(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?is(this.escape(y)):is(y)}
vendor: 4,092 bytes, line 37
37].forEach(y=>{for(i=0;o=y.regex.exec(e);){const g=o[1].trim();if(s=l(g),s===void 0)if(typeof u=="function"){const m=u(e,o,a);s=ce(m)?m:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))s="";else if(d){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),s="";else!ce(s)&&!this.useRawValueToEscape&&(s=zc(s));const w=y.safeValue(s);if(e=e.replace(o[0],w),d?(y.regex.lastIndex+=s.length,y.regex.lastIndex-=o[0].length):y.regex.lastIndex=0,i++,i>=this.maxReplaces)break}}),e}nest(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,s;const i=(c,l)=>{const u=this.nestingOptionsSeparator;if(c.indexOf(u)<0)return c;const d=c.split(new RegExp(`${u}[ ]*{`));let h=`{${d[1]}`;c=d[0],h=this.interpolate(h,s);const p=h.match(/'/g),y=h.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!y||y.length%2!==0)&&(h=h.replace(/'/g,'"'));try{s=JSON.parse(h),l&&(s={...l,...s})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${u}${h}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,c};for(;a=this.nestingRegexp.exec(e);){let c=[];s={...r},s=s.replace&&!ce(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let l=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const u=a[1].split(this.formatSeparator).map(d=>d.trim());a[1]=u.shift(),c=u,l=!0}if(o=t(i.call(this,a[1].trim(),s),s),o&&a[0]===e&&!ce(o))return o;ce(o)||(o=zc(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`),o=""),l&&(o=c.reduce((u,d)=>this.format(u,d,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),e=e.replace(a[0],o),this.regexp.lastIndex=0}return e}}const Qy=n=>{let e=n.toLowerCase().trim();const t={};if(n.indexOf("(")>-1){const r=n.split("(");e=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);e==="currency"&&a.indexOf(":")<0?t.currency||(t.currency=a.trim()):e==="relativetime"&&a.indexOf(":")<0?t.range||(t.range=a.trim()):a.split(";").forEach(s=>{if(s){const[i,...c]=s.split(":"),l=c.join(":").trim().replace(/^'+|'+$/g,""),u=i.trim();t[u]||(t[u]=l),l==="false"&&(t[u]=!1),l==="true"&&(t[u]=!0),isNaN(l)||(t[u]=parseInt(l,10))}})}return{formatName:e,formatOptions:t}},fr=n=>{const e={};return(t,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const s=r+JSON.stringify(o);let i=e[s];return i||(i=n(mo(r),a),e[s]=i),i(t)}};class Jy{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Jt.create("formatter"),this.options=e,this.formats={number:fr((t,r)=>{const a=new Intl.NumberFormat(t,{...r});return o=>a.format(o)}),currency:fr((t,r)=>{const a=new Intl.NumberFormat(t,{...r,style:"currency"});return o=>a.format(o)}),datetime:fr((t,r)=>{const a=new Intl.DateTimeFormat(t,{...r});return o=>a.format(o)}),relativetime:fr((t,r)=>{const a=new Intl.RelativeTimeFormat(t,{...r});return o=>a.format(o,r.range||"day")}),list:fr((t,r)=>{const a=new Intl.ListFormat(t,{...r});return o=>a.format(o)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=fr(t)}format(e,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(i=>i.indexOf(")")>-1)){const i=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,i)].join(this.formatSeparator)}return o.reduce((i,c)=>{var d;const{formatName:l,formatOptions:u}=Qy(c);if(this.formats[l]){let h=i;try{const p=((d=a==null?void 0:a.formatParams)==null?void 0:d[a.interpolationkey])||{},y=p.locale||p.lng||a.locale||a.lng||r;h=this.formats[l](i,y,{...u,...a,...p})}catch(p){this.logger.warn(p)}return h}else this.logger.warn(`there was no format function for ${l}`);return i},e)}}const Xy=(n,e)=>
vendor: 5,890 bytes, line 37
37{n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)};class Zy extends Co{constructor(e,t,r){var o,s;let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=Jt.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],(s=(o=this.backend)==null?void 0:o.init)==null||s.call(o,r,a.backend,a)}queueLoad(e,t,r,a){const o={},s={},i={},c={};return e.forEach(l=>{let u=!0;t.forEach(d=>{const h=`${l}|${d}`;!r.reload&&this.store.hasResourceBundle(l,d)?this.state[h]=2:this.state[h]<0||(this.state[h]===1?s[h]===void 0&&(s[h]=!0):(this.state[h]=1,u=!1,s[h]===void 0&&(s[h]=!0),o[h]===void 0&&(o[h]=!0),c[d]===void 0&&(c[d]=!0)))}),u||(i[l]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(c)}}loaded(e,t,r){const a=e.split("|"),o=a[0],s=a[1];t&&this.emit("failedLoading",o,s,t),!t&&r&&this.store.addResourceBundle(o,s,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const i={};this.queue.forEach(c=>{jy(c.loaded,[o],s),Xy(c,e),t&&c.errors.push(t),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(l=>{i[l]||(i[l]={});const u=c.loaded[l];u.length&&u.forEach(d=>{i[l][d]===void 0&&(i[l][d]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(c=>!c.done)}read(e,t,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:a,wait:o,callback:s});return}this.readingCalls++;const i=(l,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(l&&u&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,r,a+1,o*2,s)},o);return}s(l,u)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const l=c(e,t);l&&typeof l.then=="function"?l.then(u=>i(null,u)).catch(i):i(null,l)}catch(l){i(l)}return}return c(e,t,i)}prepareLoading(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();ce(e)&&(e=this.languageUtils.toResolveHierarchy(e)),ce(t)&&(t=[t]);const o=this.queueLoad(e,t,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=e.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(s,i)=>{s&&this.logger.warn(`${t}loading namespace ${o} for language ${a} failed`,s),!s&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${a}`,i),this.loaded(e,s,i)})}saveMissing(e,t,r,a,o){var c,l,u,d,h;let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},i=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((l=(c=this.services)==null?void 0:c.utils)!=null&&l.hasLoadedNamespace&&!((d=(u=this.services)==null?void 0:u.utils)!=null&&d.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((h=this.backend)!=null&&h.create){const p={...s,isUpdate:o},y=this.backend.create.bind(this.backend);if(y.length<6)try{let g;y.length===5?g=y(e,t,r,a,p):g=y(e,t,r,a),g&&typeof g.then=="function"?g.then(w=>i(null,w)).catch(i):i(null,g)}catch(g){i(g)}else y(e,t,r,a,i,p)}!e||!e[0]||this.store.addResource(e[0],t,r,a)}}}const nl=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let e={};if(typeof n[1]=="object"&&(e=n[1]),ce(n[1])&&(e.defaultValue=n[1]),ce(n[2])&&(e.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const t=n[3]||n[2];Object.keys(t).forEach(r=>{e[r]=t[r]})}return e},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),rl=n=>{var e,t;return ce(n.ns)&&(n.ns=[n.ns]),ce(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),ce(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((t=(e=n.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},Xa=()=>{},eg=n=>
vendor: 8,111 bytes, line 37
37{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})};class da extends Co{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=rl(e),this.services={},this.logger=Jt,this.modules={external:[]},eg(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(ce(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const a=nl();this.options={...a,...this.options,...rl(t)},this.options.interpolation={...a.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Jt.init(o(this.modules.logger),this.options):Jt.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=Jy;const d=new Xc(this.options);this.store=new Gc(this.options.resources,this.options);const h=this.services;h.logger=Jt,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new Ky(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(h.formatter=o(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new Gy(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new Zy(o(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(p){for(var y=arguments.length,g=new Array(y>1?y-1:0),w=1;w<y;w++)g[w-1]=arguments[w];e.emit(p,...g)}),this.modules.languageDetector&&(h.languageDetector=o(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=o(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new yo(this.services,this.options),this.translator.on("*",function(p){for(var y=arguments.length,g=new Array(y>1?y-1:0),w=1;w<y;w++)g[w-1]=arguments[w];e.emit(p,...g)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Xa),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return e.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return e.store[u](...arguments),e}});const c=Gr(),l=()=>{const u=(d,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(h),r(d,h)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),c}loadResources(e){var o,s;let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xa;const a=ce(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if((a==null?void 0:a.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],c=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(d=>{d!=="cimode"&&i.indexOf(d)<0&&i.push(d)})};a?c(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>c(u)),(s=(o=this.options.preload)==null?void 0:o.forEach)==null||s.call(o,l=>c(l)),this.services.backendConnector.load(i,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(e,t,r){const a=Gr();return typeof e=="function"&&(r=e,e=void 0),typeof t=="function"&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=Xa),this.services.backendConnector.reload(e,t,o=>{a.resolve(),r(o)}),a}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&Xu.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const a=Gr();this.emit("languageChanging",e);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},s=(c,l)=>{l?(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),t&&t(c,function(){return r.t(...arguments)})},i=c=>{var u,d;!e&&!c&&this.services.languageDetector&&(c=[]);const l=ce(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);l&&(this.language||o(l),this.translator.language||this.translator.changeLanguage(l),(d=(u=this.services.languageDetector)==null?void 0:u.cacheUserLanguage)==null||d.call(u,l)),this.loadResources(l,h=>{s(h,l)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e),a}getFixedT(e,t,r){var a=this;const o=function(s,i){let c;if(typeof i!="object"){for(var l=arguments.length,u=new Array(l>2?l-2:0),d=2;d<l;d++)u[d-2]=arguments[d];c=a.options.overloadTranslationOptionHandler([s,i].concat(u))}else c={...i};c.lng=c.lng||o.lng,c.lngs=c.lngs||o.lngs,c.ns=c.ns||o.ns,c.keyPrefix!==""&&(c.keyPrefix=c.keyPrefix||r||o.keyPrefix);const h=a.options.keySeparator||".";let p;return c.keyPrefix&&Array.isArray(s)?p=s.map(y=>`${c.keyPrefix}${h}${y}`):p=c.keyPrefix?`${c.keyPrefix}${h}${s}`:s,a.t(p,c)};return ce(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(){var a;for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(a=this.translator)==null?void 0:a.translate(...t)}exists(){var a;for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(a=this.translator)==null?void 0:a.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
37if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const s=(i,c)=>{const l=this.services.backendConnector.state[`${i}|${c}`];return l===-1||l===0||l===2};if(t.precheck){const i=t.precheck(this,s);if(i!==void 0)return i}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(r,e)&&(!a||s(o,e)))}loadNamespaces(e,t){const r=Gr();return this.options.ns?(ce(e)&&(e=[e]),e.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),t&&t(a)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=Gr();ce(e)&&(e=[e]);const a=this.options.preload||[],o=e.filter(s=>a.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return o.length?(this.options.preload=a.concat(o),this.loadResources(s=>{r.resolve(),t&&t(s)}),r):(t&&t(),Promise.resolve())}dir(e){var a,o;if(e||(e=this.resolvedLanguage||(((a=this.languages)==null?void 0:a.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((o=this.services)==null?void 0:o.languageUtils)||new Xc(nl());return t.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new da(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Xa;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const a={...this.options,...e,isClone:!0},o=new da(a);if((e.debug!==void 0||e.prefix!==void 0)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(i=>{o[i]=this[i]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const i=Object.keys(this.store.data).reduce((c,l)=>(c[l]={...this.store.data[l]},Object.keys(c[l]).reduce((u,d)=>(u[d]={...c[l][d]},u),{})),{});o.store=new Gc(i,a),o.services.resourceStore=o.store}return o.translator=new yo(o.services,a),o.translator.on("*",function(i){for(var c=arguments.length,l=new Array(c>1?c-1:0),u=1;u<c;u++)l[u-1]=arguments[u];o.emit(i,...l)}),o.init(a,t),o.translator.options=a,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const yt=da.createInstance();yt.createInstance=da.createInstance;yt.createInstance;yt.dir;yt.init;yt.loadResources;yt.reloadResources;yt.use;yt.changeLanguage;yt.getFixedT;const NR=yt.t;yt.exists;yt.setDefaultNamespace;yt.hasLoadedNamespace;yt.loadNamespaces;yt.loadLanguages;const{slice:tg,forEach:ng}=[];function rg(n){return ng.call(tg.call(arguments,1),e=>{if(e)for(const t in e)n[t]===void 0&&(n[t]=e[t])}),n}
37function ag(n){return typeof n!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(n))}const al=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,og=function(n,e){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(e);let o=`${n}=${a}`;if(r.maxAge>0){const s=r.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(s)}`}if(r.domain){if(!al.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!al.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(o+="; Partitioned"),o},ol={create(n,e,t,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};t&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+t*60*1e3)),r&&(a.domain=r),document.cookie=og(n,e,a)},read(n){const e=`${n}=`,t=document.cookie.split(";");for(let r=0;r<t.length;r++){let a=t[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(e)===0)return a.substring(e.length,a.length)}return null},remove(n,e){this.create(n,"",-1,e)}};var sg={name:"cookie",lookup(n){let{lookupCookie:e}=n;if(e&&typeof document<"u")return ol.read(e)||void 0},cacheUserLanguage(n,e){let{lookupCookie:t,cookieMinutes:r,cookieDomain:a,cookieOptions:o}=e;t&&typeof document<"u"&&ol.create(t,n,r,a,o)}},ig={name:"querystring",lookup(n){var r;let{lookupQuerystring:e}=n,t;if(typeof window<"u"){let{search:a}=window.location;!window.location.search&&((r=window.location.hash)==null?void 0:r.indexOf("?"))>-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const s=a.substring(1).split("&");for(let i=0;i<s.length;i++){const c=s[i].indexOf("=");c>0&&s[i].substring(0,c)===e&&(t=s[i].substring(c+1))}}return t}},cg={name:"hash",lookup(n){var a;let{lookupHash:e,lookupFromHashIndex:t}=n,r;if(typeof window<"u"){const{hash:o}=window.location;if(o&&o.length>2){const s=o.substring(1);if(e){const i=s.split("&");for(let c=0;c<i.length;c++){const l=i[c].indexOf("=");l>0&&i[c].substring(0,l)===e&&(r=i[c].substring(l+1))}}if(r)return r;if(!r&&t>-1){const i=o.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?(a=i[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}}}return r}};let hr=null;const sl=()=>{if(hr!==null)return hr;try{if(hr=typeof window<"u"&&window.localStorage!==null,!hr)return!1;const n="i18next.translate.boo";window.localStorage.setItem(n,"foo"),window.localStorage.removeItem(n)}catch{hr=!1}return hr};var lg={name:"localStorage",lookup(n){let{lookupLocalStorage:e}=n;if(e&&sl())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupLocalStorage:t}=e;t&&sl()&&window.localStorage.setItem(t,n)}};let mr=null;const il=()=>{if(mr!==null)return mr;try{if(mr=typeof window<"u"&&window.sessionStorage!==null,!mr)return!1;const n="i18next.translate.boo";window.sessionStorage.setItem(n,"foo"),window.sessionStorage.removeItem(n)}catch{mr=!1}return mr};var ug={name:"sessionStorage",lookup(n){let{lookupSessionStorage:e}=n;if(e&&il())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupSessionStorage:t}=e;t&&il()&&window.sessionStorage.setItem(t,n)}},dg={name:"navigator",lookup(n){const e=[];if(typeof navigator<"u"){const{languages:t,userLanguage:r,language:a}=navigator;if(t)for(let o=0;o<t.length;
vendor: 6,408 bytes, line 37
37o++)e.push(t[o]);r&&e.push(r),a&&e.push(a)}return e.length>0?e:void 0}},fg={name:"htmlTag",lookup(n){let{htmlTag:e}=n,t;const r=e||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(t=r.getAttribute("lang")),t}},hg={name:"path",lookup(n){var a;let{lookupFromPathIndex:e}=n;if(typeof window>"u")return;const t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(t)?(a=t[typeof e=="number"?e:0])==null?void 0:a.replace("/",""):void 0}},mg={name:"subdomain",lookup(n){var a,o;let{lookupFromSubdomainIndex:e}=n;const t=typeof e=="number"?e+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[t]}};let Zu=!1;try{document.cookie,Zu=!0}catch{}const ed=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Zu||ed.splice(1,1);const pg=()=>({order:ed,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:n=>n});class td{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=rg(t,this.options||{},pg()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(sg),this.addDetector(ig),this.addDetector(lg),this.addDetector(ug),this.addDetector(dg),this.addDetector(fg),this.addDetector(hg),this.addDetector(mg),this.addDetector(cg)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,t=[];return e.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(t=t.concat(a))}}),t=t.filter(r=>r!=null&&!ag(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(e,this.options)}))}}td.type="languageDetector";const yg={login:"Log In",residentLogin:"Resident Login",noAccount:"Invalid login details",qrLoading:"Loadingâ¦",qrLoginUnavailable:"QR login unavailable",invalidEmail:"Invalid email",emailRequired:"Email required",invalidPass:"Invalid password",loginEmail:"Login Email",email:"Email",password:"Password",passRequired:"Password required",minPass:"Password must be at least 6 characters",confirmPassword:"Confirm password",noPasswordMatch:"Passwords do not match",currentPassword:"Current Password",newPassword:"New Password",confirmNewPassword:"Confirm New Password",inputRequired:"Input required",remember:"Remember Me",forgotLogin:"Forgot your password?",alreadyHave:"Already have a code?",continue:"Continue",logIn:"Log In",request:"Request",dontHaveAcc:"Don't have an account?",signUp:"Sign Up",logInAccount:"Log into Your Account",requestAccount:"Request an Account",invalidLogin:"Invalid username, password, or company",name:"Name",nameRequired:"Name is required",phone:"Phone number",phoneRequired:"Phone number is required",invalidPhone:"Invalid phone number",address:"Property address",addressRequired:"Address is required",associationName:"Association name",associationNameRequired:"Association name required",resetYourPassword:"Reset Your Password",resetPassword:"Reset password",signUpAccount:"Sign up for an Account",accountRequired:"Account number is required",registrationRequired:"Registration key is required",noAccountOrRegistration:"Don't have an account number or registration key?",captcha:"Please complete to continue",emailSent:"Email sent to",enterVerificationCodeToLogin:"Enter Verification Code to Login",checkYourEmail:"Check your email for the six digit verification code, and enter it below.",enterEmail:"Enter your email address and existing passcode to log in.",enterVerificationCode:"Enter Verification Code",codeToInbox:"We sent a code to your inbox",verifyCode:"Verify Code",resendIn:"Resend in {{seconds}}s",resendCode:"Resend Code",codeVerificationFailed:"The verification code you entered is incorrect.",enterYourEmailReset:"Enter your email and we'll send you a one-time passcode to log in and reset your password.",enterYourEmailLogin:"Already have an account? Enter your email below to receive a secure login code instead of using your password.",logInWithOneTimePasscode:"Send Log In Code",logInOnly:"*This is for logging in only - not for creating new accounts or resetting passwords",codeResentSuccessfully:"Code resent successfully",sendCode:"Send Code",backToLogin:"Back to Login",backToDashboard:"Back to Dashboard",codeVerified:"Code verified successfully",newPasswordDisclaimer:"Please set a new password to keep your account secure and make future logins easier.",resetPasswordHeader:"Reset Your Password",savePassword:"Save Password",logInWithPassword:"Log In With Password",logInWithCode:"Log In With Code",alreadyHaveAccount:"Already have an account?",somethingWentWrong:"Something went wrong. If this issue persists please contact us through our help center.",loggedInDifferentUser:"You are currently logged in with a different user",switchUserInstructions:"Please logout to proceed with the correct account"},gg={accountNumber:"Account #",registrationKey:"Registration Key"},vg={redirecting:"Redirectingâ¦",busyTitle:"Account setup is busy",busyMessage:"Please wait a minute, then open your account claim link again."},bg={settingUp:"Setting up your accountâ¦"},wg={accountNumber:"Account # (if available)"},Pg="Please enter a valid email address format.",Sg={login:yg,createAccount:gg,claimAccount:vg,ftu:bg,requestAccount:wg,invali
37dEmail:Pg},Ag={payNow:"Confirm & Pay",scheduleAndPay:"Enroll in AutoPay",paymentMethod:"Select Payment Method",accountNumber:"Account number: {{ accountNumber }}",accountInformation:"Account Information",accountBalance:"Account balance",balanceAsOf:"Balance as of {{ date }}",cardOrWallet:"Credit Card or Wallet",bankAccount:"Bank Account",processingFee:"{{ processingFee }} Processing Fee",processingFeeCardType:"{{ processingFee }} Processing Fee on credit cards â no fee on debit cards",oneTime:"One Time Payment",notNow:"Not Now",fullBalance:"Full Balance",otherAmount:"Other Amount",processingFeeLabel:"Processing Fee:",processingFeeToolTip:"Processing Fees enable secure end to end payments powered by Stripe - Payments will reflect instantly on your account",processingFeeAmount:"{{ amount }}",feeCalculating:"Calculating...",totalDueLabel:"Total Due:",totalDueAmount:"{{ amount }}",secureAndEncrypted:"Payments are secure & encrypted",confirmConsent:"By clicking Confirm & Pay you consent to the payment conditions for your payment selection as described on the <Link>Payment Disclosure</Link> page.",schedulePaymentConsent:"By clicking Schedule Payment you consent to the payment conditions for your payment selection as described on the <Link>Payment Disclosure</Link> page.",savePaymentMethod:"Save Payment Method",selectValidPaymentMethod:"Please select a valid payment method to continue",paymentAmount:"Payment Amount:",consent:{oneTimeLabel:"I consent to the payment conditions for my payment selection as described on the <Link>Terms & Conditions</Link> page.",recurringCardLabel:"I have read and agreed to the <Link>Terms & Conditions</Link> and authorize {{managementCompany}} to process payments from my credit card.",recurringBankLabel:"I have read and agreed to the <Link>Terms & Conditions</Link> and authorize {{managementCompany}} to process payments from my bank account.",required:"Please agree to the Terms & Conditions to continue.",termsLinkText:"Terms & Conditions"},confirmation:{paymentComplete:"Payment Complete",paymentSuccessMessage:"A payment of {{ amount }} was successfully made.",confirmationNumber:"Confirmation Number",date:"Date",accountNumber:"Account Number",paymentMethod:"Payment Method",amount:"Amount",fee:"Fee",totalAmount:"Total Amount",neverMissPayment:"Set up AutoPay",recurringPaymentMessage:"Automatically pay what you owe on each due date. If nothing is due, nothing will be charged.",logInToVantaca:"Log in to Vantaca Home",recurringPaymentScheduled:"Recurring Payment Scheduled.",recurringPaymentScheduledMessage:"Your recurring payment has been successfully scheduled.",recurringPaymentProcessingFee:"A {{processingFee}} processing fee will be added to the final payment amount.",wantToMakeChanges:"Want to make changes?",paymentDetails:"Payment Details",paymentFrequency:"Payment Frequency",payFullBalance:"Pay Full Balance",payFullBalanceWithMaxAmount:"Pay Full Balance with Max Amount",startingOn:"Starting on {{date}}",paymentAmount:"Payment Amount",paymentMethodLabel:"Payment Method",smsEnrollmentTitle:"Get text reminders when payments are due",smsEnrollmentMessage:"Sign up for SMS notifications to receive payment reminders and important account updates.",smsEnrollmentButton:"Sign Up for SMS Reminders",smsEnrollmentForm:{back:"Back",title:"Sign Up for Payment Reminders",phoneNumberLabel:"Phone Number",phoneNumberPlaceholder:"Please provide your phone number.",phoneNumberRequired:"Phone number is required",phoneNumberInvalid:"Please enter a valid phone number",optInLabel:"Opt in to Payment Reminders",optInDisclaimer:"By opting in, you consent to receive automated payment reminder texts from the organization. Frequency varies. Msg & data rates may apply. You may unsubscribe anytime by logging into your account and disabling text reminders.",submitButton:"Sign Up",submittingButton:"Signing Up...",optInRequired:"Please opt in to receive payment reminders",errorMessage:"Failed to sign up for payment reminders. Please try again."},smsEnrollmentConfirmation:{successMessage:"You have successfully enrolled in payment reminders.",wantToMakeChanges:"Want to make changes?",logInLink:"Log in to Vantaca Home"}},noPayment:{accountBalance:"Account Balance",balanceAsOf:"Balance as of {{ date }}",paymentStatus:"Payment Status",noPaymentNeeded:"No payment is needed at this time.",paymentCompletedOn:"A Payment of {{ amount }} was completed on {{ date }}.",upcomingCharges:"View your upcoming charges.",managePayments:"Manage recurring payments.",logIn:"Log in to Vantaca Home",noRecentPayments:"No recent payments.",activeRecurringPayment:"You have a recurring payment scheduled."},zeroBalance:{setupRecurringPayment:"Set up a Recurring Payment",makeOneTimePayment:"Make a One-time Payment"}},Eg={paynow:"Pay Now",makePayment:"Make a Payment",wizardDescription:"Complete your payment in a few simple steps",description:"Enter the homeowner's account number and your email address to process a secure, one-time payment.",accountNumber:"Account Number",accountNumberRequired:"Account number is required",accountNumberInvalid:"Account number must contain only numbers",email:"Email Address",emailRequired:"Email address is required",emailInvalid:"Please enter a valid email address",zipCode:"Property Zip Code",zipCodeRequired:"Property Zip code is required",zipCodeInvalid:"Property Zip code must be 5 digits",continue:"Continue",zipCodePlaceholder:"Enter 5-digit zip code",emailPlaceholder:"Enter email address",accountPlaceholder:"Enter account number",accountNotFound:"Account not found",paymentProcessing:"Payment processing: Your payment will be assessed directly to the account associated with the account number you provide below. Please ensure you enter the correct account number to avoid any payment delays or c
37omplications.",confirmationProcessing:"Confirmation & Processing Time: A payment confirmation will be sent to the email address you provide. For credit card payments, confirmation is typically sent within minutes. For bank account payments, please allow 3-5 business days for processing and confirmation.",securityPrivacy:"Security & Privacy: This secure payment portal allows you to make payments without creating an account. Your payment information is encrypted and processed through our secure payment system. We do not store your payment details after processing.",makeAnotherPayment:"Make Another Payment",paymentSuccessMessage:"Your one time payment of {{amount}} has been successfully submitted on {{date}}. You can screenshot this page, and a confirmation email will be sent to {{email}} once your payment processes.",largeTransactionFeeDisclaimer:"* All payments over $2,000 will be assessed an additional fee of {{largeAmountFee}}%",needHelp:"Need help? Contact our office during business hours or visit our FAQs section for common payment questions.",paymentSecureAndEncrypted:"Payments are secure & encrypted",selectedAccount:"Selected Ledger",subledgerName:"Ledger Name",associationName:"Association Name",address:"Address",currentBalance:"Current Balance",balanceBlocked:"Balance Blocked",next:"Next",back:"Back",processingFee:"Processing Fee",total:"Total",confirmPayment:"Confirm & Pay",paymentAmount:"Payment Amount",paymentDisclosures:"By clicking Confirm & Pay you consent to the payment conditions for your payment selection as described on the",paymentDisclosuresDescription:"Payment Disclosures",page:"page",paymentDescription:"Your one-time payment of {{ amount }} has been successfully submitted on {{ date }}. A confirmation email will be sent to {{ email }}. Thank you.",recurringPaymentMessage:"Log in and set up a recurring payment and payment text alerts.",logIn:"Log In",step1:{title:"Select Your Ledger",accountSelectLabel:"Select Ledger",selectAccountPlaceholder:"Choose a ledger..."},step2:{title:"Payment Method",description:"Payment Method",feeAmount:"A {{amount}} processing fee will be added to the final payment amount.",feeAmountCardType:"A {{amount}} processing fee will be added to the final payment amount for credit card payments. No such fee will be applied to debit card payments.",viewDisclosures:"View",cancel:"Cancel",paymentDisclosures:"Payment Disclosures",creditCard:"Credit Card",creditCardSubtitle:"Pay with your credit card",bankAccount:"Bank Account",bankAccountSubtitle:"Pay directly from your bank account",paymentMethodNotAvailable:"Payment method not available",paymentMethodNotAvailableDescription:"Your association is not currently accepting the payment methods required to complete this guest payment. Please contact your management company."},step3:{title:"Payment Amount",description:"Enter the amount you would like to pay",paymentAmountLabel:"Enter Payment Amount",invalidAmount:"Please enter a valid amount",amountMustBePositive:"Amount must be greater than $0",amountExceedsBalance:"Amount cannot exceed your current balance",paymentAmountHelp:"Enter the amount you wish to pay on your account",paymentSummaryTitle:"Payment Summary",paymentAmountSummary:"Payment Amount: ${{amount}}",remainingBalance:"Remaining Balance: ${{amount}}",continueToReview:"Continue to Review"},step4:{title:"Confirm Payment"}},Cg={"Credit Distribution":"Credit Distribution","Move Payment":"Move Payment","Payment Return":"Payment Return","Write-off":"Write-off",Adjustment:"Adjustment","Lockbox Check":"Lockbox Check","Credit Card":"Credit Card",eCheck:"Bank Account",Cash:"Cash","In-office Check":"In-office Check","ACH Draft":"ACH Draft","ACH Plan":"ACH Plan",CreditCard:"Credit Card",creditCard:"Credit Card",DebitCard:"Debit Card",debitCard:"Debit Card",Ach:"ACH","Credit Card (VP)":"Credit Card","Debit Card (VP)":"Debit Card","eCheck (VP)":"Bank Account","ACH (VP)":"ACH","Auto-Draft (VP)":"Auto-Draft"},Rg={balance:"your full balance",upTo:" up to {{amount}}"},xg={oneTime:"One-Time Payment",recurring:"Recurring Payment"},Tg={none:"",eCheck:"Bank Account",creditCard:"Credit Card",autoDraft:"Auto-Draft",bankAccountOrAutoDraft:"Bank Account or Auto-Draft",infoPopup:{bankAccount:"Bank Account provides the ability to set up a recurring payment using a bank account for the frequency and amount of your choosing.",autoDraft:"Auto-Draft provides the ability to set up a bank account payment for a variable amount, controlled by your Association, on a monthly basis, and pulling on the date the Association chooses."}},Dg={monthly:"Monthly",quarterly:"Quarterly",semiAnnually:"Semi-Annual",yearly:"Yearly"},Og={checking:"Checking",savings:"Savings"},_g={default:"Card",visa:"Visa",Visa:"Visa",mastercard:"Mastercard",discover:"Discover",amex:"American Express"},kg={description:"Make a payment now. Select your payment method and details below.",blocked:"Payments are blocked for this account",paymentsToThisAccountAreBlocked:"Payments to this account are temporarily blocked.",additionalFeeDisclaimer:"* All payments over $2,000
37will be assessed an additional fee of {{largeAmountFee}}%",paymentSuccess:"Payment Successful",paymentProcessing:"Payment Processing",startMonth:"Start Month",blockedPaymentContact:"Contact your management company for further info.",account:{title:"Account Info",inputLabel:"Select an Account"},paymentType:{title:"Payment Type",inputLabel:"Select a payment type"},autoDraft:{feeDisclosure:"A processing fee will be added to the final payment amount. View <Link>Payment Disclosures</Link>.",bankStored:"Upon submission of your payment details, your bank account will be stored, and on the specified day of the month, your account will be checked for any charges included.",frequency:"Please note that the amount and frequency is configured by your association and you will not be able to modify these details.",feeAmount:"{{fee}} processing fee",helpTip:"Based on settings applied by your Associations, you may need to enroll in these accounts separately.",noAvailable:"No Auto Draft Enrollments Available",charges:{currentMonthChargesOnly:"Includes charges since last month.",allChargesSinceLastDayDraft:"Includes charges since last draft day."},pullDate:"Pull Date: {{date}}",confirmFee:"Amount paid will include a processing fee: {{fee}}",enrollAll:"Enroll All",enrollSelected:"Enroll Selected",enroll:"Enroll",unenroll:"Unenroll","unenroll_screen-reader":"Unenroll from auto draft for account number {{accountNumber}}",select:"Select",unavailable:"Unavailable",accountWithBalance:"Accounts with a balance cannot enroll in Auto-Draft",accounts:"Accounts",subLedgerUnavailable:"Sub-ledger is not available for Auto-Draft"},method:{formSectionTitle:"Payment Method",balanceDue:"Balance Due",blocked:"Blocked Ledger",amountInputLabel:"Payment Amount",notesInputLabel:"Notes",intervalInputLabel:"Payment Frequency",dateInputLabel:"Payment Start Date",oneTimeDateInputLabel:"Payment Date",paymentOptionSelectLabel:"Select a payment method",methodSelectDescription:"Payment Methods",methodSelectLabel:"Payment Method",payFullBalance:"Pay Full Balance",payOtherAmount:"Pay Other Amount",maxAmount:"Maximum Amount (optional)",selectPaymentAmount:"Select Payment Amount",fullBalanceInfo:"This payment method covers the full balance for each occurrence, including all charges such as assessments, fees, and special assessments.",fullBalanceDescription:"This payment method covers the full balance, including all fees and assessments.",maxAmountDescription:"A max amount ensures you are not automatically charged over the amount limit.",addNewPaymentRadioLabel:{default:"Pay with new card",creditCard:"Pay with new credit card",eCheck:"Pay with new account",ach:"Pay with new account"},addNewPaymentMethodLabel:{creditCard:"Add a credit card",debitCard:"Add a credit card",eCheck:"Add an account",ach:"Add an account",default:"Add a payment method"}},convenienceFee:{percentage:"A {{percentage}}% processing fee will be added to the final payment amount.",flatFee:"A {{flatFee}} processing fee will be added to the final payment amount.",disclosure:"View <Link>Payment Disclosures</Link>."},recurringModalView:{fullBalancePercentage:"{{percentage}}% of payment",paymentMethod:"Payment Method",frequency:"Frequency",paymentAmount:"Payment Amount",processingFee:"Processing Fee",account:"Account #",total:"Total",amountVaries:"Amount Varies",reviewRecurringPayment:"Review Recurring Payment",maxAmountDisclaimer:"Youâve set a maximum amount of {{maxAmount}} for this recurring payment. If your balance exceeds this amount, you are responsible for paying the remaining balance.",timeInterval:"{{interval}} starting on {{date}}"},enrollDisclaimer:{monthly:"Once enrolled, automatic payments will be scheduled for the {{day}} of each month. Starting on {{startDate}}. You may modify this date on the <Link>Manage Payments</Link> page.",monthlyV1:"Once you enroll in this recurring payment, subsequent payments will be scheduled for the {{day}} of each month.",quarterly:"Once enrolled, automatic payments will be scheduled for the {{quarterDay}} of every third month. Starting on {{startDate}}. You may modify this date on the <Link>Manage Payments</Link> page.",quarterlyV1:"Once you enroll in this recurring payment, subsequent payments will be scheduled for the {{quarterDay}} of every third month.",semiAnnually:"Once enrolled, automatic payments will be scheduled for the {{day}} of every sixth month. Starting on {{startDate}}. You may modify this date on the <Link>Manage Payments</Link> page.",semiAnnuallyV1:"Once you enroll in this recurring payment, subsequent payments will be scheduled for the {{day}} of every sixth month.",yearly:"Once enrolled, automatic payments will be scheduled for {{month}} {{day}} of each year. Starting on {{startDate}}. You may modify this date on the <Link>Manage Payments</Link> page.",yearlyV1:"Once you enroll in this recurring payment, subsequent payments will be scheduled for {{month}} {{day}} of each year.",edit:"You may modify this date on the <Link>Manage Payments</Link> page."},bankAccountOrAutoDraft:"Bank Account or Auto-Draft?",toolTipMessage:{bankAccountOrAutoDraft:"Bank Account provides the ability to set up a recurring payment using a bank account for the frequency and amount of your choosing. <br><br>Auto-Draft provides the ability to set up a bank account payment for a variable amount, controlled by your Association, on a monthly basis, and pulling on the date the Association chooses.",upcomingCharges:"Upcoming Charges are any charges with a due date in the next 25 days"},submitPaymentConsentMessage:{disclosure:"By clicking {{buttonType}} you consent to the payment conditions for your payment selection as described on the <Link>Payment Disclosure</Link> page."},submit:{oneTime:"Continue",recurring:"Continue"}
37,success:{payment:{creditCard:"Your one-time Credit Card payment of {{amount}} was successfully processed.",debitCard:"Your one-time Debit Card payment of {{amount}} was successfully processed.",eCheck:"Your one-time eCheck payment of {{amount}} was successfully processed."},futurePayment:{creditCard:"Your Credit Card payment of {{amount}} was scheduled.",debitCard:"Your Debit Card payment of {{amount}} was scheduled.",eCheck:"Your eCheck payment of {{amount}} was scheduled.",ach:"Your ACH payment of {{amount}} was scheduled."},recurringPayment:{creditCard:"Your recurring Credit Card payment of {{amount}} was scheduled.",debitCard:"Your recurring Debit Card payment of {{amount}} was scheduled.",eCheck:"Your recurring eCheck payment of {{amount}} was scheduled.",ach:"Your recurring ACH payment of {{amount}} was scheduled."},recurringPaymentFullBalance:{creditCard:"Your recurring Credit Card payment for your full balance was scheduled.",debitCard:"Your recurring Debit Card payment for your full balance was scheduled.",eCheck:"Your recurring eCheck payment for your full balance was scheduled.",ach:"Your recurring ACH payment for your full balance was scheduled."},recurringPaymentFullBalanceWithMax:{creditCard:"Your recurring Credit Card payment for your full balance up to {{amount}} was scheduled.",debitCard:"Your recurring Debit Card payment for your full balance up to {{amount}} was scheduled.",eCheck:"Your recurring eCheck payment for your full balance up to {{amount}} was scheduled.",ach:"Your recurring ACH payment for your full balance up to {{amount}} was scheduled."},autoDraft:"You have successfully enrolled in Auto-Draft.",continue:"Continue"}},Ig={modalTitle:"New Payment",details:{date:"Payment Date",totalAmount:"Payment Amount",amount:"Amount",fee:"Processing Fee",creditCardOnlyNotice:"Please use a credit card to complete your transaction. This payment method does not accept debit or prepaid cards."},submit:"Confirm & Pay",submit_autoDraft:"Confirm & Enroll",next:"Next",cancel:"Cancel",saveToggleLabel:"Save payment method for future use",futurePaymentToggleLabel:"Payment method must be saved for use in future and recurring payments.",explicitConsent:{label:"I agree to the <Link>Terms & Conditions</Link> and authorize {{managementCompany}} to process my payments.",required:"Please agree to the Terms & Conditions to continue."}},Lg={submit:"Continue",cancel:"Cancel",modalTitle:"Duplicate Payment Warning",accordionTitle:"Potential Duplicates",modalContent:{oneTime:"A payment has been submitted in the past 12 hours.<hr />This payment may not yet be reflected on your ledger or balance, but it has been received.<hr />Do you wish to continue with another payment?",scheduled:"A payment has been scheduled for the provided date.<hr />Do you wish to continue with another payment?",recurring:"A payment has been scheduled for the provided date.<hr />Do you wish to continue with another payment?"}},Mg={modalTitle:"New Payment Method",submit:"Continue",cancel:"Cancel",clientError:"An error occurred, no client secret was provided.",loading:"Loading payment fields..."},Ng={recurring:"You have a recurring {{paymentMethod}} payment for {{amount}} scheduled for {{nextPaymentDate}}",oneTime:"You have a one time {{paymentMethod}} payment for {{amount}} scheduled for {{nextPaymentDate}}",autoDraft:"You have an Auto-Draft payment scheduled for {{nextPaymentDate}}"},Fg={title:"Recurring Payments",edit:"Edit",notePrefix:"Note",noRecurringPayments:"No recurring payments scheduled.",start:"Start: {{date}} {{amount}} {{interval}}",modal:{title:"Edit Recurring Payment {{accountNumber}} - {{address}} | {{associationName}}",content:"Make changes to your recurring payment amount, frequency or payment pull date. Changes to your saved payment method will require you to remove this recurring payment schedule and schedule another recurring payment with the updated payment details.",submitText:"Update",removeText:"Remove Payment"},confirmDelete:{title:"Delete Recurring Payment {{accountNumber}} - {{address}} | {{associationName}}",content:"Are you sure you want to remove this recurring payment? This action cannot be undone."}},Bg={confirmDelete:{title:"Unenroll from Auto-Draft {{accountNumber}} - {{address}} | {{associationName}}",content:"Are you sure you want to unenroll this account from Auto-Draft? This action cannot be undone.",submit:"Unenroll",cancel:"Cancel"},modal:{content:"Make changes to your Auto-Draft payment method.",title:"Edit Auto-Draft {{accountNumber}} - {{address}} | {{associationName}}"},unenroll:{title:"Unenroll Auto-Draft",content:"Are you sure you want to unenroll this account from Auto-Draft? This action cannot be undone.",submit:"Unenroll",cancel:"Cancel"},legacyEnroll:{title:"Enroll Auto-Draft",startMonth:"Start Month",accountType:"Account Type",bankRoutingNumber:"Bank Routing Number",bankName:"Bank Name",bankAccountNumber:"Bank Account Number",confirmAccountNumber:"Confirm Account Number",authorizationText:"I hereby authorize my association to debit the identified account for the amount indicated above. Likewise, I authorize my financial institution to accept this debit and charge it to my account. If the transaction is established as recurring in nature, I authorize future occurrences until I rescind this authorization. I agree that the ACH transaction I authorize complies with all applicable laws.",eSignature:"eSignature",confirmAccountMatchError:"Account numbers must match.",routingNumberRequired:"Bank Routing Number is required.",routingNumberPattern:"Routing number must be 9 digits.",bankNameRequired:"Bank Name is required.",accountNumberRequired:"Bank Account Number is required.",confirmAccountNumberRequired:"Confirm Account Number is required.",submit:"Enroll",remove:"Remove",cancel:"Cancel"}},jg={title:"Scheduled One-Time Payments",edit:"Edit",noScheduledPayments:"No one-time payments scheduled.",modal:{title:"Edit One-Time Payment {{accountNumber}} - {{address}} | {{associationName}}",content:"Make changes to your one-time payment amount or scheduled date. Changes to your saved payment method will require you to remove this one-time payment and schedule another one-time payment with the updated payment details.",submitText:"Update",removeText:"Remove Payment"},confirmDelete:{title:"Delete One-Time Payment {{accountNumber}} - {{address}} | {{associationName}}",content:"Are you sure you want to remove this one-time payment? This action cannot be undone."}},Ug={amountInputLabel:"Amount",intervalInputLabel:"Payment Frequency",dateInputLabel:"Next Payment Date",paymentMethodInputLabel:"Select a payment method",maxAmountInputLabel:"Maximum Amou
37nt",payFullBalance:"Pay Full Balance"},qg={amountInputLabel:"Amount",dateInputLabel:"Next Payment Date"},Hg={description:"Manage your saved payment methods, recurring payments, and scheduled one-time payments.<br><br> <i>Adding a new saved payment method can be done on the Make a Payment page, or while making a payment.</i>",savedPaymentMethods:"Saved Payment Methods",creditCards:"Credit Cards",accounts:"Accounts",savedCards:"Saved Credit Cards",savedBankAccounts:"Saved Accounts",expiration:"{{name}} Exp: {{date}}",remove:"Remove",modal:{title:"Remove Payment Method","title_with-payments":"Remove Saved Payment and Deactivate Future Payment",submitText:"Confirm",content:"Are you sure you want to remove this payment method? This action cannot be undone.","content_with-payments":"This payment method is tied to an active recurring payment or a future scheduled payment. Removing this payment method will deactivate those payments as well. This action cannot be undone."}},Vg={manageDuplicate:"Seeing duplicate payments?<br /> Visit the <Link>Support Page</Link> for details.",managePayment:"Manage saved and recurring payments",managePaymentShort:"Manage Payments",manageYourPayments:"Manage Your Payments",manageYourPaymentsDescription:"Manage your saved payment methods, recurring payments, and scheduled one-time payments.",makePayment:"Make new payment <Link>here</Link>"},$g=JSON.parse(`{"documentTitle":"Vantaca Pay Payment Terms and Conditions","header":{"section1":"1. Acceptance of Terms","section2":"2. Payment Authorization","section3":"3. Types of Transfers Available","section4":"4. Fees and Costs","section5":"5. Consumer Rights Under the Electronic Fund Transfer Act (EFTA) / Regulation E","section6":"6. Error Resolution Procedures","section7":"7. Contact Information for Unauthorized Transfers and Errors","section8":"8. Returned Payments and Insufficient Funds","section9":"9. Rescission of Authorization","section10":"10. Third-Party Payment Processor","section11":"11. Amendments","section12":"12. Limitation of Liability; Disclaimer of Consequential Damages","section13":"13. Governing Law"},"body":{"1_1":"1.1. Agreement to Terms. These Vantaca Pay Payment Terms and Conditions (\\"Terms\\") govern your use of the Vantaca Pay payment portal and any related payment services, tools, applications, mobile interfaces, APIs, or other payment-related features or functionality offered by Vantaca from time to time (collectively, the \\"Payment Portal\\") to make electronic fund transfers or other payments for assessments, fees, charges, fines, or any other amounts owed to or collected by your homeowners association, community association, condominium association, cooperative housing corporation, property management company, or any other entity using the Vantaca platform to collect or manage payments (your \\"Association\\"). The Payment Portal is operated by Vantaca, LLC (\\"Vantaca,\\" \\"we,\\" \\"us,\\" or \\"our\\"). Vantaca reserves the right to expand, modify, suspend, or discontinue any aspect of the Payment Portal or related services at any time.","1_2":"1.2. Mandatory Acceptance. You must affirmatively accept these Terms before making payment through the Payment Portal. By checking the acceptance box and clicking \\"Submit Payment,\\" you confirm that you have read, understand, and agree to be bound by these Terms.","1_3":"1.3. Use Constitutes Agreement. Your continued use of the Payment Portal after accepting these Terms constitutes your ongoing agreement to these Terms as they may be amended from time to time.","2_1":"2.1. One-Time Payment Authorization. By submitting a one-time payment through the Payment Portal, you authorize Vantaca (through its payment processor) to initiate a single electronic debit from the bank account you designate, or a single charge to the payment card you designate, for the amount you specify.","2_2":"2.2. Recurring/Preauthorized Payment (AutoPay) Authorization. By enrolling in AutoPay, you authorize Vantaca (through its payment processor) to initiate recurring electronic debits from your designated bank account or recurring charges to your designated payment card according to the payment schedule you select (e.g., monthly, quarterly). This authorization will remain in full force and effect until you cancel it as described
37in Section 9 below.","2_3":"2.3. ACH Debit Authorization. For payments made via Automated Clearing House (\\"ACH\\") transfer, you authorize as follows: (a) I hereby authorize my Association to debit the identified account for the amount indicated. (b) I authorize my financial institution to accept this debit and charge it to my account. (c) If the transaction is established as recurring in nature, I authorize future occurrences until I rescind this authorization in accordance with Section 9 of these Terms. (d) I understand that this authorization will remain in effect until I notify Vantaca in writing that I wish to revoke it, and I allow Vantaca and my financial institution a reasonable opportunity to act on my revocation request.","2_4":"2.4. Financial Institution Authorization. You authorize your bank, credit union, or other financial institution to honor all debits and charges initiated by Vantaca (through its payment processor) in accordance with your payment instructions. You agree to maintain sufficient funds in your designated account to cover all scheduled payments.","2_5":"2.5. Representations and Warranties of Payer. By making a payment through the Payment Portal, you represent and warrant that: (a) You are the legal owner of the bank account or payment card you designate, or you have the legal authority to authorize debits or charges to such account or card. (b) The account information you provide is accurate and complete. (c) You have the legal capacity to enter into these Terms. (d) The amounts you pay are legitimately owed to your Association.","3_1":"3.1. Available Payment Methods. You may use the Payment Portal to make the following types of electronic fund transfers: (a) One-Time Payments: (i) ACH debit from your checking or savings account (ii) Debit card payment (iii) Credit card payment (where permitted by your Association) (b) Recurring/Preauthorized Payments (AutoPay): (i) Scheduled automatic ACH debits from your checking or savings account (ii) Scheduled automatic debit or credit card charges","3_2":"3.2. Transaction Limits. Transaction limits may apply to electronic fund transfers through the Payment Portal and may vary by payment method. Applicable limits may be communicated to you where available, at our discretion. We may impose, modify, or remove transaction limits at any time, in our sole discretion, without prior notice to you. We reserve the right, in our sole discretion, to decline any transaction that exceeds applicable limits, that we deem suspicious, high-risk, or potentially fraudulent, or for any other reason.","4_1":"4.1. Fee Schedule. Fees may apply to your use of the Payment Portal depending on the payment method you select and the applicable established fee structure. The specific fee amount applicable to each transaction will be clearly disclosed to you before you authorize payment, and you may cancel before any fee is charged. Contact your Association or property management company for information about the fee structure applicable to your account.","4_2":"4.2. Fee Disclosure. All applicable fees will be clearly displayed to you before you authorize each transaction. You will have the opportunity to review the total amount (including any fees) and cancel the transaction before any fee is charged. No payment will be processed until you confirm your authorization after reviewing the disclosed fees. For variable-amount recurring payments, including Pay Full Balance AutoPay where the transfer amount is not known at the time of enrollment, the applicable fee will be calculated based on the actual transfer amount at the time of processing and may include a variable component (such as a percentage of the transfer amount) in addition to any flat transaction fee; the fee formula is set forth in the applicable fee schedule. By enrolling in variable-amount AutoPay, you acknowledge and accept that the exact fee amount will not be known until the transfer is processed.","4_3":"4.3. Non-Refundable Fees. Transaction fees are generally non-refundable once a payment has been processed, except as required by law.","5_1":"5.1. The following disclosures are provided in accordance with the Electronic Fund Transfer Act (15 U.S.C. § 1693 et seq.) and Regulation E (12 C.F.R. Part 1005).","5_2":"5.2. Right to Receive Documentation. Vantaca may
37send an electronic receipt by email confirming a transaction where you have opted in to receive email confirmations or where Vantaca elects to do so in its discretion. You may also view your payment history in the Payment Portal. Upon your enrollment in AutoPay, Vantaca will use commercially reasonable efforts to send an email confirmation to your address on file containing a copy of your recurring payment authorization terms, including the designated payment method, the applicable payment schedule, and the basis for calculating each transfer amount; you should retain this confirmation for your records. Vantaca's obligation under this Section is satisfied upon transmission of the confirmation email to the address you have provided, and Vantaca shall not be liable for non-receipt resulting from an incorrect or inactive email address.","5_3":"5.3. Preauthorized Transfer Notices (Varying Amounts). If you enroll in AutoPay and your recurring payments may vary in amount, you have the right to receive notice at least 10 days before each payment is debited, informing you of the date and amount of the transfer. Your Association or property management company is responsible for providing this notice under applicable law. Contact your Association for questions regarding this notice requirement.","5_4":"5.4. Right to Stop Payment on Preauthorized Transfers. If you have authorized recurring payments (AutoPay), you have the right to stop any of these payments. Here is how to stop a payment: (a) Notify us at least three (3) business days before the scheduled payment date. You may notify us by emailing us at [email protected]. (b) When you contact us, provide your name, your account number or property address, the exact amount of the transfer you wish to stop (if known), and the scheduled date of the transfer. (c) All stop payment requests must be submitted in writing. Vantaca will process stop payment requests upon receipt during normal business hours. (d) If you order us to stop a preauthorized payment at least three (3) business days before the scheduled date, and we do not do so, we will be liable for your losses or damages as provided by law.","5_5":"5.5. Your Liability for Unauthorized Transfers. If you believe your Payment Portal credentials have been lost, stolen, or compromised, or if someone has accessed or may access your Payment Portal account without your authorization, notify Vantaca at once so we can suspend your portal access and prevent future unauthorized debits. Your liability for unauthorized transfers may depend on how quickly you notify us of the compromise. Additionally, if any unauthorized transfer has already been processed from your bank account or charged to your payment card, you must immediately contact your bank, credit union, or card issuer to report the unauthorized transaction; your financial institution (not Vantaca) is responsible for investigating unauthorized transactions, issuing provisional credits, and reversing unauthorized debits under applicable law. Vantaca\\"s responsibility upon receiving timely notice is limited to suspending your Payment Portal access; Vantaca is not responsible for reversing or reimbursing any unauthorized transactions that were processed before we received your notice. The following liability thresholds are established by federal law and govern your potential exposure with your financial institution for unauthorized transfers. Your ability to limit such exposure depends on how promptly you notify both us (to suspend portal access) and your bank or card issuer (to trigger statutory protections and pursue transaction recovery): If you tell us and your financial institution within two (2) business days after you learn of the loss or theft of your access information, you can lose no more than $50 if someone used your credentials without your permission; this $50 cap is a protection you preserve with your financial institution by timely notification and is not a Vantaca obligation. If you do NOT tell us within two (2) business days after you learn of the loss or theft of your access information, and we can prove we could have stopped someone from using your credentials without your permission if you had told us (by suspending your portal access), you could lose as much as $500 with your financial institution. Vantaca\\"s obligation upon timely notice is limited to suspending your portal access. Also, if your statement shows transfers that you did not make, including those made by card, code, or other means, tell us and your bank or card issuer at once. You should review both your Payment Portal history and your bank or card statements for unauthorized transactions. If you do not tell us within 60 days after the statement was made available to you, you may
37not get back any money you lost after the 60 days from your financial institution if we can prove that we could have stopped someone from taking the money if you had told us in time. If a good reason (such as a long trip or a hospital stay) kept you from telling us, applicable law may provide for extension of these time periods.","5_6":"5.6. Our Liability for Failure to Complete Transfers. If we do not complete a transfer to or from your account on time or in the correct amount according to our agreement with you, we will be liable for your losses or damages. However, there are some exceptions. We will NOT be liable, for instance: (a) If, through no fault of ours, you do not have enough money in your account to make the transfer. (b) If the transfer would go over the credit limit on your overdraft line (if applicable). (c) If the Payment Portal was not working properly and you knew about the breakdown when you started the transfer. (d) If circumstances beyond our control (such as fire, flood, power failure, or computer system failure) prevent the transfer, despite reasonable precautions that we have taken. (e) If your financial institution refuses to honor the debit. (f) If your account has been frozen due to a legal order or dispute. (g) If you have not provided us with complete and accurate account information. (h) There may be other exceptions stated in our agreement with you.","5_7":"5.7. Confidentiality of Account Information. We will disclose information to third parties about your account or the transfers you make: (a) Where it is necessary for completing transfers. (b) To verify the existence and condition of your account for a third party, such as a credit bureau or merchant. (c) To comply with government agency or court orders. (d) To our service providers and payment processors who assist us in providing the Payment Portal. (e) If you give us your written permission. (f) As otherwise permitted or required by law.","6_1":"6.1. In Case of Errors or Questions About Your Electronic Transfers: (a) Contact us at [email protected] or write to us at Vantaca, LLC, 7040 Wrightsville Ave, Wilmington, NC 28403 as soon as you can if you think your statement or receipt is wrong or if you need more information about a transfer listed on the statement or receipt. We must hear from you no later than 60 days after we sent the first statement on which the problem or error appeared.","6_2":"6.2. Information to Provide. When you contact us, please tell us: (a) Your name and account number (or property address). (b) Describe the error or the transfer you are unsure about and explain as clearly as you can why you believe it is an error or why you need more information. (c) The dollar amount of the suspected error.","6_3":"6.3. Written Confirmation. If you tell us orally, we may require that you send us your complaint or question in writing within 10 business days.","6_4":"6.4. Investigation Timeline. We will determine whether an error occurred within 10 business days after we hear from you and will correct any error promptly. If we need more time, however, we may take up to 45 days to investigate your complaint or question. If we decide to do this, we will credit your account within 10 business days for the amount you think is in error, so that you will have the use of the money during the time it takes us to complete our investigation. If we ask you to put your complaint or question in writing and we do not receive it within 10 business days, we may not credit your account.","6_5":"6.5. New Accounts. For errors involving new accounts (first 30 days after the first deposit), we may take up to 20 business days to credit your account for the amount you think is in error, and up to 90 days to complete our investigation.","6_6":"6.6. Results of Investigation. We will tell you the results within three (3) business days after completing our investigation. If we decide that there was no error, we will send you a written explanation. You may ask for copies of the documents that we used in our investigation.","7_1":"7.1. If you believe an unauthorized transfer has been made using your account information, or if you believe there is an error in your transaction, contact us IMMEDIATELY: Vantaca Pay Email: [email protected] Mailing Address: Vantaca, LLC, Attn: Vantaca Pay, 7040 Wrightsville Ave, Wilmington, NC 28403 Business Days: Our business days are Monday through Friday, excluding federal holidays. Business Hours: 9:00 AM to 5:00 PM Eastern Time","8_1":"8.1. Returned Payments. If an ACH payment is returned by your financial institution for any reason (including insufficient funds, account closed, or stop payment), Vantaca may re-present the payment as permitted by law, and you remain responsible for the full underlying amount owed to your Association. Your Association may assess fees, penalties, late charges, or other consequences for returned payments in accordance with its governing documents and applicable law; Vantaca bears no responsibility for any such assessments. Vantaca shall not be liable for any fees, charges, penalties, or other consequences imposed by your Association or your financial institution in connection with a returned payment.","8_2":"8.2. Re-Presentment. We may re-present a returned ACH payment up to two (2) additional times.","8_3":"8.3. Continuing Responsibility. You remain responsible for the original payment amount plus any applicable returned payment fees. Your Association may pursue collection of unpaid amounts in accordance with your governing documents and applicable law.","9_1":"9.1. How to Cancel AutoPay. You may cancel your AutoPay enrollment at any time by using any of the following methods, or by contacting your Association directly. Vantaca is not responsible for any delay or failure in processing a cancellation request submitted through an Association: (a) Online Cancellation: Log in to your Payment Portal account and cancel or modify your AutoPay enrollment at least three (3) business days before the next scheduled payment date. (b) Email Cancellation: Send an email to [email protected] at least three (3) business days before the next scheduled payment date. Cancellation requests submitted by email are not effective until Vantaca confirms receipt in writing. Vantaca is not responsible for cancellation requests that are not received, are sent to an incorrect email address, or are submitted outside of normal business hours (which may delay processing). (c) Support Portal Cancellation: Submit a cancellation request through our online support portal at least three (3) business days before the next scheduled payment date. Vantaca will process cancellation requests upon receipt during normal business hours. (d) Written Cancellation: Send written notice to Vantaca, LLC, 7040 Wrightsville Ave, Wilmington, NC 28403, allowing sufficient time for us to receive your notice at least three (3) business days before the next scheduled payment date.","9_2":"9.2. Effect of Cancellation. Cancellation of your AutoPay enrollment does not cancel any payment that has already been initiated or is scheduled to occur within three (3) business days of your cancellation request. Cancellation does not affect your obligation to pay amounts owed to your Association.","9_3":"9.3. Confirmation. We will send you a confirmation of your cancellation request. If you do not receive confirmation within five (5) business days, please contact us to verify that your cancellation was processed.","10_1":"10.1. Third-Party Payment Processor. Payment processing services for the Payment Portal are provided by one or more third-party payment processors engaged by Vantaca from time to time. By using the Payment Portal, you acknowledge that your payment transactions will be processed by Vantaca's designated third-party payment processor. Vantaca may change its payment processor at any time, in its sole discretion, without notice to you.","10_2":"10.2. No Responsibility for Third-Party Payment Processor. Vantaca is not responsible for any acts, omissions, errors, or failures of a third-party payment processor or its services, except to the extent otherwise required by the Electronic Fund Transfer Act or Regulation E.","11_1":"11.1. Right to Amend. We may amend these Terms at any time. If we make a material change to these Terms that adversely affects your rights, we will provide you with at least 21 days' advance written notice before the change takes effect, unless a shorter notice period is permitted by law.","11_2":"11.2. Acceptance of Amendments. Your continued use of the Payment Portal after the effective date of any amendment constitutes your acceptance of the amended Terms. If you do not agree to an amendment, you must stop using the Payment Portal before the effective date.","12_1":"12.1. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, VANTACA SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES ARISING OUT OF OR RELATED TO YOUR USE OF THE PAYMENT PORTAL, INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF PROFITS, GOODWILL, USE, DATA, OR OTHER INTANGIBLE LOSSES, EVEN IF VANTACA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.","12_2":"12.2. PRESERVATION OF CONSUMER RIGHTS. NOTHING IN THESE TERMS LIMITS ANY RIGHTS YOU MAY HAVE UNDER THE ELECTRONIC FUND TRANSFER ACT, REGULATION E, OR OTHER APPLICABLE CONSUMER PROTECTION LAWS THAT CANNOT BE WAIVED OR LIMITED BY AGREEMENT.","13_1":"13.1. Applicable Law. These Terms shall be governed by and construed in accordance with the laws of the State of North Carolina, without regard to its conflict of laws principles. Any dispute, claim, or proceeding arising out of or relating to these Terms or the Payment Portal shall be brought exclusively in the state or federal courts located in New Hanover County, North Carolina, and no other forum. By using the Payment Portal, you irrevocably consent to the exclusive personal jurisdiction and venue of such courts and waive any objection to jurisdiction or venue in such courts, including any objection based on forum non conveniens or any other doctrine. JURY TRIAL WAIVER: TO THE FULLEST EXTENT PERMITTED BY LAW, EACH PARTY IRREVOCABLY WAIVES ANY RIGHT TO A TRIAL BY JURY IN ANY ACTION, PROCEEDING, OR CLAIM ARISING OUT OF OR RELATING TO THESE TERMS OR THE PAYMENT PORTAL."},"sectionOrder":[{"headerKey":"section1","bodyKeys":["1_1","1_2","1_3"]},{"headerKey":"section2","bodyKeys":["2_1","2_2","2_3","2_4","2_5"]},{"headerKey":"section3","bodyKeys":["3_1","3_2"]},{"headerKey":"section4","bodyKeys":["4_1","4_2","4_3"]},{"headerKey":"section5","bodyKeys":["5_1","5_2","5_3","5_4","5_5","5_6","5_7"]},{"headerKey":"section6","bodyKeys":["6_1","6_2","6_3","6_4","6_5","6_6"]},{"headerKey":"section7","bodyKeys":["7_1"]},{"headerKey":"section8","bodyKeys":["8_1","8_2","8_3"]},{"headerKey":"section9","bodyKeys":["9_1","9_2","9_3"]},{"headerKey":"section10","bodyKeys":["10_1","10_2"]},{"headerKey":"section11","bodyKeys":["11_1","11_2"]},{"headerKey":"section12","bodyKeys":["12_1","12_2"]},{"headerKey":"section13","bodyKeys":["13_1"]}],"makePayment":"Make new payment <Link>here</Link>"}`),zg={title:"Payment FAQs and Help",button:"Help",description:"Can't find the help you need from the questions above? Go to our <a>Help Center</a> for more resources or to speak with our support team. Be sure to have the following information available when you reach out.",returnToBilling:"Return to Billing",makePayment:"Make new payment <Link>here</Link>",faq:{duplicate:{title:"How do I correct a duplicate payment?",content:"A duplicate payment could be the result of multiple payment requests within a short period of time or multiple recurring payments being configured.<br><br> You can dispute a duplicate payment with your bank, however, this will prevent the payment method from being used with Vantaca Pay until you delete and re-enter your information. <i>There may be a fee associated with the bank dispute</i>.<br><br><b>Action to Correct</b><br><br> <ul><li>A duplicate payment can be refunded by your management company, so that future payments and methods are not impacted.</li><li>A refund can be requested in one of two ways: <ol><li>In the Homeowner Portal, go to My Items > Submit a Request > General Request > Billing Question</li><li>Contact your management company and speak to a representative.</li></ol></li></ul><br><b>Ways to Prevent Duplicate Payments in the Future</b><br><br><ul><li>Refresh the payments page upon payment submission to ensure that the initial payment request was received before making any subsequent payments.</li><li>Ensure there are not multiple recurring payments configured for the same day and time on the <b>View and Manage Recurring Payments</b> page.</li></ul>"},balance:{title:"Where do I find my balance?",content:"The balance on your account can be found directly below the <i>Payment Method</i> selection. You will be able to see the Balance due as of today's date, along with any charges in the next 25 days in the <i>Upcoming Charges</i> section."},prePay:{title:"Can I pay an upcoming charge with a $0 balance?",content:"If your account has a $0 Balance, but you are seeing upcoming charges that you would like to pay now, you can submit a payment to be pulled on a future date."},bankAccount:{title:"How can I pay with a Bank Account?",content:"Selecting the <i>Bank Account</i> option under <i>Payment Method</i> will allow you to make a One-Time or Recurring payment using a Bank Account. <i>Saved Payment Methods</i> section will list saved accounts; add a new account by selecting <i>Save for future payments</i> when making a payment. <br><br>Adding a bank account can be done in two ways:<ul><li>Single Sign-On will allow you to securely sign into your bank's site, linking your account to our site through a secure system.</li><li>Enter Details Manually will allow you to enter your Account and Routing numbers into our secure system, storing that data for any future uses.</li></ul>"},viewPayments:{title:"Where can I view my active recurring or scheduled one-time payments?",content:"Navigating to the Manage Saved Payments screen by selecting the <i>Manage saved and recurring payments here</i> link will allow you to see your active recurring or scheduled one-time payments. On this page, you can see the payment method, account information, start date, amount, and frequency of each recurring payment."},changeRecurringPayment:{title:"Can I change payment method on an active recurring or scheduled one-time payment?",content:"You cannot update the payment method on an active recurring or scheduled one-time payment. Updating the Amount, Frequency, and Date of payment is available, however, if you wish to update the payment method, you must remove the active payment and set up a new one."},paymentDue:{title:"When is my payment due?",content:"If your account has a balance upon login, then your balance is due today.<br><br>If your account has a $0 balance, then each upcoming charge will have a due date next to it in the <i>Upcoming Charges</i> dropdown."},multipleAccounts:{title:"How can I make multiple payments to my multiple accounts? ",content:"There are no restrictions on payment amounts. You can make unlimited separate payments within a given day to any of your merged accounts.<br><br>You can switch between accounts by using the dropdown in the <i>Account Info</i> section."},multipleMethods:{title:"Can I pay my balance with multiple cards/methods?",content:"Your Homeowners Association balance can be paid using separate methods if desired. The payment method can be selected under the <i>Payment Method</i> section.<br><br><b>Note:</b> Paying with separate methods could create partial payments. Parti
37al payments will not go towards any charge specifically, instead will be automatically applied based on the settings of your Management Company and Homeowners Association."},paymentApplied:{title:"When is my payment applied to my account?",content:"When you receive the confirmation modal on screen, the charge has successfully been applied to your HoA Account. You may not see this charge reflected on your card or bank account for 2-4 business days, but your payment will not be considered late."},fundsPulled:{title:"When is my payment pulled from my card/bank account?",content:"Payments made to your Homeowner's Association will be charged to your card or bank account 2-4 business days from the authorized payment date."},cancel:{title:"How do I cancel a payment?",content:"You can edit or remove a recurring payment scheduled for a future date by 8:00pm EST on the day before the scheduled date.<br><br>One-Time payments made today cannot be canceled."},lateFees:{title:"Does my Association have a late fee for late payments?",content:"Depending on your Homeowner's Association configuration, you may have a grace period for your assessments, fees, and charges for your account. After this grace period, your payment will be considered late and you may be assessed a Late Fee for an amount determined by your Association.<br><br>If you have any additional questions surrounding late fees and grace periods, please contact your Management Company directly."}},account:{number:"Account Number",company:"Management Company",name:"First and Last Name",association:"Community Name",email:"Primary email address",address:"Property Address"}},Wg={accountOwner:"Account Owner",accountOwnerEmail:"Account Owner Email",accountOwnerPhone:"Account Owner Phone"},Yg={title:"Recent Payments",date:"Payment Date",method:"Payment Method",viewAll:"View All",pending:"Pending",guestPayment:"Guest Payment"},Kg={title:"Upcoming Charges"},Gg={accountBalance:"Account Balance",allAccounts:"All Accounts",dueOn:"Next Assessment",accountNumber:"Account #",autoDraft:"Auto-Draft",enroll:"Enroll",enrolled:"Enrolled",edit:"edit",accountActivity:"Account Activity",accountHistory:"All Account History",statement:"Statement",date:"Date",description:"Description",amount:"Amount",balance:"Balance",payment:"Payment",dues:"Dues",noRecord:"No Record",hideActivity:"Hide Account Activity",showActivity:"Show Account Activity",modalTitle:"Download Statement",providerModalTitle:"Payment Methods",modalCancelButton:"Cancel",modalDownloadButton:"Download",associationSelectLabel:"Association",accountSelectLabel:"Account",statementTypeOptions:{transactionHistory:"Transaction History",statementWithCoupons:"Statement (Includes Coupon)",statementWithFutureCharges:"Statement w/ Future Charges (Includes Coupon)",statementWithChargeSummary:"Statement (Charge Summary)"},durationOptions:{last30Days:"Last 30 Days",last60Days:"Last 60 Days",yearToDate:"YTD",lastCalendarYear:"Last Calendar Year",fullHistory:"Full History"},statementTypeSelectLabel:"Type",durationSelectLabel:"Duration",makeAPayment:"Make a Payment",amountLabel:"Amount:",balanceLabel:"Balance:",noDataToDisplay:"There is no data to display.",allDates:"All Dates",last30Days:"Last 30 Days",last60Days:"Last 60 Days",lastYear:"Last Year"},Qg={accountBalance:"Account Balance",dueOn:"Due On",accountNumber:"Account #",autoDraft:"Auto-Draft",enroll:"Enroll Now",enrolled:"Enrolled",edit:"edit",accountActivity:"Account Activity",accountHistory:"All Account History",statement:"Statement",date:"Date",description:"Description",amount:"Amount",balance:"Balance",payment:"Payment",dues:"Dues",noRecord:"No Record",hideActivity:"Hide Account Activity",showActivity:"Show Account Activity"},Jg={blocked:"Blocked",blockedLedger:"Blocked Ledger",contactManagementCompany:"Contact your management company for further notice."},Xg={title:"Payment Method Unavailable",content:{autoDraft:"This payment method is currently unavailable. Please retry your payment later, or submit a Card Payment. We apologize for the inconvenience.",eCheck:"This payment method is currently unavailable. Please retry your payment later, or submit a Card Payment. We apologize for the inconvenience.",creditCard:"This payment method is currently unavailable. Please retry your payment later, or submit a Bank Payment. We apologize for the inconvenience.",debitCard:"This payment method is currently unavailable. Please retry your payment later, or submit a Bank Payment. We apologize for the inconvenience.",default:"This payment method is currently unavailable. Please retry your payment later, or use a different payment method. We apologize for the inconvenience."}},Zg={loadingPaymentInfo:"Loading Payment Info...",paymentsDisabled:"Payments are disabled for this account",continueToPaymentProviderMessage:"To make a payment for account <AccountName/>, please click the button below. You will be navigated to <Provi
37derName/> to complete the payment.",continueToPaymentProvider:"Continue to {{providerName}}"},ev={autoPay:"AutoPay",enrolled:"Enrolled",notEnrolled:"Not Enrolled",previousAccount:"Previous account",nextAccount:"Next account",viewAccount:"View Account",ledgerOf:"Ledger",of:"of",accountDetails:"Account Details",accountBalanceTooltip:"The balance on your account can be found directly below the Payment Method selection. You will be able to see the Balance due as of today's date, along with any charges in the next 25 days in the Upcoming Charges section."},tv={errorExpiredLink:"This payment link has expired or is invalid.",errorAuthenticating:"An error occurred while authenticating.",errorCreatingPayment:"An error occurred while creating payment.",errorLoadingAccount:"An error occurred while loading account.",loadingHeadline:"Thank you for your patience.",loadingBody:"We are gathering your account information for a seamless payment experience."},nv={title:"Payment Link Expired",body:"This payment link is no longer valid. Payment links expire for security.",instruction:"To make a payment, log into your account.",button:"Log In",logoLoading:"Loading logo"},rv={loading:"Loading...",confirmTitle:"Are you sure you want to unsubscribe?",confirmYes:"Yes, unsubscribe",confirmNo:"No",declinedMessage:"No changes made.",confirmFailed:"Something went wrong. Please try again.",successTitle:"Unsubscribed.",successBody:"Your request to unsubscribe has been accepted and will take effect shortly.",invalidBody:"Something went wrong. Please try again."},av={intro:{managementCompany:"{{managementCompany}}",headline:"Pay Your HOA without Writing a Single Check",greeting:"Dear Homeowner,",body1:"Because you've paid by check before, we can securely set you up to pay with a digital E-Check in just a few clicks.",body2:"There's nothing new to enter or set up.",benefitsHeading:"Switch to digital payments and enjoy these benefits:",benefits:{0:"No stamps, envelopes, or trips to the mailbox",1:"Payments are confirmed instantly â no waiting for checks to clear",2:"Your bank information is protected with bank-level encryption",3:"Set it up once with AutoPay and never think about it again"},reviewNote:"You'll review everything before a single dollar moves. Your approval is required at every step.",cta:"Set Up Digital Payments",footer:{copyright:"© 2026 {{managementCompany}}",emailNote:"This email was sent to [resident.email.address]. We respect your privacy. Please review our privacy policy. If you think this email was sent in error or you'd like to change how you receive your notifications, please visit our preference center.",unsubscribe:"Unsubscribe",privacyPolicy:"Privacy Policy"}},summary:{bankDetailsNotice:"Using the same bank details from your recent check (ending in {{last4}}), you can set up digital paymentsâno need to re-enter anything.",totalAmountDueLabel:"Total Amount Due",totalAmountDueAsOf:"as of {{ date }}",title:"AutoPay Setup",titleEnrollment:"AutoPay Enrollment",amountLabel:"Amount",amountValuePayFullBalance:"Pay Full Balance",amountValueIfNoBalance:`If there is no balance, 38no charge will be attempted`,frequency:"Frequency",frequencyMonthly:"Monthly - Starting {{date}}",frequencyMonthlyNoDate:"Monthly",fee:"Processing Fee",feeFlat:"{{amount}}",feeRate:"{{percentage}}%",paymentMethod:"Payment Method",paymentMethodWithBank:"{{bankName}} *{{last4}}",paymentMethodNoBank:"â¢â¢â¢â¢ {{last4}}",total:"Total:",totalRecurring:"Amount Varies",infoBlock:{title:"AutoPay Details",frequencyLabel:"Frequency:",frequencyValue:"Monthly, on the due date",amountLabel:"Amount:",amountValue:"Pay Full Balance",amountSubtext:"Note: If there is no balance, no charge will be attempted"}},redesign:{title:"Turn On AutoPay",subtitle:"Confirm the details below â pay automatically and never miss a due date.",balanceLabel:"Current Balance",autopay:{badge:"AutoPay",tagline:"Pays your full balance on all scheduled due dates.",taglineMonthly:"Monthly · pays your full balance on the due date"},paymentMethod:{label:"Payment Method",addedFromCheck:"Added from your most recent check",bankRow:"{{bankName}} *** {{last4}}",change:"Change",done:"Done",saving:"Savingâ¦",useDifferentBank:"Use a different bank account",addedFromSavedMethods:"Added from your saved payment methods",payWithBankAccount:"Pay with Bank Account",newBankAccount:"New bank account",payWithCreditCard:"Pay with credit card",payWithCardOrWallet:"Pay with Credit Card or Wallet",useDifferentCardOrWallet:"Use a different Credit Card or Wallet",useDifferentBankAccount:"Use a different Bank Account",creditCard:"Credit Card",enterManually:"Enter bank details manually instead",enterBankDetail
38s:"Enter bank details",email:"Email",fullName:"Full Name",searchBank:"Search Bank",searchBankPlaceholder:"Search your bank",routingNumber:"Routing number",accountNumber:"Account number",confirmAccountNumber:"Confirm account number",card:"Card"},startDateLabel:"Payment Start Date:",startDateWhenDue:"When your next balance is due",paidUpBanner:{title:"You're all paid up â nothing is due right now.",body:"Enrolling in AutoPay will ensure that the next time a balance is due, it is paid for you automatically. You will never be charged unless you have a balance on the due date."},todaysPayment:{title:"Today's Payment",currentBalance:"Current Balance",processingFee:"Processing Fee",totalPayment:"Total Payment",confirmedAtCheckout:"Confirmed at checkout"},oneTimeLink:{prompt:"Just need to pay once?",action:"Make a one-time payment"},ctas:{enroll:"Enroll in AutoPay",makePaymentAndEnroll:"Pay Balance Now & Enroll in AutoPay",confirmAndPay:"Confirm & Pay",tryAgain:"Try again"},oneTime:{back:"Back",title:"Make a Payment",subtitle:"Pay your HOA dues now â no enrollment required.",amountLabel:"Payment Amount"},alreadyEnrolled:{title:"AutoPay is active",body:"AutoPay is already active for this account.",bodyWithBalance:"If needed, you can make a one-time payment below.",adjustPrompt:"Want to adjust your AutoPay settings?",adjustAction:"Login to your account",logIn:"Log In"},confirmation:{autopay:{title:"You're Enrolled!",subtitle:"AutoPay is now active. Your payments will be processed automatically. You no longer need to send a check to make your payment.",paymentMethod:"Payment Method",firstPayment:"AutoPay Start Date",frequencyAmount:"Frequency & Amount",frequencyAmountValue:`Full balance 39on the due date`,processingFee:"Processing Fee",detailsTitle:"AutoPay Details",paymentDetailsTitle:"Today's Payment",confirmationNumber:"Confirmation #",currentBalance:"Current Balance",totalPayment:"Total Payment",adjustPrompt:"Want to adjust your AutoPay date?",adjustPromptLogin:"Log in to your account.",logIn:"Log In",done:"Done"},oneTime:{title:"Payment Confirmed",subtitle:"Your one-time payment has been processed.",sectionTitle:"One-Time Payment",paymentMethod:"Payment Method",paymentDate:"Payment Date",processingFee:"Processing Fee",totalPayment:"Total Payment",confirmationNumber:"Confirmation #",makeAnotherPayment:"Make Another Payment"}}},consent:{text:"I have read and agreed to the <Link>Terms & Conditions</Link> and authorize my association to process payments from my bank account.",textBank:"I have read and agreed to the <Link>Terms & Conditions</Link> and authorize {{managementCompany}} to process payments from my bank account. A {{feePercent}} processing fee applies to all bank account transactions.",textCard:"I have read and agreed to the <Link>Terms & Conditions</Link> and authorize {{managementCompany}} to process payments from my credit card. A {{feePercent}} processing fee applies to all credit card transactions. Please use a credit card to complete your transaction. This payment method does not accept debit or prepaid cards.",managementCompanyFallback:"your association",termsLinkText:"Terms & Conditions",mandateVersion:"VP 2.0"},ctas:{enrollInAutoPay:"Enroll in AutoPay",schedulePayments:"Schedule Payments",makeOneTimePayment:"Make a One-Time Payment",tryAgain:"Try again",or:"OR",useDifferentMethod:"Choose a Different Payment Method"},finePrint:{enrollDisclosure:"By clicking Enroll in AutoPay you consent to the payment conditions for your payment selection as described on the <Link>Payment Disclosure</Link> page.",disclosureLinkText:"Payment Disclosure"},securityBadge:{title:"Secure Payment",subtitle:"Encrypted & Secure ⢠PCI compliant"},consentConfirmedAria:"Consent confirmed, ready to enroll",skeleton:{ariaLabel:"Loading your payment info"},error:{InvalidBankDetails:"We couldn't verify your bank details. Please enter them manually.",StripeRiskRejection:"That account couldn't be used. Please try a different payment method.",StripeDecline:"That account couldn't be used. Please try a different payment method.",MandateRequired:"We couldn't process this payment. Please try again.",CustomerNotFound:"We couldn't process this payment. Please try again.",TransientStripeError:"Something went wrong. Please try again.",ExpressPayLinkExpired:"This payment link has expired. Please contact your association.",OcrFailureOnSubmit:"We couldn't read your check details. Please enter your payment info manually.",fallbackFailed:"Something went wrong. Please try logging in again."},confirmation:{title:"Thank You!",messageRecurring:"You have successfully enrolled in automatic payments. Please see the details below.",messageOneTime:"Your payment has been received. Thank y
39ou!",autoPayDetailsTitle:"AutoPay Details",paymentDateLabel:"Payment Date",paymentDateValue:"Monthly, on due dates",amountLabel:"Amount",amountValue:"Pay Full Balance",amountSubtext:"If there is no balance, no charge will be made",loginCta:"Login to Home",paymentComplete:"Payment Complete",paymentSuccessMessage:"A payment of {{amount}} was successfully made.",confirmationNumber:"Confirmation Number",date:"Date",accountNumber:"Account Number",paymentMethod:"Payment Method",amount:"Amount",fee:"Fee",totalAmount:"Total Amount",recurringPaymentScheduled:"Recurring Payment Scheduled.",recurringPaymentScheduledMessage:"Your recurring payment has been successfully scheduled.",paymentDetails:"Payment Details",paymentFrequency:"Payment Frequency",paymentFrequencyValue:"Monthly on scheduled due dates",startingOn:"Starting on {{date}}",paymentAmount:"Payment Amount",payFullBalance:"Pay Full Balance",paymentMethodLabel:"Payment Method",wantToMakeChanges:"Want to make changes?",logIn:"Log in to Vantaca Home"}},ov={cardSummary:"{{brand}} ending in {{last4}}",debitNoSurcharge:"No surcharge for this card type",cardTypeFeeDisclosure:"A processing fee of {{percentage}}% will be applied to credit card payments. No such fee will be applied to debit card payments.",creditSurcharge:"Processing fee: {{amount}}",total:"Total: {{amount}}",payButton:"Pay {{amount}}",editCard:"Use a different card",cardFeePending:"Amount varies by card type entered",totalPending:"Varies by card type entered",feeChanged:"Your processing fee changed before the payment went through. Please review the updated total and confirm again."},sv={expressCheckout:Ag,paynow:Eg,paymentMethods:Cg,amount:Rg,paymentType:xg,paymentMethod:Tg,intervalSchedule:Dg,bankingType:Og,cardType:_g,paymentForm:kg,confirmPayment:Ig,duplicateWarning:Lg,setupPaymentMethod:Mg,scheduled:Ng,manageRecurring:Fg,manageAutoDraft:Bg,manageOneTime:jg,updateRecurring:Ug,updateScheduled:qg,managePayments:Hg,manageActions:Vg,paymentConsent:$g,support:zg,accountDetails:Wg,recentPayments:Yg,upcomingCharges:Kg,accountOverview:Gg,accountHistory:Qg,blockedLedgers:Jg,paymentsDisabled:Xg,instantPayment:Zg,paymentsWidget:ev,expressLayout:tv,expiredLink:nv,unsubscribe:rv,checkPayerEnrollment:av,feeConfirmation:ov},iv={nextStep:"Next Step",selectStep:"Select a step",noteLabel:"Note",notePlaceholder:"Type your message here...",attachments:"Attachments",addAttachment:"Add Attachment",removeAttachment:"Remove {{name}}",cancel:"Cancel",update:"Update",submitting:"Submitting..."},cv={pastDue:"Past due",highImportanceUnread:"High importance unread",badge:{pastDue:"Past Due",important:"Important"}},lv={heading:"{{title}} - {{id}}",previous:"Previous item",next:"Next item",position:"{{current}} of {{total}}"},uv={modal:{approveTitle:"Approve Request",declineTitle:"Decline Request",nextStep:"Next Step",selectStep:"Select a step...",noteLabel:"Message",notePlaceholder:"Add an optional message...",attachments:"Attachments",addAttachment:"Add Attachment",removeAttachment:"Remove attachment {{name}}",cancel:"Cancel",update:"Update",submitting:"Submitting...",noSteps:"No workflow steps are available for this action.",successApprove:"Request approved successfully.",successDecline:"Request declined successfully.",error:"Failed to process request. Please try again."}},dv={arcRequest:"ARC Request",popoverTitle:"{{type}} Request",vote:"Vote",view:"View",voteSuccess:"Your vote has been submitted successfully",voteRetract:"Your vote has been retracted. Please submit a new vote before the deadline.",approved:"Approved",declined:"Declined",approvedCount:"Approved {{count}}",declinedCount:"Declined {{count}}",pendingCount:"Pending {{count}}",approve:"Approve",decline:"Decline",cancel:"Cancel",submit:"Submit",viewAttachment:"View Attachment",viewAttachments:"View Attachments",yes:"Yes",no:"No",close:"Close",homeownerMessage:"Homeowner Request Message",noMessages:"No Messages",boardMessages:"Board Messages",sendMessage:"Send Message",sendAMessage:"Send a Message",messagePlaceholder:"Type your message here...",sendTo:"Send To",toggleImportant:"Toggle important message",noResults:"No Results To Show",approvalOptions:"Approval Options",votesByStatus:"Votes By Completion Status",remaining:"Remaining",approvedARC:"Approved {{type}} request {{edited}}",deniedARC:"Denied {{type}} request {{edited}}",retractedVote:"retracted a vote",editedVote:"edited a vote",activity:"Activity",retract:"Retract",retractMessage:"Are you sure you want to retract your current vote? This action cannot be undone.",editVote:"Edit V
39ote",messageTo:"To: {{names}}",download:"Download",chooseAttachments:"Choose which attachments to download",selectAll:"Select All",modal:{approveTitle:"Approve ARC Request",declineTitle:"Decline ARC Request",noteLabel:"Message",notePlaceholder:"Add an optional message...",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",submit:"Submit",submitting:"Submitting...",successApprove:"Your approval has been submitted successfully.",successDecline:"Your decline has been submitted successfully.",error:"Failed to submit your vote. Please try again."},filters:{myItemsOnly:"My Items Only",allItems:"All Items",myItems:"My Items",includeClosed:"Include Closed","36months":"Last 36 Months",all:"All",loadTimes:"* This option may cause longer loading times."},columns:{dateSubmitted:"Date Submitted"},export:{button:"Export",csv:"Export to CSV",fullHistory:"Export Full History"},downloadAttachments:"Download Attachments",details:{type:"Type",step:"Step",dateSubmitted:"Date Submitted",dueDate:"Due Date",homeowner:"Homeowner",address:"Address",accountNumber:"Account Number"},mobile:{type:"Type",homeowner:"Homeowner",address:"Address",accountNumber:"Account Number",step:"Step"},widget:{description:"{{type}} Review {{index}} of {{length}}",xnId:"XN {{id}}",previousRequest:"Previous {{type}} Request",nextRequest:"Next {{type}} Request",approved:"Approved {{count}}",declined:"Declined {{count}}",pending:"Pending {{count}}"},sendMessaging:{success:"Message sent successfully.",failure:"Message failed to send.",messageRequired:"Message is required.",fieldRequired:"This field is required"}},fv={breadcrumb:"Inspections",inspection:"Inspection",violationId:"XN {{id}}",violationDetails:"Violation Details",violationNotFound:"Violation Not Found",violationNotFoundDescription:"The violation (XN {{id}}) could not be found or you do not have permission to view it.",backToInspections:"Back to Inspections",viewAttachments:"View Attachments",messages:"Messages",noMessages:"No messages found for this violation.",reply:"Reply",replyTitle:"Reply",author:"Author",unknown:"Unknown",sentTo:"Sent To",sendTo:"Send To",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",highImportance:"High Importance",message:"Message",messageRequired:"Message is required",attachments:"Attachments",addFiles:"Add Files",maxFileSize:"Max 25 MB total",fileSizeExceeded:"Total file size exceeds 25 MB limit",sendMessage:"Send Message",sending:"Sending...",cancel:"Cancel",messageSentSuccess:"Message sent successfully",messageSendError:"Failed to send message. Please try again.",viewAttachment:"View Attachment",chooseInspection:"Choose an Inspection",selectInspection:"Select an inspection...",reviewComplete:"Review Complete",printReport:"Print Report",generatingReport:"Generating...",noPermission:"You do not have permission to view inspections.",selectInspectionPrompt:"Select an inspection from the dropdown to view violations.",noViolations:"No violations found for this inspection.",description:"Description",fine:"Fine",view:"View",unknownOwner:"Unknown Owner",fileSize:"{{name}} ({{size}} KB)",messageSaved:"Message saved successfully",messageSaveError:"Failed to save message. Please try again.",followUp:"Follow-up",fineLabel:"Fine: {{amount}}",noAttachment:"No attachment",replyPlaceholder:"Reply message",saving:"Saving...",save:"Save",doubleClickToReply:"Double-click to reply",doubleClickToAdd:"Double-click to add message",associationName:"Association Name",edit:"Edit",reviewCompleteTitle:"Review Complete",reviewCompleteSuccess:"Inspection review completed successfully.",reviewCompleteError:"Failed to complete review. Please try again.",nextStep:"Next Step",selectStep:"Select a step...",followUpDate:"Follow-up Date",noteLabel:"Note",notePlaceholder:"Add an optional note...",addAttachment:"Add Attachment",submitting:"Submitting...",update:"Update"},hv={breadcrumb:"Board Tasks",task:"To-Do",allItems:"All Items",filterByType:"Filter by type",exportFileName:"Board Tasks Action Items",noTasks:"No tasks found.",view:"View",columns:{status:"",itemDetails:"Item Details",attachment:"Attachment",action:"Action",assocCode:"Assoc Code",ownerId:"Owner ID",subject:"Subject",xn:"XN",description:"Description",followUpDate:"Follow Up Date",dueDate:"Due Date",createdDate:"Created Date",lastNoteTime:"Last Note Time"},actions:{view:"View",approve:"Approve",decline:"Decline",sendMessage:"Send Message",message:"Message"},status:{pastDue:"Past due",highImportanceUnread:"High importance unread"},detail:{breadcrumbTitle:"{{type}} â #{{id}}",type:"Type",status:"Status",homeowner:"Homeowner",property:"Property",submitted:"Submitted",notFound:"Item Not Found",notFoundDescription:"The item (XN {{id}}) could not be found or you do not have permission to view it."}},mv={violation:"Violation",tabs:{myItems:"My Items",open:"Open",closed:"Closed"},columns:{xn:"XN",step:"Step",followUpDate:"Follow Up Date",violationType:"Violation Type",itemDetails:"Item Details",description:"Description",dateSubmitted:"Date Submitted",attachment:"Attachment",action:"Action"},view:"View",noPermission:"You do not have permission to view violations.",exportFileName:"Board Violations Action Items",noViolations:"No violations foun
39d.",actions:{approve:"Approve",decline:"Decline",sendMessage:"Send Message",message:"Message"},status:{pastDue:"Past due",highImportanceUnread:"High importance unread"},modal:{approveTitle:"Approve Violation",declineTitle:"Decline Violation",nextStep:"Next Step",selectStep:"Select a step...",noteLabel:"Message",notePlaceholder:"Add an optional message...",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",update:"Update",submitting:"Submitting...",successApprove:"Violation approved successfully.",successDecline:"Violation declined successfully.",error:"Failed to process violation. Please try again.",feeLabel:"Fee: {{amount}}"},detail:{breadcrumb:"Violations",violationId:"XN {{id}}",notFound:"Violation Not Found",notFoundDescription:"The violation (XN {{id}}) could not be found or you do not have permission to view it.",backToViolations:"Back to Violations",viewAttachments:"View Attachments",messages:"Messages",noMessages:"No messages found for this violation.",reply:"Reply",replyTitle:"Reply",author:"Author",unknown:"Unknown",sentTo:"Sent To",sendTo:"Send To",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",highImportance:"High Importance",message:"Message",messageRequired:"Message is required",attachments:"Attachments",addFiles:"Add Files",maxFileSize:"Max 25 MB total",fileSizeExceeded:"Total file size exceeds 25 MB limit",sendMessage:"Send Message",sending:"Sending...",cancel:"Cancel",messageSentSuccess:"Message sent successfully",messageSendError:"Failed to send message. Please try again.",viewAttachment:"View Attachment",fileSize:"{{name}} ({{size}} KB)"},sendMessageModal:{title:"Send a Message",sendTo:"Send To",sendToPlaceholder:"Select recipients...",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",importance:"Importance",normal:"Normal",high:"High",message:"Message",messagePlaceholder:"Type your message here...",messageRequired:"Message is required",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",sending:"Sending...",success:"Message sent successfully.",reopened:"Message sent. The violation was reopened.",error:"Failed to send message. Please try again."}},pv={collection:"Collection",tabs:{myItems:"My Items",open:"Open",closed:"Closed"},columns:{xn:"XN",step:"Step",balance:"Balance",itemDetails:"Item Details",followUpDate:"Follow Up Date",attachment:"Attachment",action:"Action"},view:"View",viewAttachment:"View Attachment",exportFileName:"Board Collections Action Items",noCollections:"No collections found.",actions:{approve:"Approve",decline:"Decline",sendMessage:"Send Message",message:"Message"},status:{pastDue:"Past due",highImportanceUnread:"High importance unread"},modal:{approveTitle:"Approve Collection",declineTitle:"Decline Collection",nextStep:"Next Step",selectStep:"Select a step...",noteLabel:"Message",notePlaceholder:"Add an optional message...",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",update:"Update",submitting:"Submitting...",successApprove:"Collection approved successfully.",successDecline:"Collection declined successfully.",error:"Failed to process collection. Please try again.",feeLabel:"Fee: {{amount}}"},detail:{breadcrumb:"Collections",collectionId:"XN {{id}}",notFound:"Collection Not Found",notFoundDescription:"The collection (XN {{id}}) could not be found or you do not have permission to view it.",backToCollections:"Back to Collections",viewAttachments:"View Attachments",messages:"Messages",noMessages:"No messages found for this collection.",reply:"Reply",replyTitle:"Reply",author:"Author",unknown:"Unknown",sentTo:"Sent To",sendTo:"Send To",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",highImportance:"High Importance",message:"Message",messageRequired:"Message is required",attachments:"Attachments",addFiles:"Add Files",maxFileSize:"Max 25 MB total",fileSizeExceeded:"Total file size exceeds 25 MB limit",sendMessage:"Send Message",sending:"Sending...",cancel:"Cancel",messageSentSuccess:"Message sent successfully",messageSendError:"Failed to send message. Please try again.",viewAttachment:"View Attachment",fileSize:"{{name}} ({{size}} KB)"},sendMessageModal:{title:"Send a Message",sendTo:"Send To",sendToPlaceholder:"Select recipients...",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",importance:"Importance",normal:"Normal",high:"High",message:"Message",messagePlaceholder:"Type your message here...",messageRequired:"Message is required",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",send:"Send",sending:"Sending...",success:"Message sent successfully.",reopened:"Message sent. The collection was reopened.",error:"Failed to send message. Please try again."}},yv={workOrder:"Work Order",tabs:{myItems:"My Items",open:"Open",closed:"Closed"},columns:{xn:"XN",step:"Step",providerName:"Service Provider",itemDetails:"Item Details",description:"Description",homeowner:"Homeowner",propertyAddress:"Property Address",type:"Type",subject:"Subject",followUpDate:"Follow Up Date",dueDate:"Due Date",createdDate:"Created Date",dateSubmitted:"Date Submitted",lastNoteDate:"Last Note Date",attachment:"Attachment",action:"Action"},view:"View",viewAttachment:"View Attachment",exportFileName:"Board Work Orders Action Items",noWorkOrders:"No work orders found.",actions:{approve:"Approve",decline:"Decline",sendMessage:"Send Message",message:"Message"},status:{pastDue:"Past due",highImportanceUnread:"High importance unread"}
39,modal:{approveTitle:"Approve Work Order",declineTitle:"Decline Work Order",nextStep:"Next Step",selectStep:"Select a step...",noteLabel:"Message",notePlaceholder:"Add an optional message...",attachments:"Attachments",addAttachment:"Add Attachment",removeAttachment:"Remove attachment {{name}}",cancel:"Cancel",update:"Update",submitting:"Submitting...",successApprove:"Work order approved successfully.",successDecline:"Work order declined successfully.",error:"Failed to process work order. Please try again.",feeLabel:"Fee: {{amount}}"},detail:{breadcrumb:"Work Orders",workOrderId:"XN {{id}}",notFound:"Work Order Not Found",notFoundDescription:"The work order (XN {{id}}) could not be found or you do not have permission to view it.",backToWorkOrders:"Back to Work Orders",viewAttachments:"View Attachments",messages:"Messages",noMessages:"No messages found for this work order.",reply:"Reply",replyTitle:"Reply",author:"Author",unknown:"Unknown",sentTo:"Sent To",sendTo:"Send To",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",highImportance:"High Importance",message:"Message",messageRequired:"Message is required",attachments:"Attachments",addFiles:"Add Files",maxFileSize:"Max 25 MB total",fileSizeExceeded:"Total file size exceeds 25 MB limit",sendMessage:"Send Message",sending:"Sending...",cancel:"Cancel",messageSentSuccess:"Message sent successfully",messageSendError:"Failed to send message. Please try again.",viewAttachment:"View Attachment",fileSize:"{{name}} ({{size}} KB)"},sendMessageModal:{title:"Send a Message",sendTo:"Send To",sendToPlaceholder:"Select recipients...",recipientRequired:"Please select at least one recipient",loadingRecipients:"Loading recipients...",importance:"Importance",normal:"Normal",high:"High",message:"Message",messagePlaceholder:"Type your message here...",messageRequired:"Message is required",attachments:"Attachments",addAttachment:"Add Attachment",cancel:"Cancel",send:"Send",sending:"Sending...",success:"Message sent successfully.",reopened:"Message sent. The work order was reopened.",error:"Failed to send message. Please try again."}},gv={noResults:"No requests found"},vv={download:"Download",downloadComplete:"Download complete",downloadError:"Error downloading the file: {{error}}",anErrorOccurred:"An Error Occurred",errorMessage:"The attachments could not be loaded at this time. Please try again or contact support if the error persists.",errorTryAgain:"Try Again",addAttachment:"Add Attachment",noAttachments:"No Attachments",noAttachmentsDetails:"There are no attachments for this action item.",noPreview:"No Preview Available"},bv={view:"View",download:"Download",noReports:"No reports available.",noSearchResults:"No reports match your search.",noPermission:"You do not have permission to view reports.",error:"Error",viewError:"Failed to open report. Please try again.",downloadError:"Failed to download report. Please try again."},wv={created:"Created",name:"Name",announcementMessage:"Announcement Message",types:"Types",sent:"Sent",received:"Received",noResults:"No results found",createCommunicationLabel:"Create Communication",noCommunicationsHeader:"You have no communications for this association.",noCommunicationsBody:"Create a new communication to get started.",readOnly:"This communication is read-only.",messageSent:"Message sent on {{createdAt}}.",emailSentSuccessfully:"Your email was successfully sent on {{createdAt}}.",clearCommunication:"Clear communication for message {{message}}",dateOptions:{last30Days:"Last 30 Days",last60Days:"Last 60 Days",last90Days:"Last 90 Days",last12Months:"Last 12 Months",last24Months:"Last 24 Months",last36Months:"Last 36 Months",allTime:"All Time",loadTimes:"* This option may cause longer loading times."},createCommunication:{name:"Name",selectTypes:"Select Types",emailSubject:"Email Subject",emailTemplate:"Email Template",createEmail:"Create Email",editEmail:"Edit Email",removeEmail:"Remove Email",announcementMessage:"Announcement Message",expirationDate:"Expiration Date",repeat:{repeat:"Repeat",never:"Never",daily:"Daily",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly"},never:"Never",pushNotificationTitle:"Push Notification Title",pushNotification:"Push Notification",sendCommunication:"Send Communication",sendCommunicationSuccess:"Communication sent successfully.",maxCharacters:"{{characterCount}}/160 characters",maxCharactersError:"Must be less than 160 characters",fieldRequired:"This field is required",types:{email:"Email Message",announcement:"Announcement",push:"Push Notification"}},emailBuilder:{templates:{blank:"Blank Email",announcement:"Community Announcement",meetingNotice:"Board Meeting Notice",newsletter:"Community Newsletter",maintenance:"Maintenance Notice"},copyHtml:"Copy HTML",copyMjml:"Copy MJML",htmlOutput:"HTML Output",mjmlOutput:"MJML Output",htmlCopied:"HTML copied to clipboard!",mjmlCopied:"MJML copied to clipboard!"}}
39,Pv={invoice:"Invoice",invoices:"Invoices",detail:{notFound:"Invoice Not Found",notFoundDescription:"The invoice ({{id}}) could not be found or you do not have permission to view it.",backToInvoices:"Back to Invoices"},tabs:{label:"Section",myItems:"My Items",open:"Open",closed:"Closed",messages:"Messages",generalLedger:"General Ledger",recentInvoices:"Recent Invoices"},export:"Export",exportFileName:"Board Invoices Action Items",approveSelectedInvoices:"Approve Selected Invoices",yes:"Yes",no:"No",awaitingDecision:"Awaiting decision",viewAttachment:"View Attachment",viewAttachments:"View Attachments",sortBy:"Sort By",newest:"Newest",oldest:"Oldest",noInvoices:"No invoices found.",actions:{approve:"Approve",decline:"Decline",sendMessage:"Send Message",message:"Message",view:"View",edit:"Edit",selectForBulkApproval:"Select for Bulk Approval",selectAll:"Select All",approveSelected:"Approve Selected"},voting:{approveInvoice:"Approve Invoice",declineInvoice:"Decline Invoice",nextStep:"Next Step",note:"Note",reason:"Reason",reasonRequired:"Reason is required",placeholder:"Type your message here...",approveSuccess:"Your invoice has been approved successfully",declineSuccess:"Your invoice has been declined successfully",glTotalMismatch:"Invoice total and general ledger total must be equal to approve.",glValidationError:"The following invoices have unbalanced GL totals and were skipped: {{invoices}}",bulkApproveSuccess:"Selected invoices have been approved successfully",bulkApproveError:"An error occurred while approving the selected invoices",approveError:"This invoice could not be approved",approveErrorForInvoice:"Invoice #{{invoiceId}}: {{message}}"},columns:{step:"Step",serviceProvider:"Service Provider",invoiceNumber:"Invoice Number",invoiceDate:"Invoice Date",total:"Total",balance:"Balance",description:"Description",attachment:"Attachment",actions:"Actions",accountNumber:"Account Number",xn:"XN",subject:"Subject",dueDate:"Due Date",bankAccount:"Bank Account",glAccount:"GL Account",fund:"Fund",bankBalance:"Bank Balance"},messages:{success:"Message sent successfully.",failure:"Message failed to send.",messageRequired:"Message is required.",fieldRequired:"This field is required",messagePlaceholder:"Type your message here...",sendTo:"Send To",toggleImportant:"Toggle important message",messageTo:"To: {{name}}",noResults:"No Results To Show",noMessages:"No Messages",addAttachment:"Add Attachment"},generalLedger:{newInvoiceDetail:"New Invoice Detail",editInvoiceDetail:"Edit Invoice Detail",deleteInvoiceDetail:"Delete Invoice Detail",deleteInvoiceDetailText:"Are you sure you want to remove this invoice detail? This action cannot be undone.",amountError:"Amount must be greater than zero",amountHighest:"Highest amount",amountLowest:"Lowest amount",columns:{glAccount:"GL Account",fund:"Fund",bankAccount:"Bank Account",description:"Description",amount:"Amount"}},recentInvoices:{columns:{invoiceNumber:"Inv. #",accountNumber:"Acct. #",status:"Status",attachment:"Attachment",invoiceDate:"Date",payAmount:"Pay Amount",total:"Total"}}},Sv={bankAccounts:"Bank Accounts",view:"View",dateRange:"Date Range:",to:"to",columns:{accountName:"Account Name",bankName:"Bank Name",accountType:"Account Type",glAccount:"GL Account",balance:"Balance",date:"Date",description:"Description",type:"Type",checkNumber:"Check #",amount:"Amount",reconciled:"Reconciled",attachment:"Attachment"}},Av={homeowner:"Homeowner",homeowners:"Homeowners",ownerTags:"Owner Tags...",showPreviousOwners:"Show Previous Owners",exportFileName:"Board Homeowners",columns:{accountNumber:"Account Number",homeowners:"Homeowner(s)",address:"Address",email:"Email",phone:"Phone",phones:"Phone(s)",balance:"Balance",property:"Property",mailTo:"Mail To"},tabs:{items:"Items",summary:"Summary",transactions:"Transactions"},selectSection:"Select Section",items:{actionItem:"Action Item",includeClosed:"Include Closed",reply:"Reply",messages:"Messages",columns:{xn:"XN",address:"Address",type:"Type",step:"Step",description:"Description",homeowner:"Homeowner",account:"Account",propertyAddress:"Property Address"}},chargeSummary:{description:"Description",balance:"Balance",backToSummary:"Back to Summary",transactionsFor:"Transactions for {{description}}",columns:{date:"Date",type:"Type",description:"Description",charge:"Charge",payment:"Payment",runningBalance:"Balance"}}},Ev={viewAttachment:"View Attachment",message:"Message",messages:"Messages",noMessages:"No Messages",noMessagesYet:"No messages yet.",sendMessage:"Send a Message",send:"Send",reply:"Reply",loadError:"Unable to load messages.",retry:"Try again",success:"Message sent successfully.",error:"Failed to send message. Please try again.",messageRequired:"Message is required.",messagePlaceholder:"Type your message here...",sendTo:"Send To",sendToPlaceholder:"Select recipient(s)...",recipientRequired:"Please select at least one recipient",toggleImportant:"Toggle important message",markAsImportant:"Mark as Important",normalImportance:"Normal",highImportance:"Important",noResults:"No Results To Show",to:"To: {{names}}",attachments:"Attachments",attach:"Attach",addAttachment:"Add Attachment",addRole:"Add role",done:"Done",addFiles:"Select Files",maxFileSize:"Max 25 MB total",fileSizeExceeded:"Total file size exceeds 25 MB limit",fileSize:"{{name}} ({{size}} KB)"},Cv={decisionModal:iv,status:cv,detailNavigation:lv,genericDecision:uv,arcVoting:dv,inspections:fv,tasks:hv,violations:mv,collections:pv,workOrders:yv,arc:gv,attachments:vv,reports:bv,communications:wv,invoices:Pv,bankAccounts:Sv,homeowners:Av,messaging:Ev},Rv={title:"Update Your Contact Information",intro:"We sent you this secure link to make it easy to keep your details current.",instruction:"These are the details we have on file. Update anything that has changed.",phoneNumber:"Phone number",alternatePhone:"Alternate phone",emailAddress:"Email address",alternateEmail:"Alternate email",mailingAddress:"Mailing address",alternateMailingAddress:"Alternate mailing address",propertyAddressLabel:"Property: {{label}}",propertyAddressDisclaimer:"The property address on record is displayed here for reference only. To manage where you will physically receive mail, add or modify additional addresses below.",city:"City",state:"State",z
39ip:"ZIP",addAlternatePhone:"Add alternate phone",addAlternateEmail:"Add alternate email",phonePlaceholder:"(555) 000-0000",emailPlaceholder:"[email protected]",primary:"Primary",setPrimary:"Set primary",setPrimaryPhoneAriaLabel:"Make this the primary phone number",setPrimaryEmailAriaLabel:"Make this the primary email address",removePhoneAriaLabel:"Remove this phone number",removeEmailAriaLabel:"Remove this email address",submit:"Review Changes",invalidPhone:"Enter a 10-digit phone number.",invalidEmail:"Enter a valid email address.",phoneRequired:"A phone number is required.",emailRequired:"An email address is required.",address1Required:"A street address is required.",cityRequired:"A city is required.",zipRequired:"A ZIP code is required."},xv="This is also your sign-in email â changing it here won't change how you sign in.",Tv={banner:"These details apply to all {{accountCount}} of your accounts with {{companyName}}",bannerNoCompany:"These details apply to all {{accountCount}} of your accounts",confirm:"I understand these changes apply to all {{accountCount}} of my accounts."},Dv={title:"Review Your Changes",intro:"Confirm the details below are correct before submitting.",instruction:"Please review the information below before submitting.",phone:"Phone",email:"Email",address:"Address",primary:"Primary",none:"None on file",submit:"Confirm & Submit",back:"Back to editing",error:"We couldn't submit your changes. Please try again."},Ov={title:"Contact Information Updated",body:"Your details have been submitted.",portalTitle:"Set Up Your Resident Portal",portalBody:"Pay dues, submit requests, and stay connected â all in one place.",portalCta:"Go To Portal",portalDismiss:"Maybe later",cta:"Go To Portal"},_v={title:"This Link Has Expired",body:"Contact-update links expire after a short time and can only be used once.",instruction:"To update your details, log into your account or call us for a new link.",button:"Go To Portal",logoLoading:"Loading logo"},kv={headline:"Thank you for your patience.",body:"We are gathering the details we have on file for you."},Iv={edit:Rv,signInNotice:xv,multiAccount:Tv,review:Dv,complete:Ov,expired:_v,loading:kv},Lv="Upload",Mv="Upload File",Nv="New Folder",Fv="This association has no documents.",Bv="This folder is empty.",jv="Open",Uv="Download",qv="Rename",Hv="Duplicate",Vv="Copy Link",$v="Copy link button",zv="Download button",Wv="Open row actions menu",Yv="Delete Document",Kv="Are you sure you want to delete <bold>{{name}}</bold>? This action cannot be undone.",Gv="Cancel",Qv="{{name}} has been deleted.",Jv="Rename Document",Xv="Rename {{type}}",Zv="Document Name",eb="{{name}} Name",tb="Save",nb="{{name}} has been renamed.",rb="This name already exists, please enter a different name.",ab="<bold>{{count}}</bold> document found",ob="<bold>{{count}}</bold> documents found",sb="No documents found",ib="No Results Found",cb="Try adjusting your search to find what you're looking for.",lb="No Documents Available",ub="Start uploading your documents.",db="Clear search",fb="Create New Folder",hb="Folder Name",mb="Create",pb="Please note that permissions of the main folder will be applied to all contained files and folders. Please reach out to your management company if you need to change the folder security.",yb="Document has been duplicated.",gb="Files uploaded successfully",vb="Failed to upload files. Please try again.",bb="Maximum file size of {{size}}mb accepted.",wb="File Size Exceeded",Pb='The file "{{fileName}}" is {{fileSize}}MB, which exceeds the maximum allowed size of {{maxSize}}MB.',Sb="Please note that permissions of the main folder will be applied to all contained files and folders. Please reach out to your management company if you need to change the folder security.",Ab="Selected files",Eb="Drag & drop files to upload",Cb="or click to browse files",Rb="Clear",xb="{{error}}",Tb="Access",Db="Name",Ob="Last Modified",_b="Search",kb={download:"Download",errorMessage:"The attachments could not be loaded at this time. Please try again or contact support if the error persists.",errorTryAgain:"Try Again",addAttachment:"Add Attachment",noAttachments:"No Attachments",noAttachmentsDetails:"There are no attachments for this action item.",noPreview:"No Preview Available"},Ib={upload:Lv,uploadFile:Mv,newFolder:Nv,noFiles:Fv,emptyFolder:Bv,open:jv,download:Uv,rename:qv,duplicate:Hv,delete:"Delete",copyLink:Vv,copyLinkAriaLabel:$v,downloadAriaLabel:zv,menuAriaLabel:Wv,deleteModalTitle:Yv,deleteModalDescription:Kv,cancel:Gv,deleteSuccess:Qv,renameDocument:Jv,renameType:Xv,documentName:Zv,nameType:eb,save:tb,renameSuccess:nb,renameError:rb,foundCount:ab,foundCount_plural:ob,noneFound:sb,noResultsFound:ib,noSearchResults:cb,noDocumentsAvailable:lb,noDocumentsAvailableBody:ub,clearSearch:db,createNewFolder:fb,folderName:hb,create:mb,createDisclaimer:pb,duplicateSuccess:yb,uploadSuccess:gb,uploadError:vb,maxFileSize:bb,fileSizeError:wb,fileSizeErrorMessage:Pb,permissionCascading:Sb,selectedFiles:Ab,dragAndDropFiles:Eb,browseFiles:Cb,clear:Rb,error:xb,access:Tb,name:Db,lastModified:Ob,search:_b,attachments:kb},Lb={back:"Back",next:"Next",search:"Search",loading:"Loading...",saving:"Saving...",cancel:"Cancel",noResults:"No Results",close:"Close",send:"Send",save:"Save",submit:"Submit",unsavedChanges:"Changes you made may
39not be saved.",yes:"Yes",no:"No",export:"Export",delete:"Delete",edit:"Edit",remove:"Remove",placeholder:"Type your message here..."},Mb={links:{myProfile:"My Profile",help:"Help",logOut:"Log Out"}},Nb={links:{privacy:"Privacy Policy",help:"Help",faq:"FAQ",termsOfService:"Terms of Service"},content:"This site is provided by {{company}}. Powered by Vantaca. Copyright © {{year}}",copyright:"© {{year}} {{company}}. All rights reserved.",screenReader:"Footer Navigation"},Fb={communities:"Change Communities",mimicMode:"You are in mimic mode"},Bb={quickActions:"Quick Actions",quickActionsModal:{amenityReservation:"Book Amenity",makePayment:"Make a Payment",newRequest:"New Request"},hoaiAssistant:{defaultToggleButtonText:"Ask HOAi",defaultUserName:"Neighbor",toggleButtonAriaLabel:"HOAi chat toggle button"},screenReader:{openSidebar:"Open sidebar",closeMenu:"Close menu"},offers:"Offers"},jb={title:"Offers",subtitle:"Member discounts powered by PerkSpot",error:{scriptLoad:"Couldn't load Offers. Try refreshing or check back later.",missingExternalId:"We couldn't verify your account. Try refreshing or sign out and back in."}},Ub={tentativeReservation:"Pending",noSelection:"Pending",doNotShow:"Pending",confirmedReservation:"Approved",declinedReservation:"Declined"},qb=["January","February","March","April","May","June","July","August","September","October","November","December"],Hb={breadcrumb:"Dashboard",sections:{homeOwner:"Home Owner",boardMember:"Board Member"},widget:{payments:{title:"Payments",viewAll:{short:"Details",long:"Account Details"},makeAPayment:"Make a Payment",ledgerOf:"Ledger {{index}} of {{total}}",tooltip:{basicInfo:"Make a Payment, Enroll in Auto-Draft, and Manage your Account Details for your current property.",dropDownReference:"Multiple subledgers can be viewed with the left and right navigation arrows. To switch accounts/properties, use the current property dropdown.",balances:"Account Balances displayed here will only show for the subledger selected."}},requests:{title:"Requests",new:"New Request",viewAll:"View All",error:"An error occurred while loading your requests. Please try again or contact support.",errorId:"Error ID: {{errorId}}",tryAgain:"Try Again",empty:"You have no open or recent requests from the last 30 days.",submittedOn:"Submitted on {{date}}",scheduledFor:"Scheduled for {{date}}",tooltip:"Review your existing requests and their current status or Make a New Request."},reservations:{title:"Reservations",myReservations:"My Reservations",new:"New Reservation",viewAll:"View All",submittedOn:"Submitted on",scheduledFor:"Scheduled for",noReservations:"You have no open or recent reservations from the last 30 days.",noBookingsFound:"No bookings found.",loadError:"Unable to load reservations. Please try again later.",tooltip:"Review your existing amenity reservations and their current status or Request a New Reservation.",tableHeaderAmenityName:"Amenity Name",tableHeaderDate:"Date",tableHeaderTime:"Time",tableHeaderStatus:"Status",edit:"Edit"},messages:{title:"Messages",inboxTitle:"Inbox",viewAll:"View All",empty:"This account does not have any messages.",tooltip:"Messages shown here are only items that relate to you directly as a homeowner."},messageFeed:{title:"Community Feed",newPost:"+ New Post",subtitle:"Stay connected with your neighbors",share:"Share"},boardAreaTasks:{title:"Board Actions",moreItems:"More Items",viewAll:"View All",tooltip:"View items that require your attention by type."},boardArcVoting:{tooltip:"Review Open Architectural Requests that require action.",noArcs:"You have no {{type}} requests needing votes",arcManagement:"{{type}} Management",request:"{{type}} Request",voting:"{{type}} Voting"},boardTasks:{title:"Board Actions",tooltip:"Review and action the board items assigned to you.",viewAll:"View All",viewDetails:"View Details",viewAttachments:"View Attachments",reviewing:"Reviewing {{current}} of {{total}} Items",previous:"Previous item",next:"Next item",myItems:"My Items",fields:{xn:"XN",dueDate:"Due Date",invoiceNo:"Invoice #",invoiceDate:"Invoice Date",invoiceTotal:"Total",accountNo:"Account #",balance:"Balance"}},pickleballStandings:{title:"Pickleball Standings",viewAll:"View All",tooltip:"Updated list of current win loss records for the community Pickleball league",empty:"No standings available",rank:"Rank",player:"Player",wins:"Wins",losses:"Losses"},currentProperty:{tooltip:"Select a different property in this dropdown to view information relating to that account."},requestSummary:{youHave:"You have ",upcomingReservation:"upcoming reservation",upcomingReservations:"upcoming reservations",and:" and ",architecturalRequest:"Architectural Request",architecturalRequests:"Architectural Requests",pending:" pending",period:"."}}},Vb={complianceAndNotices:{placeholder:"Compliance and notices content will be displayed here."},feed:{title:"Community Feed",tagline:"Connect with your neighbors and stay updated on community happenings",gatedTitle:"Community Feed is not available",gatedDescription:"This community has not turned on the community feed yet. Check back soon.",emptyState:"No posts yet. Your community manager hasn't shared anything here.",verifiedSafe:"Verified Safe",widget:{title:"Community Feed",viewAll:"View all posts",empty:"No posts yet â they'll appear here when your management company shares updates.",imageCount_one:"{{count}} image",imageCount_other:"{{count}} images"},composerPrompt:"What's happening in the community?",createPost:"Create Post",ownerMenu:{label:"Post actions",edit:"Edit post",delete:"Delete post"},deletePost:{title:"Delete this post?",body:'"{{title}}" will be removed from the community feed. Your management company can still see it.',confirm:"Delete post",deleting:"Deletingâ¦",cancel:"Cancel",success:"Post deleted.",failure:"Unable to delete the post. Please try again."},composer:{newTitle:"New Post",editTitle:"Edit Post",titleLabel:"Title",titlePlaceholder:"Community Post Title",titleRequired:"Title is required.",bodyLabel:"Body",bodyRequired:"Body is required.",bodyHelp:"Paste is converted to plain text to keep formatting clean.",toolbarLabel:"Text formatting",undo:"Undo",redo:"Redo",paragraph:"Paragraph",heading:"Heading {{level}}",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",bulletList:"Bullet list",numberedList:"Numbered list",imagesLabel:"Images",uploadImages:"Upload images",uploadPrompt:"Drag & Drop or ",uploadChooseFile:"Choose file",uploadPromptSuffix:" to upload",uploadFormats:"JPEG, PNG, GIF, WebP",uploadLimits:"Up to {{max}} images, 10 MB each.",imageCount:"{{selected}} of {{max}} images selected",removeImage:"Remove {{name}}",imageTooMany:"Maximum {{max}} images per post.",imageNotAnImage:"{{name}}: images only â video coming soon.",imageTooLarge:"{{name}}: image too large â 10 MB max.",imageUnsupported:"{{name}}: not a supported image. Use JPEG, PNG, GIF, or WebP.",imageMimeMismatch:"{{name}}: file contents are {{detected}}, not {{declared}}. Re-save with the correct extension and try again.",linksLabel:"Links",optional:"Optional",addLink:"Add Link",linkLabelPlaceholder:"Label",linkUrlPlaceholder:"https://",linkLabelAria:"Link {{position}} label",linkUrlAria:"Link {{position}} URL",removeLink:"Remove link {{position}}",cancel:"Cancel",publish:"Publish Post",saveChanges:"Save changes",saving:"Savingâ¦",published:"Post published.",editSaved:"Post updated.",hintTitleAndBody:"Add a title and body to publish.",hintTitle:"Add a title to publish.",hintBody:"Add a body to publish.",errorBoardPostingDisabled:"Board posting has been turned off for this community.",errorNotPermitted:"You no longer have permission to post here.",errorNotAuthor:"You can only edit posts you created.",errorPostGone:"This post is no longer available.",errorMediaUpload:"Image failed to upload â you can add it by editing the post.",errorGeneric:"Unable to save the post. Please try again."},boardAuthored:"Posted by your Board",boardAuthoredShort:"Board"}},$b={availableHours:"Available Hours",reservationBlocks:"Reservation Blocks",reservationLimit:"Reservation Limit",availableDays:"Available Days",selectTimeSlot:"Select a Time Slot",reserved:"Reserved",reservedPending:"Reserved (Pending)",selectDate:"Select Date",selectTime:"Select time",startTime:"Start Time",endTime:"End Time",backToReservations:"Back to Reservations",amenityNotFound:"Amenity not found.",bookReservation:"Book Reservation",editReservation:"Edit Reservation",saveChanges:"Save Changes",delete:"Delete",viewAvailability:"View Availability",noAvailableTimesForDate:"No available times for this date.",noAvailableEndTimes:"No available end times. This slot may conflict with an existing reservation.",reservationLimitReached:"You have reached the maximum number of reservations ({{limit}}) for this amenity on this day. You cannot book additional times for this day.",loadAmenitiesError:"Unable to load amenities. Please try again later.",noAmenitiesAvailable:"No amenities available for reservation.",reservationsNotAvailable:"Reservations aren't available for this association.",reservationSuccess:"Reservation submitted successfully",reservationError:"Unable to submit reservation. Please try again.",reservationDetail
39s:"Reservation Details",amenity:"Amenity",date:"Date",time:"Time",status:"Status",statusPending:"Pending",statusApproved:"Approved",statusCancelled:"Cancelled",reservedBy:"Reserved By",property:"Property",account:"Account",reserverDetailsUnavailable:"Reserver details are unavailable.",reservationPartialSuccess:"Booked {{succeeded}} of {{total}} day(s). We couldn't book: {{failedDates}}. Please try those day(s) again.",startDate:"Start Date",endDate:"End Date",maxRentalLength:"Maximum Rental Length",maxRentalDaysAllowed:"Up to {{count}} days per reservation",singleDayOnly:"Single-day reservations only",noMaxRentalLength:"No maximum length",multiDayHint:"A separate reservation will be created for each of the {{days}} selected day(s) (maximum {{maxDays}}).",endDateBeforeStartDate:"End date must be on or after the start date.",maxRentalDaysExceeded:"Reservations cannot exceed {{maxDays}} days for this amenity.",unavailableDaysInRange:"One or more days in this range are not available for this amenity.",rangeConflictsWithExisting:"The selected time conflicts with an existing reservation on one or more days."},zb={registrationKey:{tooltip:"Your registration key is provided with your Welcome Packet from your management company."},accountNumber:{tooltip:"Your account number is provided with your Welcome Packet from your management company."},accountRequestTitle:{tooltip:{"":"Your management company will create your new account. ",italic:"Please note, this is a manual process and you will not receive an instantaneous response from your management company. Please allow multiple days for this request to be fulfilled. If you do not receive a response please contact your management company directly."}}},Wb={communicationPreferences:{selectPreferencesHeader:{tooltip:"Communications will be sent to primary contact based on communication preferences."},sendPaymentConfirmEmailLineItem:{tooltip:"If enabled, your primary billing email will receive a confirmation message after making a successful payment."}},contactInformation:{directoryPreferences:{tooltip:"Control the visibility of your information in the Community Directory."},primaryContactInformation:{tooltip:"Communications will be sent to primary contact based on communication preferences."}}},Yb={open:"Open options",save:"Save Grid Settings",restore:"Restore Saved Settings",default:"Reset to Default"},Kb={nonHomeowner:"Non-Homeowner Member",accountNumberPrefix:"Acct #",accountNumber:"Acct #: {{accountNumber}}",noAccountNumber:"Acct #: N/A",search:"Search by association, account, or property..."},Gb={first:"First",previous:"Previous",page:"Page",pageNumber:"Page {{page}}",of:"of {{total}}",ofRows:"of {{total}} rows",showing:"Showing",next:"Next",last:"Last",empty:"There are no items to display.",sort:"Sort",sortBy:"Sort by",ascending:"Ascending",desce
39nding:"Descending"},Qb={title:"Server Error",message:"We apologize. There was an error from the server. You might need to try again later."},Jb={PA037:"You are unable to log into this payment provider due to not having a primary email set. Please visit the <Profile>Profile Settings</Profile> to add a primary email."},Xb={error:"Something went wrong. If this issue persists please contact us through our help center.",hiThere:"Hi there ðð» How can I help you today?",answer:"I can answer questions about your association's information and any rules and regulations it may have.",newAssoc:"Association: {{name}}.",newThread:"New Thread: {{name}}.",whatQuestions:"What questions do you have about {{name}}?",myca:"MyCA",welcome:"Welcome to MyCA chat",you:"You",suggestions:{suggestions:"Suggestions",poolHours:"What are the pool hours?",trashDay:"What day is the trash?",workRequest:"How can I submit a work request?"}},Zb={title:"Upload Files",clickToUpload:"Click here to upload your file",maxFileSize:"Maximum file size of {{size}}mb accepted.",selectedFiles:"Selected files",upload:"Upload"},ew={modal:{title:"Welcome, {{userName}} â Setup your payment preferences to ensure you never miss a payment",subtitle:"Let's set up your payment preferences in just a few steps. This will allow you to seamlessly pay for your upcoming dues and assessments.",progress:{step:"Step {{current}} of {{total}}"},step1:{title:"Add Payment Method",titleWithSaved:"Select Payment Method",description:"Choose your preferred payment method",creditCard:"Credit/Debit Card",bankAccount:"Bank Account"},step2:{title:"Get setup with Vantaca Pay to ensure you never miss a payment",header:"Set Up Recurring Payments",subtitle:"Confirm your payment setup",enableRecurring:"Enable recurring payments",enableRecurringSubtitle:"Automatically pay what you owe on each due date. If nothing is due, nothing will be charged.",setupLaterMessage:"Set up recurring payment later on the <Link>Payments page</Link>.",paymentMethod:"Payment Method",paymentFrequency:"Payment Frequency",monthlyOnDueDate:"On scheduled due dates",startingOnDate:"Starting on {{date}}",editPaymentDate:"Edit payments start date",paymentStartDateLabel:"Payments Start Date",paymentStartDateHelper:"Select the date you want your recurring payments to start.",savePaymentDate:"Save payment date",recommendedDate:"Recommended",dateInvalid:"Please select a valid date.",paymentAmount:"Payment Amount",fullBalanceDue:"Full balance due on each due date",fullBalanceDescription:"Full balance shown on your statement, up to your maximum if you set one.",setMaximumAmount:"Set a maximum amount",maximumAmountLabel:"Maximum Amount (optional)",maximumAmountHelper:"A max amount ensures you are not automatically charged over the amount limit.",amountInvalid:"Please enter a valid amount.",amountMinimum:"Amount must be at least $0.50.",amountMaximum:"Amount must be less than $25,000.",processingFee:"Processing Fee",updateNote:"You can change these recurring payment settings anytime in <Link>Manage Payments</Link>.",consent:"By clicking Save & Confirm you consent to the payment conditions for your payment selection as described on the <Link>Payment Disclosure</Link> page.",secureEncrypted:"Payments are secure & encrypted",back:"Back",saveAndConfirm:"Save & Confirm"},selectPaymentMethod:"Select Payment Method",addPaymentMethod:"Add Payment Method",choosePreferredPaymentMethod:"Choose your preferred payment method",processingFee:"{{processingFee}} Processing Fee",processingFeeFrequency:"Applied each time a payment is processed",addNewCreditCard:"Add New Credit Card",addNewBankAccount:"Add New Bank Account",paymentMethodTitle:"Set Up Your Payment Method",paymentMethodDescription:"Add a payment method to make paying your association fees quick and easy.",savedPaymentMethods:"Your Saved Payment Methods",addNewPaymentMethod:"Add a New Payment Method",addCreditCard:"Add Credit Card",addBankAccount:"Add Bank Account",finish:"Finish",skip:"Skip for Now",setUpLater:"Set Up Later",saveAndContinue:"Select Payment Method & Continue",success:{title:"Your recurring payment is scheduled.",subtitle:"Your recurring full balance payment is successfully scheduled.",viewDetails:"View your payment details",seePlan:"See plan and make changes",confirmationNumber:"Confirmation #{{number}}",manageNote:"All recurring payment settings can be changed or updated in <Link>Manage Payments</Link>.",viewAccountDetails:"View Account Details"},reminder:{title:"Set Up Reminder",description:"Without completing this setup you are at risk of missing your payments and incurring late fees. When would you like to be reminded to set up payments?",nextLogin:"Next time I login",oneWeek:"One week",oneMonth:"One month",confirm:"Confirm"},textReminders:{title:"Text Message Reminders",description:"Would you like to get notified via text with a quick link to pay when your payments are due? Never miss another payment and avoid late fees.",enableToggle:"Yes, enable text reminders",phoneLabel:"New Phone Number",phonePlaceholder:"(321) 555-4345",legalText:"By choosing to re
39ceive payment reminders via text, I consent to enrolling in payment reminder text messages from Vantaca and receiving them at the mobile phone number provided. I understand I may unsubscribe anytime by turning this option off. Message and data rates may apply. Message frequency varies.",noThanks:"No Thanks",confirm:"Confirm"}}},tw={boardMembersTab:"Board Members",committeeTab:"Committee",homeownersTab:"Homeowners",columns:{name:"Name",phone:"Phone",email:"Email",group:"Group",title:"Title",address:"Address"}},nw={today:"Today",createEvent:"Create Event",editEvent:"Edit Event",viewEvent:"View Event",saveEvent:"Save Event",updateEvent:"Update Event",eventCreated:"Event created successfully",eventUpdated:"Event updated successfully",eventSaveFailed:"Failed to save event. Please try again.",deleteEvent:"Delete Event",deleteConfirmTitle:"Delete Event",deleteSeriesConfirmTitle:"Delete Series",deleteConfirmMessage:"Are you sure you want to delete this event?",deleteSeriesConfirmMessage:"Are you sure you want to delete this entire series? All occurrences will be removed.",eventDeleted:"Event deleted successfully",eventDeleteFailed:"Failed to delete event. Please try again.",deleting:"Deleting...",errorLoadingEvents:"Failed to load calendar events. Please try again.",eventTitle:"Title",eventTitlePlaceholder:"Event title",start:"Start",end:"End",allDay:"All Day",allDayEvent:"All Day Event",repeat:"Repeat",description:"Description",descriptionPlaceholder:"Add a description...",category:"Category",securityLevel:"Visibility",securityLevels:{public:"Public",homeowner:"Homeowner",board:"Board",internal:"Internal"},none:"None",noEvents:"No events",moreEvents:"{{count}}+ Events",showFullDay:"Show Full Day",showBusinessHours:"Show Business Hours",editRecurringEvent:"Edit Recurring Event",editRecurringPrompt:"Do you want to edit only this event occurrence or the whole series?",editCurrentOccurrence:"Edit Current Occurrence",editTheSeries:"Edit the Series",views:{agenda:"Agenda",month:"Month",week:"Week",day:"Day"},weekdays:{short:["S","M","T","W","T","F","S"],full:["Sun","Mon","Tues","Wed","Thurs","Fri","Sat"]},recurrence:{never:"Never",daily:"Daily",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly",repeatEvery:"Repeat every",repeatOn:"Repeat on",endLabel:"End",day:"day",days:"day(s)",week:"week",weeks:"week(s)",month:"month",months:"month(s)",year:"year",years:"year(s)",occurrence:"occurrence",occurrences:"occurrence(s)",endNever:"Never",endAfter:"After",endOn:"On",date:"Date",ordinalFirst:"first",ordinalSecond:"second",ordinalThird:"third",ordinalFourth:"fourth",ordinalLast:"last",of:"of",weekdaysFull:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday"}}},rw={myItems:"My Items",request:"Request",newRequest:"New Request",noResults:"No results found",message:"Message",messages:"Messages",messageHistory:"Message History",reply:"Reply",addAttachment:"Add Attachment",viewAttachment:"View Attachment",radioGroupLabel:"Select a request type",requestTypes:{general:"General Request",arc:"ARC Request",reservation:"Reservation Request"},columns:{id:"XN",from:"From",subject:"Subject",message:"Message",date:"Date"},shared:{property:"Property",noProperties:"No properties",loadingProperties:"Loading properties",propertyPlaceholder:"Select Property",selectItemPlaceholder:"Select Item",subject:"Subject",subjectPlaceholder:"Subject line",textareaPlaceholder:"Type your message here...",attachmentsAndDocuments:"Attachments & Documents"},generalRequests:{submitARequestTitle:"Submit a Request",submitARequestBody:"Thank you for using your Owner's Portal! Here you will be able to easily select from the options below to help communicate with your management company about association related matters.",billingQuestionTitle:"Billing Question",billingQuestionBody:"For questions related to your account balance, select âBilling Questionâ from the drop down menu as your request type.",serviceRequestsTitle:"Service/Maintenance Requests",serviceRequestsBody:"Service/Maintenance Requests are a great way to report property damage or maintenance concerns specific to your unit or common areas within the community. Please be sure to describe the problem with plenty of detail including specific location or area of concern. Submit separate requests for each individual issue reported.",generalQuestionTitle:"General Question",generalQuestionBody:'For all other inquiries, or if you are unsure where to start, please submit a "General Question" and we will be happy to help guide you!',attachmentsOptional:"Attachments (optional)",requestType:"Request Type",description:"Description",descriptionPlaceholder:"Type your message here...",submitSuccess:"General Request submitted successfully."},arcRequests:{areaOfWork:"Area of work",workToBeDone:"Work to be done:",workToBeDonePlaceholder:"Type your message here...",selectDate:"Select Date",selectArea:"Select Area",loadingWorkAreas:"Loading areas",noWorkAreas:"No areas",startDate:"Start Date",endDate:"End Date",estimatedStartDate:"Estimated Start Date",estimatedEndDate:"Estimated End Date",estimatedDatesHint:"Estimated start and end dates of your project.",invalidDates:"End date cannot be before start date",submitSuccess:"ARC Request submitted successfully.",submitError:"Failed to submit request. Please try again.",uploading:"Submittingâ¦",architecturalRequestSubject:"Architectural Request",n
39oDescription:"No description provided",attachments:"Attachments",dragDropOrChooseFile:"Drag & Drop or",chooseFile:"Choose file",toUpload:"to upload",acceptTypes:"PDF, ZIP, PNG, JPEG",removeFile:"Remove file",remove:"Remove",architecturalForms:"Architectural Forms",architecturalFormsDescription:"Select the required form from the dropdown and download it. Once completed, upload the document in the attachments section or use the QR code to upload an image from your smart phone.",supportingDocumentsDescription:"Download supporting documents to reference while completing this form.",noSupportingDocumentsAvailable:"No supporting documents available.",loadingForms:"Loading formsâ¦",noFormsAvailable:"No forms available.",selectForm:"Select form",chooseFormToDownload:"Choose a form to download",download:"Download",uploadedFromMobile:"from mobile",orScanQrCode:"or scan the QR code",scanQrCodeHint:"Scan QR code to view and complete forms",qrCode:"QR Code"},reservationRequests:{title:"Reservation Request",filterByCategory:"Filter by Category",selectCategory:"Select Category",filterByAmenity:"Filter by Amenity",selectAmenity:"Select Amenity",amenityLabel:"Amenity:",reservationLabel:"Reservation:",reservationSummary:"Request for {{amenity}} on {{date}} from {{start}} to {{end}}",eventDate:"Event Date",reminderDate:"Reminder Date",eventName:"Event Name",eventDetails:"Event Details",submitSuccess:"Reservation request submitted successfully.",submitError:"Failed to submit reservation request. Please try again.",oneHourOnly:"(1 hour reservations only)",reservationBlockInfo:"({{blocks}})"},fileUpload:{acceptTypes:"PDF, ZIP, PNG, JPEG, HEIC",maxFileSize:"Maximum upload limit {{size}}MB",fileSizeError:"File Size Exceeded",fileSizeErrorMessage:'The file "{{fileName}}" is {{fileSize}}MB, which exceeds the maximum allowed size of {{maxSize}}MB.',selectFiles:"Select file(s) to upload"},homeOwner:"Home Owner",account:"Account",propertyAddress:"Property Address",sendTo:"Send To",required:"This field is required",messageRequired:"Message is required",messagePlaceholder:"Type your message here...",toggleImportant:"Toggle important message"},aw={yourMessages:"My Messages",unreadOnly:"Unread only",needsAttention:"Needs Attention",requests:"Requests",reservations:"Reservations",general:"General",noMessagesFound:"No messages found.",loadError:"Unable to load inbox items.",tryAgain:"Try again"},ow={title:"My Requests",newRequest:"New Request",includeClosed:"Include closed",noResults:"No requests found.",loadError:"Unable to load requests."},sw={title:"My Compliance and Notices",noResults:"No compliance items found.",loadError:"Unable to load compliance items."},iw={detailsTab:"Details",messagesTab:"Messages",status:"Status",attachments:"Attachments"},cw={backToInbox:"Back to Inbox",notFound:"Message not found.",loadError:"Unable to load message details."},lw={subject:"Subject",category:"Category",itemNumber:"Item Number",date:"Date",property:"Property",description:"Description"},uw={name:"Attachments",download:"Download",previous:"Previous attachment",next:"Next attachment",downloadComplete:"Download complete",downloadError:"Error downloading the file: {{error}}",anErrorOccurred:"An error occurred",errorMessage:"The attachments could not be loaded at this time. Please try again or contact support if the error persists.",errorTryAgain:"Try Again",addAttachment:"Add Attachment",noAttachments:"No Attachments",noAttachmentsDetails:"There are no attachments for this action item.",noPreview:"No Preview Available"},dw={common:Lb,header:Mb,footer:Nb,pageTop:Fb,sideBar:Bb,offers:jb,reservationStatus:Ub,months:qb,dashboard:Hb,community:Vb,reservations:$b,accountRegistration:zb,profile:Wb,gridSettings:Yb,propertySelector:Kb,pagination:Gb,serverError:Qb,exceptions:Jb,ai:Xb,fileUpload:Zb,public:{menuOpen:"Open header menu",menu:"Menu",menuClose:"Close header menu",welcomeToYourAssociation:"Welcome to Your Association",links:{home:"Home",documents:"Documents",helpAndFaqs:"Help & FAQs",calendar:"Calendar",facebook:"Facebook",instagram:"Instagram"}},onboarding:ew,directory:tw,calendar:nw,requests:rw,inbox:aw,requestsV3:ow,complianceV3:sw,portalRequestDetails:iw,inboxDetail:cw,portalRequestFields:lw,attachments:uw},fw="Contact Info",hw="Login Info",mw="Account Preferences",pw="Communications will be sent to primary contacts.",yw="Update",gw="Save Changes",vw="New Contact",bw="Contacts",ww="Communication Preferences",Pw="General Communication Preferences",Sw="Billing Communication Preferences",Aw="Send Payment Confirmation Email",Ew="Receive Payment Reminders via Text",Cw="By choosing to re
39ceive payment reminders via text, I consent to enrolling in payment reminder text messages from Vantaca and receiving them at the mobile phone number provided. I understand I may unsubscribe anytime by turning this option off. Message and data rates may apply. Message frequency varies.",Rw="Homeowner Directory Preferences",xw="Board Member Directory Preferences",Tw="Show name in directory",Dw="Show phone number in directory",Ow="Show email address in directory",_w="Show property address in directory",kw="Show title in directory",Iw="Label required",Lw="Label",Mw="Make primary contact",Nw="International Address",Fw="Street Address",Bw="Street Address Required",jw="Second Address",Uw="City",qw="City required",Hw="State",Vw="State required",$w="Zip code",zw="Zip code Required",Ww="Update Preferences",Yw="Primary Contact Information",Kw="Mailing Address",Gw="Add Contact Info",Qw="All Contacts Information",Jw="Edit",Xw="Type",Zw="Details",eP="Preferred Email",tP="Preferred Address",nP="Select an email address",rP="Select an address",aP="Comm Preference",oP="Are you sure you want to delete this record?",sP="Delete Contact",iP="C
39ancel",cP="Contact Info Type",lP="Edit Contact",uP="Open edit email modal",dP="Open edit phone modal",fP="Open edit address modal",hP="Edit Contact Type",mP="Add",pP="Update Settings",yP="Email",gP="Phone",vP="Address",bP="Primary Settings",wP="Edit Primary Settings",PP="Primary Phone",SP="Viewing profile settings for",AP="Preferences updated successfully",EP="No contacts found",CP="Primary Contact Info",RP="Other Contact Info",xP="No primary addresses",TP="No primary email contacts",DP="No primary phone contacts",OP="No secondary addresses",_P="No secondary email contacts",kP="No secondary phone contacts",IP="New {{type}} contact created successfully",LP="{{type}} deleted successfully",MP="{{type}} updated successfully",NP="Save",FP="Country",BP="Province and Postal Code",jP="Province and Postal Code Required",UP="Unsaved Changes",qP="You have unsaved changes. If you leave this page, your changes will be lost. Do you want to continue?",HP="Phone Number",VP="Leave and Discard",$P="Stay on Page",zP="Submit",WP="By providing your email address and/or opting in to email communication preference you are agreeing to receive electronic communication. You are responsible for keeping your email address up to date and may change your email or communication preference at any time",YP="Electronic Communication",KP="Invalid email address",GP="Invalid phone number",QP="Invalid address",JP="Invalid city",XP="Invalid state",ZP="Invalid zipcode",eS="Invalid country",tS="Invalid province",nS="Invalid postal code",rS="Invalid secondary address",aS="Invalid label",oS="Phone number required",sS="Email address required",iS="Address required",cS="Country required",lS="Postal code required",uS="Confirm Change",dS="Would you like to proceed with this change?",fS="You are about to change the primary mailing address to:",hS="Property: {{label}}",mS="The property address on record is displayed here for reference only. To manage where you will physically receive mail, add or modify additional addresses below.",pS={email:"Email",paper:"Paper",paperAndEmail:"Paper and Email",text:"Text"},yS="eSignature",gS="eSignature is required",vS="Enter your electronic signature",bS={contactInfo:fw,loginInfo:hw,preferences:mw,communications:pw,update:yw,saveChanges:gw,newContact:vw,contacts:bw,communicationPreferences:ww,generalCommunicationPreferences:Pw,billingCommunicationPreferences:Sw,sendPaymentEmail:Aw,getPaymentTexts:Ew,textDisclaimer:Cw,homeownerPreferences:Rw,boardMemberPreferences:xw,showName:Tw,showPhone:Dw,showEmail:Ow,showProperty:_w,showTitle:kw,labelRequired:Iw,label:Lw,makePrimary:Mw,internationalAddress:Nw,streetAddress:Fw,streetAddressRequired:Bw,secondaryAddress:jw,city:Uw,cityRequired:qw,state:Hw,stateRequired:Vw,zipcode:$w,zipcodeRequired:zw,updatePreferences:Ww,primaryContactInformation:Yw,mailingAddress:Kw,addContactInfo:Gw,allContactsInformation:Qw,edit:Jw,delete:"Delete",type:Xw,details:Zw,preferredEmail
39:eP,preferredAddress:tP,selectEmail:nP,selectAddress:rP,commPreference:aP,areYouSure:oP,deleteContact:sP,cancel:iP,contactType:cP,editContact:lP,editEmailAriaLabel:uP,editPhoneAriaLabel:dP,editAddressAriaLabel:fP,editContactType:hP,add:mP,updateSettings:pP,email:yP,phone:gP,address:vP,primarySettings:bP,editPrimarySettings:wP,primaryPhone:PP,viewingSettingsFor:SP,preferencesUpdated:AP,noContactsFound:EP,primaryContactInfo:CP,otherContactInfo:RP,noPrimaryAddresses:xP,noPrimaryEmailContacts:TP,noPrimaryPhoneContacts:DP,noSecondaryAddresses:OP,noSecondaryEmailContacts:_P,noSecondaryPhoneContacts:kP,success:IP,deleteSuccess:LP,updateSuccess:MP,saveContactInfo:NP,country:FP,provinceAndPostalCode:BP,provinceAndPostalCodeRequired:jP,unsavedChanges:UP,unsavedChangesMessage:qP,phoneNumber:HP,leaveAndDiscard:VP,stayOnPage:$P,submit:zP,emailPreferenceDisclaimer:WP,electronicCommunication:YP,invalidEmail:KP,invalidPhone:GP,invalidAddress:QP,invalidCity:JP,invalidState:XP,invalidZipcode:ZP,invalidCountry:eS,invalidProvince:tS,invalidPostalCode:nS,invalidSecondaryAddress:rS,invalidLabel:aS,phoneRequired:oS,emailRequired:sS,addressRequired:iS,countryRequired:cS,postalCodeRequired:lS,confirmChange:uS,proceedWithChange:dS,changePrimaryAddress:fS,propertyAddress:hS,propertyAddressDisclaimer:mS,communicationPreferencesOptions:pS,eSignature:yS,eSignatureRequired:gS,eSignaturePlaceholder:vS},wS={label:"Date submitted",last30Days:"Last 30 days",last6Months:"Last 6 months",lastYear:"Last year",allTime:"All time"},PS={range:wS},SS={en:{translation:{auth:Sg,billing:sv,board:Cv,contactDetails:Iv,documents:Ib,main:dw,profile:bS,requestHistory:PS}}};yt.use(td).use(Jd).init({resources:SS,lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1}}).catch(console.error);function AS(n){const e=n.config.url||"";return e.includes("/Directories")||e.includes("/Documents")||Xd(n.data),n}function er(n){n.interceptors.response.use(AS)}var J;class nd{constructor(e){Z(this,J);$(this,J,e),er(f(this,J))}async getArcRequests(e,t,r){const{data:a}=await f(this,J).get(`/Associations/${e}/ArcRequests`,{params:t,...r});return a}async getReservations(e,t,r){const{data:a}=await f(this,J).get(`/Associations/${e}/Reservation`,{params:t,...r});return a}async getDocuments(e,t,r){const{data:a}=await f(this,J).get(`associations/${e}/Directories`,{params:t,...r});return a}async getDocumentsPermissions(e,t){const{data:r}=await f(this,J).get(`associations/${e}/Documents/permissions?systemSecurity=boardDocManage`,t);return r}async getDocument(e,t,r){const a=await f(this,J).get(`associations/${e}/Documents/${t}`,{...r,responseType:"blob"});return{blob:a.data,contentType:String(a.headers["content-type"]??"")}}async deleteDirectory(e,t,r){return await f(this,J).delete(`associations/${e}/Directories/${t}`,r)}async deleteDocument(e,t,r){return await f(this,J).delete(`associations/${e}/Documents/${t}`,r)}async renameDirectory(e,t,r,a){return await f(this,J).patch(`associations/${e}/Directories/${t}`,r,a)}async renameDocument(e,t,r,a){return await f(this,J).patch(`associations/${e}/Documents/${t}`,r,a)}async createDirectory(e,t,r,a){return await f(this,J).post(`associations/${e}/Directories/${t}`,r,a)}async duplicateDocument(e,t,r,a){return await f(this,J).post(`associations/${e}/Documents/${t}`,r,a)}async uploadDocument(e,t,r,a){const{data:o}=await f(this,J).postForm(`associations/${e}/Documents`,{file:t,parentId:r},a);return o}async searchDocuments(e,t,r){const{data:a}=await f(this,J).get(`associations/${e}/Documents/Search`,{params:t,...r});return a}async getFeatures(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/features`,t);return r}async createPublicChatSession(e){const{data:t}=await f(this,J).post("AgentChat/Session/Public",e);return t}async createAuthenticatedChatSession(e){const{data:t}=await f(this,J).post("AgentChat/Session/Authenticate",e);return t}async getDirectory(e,t,r){const{data:a}=await f(this,J).get(`/Associations/${e}/directory`,{params:t,...r});return a}async getDirectoryTypes(e,t){const{data:r}=await f(this,J).get(`/Associations/${e}/directory/types`,t);return r}async getCommunityCalendarEvents(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/community-calendar`,{params:t,...r});return a}
39async getCommunityCalendarEvent(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/community-calendar/${t}`,r);return a}async createCommunityCalendarEvent(e,t,r){const{data:a}=await f(this,J).post(`/associations/${e}/community-calendar`,t,r);return a}async updateCommunityCalendarEvent(e,t,r,a){const{data:o}=await f(this,J).patch(`/associations/${e}/community-calendar/${t}`,r,a);return o}async deleteCommunityCalendarEvent(e,t,r){return await f(this,J).delete(`/associations/${e}/community-calendar/${t}`,r)}async getEventCategories(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/event-categories`,t);return r}async getEventCategory(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/event-categories/${t}`,r);return a}async getCommunityCalendarPermissions(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/community-calendar/permissions`,t);return r}async getBoardReports(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/board/BoardReports`,t);return r}async getBoardReportPermissions(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/board/BoardReports/permissions`,t);return r}async createBoardReportToken(e,t,r){const{data:a}=await f(this,J).post(`/associations/${e}/board/BoardReports/token`,t,r);return a}async getBankAccounts({associationId:e,...t},r){const{data:a}=await f(this,J).get(`/associations/${e}/bank-accounts`,{params:t,...r});return a}async getBankAccount({associationId:e,accountId:t},r){const{data:a}=await f(this,J).get(`/associations/${e}/bank-accounts/${t}`,r);return a}async getBankAccountTransactions({associationId:e,accountId:t,...r},a){const{data:o}=await f(this,J).get(`/associations/${e}/bank-accounts/${t}/transactions`,{params:r,...a});return o}async getBankAccountPermissions(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/bank-accounts/permissions`,t);return r}async getHomeowners({associationId:e,...t},r){const{data:a}=await f(this,J).get(`/associations/${e}/homeowners/list`,{params:t,...r});return a}async getHomeownerTags(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/homeowners/tags`,t);return r}async getHomeownerItems({associationId:e,ownerId:t,...r},a){const{data:o}=await f(this,J).get(`/associations/${e}/homeowners/${t}/items`,{params:r,...a});return o}async getHomeownerHeader(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/homeowners/${t}/header`,r);return a}async getChargeSummary(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/homeowners/${t}/charge-summary`,r);return a}async getChargeTransactions(e,t,r,a){const{data:o}=await f(this,J).get(`/associations/${e}/homeowners/${t}/charge-summary/${r}/transactions`,a);return o}async getChargeSummaryWithTransactions(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/homeowners/${t}/charge-summary-with-transactions`,r);return a}async getOwnerTransactions(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/homeowners/${t}/transactions`,r);return a}async getAssociationGeneralLedgerAccounts(e,t){const{data:r}=await f(this,J).get(`/Associations/${e}/GeneralLedgerAccounts`,{...t});return r||[]}async getAssociationFunds(e,t){const{data:r}=await f(this,J).get(`/Associations/${e}/Funds`,{...t});return r||[]}async getAssociationBankAccounts(e,t){const{data:r}=await f(this,J).get(`/Associations/${e}/BankAccounts`,{...t});return r||[]}async getCommunityFeedConfig(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/community-feed/config`,t);return r}async getCommunityFeedPosts(e,t,r){const{data:a}=await f(this,J).get(`/associations/${e}/community-feed/posts`,{params:t,...r});return a}async likeCommunityFeedPost(e,t,r){const{data:a}=await f(this,J).post(`/associations/${e}/community-feed/posts/${t}/reactions`,{type:"like"},r);return a}async unlikeCommunityFeedPost(e,t,r){await f(this,J).delete(`/associations/${e}/community-feed/posts/${t}/reactions/like`,r)}async getCommunityFeedPermissions(e,t){const{data:r}=await f(this,J).get(`/associations/${e}/community-feed/permissions`,t);return r}async createCommunityFeedPost(e,t,r){const{data:a}=await f(this,J).post(`/associations/${e}/community-feed/posts`,t,r);return a}
39async updateCommunityFeedPost(e,t,r,a){const{data:o}=await f(this,J).patch(`/associations/${e}/community-feed/posts/${t}`,r,a);return o}async deleteCommunityFeedPost(e,t,r,a){await f(this,J).delete(`/associations/${e}/community-feed/posts/${t}`,{data:r??{},...a})}async uploadCommunityFeedPostMedia(e,t,r,a){const o=new FormData;r.forEach(i=>o.append("files",i));const{data:s}=await f(this,J).post(`/associations/${e}/community-feed/posts/${t}/media`,o,{...a,headers:{"Content-Type":"multipart/form-data"}});return s}async deleteCommunityFeedPostMedia(e,t,r,a){await f(this,J).delete(`/associations/${e}/community-feed/posts/${t}/media/${r}`,a)}}J=new WeakMap;var Oe;class ES{constructor(e){Z(this,Oe);$(this,Oe,e),er(f(this,Oe))}async login(e,t){const{data:r}=await f(this,Oe).post("/Users/Authenticate",e,t);return r}async loginBySSO(e,t){const{data:r}=await f(this,Oe).post("/Users/AuthenticateSSO",e,t);return r}async getPortalToken(e){const{data:t}=await f(this,Oe).post("/Users/Authenticate/PortalToken",e);return t}async resetPassword(e,t){await f(this,Oe).put("/Users/Password/",e,t)}async createOneTimePassword(e,t){await f(this,Oe).post("/OneTimePassword",e,t)}async verifyOneTimePassword(e,t){const{data:r}=await f(this,Oe).post("/OneTimePassword/verify",e,t);return r}async getUser(e,t){const{data:r}=await f(this,Oe).get(`/Users/${e}`,t);return r}async getUserSecurities(e,t){const{data:r}=await f(this,Oe).get("/Security",{params:e,...t});return r}async getUserSettings(e={},t){const{data:r}=await f(this,Oe).get("/HomeSettings",{params:e,...t});return r}async getMessages(e,t){const{data:r}=await f(this,Oe).get("/Messages",{params:e,...t});return r}async markMessageRead(e,t){await f(this,Oe).patch("/Messages/MarkRead",e,t)}async createAccount(e,t,r){const{data:a}=await f(this,Oe).post(`/Homeowner/Registration/${e}`,t,r);return a}async registerAccount(e,t){const{data:r}=await f(this,Oe).post("/Homeowner/Registration",e,t);return r}async getContacts(e,t){const{data:r}=await f(this,Oe).get(`/Homeowner/${e}`,t);return r}async createContact(e,t,r){const{data:a}=await f(this,Oe).post(`/Homeowner/${e}/contact`,t,r);return a}async createAddress(e,t,r){const{data:a}=await f(this,Oe).post(`/Homeowner/${e}/address`,t,r);return a}async updateLogin(e,t){const{data:r}=await f(this,Oe).patch("/home/login",e,t);return r}async updateContact(e,t,r,a){const{data:o}=await f(this,Oe).patch(`/Homeowner/${e}/contact/${t}`,r,a);return o}async updateAddress(e,t,r,a){const{data:o}=await f(this,Oe).put(`/Homeowner/${e}/address/${t}`,r,a);return o}async deleteContact(e,t,r){const{data:a}=await f(this,Oe).delete(`/Homeowner/${e}/contact/${t}`,r);return a}async deleteAddress(e,t,r){const{data:a}=await f(this,Oe).delete(`/Homeowner/${e}/address/${t}`,r);return a}async getPreferences(e,t){const{data:r}=await f(this,Oe).get(`/Homeowner/${e}/Preferences`,t);return r}async updatePreferences(e,t,r){const{data:a}=await f(this,Oe).patch(`/Homeowner/${e}/Preferences`,t,r);return a}async resetPasswordOtp(e,t){const{data:r}=await f(this,Oe).put("/OneTimePassword/reset",e,t);return r}async getConfiguration(e){const{data:t}=await f(this,Oe).get("/Users/profile/configuration",e);return t}}Oe=new WeakMap;var oe;class rd{constructor(e){Z(this,oe);$(this,oe,e),er(f(this,oe))}async confirmAcknowledgement(e,t){const{data:r}=await f(this,oe).put(`/Acknowledgement/${e}/Confirm`,void 0,t);return r}async getAutoDraftEnrollments(e,t){const{data:r}=await f(this,oe).get("/AutoDraft",{params:e,...t});return r}async createAutoDraftEnrollment(e,t){const{data:r}=await f(this,oe).post("/AutoDraft/Setup",e,t);return r}async confirmAutoDraftEnrollment(e,t){await f(this,oe).put("/AutoDraft/Setup/Confirm",e,t)}async cancelAutoDraft(e,t){await f(this,oe).delete(`/AutoDraft/${e}`,t)}async updateAutoDraftEnrollment(e,t,r){const{data:a}=await f(this,oe).patch(`/AutoDraft/${e}`,t,r);return a}async createFuturePayment(e,t){const{data:r}=await f(this,oe).post("/FuturePayment/Setup",e,t);return r}async confirmFuturePayment(e,t,r){const{data:a}=await f(this,oe).put(`/FuturePayment/Setup/${e}/Confirm`,t??{},r);return a}
39async getFuturePayments({accountNumber:e,subLedgerId:t,nextPaymentDate:r,cancelled:a,processed:o},s){const i=[];t!==void 0&&i.push(["subLedgerId",t.toString()]),e!==void 0&&i.push(["accountNumber",e]),r!=null&&r.after&&i.push(["scheduledDate.after",r.after.toISOString().substring(0,10)]),r!=null&&r.before&&i.push(["scheduledDate.before",r.before.toISOString().substring(0,10)]),r!=null&&r.strictlyAfter&&i.push(["scheduledDate.strictlyAfter",r.strictlyAfter.toISOString().substring(0,10)]),r!=null&&r.strictlyBefore&&i.push(["scheduledDate.strictlyBefore",r.strictlyBefore.toISOString().substring(0,10)]),a&&i.push(["cancelled",a.toString()]),o!==void 0&&i.push(["processed",o.toString()]);const c=new URLSearchParams(i),{data:l}=await f(this,oe).get(`/FuturePayment?${c.toString()}`,s);return l}async cancelFuturePayment(e,t){await f(this,oe).delete(`/FuturePayment/${e}`,t)}async updateFuturePayment(e,t,r){const{data:a}=await f(this,oe).patch(`/FuturePayment/${e}`,t,{headers:{"Content-Type":"application/json"},...r});return a}
39async createLegacyAutoDraftEnrollment(e,t){const{data:r}=await f(this,oe).put("LegacyAutoDraft/Enroll",e,t);return r}async createLegacyAutoDraftSetup(e,t){const{data:r}=await f(this,oe).post("LegacyAutoDraft/Setup",e,t);return r}async getLedgers(e,t){const{data:r}=await f(this,oe).get("/Ledger",{params:e,...t});return r}async exportLedger(e,t){const r=this.getExportLedgerUrl(e),{data:a}=await f(this,oe).get(r,{responseType:"blob",...t});return a}getExportLedgerUrl(e){const t=[];for(const[a,o]of Object.entries(e))o!==void 0&&t.push([a,o.toString()]);return`/Ledger/Export?${new URLSearchParams(t).toString()}`}async getPayments(e,t){const{data:r}=await f(this,oe).get("/Payment",{params:e,...t});return r}async createPayment(e,t){const{data:r}=await f(this,oe).post("/Payment/Setup",e,t);return r}async confirmPayment(e,t,r){const{data:a}=await f(this,oe).put(`/Payment/Setup/${e}/Confirm`,t,r);return a}async cancelPayment(e,t){await f(this,oe).delete(`/Payment/Setup/${e}`,t)}async updatePayment(e,t,r){const{data:a}=await f(this,oe).patch(`/Payment/Setup/${e}`,t,r);return a}async getPaymentMethods(e){const{data:t}=await f(this,oe).get("/PaymentMethod",e);return t}async getPaymentMethodSetup(e,t){const{data:r}=await f(this,oe).post("/PaymentMethod/Setup",e,t);return r}async deletePaymentMethod(e,t){await f(this,oe).delete(`/PaymentMethod/${e}`,t)}async getPaymentMethod(e,t){const{data:r}=await f(this,oe).get(`/PaymentMethod/${e}`,t);return r}async getPaymentOptions(e,t){const{data:r}=await f(this,oe).get(`/Association/${e}/PaymentOption`,t);return r}async getPaymentProviders(e,t){const{data:r}=await f(this,oe).get("Payment/Providers",{params:e,...t});return r}async getPaymentProviderAction(e,t,r){const{data:a}=await f(this,oe).post(`Payment/Providers/${e}/Action`,t,r);return a}async getRecurringPayments({accountNumber:e,subLedgerId:t,nextPaymentDate:r},a){const o=[];t!==void 0&&o.push(["subLedgerId",t.toString()]),e!==void 0&&o.push(["accountNumber",e]),r!=null&&r.after&&o.push(["nextPaymentDate.after",ja(r.after,{format:"numeric"})]),r!=null&&r.before&&o.push(["nextPaymentDate.before",ja(r.before,{format:"numeric"})]),r!=null&&r.strictlyAfter&&o.push(["nextPaymentDate.strictlyAfter",ja(r.strictlyAfter,{format:"numeric"})]),r!=null&&r.strictlyBefore&&o.push(["nextPaymentDate.strictlyBefore",ja(r.strictlyBefore,{format:"numeric"})]);const s=new URLSearchParams(o),{data:i}=await f(this,oe).get(`/RecurringPayment?${s.toString()}`,a);return i}async createRecurringPayment(e,t){const{data:r}=await f(this,oe).post("/RecurringPayment/Setup",e,t);return r}async confirmRecurringPayment(e,t,r){const{data:a}=await f(this,oe).put(`/RecurringPayment/Setup/${e}/Confirm`,t??{},{headers:{"Content-Type":"application/json"},...r});return a}async updateRecurringPayment(e,t,r){const{data:a}=await f(this,oe).patch(`/RecurringPayment/${e}`,t,r);return a}async cancelRecurringPayment(e,t){await f(this,oe).delete(`/RecurringPayment/${e}`,t)}async getSubLedgers(e,t){const{data:r}=await f(this,oe).get("/Account",{params:e,...t});return r}async getUpcomingCharges(e,t){const{data:r}=await f(this,oe).get("/Charge",{params:e,...t});return r}async getBoardActions(e,t){const{data:r}=await f(this,oe).get("/BoardMember/BoardMemberTaskOverview",{params:{associationId:e},...t});return r}async getFeatures(e){const{data:t}=await f(this,oe).get("/Features",e);return t}async getUser(e,t,r){const a=new URLSearchParams;t!=null&&t.expand&&t.expand.forEach(s=>a.append("expand",s)),(t==null?void 0:t.createCustomerIfMissing)!==void 0&&a.append("createCustomerIfMissing",t.createCustomerIfMissing.toString());const{data:o}=await f(this,oe).get(`/Users/${e}${a.toString()?`?${a.toString()}`:""}`,r);return o}async getPropertyOwners(e,t){const{data:r}=await f(this,oe).get("/PropertyOwners",{params:e,...t});return r}async createOnboardingSession(e,t){const{data:r}=await f(this,oe).post(`/Users/${e}/OnboardingSessions`,{},t);return r}async updateOnboardingSession(e,t,r,a){const{data:o}=await f(this,oe).patch(`/Users/${e}/OnboardingSession/${t}`,r,a);return o}async getUnsubscribeStatus(e,t){const{data:r}=await f(this,oe).get("/notifications/unsubscribe",{params:{token:e},...t});return r}async confirmUnsubscribe(e,t){await f(this,oe).post("/notifications/unsubscribe/confirm",void 0,{params:{token:e},...t})}}oe=new WeakMap;let CS={};function Ro(){return CS}function fa(n,e){var i,c,l,u;const t=Ro(),r=(e==null?void 0:e.weekStartsOn)??((c=(i=e==null?void 0:e.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((u=(l=t.locale)==null?void 0:l.options)==null?void 0:u.weekStartsOn)??0,a=Xt(n,e==null?void 0:e.in),o=a.getDay(),s=(o<r?7:0)+o-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function go(n,e){return fa(n,{...e,weekStartsOn:1}
vendor: 5,647 bytes, line 39
39)}function ad(n,e){const t=Xt(n,e==null?void 0:e.in),r=t.getFullYear(),a=Or(t,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);const o=go(a),s=Or(t,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const i=go(s);return t.getTime()>=o.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function cl(n){const e=Xt(n),t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+n-+t}function RS(n,e,t){const[r,a]=nf(t==null?void 0:t.in,n,e),o=Li(r),s=Li(a),i=+o-cl(o),c=+s-cl(s);return Math.round((i-c)/rf)}function xS(n,e){const t=ad(n,e),r=Or(n,0);return r.setFullYear(t,0,4),r.setHours(0,0,0,0),go(r)}function TS(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}function DS(n){return!(!TS(n)&&typeof n!="number"||isNaN(+Xt(n)))}function OS(n,e){const t=Xt(n,e==null?void 0:e.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}const _S={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kS=(n,e,t)=>{let r;const a=_S[n];return typeof a=="string"?r=a:e===1?r=a.one:r=a.other.replace("{{count}}",e.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+r:r+" ago":r};function cs(n){return(e={})=>{const t=e.width?String(e.width):n.defaultWidth;return n.formats[t]||n.formats[n.defaultWidth]}}const IS={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},LS={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},MS={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},NS={date:cs({formats:IS,defaultWidth:"full"}),time:cs({formats:LS,defaultWidth:"full"}),dateTime:cs({formats:MS,defaultWidth:"full"})},FS={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},BS=(n,e,t,r)=>FS[n];function Qr(n){return(e,t)=>{const r=t!=null&&t.context?String(t.context):"standalone";let a;if(r==="formatting"&&n.formattingValues){const s=n.defaultFormattingWidth||n.defaultWidth,i=t!=null&&t.width?String(t.width):s;a=n.formattingValues[i]||n.formattingValues[s]}else{const s=n.defaultWidth,i=t!=null&&t.width?String(t.width):n.defaultWidth;a=n.values[i]||n.values[s]}const o=n.argumentCallback?n.argumentCallback(e):e;return a[o]}}const jS={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},US={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qS={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},HS={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},VS={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},$S={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},zS=(n,e)=>{const t=Number(n),r=t%100;if(r>20||r<10)switch(r%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},WS={ordinalNumber:zS,era:Qr({values:jS,defaultWidth:"wide"}),quarter:Qr({values:US,defaultWidth:"wide",argumentCallback:n=>n-1}),month:Qr({values:qS,defaultWidth:"wide"}),day:Qr({values:HS,defaultWidth:"wide"}),dayPeriod:Qr({values:VS,defaultWidth:"wide",formattingValues:$S,defaultFormattingWidth:"wide"})};function Jr(n){return(e,t={})=>{const r=t.width,a=r&&n.matchPatterns[r]||n.matchPatterns[n.defaultMatchWidth],o=e.match(a);if(!o)return null;const s=o[0],i=r&&n.parsePatterns[r]||n.parsePatterns[n.defaultParseWidth],c=Array.isArray(i)?KS(i,d=>d.test(s)):YS(i,d=>d.test(s));let l;l=n.valueCallback?n.valueCallback(c):c,l=t.valueCallback?t.valueCallback(l):l;const u=e.slice(s.length);return{value:l,rest:u}}
vendor: 9,160 bytes, line 39
39}function YS(n,e){for(const t in n)if(Object.prototype.hasOwnProperty.call(n,t)&&e(n[t]))return t}function KS(n,e){for(let t=0;t<n.length;t++)if(e(n[t]))return t}function GS(n){return(e,t={})=>{const r=e.match(n.matchPattern);if(!r)return null;const a=r[0],o=e.match(n.parsePattern);if(!o)return null;let s=n.valueCallback?n.valueCallback(o[0]):o[0];s=t.valueCallback?t.valueCallback(s):s;const i=e.slice(a.length);return{value:s,rest:i}}}const QS=/^(\d+)(th|st|nd|rd)?/i,JS=/\d+/i,XS={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ZS={any:[/^b/i,/^(a|c)/i]},eA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},tA={any:[/1/i,/2/i,/3/i,/4/i]},nA={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},rA={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},aA={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},oA={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},sA={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},iA={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},cA={ordinalNumber:GS({matchPattern:QS,parsePattern:JS,valueCallback:n=>parseInt(n,10)}),era:Jr({matchPatterns:XS,defaultMatchWidth:"wide",parsePatterns:ZS,defaultParseWidth:"any"}),quarter:Jr({matchPatterns:eA,defaultMatchWidth:"wide",parsePatterns:tA,defaultParseWidth:"any",valueCallback:n=>n+1}),month:Jr({matchPatterns:nA,defaultMatchWidth:"wide",parsePatterns:rA,defaultParseWidth:"any"}),day:Jr({matchPatterns:aA,defaultMatchWidth:"wide",parsePatterns:oA,defaultParseWidth:"any"}),dayPeriod:Jr({matchPatterns:sA,defaultMatchWidth:"any",parsePatterns:iA,defaultParseWidth:"any"})},lA={code:"en-US",formatDistance:kS,formatLong:NS,formatRelative:BS,localize:WS,match:cA,options:{weekStartsOn:0,firstWeekContainsDate:1}};function uA(n,e){const t=Xt(n,e==null?void 0:e.in);return RS(t,OS(t))+1}function dA(n,e){const t=Xt(n,e==null?void 0:e.in),r=+go(t)-+xS(t);return Math.round(r/fu)+1}function od(n,e){var u,d,h,p;const t=Xt(n,e==null?void 0:e.in),r=t.getFullYear(),a=Ro(),o=(e==null?void 0:e.firstWeekContainsDate)??((d=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((p=(h=a.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??1,s=Or((e==null?void 0:e.in)||n,0);s.setFullYear(r+1,0,o),s.setHours(0,0,0,0);const i=fa(s,e),c=Or((e==null?void 0:e.in)||n,0);c.setFullYear(r,0,o),c.setHours(0,0,0,0);const l=fa(c,e);return+t>=+i?r+1:+t>=+l?r:r-1}function fA(n,e){var i,c,l,u;const t=Ro(),r=(e==null?void 0:e.firstWeekContainsDate)??((c=(i=e==null?void 0:e.locale)==null?void 0:i.options)==null?void 0:c.firstWeekContainsDate)??t.firstWeekContainsDate??((u=(l=t.locale)==null?void 0:l.options)==null?void 0:u.firstWeekContainsDate)??1,a=od(n,e),o=Or((e==null?void 0:e.in)||n,0);return o.setFullYear(a,0,r),o.setHours(0,0,0,0),fa(o,e)}function hA(n,e){const t=Xt(n,e==null?void 0:e.in),r=+fa(t,e)-+fA(t,e);return Math.round(r/fu)+1}function Le(n,e){const t=n<0?"-":"",r=Math.abs(n).toString().padStart(e,"0");return t+r}const dn={y(n,e){const t=n.getFullYear(),r=t>0?t:1-t;return Le(e==="yy"?r%100:r,e.length)},M(n,e){const t=n.getMonth();return e==="M"?String(t+1):Le(t+1,2)},d(n,e){return Le(n.getDate(),e.length)},a(n,e){const t=n.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(n,e){return Le(n.getHours()%12||12,e.length)},H(n,e){return Le(n.getHours(),e.length)},m(n,e){return Le(n.getMinutes(),e.length)},s(n,e){return Le(n.getSeconds(),e.length)},S(n,e){const t=e.length,r=n.getMilliseconds(),a=Math.trunc(r*Math.pow(10,t-3));return Le(a,e.length)}},pr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ll={G:function(n,e,t){const r=n.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return t.era(r,{width:"abbreviated"});case"GGGGG":return t.era(r,{width:"narrow"});case"GGGG":default:return t.era(r,{width:"wide"})}},y:function(n,e,t){if(e==="yo"){const r=n.getFullYear(),a=r>0?r:1-r;return t.ordinalNumber(a,{unit:"year"})}return dn.y(n,e)},Y:function(n,e,t,r){const a=od(n,r),o=a>0?a:1-a;if(e==="YY"){const s=o%100;return Le(s,2)}return e==="Yo"?t.ordinalNumber(o,{unit:"year"}):Le(o,e.length)},R:function(n,e){const t=ad(n);return Le(t,e.length)},u:function(n,e){const t=n.getFullYear();return Le(t,e.length)},Q:function(n,e,t){const r=Math.ceil((n.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Le(r,2);case"Qo":return t.ordinalNumber(r,{unit:"quarter"});case"QQQ":return t.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,e,t){const r=Math.ceil((n.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Le(r,2);case"qo":return t.ordinalNumber(r,{unit:"quarter"});case"qqq":return t.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,e,t){const r=n.getMonth();switch(e){case"M":case"MM":return dn.M(n,e);case"Mo":return t.ordinalNumber(r+1,{unit:"month"});case"MMM":return t.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(r,{width:"wide",context:"formatting"})}},L:function(n,e,t){const r=n.getMonth();switch(e){case"L":return String(r+1);case"LL":return Le(r+1,2);case"Lo":return t.ordinalNumber(r+1,{unit:"month"});case"LLL":return t.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(r,{width:"wide",context:"standalone"})}},w:function(n,e,t,r){const a=hA(n,r);return e==="wo"?t.ordinalNumber(a,{unit:"week"}):Le(a,e.length)},I:function(n,e,t){const r=dA(n);return e==="Io"?t.ordinalNumber(r,{unit:"week"}):Le(r,e.length)},d:function(n,e,t){return e==="do"?t.ordinalNumber(n.getDate(),{unit:"date"}):dn.d(n,e)},D:function(n,e,t){const r=uA(n);return e==="Do"?t.ordinalNumber(r,{unit:"dayOfYear"}):Le(r,e.length)},E:function(n,e,t){const r=n.getDay();switch(e){case"E":case"EE":case"EEE":return t.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(r,{width:"short",context:"formatting"});case"EEEE":default:return t.day(r,{width:"wide",context:"formatting"})}},e:function(n,e,t,r){const a=n.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return Le(o,2);case"eo":return t.ordinalNumber(o,{unit:"day"});case"eee":return t.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(a,{width:"short",context:"formatting"});case"eeee":default:return t.day(a,{width:"wide",context:"formatting"})}},c:function(n,e,t,r){const a=n.getDay(),o=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return Le(o,e.length);case"co":return t.ordinalNumber(o,{unit:"day"});case"ccc":return t.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(a,{width:"narrow",context:"standalone"});case"cccccc":return t.day(a,{width:"short",context:"standalone"});case"cccc":default:return t.day(a,{width:"wide",context:"standalone"})}},i:function(n,e,t){const r=n.getDay(),a=r===0?7:r;switch(e){case"i":return String(a);case"ii":return Le(a,e.length);case"io":return t.ordinalNumber(a,{unit:"day"});case"iii":return t.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(r,{width:"short",context:"formatting"});case"iiii":default:return t.day(r,{width:"wide",context:"formatting"})}},a:function(n,e,t){const a=n.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,e,t){const r=n.getHours();let a;switch(r===12?a=pr.noon:r===0?a=pr.midnight:a=r/12>
vendor: 4,685 bytes, line 39
39=1?"pm":"am",e){case"b":case"bb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,e,t){const r=n.getHours();let a;switch(r>=17?a=pr.evening:r>=12?a=pr.afternoon:r>=4?a=pr.morning:a=pr.night,e){case"B":case"BB":case"BBB":return t.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,e,t){if(e==="ho"){let r=n.getHours()%12;return r===0&&(r=12),t.ordinalNumber(r,{unit:"hour"})}return dn.h(n,e)},H:function(n,e,t){return e==="Ho"?t.ordinalNumber(n.getHours(),{unit:"hour"}):dn.H(n,e)},K:function(n,e,t){const r=n.getHours()%12;return e==="Ko"?t.ordinalNumber(r,{unit:"hour"}):Le(r,e.length)},k:function(n,e,t){let r=n.getHours();return r===0&&(r=24),e==="ko"?t.ordinalNumber(r,{unit:"hour"}):Le(r,e.length)},m:function(n,e,t){return e==="mo"?t.ordinalNumber(n.getMinutes(),{unit:"minute"}):dn.m(n,e)},s:function(n,e,t){return e==="so"?t.ordinalNumber(n.getSeconds(),{unit:"second"}):dn.s(n,e)},S:function(n,e){return dn.S(n,e)},X:function(n,e,t){const r=n.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return dl(r);case"XXXX":case"XX":return _n(r);case"XXXXX":case"XXX":default:return _n(r,":")}},x:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"x":return dl(r);case"xxxx":case"xx":return _n(r);case"xxxxx":case"xxx":default:return _n(r,":")}},O:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+ul(r,":");case"OOOO":default:return"GMT"+_n(r,":")}},z:function(n,e,t){const r=n.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+ul(r,":");case"zzzz":default:return"GMT"+_n(r,":")}},t:function(n,e,t){const r=Math.trunc(+n/1e3);return Le(r,e.length)},T:function(n,e,t){return Le(+n,e.length)}};function ul(n,e=""){const t=n>0?"-":"+",r=Math.abs(n),a=Math.trunc(r/60),o=r%60;return o===0?t+String(a):t+String(a)+e+Le(o,2)}function dl(n,e){return n%60===0?(n>0?"-":"+")+Le(Math.abs(n)/60,2):_n(n,e)}function _n(n,e=""){const t=n>0?"-":"+",r=Math.abs(n),a=Le(Math.trunc(r/60),2),o=Le(r%60,2);return t+a+e+o}const fl=(n,e)=>{switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},sd=(n,e)=>{switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},mA=(n,e)=>{const t=n.match(/(P+)(p+)?/)||[],r=t[1],a=t[2];if(!a)return fl(n,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;case"PPPP":default:o=e.dateTime({width:"full"});break}return o.replace("{{date}}",fl(r,e)).replace("{{time}}",sd(a,e))},pA={p:sd,P:mA},yA=/^D+$/,gA=/^Y+$/,vA=["D","DD","YY","YYYY"];function bA(n){return yA.test(n)}function wA(n){return gA.test(n)}function PA(n,e,t){const r=SA(n,e,t);if(console.warn(r),vA.includes(n))throw new RangeError(r)}function SA(n,e,t){const r=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${e}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const AA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,EA=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,CA=/^'([^]*?)'?$/,RA=/''/g,xA=/[a-zA-Z]/;function TA(n,e,t){var u,d,h,p,y,g,w,m;const r=Ro(),a=(t==null?void 0:t.locale)??r.locale??lA,o=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((p=(h=r.locale)==null?void 0:h.options)==null?void 0:p.firstWeekContainsDate)??1,s=(t==null?void 0:t.weekStartsOn)??((g=(y=t==null?void 0:t.locale)==null?void 0:y.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((m=(w=r.locale)==null?void 0:w.options)==null?void 0:m.weekStartsOn)??0,i=Xt(n,t==null?void 0:t.in);if(!DS(i))throw new RangeError("Invalid time value");let c=e.match(EA).map(b=>{const C=b[0];if(C==="p"||C==="P"){const R=pA[C];return R(b,a.formatLong)}return b}).join("").match(AA).map(b=>{if(b==="''")return{isToken:!1,value:"'"};const C=b[0];if(C==="'")return{isToken:!1,value:DA(b)};if(ll[C])return{isToken:!0,value:b};
39if(C.match(xA))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:b}});a.localize.preprocessor&&(c=a.localize.preprocessor(i,c));const l={firstWeekContainsDate:o,weekStartsOn:s,locale:a};return c.map(b=>{if(!b.isToken)return b.value;const C=b.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&wA(C)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&bA(C))&&PA(C,e,String(n));const R=ll[C[0]];return R(i,C,a.localize,l)}).join("")}function DA(n){const e=n.match(CA);return e?e[1].replace(RA,"'"):n}function it(n){const e=new FormData;for(const[t,r]of Object.entries(n))Array.isArray(r)?r.forEach(a=>hl(e,t,a)):hl(e,t,r);return e}function hl(n,e,t){if(t!==void 0)if(typeof t=="string")n.append(e,t);else if(typeof t=="number"||typeof t=="boolean")n.append(e,t.toString());else if(t instanceof FileList||t&&typeof t=="object"&&"length"in t)for(let r=0;r<t.length;r++){const a=t[r];n.append(e,a,a.name)}else console.error("Debug - Unexpected value type in addDataToFormData:",typeof t,t)}function Xr(n){if(n)return TA(n,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")}var M;class OA{constructor(e){Z(this,M);$(this,M,e),er(f(this,M))}async getHomeownerRequests(e,t){const{data:r}=await f(this,M).get("/HomeownerRequests",{params:e,...t});return r}async getBoardArcRequests(e,t){const{data:r}=await f(this,M).get("/Board/ArcRequests",{params:e,...t});return r}async getBoardArcRequest(e,t){const{data:r}=await f(this,M).get(`/Board/ArcRequests/${e}`,{...t});return r}async getBoardArcMessages(e,t){const{data:r}=await f(this,M).get(`/Board/ArcRequests/${e}/Messages`,{...t});return r}async getAttachmentsByActionItem(e,t){const{data:r}=await f(this,M).get(`/Attachments/GetAttachmentsByActionItem?actionItemId=${e}`,{...t});return r}async getAttachmentByImageId(e,t){const r=await f(this,M).get(`/Attachments?imgId=${e}`,{...t,responseType:"blob"});return{blob:r.data,contentType:String(r.headers["content-type"]??"")}}async updateBoardArcVote(e,t,r){const a=it(t),{data:o}=await f(this,M).post(`/Board/ArcRequests/${e}/Vote`,a,{...r});return o}async updateChairArcVote(e,t,r){const{data:a}=await f(this,M).post(`/Board/ArcRequests/${e}/ChairDecision`,t,{...r});return a}async sendMessage(e,t){const r=it(e),{data:a}=await f(this,M).post("/Board/ArcRequests/Message",r,{...t});return a}async getPortalRequests(e,t){const{data:r}=await f(this,M).get("/home/requests",{params:e,...t});return r}async getPortalRequest(e,t){const{data:r}=await f(this,M).get(`/home/requests/${e}`,{...t});return r}async getPortalRequestMessages(e,t){const{data:r}=await f(this,M).get(`/home/requests/${e}/messages`,{...t});return r}async getPortalRequestRecipients(e,t){const{data:r}=await f(this,M).get(`/home/requests/${e}/recipients`,{...t});return r}async sendPortalRequestMessage(e,t){const r=it(e),{data:a}=await f(this,M).post(`/home/requests/${e.actionItemId}/messages`,r,{...t});return a}async getHomeArcRequestsDocuments(e,t){const{data:r}=await f(this,M).get("/Home/ArcRequests/Documents",{params:e,...t});return r.documents||[]}async getHomeArcRequestsProperties(e,t){const{data:r}=await f(this,M).get("/Home/ArcRequests/properties",{params:e,...t});return r.properties||[]}async getHomeArcRequestsWorkAreas(e,t){const{data:r}=await f(this,M).get("/Home/ArcRequests/WorkAreas",{params:e,...t});return r.workAreas||[]}async submitArcRequest(e,t){var o,s;const r=it({...e,startDate:(o=e==null?void 0:e.startDate)==null?void 0:o.toISOString(),endDate:(s=e==null?void 0:e.endDate)==null?void 0:s.toISOString()}),{data:a}=await f(this,M).post("/Home/ArcRequests",r,{...t});return a}async getHomeGeneralRequestsProperties(e,t){const{data:r}=await f(this,M).get("/Home/GeneralRequests/Properties",{params:e,...t});return r.properties||[]}async getHomeGeneralRequestsUploadSettings(e){const{data:t}=await f(this,M).get("/Home/GeneralRequests/UploadSettings",{...e});return t.uploadSettings}async getHomeGeneralRequestsRequestTypes(e,t){const{data:r}=await f(this,M).get("/Home/GeneralRequests/RequestTypes",{params:e,...t});return r.requestTypes||[]}
39async submitGeneralRequest(e,t){const r=it(e),{data:a}=await f(this,M).post("/Home/GeneralRequests",r,{...t});return a}async getWorkOrderSteps(e,t){const{data:r}=await f(this,M).get("/WorkOrders/WorkOrderSteps",{params:e,...t});return r||[]}async createWorkOrder(e,t){const r=new FormData;if(r.append("createdDate",e.createdDate.toISOString()),r.append("actionTypeId",e.actionTypeId.toString()),r.append("actionStepId",e.actionStepId.toString()),r.append("assocId",e.assocId.toString()),e.ownerId!==void 0&&r.append("ownerId",e.ownerId.toString()),e.followUpDate&&r.append("followUpDate",e.followUpDate.toISOString()),e.dueDate&&r.append("dueDate",e.dueDate.toISOString()),e.serviceProviderId!==void 0&&r.append("serviceProviderId",e.serviceProviderId.toString()),e.providerContactId!==void 0&&r.append("providerContactId",e.providerContactId.toString()),e.serviceId!==void 0&&r.append("serviceId",e.serviceId.toString()),e.subject&&r.append("subject",e.subject),e.description&&r.append("description",e.description),e.otherEmail&&r.append("otherEmail",e.otherEmail),e.latitude&&r.append("latitude",e.latitude),e.longitude&&r.append("longitude",e.longitude),e.files)for(let o=0;o<e.files.length;o++){const s=e.files[o];r.append("files",s,s.name)}const{data:a}=await f(this,M).post("/WorkOrders",r,{...t});return a}async getBoardTodoList(e,t){const{data:r}=await f(this,M).get("/Board/BoardTodo",{params:e,...t});return r}async getBoardTodoSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardTodo/Security",{params:e,...t});return r}async getBoardInspectionsSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardInspections/Security",{params:{associationId:e},...t});return r}async getBoardInspections(e,t){const{data:r}=await f(this,M).get("/Board/BoardInspections",{params:{associationId:e},...t});return r}async getBoardInspectionViolations(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardInspections/${e}/Violations`,{params:{associationId:t},...r});return a}async updateViolationNote(e,t,r,a){const{data:o}=await f(this,M).put(`/Board/BoardInspections/${e}/Violations/${t}/Note`,r,{...a});return o}async verifyBoardInspection(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardInspections/${e}/Verify`,{params:{associationId:t},...r});return a}async downloadBoardInspectionReport(e,t,r){const a=await f(this,M).get(`/Board/BoardInspections/${e}/Report`,{params:{associationId:t},responseType:"blob",headers:{Accept:"application/pdf"},...r}),o=a.headers["content-disposition"];let s=`Inspection_Report_${e}.pdf`;if(o){const i=o.match(/filename="?([^";\n]+)"?/);i!=null&&i[1]&&(s=i[1])}return{blob:a.data,filename:s}}async getViolationDetail(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardInspections/Violations/${e}`,{params:{associationId:t,inspectionId:r},...a});return o}async getViolationMessageRecipients(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardInspections/Violations/${e}/Recipients`,{params:{associationId:t},...r});return a}async getInspectionNextSteps(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardInspections/${e}/Steps`,{params:{associationId:t,isApproval:r},...a});return o}async reviewCompleteInspection(e,t,r){const a=it({...t}),{data:o}=await f(this,M).put(`/Board/BoardInspections/${e}/ReviewComplete`,a,{...r});return o}async submitViolationMessage(e,t,r){const a=it(t),{data:o}=await f(this,M).post(`/Board/BoardInspections/Violations/${e}/Messages`,a,{...r});return o}async getBoardViolationsSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardViolations/Security",{params:{associationId:e},...t});return r}async getBoardViolations(e,t){const{data:r}=await f(this,M).get("/Board/BoardViolations",{params:e,...t});return r}async getBoardViolationDetail(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardViolations/${e}`,{params:{associationId:t},...r});return a}async getViolationNextSteps(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardViolations/${e}/Steps`,{params:{associationId:t,transactionType:r},...a});return o}async changeViolationStep(e,t,r){const a=it({...t}),{data:o}=await f(this,M).put(`/Board/BoardViolations/${e}/ChangeStep`,a,{...r});return o}async getBoardRequestNextSteps(e,t,r,a){const{data:o}=await f(this,M).get(`/board/requests/${e}/Steps`,{params:{associationId:t,transactionType:r},...a});return o}async changeBoardRequestStep(e,t,r){const a=it({...t}),{data:o}=await f(this,M).put(`/board/requests/${e}/ChangeStep`,a,{...r});return o}async getBoardCollectionsSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardCollections/Security",{params:{associationId:e},...t});return r}async getBoardCollections(e,t){const{data:r}=await f(this,M).get("/Board/BoardCollections",{params:e,...t});return r}async getBoardCollectionDetail(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardCollections/${e}`,{params:{associationId:t},...r});return a}
39async getCollectionNextSteps(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardCollections/${e}/Steps`,{params:{associationId:t,transactionType:r},...a});return o}async changeCollectionStep(e,t,r){const a=it({...t}),{data:o}=await f(this,M).put(`/Board/BoardCollections/${e}/ChangeStep`,a,{...r});return o}async getBoardCollectionHtmlNote(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardCollections/${e}/Messages/${t}/HtmlNote`,{params:{associationId:r},...a});return o}async getBoardCollectionMergedEmail(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardCollections/${e}/Messages/${t}/MergedEmail`,{params:{associationId:r},...a});return o}async getBoardWorkOrdersSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardWorkOrders/Security",{params:{associationId:e},...t});return r}async getBoardWorkOrders(e,t){const{data:r}=await f(this,M).get("/Board/BoardWorkOrders",{params:e,...t});return r}async getBoardWorkOrderDetail(e,t,r){const{data:a}=await f(this,M).get(`/Board/BoardWorkOrders/${e}`,{params:{associationId:t},...r});return a}async getWorkOrderNextSteps(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardWorkOrders/${e}/Steps`,{params:{associationId:t,transactionType:r},...a});return o}async changeWorkOrderStep(e,t,r){const a=it({...t}),{data:o}=await f(this,M).put(`/Board/BoardWorkOrders/${e}/ChangeStep`,a,{...r});return o}async getBoardWorkOrderHtmlNote(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardWorkOrders/${e}/Messages/${t}/HtmlNote`,{params:{associationId:r},...a});return o}async getBoardWorkOrderMergedEmail(e,t,r,a){const{data:o}=await f(this,M).get(`/Board/BoardWorkOrders/${e}/Messages/${t}/MergedEmail`,{params:{associationId:r},...a});return o}async getGeneralAmenityCalendarEvents(e,t){const{data:r}=await f(this,M).get("/Amenities/Calendar/General/Events",{params:e,...t});return r}async getPublicGeneralAmenityCalendarEvents(e,t){const{data:r}=await f(this,M).get("/Amenities/Public/Calendar/General/Events",{params:e,...t});return r}async getAmenityResourcesCalendarEvents(e,t){const{data:r}=await f(this,M).get("/Amenities/Calendar/AmenityResources/Events",{params:e,...t});return r.items}async getPublicAmenityResourcesCalendarEvents(e,t){const{data:r}=await f(this,M).get("/Amenities/Public/Calendar/AmenityResources/Events",{params:e,...t});return r}async getAmenityCatalog(e,t){const{data:r}=await f(this,M).get("/Amenities",{params:e,...t});return r.items}async getAmenityCatalogItem(e,t,r){const{data:a}=await f(this,M).get(`/Amenities/${e}`,{params:t,...r});return a}async getReservationRequestContext(e,t){const{data:r}=await f(this,M).get("/Amenities/ReservationRequest",{params:e,...t});return r}async createReservationRequest(e,t){const r=it({...e,reservationStartDate:Xr(e.reservationStartDate),reservationEndDate:Xr(e.reservationEndDate),reminderDate:Xr(e.reminderDate)}),{data:a}=await f(this,M).post("/Amenities/ReservationRequest",r,{...t});return a}async updateReservationRequest(e,t,r){const a=it({...t,startTime:Xr(t.startTime),endTime:Xr(t.endTime)}),{data:o}=await f(this,M).patch(`/Amenities/ReservationRequest/${e}`,a,{...r});return o}async deleteReservationRequest(e,t){await f(this,M).delete(`/Amenities/ReservationRequest/${e}`,{...t})}async getMyAmenityReservations(e){const{data:t}=await f(this,M).get("/Amenities/MyReservations",{...e});return t.items}async getAmenityReservationStatus(e,t){const{data:r}=await f(this,M).get("/Amenities/ReservationStatus",{params:e,...t});return r.items}async getSubmitRequestContext(e,t){const{data:r}=await f(this,M).get("/Amenities/SubmitRequest",{params:e,...t});return r}async getBoardInvoices(e,t){const{data:r}=await f(this,M).get("/Board/BoardInvoices",{params:e,...t});return r||[]}async getBoardInvoice(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}`,{...t});return r}async getBoardInvoiceMessages(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/Messages`,{...t});return r||[]}async getBoardInvoiceNextSteps(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/NextSteps`,{...t});return r||[]}async getBoardInvoiceDeclineNextSteps(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/DeclineNextSteps`,{...t});return r||[]}async getBoardInvoiceRecentInvoices(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/RecentInvoices`,{...t});return r||[]}async getBoardInvoicesSecurity(e,t){const{data:r}=await f(this,M).get("/Board/BoardInvoices/Security",{params:e,...t});return r}async bulkApproveInvoices(e,t){const{data:r}=await f(this,M).post("/Board/BoardInvoices/BulkApprove",e,{...t});return r}async approveInvoice(e,t,r){const a=it(e),{data:o}=await f(this,M).post(`/Board/BoardInvoices/${t}/Approve`,a,{...r});return o}async declineInvoice(e,t,r){const a=it(e),{data:o}=await f(this,M).post(`/Board/BoardInvoices/${t}/Decline`,a,{...r});return o}async getBoardInvoiceGeneralLedgerPermissions(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/GeneralLedgerDetails/Permissions`,{...t});return r}async getBoardInvoiceGeneralLedgerDetails(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/GeneralLedgerDetails`,{...t});return r||[]}async createBoardInvoiceGeneralLedgerDetail(e,t,r){const{data:a}=await f(this,M).post(`/Board/BoardInvoices/${e}/GeneralLedgerDetails`,t,{...r});return a}
39async updateBoardInvoiceGeneralLedgerDetail(e,t,r,a){const{data:o}=await f(this,M).put(`/Board/BoardInvoices/${e}/GeneralLedgerDetails/${t}`,r,{...a});return o}async deleteBoardInvoiceGeneralLedgerDetail(e,t,r){await f(this,M).delete(`/Board/BoardInvoices/${e}/GeneralLedgerDetails/${t}`,{...r})}async getInvoiceGeneralLedgerValidation(e,t){const{data:r}=await f(this,M).get(`/Board/BoardInvoices/${e}/GeneralLedgerValidation`,{...t});return r}async getBoardRequest({actionItemId:e,...t},r){const{data:a}=await f(this,M).get(`/board/requests/${e}`,{params:t,...r});return a}async getBoardRecipients({actionItemId:e,...t},r){const{data:a}=await f(this,M).get(`/board/requests/${e}/recipients`,{params:t,...r});return a||[]}async getBoardMessages({actionItemId:e,...t},r){const{data:a}=await f(this,M).get(`/board/requests/${e}/messages`,{params:t,...r});return a||[]}async getBoardMessageAttachments({actionItemId:e,messageId:t,...r},a){const{data:o}=await f(this,M).get(`/board/requests/${e}/messages/${t}/attachments`,{params:r,...a});return o||[]}async sendBoardMessage(e,t,r){const a=it(e),{data:o}=await f(this,M).post(`/board/requests/${e.actionItemId}/messages`,a,{...t&&{params:{associationId:t}},...r});return o}async markBoardMessageAsRead(e,t,r){await f(this,M).post(`/home/requests/${e}/messages/${t}/markAsRead`,void 0,{...r})}async getBoardRequestsList(e,t){const{data:r}=await f(this,M).post("/board/requests/query",e,{...t});return r}async getBoardRequestsSecurity(e,t,r){const{data:a}=await f(this,M).get("/board/requests/security",{params:{category:e,associationId:t},...r});return a}async listArcRequestDrafts(e){const{data:t}=await f(this,M).get("/Home/ArcRequests/Drafts",{...e});return t}async createArcRequestDraft(e){const{data:t}=await f(this,M).post("/Home/ArcRequests/Drafts",void 0,{...e});return t}async getArcRequestDraft(e,t){const{data:r}=await f(this,M).get(`/Home/ArcRequests/Drafts/${e}`,{...t});return r}async listArcRequestDraftAttachments(e,t){const{data:r}=await f(this,M).get(`/Home/ArcRequests/Drafts/${e}/Attachments`,{...t});return r}async uploadArcRequestDraftAttachments(e,t,r){const a=it(t),{data:o}=await f(this,M).post(`/Home/ArcRequests/Drafts/${e}/Attachments`,a,{...r});return o}async clearArcRequestDraftAttachments(e,t){await f(this,M).delete(`/Home/ArcRequests/Drafts/${e}/Attachments`,{...t})}async deleteArcRequestDraftAttachment(e,t,r){await f(this,M).delete(`/Home/ArcRequests/Drafts/${e}/Attachments/${t}`,{...r})}async deleteArcRequestDraft(e,t){await f(this,M).delete(`/Home/ArcRequests/Drafts/${e}`,{...t})}async getGroupedHomeForms(e,t){const{data:r}=await f(this,M).get("/Home/Forms/grouped",{params:e,...t});return r}async getHomeForm(e,t){const{data:r}=await f(this,M).get(`/Home/Forms/${e}`,{...t});return r}async submitHomeForm(e,t){const r=new FormData;r.append("FormDefinitionId",String(e.formDefinitionId)),r.append("AssocId",String(e.assocId)),r.append("OwnerId",String(e.ownerId));for(const[o,s]of Object.entries(e.mappedFields))r.append(`MappedFields[${o}]`,s);for(const[o,s]of Object.entries(e.dynamicFields))r.append(`DynamicFields[${o}]`,s);if(e.files)for(const o of e.files)r.append("Files",o,o.name);const{data:a}=await f(this,M).post("/Home/FormSubmissions",r,{...t});return a}}M=new WeakMap;var Be;class _A{constructor(e){Z(this,Be);$(this,Be,e),er(f(this,Be))}async authenticate(e,t){const{data:r}=await f(this,Be).post("/authenticate",e,t);return r}async createIntent(e,t){const{data:r}=await f(this,Be).post("/express-pay",e,t);return r}async acknowledge(e,t){await f(this,Be).put(`/acknowledgement/${e}/confirm`,t)}async getAccount(e){const{data:t}=await f(this,Be).get("/account",e);return t}async getReminderTextEnrollment(e){const{data:t}=await f(this,Be).get("/account/reminder-text-enrollment",e);return t}async setReminderTextEnrollment(e,t){const{data:r}=await f(this,Be).put("/account/reminder-text-enrollment",e,t);return r}async getPaymentMethods(e){const{data:t}=await f(this,Be).get("/account/payment-methods",e);return t}async createRecurringPaymentMethodIntent(e,t){const{data:r}=await f(this,Be).post("/account/payment-methods/setup",e,t);return r}async getFeatures(e){const{data:t}=await f(this,Be).get("/features",e);return t}async getPayments(e){const{data:t}=await f(this,Be).get("/payments",e);return t}async getRecurringPaymentSettings(e){const{data:t}=await f(this,Be).get("/recurring-payments/settings",e);return t}async createRecurringPayment(e,t){const{data:r}=await f(this,Be).post("/recurring-payments/setup",e,t);return r}async confirmRecurringPayment(e,t,r){const{data:a}=await f(this,Be).put(`/recurring-payments/setup/${e}/confirm`,t,r);return a}
39async updateIntent(e,t,r){const{data:a}=await f(this,Be).patch(`/express-pay/${e}`,t,r);return a}async confirmPayment(e,t,r){const{data:a}=await f(this,Be).put(`/express-pay/${e}/confirm`,t,r);return a}async getEnrollmentEligibility(e){const{data:t}=await f(this,Be).get("/check-migration",e);return t}async enrollOneClickRecurring(e,t){const{data:r}=await f(this,Be).post("/check-migration/recurring",e,t);return r}async payOneClickOneTime(e,t){const{data:r}=await f(this,Be).post("/check-migration/one-time",e,t);return r}async enrollFallbackRecurring(e,t){const{data:r}=await f(this,Be).post("/check-migration/fallback/recurring",e,t);return r}async payFallbackOneTime(e,t){const{data:r}=await f(this,Be).post("/check-migration/fallback/one-time",e,t);return r}}Be=new WeakMap;var Lt;class kA{constructor(e){Z(this,Lt);$(this,Lt,e),er(f(this,Lt))}async getConfig(e,t,r){let a="";e&&(a=`?associationCode=${e}`),t&&(a=`?associationId=${t}`);const{data:o}=await f(this,Lt).get(`/configuration${a}`,r);return o}async authenticate(e,t){const{data:r}=await f(this,Lt).post("/session",e,t);return r}async getAccount(e){const{data:t}=await f(this,Lt).get("/account",e);return t}async getUpcomingCharges(e,t){const{data:r}=await f(this,Lt).get(`/subledger/${e}/assessments`,t);return r}async createGuestPayment(e,t){const{data:r}=await f(this,Lt).post("/payment",e,t);return r}async confirmGuestPayment(e,t,r){const{data:a}=await f(this,Lt).patch(`/payment/${e}/confirm`,t,r);return a}async classifyGuestPayment(e,t,r){const{data:a}=await f(this,Lt).patch(`/payment/${e}`,t,r);return a}}Lt=new WeakMap;var Gt;class IA{constructor(e){Z(this,Gt);$(this,Gt,e),er(f(this,Gt))}async getBoardCommunications(e,t){const{data:r}=await f(this,Gt).get("/BoardCommunications",{params:e,...t});return r}async getBoardCommunication(e,t){const{data:r}=await f(this,Gt).get(`/BoardCommunications/${e}`,{...t});return r}async getBoardCommunicationsConfiguration(e,t){const{data:r}=await f(this,Gt).get(`/BoardCommunications/Configuration/${e}`,{...t});return r}async createBoardCommunication(e,t){return await f(this,Gt).post("/BoardCommunications",e,t)}async clearMessages(e,t){return await f(this,Gt).put("/BoardCommunications/ClearMessages",{messageIds:e.messageIds},t)}}Gt=new WeakMap;function id(n,e){return function(){return n.apply(e,arguments)}}const{toString:LA}=Object.prototype,{getPrototypeOf:Rn}=Object,{iterator:Ea,toStringTag:cd}=Symbol,ha=(({hasOwnProperty:n})=>(e,t)=>n.call(e,t))(Object.prototype),ld=n=>typeof n=="string"&&(n==="__proto__"||n==="constructor"||n==="prototype"),ud=(n,e,t)=>n===Object.prototype||!t&&e===null,MA=n=>{if(!Object.isExtensible(n))return!1;const e=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&e.push(...Object.getOwnPropertySymbols(n)),e.every(t=>{if(ld(t))return!1;const r=Object.getOwnPropertyDescriptor(n,t);return!!r&&r.configurable&&r.writable===!0})},ma=(n,e)=>{let t=n;const r=[];for(;t!=null;){if(r.indexOf(t)!==-1)return!1;r.push(t);const a=Rn(t);if(ud(t,a,t===n))return!1;if(ha(t,e))return!0;t=a}return!1},NA=(n,e)=>n!=null&&ma(n,e)?n[e]:void 0,FA=n=>{if(n==null||typeof n!="object"&&typeof n!="function")return n;const e=Rn(n);if(e===null&&MA(n))return n;const t=Object.create(null),r=Object.create(null),a=[];let o=n;for(;o!=null&&a.indexOf(o)===-1;){a.push(o);const s=o===n?e:Rn(o);if(ud(o,s,o===n))break;const i=Object.getOwnPropertyNames(o);Object.getOwnPropertySymbols&&i.push(...Object.getOwnPropertySymbols(o));for(const c of i)ld(c)||ha(r,c)||(t[c]=n[c],r[c]=!0);o=s}return t},vi=(n=>e=>{const t=LA.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Nt=n=>(n=n.toLowerCase(),e=>vi(e)===n),xo=n=>e=>typeof e===n,{isArray:Jn}=Array,Xn=xo("undefined");function Nr(n){return n!==null&&!Xn(n)&&n.constructor!==null&&!Xn(n.constructor)&&xt(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const dd=Nt("ArrayBuffer");function BA(n){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(n):e=n&&n.buffer&&dd(n.buffer),e}const jA=xo("string"),xt=xo("function"),fd=xo("number"),Fr=n=>n!==null&&typeof n=="object",UA=n=>n===!0||n===!1,ao=n=>{if(!Fr(n))return!1;const e=Rn(n);return(e===null||e===Object.prototype||Rn(e)===null)&&!ma(n,cd)&&!ma(n,Ea)},qA=n=>{if(!Fr(n)||Nr(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},HA=Nt("Date"),VA=Nt("File"),$A=n=>!!(n&&typeof n.uri<"u"),zA=n=>n&&typeof n.getParts<"u",WA=Nt("Blob"),YA=Nt("FileList"),KA=Nt("Set"),GA=n=>Fr(n)&&xt(n.pipe);function QA(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const ml=QA(),pl=typeof ml.FormData<"u"?ml.FormData:void 0,JA=n=>{if(!n)return!1;if(pl&&n instanceof pl)return!0;const e=Rn(n);if(!e||e===Object.prototype||!xt(n.append))return!1;const t=vi(n);return t==="formdata"||t==="object"&&xt(n.toString)&&n.toString()==="[object FormData]"},XA=Nt("URLSearchParams"),[ZA,eE,tE,nE]=["ReadableStream","Request","Response","Headers"].map(Nt),r
vendor: 4,617 bytes, line 39
39E=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ca(n,e,{allOwnKeys:t=!1}={}){if(n===null||typeof n>"u")return;let r,a;if(typeof n!="object"&&(n=[n]),Jn(n))for(r=0,a=n.length;r<a;r++)e.call(null,n[r],r,n);else{if(Nr(n))return;const o=t?Object.getOwnPropertyNames(n):Object.keys(n),s=o.length;let i;for(r=0;r<s;r++)i=o[r],e.call(null,n[i],i,n)}}function hd(n,e){if(Nr(n))return null;e=e.toLowerCase();const t=Object.keys(n);let r=t.length,a;for(;r-- >0;)if(a=t[r],e===a.toLowerCase())return a;return null}const Nn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,md=n=>!Xn(n)&&n!==Nn;function Ws(...n){const{caseless:e,skipUndefined:t}=md(this)&&this||{},r={},a=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const i=e&&typeof s=="string"&&hd(r,s)||s,c=ha(r,i)?r[i]:void 0;ao(c)&&ao(o)?r[i]=Ws(c,o):ao(o)?r[i]=Ws({},o):Jn(o)?r[i]=o.slice():(!t||!Xn(o))&&(r[i]=o)};for(let o=0,s=n.length;o<s;o++){const i=n[o];if(!i||Nr(i)||(Ca(i,a),typeof i!="object"||Jn(i)))continue;const c=Object.getOwnPropertySymbols(i);for(let l=0;l<c.length;l++){const u=c[l];pE.call(i,u)&&a(i[u],u)}}return r}const aE=(n,e,t,{allOwnKeys:r}={})=>(Ca(e,(a,o)=>{t&&xt(a)?Object.defineProperty(n,o,{__proto__:null,value:id(a,t),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(n,o,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),n),oE=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),sE=(n,e,t,r)=>{n.prototype=Object.create(e.prototype,r),Object.defineProperty(n.prototype,"constructor",{__proto__:null,value:n,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(n,"super",{__proto__:null,value:e.prototype}),t&&Object.assign(n.prototype,t)},iE=(n,e,t,r)=>{let a,o,s;const i={};if(e=e||{},n==null)return e;do{for(a=Object.getOwnPropertyNames(n),o=a.length;o-- >0;)s=a[o],(!r||r(s,n,e))&&!i[s]&&(e[s]=n[s],i[s]=!0);n=t!==!1&&Rn(n)}while(n&&(!t||t(n,e))&&n!==Object.prototype);return e},cE=(n,e,t)=>{n=String(n),(t===void 0||t>n.length)&&(t=n.length),t-=e.length;const r=n.indexOf(e,t);return r!==-1&&r===t},lE=n=>{if(!n)return null;if(Jn(n))return n;let e=n.length;if(!fd(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=n[e];return t},uE=(n=>e=>n&&e instanceof n)(typeof Uint8Array<"u"&&Rn(Uint8Array)),dE=(n,e)=>{const r=(n&&n[Ea]).call(n);let a;for(;(a=r.next())&&!a.done;){const o=a.value;e.call(n,o[0],o[1])}},fE=(n,e)=>{let t;const r=[];for(;(t=n.exec(e))!==null;)r.push(t);return r},hE=Nt("HTMLFormElement"),mE=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,a){return r.toUpperCase()+a}),{propertyIsEnumerable:pE}=Object.prototype,yE=Nt("RegExp"),pd=(n,e)=>{const t=Object.getOwnPropertyDescriptors(n),r={};Ca(t,(a,o)=>{let s;(s=e(a,o,n))!==!1&&(r[o]=s||a)}),Object.defineProperties(n,r)},gE=n=>{pd(n,(e,t)=>{if(xt(n)&&["arguments","caller","callee"].includes(t))return!1;const r=n[t];if(xt(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},vE=(n,e)=>{const t={},r=a=>{a.forEach(o=>{t[o]=!0})};return Jn(n)?r(n):r(String(n).split(e)),t},bE=()=>{},wE=(n,e)=>n!=null&&Number.isFinite(n=+n)?n:e;function PE(n){return!!(n&&xt(n.append)&&n[cd]==="FormData"&&n[Ea])}const SE=n=>{const e=new WeakSet,t=r=>{if(Fr(r)){if(e.has(r))return;if(Nr(r))return r;if(!("toJSON"in r)){e.add(r);let a;if(KA(r)){a=[];for(const o of r){const s=t(o);!Xn(s)&&a.push(s)}}else a=Jn(r)?[]:{},Ca(r,(o,s)=>{const i=t(o);!Xn(i)&&(a[s]=i)});return e.delete(r),a}}return r};return t(n)},AE=Nt("AsyncFunction"),EE=n=>n&&(Fr(n)||xt(n))&&xt(n.then)&&xt(n.catch),yd=((n,e)=>n?setImmediate:e?((t,r)=>(Nn.addEventListener("message",({source:a,data:o})=>{a===Nn&&o===t&&r.length&&r.shift()()},!1),a=>{r.push(a),Nn.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",xt(Nn.postMessage)),CE=typeof queueMicrotask<"u"?queueMicrotask.bind(Nn):typeof process<"u"&&process.nextTick||yd,gd=n=>n!=null&&xt(n[Ea]),RE=n=>n!=null&&ma(n,Ea)&&gd(n),A={isArray:Jn,isArrayBuffer:dd,isBuffer:Nr,isFormData:JA,isArrayBufferView:BA,isString:jA,isNumber:fd,isBoolean:UA,isObject:Fr,isPlainObject:ao,isEmptyObject:qA,isReadableStream:ZA,isRequest:eE,isResponse:tE,isHeaders:nE,isUndefined:Xn,isDate:HA,isFile:VA,isReactNativeBlob:$A,isReactNative:zA,isBlob:WA,isRegExp:yE,isFunction:xt,isStream:GA,isURLSearchParams:XA,isTypedArray:uE,isFileList:YA,forEach:Ca,merge:Ws,extend:aE,trim:rE,stripBOM:oE,inherits:sE,toFlatObject:iE,kindOf:vi,kindOfTest:Nt,endsWith:cE,toArray:lE,forEac
39hEntry:dE,matchAll:fE,isHTMLForm:hE,hasOwnProperty:ha,hasOwnProp:ha,hasOwnInPrototypeChain:ma,getSafeProp:NA,toSafeFlatObject:FA,reduceDescriptors:pd,freezeMethods:gE,toObjectSet:vE,toCamelCase:mE,noop:bE,toFiniteNumber:wE,findKey:hd,global:Nn,isContextDefined:md,isSpecCompliantForm:PE,toJSONObject:SE,isAsyncFn:AE,isThenable:EE,setImmediate:yd,asap:CE,isIterable:gd,isSafeIterable:RE},xE=A.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"]),TE=n=>{const e={};let t,r,a;return n&&n.split(` 40`).forEach(function(s){a=s.indexOf(":"),t=s.substring(0,a).trim().toLowerCase(),r=s.substring(a+1).trim();const i=A.hasOwnProp(e,t);!t||i&&A.hasOwnProp(xE,t)||(t==="set-cookie"?i?e[t].push(r):e[t]=[r]:e[t]=i?e[t]+", "+r:r)}),e};function DE(n){let e=0,t=n.length;for(;e<t;){const r=n.charCodeAt(e);if(r!==9&&r!==32)break;e+=1}for(;t>e;){const r=n.charCodeAt(t-1);if(r!==9&&r!==32)break;t-=1}return e===0&&t===n.length?n:n.slice(e,t)}const OE=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),_E=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function bi(n,e){return A.isArray(n)?n.map(t=>bi(t,e)):DE(String(n).replace(e,""))}const kE=n=>bi(n,OE),IE=n=>bi(n,_E);function vd(n){const e=Object.create(null);return A.forEach(n.toJSON(),(t,r)=>{e[r]=IE(t)}),e}const yl=Symbol("internals");function Zr(n){return n&&String(n).trim().toLowerCase()}function oo(n){return n===!1||n==null?n:A.isArray(n)?n.map(oo):kE(String(n))}function LE(n){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(n);)e[r[1]]=r[2];return e}const ME=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ls(n){let e=0,t=n.length;for(;e<t;){const r=n.charCodeAt(e);if(r!==9&&r!==32)break;e+=1}for(;t>e;){const r=n.charCodeAt(t-1);if(r!==9&&r!==32)break;t-=1}return e===0&&t===n.length?n:n.slice(e,t)}function NE(n){const e=n.length-1;if(e<1||n.charCodeAt(0)!==34||n.charCodeAt(e)!==34)return n;let t="";for(let r=1;r<e;r++){const a=n.charCodeAt(r);if(a===34||a===92&&(r+=1,r>=e))return n;t+=n[r]}return t}function FE(n){const e=Object.create(null),t=String(n);let r=0,a=!1,o=!1;function s(i){const c=ls(t.slice(r,i)),l=c.indexOf("=");if(l<1)return;const u=ls(c.slice(0,l));if(!ME.test(u))return;const d=u.toLowerCase();if(d==="__proto__"||d==="constructor"||d==="prototype")return;const h=ls(c.slice(l+1));e[d]=NE(h)}for(let i=0;i<t.length;i++){const c=t.charCodeAt(i);a?o?o=!1:c===92?o=!0:c===34&&(a=!1):c===34?a=!0:(c===44||c===59)&&(s(i),r=i+1)}return s(t.length),e}const BE=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function us(n,e,t,r,a){if(A.isFunction(r))return r.call(this,e,t);if(a&&(e=t),!!A.isString(e)){if(A.isString(r))return e.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(e)}}function jE(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function UE(n,e){const t=A.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+t,{__proto__:null,value:function(a,o,s){return this[r].call(this,e,a,o,s)},configurable:!0})})}let pt=class{constructor(e){e&&this.set(e)}set(e,t,r){const a=this;function o(i,c,l){const u=Zr(c);if(!u)return;const d=A.findKey(a,u);(!d||a[d]===void 0||l===!0||l===void 0&&a[d]!==!1)&&(a[d||c]=oo(i))}const s=(i,c)=>A.forEach(i,(l,u)=>o(l,u,c));if(A.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(A.isString(e)&&(e=e.trim())&&!BE(e))s(TE(e),t);else if(A.isObject(e)&&A.isSafeIterable(e)){let i=Object.create(null),c,l;for(const u of e){if(!A.isArray(u))throw new TypeError("Object iterator must return a key-value pair");l=u[0],A.hasOwnProp(i,l)?(c=i[l],i[l]=A.isArray(c)?[...c,u[1]]:[c,u[1]]):i[l]=u[1]}s(i,t)}else e!=null&&o(t,e,r);return this}get(e,t){if(e=Zr(e),e){const r=A.findKey(this,e);if(r){const a=this[r];if(!t)return a;
40if(t===!0)return LE(a);if(A.isFunction(t))return t.call(this,a,r);if(A.isRegExp(t))return t.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Zr(e),e){const r=A.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||us(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let a=!1;function o(s){if(s=Zr(s),s){const i=A.findKey(r,s);i&&(!t||us(r,r[i],i,t))&&(delete r[i],a=!0)}}return A.isArray(e)?e.forEach(o):o(e),a}clear(e){const t=Object.keys(this);let r=t.length,a=!1;for(;r--;){const o=t[r];(!e||us(this,this[o],o,e,!0))&&(delete this[o],a=!0)}return a}normalize(e){const t=this,r={};return A.forEach(this,(a,o)=>{const s=A.findKey(r,o);if(s){t[s]=oo(a),delete t[o];return}const i=e?jE(o):String(o).trim();i!==o&&delete t[o],t[i]=oo(a),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return A.forEach(this,(r,a)=>{r!=null&&r!==!1&&(t[a]=e&&A.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` 41`)}getSetCookie(){const e=this.get("set-cookie");return A.isArray(e)?e:e==null||e===!1?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return FE(e)}static concat(e,...t){const r=new this(e);return t.forEach(a=>r.set(a)),r}static accessor(e){const r=(this[yl]=this[yl]={accessors:{}}).accessors,a=this.prototype;function o(s){const i=Zr(s);r[i]||(UE(a,s),r[i]=!0)}return A.isArray(e)?e.forEach(o):o(e),this}};pt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(pt.prototype,({value:n},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(r){this[t]=r}}});A.freezeMethods(pt);const vo="[REDACTED ****]";function qE(n){if(A.hasOwnProp(n,"toJSON"))return!0;let e=Object.getPrototypeOf(n);for(;e&&e!==Object.prototype;){if(A.hasOwnProp(e,"toJSON"))return!0;e=Object.getPrototypeOf(e)}return!1}function HE(n,e){const t=new Set(e.map(o=>String(o).toLowerCase())),r=[],a=o=>{if(o===null||typeof o!="object"||A.isBuffer(o))return o;if(r.indexOf(o)!==-1)return;o instanceof pt&&(o=o.toJSON()),r.push(o);let s;if(A.isArray(o))s=[],o.forEach((i,c)=>{const l=a(i);A.isUndefined(l)||(s[c]=l)});else{if(!A.isPlainObject(o)&&qE(o))return r.pop(),o;s=Object.create(null);for(const[i,c]of Object.entries(o)){const l=t.has(i.toLowerCase())?vo:a(c);A.isUndefined(l)||(s[i]=l)}}return r.pop(),s};return a(n)}function gl(n){try{return String(n)}catch{return""}}function VE(n){return n.errors.map(t=>{try{return t&&t.message?gl(t.message):gl(t)}catch{return""}}).filter(Boolean).join("; ")||n.name||"AggregateError"}let H=class bd extends Error{static from(e,t,r,a,o,s){let i=e.message;!i&&A.isArray(e.errors)&&e.errors.length&&(i=VE(e));const c=new bd(i,t||e.code,r,a,o);return Object.defineProperty(c,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),c.name=e.name,e.status!=null&&c.status==null&&(c.status=e.status),s&&Object.assign(c,s),c}constructor(e,t,r,a,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),r&&(this.config=r),a&&(this.request=a),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&A.hasOwnProp(e,"redact")?e.redact:void 0,r=A.isArray(t)&&t.length>0?HE(e,t):A.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:r,code:this.code,status:this.status}}};H.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";H.ERR_BAD_OPTION="ERR_BAD_OPTION";H.ECONNABORTED="ECONNABORTED";H.ETIMEDOUT="ETIMEDOUT";H.ECONNREFUSED="ECONNREFUSED";H.ERR_NETWORK="ERR_NETWORK";H.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";H.ERR_DEPRECATED="ERR_DEPRECATED";H.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";H.ERR_BAD_REQUEST="ERR_BAD_REQUEST";H.ERR_CANCELED="ERR_CANCELED";H.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";H.ERR_INVALID_URL="ERR_INVALID_URL";H.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const $E=null,wd=100;function Ys(n){return A.isPlainObject(n)||A.isArray(n)}function Pd(n){return A.endsWith(n,"[]")?n.slice(0,-2):n}function ds(n,e,t){return n?n.concat(e).map(function(a,o){return a=Pd(a),!t&&o?"["+a+"]":a}).join(t?".":""):e}function zE(n){return A.isArray(n)&&!n.some(Ys)}const WE=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function To(n,e,t){if(!A.isObject(n))throw new TypeError("target must be an object");e=e||new FormData;const r=(b,C)=>{const R=A.getSafeProp(t,b);return A.isUndefined(R)?C:R},a=r("metaTokens",!0),o=r("visitor")||g,s=r("dots",!1),i=r("indexes",!1),c=r("Blob")||typeof Blob<"u"&&Blob,l=r("maxDepth",wd),u=c&&A.isSpecCompliantForm(e),d=[];if(!A.isFunction(o))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(A.isDate(b))return b.toISOString();if(A.isBoolean(b))return b.toString();if(!u&&A.isBlob(b))throw new H("Blob is not supported. Use a Buffer instead.");if(A.isArrayBuffer(b)||A.isTypedArray(b)){if(u&&typeof c=="function")return new c([b]);throw new H("Blob is not supported. Use a Buffer instead.",H.ERR_NOT_SUPPORT)}return b}function p(b){if(b>l)throw new H("Object is too deeply nested ("+b+" levels). Max depth: "+l,H.ERR_FORM_DATA_DEPTH_EXCEEDED)}
vendor: 1,094 bytes, line 41
41function y(b,C){if(l===1/0)return JSON.stringify(b);const R=[];return JSON.stringify(b,function(j,P){if(!A.isObject(P))return P;for(;R.length&&R[R.length-1]!==this;)R.pop();return R.push(P),p(C+R.length-1),P})}function g(b,C,R){let E=b;if(A.isReactNative(e)&&A.isReactNativeBlob(b))return e.append(ds(R,C,s),h(b)),!1;if(b&&!R&&typeof b=="object"){if(A.endsWith(C,"{}"))C=a?C:C.slice(0,-2),b=y(b,1);else if(A.isArray(b)&&zE(b)||(A.isFileList(b)||A.endsWith(C,"[]"))&&(E=A.toArray(b)))return C=Pd(C),E.forEach(function(P,I){!(A.isUndefined(P)||P===null)&&e.append(i===!0?ds([C],I,s):i===null?C:C+"[]",h(P))}),!1}return Ys(b)?!0:(e.append(ds(R,C,s),h(b)),!1)}const w=Object.assign(WE,{defaultVisitor:g,convertValue:h,isVisitable:Ys});function m(b,C,R=0){if(!A.isUndefined(b)){if(p(R),d.indexOf(b)!==-1)throw new Error("Circular reference detected in "+C.join("."));d.push(b),A.forEach(b,function(j,P){(!(A.isUndefined(j)||j===null)&&o.call(e,j,A.isString(P)?P.trim():P,C,w))===!0&&m(j,C?C.concat(P):[P],R+1)}),d.pop()}}if(!A.isObject(n))throw new TypeError("data must be an object");return m(n),e}
41function vl(n){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(r){return e[r]})}function wi(n,e){this._pairs=[],n&&To(n,this,e)}const Sd=wi.prototype;Sd.append=function(e,t){this._pairs.push([e,t])};Sd.toString=function(e){const t=e?r=>e.call(this,r,vl):vl;return this._pairs.map(function(a){return t(a[0])+"="+t(a[1])},"").join("&")};function YE(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ad(n,e,t){if(!e)return n;n=n||"";const r=A.isFunction(t)?{serialize:t}:t,a=A.getSafeProp(r,"encode")||YE,o=A.getSafeProp(r,"serialize");let s;if(o?s=o(e,r):s=A.isURLSearchParams(e)?e.toString():new wi(e,r).toString(a),s){const i=n.indexOf("#");i!==-1&&(n=n.slice(0,i)),n+=(n.indexOf("?")===-1?"?":"&")+s}return n}const ea=Symbol("internals");function Ed(n){return n?n.length:0}function bl(n){if(n)for(;n.length&&n[n.length-1]===null;)n.pop()}function ta(n,e){const t=n.handlers,r=Ed(t);t!==e.handlersRef?(e.handlersRef=t,e.handlerEntries.clear()):r!==e.handlersLength&&(r?e.handlerEntries.forEach(function(o,s){t[o.index]!==o.handler&&e.handlerEntries.delete(s)}):e.handlerEntries.clear()),e.handlersLength=r}class wl{constructor(){this.handlers=[],this[ea]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,r){const a={fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null},o=this[ea];this.handlers==null&&(this.handlers=[]),ta(this,o);const s=o.nextId++;return this.handlers.push(a),o.handlerEntries.set(s,{handler:a,index:this.handlers.length-1}),o.handlersLength=this.handlers.length,s}eject(e){const t=this[ea];ta(this,t);const r=t.handlerEntries.get(e);if(r){if(t.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,t.iterationDepth||(bl(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],ta(this,this[ea]))}forEach(e){const t=this[ea];ta(this,t),t.iterationDepth++;try{A.forEach(this.handlers,function(a){a!==null&&e(a)})}finally{--t.iterationDepth||(ta(this,t),bl(this.handlers),t.handlersLength=Ed(this.handlers))}}}const Pi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},KE=typeof URLSearchParams<"u"?URLSearchParams:wi,GE=typeof FormData<"u"?FormData:null,QE=typeof Blob<"u"?Blob:null,JE={isBrowser:!0,classes:{URLSearchParams:KE,FormData:GE,Blob:QE},protocols:["http","https","file","blob","url","data"]},Si=typeof window<"u"&&typeof document<"u",Ks=typeof navigator=="object"&&navigator||void 0,XE=Si&&(!Ks||["ReactNative","NativeScript","NS"].indexOf(Ks.product)<0),ZE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",e0=Si&&window.location.href||"http://localhost",t0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Si,hasStandardBrowserEnv:XE,hasStandardBrowserWebWorkerEnv:ZE,navigator:Ks,origin:e0},Symbol.toStringTag,{value:"Module"})),nt={...t0,...JE};function n0(n,e){return To(n,new nt.classes.URLSearchParams,{visitor:function(t,r,a,o){return nt.isNode&&A.isBuffer(t)?(this.append(r,t.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...e})}const Pl=wd;function Cd(n){if(n>Pl)throw new H("FormData field is too deeply nested ("+n+" levels). Max depth: "+Pl,H.ERR_FORM_DATA_DEPTH_EXCEEDED)}function r0(n){const e=[],t=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=t.exec(n))!==null;)Cd(e.length),e.push(r[0]==="[]"?"":r[1]||r[0]);return e}function a0(n){const e={},t=Object.keys(n);let r;const a=t.length;let o;for(r=0;r<a;r++)o=t[r],e[o]=n[o];return e}function Rd(n){function e(t,r,a,o){Cd(o);let s=t[o++];if(s==="__proto__")return!0;const i=Number.isFinite(+s),c=o>=t.length;return s=!s&&A.isArray(a)?a.length:s,c?(A.hasOwnProp(a,s)?a[s]=A.isArray(a[s])?a[s].concat(r):[a[s],r]:a[s]=r,!i):((!A.hasOwnProp(a,s)||!A.isObject(a[s]))&&(a[s]=[]),e(t,r,a[s],o)&&A.isArray(a[s])&&(a[s]=a0(a[s])),!i)}
vendor: 4,121 bytes, line 41
41if(A.isFormData(n)&&A.isFunction(n.entries)){const t={};return A.forEachEntry(n,(r,a)=>{e(r0(r),a,t,0)}),t}return null}const xd=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),yr=(n,e)=>n!=null&&A.hasOwnProp(n,e)?n[e]:void 0;function o0(n,e,t){if(A.isString(n))try{return(e||JSON.parse)(n),A.trim(n)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(n)}const Ra={transitional:Pi,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",a=r.indexOf("application/json")>-1,o=A.isObject(e);if(o&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return a?JSON.stringify(Rd(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){const c=yr(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return n0(e,c).toString();if((i=A.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=yr(this,"env"),u=l&&l.FormData;return To(i?{"files[]":e}:e,u&&new u,c)}}return o||a?(t.setContentType("application/json",!1),o0(e)):e}],transformResponse:[function(e){const t=yr(this,"transitional")||Ra.transitional,r=t&&t.forcedJSONParsing,a=yr(this,"responseType"),o=a==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(r&&!a||o)){const i=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,yr(this,"parseReviver"))}catch(c){if(i)throw c.name==="SyntaxError"?H.from(c,H.ERR_BAD_RESPONSE,this,null,yr(this,"response")):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(xd,n=>{Ra.headers[n]={}});function fs(n,e){const t=this||Ra,r=e||t,a=pt.from(r.headers);let o=r.data;return A.forEach(n,function(i){o=i.call(t,o,a.normalize(),e?e.status:void 0)}),a.normalize(),o}function Td(n){return!!(n&&n.__CANCEL__)}let xa=class extends H{constructor(e,t,r){super(e??"canceled",H.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Dd(n,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?n(t):e(new H("Request failed with status code "+t.status,t.status>=400&&t.status<500?H.ERR_BAD_REQUEST:H.ERR_BAD_RESPONSE,t.config,t.request,t))}const s0=/[\t\n\r]/g;function Od(n){if(typeof n!="string")return n;let e=0;for(;e<n.length&&n.charCodeAt(e)<=32;)e++;return n.slice(e).replace(s0,"")}function hs(n){const e=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return e&&e[1]||""}function i0(n,e){n=n||10;const t=new Array(n),r=new Array(n);let a=0,o=0,s;return e=e!==void 0?e:1e3,function(c){const l=Date.now(),u=r[o];s||(s=l),t[a]=c,r[a]=l;let d=o,h=0;for(;d!==a;)h+=t[d++],d=d%n;if(a=(a+1)%n,a===o&&(o=(o+1)%n),l-s<e)return;const p=u&&l-u;return p?Math.round(h*1e3/p):void 0}}function c0(n,e){let t=0,r=1e3/e,a,o;const s=(u,d=Date.now())=>{t=d,a=null,o&&(clearTimeout(o),o=null),n(...u)};return[(...u)=>{const d=Date.now(),h=d-t;h>=r?s(u,d):(a=u,o||(o=setTimeout(()=>{o=null,s(a)},r-h)))},()=>a&&s(a),(...u)=>s(u)]}const bo=(n,e,t=3)=>{let r=0;const a=i0(50,250);return c0(o=>{if(!o||!A.isNumber(o.loaded))return;const s=o.loaded,i=o.lengthComputable?o.total:void 0,c=Math.max(0,i!=null?Math.min(s,i):s),l=Math.max(0,c-r),u=a(l);r=Math.max(r,c);const d={loaded:c,total:i,progress:i?c/i:void 0,bytes:l,rate:u||void 0,estimated:u&&i?(i-c)/u:void 0,event:o,lengthComputable:i!=null,[e?"download":"upload"]:!0};n(d)},t)},Sl=(n,e)=>{const t=n!=null;return[r=>e[0]({lengthComputable:t,total:n,loaded:r}),e[1]]},Al=(n,e=A.asap)=>(...t)=>e(()=>n(...t)),l0=nt.hasStandardBrowserEnv?((n,e)=>t=>(t=new URL(t,nt.origin),n.protocol===t.protocol&&n.host===t.host&&(e||n.port===t.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>
41!0,u0=nt.hasStandardBrowserEnv?{write(n,e,t,r,a,o,s){if(typeof document>"u")return;const i=[`${n}=${encodeURIComponent(e)}`];A.isNumber(t)&&i.push(`expires=${new Date(t).toUTCString()}`),A.isString(r)&&i.push(`path=${r}`),A.isString(a)&&i.push(`domain=${a}`),o===!0&&i.push("secure"),A.isString(s)&&i.push(`SameSite=${s}`),document.cookie=i.join("; ")},read(n){if(typeof document>"u")return null;const e=document.cookie.split(";");for(let t=0;t<e.length;t++){const r=e[t].replace(/^\s+/,""),a=r.indexOf("=");if(a!==-1&&r.slice(0,a)===n)try{return decodeURIComponent(r.slice(a+1))}catch{return r.slice(a+1)}}return null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function d0(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function f0(n,e){if(!e)return n;let t=n.length;for(;t>0&&n.charCodeAt(t-1)===47;)t--;return n.slice(0,t)+"/"+e.replace(/^\/+/,"")}const h0=/^https?:(?!\/\/)/i;function m0(n){return n&&n.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${vo}`)}function p0(n){const e=n.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${vo}@`),t=e.indexOf("#"),a=(t===-1?e:e.slice(0,t)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${vo}`);return t===-1?a:`${a}#${m0(e.slice(t+1))}`}function El(n,e){if(typeof n=="string"){const t=Od(n);if(h0.test(t))throw new H(`Invalid URL ${JSON.stringify(p0(t))}: missing "//" after protocol`,H.ERR_INVALID_URL,e)}}function _d(n,e,t,r){El(e,r);let a=!d0(e);return n&&(a||t===!1)?(El(n,r),f0(n,e)):e}const Cl=n=>n instanceof pt?{...n}:n,y0=n=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(n).concat(Object.getOwnPropertySymbols(n).filter(e=>Object.getOwnPropertyDescriptor(n,e).enumerable)):Object.keys(n);function Zn(n,e){n=n||{},e=e||{};const t=Object.create(null);Object.defineProperty(t,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(u,d,h,p){return A.isPlainObject(u)&&A.isPlainObject(d)?A.merge.call({caseless:p},u,d):A.isPlainObject(d)?A.merge({},d):A.isArray(d)?d.slice():d}function a(u,d,h,p){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u,h,p)}else return r(u,d,h,p)}function o(u,d){if(!A.isUndefined(d))return r(void 0,d)}function s(u,d){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function i(u){const d=A.hasOwnProp(e,"transitional")?e.transitional:void 0;if(!A.isUndefined(d))if(A.isPlainObject(d)){if(A.hasOwnProp(d,u))return d[u]}else return;const h=A.hasOwnProp(n,"transitional")?n.transitional:void 0;if(A.isPlainObject(h)&&A.hasOwnProp(h,u))return h[u]}function c(u,d,h){if(A.hasOwnProp(e,h))return r(u,d);if(A.hasOwnProp(n,h))return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutErrorMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:c,headers:(u,d,h)=>a(Cl(u),Cl(d),h,!0)};return A.forEach(y0({...n,...e}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const h=A.hasOwnProp(l,d)?l[d]:a,p=A.hasOwnProp(n,d)?n[d]:void 0,y=A.hasOwnProp(e,d)?e[d]:void 0,g=h(p,y,d);A.isUndefined(g)&&h!==c||(t[d]=g)}),A.hasOwnProp(e,"validateStatus")&&A.isUndefined(e.validateStatus)&&i("validateStatusUndefinedResolves")===!1&&(A.hasOwnProp(n,"validateStatus")?t.validateStatus=r(void 0,n.validateStatus):delete t.validateStatus),t}const g0=["content-type","content-length"];function v0(n,e,t){if(t!=="content-only"){n.set(e);return}Object.entries(e||{}).forEach(([r,a])=>{g0.includes(r.toLowerCase())&&n.set(r,a)})}const b0=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));function kd(n){const e=Zn({},n),t=h=>A.hasOwnProp(e,h)?e[h]:void 0,r=t("data");let a=t("withXSRFToken");const o=t("xsrfHeaderName"),s=t("xsrfCookieName");let i=t("headers");const c=t("auth"),l=t("baseURL"),u=t("allowAbsoluteUrls"),d=t("url");
41if(e.headers=i=pt.from(i),e.url=Ad(_d(l,d,u,e),t("params"),t("paramsSerializer")),c){const h=A.getSafeProp(c,"username")||"",p=A.getSafeProp(c,"password")||"";try{i.set("Authorization","Basic "+btoa(h+":"+(p?b0(p):"")))}catch(y){throw H.from(y,H.ERR_BAD_OPTION_VALUE,n)}}if(A.isFormData(r)){const h=A.getSafeProp(r,"getHeaders");nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv||A.isReactNative(r)?i.setContentType(void 0):A.isFunction(h)&&v0(i,h.call(r),t("formDataHeaderPolicy"))}if(nt.hasStandardBrowserEnv&&(A.isFunction(a)&&(a=a(e)),a===!0||a==null&&l0(e.url))){const p=o&&s&&u0.read(s);p&&i.set(o,p)}return e}const w0=typeof XMLHttpRequest<"u",P0=w0&&function(n){return new Promise(function(t,r){const a=kd(n);let o=a.data;const s=pt.from(a.headers).normalize();let{responseType:i,onUploadProgress:c,onDownloadProgress:l}=a,u,d,h,p,y,g;function w(){p&&p(),y&&y(),a.cancelToken&&a.cancelToken.unsubscribe(u),a.signal&&a.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(a.method.toUpperCase(),a.url,!0),m.timeout=a.timeout;function b(R){if(!m)return;if(m.status===0&&(hs(Od(a.url))||hs(nt.origin))!=="file"&&!(m.responseURL&&m.responseURL.startsWith("file:"))){r(new H("Request aborted",H.ECONNABORTED,n,m)),w(),m=null;return}try{R?g&&g(R):y&&y()}catch(I){setTimeout(()=>{throw I})}if(!m)return;const E=pt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),P={data:!i||i==="text"||i==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:E,config:n,request:m};Dd(function(Y){t(Y),w()},function(Y){r(Y),w()},P),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.startsWith("file:"))||setTimeout(b)},m.onabort=function(){m&&(r(new H("Request aborted",H.ECONNABORTED,n,m)),w(),m=null)},m.onerror=function(E){const j=E&&E.message?E.message:"Network Error",P=new H(j,H.ERR_NETWORK,n,m);P.event=E||null,r(P),w(),m=null},m.ontimeout=function(){let E=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const j=a.transitional||Pi;a.timeoutErrorMessage&&(E=a.timeoutErrorMessage),r(new H(E,j.clarifyTimeoutError?H.ETIMEDOUT:H.ECONNABORTED,n,m)),w(),m=null},o===void 0&&s.setContentType(null),"setRequestHeader"in m&&A.forEach(vd(s),function(E,j){m.setRequestHeader(j,E)}),A.isUndefined(a.withCredentials)||(m.withCredentials=!!a.withCredentials),i&&i!=="json"&&(m.responseType=a.responseType),l&&([h,y,g]=bo(l,!0),m.addEventListener("progress",h)),c&&m.upload&&([d,p]=bo(c),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(u=R=>{m&&(r(!R||R.type?new xa(null,n,m):R),m.abort(),w(),m=null)},a.cancelToken&&a.cancelToken.subscribe(u),a.signal&&(a.signal.aborted?u():a.signal.addEventListener("abort",u)));const C=hs(a.url);if(C&&!nt.protocols.includes(C)){r(new H("Unsupported protocol "+C+":",H.ERR_BAD_REQUEST,n)),w();return}m.send(o||null)})},S0=(n,e)=>{if(n=n?n.filter(Boolean):[],!e&&!n.length)return;const t=new AbortController;let r=!1;const a=function(c){if(!r){r=!0,s();const l=c instanceof Error?c:this.reason;t.abort(l instanceof H?l:new xa(l instanceof Error?l.message:l))}};let o=e&&setTimeout(()=>{o=null,a(new H(`timeout of ${e}ms exceeded`,H.ETIMEDOUT))},e);const s=()=>{n&&(o&&clearTimeout(o),o=null,n.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),n=null)};n.forEach(c=>{if(!r){if(c.aborted){a.call(c);return}c.addEventListener("abort",a,{once:!0})}});const{signal:i}=t;return i.unsubscribe=()=>A.asap(s),i},A0=function*(n,e){let t=n.byteLength;if(t<e){yield n;return}let r=0,a;for(;r<t;)a=r+e,yield n.slice(r,a),r=a},E0=async function*(n,e){for await(const t of C0(n))yield*A0(t,e)},C0=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const e=n.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},Rl=(n,e,t,r)=>{const a=E0(n,e);let o=0,s,i=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:l,value:u}=await a.next();if(l){i(),c.close();return}let d=u.byteLength;if(t){let h=o+=d;t(h)}c.enqueue(new Uint8Array(u))}catch(l){throw i(l),l}},cancel(c){return i(c),a.return()}},{highWaterMark:2})},xl=n=>n>=48&&n<=57||n>=65&&n<=70||n>=97&&n<=102,Id=(n,e,t)=>e+2<t&&xl(n.charCodeAt(e+1))&&xl(n.charCodeAt(e+2)),Tl=n=>n<=57?n-48:(n&223)-55,R0=n=>n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===47||n===45||n===95,x0=n=>n===9||n===10||n===12||n===13||n===32,T0=n=>{const e=Math.floor(n/4),t=n%4;return e*3+(t===2?1:t===3?2:0)},D0=n=>{const e=n.length;let t=0;return e>
410&&n.charCodeAt(e-1)===61&&(t++,e>1&&n.charCodeAt(e-2)===61&&t++),Math.floor((e-t)*3/4)},O0=n=>{const e=n.length;let t=0,r=0,a=!1;for(let o=0;o<e;o++){let s=n.charCodeAt(o);if(s===37&&Id(n,o,e)&&(s=Tl(n.charCodeAt(o+1))*16+Tl(n.charCodeAt(o+2)),o+=2),!x0(s)){if(s===61){r++;continue}if(!R0(s)||r>0){a=!0;continue}t++}}return a||r>2||r>0&&(t+r)%4!==0||t%4===1?D0(n):T0(t)},_0=(n,e)=>{if(!n||typeof n!="string"||!n.startsWith("data:"))return 0;const t=n.indexOf(",");if(t<0)return 0;const r=n.slice(5,t),a=n.slice(t+1);if(/;base64/i.test(r))return e(a);let s=0;for(let i=0,c=a.length;i<c;i++){const l=a.charCodeAt(i);if(l===37&&Id(a,i,c))s+=1,i+=2;else if(l<128)s+=1;else if(l<2048)s+=2;else if(l>=55296&&l<=56319&&i+1<c){const u=a.charCodeAt(i+1);u>=56320&&u<=57343?(s+=4,i++):s+=3}else s+=3}return s};function k0(n){const e=typeof n=="string"?n.indexOf("#"):-1;return _0(e===-1?n:n.slice(0,e),O0)}const Ai="1.20.0",Dl=64*1024,I0={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:Za}=A,L0=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),Ol=n=>{if(!A.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},_l=(n,...e)=>{try{return!!n(...e)}
vendor: 4,778 bytes, line 41
41catch{return!1}},M0=n=>{const e=n.indexOf("://");let t=n;return e!==-1&&(t=t.slice(e+3)),t.includes("@")||t.includes(":")},N0=n=>{const e=A.global!==void 0&&A.global!==null?A.global:globalThis,{ReadableStream:t,TextEncoder:r}=e;n=A.merge.call({skipUndefined:!0},{Request:e.Request,Response:e.Response},n);const{fetch:a,Request:o,Response:s}=n,i=a?Za(a):typeof fetch=="function",c=Za(o),l=Za(s);if(!i)return!1;const u=i&&Za(t),d=i&&(typeof r=="function"?(m=>b=>m.encode(b))(new r):async m=>new Uint8Array(await new o(m).arrayBuffer())),h=c&&u&&_l(()=>{let m=!1;const b=new o(nt.origin,{body:new t,method:"POST",get duplex(){return m=!0,"half"}}),C=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),m&&!C}),p=l&&u&&_l(()=>A.isReadableStream(new s("").body)),y={stream:p&&(m=>m.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!y[m]&&(y[m]=(b,C)=>{let R=b&&b[m];if(R)return R.call(b);throw new H(`Response type '${m}' is not supported`,H.ERR_NOT_SUPPORT,C)})});const g=async m=>{if(m==null)return 0;if(A.isBlob(m))return m.size;if(A.isSpecCompliantForm(m))return(await new o(nt.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(A.isArrayBufferView(m)||A.isArrayBuffer(m))return m.byteLength;if(A.isURLSearchParams(m)&&(m=m+""),A.isString(m))return(await d(m)).byteLength},w=async(m,b)=>{const C=A.toFiniteNumber(m.getContentLength());return C??g(b)};return async m=>{let{url:b,method:C,data:R,signal:E,cancelToken:j,timeout:P,onDownloadProgress:I,onUploadProgress:Y,responseType:_,headers:U,withCredentials:z="same-origin",fetchOptions:ge,maxContentLength:ne,maxBodyLength:Ae,maxRedirects:Qe}=kd(m);const He=A.isNumber(ne)&&ne>-1,pe=A.isNumber(Ae)&&Ae>-1,le=fe=>A.hasOwnProp(m,fe)?m[fe]:void 0;let Ge=a||fetch;_=_?(_+"").toLowerCase():"text";let xe=S0([E,j&&j.toAbortSignal()],P),ve=null;const Ue=xe&&xe.unsubscribe&&(()=>{xe.unsubscribe()});let rt,Ve=null;const gt=()=>new H("Request body larger than maxBodyLength limit",H.ERR_BAD_REQUEST,m,ve);try{let fe;const Ie=le("auth");if(Ie){const re=A.getSafeProp(Ie,"username")||"",qe=A.getSafeProp(Ie,"password")||"";fe={username:re,password:qe}}if(M0(b)){const re=new URL(b,nt.origin);if(!fe&&(re.username||re.password)){const qe=Ol(re.username),D=Ol(re.password);fe={username:qe,password:D}}(re.username||re.password)&&(re.username="",re.password="",b=re.href)}if(fe&&(U.delete("authorization"),U.set("Authorization","Basic "+btoa(L0((fe.username||"")+":"+(fe.password||""))))),He&&typeof b=="string"&&b.startsWith("data:")&&k0(b)>ne)throw new H("maxContentLength size of "+ne+" exceeded",H.ERR_BAD_RESPONSE,m,ve);if(pe&&C!=="get"&&C!=="head"){const re=await g(R);if(typeof re=="number"&&isFinite(re)&&(rt=re,re>Ae))throw gt()}const Ft=pe&&(A.isReadableStream(R)||A.isStream(R)),Ht=(re,qe,D)=>Rl(re,Dl,L=>{if(pe&&L>Ae)throw Ve=gt();qe&&qe(L)},D);if(h&&C!=="get"&&C!=="head"&&(Y||Ft)){if(rt=rt??await w(U,R),rt!==0||Ft){let re=new o(b,{method:"POST",body:R,duplex:"half"}),qe;if(A.isFormData(R)&&(qe=re.headers.get("content-type"))&&U.setContentType(qe),re.body){const[D,L]=Y&&Sl(rt,bo(Al(Y)))||[];R=Ht(re.body,D,L)}}}else if(Ft&&!c&&u&&C!=="get"&&C!=="head")R=Ht(R);else if(Ft&&c&&!h&&C!=="get"&&C!=="head")throw new H("Stream request bodies are not supported by the current fetch implementation",H.ERR_NOT_SUPPORT,m,ve);A.isString(z)||(z=z?"include":"omit");const Ot=c&&"credentials"in o.prototype;if(A.isFormData(R)){const re=U.getContentType();re&&/^multipart\/form-data/i.test(re)&&!/boundary=/i.test(re)&&U.delete("content-type")}U.set("User-Agent","axios/"+Ai,!1);const we=ge==null?ge:Object.assign(Object.create(null),ge);we&&(delete we.body,delete we.headers,delete we.method,delete we.signal,delete we.duplex,delete we.credentials);const $e=Object.assign(Object.create(null),we,{signal:xe,method:C.toUpperCase(),headers:vd(U.normalize()),body:R,duplex:"half",credentials:Ot?z:void 0});c&&(A.forEach(I0,(re,qe)=>{$e[qe]===void 0&&($e[qe]=re)}),$e.signal===void 0&&($e.signal=null),$e.body===void 0&&($e.body=null)),Qe===0&&($e.redirect="manual",we&&(we.redirect="manual")),ve=c&&new o(b,$e);let et=await(c?Ge(ve,we):Ge(b,$e));const en=pt.from(et.headers);if(He){const re=A.toFiniteNumber(en.getContentLength());if(re!=null&&re>ne)throw new H("maxContentLength size of "+ne+" exceeded",H.ERR_BAD_RESPONSE,m,ve)}const Ze=p&&(_==="stream"||_==="response");if(p&&et.body&&(I||He||Ze&&Ue)){const re={};["status","statusText","headers"].forEach(X=>{re[X]=et[X]});const qe=A.toFiniteNumber(en.getContentLength()),[D,L]=I&&Sl(qe,bo(Al(I),!0))||[];let N=0;const q=X=>{if(He&&(N=X,N>ne))throw new H("maxContentLength size of "+ne+" exceeded",H.ERR_BAD_RESPONSE,m,ve);D&&D(X)};et=new s(Rl(et.body,Dl,q,()=>{L&&L(),Ue&&Ue()}),re)}_=_||"text";let at=await y[A.findKey(y,_)||"text"](et,m);
vendor: 1,800 bytes, line 41
41if(He&&!p&&!Ze){let re;if(at!=null&&(typeof at.byteLength=="number"?re=at.byteLength:typeof at.size=="number"?re=at.size:typeof at=="string"&&(re=typeof r=="function"?new r().encode(at).byteLength:at.length)),typeof re=="number"&&re>ne)throw new H("maxContentLength size of "+ne+" exceeded",H.ERR_BAD_RESPONSE,m,ve)}return!Ze&&Ue&&Ue(),await new Promise((re,qe)=>{Dd(re,qe,{data:at,headers:pt.from(et.headers),status:et.status,statusText:et.statusText,config:m,request:ve})})}catch(fe){if(Ue&&Ue(),xe&&xe.aborted&&xe.reason instanceof H){const Ie=xe.reason;throw Ie.config=m,ve&&(Ie.request=ve),fe!==Ie&&Object.defineProperty(Ie,"cause",{__proto__:null,value:fe,writable:!0,enumerable:!1,configurable:!0}),Ie}if(Ve)throw ve&&!Ve.request&&(Ve.request=ve),Ve;if(fe instanceof H)throw ve&&!fe.request&&(fe.request=ve),fe;if(fe&&fe.name==="TypeError"&&/Load failed|fetch/i.test(fe.message)){const Ie=new H("Network Error",H.ERR_NETWORK,m,ve,fe&&fe.response);throw Object.defineProperty(Ie,"cause",{__proto__:null,value:fe.cause||fe,writable:!0,enumerable:!1,configurable:!0}),Ie}throw H.from(fe,fe&&fe.code,m,ve,fe&&fe.response)}}},F0=new Map,Ld=n=>{let e=n&&n.env||{};const{fetch:t,Request:r,Response:a}=e,o=[r,a,t];let s=o.length,i=s,c,l,u=F0;for(;i--;)c=o[i],l=u.get(c),l===void 0&&u.set(c,l=i?new Map:N0(e)),u=l;return l};Ld();const Ei={http:$E,xhr:P0,fetch:{get:Ld}};A.forEach(Ei,(n,e)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:e})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:e})}});const kl=n=>`- ${n}`,B0=n=>A.isFunction(n)||n===null||n===!1;function j0(n,e){n=A.isArray(n)?n:[n];const{length:t}=n;let r,a;const o={};for(let s=0;s<t;s++){r=n[s];let i;if(a=r,!B0(r)&&(a=Ei[(i=String(r)).toLowerCase()],a===void 0))throw new H(`Unknown adapter '${i}'`);
41if(a&&(A.isFunction(a)||(a=a.get(e))))break;o[i||"#"+s]=a}if(!a){const s=Object.entries(o).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since : 42`+s.map(kl).join(` 43`):" "+kl(s[0]):"as no adapter specified";throw new H("There is no suitable adapter to dispatch the request "+i,H.ERR_NOT_SUPPORT)}return a}const Md={getAdapter:j0,adapters:Ei};function ms(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new xa(null,n)}function ps(n){const e=A.toSafeFlatObject(n);return ms(e),e.headers=pt.from(A.getSafeProp(e,"headers")),e.data=fs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Md.getAdapter(e.adapter||Ra.adapter,e)(e).then(function(a){ms(e),e.response=a;try{a.data=fs.call(e,e.transformResponse,a)}finally{delete e.response}return a.headers=pt.from(a.headers),a},function(a){if(!Td(a)&&(ms(e),a&&a.response)){e.response=a.response;try{a.response.data=fs.call(e,e.transformResponse,a.response)}finally{delete e.response}a.response.headers=pt.from(a.response.headers)}return Promise.reject(a)})}const Do={};["object","boolean","number","function","string","symbol"].forEach((n,e)=>{Do[n]=function(r){return typeof r===n||"a"+(e<1?"n ":" ")+n}});const Il={};Do.transitional=function(e,t,r){function a(o,s){return"[Axios v"+Ai+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,i)=>{if(e===!1)throw new H(a(s," has been removed"+(t?" in "+t:"")),H.ERR_DEPRECATED);return t&&!Il[s]&&(Il[s]=!0,console.warn(a(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,i):!0}};Do.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function U0(n,e,t){if(typeof n!="object"||n===null)throw new H("options must be an object",H.ERR_BAD_OPTION_VALUE);const r=Object.keys(n);let a=r.length;for(;a-- >0;){const o=r[a],s=Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;if(s){const i=n[o],c=i===void 0||s(i,o,n);if(c!==!0)throw new H("option "+o+" must be "+c,H.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new H("Unknown option "+o,H.ERR_BAD_OPTION)}}const so={assertOptions:U0,validators:Do},mt=so.validators;let Yn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new wl,response:new wl}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error)try{let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const o=a.stack;let s="";if(typeof o=="string"){const i=o.indexOf(` 44`);s=i===-1?"":o.slice(i+1)}if(!r.stack)r.stack=s;else if(s){const i=s.indexOf(` 45`),c=i===-1?-1:s.indexOf(` 46`,i+1),l=c===-1?"":s.slice(c+1);String(r.stack).endsWith(l)||(r.stack+=` 47`+s)}}catch{}throw r}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Zn(this.defaults,t);const{transitional:r,paramsSerializer:a,headers:o}=t;r!==void 0&&so.assertOptions(r,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean),legacyInterceptorReqResOrdering:mt.transitional(mt.boolean),advertiseZstdAcceptEncoding:mt.transitional(mt.boolean),validateStatusUndefinedResolves:mt.transitional(mt.boolean)},!1),a!=null&&(A.isFunction(a)?t.paramsSerializer={serialize:a}:so.assertOptions(a,{encode:mt.function,serialize:mt.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),so.assertOptions(t,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),t.method=(A.getSafeProp(t,"method")||A.getSafeProp(this.defaults,"method")||"get").toLowerCase();let s=o&&A.merge(o.common,o[t.method]);o&&A.forEach(xd.concat("common"),y=>{delete o[y]}),t.headers=pt.concat(s,o);const i=[];let c=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(t)===!1)return;c=c&&g.synchronous;const w=t.transitional||Pi;w&&w.legacyInterceptorReqResOrdering?i.unshift(g.fulfilled,g.rejected):i.push(g.fulfilled,g.rejected)});const l=[];this.interceptors.response.forEach(function(g){l.push(g.fulfilled,g.rejected)});let u,d=0,h;if(!c){const y=[ps.bind(this),void 0];for(y.unshift(...i),y.push(...l),h=y.length,u=Promise.resolve(t);d<h;)u=u.then(y[d++],y[d++]);return u}h=i.length;let p=t;for(;d<h;){const y=i[d++],g=i[d++];try{p=y?y(p):p}catch(w){if(!g){u=Promise.reject(w);break}try{const m=g.call(this,w);A.isThenable(m)&&(u=Promise.resolve(m).then(()=>ps.call(this,p)))}catch(m){u=Promise.reject(m)}break}}if(!u)try{u=ps.call(this,p)}catch(y){u=Promise.reject(y)}for(d=0,h=l.length;d<h;)u=u.then(l[d++],l[d++]);return u}getUri(e){e=Zn(this.defaults,e);const t=_d(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Ad(t,e.params,e.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(e){Yn.prototype[e]=function(t,r){return this.request(Zn(r||{},{method:e,url:t,data:r&&A.hasOwnProp(r,"data")?r.data:void 0}))}});A.forEach(["post","put","patch","query"],function(e){function t(r){return function(o,s,i){return this.request(Zn(i||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}Yn.prototype[e]=t(),e!=="query"&&(Yn.prototype[e+"Form"]=t(!0))});let q0=class Nd{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(o){t=o});const r=this;this.promise.then(a=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](a);r._listeners=null}),this.promise.then=a=>{let o;const s=new Promise(i=>{r.subscribe(i),o=i}).then(a);return s.cancel=function(){r.unsubscribe(o)},s},e(function(o,s,i){r.reason||(r.reason=new xa(o,s,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
47subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=r=>{e.abort(r)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Nd(function(a){e=a}),cancel:e}}};function H0(n){return function(t){return n.apply(null,t)}}function V0(n){return A.isObject(n)&&n.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent: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,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent: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(io).forEach(([n,e])=>{io[e]===void 0&&(io[e]=n)});function Fd(n){const e=new Yn(n),t=id(Yn.prototype.request,e);return A.extend(t,Yn.prototype,e,{allOwnKeys:!0}),A.extend(t,e,null,{allOwnKeys:!0}),t.create=function(a){return Fd(Zn(n,a))},t}const ke=Fd(Ra);ke.Axios=Yn;ke.CanceledError=xa;ke.CancelToken=q0;ke.isCancel=Td;ke.VERSION=Ai;ke.toFormData=To;ke.AxiosError=H;ke.Cancel=ke.CanceledError;ke.all=function(e){return Promise.all(e)};ke.spread=H0;ke.isAxiosError=V0;ke.mergeConfig=Zn;ke.AxiosHeaders=pt;ke.formToJSON=n=>Rd(A.isHTMLForm(n)?new FormData(n):n);ke.getAdapter=Md.getAdapter;ke.HttpStatusCode=io;ke.default=ke;const{Axios:UR,AxiosError:$0,CanceledError:qR,isCancel:HR,CancelToken:VR,VERSION:$R,all:zR,Cancel:WR,isAxiosError:YR,spread:KR,toFormData:GR,AxiosHeaders:QR,HttpStatusCode:JR,formToJSON:XR,getAdapter:ZR,mergeConfig:ex,create:tx}=ke,Ll=n=>{let e;const t=new Set,r=(l,u)=>{const d=typeof l=="function"?l(e):l;if(!Object.is(d,e)){const h=e;e=u??(typeof d!="object"||d===null)?d:Object.assign({},e,d),t.forEach(p=>p(e,h))}},a=()=>e,i={setState:r,getState:a,getInitialState:()=>c,subscribe:l=>(t.add(l),()=>t.delete(l))},c=e=n(r,a,i);return i},z0=(n=>n?Ll(n):Ll),W0=n=>n;function Y0(n,e=W0){const t=ra.useSyncExternalStore(n.subscribe,ra.useCallback(()=>e(n.getState()),[n,e]),ra.useCallback(()=>e(n.getInitialState()),[n,e]));return ra.useDebugValue(t),t}const Ml=n=>{const e=z0(n),t=r=>Y0(e,r);return Object.assign(t,e),t},Br=(n=>n?Ml(n):Ml),Nl={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_ACTION_ITEM_API_URL:"https://vantaca-api-actionitems-prod-001.vantaca.net/api",VITE_AG_GRID_KEY:"Using_this_AG_Grid_Enterprise_key_( AG-050445 )_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_( [email protected] )___For_help_with_changing_this_key_please_contact_( [email protected] )___( Vantaca )_is_granted_a_( Multiple Applications )_Developer_License_for_( 3 )_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_AG_Grid_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_( 2 )_Production_Environments___This_key_works_with_AG_Grid_Enterprise_versions_released_before_( 7 November 2024 )____[v2]_MTczMDkzNzYwMDAwMA==0306b789837b5f70ed1e269fefb8ffd5",V
47ITE_ASSOCIATION_API_URL:"https://vantaca-api-associations-prod-001.vantaca.net/api",VITE_AUTH_URL:"https://vantaca-api-users-prod-001.vantaca.net/api/",VITE_CJS_IGNORE_WARNING:"true",VITE_ENABLE_NEW_RELIC:"true",VITE_EPAY_API_URL:"https://api-pay-expresspay.vantaca.net/api",VITE_FF_ARC_LIST_ALL:"true",VITE_FF_ARC_VOTING:"true",VITE_FF_DOCS_ENABLED_COMPANIES:"all",VITE_FF_DOCUMENTS:"true",VITE_FF_EXPRESS_CHECKOUT:"true",VITE_FF_HOAI_CHAT_MOBILE_ENABLED:"true",VITE_FF_HOAI_CHAT_PHASE3_AUTH:"true",VITE_FF_HOAI_SCRIPT:"true",VITE_FF_OTP:"true",VITE_FF_PMB_ENABLED_COMPANIES:"1CBM,3state,5150,A2Z,Abaris,ABM,Access,AccessPM,AccessRM,ACCU,ACE,ACM,ACMGA,ACMS,ACRI,ACSW,Advanced,Advantage,Advocate,AEI,agave,Agynbyte,AHPOA,AHR,algonquin,AllHardt,Alliance,Alliant,AllPro,Alluvia,AlphaHOA,AlphaLeasing,AMC,AMG,AMI,AMICondos,AMMT,AMP,AMPHOA,AMRES,AMV,Andersen,AO,APCP,APM,Arbella,ARChoice,Ardent,ARMS,Artemis,Ascent,ASofWA,Aspen,Aspire,ATC,athenaam,Atmos,Aurora,Avalon,AVE1,Avid,BAA,Baldwin,Bay,baystate,BBCM,BCCom,Beacon,BetterHOA,bfca,BHHS,Birchwood,BlueDoor,BlueOwl,Boardwalk,Bono,Bosshardt,BoulderHOA,Braeside,Bridgeport,Brigs,BRM,Brookwater,Brownstone,Butner,CAAMS,CACO,Cadden,Calibre,CAM,Camco,CAMLLC,Campbell,CAMS,Cardinal,CarolinaMgmt,Catalyst,CCG,CCHOAPros,CCMA,CCR,Cedar,CedarTesting,Certified,CertifiedOld,CFAM,CFM,Chase,CHP,Christison,CIMS,CKM,Clarity,CMA,cmamgrs,CMC,CMG,CMGT,CMI,CMS,Cobrin,Cohere,CommMgt,CommonI,Compass,compassrose,Conlin,conmgmt,Cooper,Corner,coro,Counterparts,CPM,CPMFL,cpmhoa,CPMS,CPS,CPVA,Cranberry,Crawford,Creative,CSI,CTM,Cummings,Customized,Davenport,Demo,DHB,Diversified,DSCA,DST,DV,EAM,eastwest,EJF,Elevate,Elevation,ELM,Emmons,Empire,EMS,EMT,Epic,EPS,Erickson,Evolution,Excalibur,Excel,Expert,Faith,FAS,Fineman,Finite,fivestar,Gaughan,GEM,Genesis,GHCM,Ghertner,GN,GNPA,Greenacre,GRG,GRMC,gsphillips,Gulf,GulfCoast,HAAS,Halo,Hammersmith,Harbeck,harborbay,Hawkeye,Heritage,Herriman,highpoint,Hillcrest,HMC,hoaassist,HOACommunity,HOAdv,HOAFamily,HOALiving,HOAMS,HoaOrg,hoaproperties,HOASolutions,hoastrategies,Homestead,Horst,House,HSR,Hubbell,Hudson,HunterHomes,IAM,IAMHOA,IAMI,Icon,Idaho,IHCA,Imagineers,IMC,Infinity,Inframark,innovative,IPM,IPS,islandcondo,IWM,JLPOA,JPC,Jubilee,Junction,Kelly,Kentuckiana,KESCH,Keys,Keystone,kinliving,Klein,kmloz,Knight,KPM,krhoa,KRJ,KS,KWPMC,lakecushman,lakelandor,Landmarc,LandMark,Lang,Lawrence,levelup,lighthouse,LLW,LMI,LRPRA,Luxe,Lynnthrove,Lynx,Magnolia,ManageWorks,Mann,manor,Maredith,Mastino,Mauzy,Maxet,Maxfield,May,MC,MCM,Melrose,Merit,Metro,Meyerland,MGMC,MicroHOA,MMI,MMR,MNRC,Mosaic,MPRS,MRI,mtparkhoa,MVPM,Navigate,nbmgmt,NCM,NCMG,Network,NMI,northcoast,NorthPoint,northwest,Nova,NPS,NRP,NSHOA,Oberg,OgdenAZ,OgdenWI,Omega,OnPoint,Ontrack,OPPM,Orkin,Pamco,PAMT,Park,PAS,PCF,PCI,PCM,Pent,pgchoa,Pilot,Pinnacle,PinnacleMD,PioneerBeck,PLPOA,PMA,PMCWI,PMG,PMGLake,PMI,PMP,pmsolutions,Pocono,PPM,PPMC,PPMS,Preferred,Premier,PremierCM,Prime,PrimeNV,Priority,PRM,PRMSandbox,ProActive,propadvantage,propertygroup,propertymasters,prosight,PSI,PSMT,PSPM,PT,Ptarmigan,QPM,RCP,RDF,RedBrick,Regency,resortmgt,Resource,Restoration,RGN,Riverside,Rizzetta,rjcmgt,Rosewood,RPMG,RRG,RRM,SACMP,Saga,Sage,SalesDemo,Sales
47DemoNew,Sandbox,Schoo,Seabreeze,Seacrest,Shaben,shewmgnt,Sierra,Silvercreek,silverlakes,Silverleaf,SKCM,SmartSandbox,SMS,Solstice,SonRise,SPCM,Specialty,SPM,SRP,SSMG,Staging,StagingHotfix,StagingStandard,StartUp,Sterling,STR,Sudler,Sum30,SunCo,Sunstate,Supp,Synergy,Tanoan,Target,Taylor,TCPM,teamhoa,TerraM,TerraW,terrawest,TheOffice,TierOneTesting,Timmons,TMA,TMGA,TMMA,TMS,TNWLC,totalpm,TPG,TPM,Training,Transcend,TRC,TRCA,Treo,Trestle,Trident,Trifecta,Trust,TWC,TWM,Tyco,UCM,UnitTest,Unity,Urban,UtahMgmt,Valley,Vanguard,vanmor,VantacaU,VCert,VCM,Victory,Vintage,VistaCAM,VMC,VMG,warren,Watson,WCM,Westcom,Weststar,Westwood,Wildwood,Wilkin,Willis,Windermere,WorthRoss,WPM,WPS,XAAB,XCMP,YorkHG,Young,z-mmi",VITE_FF_PROFILE_SETTINGS:"true",VITE_FF_REDESIGNED_PAGES:"",VITE_GUEST_PAYMENTS_API_URL:"https://api-pay-guestpay.vantaca.net/api",VITE_HOAI_SDK_ENV:"production",VITE_HOAI_SDK_SCRIPT_URL:"https://go.hoai.com/sdk.js",VITE_LAUNCHDARKLY_CLIENT_SIDE_ID:"697776b018568909ea6ffb6f",VITE_MODERN_PORTAL_EMBED_SSO_URL:"https://portal.vantaca.net/Mobile/EmbedSSO",VITE_PAY_API_URL:"https://api-pay-platform.vantaca.net/api",VITE_PENDO_API_KEY:"3ba120ba-10dc-45ff-5a96-b57aa3752137",VITE_PERKSPOT_WIDGET_API_KEY:"vantaca-tf1gFTyAfM0pbB63UwyFM4q_ejz5gEVtwdHjtTaxlh0",VITE_PERKSPOT_WIDGET_ENDPOINT:"https://perkspot-api.perkspot.com/pow/WidgetOffers",VITE_PERKSPOT_WIDGET_PLACEMENT_IDS:"299,300,301,302",VITE_PERKSPOT_WIDGET_SCRIPT_URL:"https://psprodcdnstorage.blob.core.windows.net/pow/prod/widget.js",VITE_PERKSPOT_WIDGET_SSO_ENABLED:"true",VITE_RECAPTCHA_KEY:"6LcZaKsnAAAAAIdwtM39Blg9hCMA8dNI1Qh-9eTY",VITE_SCOUT_AI_API_URL:"https://scout-api-prod.vantaca.net",VITE_STRIPE_PUBLIC_KEY:"pk_live_51MP8coHpq7nfeDeMGIR1gmdz3bkfpKNR87niQlcybZ52rWYZHJMzKSnENQWHdDVLegwTXd5DoQrgJ8zfPgA82wOM00JifbC32Z",VITE_SUPPORT_EMAIL:"[email protected]",VITE_SUPPORT_PHONE:"888-929-2822",VITE_SUPPORT_URL:"https://vantaca-home.zendesk.com/hc/en-us"},pa=new Map,eo=n=>{const e=pa.get(n);return e?Object.fromEntries(Object.entries(e.stores).map(([t,r])=>[t,r.getState()])):{}},K0=(n,e,t)=>{if(n===void 0)return{type:"untracked",connection:e.connect(t)};const r=pa.get(t.name);if(r)return{type:"tracked",store:n,...r};const a={connection:e.connect(t),stores:{}};return pa.set(t.name,a),{type:"tracked",store:n,...a}},G0=(n,e)=>{if(e===void 0)return;const t=pa.get(n);t&&(delete t.stores[e],Object.keys(t.stores).length===0&&pa.delete(n))},Q0=n=>{var e,t;if(!n)return;const r=n.split(` 48`),a=r.findIndex(s=>s.includes("api.setState"));if(a<0)return;const o=((e=r[a+1])==null?void 0:e.trim())||"";return(t=/.+ (.+) .+/.exec(o))==null?void 0:t[1]},J0=(n,e={})=>(t,r,a)=>{const{enabled:o,anonymousActionType:s,store:i,...c}=e;let l;try{l=(o??(Nl?"production":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!l)return n(t,r,a);const{connection:u,...d}=K0(i,l,c);let h=!0;a.setState=((g,w,m)=>{const b=t(g,w);if(!h)return b;const C=m===void 0?{type:s||Q0(new Error().stack)||"anonymous"}:typeof m=="string"?{type:m}:m;return i===void 0?(u==null||u.send(C,r()),b):(u==null||u.send({...C,type:`${i}/${C.type}`},{...eo(c.name),[i]:a.getState()}),b)}),a.devtools={cleanup:()=>{u&&typeof u.unsubscribe=="function"&&u.unsubscribe(),G0(c.name,i)}};const p=(...g)=>{const w=h;h=!1,t(...g),h=w},y=n(a.setState,r,a);if(d.type==="untracked"?u==null||u.init(y):(d.stores[d.store]=a,u==null||u.init(Object.fromEntries(Object.entries(d.stores).map(([g,w])=>[g,g===d.store?y:w.getState()])))),a.dispatchFromDevtools&&typeof a.dispatch=="function"){let g=!1;const w=a.dispatch;a.dispatch=(...m)=>{(Nl?"production":void 0)!=="production"&&m[0].type==="__setState"&&!g&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),g=!0),w(...m)}}return u.subscribe(g=>{var w;switch(g.type){case"ACTION":if(typeof g.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return ys(g.payload,m=>{if(m.type==="__setState"){if(i===void 0){p(m.state);return}Object.keys(m.state).length!==1&&console.error(` 49 [zustand devtools middleware] Unsupported __setState action format. 50 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 51 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 52 `);const b=m.state[i];if(b==null)return;JSON.stringify(a.getState())!==JSON.stringify(b)&&p(b);return}a.dispatchFromDevtools&&typeof a.dispatch=="function"&&a.dispatch(m)});case"DISPATCH":switch(g.payload.type){case"RESET":return p(y),i===void 0?u==null?void 0:u.init(a.getState()):u==null?void 0:u.init(eo(c.name));
52case"COMMIT":if(i===void 0){u==null||u.init(a.getState());return}return u==null?void 0:u.init(eo(c.name));case"ROLLBACK":return ys(g.state,m=>{if(i===void 0){p(m),u==null||u.init(a.getState());return}p(m[i]),u==null||u.init(eo(c.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return ys(g.state,m=>{if(i===void 0){p(m);return}JSON.stringify(a.getState())!==JSON.stringify(m[i])&&p(m[i])});case"IMPORT_STATE":{const{nextLiftedState:m}=g.payload,b=(w=m.computedStates.slice(-1)[0])==null?void 0:w.state;if(!b)return;p(i===void 0?b:b[i]),u==null||u.send(null,m);return}case"PAUSE_RECORDING":return h=!h}return}}),y},X0=J0,ys=(n,e)=>{let t;try{t=JSON.parse(n)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}t!==void 0&&e(t)};function Oo(n,e){return(...t)=>Object.assign({},n,e(...t))}function Ta(n,e){let t;try{t=n()}catch{return}return{getItem:a=>{var o;const s=c=>c===null?null:JSON.parse(c,void 0),i=(o=t.getItem(a))!=null?o:null;return i instanceof Promise?i.then(s):s(i)},setItem:(a,o)=>t.setItem(a,JSON.stringify(o,void 0)),removeItem:a=>t.removeItem(a)}}const Gs=n=>e=>{try{const t=n(e);return t instanceof Promise?t:{then(r){return Gs(r)(t)},catch(r){return this}}}catch(t){return{then(r){return this},catch(r){return Gs(r)(t)}}}},Z0=(n,e)=>(t,r,a)=>{let o={storage:Ta(()=>localStorage),partialize:w=>w,version:0,merge:(w,m)=>({...m,...w}),...e},s=!1,i=0;const c=new Set,l=new Set;let u=o.storage;if(!u)return n((...w)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),t(...w)},r,a);const d=()=>{const w=o.partialize({...r()});return u.setItem(o.name,{state:w,version:o.version})},h=a.setState;a.setState=(w,m)=>(h(w,m),d());const p=n((...w)=>(t(...w),d()),r,a);a.getInitialState=()=>p;let y;const g=()=>{var w,m;if(!u)return;const b=++i;s=!1,c.forEach(R=>{var E;return R((E=r())!=null?E:p)});const C=((m=o.onRehydrateStorage)==null?void 0:m.call(o,(w=r())!=null?w:p))||void 0;return Gs(u.getItem.bind(u))(o.name).then(R=>{if(R)if(typeof R.version=="number"&&R.version!==o.version){if(o.migrate){const E=o.migrate(R.state,R.version);return E instanceof Promise?E.then(j=>[!0,j]):[!0,E]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,R.state];return[!1,void 0]}).then(R=>{var E;if(b!==i)return;const[j,P]=R;if(y=o.merge(P,(E=r())!=null?E:p),t(y,!0),j)return d()}).then(()=>{b===i&&(C==null||C(y,void 0),y=r(),s=!0,l.forEach(R=>R(y)))}).catch(R=>{b===i&&(C==null||C(void 0,R))})};return a.persist={setOptions:w=>{o={...o,...w},w.storage&&(u=w.storage)},clearStorage:()=>{u==null||u.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:w=>(c.add(w),()=>{c.delete(w)}),onFinishHydration:w=>(l.add(w),()=>{l.delete(w)})},o.skipHydration||g(),y||p},_o=Z0;function eC({previous:n,incoming:e,heldQuote:t}){return e.fundingType==null?null:n!=null&&n.fundingType==null?{convenienceFee:n.convenienceFee,total:n.total}:t}const tC=Br(Oo({epayToken:null,ownerId:null,userId:null,managementCompanyId:null,checkoutLinkId:null,subLedgerId:null,paymentSetup:null,unclassifiedQuote:null,paymentOptions:null,balance:null,paymentMethods:null,selectedPaymentMethod:null,amount:null,logo:null,account:null,totalAmountDueCents:null,nextChargeDate:null,autoDraftNextDraftDate:null,managementCompany:null,confirmed:null,confirmedIntentId:null,maximumPaymentAmount:null,hasRecurringPayments:!1,hasAutoDraftPayments:!1,isZeroState:!1,defaultPaymentAmount:null,upcomingCharges:null,isUpdatingIntent:!1,savePaymentMethod:!0,forcePaymentFlow:!1,showRecurringSetup:!1,recurringPaymentInterval:null,recurringPaymentAmount:null,recurringPaymentSetup:null,recurringPayFullBalance:!0,enrollmentContext:null,fallbackContext:null,enrollmentResult:null,launchDarklyIdentifiedKey:null},(n,e)=>({setEpayToken(t){n({epayToken:t})},setIntentValues(t){const{paymentSetup:r,unclassifiedQuote:a}=e(),o=t.paymentSetup;n({paymentSetup:o,confirmed:t.created,unclassifiedQuote:eC({previous:r,incoming:o,heldQuote:a})})},releaseClassifiedCard(){const{paymentSetup:t,unclassifiedQuote:r}=e();t&&n({paymentSetup:{...t,fundingType:null,network:null,...r},unclassifiedQuote:null})}
52,setAccountInfo(t){n({logo:t.logo,paymentOptions:t.paymentOptions,balance:t.balance/100,paymentMethods:t.paymentMethods,account:t.account,maximumPaymentAmount:t.maximumPaymentAmount?t.maximumPaymentAmount/100:null,hasRecurringPayments:t.hasRecurringPayments,hasAutoDraftPayments:t.hasAutoDraftPayments,totalAmountDueCents:t.totalAmountDueCents,nextChargeDate:t.nextChargeDate??null,managementCompany:t.managementCompany,isZeroState:t.isZeroState??!1,defaultPaymentAmount:t.defaultPaymentAmount!=null?t.defaultPaymentAmount/100:null,upcomingCharges:t.upcomingCharges??null})},setFormState(t){n({formState:t})},setSelectedPaymentMethod(t){n({selectedPaymentMethod:t})},setAmount(t){n({amount:t})},setIsUpdatingIntent(t){n({isUpdatingIntent:t})},setSavePaymentMethod(t){n({savePaymentMethod:t})},setForcePaymentFlow(t){n({forcePaymentFlow:t})},setShowRecurringSetup(t){n({showRecurringSetup:t})},setRecurringPaymentInterval(t){n({recurringPaymentInterval:t})},setRecurringPaymentAmount(t){n({recurringPaymentAmount:t})},setRecurringPaymentSetup(t){n({recurringPaymentSetup:t})},setRecurringPayFullBalance(t){n({recurringPayFullBalance:t})},setClientSecret(t){n({clientSecret:t})},setPaymentMethodSaving(t){n({paymentMethodSaving:t})},setClientSecretUpdating(t){n({clientSecretUpdating:t})},setEnrollmentContext(t){n(t===null?{enrollmentContext:null,enrollmentResult:null}:{enrollmentContext:t,fallbackContext:null})},setFallbackContext(t){n(t===null?{fallbackContext:null,enrollmentResult:null}:{fallbackContext:t,enrollmentContext:null})},setEnrollmentResult(t){n({enrollmentResult:t})},setAutoDraftNextDraftDate(t){n({autoDraftNextDraftDate:t})},setLaunchDarklyIdentifiedKey(t){n({launchDarklyIdentifiedKey:t})},markIntentConfirmed(t){n({confirmedIntentId:t})},setEpayUserValues(){const{epayToken:t}=e();if(!t)return;const{uid:r,poid:a,sub:o,slid:s,cus:i}=Zd(t),c=Number(r),l=Number(a);n({userId:c,ownerId:l,managementCompanyId:(i==null?void 0:i.toLowerCase())??null,checkoutLinkId:o,subLedgerId:s})}}))),gs={currentStep:1,selectedSubledger:null,selectedPaymentMethod:null,paymentAmount:null},Qs=Br(_o(Oo({configuration:null,wizardState:gs,account:null,guestPaymentsToken:null,email:null,paymentStatus:null,total:null,paymentRecordId:null},(n,e)=>({setGuestPaymentsToken(t){n({guestPaymentsToken:t})},setEmail(t){n({email:t})},setConfiguration(t){n({configuration:t})},setCurrentStep(t){n(r=>({wizardState:{...r.wizardState,currentStep:t}}))},setAccount(t){n({account:t})},setSelectedSubledger(t){n(r=>({wizardState:{...r.wizardState,selectedSubledger:t,paymentAmount:0}}))},setSelectedPaymentMethod(t){n(r=>({wizardState:{...r.wizardState,selectedPaymentMethod:t}}))},setPaymentAmount(t){n(r=>({wizardState:{...r.wizardState,paymentAmount:t}}))},setPaymentStatus(t){n({paymentStatus:t})},setTotal(t){n({total:t})},setPaymentRecordId(t){n({paymentRecordId:t})},resetWizard(){n({wizardState:gs})},goToNextStep(){const{currentStep:t}=e().wizardState;t<4&&n(r=>({wizardState:{...r.wizardState,currentStep:t+1}}))},goToPreviousStep(){const{currentStep:t}=e().wizardState;t>1&&n(r=>({wizardState:{...r.wizardState,currentStep:t-1}}))},clearStore(){n({guestPaymentsToken:null,wizardState:gs,account:null,email:null,paymentStatus:null,total:null,paymentRecordId:null})}})),{name:"guest-payments-storage",storage:Ta(()=>sessionStorage),partialize:n=>({guestPaymentsToken:n.guestPaymentsToken,configuration:n.configuration,wizardState:n.wizardState,account:n.account,email:n.email,paymentStatus:n.paymentStatus,total:n.total,paymentRecordId:n.paymentRecordId})}));function Js(n,e){return"ReactNativeWebView"in n&&typeof n.ReactNativeWebView=="object"&&n.ReactNativeWebView!==null&&e in n.ReactNativeWebView&&typeof n.ReactNativeWebView[e]=="function"}function Fl(){var e;const n=(e=window.ReactNativeWebView)==null?void 0:e.injectedObjectJson();return typeof n=="string"?JSON.parse(n):null}function nC({client:n,association:e,userId:t}){if(!n)return null;const r=e?`association-${e.id}`:"anonymous-association",a=t==null?"anonymous-user":`user-${t}`;return`${n}|${r}|${a}`}const rC=Br(_o(Oo({email:null,redirect:null},n=>({setEmail(e){n({email:e})},setRedirect(e){n({redirect:e})},clearEmail(){n({email:null})},clearRedirect(){n({redirect:null})},clearAuthState(){n({email:null,redirect:null})}})),{name:"auth-flow-storage",storage:Ta(()=>sessionStorage),partialize:n=>({email:n.email,redirect:n.redirect})})),aC=n=>({accounts:[],autoDraftEnrollments:[],paymentMethods:[],recurringPayments:[],futurePayments:[],lastPaymentMethodUsed:null,refreshLastPaymentMethod:async()=>{try{const{member:e}=await tr.getPayments({pageSize:1}),t=e==null?void 0:e[0];n({lastPaymentMethodUsed:(t==null?void 0:t.paymentType)??null})}catch{n({lastPaymentMethodUsed:null})}},refreshPayments:async(e="all")=>{const t=[],r=async()=>{zt.invalidateQueries({queryKey:Hl.queryKey});const i=await zt.fetchQuery(Hl)??[];n({autoDraftEnrollments:i})},a=async()=>{zt.invalidateQueries({queryKey:Vl.queryKey});const i=(await zt.fetchQuery(Vl)).paymentMethods??[];n({paymentMethods:i})},o=async()=>{zt.invalidateQueries({queryKey:$l.queryKey});const i=await zt.fetchQuery($l)??[];n({recurringPayments:i})},s=async()=>{zt.invalidateQueries({queryKey:zl.queryKey});const i=await zt.fetchQuery(zl)??[];n({futurePayments:i})};(e==="autoDraftEnrollments"||e==="all")&&t.push(r()),(e==="paymentMethods"||e==="all")&&t.push(a()),(e==="recurringPayments"||e==="all")&&t.push(o()),(e==="futurePayments"||e==="all")&&t.push(s()),await Promise.allSettled(t)}}),oC=(n,e)=>({gridsColumnState:{},gridsPageSize:{},setGridsColumnState(t){n(r=>{if(!t)return r;const{gridId:a,columnState:o,pageSize:s}=t,i={...r.gridsColumnState,[a]:o},c=s===void 0?r.gridsPageSize:{...r.gridsPageSize,[a]:s};return Wn({message:"Grid settings saved.",title:"Success",type:"success",duration:6e3}),{...r,gridsColumnState:i,gridsPageSize:c}})},getGridColumnState(t){return e().gridsColumnState[t]||null},getGridPageSize(t){return e().gridsPageSize[t]},resetGridState(t){n(r=>{const{[t]:a,...o}=r.gridsColumnState,{[t]:s,...i}=r.gridsPageSize;return{...r,gridsColumnState:o,gridsPageSize:i}}),Wn({message:"Grid reset to default settings.",title:"Success",type:"success",duration:6e3})},restoreGridState(t,r,a=!0){const o=e().gridsColumnState[t];r&&o&&r.applyColumnState({state:o,applyOrder:!0});const s=e().getGridPageSize(t);r&&s!==void 0&&r.applyPageSize(s),a&&Wn({message:"Grid settings restored.",title:"Success",type:"success",duration:6e3})}}),sC="hoai-panel",Bd=()=>typeof window<"u"&&window.innerWidth>=ky,Bl=Br()(_o(n=>({isOpen:Bd(),setIsOpen:e=>n({isOpen:e})}),{name:sC,storage:Ta(()=>sessionStorage)})),iC=()=>{try{Bl.persist.clearStorage()}catch{}Bl.setState({isOpen:Bd()})};
52function jd(n,e){return typeof n[e]=="boolean"?n[e]:Ny.has(e)}function nx(n){const e=gi();return jd(e,n)}function Ci(){const n=Sa(),e=Xs(window),t=window.top??window.parent,r=Xs(window)?"iframe":Ud(window)?"mobile":"none",[a,o]=O.useState(Zs()),s=()=>o(Zs());return O.useEffect(()=>(s(),window.addEventListener("popstate",s),()=>{window.removeEventListener("popstate",s)}),[]),{isEmbeddedPage:e,embedded:a,postMessage:Ir,navigateToUrl:(c,l)=>{const d=`${a?"/embed/":"/"}${(l??c).replace(/^\//,"")}`;r!=="iframe"?n(d):Ir("navigate",{url:c},()=>n(d))},parentWindow:t,parentType:r}}function rx(n){return new Promise((e,t)=>{const r=new FileReader;r.onloadend=()=>{var a;try{const o=r.result,s=((a=o==null?void 0:o.split(","))==null?void 0:a.at(1))??o;e(s)}catch(o){t(o)}},r.onerror=t,r.onabort=t,r.readAsDataURL(n)})}function Ir(n,e,t){var r;if(Ud(window)){(r=window.webkit.messageHandlers.mainHandler)==null||r.postMessage({type:n,...e});return}if(Xs(window)){(window.top??window.parent).postMessage({type:n,...e},"*");return}if(Js(window,"postMessage")){window.ReactNativeWebView.postMessage(JSON.stringify({type:n,...e}));return}t()}function ax(n,e){Ir("download",{detail:n},e)}function Ud(n){return"webkit"in n&&typeof n.webkit=="object"&&n.webkit!==null&&"messageHandlers"in n.webkit&&typeof n.webkit.messageHandlers=="object"&&n.webkit.messageHandlers!==null&&"mainHandler"in n.webkit.messageHandlers&&typeof n.webkit.messageHandlers.mainHandler=="object"&&n.webkit.messageHandlers.mainHandler!==null&&"postMessage"in n.webkit.messageHandlers.mainHandler&&typeof n.webkit.messageHandlers.mainHandler.postMessage=="function"}function Xs(n){const e=n.top??n.parent;return n.location!==e.location}function Zs(){const n=window.location.pathname.startsWith("/")?1:0,e=window.location.pathname.split("/");return e.length<=n?!1:e[n]==="embed"}function ko(n){const t=Zs()?"/embed":"";return n.startsWith("/")&&(n=n.slice(1)),`${t}/${n}`}function ox(){const n=Sa(),{embedded:e}=Ci();return O.useCallback((t,r)=>{const a=e?"/embed":"";return t.startsWith("/")&&(t=t.slice(1)),n(`${a}/${t}`,r)},[n,e])}function cC({children:n,to:e,...t}){var o;const{embedded:r}=Ci(),a=r?"/embed":"";if(typeof e=="string"){if(!e.startsWith("http")){const s=e.startsWith("/")?e.slice(1):e;e=`${a}/${s}`}}else{const s=(o=e.pathname)!=null&&o.startsWith("/")?e.pathname.slice(1):e.pathname;e.pathname=`${a}/${s}`}return v.jsx(Qh,{...t,to:e,children:n})}function lC({to:n,...e}){var a;const{embedded:t}=Ci(),r=t?"/embed":"";if(typeof n=="string"){const o=n.startsWith("/")?n.slice(1):n;n=`${r}/${o}`}else{const o=(a=n.pathname)!=null&&a.startsWith("/")?n.pathname.slice(1):n.pathname;n.pathname=`${r}/${o}`}return v.jsx(Ch,{...e,to:n})}function sx(){const n=Du(),e=gi();return n.map(r=>r.handle).filter(Boolean).reduce((r,a)=>{const{redesignPage:o,redesignHandle:s,...i}=a,c={...r,...i};return o&&s&&jd(e,o)?{...c,...s}:c},{})}const uC=(n,e)=>({userSettings:null,properties:[],selectedAssociationId:null,selectedPropertyId:null,theme:"Default",themeOverridden:!1,settingsLoading:!0,launchDarklyIdentifiedKey:null,preferences:null,configuration:null,getLogoUrl(){var o;const t=e().userSettings,r=e().selectedAssociationId,a=(o=t==null?void 0:t.associations)==null?void 0:o.find(s=>s.id===r);return(a==null?void 0:a.logoUrl)??(t==null?void 0:t.logoUrl)??null},getBannerUrl(){var o;const t=e().userSettings,r=e().selectedAssociationId,a=(o=t==null?void 0:t.associations)==null?void 0:o.find(s=>s.id===r);return(a==null?void 0:a.bannerUrl)??(t==null?void 0:t.bannerUrl)??null},setUserSettings(t,r){var d,h,p,y,g,w;const a=e().selectedPropertyId,o=e().selectedAssociationId,s=e();if(s.isLoggedIn&&(!(t!=null&&t.associations)||t.associations.length===0)){(d=s.logout)==null||d.call(s),typeof window<"u"&&window.location.assign(ko("/login"));return}const i=t.designTemplate;e().setTheme(i);const c=((p=(h=t==null?void 0:t.associations)==null?void 0:h.flatMap(m=>m.properties.length===0?[{associationId:m.id,associationName:m.name,autoDraftType:"off",ownerId:0,propertyId:m.id*-1,accountNumber:"",address:{address1:"",address2:"",city:"",stateProvince:"",postalCode:""}}]:m.properties.map(b=>({...b,associationId:m.id,associationName:m.name,autoDraftType:m.autoDraftType}))))==null?void 0:p.sort(({associationName:m},{associationName:b})=>m.localeCompare(b)))??[],l=c.find(m=>r&&m.accountNumber===r||!r&&m.propertyId===a)??(!r&&o!=null?c.find(m=>m.associationId===o):void 0)??c.at(0)??null,u={userSettings:t,properties:c,selectedProperty:l,selectedPropertyId:(l==null?void 0:l.propertyId)??null,settingsLoading:!1};l?(u.selectedPropertyId=l.propertyId,u.selectedAssociationId=l.associationId):o!=null&&((y=t==null?void 0:t.associations)!=null&&y.some(m=>
52m.id===o))?u.selectedAssociationId=o:(g=t==null?void 0:t.pages)!=null&&g.length&&(u.selectedAssociationId=(w=t.pages.at(0))==null?void 0:w.associationId),n(u)},setPreferences(t){n({preferences:t})},setConfiguration(t){n({configuration:t})},setProperties:t=>n({properties:t}),setSelectedProperty(t){const r={selectedPropertyId:(t==null?void 0:t.propertyId)??null};t&&(r.selectedAssociationId=t.associationId),n(r)},setTheme(t,r=!1){e().themeOverridden||n({theme:t,themeOverridden:r})},setSelectedAssociationId(t){n({selectedAssociationId:t})}}),dC=(n,e)=>({user:null,token:null,portalToken:null,userId:null,userSettings:null,lastLoginDate:void 0,isLoggedIn:!1,refreshing:!1,setLastLoginDate(t){n({lastLoginDate:t instanceof Date?t.toISOString():t??void 0})},async refreshUser(){n({refreshing:!0});const{token:t}=e();if(!t){n({refreshing:!1,isLoggedIn:!1});return}const{UserId:r}=du(t),a=parseInt(r),[o,{token:s}]=await Promise.all([Ul.getUser(a),Ul.getPortalToken()]);n({userId:a,user:o,isLoggedIn:!0,token:t,portalToken:s,refreshing:!1})}});let jl=0;const Pt=Br()(X0(_o((n,e,t)=>({...uC(n,e),...dC(n,e),...aC(n),...oC(n,e),setAuthRefreshing(r){n({refreshing:r})},async setToken(r){n({token:r}),await e().refreshUser(),e().isLoggedIn&&e().token&&await e().refreshAccounts()},logout(r){var a,o;n({token:null,portalToken:null,userId:null,user:null,lastLoginDate:void 0,isLoggedIn:!1,properties:[],selectedPropertyId:null,accounts:[]}),r!=null&&r.keepAuthFlowState||rC.getState().clearAuthState();try{(o=(a=window.HOAi)==null?void 0:a.destroy)==null||o.call(a)}catch{}iC()},async refreshAccounts(){if(!e().isLoggedIn)return;const r=await zt.fetchQuery(DC);n({accounts:r})},async setPendo(r){var a,o,s,i,c;if(!e().isLoggedIn&&!e().token){const l={visitor:{user:"prelogin"}};if(l.visitor&&Js(window,"injectedObjectJson")){const u=Fl();if(u!=null&&u.vantacaHomeMobile){const{vantacaHomeMobile:d}=u;l.visitor.mobilewhitelabelid=d.whiteLabelId,l.visitor.mobileplatformos=d.platformOS,l.visitor.mobileplatformversion=d.platformVersion,l.visitor.mobiledevicetype=d.deviceType,l.visitor.mobileappversion=d.appVersion,l.visitor.mobilebuildnumber=d.appBuildNumber}}(a=window.pendo)==null||a.initialize(l);return}if(e().isLoggedIn&&e().token){const l=e().userSettings;if(!l){n({token:null,portalToken:null,userId:null,user:null,isLoggedIn:!1,properties:[],selectedPropertyId:null,accounts:[]});return}const u=e().user,d=e().preferences,h=e().configuration,p=e().token,y=l.associations.find(E=>E.id===e().selectedAssociationId)??null;if(!p)return;const g=e().lastLoginDate,{Customer:w}=du(p),m=((o=e().accounts.find(E=>E.subLedgerId===0))==null?void 0:o.nextChargeDate)??null,b=m instanceof Date?m.toISOString():m??void 0,C=b?Math.ceil((new Date(b).setHours(0,0,0,0)-new Date().setHours(0,0,0,0))/864e5):null;await Promise.all([e().refreshPayments(),e().refreshLastPaymentMethod()]);const R={visitor:{id:`${w}_${u==null?void 0:u.userId.toString()}`,mcId:w,userId:(u==null?void 0:u.userId)??null,displayName:(u==null?void 0:u.userName)??null,email:(u==null?void 0:u.email)??null,textPreferences:(d==null?void 0:d.receivePayBillingText)??null,textsAvailable:(h==null?void 0:h.billingTextNotificationsAvailable)??null,isBoardMember:l.associations.some(E=>E.isBoardMember)??!1,isHomeowner:(u==null?void 0:u.relTypeId)===5,lastLoginDate:g??null,generalSubledgerBalance:((s=e().accounts.find(E=>E.subLedgerId===0))==null?void 0:s.balance)??null,nextGeneralSubledgerChargeDate:b??null,daysUntilGeneralSubledgerChargeDate:C??null,lastPaymentMethodUsed:e().lastPaymentMethodUsed??null,hasRecurringPayments:((i=e().recurringPayments)==null?void 0:i.length)>0,isV3Enabled:(r==null?void 0:r.isV3Enabled)??!1,associationName:(y==null?void 0:y.name)??null,assocId:(y==null?void 0:y.id)??null},account:{id:w}};if(R.visitor&&Js(window,"injectedObjectJson")){const E=Fl();if(E!=null&&E.vantacaHomeMobile){const{vantacaHomeMobile:j}=E;R.visitor.mobilewhitelabelid=j.whiteLabelId,R.visitor.mobileplatformos=j.platformOS,R.visitor.mobileplatformversion=j.platformVersion,R.visitor.mobiledevicetype=j.deviceType,R.visitor.mobileappversion=j.appVersion,R.visitor.mobilebuildnumber=j.appBuildNumber}}(c=window.pendo)==null||c.initialize(R)}},async setLaunchDarkly(r,a){var h;const o=e().userSettings,s=(h=o==null?void 0:o.client)==null?void 0:h.toLowerCase();if(!s)return;const i=e().user,c=e().isLoggedIn&&i;if(c&&!a)return;const l=c?{kind:"multi","management-company":{key:`${s}-client`,name:a==null?void 0:a.companyName},association:{key:`${s}-association-${a==null?void 0:a.id}`,name:a==null?void 0:a.name},user:{key:`${s}-user-${i.userId}`,name:i.userName,role:i.relTypeId===5?"homeowner":i.relTypeId===10?"boardMember":"other",email:i.email,lastLoginDate:e().lastLoginDate??null,lastPaymentMethodUsed:e().lastPaymentMethodUsed??null}}:{kind:"multi","management-company":{key:`${s}-client`,name:(a==null?void 0:a.companyName)??(o==null?void 0:o.companyName)??void 0},association:a?{key:`${s}-association-${a.id}`,name:a.name}
52:{key:"anonymous-association",name:"Anonymous Association"},user:{key:"anonymous-user",name:"Anonymous User",role:"anonymous",email:"[email protected]"}},u=nC({client:s,association:a,userId:c?i.userId:null});n({launchDarklyIdentifiedKey:null});const d=++jl;r.identify(l,void 0,()=>{d===jl&&n({launchDarklyIdentifiedKey:u})})}}),{name:"user-store",storage:Ta(()=>localStorage),partialize:n=>({token:n.token,portalToken:n.portalToken,lastLoginDate:n.lastLoginDate,selectedPropertyId:n.selectedPropertyId,selectedAssociationId:n.selectedAssociationId,theme:n.theme,gridsColumnState:n.gridsColumnState,gridsPageSize:n.gridsPageSize}),onRehydrateStorage:()=>(n,e)=>{var r;e||!n||(r=globalThis.location)!=null&&r.pathname.includes("epay/")||(n.setAuthRefreshing(!0),setTimeout(()=>{n.refreshUser().then(()=>n.refreshAccounts().catch(console.error),a=>{console.error(a),n.setAuthRefreshing(!1)})}))}}))),fC=3,hC=1e4,na=[];function Ri(n){const e=Date.now();for(;na.length>0&&na[0]<e-hC;)na.shift();na.length>=fC||(na.push(e),Wn(n))}const un={},qd=ke.create({baseURL:Dy,headers:un,paramsSerializer:{indexes:null}});PC(qd);const ix=new _A(qd),Hd=ke.create({baseURL:Oy,headers:un,paramsSerializer:{indexes:null}});SC(Hd);const cx=new kA(Hd),xi=ke.create({baseURL:Qu,headers:un,paramsSerializer:{indexes:null}});Da(xi);Io(xi);const tr=new rd(xi),mC=ke.create({baseURL:Qu,headers:un,paramsSerializer:{indexes:null}}),lx=new rd(mC),Ti=ke.create({baseURL:Ty,headers:un,paramsSerializer:{indexes:null}});Da(Ti);wC(Ti);const Ul=new ES(Ti),Di=ke.create({baseURL:Gu,headers:un,paramsSerializer:{indexes:null}});Da(Di);Io(Di);const pC=new nd(Di),yC=ke.create({baseURL:Gu,headers:un,paramsSerializer:{indexes:null}}),ux=new nd(yC),Oi=ke.create({baseURL:xy,headers:un,paramsSerializer:{indexes:null}});Da(Oi);Io(Oi);const dx=new OA(Oi),_i=ke.create({baseURL:_y,headers:un,paramsSerializer:{indexes:null}});Da(_i);Io(_i);const fx=new IA(_i);function gC(n){const e=Pt.getState().token;return e&&n.headers&&(n.headers.Authorization=`Bearer ${e}`),n}function vC(n){const e=tC.getState().epayToken;return e&&n.headers&&(n.headers.Authorization=`Bearer ${e}`),n}function bC(n){const e=Qs.getState().guestPaymentsToken;return e&&n.headers&&(n.headers.Authorization=`Bearer ${e}`),n}function Vd(n){var o,s,i;if(!(n instanceof $0)||n.code===ke.AxiosError.ERR_CANCELED)return;const e=(o=n.response)==null?void 0:o.status,t=(s=n.response)==null?void 0:s.data,r=(i=n.config)==null?void 0:i.suppressToast;if(e===401)return RC({error:n});if(!t)return xC({error:n,suppressToast:r});let a;switch(t.errorCode){default:a=6e4;break}if(AC(n))return EC();if(e===403)return CC({error:n})||ql({error:n,problemDetails:t,durationLength:a,suppressToast:r});if(n.message=t.detail,e&&e>=500&&e)return TC({error:n,problemDetails:t,durationLength:a,suppressToast:r});if(e&&e>=400&&e)return ql({error:n,problemDetails:t,durationLength:a,suppressToast:r})}function Io(n){n.interceptors.response.use(e=>e,async e=>(Vd(e),Promise.reject(e)))}function wC(n){n.interceptors.response.use(async e=>{var r;const t=globalThis.location.pathname.startsWith("/epay/")??!1;return((r=e.config)==null?void 0:r.url)==="/HomeSettings"&&e.status===204&&!t&&(Pt.getState().logout(),window.location.assign(ko("/login")),Wn({type:"warning",title:"Login expired",message:"Please login again"})),e},async e=>(Vd(e),Promise.reject(e)))}function Da(n){n.interceptors.request.use(gC)}function PC(n){n.interceptors.request.use(vC)}function SC(n){n.interceptors.request.use(bC)}function AC(n){var e,t;return((t=(e=n==null?void 0:n.response)==null?void 0:e.data)==null?void 0:t.errorCode)==="PA007"}function EC(){Wn({type:"warning",title:"Test Account Detected",icon:!0,duration:3e4,message:v.jsx(v.Fragment,{children:"This account is not connected to a proper payment provider, which usually occurs on testing/demo accounts. Payment processing is not allowed on this account."})})}function CC({error:n}){var r;const e=["/HomeSettings"],t=globalThis.location.pathname.startsWith("/epay/")??!1;return e.includes(((r=n.config)==null?void 0:r.url)??"")&&!t?(Pt.getState().logout(),Wn({type:"info",title:"Login expired",message:"Please login again"}),window.location.assign(ko("/login")),!0):!1}function RC({error:n}){var r;const e=["/Users/AuthenticateSSO","/Users/Authenticate","/HomeSettings","/Account"],t=globalThis.location.pathname.startsWith("/epay/")??!1;!e.includes(((r=n.config)==null?void 0:r.url)??"")&&globalThis.location.pathname!=="/login"&&!t&&(Pt.getState().logout(),window.location.assign(ko("/login")))}function xC({error:n,suppressToast:e}){Ir("error",{error:n,errorType:"generic"},()=>{e||Ri({type:"error",title:"Error",message:n.message})})}function ql({error:n,problemDetails:e,durationLength:t,suppressToast:r}){const a=e.detail??e.message??e.title??"An unexpected error occurred.",o=e.errorId;Ir("error",{error:n,errorType:"4xx"},()=>{r||Ri({type:"error",title:"Error",icon:!1,duration:t,message:v.jsxs(v.Fragment,{children:[v.jsx("p",{className:"text-xs",children:v.jsx(ef,{i18nKey:`main.exceptions.${e.errorCode}`,defaults:a,components:{Profile:v.jsx(cC,{to:"/my/profile-settings",className:"text-base-link font-semibold hover:underline"})},values:{message:a}})}),o&&v.jsxs(v.Fragment,{children:[v.jsx("br",{}),v.jsx("p",{className:"text-xs",children:v.jsxs("strong",{children:["Error ID: ",o]})})]})]})})})}function TC({error:n,problemDetails:e,durationLength:t,suppressToast:r}){const a=e.errorCode??"FE001";Ir("error",{error:n,errorType:"5xx"},()=>{r||Ri({type:"error",title:"Error",icon:!1,duration:t,message:v.jsxs(v.Fragment,{children:[v.jsx("p",{className:"text-xs",children:"We have encountered an error and could not complete your request."}),v.jsxs("p",{className:"text-xs",children:["Please"," ",v.jsx("a",{className:"text-base-link",href:Iy,target:"_blank",rel:"noopener noreferrer",children:"report"})," ","your problem and mention the error code below."]}),v.jsx("br",{}),v.jsx("p",{className:"text-xs",children:v.jsxs("strong",{children:["Error Code: ",a]})})]})})})}const zt=new Em({defaultOptions:{queries:{staleTime:1e3*60*5}}}),DC={queryKey:["accounts"],queryFn:()=>tr.getSubLedgers({portalEnabled:!0})},hx=({ownerId:n,subLedgerId:e})=>({staleTime:0,queryKey:["ledger","recentPayments",{ownerId:n,subLedgerId:e}],queryFn:()=>tr.getPayments({ownerId:n,subLedgerId:e==null?void 0:e.toString()})}),Hl={queryKey:["autoDrafts"],queryFn:()=>tr.getAutoDraftEnrollments({portalEnabled:!0})},Vl={queryKey:["paymentMethods"],queryFn:()=>tr.getPaymentMethods()},$l={queryKey:["recurringPayments"],queryFn:()=>tr.getRecurringPayments({})},zl={queryKey:["futurePayments",{processed:!1}],queryFn:()=>tr.getFuturePayments({processed:!1,nextPaymentDate:{after:new Date}})};function OC(){const n=Pt(r=>r.selectedAssociationId),e=Pt(r=>r.userSettings);return O.useMemo(()=>{var r;return((r=e==null?void 0:e.associations)==null?void 0:r.find(a=>a.id===n))??null},[e,n])}function _C(){const n=Pt(a=>a.isLoggedIn),e=OC(),t=Qs(a=>{var o;return((o=a.account)==null?void 0:o.associationId)??null}),r=Qs(a=>{var o;return((o=a.account)==null?void 0:o.association)??null});return O.useMemo(()=>n?e:t==null?null:{id:t,name:r??""},[e,n,t,r])}const kC=()=>{const n=Ry(),e=Pt(o=>{var s;return(s=o.userSettings)==null?void 0:s.client}),t=Pt(o=>o.isLoggedIn),r=_C(),a=Pt(o=>o.setLaunchDarkly);O.useEffect(()=>{!n||!e||t&&!r||a(n,r)},[n,e,r,t,a])},IC=()=>(kC(),null),LC=Br(Oo({overriddenFlags:[]},n=>({setFlagOverrides(e){n({overriddenFlags:e})},clearFlagOverrides(){n({overriddenFlags:[]})}}))),MC=(n,e)=>Bm({queryKey:["associationFeatures",{associationId:n}],queryFn:()=>pC.getFeatures(n),enabled:e&&typeof n=="number"&&n!==0});function NC(n){const e=Pt(s=>s.isLoggedIn),t=Pt(s=>s.selectedAssociationId),r=LC(s=>s.overriddenFlags),{data:a}=MC(t,e);return O.useMemo(()=>{const s=(a==null?void 0:a.homeEarlyAccessFeatures)??"";return String(s).replace(/\s/g,"").toLowerCase().split(",")},[a==null?void 0:a.homeEarlyAccessFeatures]).includes(n)||r.includes(n)}function FC(){const n=gi().homeRedesignEnabled,e=NC("redesign-v3");return n??e}function BC(){const{setPendo:n,isLoggedIn:e,user:t,userSettings:r,preferences:a,configuration:o}=Pt(),s=Pt(l=>l.userSettings===null),i=Pt(l=>l.selectedAssociationId),c=FC();O.useEffect(()=>{e||n()},[n,e]),O.useEffect(()=>{e&&(t!=null&&t.relId)&&!s&&r&&a!==null&&o!==null&&n({isV3Enabled:c})},[e,t==null?void 0:t.relId,s,r,a,o,i,c,n])}function jC(){return BC(),null}const Wl=()=>{},$d=O.createContext({addPageAction:Wl,noticeError:Wl}),mx=()=>O.useContext($d),Yl=n=>n?Object.fromEntries(Object.entries(n).filter(([,e])=>e!=null)):{},UC=({children:n})=>{const e=O.useMemo(()=>({addPageAction:(t,r)=>{var a,o;try{(o=(a=window.newrelic)==null?void 0:a.addPageAction)==null||o.call(a,t,Yl(r))}catch{}},noticeError:(t,r)=>{var a,o;try{(o=(a=window.newrelic)==null?void 0:a.noticeError)==null||o.call(a,t,Yl(r))}catch{}}}),[]);return v.jsx($d.Provider,{value:e,children:n})};function ae({redirect:n,potentialRedirect:e}){const t=Tn(),{wildcardValue:r,param:a}=uh(),o=(e&&r?e:n)+(e&&r?`/${r}`:"")+(a?`/${a}`:"")+t.search;return v.jsx(lC,{to:o})}const Kl=Fh(Es(v.jsxs(v.Fragment,{children:[v.jsxs(T,{path:"/",lazy:()=>B(()=>import("./AppLayout-De9NoAPn.js"),__vite__mapDeps([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])),children:[Jl(),Ql(),Gl(),vs(),Xl(),Zl(),eu(),v.jsx(T,{path:"*",lazy:()=>B(()=>import("./not-found-CCZh5OKn.js"),__vite__mapDeps([32,1,2,30,31]))})]}),v.jsxs(T,{path:"/embed",lazy:()=>B(()=>import("./EmbedLayout-B1euSYbp.js"),__vite__mapDeps([33,1,3,7,2,8,9,10,24,19,23,30,31])),children:[v.jsx(T,{path:"board/arcs/:id",lazy:()=>B(()=>import("./arcs._id_-Bk0kpNEO.js"),__vite__mapDeps([34,1,35,19,2,36,37,10,38,6,39,40,31,41,42,43,44,45,46,47,48,5,49,30]))}),Jl(),Ql(),Gl(),vs(),Xl(),Zl(),eu(),v.jsx(T,{path:"attachments/:id",lazy:()=>B(()=>import("./attachments._id_-CDC7HCrK.js"),__vite__mapDeps([50,1,3,30,31]))}),v.jsx(T,{path:"*",lazy:()=>B(()=>import("./not-found-CCZh5OKn.js"),__vite__mapDeps([32,1,2,30,31]))})]}),My&&v.jsx(T,{path:"/",lazy:()=>B(()=>import("./ExpressLayout-D59XecoE.js"),__vite__mapDeps([51,1,20,52,30,31])),children:qC()}),v.jsx(T,{path:"/",lazy:()=>B(()=>import("./ContactDetailsLayout-DkIPf7_Y.js"),__vite__mapDeps([53,1,54,20,23,30,31])),children:HC()}),v.jsxs(T,{path:"notifications/unsubscribe/pay",children:[v.jsx(T,{index:!0,lazy:()=>B(()=>import("./unsubscribe.pay-876Kjzzy.js"),__vite__mapDeps([55,1,5,20,56,30,31]))}),v.jsx(T,{path:"confirmation",lazy:()=>B(()=>import("./unsubscribe.pay.confirmation-B0bcMIY8.js"),__vite__mapDeps([57,1,56]))})]}),v.jsx(T,{path:"attachments/:id",lazy:()=>B(()=>import("./attachments._id_-CDC7HCrK.js"),__vite__mapDeps([50,1,3,30,31]))}),v.jsx(T,{path:"board/messages/:id/:messageId/attachments",lazy:()=>B(()=>import("./board.messages._id_._messageId_.attachments-D7bdsV_2.js"),__vite__mapDeps([58,1,59,5,3,30,31]))}),v.jsx(T,{path:"document/:associationId/:documentId/preview",lazy:()=>B(()=>import("./document._associationId_._documentId_.preview-D5mOKhnL.js"),__vite__mapDeps([60,1,2,3,30,31]))}),v.jsxs(T,{path:"/",lazy:()=>B(()=>import("./DefaultLayout-svroB_hN.js"),__vite__mapDeps([61,1,19,23,30,31])),children:[v.jsx(T,{index:!0,lazy:()=>B(()=>import("./index-CXXhSrRR.js"),__vite__mapDeps([62,1,2,30,31]))}),v.jsx(T,{path:"not-found",lazy:()=>B(()=>import("./not-found-CCZh5OKn.js"),__vite__mapDeps([32,1,2,30,31]))}),v.jsx(T,{path:"server-error",lazy:()=>B(()=>
52import("./server-error-2XtPzYhI.js"),__vite__mapDeps([63,1]))}),v.jsxs(T,{path:"auth",children:[v.jsx(T,{path:"jwt",lazy:()=>B(()=>import("./jwt-DU0iNLyI.js"),__vite__mapDeps([64,1,30,31]))}),v.jsx(T,{path:"sso",lazy:()=>B(()=>import("./sso-CxxfuBe4.js"),__vite__mapDeps([65,1,30,31]))}),v.jsx(T,{path:"handoff",lazy:()=>B(()=>import("./handoff-BdcDDmAI.js"),__vite__mapDeps([66,1,30,31]))})]}),v.jsx(T,{path:"claim/:token",lazy:()=>B(()=>import("./claim._token_-Dfx4qQOE.js"),__vite__mapDeps([67,1,30,31]))}),v.jsx(T,{path:"claim-unavailable",lazy:()=>B(()=>import("./claim-unavailable-svF8e3U8.js"),__vite__mapDeps([68,1]))}),v.jsx(T,{path:"ftu",lazy:()=>B(()=>import("./ftu-a87mBql8.js"),__vite__mapDeps([69,1,30,31]))}),v.jsx(T,{path:"*",lazy:()=>B(()=>import("./not-found-CCZh5OKn.js"),__vite__mapDeps([32,1,2,30,31]))})]}),v.jsxs(T,{path:"/public",lazy:()=>B(()=>import("./PublicLayout-Cco-f2k2.js"),__vite__mapDeps([70,1,3,12,13,14,15,5,16,8,17,2,18,11,4,6,71,25,10,29,72,73,23,24,30,31])),children:[v.jsx(T,{index:!0,lazy:()=>B(()=>import("./public-DRjDU9t-.js"),__vite__mapDeps([74,1,9,10,19,75,29,76,77,2,30,31]))}),vs(),v.jsx(T,{path:"paynow",lazy:()=>B(()=>import("./paynow-DNplowd-.js"),__vite__mapDeps([78,1,6,5,79,4,80,81,77,22,82,76,2,30,31]))}),v.jsx(T,{path:"custom/:legacyAction",lazy:()=>B(()=>import("./custom-C5luricj.js"),__vite__mapDeps([83,1,9,10,35,19,29,76,2,30,31]))}),v.jsx(T,{path:"login",element:v.jsx(ae,{redirect:"/public"})}),v.jsx(T,{path:"*",lazy:()=>B(()=>import("./not-found-CCZh5OKn.js"),__vite__mapDeps([32,1,2,30,31]))})]})]})));function qC(){return v.jsxs(T,{path:"epay",children:[v.jsx(T,{path:":strategy/:link",lazy:()=>B(()=>import("./epay-CyDaVdSY.js"),__vite__mapDeps([84,1,85,20,81,22,86,5,80,52,4,6,82,30,31]))}),v.jsx(T,{path:":strategy/:link/confirmation",lazy:()=>B(()=>import("./confirmation-Dnc0XziU.js"),__vite__mapDeps([87,1,20,5,85,81,22,86,80,52,4,6,30,31]))}),v.jsx(T,{path:":strategy/one-click/:link",lazy:()=>B(()=>import("./epay-CyDaVdSY.js"),__vite__mapDeps([84,1,85,20,81,22,86,5,80,52,4,6,82,30,31]))}),v.jsx(T,{path:":strategy/one-click/:link/confirmation",lazy:()=>B(()=>import("./confirmation-Dnc0XziU.js"),__vite__mapDeps([87,1,20,5,85,81,22,86,80,52,4,6,30,31]))})]})}function HC(){return v.jsx(T,{path:"contact",children:v.jsx(T,{path:":strategy/:link",lazy:()=>B(()=>import("./contact-BOuaNXJ-.js"),__vite__mapDeps([88,1,5,20,89,54,30,31]))})})}function Gl(){return v.jsxs(T,{path:"board",children:[v.jsx(T,{path:"arcs",lazy:()=>B(()=>import("./arcs-CBP5duiQ.js"),__vite__mapDeps([90,1,2,91,92,35,19,76,93,94,73,95,96,97,98,99,47,44,31,46,100,101,49,30,48,5,102])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./arcs._id_-Bk0kpNEO.js"),__vite__mapDeps([34,1,35,19,2,36,37,10,38,6,39,40,31,41,42,43,44,45,46,47,48,5,49,30]))})}),v.jsx(T,{path:"bank-accounts",lazy:()=>B(()=>import("./bank-accounts-DJYqJtTx.js"),__vite__mapDeps([103,1,104,19,35,105,93,106,97,98,94,73,95,102,107,30,31]))}),v.jsx(T,{path:"bank-accounts/:id",lazy:()=>B(()=>import("./bank-accounts._id_-BiphkceE.js"),__vite__mapDeps([108,1,109,38,106,98,92,2,110,35,19,36,107,91,42,31,100,44,111,30]))}),v.jsx(T,{path:"collections",lazy:()=>B(()=>import("./collections-DfX_Srmx.js"),__vite__mapDeps([112,1,104,19,113,102,91,93,94,73,95,96,97,98,92,2,38,114,115,5,37,10,116,117,6,118,59,119,101,120,105,121,35,30,31])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./collections._id_-DTR-9AlG.js"),__vite__mapDeps([122,1,123,124,125,38,37,10,117,6,118,59,5,126,114,115,127,102,35,19,36,30,31]))})}),v.jsx(T,{path:"homeowners",lazy:()=>B(()=>import("./homeowners-DX5kJ0sg.js"),__vite__mapDeps([128,1,104,19,113,102,35,93,106,97,98,94,73,95,92,2,121,129,91,30,31])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./homeowners._id_-BEcBzg9Q.js"),__vite__mapDeps([130,1,93,106,97,98,94,73,95,110,129,127,102,125,37,10,59,5,116,117,6,118,35,19,30,31])),children:v.jsx(T,{path:"items/:itemId",lazy:()=>B(()=>import("./homeowners._id_.items._itemId_-DqynC9_T.js"),__vite__mapDeps([131,1,125,132,59,5,37,10,117,6,118,35,19,38,30,31]))})})}),v.jsx(T,{path:"inspections",lazy:()=>B(()=>import("./inspections-C3vrQSTp.js"),__vite__mapDeps([133,1,104,19,113,102,35,105,93,94,73,95,92,2,121,134,5,38,115,30,31])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./inspections._id_-Om5BlkHZ.js"),__vite__mapDeps([135,1,124,125,38,37,10,134,5,127,102,35,19,36,30,31]))})}),v.jsx(T,{path:"violations",lazy:()=>B(()=>import("./violations-cBcqEzT0.js"),__vite__mapDeps([136,1,104,19,113,102,91,119,101,73,93,94,95,96,97,98,99,47,44,31,46,100,92,2,38,49,30,137,115,5,37,10,116,117,6,118,59,120,105,121,35])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./violations._id_-Cv6N1SQa.js"),__vite__mapDeps([138,1,139,124,125,38,137,115,5,49,30,37,10,117,6,118,59,126,127,102,35,19,36,31]))})}),v.jsx(T,{path:"invoices",lazy:()=>B(()=>
52import("./invoices-S6eYwJt_.js"),__vite__mapDeps([140,1,104,19,113,102,35,91,119,101,73,109,38,141,6,115,5,37,10,59,116,117,118,93,106,96,98,92,2,121,4,95,15,30,31])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./invoices._id_-BGkO6Gvx.js"),__vite__mapDeps([142,1,124,127,102,125,141,6,115,5,110,106,98,38,132,59,37,10,117,118,35,19,73,4,95,30,31]))})}),v.jsx(T,{path:"more-items",lazy:()=>B(()=>import("./more-items-6M_7LoC6.js"),__vite__mapDeps([143,1,104,19,35,30,31]))}),v.jsx(T,{path:"reports",lazy:()=>B(()=>import("./reports-BJ8-lIUq.js"),__vite__mapDeps([144,1,104,19,35,93,94,73,95,5,30,31]))}),v.jsx(T,{path:"to-do-list",lazy:()=>B(()=>import("./to-do-list-P6pEFCz-.js"),__vite__mapDeps([145,1,91,105,119,101,73,146,115,48,5,49,30,147,59,141,6,114,137,148,93,94,95,97,98,102,92,2,38,37,10,116,117,118,104,19,113,35,31])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./to-do-list._id_-DJlk3jFc.js"),__vite__mapDeps([149,1,124,127,102,125,123,38,37,10,117,6,118,59,5,126,114,115,147,132,139,137,49,30,150,73,95,148,151,35,19,36,39,40,31,41,42,43,44,45,46,47,48,142,141,110,106,98,4]))})}),v.jsx(T,{path:"work-orders",lazy:()=>B(()=>import("./work-orders-DXBSTrVv.js"),__vite__mapDeps([152,1,104,19,113,102,91,119,101,73,93,94,95,96,97,98,92,2,99,47,44,31,46,100,38,49,30,148,115,5,15,37,10,116,117,6,118,59,120,105,121,35])),children:v.jsx(T,{path:":id",lazy:()=>B(()=>import("./work-orders._id_-BgUOG06j.js"),__vite__mapDeps([153,1,35,19,127,102,36,150,38,73,95,148,115,5,49,30,151,124,125,37,10,117,6,118,59,126,31]))})})]})}function Ql(){return v.jsxs(T,{path:"billing",children:[v.jsx(T,{index:!0,lazy:()=>B(()=>import("./index-BVTZmbIK.js"),__vite__mapDeps([154,1,155,156,2,157,73,20,22,158,80,81,82,21,159,6,79,86,160,45,31,35,19,30]))}),v.jsx(T,{path:"manage-account",lazy:()=>B(()=>import("./manage-account-D_suqim0.js"),__vite__mapDeps([161,1,6,86,81,160,158,2,156,35,19,30,31]))}),v.jsx(T,{path:"payment-consent",lazy:()=>B(()=>import("./payment-consent-Bi9zGg9M.js"),__vite__mapDeps([162,1,155,156,2,157,73,35,19,30,31]))}),v.jsx(T,{path:"support",lazy:()=>B(()=>import("./support-BfgGdB7k.js"),__vite__mapDeps([163,1,155,156,2,157,73,35,19,30,31]))}),v.jsx(T,{path:"account-overview",lazy:()=>B(()=>import("./account-overview-LARpIieg.js"),__vite__mapDeps([164,1,165,2,8,73,166,157,167,79,35,19,30,31]))}),v.jsx(T,{path:"account-history",lazy:()=>B(()=>import("./account-history-BRTkbCJz.js"),__vite__mapDeps([168,1,167,35,19,73,2,30,31]))}),v.jsx(T,{path:"auto-draft",lazy:()=>B(()=>import("./auto-draft-DAbTakBy.js"),__vite__mapDeps([169,1,159,158,6,2,35,19,30,31]))}),v.jsx(T,{path:"instant-payment",lazy:()=>B(()=>import("./instant-payment-djfNWs5s.js"),__vite__mapDeps([170,1,35,19,166,30,31]))})]})}function vs(){return v.jsxs(T,{path:"community",children:[v.jsx(T,{path:"calendar",lazy:()=>B(()=>import("./calendar-BPz2h1wR.js"),__vite__mapDeps([171,1,104,19,35,2,40,31,172,5,28,15,173,174,175,176,4,46,177,45,111,30]))}),v.jsx(T,{path:"reservations",lazy:()=>B(()=>import("./reservations-Bg-GwNHP.js"),__vite__mapDeps([178,1,151,179,31,46,180,73,101,8,15,5,172,28,16,35,19,30]))}),v.jsx(T,{path:"reservations/:id",lazy:()=>B(()=>import("./reservations._id_-DFwkvrs1.js"),__vite__mapDeps([181,1,36,173,174,45,31,179,46,71,25,10,182,29,15,5,151,35,19,8,172,28,30]))}),v.jsx(T,{path:"reservations/items/:id",lazy:()=>B(()=>import("./reservations-item._id_-BsP6uIWo.js"),__vite__mapDeps([183,1,184,151,35,19,8,15,5,38,118,6,59,36,30,31]))}),v.jsx(T,{path:"directory",lazy:()=>B(()=>import("./directory-D5KJQ53_.js"),__vite__mapDeps([185,1,104,19,35,106,98,30,31]))}),v.jsx(T,{path:"requests",lazy:()=>B(()=>import("./requests-JfTO7gBT.js"),__vite__mapDeps([186,1,104,19,35,13,14,15,5,16,8,17,2,18,26,27,28,25,10,29,20,94,73,95,93,106,97,98,187,6,9,182,172,188,99,47,44,31,46,100,180,151,101,30]))}),v.jsx(T,{path:"requests/upload",lazy:()=>B(()=>import("./requests.upload-Dw6bfrbG.js"),__vite__mapDeps([189,1,12,30,31]))}),v.jsx(T,{path:"requests/:id",lazy:()=>B(()=>import("./requests._id_-BwhITvAz.js"),__vite__mapDeps([190,1,35,19,36,132,59,5,37,10,117,6,118,38,15,184,151,8,188,26,27,28,25,29,20,99,47,44,31,46,100,
52180,73,101,16,30]))}),v.jsx(T,{path:"new-request",lazy:()=>B(()=>import("./new-request-CzFIm8TR.js"),__vite__mapDeps([191,1,104,19,35,187,30,31]))}),v.jsx(T,{path:"documents/:id?",lazy:()=>B(()=>import("./documents-DfjEIXtt.js"),__vite__mapDeps([192,1,19,2,73,5,4,104,35,193,30,31]))}),v.jsx(T,{path:"documents/a/:associationId/f/:folderId?",lazy:()=>B(()=>import("./documents-DfjEIXtt.js"),__vite__mapDeps([192,1,19,2,73,5,4,104,35,193,30,31]))}),v.jsx(T,{path:"help",lazy:()=>B(()=>import("./help-DFN1oKd-.js"),__vite__mapDeps([194,1,25,10,104,19,35,29,30,31]))}),v.jsx(T,{path:"faq",lazy:()=>B(()=>import("./faq-fC1fmfPS.js"),__vite__mapDeps([195,1,25,10,104,19,35,29,2,30,31]))}),v.jsx(T,{path:"feed",lazy:()=>B(()=>import("./feed-BrRdALdq.js"),__vite__mapDeps([196,1,41,18,5,10,197,177,31,43,111,30]))}),v.jsx(T,{path:"compliance-and-notices",lazy:()=>B(()=>import("./compliance-and-notices-DTEKktYj.js"),__vite__mapDeps([198,1,180,151,73,101,35,19,28,8,15,5,16,30,31]))}),v.jsx(T,{path:"compliance-and-notices/:id",lazy:()=>B(()=>import("./compliance-and-notices._id_-ChQvvdAb.js"),__vite__mapDeps([199,1,184,151,35,19,8,15,5,38,118,6,59,28,36,198,180,73,101,16,30,31]))}),v.jsx(T,{path:"compliance-and-notices/violations/:id",lazy:()=>B(()=>import("./compliance-and-notices._id_-ChQvvdAb.js"),__vite__mapDeps([199,1,184,151,35,19,8,15,5,38,118,6,59,28,36,198,180,73,101,16,30,31]))})]})}function Jl(){return v.jsxs(v.Fragment,{children:[v.jsx(T,{path:"inbox",lazy:()=>B(()=>import("./inbox-DebgVb5I.js"),__vite__mapDeps([200,1,180,151,73,101,35,19,28,8,15,5,16,201,30,31]))}),v.jsx(T,{path:"inbox/:id",lazy:()=>B(()=>import("./inbox._id_--Htox5Ss.js"),__vite__mapDeps([202,1,184,151,35,19,8,15,5,38,118,6,59,28,36,30,31]))}),v.jsx(T,{path:"dashboard",lazy:()=>B(()=>import("./dashboard-CIj8Ky6h.js"),__vite__mapDeps([203,1,2,38,8,165,73,166,157,79,35,19,76,146,115,48,5,49,30,147,59,141,6,114,137,148,204,151,119,101,37,10,116,117,118,15,180,16,201,197,177,31,43,111,18,172,28])),children:v.jsx(T,{path:"board-task/:id",lazy:()=>B(()=>import("./dashboard.board-task._id_-B11fsEVn.js"),__vite__mapDeps([205,1,204,149,124,127,102,125,123,38,37,10,117,6,118,59,5,126,114,115,147,132,139,137,49,30,150,73,95,148,151,35,19,36,39,40,31,41,42,43,44,45,46,47,48,142,141,110,106,98,4]))})}),v.jsx(T,{path:"login/:clientId?",lazy:()=>B(()=>import("./login-CilW2r3X.js"),__vite__mapDeps([206,1,6,207,5,9,10,19,75,29,76,2,30,31]))}),v.jsx(T,{path:"logout",lazy:()=>B(()=>import("./logout-BLP2NqKv.js"),__vite__mapDeps([208,1,2,30,31]))}),v.jsx(T,{path:"forgot-login",lazy:()=>B(()=>import("./forgot-login-BpmtANoW.js"),__vite__mapDeps([209,1,19,75,9,10,29,207,5,6,2,30,31]))}),v.jsx(T,{path:"create-account",lazy:()=>B(()=>import("./create-account-CtlTbqCW.js"),__vite__mapDeps([210,1,6,9,10,19,75,29,2,30,31]))}),v.jsx(T,{path:"request-account",lazy:()=>B(()=>import("./request-account-DdTUuODO.js"),__vite__mapDeps([211,1,72,6,9,10,19,75,29,2,30,31]))}),v.jsx(T,{path:"paynow",lazy:()=>B(()=>import("./paynow-DNplowd-.js"),__vite__mapDeps([78,1,6,5,79,4,80,81,77,22,82,76,2,30,31]))}),v.jsx(T,{path:"offers",lazy:()=>B(()=>import("./offers-DPN57MhW.js"),__vite__mapDeps([212,1,20,35,19,17,30,31,213]))}),v.jsx(T,{path:"custom/:legacyAction",lazy:()=>B(()=>import("./custom-C5luricj.js"),__vite__mapDeps([83,1,9,10,35,19,29,76,2,30,31]))}),v.jsx(T,{path:"communications",lazy:()=>B(()=>import("./communications-BKozGVrX.js"),__vite__mapDeps([214,1,106,98,35,19,14,193,30,31]))}),v.jsx(T,{path:"communications/:id",lazy:()=>B(()=>import("./communications._id_-DXoCpm2-.js"),__vite__mapDeps([215,1,36,14,10,30,31]))}),v.jsx(T,{path:"new-communication",lazy:()=>B(()=>import("./new-communication-BAUxL7EI.js"),__vite__mapDeps([216,1,14,6,30,31]))})]})}function Xl(){return v.jsxs(T,{path:"my",children:[v.jsx(T,{path:"profile-settings",lazy:()=>B(()=>import("./profile-settings-DNZ-X-pu.js"),__vite__mapDeps([217,1,104,19,35,4,6,89,5,71,25,10,29,73,28,30,31]))}),v.jsx(T,{path:"messages",lazy:()=>B(()=>import("./messages-BhuUzEZN.js"),__vite__mapDeps([218,1]))}),v.jsx(T,{path:"messages/:id",lazy:()=>B(()=>import("./view-message-DcFwKV3_.js"),__vite__mapDeps([219,1,104,19,35,36,30,31]))})]})}function Zl(){return v.jsxs(T,{children:[v.jsx(T,{path:"Homeowner_v2/SubmitRequest/*",element:v.jsx(ae,{redirect:"/community/new-request"})}),v.jsx(T,{path:"Homeowner_v2/Billing/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Homeowner_v2/Messages/:wildcardValue?",element:v.jsx(ae,{redirect:"/community/requests",potentialRedirect:"/my/messages"})}),v.jsx(T,{path:"Homeowner_v2/ContactInfo/*",element:v.jsx(ae,{redirect:"/my/profile-settings"})}),v.jsx(T,{path:"Homeowner_v2/Directory/*",element:v.jsx(ae,{redirect:"/community/directory"})}),v.jsx(T,{path:"Homeowner_v2/OwnerDashboard/*",element:v.jsx(ae,{redirect:"/dashboard"})}),v.jsx(T,{path:"Homeowner_v2/MakePayment/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Homeowner_v2/CCPayment/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Homeowner_v2/PayNow/*",element:v.jsx(ae,{redirect:"/paynow"})}),v.jsx(T,{path:"Homeowner_v2/AutoDraftEnrollment/*",element:v.jsx(ae,{redirect:"/billing/auto-draft"})}),v.jsx(T,{path:"Homeowner_v2/Help/*",element:v.jsx(ae,{redirect:"/community/help"})}),v.jsx(T,{path:"Homeowner_v2/GeneralRequest/*",element:v.jsx(ae,{redirect:"/community/new-request"})}),v.jsx(T,{path:"Homeowner_v2/ReservationRequest/*",element:v.jsx(ae,{redirect:"/community/new-request"})}),v.jsx(T,{path:"Homeowner_v2/Documents/:param?",element:v.jsx(ae,{redirect:"/community/documents"})}),v.jsx(T,{path:"Homeowner_v2/ResourceCalendar/*",element:v.jsx(ae,{redirect:"/community/calendar"})}),v.jsx(T,{path:"Homeowner_v2/RecurringPayments/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Homeowner_v2/MakeRecurringPayments/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Homeowner_v2/FAQ/*",element:v.jsx(ae,{redirect:"/community/faq"})}),v.jsx(T,{path:"Homeowner_v2/Calendar/*",element:v.jsx(ae,{redirect:"/community/calendar"})}),v.jsx(T,{path:"Homeowner_v2/AutoDraftForm/*",element:v.jsx(ae,{redirect:"/billing/auto-draft"})}),v.jsx(T,{path:"Homeowner_v2/ArcRequest/*",element:v.jsx(ae,{redirect:"/board/arcs"})}),v.jsx(T,{path:"Homeowner_v2/MyLogin/*",element:v.jsx(ae,{redirect:"/my/profile-settings"})}),v.jsx(T,{path:"Home_v2/ResourceCalendar/*",element:v.jsx(ae,{redirect:"/community/calendar"})}),v.jsx(T,{path:"Home_v2/Login/*",element:v.jsx(ae,{redirect:"/login"})}),v.jsx(T,{path:"Home_v2/SignUp/*",element:v.jsx(ae,{redirect:"/create-account"})}),v.jsx(T,{path:"Home_v2/Registration/*",element:v.jsx(ae,{redirect:"/request-account"})}),v.jsx(T,{path:"Home_v2/Calendar/*",element:v.jsx(ae,{redirect:"/community/calendar"})}),v.jsx(T,{path:"Home_v2/Documents/:param?",element:v.jsx(ae,{redirect:"/community/documents"})}),v.jsx(T,{path:"Home_v2/FAQ/*",element:v.jsx(ae,{redirect:"/community/faq"})}
52),v.jsx(T,{path:"Home_v2/Help/*",element:v.jsx(ae,{redirect:"/community/help"})}),v.jsx(T,{path:"Home_v2/ForgotPassword/*",element:v.jsx(ae,{redirect:"/forgot-login"})}),v.jsx(T,{path:"Board_v2/ToDoList/*",element:v.jsx(ae,{redirect:"/board/to-do-list"})}),v.jsx(T,{path:"Board_v2/HomeownerList/*",element:v.jsx(ae,{redirect:"/board/homeowners"})}),v.jsx(T,{path:"Board_v2/Inspections/*",element:v.jsx(ae,{redirect:"/board/inspections"})}),v.jsx(T,{path:"Board_v2/ActionItems_Collections/*",element:v.jsx(ae,{redirect:"/board/collections"})}),v.jsx(T,{path:"Board_v2/ActionItems_Violations/*",element:v.jsx(ae,{redirect:"/board/violations"})}),v.jsx(T,{path:"Board_v2/ActionItems_ARC/*",element:v.jsx(ae,{redirect:"/board/arcs"})}),v.jsx(T,{path:"Board_v2/ActionItems_WorkOrders/*",element:v.jsx(ae,{redirect:"/board/work-orders"})}),v.jsx(T,{path:"Board_v2/ActionItems_Invoices/*",element:v.jsx(ae,{redirect:"/board/invoices"})}),v.jsx(T,{path:"Board_v2/BankAccounts/*",element:v.jsx(ae,{redirect:"/board/bank-accounts"})}),v.jsx(T,{path:"Board_v2/Reports/*",element:v.jsx(ae,{redirect:"/board/reports"})}),v.jsx(T,{path:"Payments_v2/AutoDraftEnrollment/*",element:v.jsx(ae,{redirect:"/billing/auto-draft"})}),v.jsx(T,{path:"Payments_v2/AutoDraftForm/*",element:v.jsx(ae,{redirect:"/billing/auto-draft"})}),v.jsx(T,{path:"Payments_v2/CCPayment/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Payments_v2/MakePayment/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Payments_v2/eCheck/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Payments_v2/RecurringPayments/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Payments_v2/MakeRecurringPayment/*",element:v.jsx(ae,{redirect:"/billing"})}),v.jsx(T,{path:"Custom_v2/:param",element:v.jsx(ae,{redirect:"/custom"})})]})}function eu(){return v.jsx(T,{children:v.jsx(T,{path:"forms/:formDefinitionId",lazy:()=>B(()=>import("./forms._formDefinitionId_-BQYqTXnA.js"),__vite__mapDeps([220,1,6,27,5,28,151,35,19,20,30,31]))})})}tf.setLicenseKey(Ly);const VC={kind:"multi","management-company":{key:"anonymous-client",name:"Anonymous Client"},association:{key:"anonymous-association",name:"Anonymous Association"},user:{key:"anonymous-user",name:"Anonymous User",role:"anonymous",email:"[email protected]"}},$C=!!(ro!=null&&ro.trim());sf.createRoot(document.getElementById("root")).render(v.jsx(O.StrictMode,{children:v.jsx(Rm,{client:zt,children:v.jsxs(UC,{children:[$C?v.jsxs(Cy,{clientSideID:ro,context:VC,children:[v.jsx(rc,{router:Kl}),v.jsx(IC,{})]}):v.jsx(rc,{router:Kl}),v.jsx(jC,{})]})})}));export{uh as $,aR as A,pC as B,sx as C,vh as D,rR as E,RR as F,OC as G,OR as H,xR as I,fx as J,ky as K,cC as L,mR as M,Ci as N,tR as O,ZC as P,gm as Q,lC as R,Aa as S,NR as T,Du as U,jd as V,dx as W,XC as X,nR as Y,QC as Z,GC as _,xm as a,bR as a$,cR as a0,$0 as a1,ax as a2,tC as a3,ix as a4,ro as a5,YR as a6,lx as a7,rx as a8,ko as a9,TA as aA,TS as aB,Ro as aC,lR as aD,JC as aE,mx as aF,TR as aG,fR as aH,lh as aI,oR as aJ,PR as aK,SR as aL,AR as aM,ER as aN,Oo as aO,zt as aP,$l as aQ,zl as aR,Vl as aS,DC as aT,hx as aU,Iy as aV,ux as aW,Ch as aX,DR as aY,LC as aZ,hR as a_,rC as aa,vR as ab,gR as ac,pR as ad,yR as ae,_C as af,nC as ag,Br as ah,ke as ai,Ty as aj,wR as ak,Qh as al,nx as am,la as an,Pm as ao,Iu as ap,Sa as aq,Ir as ar,fa as as,cl as at,RS as au,lA as av,OS as aw,go as ax,dA as ay,hA as az,Om as b,hc as b0,iR as b1,sR as b2,Fm as b3,MR as b4,LR as b5,kR as b6,_R as b7,IR as b8,eR as b9,CR as ba,_m as c,km as d,Lm as e,Rt as f,Nm as g,mc as h,Im as i,Pt as j,Ul as k,Bl as l,FC as m,lt as n,Tn as o,Bm as p,tr as q,_u as r,Ds as s,gi as t,Cm as u,Ry as v,Mm as w,ox as x,Qs as y,cx 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.