PageSourceSearch

https://app.waitwhile.com/chunk-UVNHTKGG.js

js waitwhile.com collected 2026-10-01 10:16:56 UTC 59,037 bytes, 14 lines download raw bytes

1import{a as Hn,b as Xn,c as qn}from"./chunk-3X7L2GYE.js";import{a as Kn,b as Zn}from"./chunk-LU6EQK32.js";import{Bb as Un,C as gt,Cb as Fn,Db as kn,Dd as ht,De as Bn,Eb as Vn,Ga as Ln,Ge as Gn,He as jn,Id as zn,Ie as wt,Tc as Dn,Y as yn,Z as An,f as vn,ka as Mn,kb as In,lb as Wn,ma as xn,o as _t,oa as Pn,t as Tn,ua as bn,v as En,va as Rn,w as Sn,wa as On,x as ft,xa as $n,y as Nn}from"./chunk-TN5ZZO3Q.js";import{$b as mi,$e as Ni,$u as mn,Aa as le,Ab as Ee,Aj as Vi,Am as Me,B as ne,Ba as b,Bg as Mi,Bm as at,Bo as Qi,Ca as ni,Cj as Di,Cl as he,D as je,Da as Rt,Db as si,Dl as Ae,Ea as Te,Ej as zi,Fb as _,Fg as xi,Fp as xe,Ga as h,Gb as f,Gc as hi,Gg as Pi,Gp as Pe,Ha as pe,Hg as Ue,Hp as en,Hu as pn,I as Pt,Ia as w,Ig as bi,In as st,Jb as We,Jc as Je,Jg as Ri,K as Se,Kc as Qe,Kg as Oi,La as ue,Lc as W,Lm as Zi,M as Yt,Ma as me,Mc as et,Mg as $i,Mm as qi,N as x,Na as l,Nb as ci,Nc as wi,O as He,Oa as u,Ob as li,Oc as ae,Pa as d,Pd as fe,Pl as ot,Qa as g,Qi as Wi,Rb as pi,Ri as Ui,Sb as j,T as ve,Tt as ee,U as Jt,Ua as oi,Uk as Bi,V as k,Va as ri,Vd as Ei,Vt as rn,Vu as Fe,W as E,Wa as G,Wg as Li,Wt as H,X as Qt,Xa as I,Xg as It,Xt as be,Y as bt,Yb as _e,Z as r,Ze as Si,_ as Xe,_a as oe,_b as ui,_r as on,_u as un,a as Be,af as yi,au as an,av as dn,b as Ge,bl as Gi,bv as _n,ca as O,cc as di,cf as Ai,cv as X,da as $,db as A,dc as _i,dl as ge,ea as Ke,eb as m,ec as fi,eh as Wt,fc as gi,gn as Yi,ha as ei,hh as Ii,hj as Fi,hr as pt,i as B,ia as ti,il as ji,im as Hi,iq as lt,iu as Z,iv as fn,jd as ye,jh as U,jm as Xi,ju as ut,jv as gn,k as ie,kd as Ci,kl as M,km as Ki,ku as sn,kv as mt,l as p,lb as J,lv as hn,m as R,ma as Ze,mb as qe,md as vi,mm as rt,nb as re,nd as Ti,om as Q,on as Ji,pa as ii,qb as de,ql as it,qn as Ut,rb as Ne,rv as dt,sb as ai,sv as wn,ta as s,tu as cn,u as ce,ub as Ot,ud as tt,uu as ln,v as Ce,vb as $t,vp as ct,wb as Lt,wv as Cn,xa as L,xr as tn,xv as Re,ya as S,yj as ki,zb as Ye,zl as nt,zn as we,zr as nn}from"./chunk-N6MTJI5Q.js";import{a as xt}from"./chunk-M5MSELZV.js";import{na as qt}from"./chunk-M5FY4SSO.js";import"./chunk-UNNH6OJB.js";import{a as z,b as se,h as P}from"./chunk-HE2D45TV.js";var Ft="Service workers are disabled or not supported by this browser",Oe=class{serviceWorker;worker;registration;events;constructor(o,t){if(this.serviceWorker=o,!o)this.worker=this.events=this.registration=new Be(i=>i.error(new ve(5601,!1)));else{let i=null,n=new Ge;this.worker=new Be(v=>(i!==null&&v.next(i),n.subscribe(F=>v.next(F))));let a=()=>{let{controller:v}=o;v!==null&&(i=v,n.next(i))};o.addEventListener("controllerchange",a),a(),this.registration=this.worker.pipe(x(()=>o.getRegistration().then(v=>{if(!v)throw new ve(5601,!1);return v})));let c=new Ge;this.events=c.asObservable();let C=v=>{let{data:F}=v;F?.type&&c.next(F)};o.addEventListener("message",C),t?.get(Rt,null,{optional:!0})?.onDestroy(()=>{o.removeEventListener("controllerchange",a),o.removeEventListener("message",C)})}}postMessage(o,t){return new Promise(i=>{this.worker.pipe(ne(1)).subscribe(n=>{n.postMessage(z({action:o},t)),i()})})}postMessageWithOperation(o,t,i){let n=this.waitForOperationCompleted(i),a=this.postMessage(o,t);return Promise.all([a,n]).then(([,c])=>c)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(o){let t;return typeof o=="string"?t=i=>i.type===o:t=i=>o.includes(i.type),this.events.pipe(Ce(t))}nextEventOfType(o){return this.eventsOfType(o).pipe(ne(1))}waitForOperationCompleted(o){return new Promise((t,i)=>{this.eventsOfType("OPERATION_COMPLETED").pipe(Ce(n=>n.nonce===o),ne(1),p(n=>{if(n.result!==void 0)return n.result;throw new Error(n.error)})).subscribe({next:t,error:i})})}get isEnabled(){return!!this.serviceWorker}},Jn=(()=>{class e{sw;messages;notificationClicks;notificationCloses;pushSubscriptionChanges;subscription;get isEnabled(){return this.sw.isEnabled}pushManager=null;subscriptionChanges=new Ge;constructor(t){if(this.sw=t,!t.isEnabled){this.messages=ce,this.notificationClicks=ce,this.notificationCloses=ce,this.pushSubscriptionChanges=ce,this.subscription=ce;return}this.messages=this.sw.eventsOfType("PUSH").pipe(p(n=>n.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(p(n=>n.data)),this.notificationCloses=this.sw.eventsOfType("NOTIFICATION_CLOSE").pipe(p(n=>n.data)),this.pushSubscriptionChanges=this.sw.eventsOfType("PUSH_SUBSCRIPTION_CHANGE").pipe(p(n=>n.data)),this.pushManager=this.sw.registration.pipe(p(n=>n.pushManager));let i=this.pushManager.pipe(x(n=>n.getSubscription()));this.subscription=new Be(n=>{let a=i.subscribe(n),c=this.subscriptionChanges.subscribe(n);return()=>{a.unsubscribe(),c.unsubscribe()}})}requestSubscription(t){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ft));let i={userVisibleOnly:!0},n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),a=new Uint8Array(new ArrayBuffer(n.length));for(let c=0;c<n.length;c++)a[c]=n.charCodeAt(c);return i.applicationServerKey=a,new Promise((c,C)=>{this.pushManager.pipe(x(N=>N.subscribe(i)),ne(1)).subscribe({next:N=>{this.subscriptionChanges.next(N),c(N)},error:C})})}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ft));let t=i=>{if(i===null)throw new ve(5602,!1);return i.unsubscribe().then(n=>{if(!n)throw new ve(5603,!1);this.subscriptionChanges.next(null)})};return new Promise((i,n)=>{this.subscription.pipe(ne(1),x(t)).subscribe({next:i,error:n})})}decodeBase64(t){return atob(t)}static \u0275fac=function(i){return new(i||e)(bt(Oe))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),Qn=(()=>{class e{sw;
1versionUpdates;unrecoverable;get isEnabled(){return this.sw.isEnabled}ongoingCheckForUpdate=null;constructor(t){if(this.sw=t,!t.isEnabled){this.versionUpdates=ce,this.unrecoverable=ce;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ft));if(this.ongoingCheckForUpdate)return this.ongoingCheckForUpdate;let t=this.sw.generateNonce();return this.ongoingCheckForUpdate=this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:t},t).finally(()=>{this.ongoingCheckForUpdate=null}),this.ongoingCheckForUpdate}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new ve(5601,!1));let t=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:t},t)}static \u0275fac=function(i){return new(i||e)(bt(Oe))};static \u0275prov=k({token:e,factory:e.\u0275fac})}return e})(),eo=new Qt("");function Lo(){let e=r(ke);if(!("serviceWorker"in navigator&&e.enabled!==!1))return;let o=r(eo),t=r(ti),i=r(Rt);t.runOutsideAngular(()=>{let n=navigator.serviceWorker,a=()=>n.controller?.postMessage({action:"INITIALIZE"});n.addEventListener("controllerchange",a),i.onDestroy(()=>{n.removeEventListener("controllerchange",a)})}),t.runOutsideAngular(()=>{let n,{registrationStrategy:a}=e;if(typeof a=="function")n=new Promise(c=>a().subscribe(()=>c()));else{let[c,...C]=(a||"registerWhenStable:30000").split(":");switch(c){case"registerImmediately":n=Promise.resolve();break;case"registerWithDelay":n=Yn(+C[0]||0);break;case"registerWhenStable":n=Promise.race([i.whenStable(),Yn(+C[0])]);break;default:throw new ve(5600,!1)}}n.then(()=>{i.destroyed||navigator.serviceWorker.register(o,{scope:e.scope,updateViaCache:e.updateViaCache,type:e.type}).catch(c=>console.error(Jt(5604,!1)))})})}function Yn(e){return new Promise(o=>setTimeout(o,e))}function Io(){let e=r(ke),o=r(Ke),t=!0;return new Oe(t&&e.enabled!==!1?navigator.serviceWorker:void 0,o)}var ke=class{enabled;updateViaCache;type;scope;registrationStrategy};function Wo(e,o={}){return Xe([Jn,Qn,{provide:eo,useValue:e},{provide:ke,useValue:o},{provide:Oe,useFactory:Io},ni(Lo)])}var to=(()=>{class e{static register(t,i={}){return{ngModule:e,providers:[Wo(t,i)]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=S({type:e});static \u0275inj=E({providers:[Jn,Qn]})}return e})();var y=wt;var io=(()=>{class e{constructor(){this.userRx=r(H),this.impersonationRx=r(ut),this.languageChanged$=this.userRx.getCurrentUser(["language"]).pipe(p(t=>t.language),Ce(ye)),this.subscribe()}subscribe(){R([this.languageChanged$,this.impersonationRx.isImpersonating$]).subscribe(([t,i])=>{(localStorage.getItem(xt)??Fi)!==t&&(localStorage.setItem(xt,t),i||location.reload())})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({})}}return e})();var no=(()=>{class e{constructor(){this.httpClient=r(di),this.manifest$=this.httpClient.get("./assets/manifest.json",{headers:{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"}})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ct=(()=>{class e extends ge{constructor(){super(),this.layout=r(X),this.navService=r(te),this.router=r(W),this.layout.setFeatureContext({name:$localize`Menu`}),this.subscribe()}subscribe(){this.layout.isMobile$.pipe(He(this.ngOnDestroy$)).subscribe(t=>{t||this.router.navigate([""])})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["ng-component"]],hostAttrs:[1,"app-mobile-menu"],standalone:!1,features:[le],decls:3,vars:8,consts:[[1,"px-2","pb-4",3,"featureGroupLevel","features","withHelpMenuActions","withTitles"]],template:function(i,n){i&1&&(g(0,"app-nav-menu",0),_(1,"async"),_(2,"async")),i&2&&l("featureGroupLevel",f(1,4,n.navService.featureGroupLevel$))("features",f(2,6,n.navService.secondaryFeatures$))("withHelpMenuActions",!0)("withTitles",!0)},encapsulation:2,changeDetection:0})}}return e})();var Uo={key:"login",title:$localize`Login`,path:"login",loadChildren:()=>import("./chunk-K7VHMP5K.js").then(e=>e.WwLoginModule)},vt={key:"sign-up",title:$localize`Sign up`,path:"signup",loadChildren:()=>import("./chunk-NSHIGEDD.js").then(e=>e.WwSignUpModule)},Fo={key:"invites",title:$localize`Invites`,path:"invite",loadChildren:()=>import("./chunk-MY3JYOGY.js").then(e=>e.WwInvitesModule)},Ve={key:"user",title:$localize`User`,path:"user",loadChildren:()=>import("./chunk-WWGJTIZY.js").then(e=>e.WwUserModule)}
1,ko={key:"users",title:$localize`Users`,path:"account/users",icon:{active:"bxs-user",inactive:"bx-user"},enabledConfig:Z.users,loadChildren:()=>import("./chunk-F6FBXKF4.js").then(e=>e.WwUsersModule)},Vo={key:"locations",title:$localize`Locations`,path:"account/locations",icon:{active:"bxs-store",inactive:"bx-store"},loadChildren:()=>import("./chunk-QED5WRSD.js").then(e=>e.WwLocationsModule)},kt={key:"account-settings",title:$localize`Account settings`,icon:{active:"bxs-cog",inactive:"bx-cog"},path:"account/settings",enabledConfig:Z.accountSettings,loadChildren:()=>import("./chunk-TV4ITLOV.js").then(e=>e.WwAccountSettingsModule)},Do={key:"reports",title:$localize`Reports`,path:"account/reports",icon:{active:"bxs-file",inactive:"bx-file"},getSuffix:qo,enabledConfig:Z.reports,loadChildren:()=>import("./chunk-JKEFFJEY.js").then(e=>e.WwReportsModule)},Vt={key:"about",title:$localize`About`,path:"about",loadChildren:()=>import("./chunk-2FGQTZ3I.js").then(e=>e.WwAboutModule)},zo={key:"debug",title:$localize`Debug`,path:"debug",loadChildren:()=>import("./chunk-JDIAMZ3Z.js").then(e=>e.WwDebugModule)},Bo={key:"menu",title:$localize`Menu`,path:"menu",component:Ct},Go={key:"not-enabled",title:$localize`Feature not enabled`,path:"feature-not-enabled",component:Dn},Tt={key:"analytics",title:$localize`Analytics`,path:"account/analytics",icon:{active:"bxs-bar-chart-alt-2",inactive:"bx-bar-chart-alt-2"}
1,getSuffix:Zo,enabledConfig:Z.analytics,loadChildren:()=>import("./chunk-BTJTDE3G.js").then(e=>e.WwAnalyticsModule)},jo={key:"stats",title:$localize`Stats`,path:"stats",icon:{active:"bxs-doughnut-chart",inactive:"bx-doughnut-chart"},enabledConfig:Z.stats,loadChildren:()=>import("./chunk-KL4GWQ3Q.js").then(e=>e.WwStatsModule)},Ho={key:"surveys",title:$localize`Surveys`,path:"surveys",icon:{active:"ww-survey-active",inactive:"ww-survey"},getSuffix:Yo,enabledConfig:Z.surveys,loadChildren:()=>import("./chunk-K52PFHXN.js").then(e=>e.WwSurveysModule)},q={key:"visits",title:$localize`Visits`,getBadge:Qo,getTitle:tr,icon:{active:"ww-bxs-home-alt",inactive:"bx-home-alt"},path:"visits",loadChildren:()=>import("./chunk-4J5KRLXJ.js").then(e=>e.WwVisitsModule),canDeactivate:[(e,o,t,i)=>{let n=`/${vt.path}`;return!(i.url!==n&&i.url.startsWith(n))}]},Dt={key:"messages",title:$localize`Messages`,getBadge:Jo,icon:{active:"bxs-message-rounded-dots",inactive:"bx-message-rounded-dots"},path:"messages",enabledConfig:Z.messages,loadChildren:()=>import("./chunk-FEEPIVF4.js").then(e=>e.WwMessagesModule)},De={key:"customers",title:$localize`Customers`,icon:{active:"bxs-group",inactive:"bx-group"},path:"customers",enabledConfig:Z.customers,getTitle:er,loadChildren:()=>import("./chunk-DPC2MKDI.js").then(e=>e.WwCustomersModule)},zt={key:"calendar",title:$localize`Calendar`,icon:{active:"bxs-calendar",inactive:"bx-calendar"},path:"calendar",enabledConfig:Z.calendar,loadChildren:()=>import("./chunk-6VELYZWG.js").then(e=>e.WwCalendarModule)},Xo={key:"settings",title:$localize`Settings`,icon:{active:"bxs-cog",inactive:"bx-cog"},path:"settings",enabledConfig:Z.locationSettings,loadChildren:()=>import("./chunk-AE5VUT3S.js").then(e=>e.WwSettingsModule)},Ko={key:"impersonation",title:$localize`Impersonation`,path:"admin",loadChildren:()=>import("./chunk-BYSNR3AV.js").then(e=>e.WwImpersonationModule)},$e=[Vo,Tt,Do,ko,kt],Le=[q,zt,Dt,De,jo,Ho,Xo],Bt=[...Le,...$e],Gt=[Ve,Ko,Vt,zo,Bo,Go],jt=[vt,Uo,Fo],oo=[...Bt,...Gt,...jt];
1function Zo(e){return e.get(ee).hasAccountFeature("enableAnalytics").pipe(p(o=>o?null:M(_t)))}function qo(e){return e.get(ee).hasAccountFeature("enableReporting").pipe(p(o=>o?null:M(_t)))}function Yo(e){return e.get(ee).hasAccountFeature("enableSurveys").pipe(p(o=>o?null:M(_t)))}function Jo(e){return e.get(cn).hasUnreadMessages$.pipe(p(o=>o?"primary":null))}function Qo(e){let o=e.get(be),t=e.get(pn);return e.get(Re).writerQueryArgs$.pipe(x(n=>o.getCurrentNullableLocation(["bookingManualConfirmation","isBookingActive"]).pipe(x(a=>{if(!a?.isBookingActive||!a.bookingManualConfirmation)return B(null);let c=[[tn,"asc"]];return t.getVisits(on({limit:[1],where:[["isBlock","==",!1]],orderBy:c},nn,n??{})).pipe(p(C=>C.length>0?"warning":null))}))))}function er(e){return e.get(Fe).businessTerms$.pipe(p(o=>o.customerTerm.pluralCapitalized))}function tr(e){return e.get(Fe).businessTerms$.pipe(p(o=>o.visitTerm.pluralCapitalized))}var ro=()=>P(null,null,function*(){let e=r(W);return yield r(U).signOut(),e.createUrlTree(["/"])});var ao=e=>{let o=e.url.map(i=>i.path).join("/");return ir(o,e.queryParams)??""};function ir(e,o){let t=rr(e);if(t)return t;let i=or(e,o);if(i)return i;let n=nr(e);if(n)return n}function nr(e){if(e.match(D(sr.signUp)))return V(vt.path)}function or(e,o){if(e.match(D("visit/(.*)"))){let{visitId:t,action:i}=ar(e,o);return t&&i?V(q.path,{visitId:t,action:i}):t?V(q.path,{visitId:t}):V(q.path)}if(e.match(D(Y.waitlist))||e.match(D(Y.resource))||e.match(D(Y.store_capacity)))return V(q.path);if(e.match(D(Y.serving)))return V(q.path,{visitState:"serving"});if(e.match(D(Y.bookings)))return V(zt.path);if(e.match(D(Y.analytics)))return V(Tt.path);if(e.match(D(Y.messagesWebComponent)))return V(Dt.path);if(e.match(D(Y.upgrade)))return V("/account/settings/billing/change-plan");if(e.match(D(Y.customersWebComponent)))return V(De.path);if(e.match(D(Y.account)))return V(kt.path);if(e.match(D(Y.analytics)))return V(Tt.path)}function rr(e){if(e.includes("settings/general"))return"/settings/details";if(e.includes("settings/waitlist"))return"/settings/waitlist";if(e.includes("settings/bookings"))return"/settings/bookings";if(e.includes("serving"))return"/settings/arrival";if(e.includes("services"))return"/settings/services";if(e.includes("fields"))return"/settings/customer-details";if(e.includes("tags"))return"/settings";if(e.includes("public/registration"))return"/settings/registration";if(e.includes("public/waitlist-display"))return"/settings/waitlist/display";if(e.includes("public/locations"))return"/account/settings/public-pages";if(e.includes("public/arrivals"))return"/settings/arrival";if(e.includes("messages/waitlist"))return"/settings/customer-messages";if(e.includes("messages/bookings"))return"/settings/customer-messages";if(e.includes("messages/replies"))return"/settings/customer-messages";if(e.includes("account/notification"))return"/user?tab=notifications";if(e.includes("messages/notifications"))return"/settings/team-notifications";if(e.includes("users/roles"))return"/account/settings/permissions";if(e.includes("settings/users"))return"/account/users";if(e.includes("settings/resources"))return"/settings/resources";if(e.includes("settings/theme"))return"/settings/custom-design";if(e.includes("settings/localization"))return"/settings/localization";if(e.includes("settings/integrations"))return"/settings/integrations";if(e.includes("settings/api"))return"/settings";if(e.includes("settings/billing"))return"/account/settings/billing";if(e.includes("account/security"))return"/account/settings"}function V(e,o){if(!e)return"/";let t=o?`?${new URLSearchParams(o).toString()}`:"";return`/${e}${t}`}function D(e){return new RegExp(`^/?${e}`)}function ar(e,o){if(!e||e.length>255)return{};let t=e.match(/.*\/visit\/([A-Za-z\d]+)/)?.[1];return t?{visitId:t,action:o.action}:{}}var Y={account:"account",analytics:"analytics",bookings:"bookings",customersWebComponent:"customers-2",messagesWebComponent:"messages-2",resource:"resource",serving:"serving",store_capacity:"capacity",upgrade:"upgrade",visitsWebComponent:"visits",waitlist:"waitlist"},sr={signUp:"sign-up"};var so=e=>
1{let o=r(W),t=e.params.visitId,i={};return t&&(i=z({visitId:t},e.queryParams)),o.createUrlTree(["/visits"],{queryParams:i})};var cr=["SAMLRequest","SAMLResponse","RelayState","SigAlg","Signature"],lr=["SAMLResponse"],co=()=>P(null,null,function*(){let e=r(W),o=r(U),t=new URLSearchParams(window.location.search);if(t.size===0)return yield o.signOut(),e.createUrlTree(["/"]);let i=t.get("url");if(!i||!pr(i))return console.info("No URL param found"),yield o.signOut(),e.createUrlTree(["/"]);let n=t.get("binding");if(!n||!ur(n))return console.info("No binding param found"),yield o.signOut(),e.createUrlTree(["/"]);let a=dr(t);if(!mr(a))return console.info("Missing required params"),yield o.signOut(),e.createUrlTree(["/"]);if(n==="HTTP-Redirect"){let c=_r(i,a);return yield o.signOut(),console.info("Redirecting to URL"),window.location.href=c,e.createUrlTree(["/"])}if(n==="HTTP-POST"){let c=fr(i,a);return document.body.appendChild(c),yield o.signOut(),console.info("HTTP-POST"),c.submit(),e.createUrlTree(["/"])}return console.info("Logging out..."),yield o.signOut(),e.createUrlTree(["/"])});function pr(e){try{return new URL(e).protocol==="https:"}catch(o){return!1}}function ur(e){return["HTTP-Redirect","HTTP-POST"].includes(e)}function mr(e){return lr.every(o=>e.has(o))}function dr(e){let o=new URLSearchParams;for(let[t,i]of e.entries())cr.includes(t)&&o.append(t,i);return o}function _r(e,o){let t=e;if(o){t.includes("?")||(t+="?");for(let[i,n]of o.entries())t.endsWith("?")?t+=`${i}=${encodeURIComponent(n)}`:t+=`&${i}=${encodeURIComponent(n)}`}return t}function fr(e,o){let t=document.createElement("form");t.method="POST",t.action=e,t.enctype="application/x-www-form-urlencoded",t.style.display="none";for(let[i,n]of o.entries()){let a=document.createElement("input");a.type="hidden",a.name=i,a.value=n,t.appendChild(a)}return t}var lo=(()=>{class e extends Qe{constructor(){super(...arguments),this.title=r(gi),this.businessTerms=r(Fe)}updateTitle(t){if(t.url===`/${De.path}`){this.businessTerms.businessTerms$.pipe(ne(1)).subscribe(n=>{this.title.setTitle(`${n.customerTerm.pluralCapitalized} | Waitwhile`)});return}else if(t.url===`/${q.path}`){this.businessTerms.businessTerms$.pipe(ne(1)).subscribe(n=>{this.title.setTitle(`${n.visitTerm.pluralCapitalized} | Waitwhile`)});return}let i=this.buildTitle(t);i?this.title.setTitle(`${i} | Waitwhile`):this.title.setTitle("Waitwhile")}static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ze(e)))(n||e)}})()}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Et=(()=>{class e{constructor(){this.commonDisplay=r(gt)}displayUserCard(t,i,n,a){let c=this.commonDisplay.displayUserBadge(t,a,n);return this.displayCard(c,t,i,`/${Ve.path}`)}displayManagerCard(t){if(!t)return null;let i=t.name||$localize`Manager`,n="large",a;t.photoUrl?a=M(Zi,{size:n,url:t.photoUrl,shape:"round"}):a=M(qi,{size:n,backgroundColor:ji(i),component:Ei(i)});let c=this.displayCard(a,i,t.email??void 0);return M(Ae,{$element:{classList:"flex flex-col p-2"},components:[M(nt,{content:$localize`Your success manager:`,$element:{color:"darkerGrey",typography:"body1"}}),c]})}displayCard(t,i,n,a){let c=M(Ae,{components:[t,M(Ae,{components:[M(nt,{content:i,$element:{typography:"h5"}}),n?M(nt,{content:n,truncate:!0,$element:{typography:"body2"}}):void 0],$element:{typography:"body1",classList:"flex flex-col p-2"}})]});return a?M(ct,{href:a,type:"router-link",$element:{color:"black"},content:c}):c}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var gr=(e,o)=>o.key;function hr(e,o){e&1&&(u(0,"div",2),A("click",function(i){return i.stopPropagation()}),d()),e&2&&l("innerHTML",o,ii)}function wr(e,o){if(e&1&&g(0,"ww-icon",4),e&2){let t=m().$implicit;l("icon",t.icon)("size","small")}}function Cr(e,o){if(e&1){let t=I();u(0,"a",3),A("click",function(){let n=O(t).$implicit;return $(n.api())}),h(1,wr,1,2,"ww-icon",4),u(2,"div"),de(3),d()()}if(e&2){let t=o.$implicit;l("wwNavListItem",t.type),Te("aria-label",t.label),s(),w(t.icon?1:-1),s(2),Ne(t.label)}}function vr(e,o){e&1&&G(0)}function Tr(e,o){if(e&1&&(u(0,"div",5),A("click",function(i){return i.stopPropagation()}),b(1,vr,1,0,"ng-container",6),_(2,"async"),d()),e&2){let t=m();s(),l("wwOutlet",f(2,1,t.accountManagerDisplay$))}}var _o=(()=>{class e{constructor(){this.actions=[],this.accountRx=r(ee),this.navDisplay=r(Et),this.userRx=r(H),this.userRoles$=this.userRx.getCurrentUser(["roles"]).pipe(p(t=>t.roles??[])),this.customSupportEnabled$=this.accountRx.account$.pipe(fe(["features"]),p(t=>t?.features?.enableCustomSupport)),this.customSupportText$=this.accountRx.account$.pipe(fe(["settings"]),p(t=>t?.settings?.customSupportText)),this.accountManager$=R([this.userRoles$,this.accountRx.account$.pipe(fe(["manager"]))]).pipe(p(([t,i])=>!t.includes(pt.OWNER)||!i.manager?.email?null:i.manager)),this.accountManagerDisplay$=this.accountManager$.pipe(Ce(ye),p(t=>this.navDisplay.displayManagerCard(t))),this.customSupportTextHtml$=R([this.customSupportEnabled$,this.customSupportText$]).pipe(p(([t,i])=>{if(!(!t||!i))try{return Ut(i,{renderer:this.markdownRenderer})}catch(n){return console.warn("Failed to parse custom support text to html",i
1),""}})),this.markdownRenderer=this.getMarkdownRenderer()}getMarkdownRenderer(){let t=new Ut.Renderer;return t.link=i=>`<a target="_blank" href="${i.href}" title="${i.title}">${i.text}</a>`,t}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-help-menu"]],hostAttrs:[1,"app-help-menu"],inputs:{actions:"actions"},standalone:!1,decls:7,vars:6,consts:[["wwTypography","body1",1,"app-help-menu-custom-support-text",3,"innerHTML"],[3,"wwNavListItem"],["wwTypography","body1",1,"app-help-menu-custom-support-text",3,"click","innerHTML"],[3,"click","wwNavListItem"],[3,"icon","size"],[3,"click"],[4,"wwOutlet"]],template:function(i,n){if(i&1&&(h(0,hr,1,1,"div",0),_(1,"async"),u(2,"ww-nav-list"),ue(3,Cr,4,4,"a",1,gr),d(),h(5,Tr,3,3,"div"),_(6,"async")),i&2){let a,c;w((a=f(1,2,n.customSupportTextHtml$))?0:-1,a),s(3),me(n.actions),s(2),w((c=f(6,4,n.accountManager$))?5:-1,c)}},dependencies:[Q,xe,Pe,he,Me,j],styles:[`.app-help-menu{display:block}.app-help-menu .app-help-menu-custom-support-text{color:var(--ww-color-white);background-color:var(--ww-color-primary);max-width:300px;padding:16px;margin-bottom:8px;word-wrap:break-word;border-radius:8px}.app-help-menu .app-help-menu-custom-support-text a{text-decoration:underline}.app-help-menu .ww-nav-list-item{gap:8px}
2/*noophelp-menu.component-2RO5RCGA.css.map */
3`],encapsulation:2,changeDetection:0})}}return e})();var fo="+18889830869",go="+1 (888) 983-0869";var Ie=(()=>{class e{constructor(){this.accountRx=r(ee),this.breakpoints=r(it),this.impersonationRx=r(ut),this.impersonationService=r(un),this.intercom=r(mn),this.onboardingService=r(Mn),this.pushNotificationService=r(mt),this.router=r(W),this.userRx=r(H),this.wwDialog=r(we),this.userRoles$=this.userRx.getCurrentUser(["roles"]).pipe(p(t=>t.roles??[])),this.accountFeatures$=this.accountRx.account$.pipe(fe(["features"]),p(t=>t.features)),this.userMenuActions$=R([this.userRoles$,this.impersonationRx.isImpersonating$,this.breakpoints.isAboveSmall$,this.pushNotificationService.userHasConfiguredPushNotification$,this.pushNotificationService.hasInAppNotifications$]).pipe(p(([t,i,n,a,c])=>{let C=[];return!i&&t.includes(pt.SUPER)&&C.push({key:"impersonate",label:$localize`Impersonate other user`,icon:"bx-user-pin",api:()=>{this.impersonationService.openImpersonationDialog()}}),i&&(C.push({key:"exit-impersonation",label:"Exit impersonation",icon:"bx-user-pin",api:()=>P(this,null,function*(){let N=yield ie(this.impersonationService.impersonator$);this.impersonationService.exitImpersonation(N)})}),C.push({key:"copy-impersonation-link",label:"Copy impersonation link",icon:"bx-copy",api:()=>{this.impersonationService.copyImpersonationLink({userId:this.userRx.nullableUser?.id,redirect:this.router.url})}})),C.push({key:"user-settings",label:$localize`User settings`,icon:"bx-user-circle",api:()=>{this.router.navigate([Ve.path])}}),n&&a&&C.push({key:"toggle-in-app-notifications",label:c?$localize`Hide in-app notifications`:$localize`Show in-app notifications`,icon:c?"bx-bell":"bx-bell-off",api:()=>{this.pushNotificationService.toggleInAppNotifications()}}),C})),this.helpMenuActions$=R([this.accountFeatures$,this.onboardingService.canOnboard$]).pipe(p(([t,i])=>{let n=[];t.enableChatSupport&&n.push({key:"chat-support",label:$localize`Chat with support`,icon:"bx-support",api:()=>this.intercom.show()}),i&&n.push({key:"onboarding",label:$localize`Onboarding`,icon:"bx-rocket",api:()=>this.onboardingService.openOnboarding()}),t.enablePhoneSupport&&n.push({key:"phone-support",label:$localize`Call us`,icon:"bx-phone-call",api:()=>{this.wwDialog.open(M(Ae,{components:[$localize`Call us at the number below to get help from our support team.`,M(ct,{content:go,href:`tel:${fo}`})],$element:{classList:"flex flex-col gap-2 p-4"}}))}}),t.enableEmailSupport&&n.push({key:"email-support",label:$localize`Email us`,icon:"bx-envelope",api:()=>window.open("mailto:[email protected]","_blank")}),n.push({key:"help-docs",label:$localize`Help docs`,icon:"bx-help-circle",api:()=>window.open("https://help.waitwhile.com/","_blank")});let a=y.intercom;return a&&n.push({key:"give-feedback",label:$localize`Give feedback`,icon:"bx-message-alt-edit",api:()=>{this.intercom.startSurvey(a.surveyId)}}),n.push({key:"whats-new",label:$localize`What's new`,icon:"bx-star",api:()=>window.open("https://updates.waitwhile.com/","_blank")}),n.push({key:"about",label:$localize`About`,icon:"bx-info-circle",api:()=>{this.router.navigate([Vt.path])}}),n}))}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var te=(()=>{class e{constructor(){this.featuresRx=r(sn),this.injector=r(Ke),this.layout=r(X),this.routing=r(dt),this.activeFeature$=this.routing.featurePath$.pipe(p(t=>oo.find(i=>i.path&&t.startsWith(i.path))??q)),this.accountLevelFeatures$=this.getEnabledFeatures($e),this.staffExperienceFeatures$=this.getEnabledFeatures(Le),this.accountLevelFeatureGroup$=this.accountLevelFeatures$.pipe(p(t=>({features:t,level:"account"})),Se({refCount:!0,bufferSize:1})),this.staffExperienceFeatureGroup$=this.staffExperienceFeatures$.pipe(p(t=>({features:t,level:"location"})),Se({refCount:!0,bufferSize:1})),this.selectedFeatureGroupLevel$=this.activeFeature$.pipe(Yt(null),Pt((t,i)=>i&&$e.includes(i)?"account":i&&Le.includes(i)?"location":t,"location"),je(),Se({refCount:!0,bufferSize:1})),this.selectedFeatureGroup$=this.selectedFeatureGroupLevel$.pipe(x(t=>t==="account"?this.accountLevelFeatureGroup$:t==="location"?this.staffExperienceFeatureGroup$:B(null)),Pt((t,i)=>i||t||null),x(t=>t?B(t):this.staffExperienceFeatureGroup$),je(),Se({refCount:!0,bufferSize:1})),this.withFeatureTitles$=R([this.selectedFeatureGroupLevel$,this.layout.isDesktop$]).pipe(p(([t,i])=>t==="account"&&i)),this.featureGroup$=this.selectedFeatureGroup$.pipe(x(t=>{let i=t.features.map(n=>{let a=n.getBadge?n.getBadge(this.injector):B(null),c=n.getSuffix?n.getSuffix(this.injector):B(null);return se(z({},n),{badge$:a,suffix$:c})});return R(i.map(n=>(n.getTitle?n.getTitle(this.injector).pipe(je()):B(n.title)).pipe(p(c=>se(z({},n),{title:c}))))).pipe(p(n=>se(z({},t),{features:n})))}),Se({refCount:!0,bufferSize:1})),this.featureGroupLevel$=this.featureGroup$.pipe(p(t=>t.level)),this.features$=this.featureGroup$.pipe(p(t=>t.features)),this.primaryFeatures$=this.features$.pipe(p(t=>t.slice(0,3))),this.secondaryFeatures$=this.features$.pipe(p(t=>t.slice(3))),this.accountLevelFeatureGroup$.subscribe(),this.staffExperienceFeatureGroup$.subscribe()}getEnabledFeatures(t){return t.length?R(t.map(i=>(i.enabledConfig?this.featuresRx.isFeatureEnabled(i.enabledConfig):B(!0)).pipe(p(a=>a?i:null)))).pipe(p(i=>i.filter(ye))):B([])}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=k({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Kt=(e,o)=>o.key;function yr(e,o){e&1&&G(0)}function Ar(e,o){e&1&&(u(0,"span"),oe(1,2),d())}function Mr(e,o){e&1&&(u(0,"span"),oe(1,3),d())}function xr(e,o){if(e&1&&(u(0,"div",10),h(1,Ar,2,0,"span")(2,Mr,2,0,"span"),d()),e&2){let t=m(2);l("wwTypography","body2")("wwColor","darkerGrey"),s(),w(t.featureGroupLevel==="account"?1:2)}}function Pr(e,o){if(e&1&&g(0,"ww-icon",15),e&2){let t=m().$implicit;l("icon",t.icon.inactive)("size","small")}}function br(e,o){e&1&&G(0)}function Rr(e,o){e&1&&b(0,br,1,0,"ng-container",7),e&2&&l("wwOutlet",o)}function Or(e,o){if(e&1){let t=I();u(0,"a",14),A("click",function(){O(t);let n=m(2);
3return $(n.itemClicked.emit())}),h(1,Pr,1,2,"ww-icon",15),u(2,"div"),de(3),d(),h(4,Rr,1,1,"ng-container"),_(5,"async"),d()}if(e&2){let t,i=o.$implicit;l("routerLink","/"+i.path),s(),w(i.icon?1:-1),s(2),Ne(i.title),s(),w((t=f(5,4,i.suffix$))?4:-1,t)}}function $r(e,o){if(e&1){let t=I();g(0,"ww-section-divider"),h(1,xr,3,3,"div",10),ue(2,Or,6,6,"a",11,Kt),u(4,"a",12),A("click",function(){O(t);let n=m();return $(n.openPublicLinks())}),g(5,"ww-icon",13),u(6,"div"),oe(7,1),d()()}if(e&2){let t=m();s(),w(t.withTitles?1:-1),s(),me(t.features),s(2),l("wwEventLogger","public_links_opened"),s(),l("size","small")}}function Lr(e,o){e&1&&(u(0,"div",10),oe(1,4),d()),e&2&&l("wwTypography","body2")("wwColor","darkerGrey")}function Ir(e,o){if(e&1&&g(0,"ww-icon",15),e&2){let t=m().$implicit;l("icon",t.icon)("size","small")}}function Wr(e,o){if(e&1){let t=I();u(0,"a",17),A("click",function(){let n=O(t).$implicit,a=m(2);return n.api(),$(a.itemClicked.emit())}),h(1,Ir,1,2,"ww-icon",15),u(2,"div"),de(3),d()()}if(e&2){let t=o.$implicit;l("wwNavListItem",t.type),Te("aria-label",t.label),s(),w(t.icon?1:-1),s(2),Ne(t.label)}}function Ur(e,o){if(e&1&&(g(0,"ww-section-divider"),h(1,Lr,2,2,"div",10),ue(2,Wr,4,4,"a",16,Kt)),e&2){let t=m(),i=Lt(5);s(),w(t.withTitles?1:-1),s(),me(i)}}function Fr(e,o){e&1&&(u(0,"div",10),oe(1,5),d()),e&2&&l("wwTypography","body2")("wwColor","darkerGrey")}function kr(e,o){if(e&1&&g(0,"ww-icon",15),e&2){let t=m().$implicit;l("icon",t.icon)("size","small")}}function Vr(e,o){if(e&1){let t=I();u(0,"a",17),A("click",function(){let n=O(t).$implicit,a=m(2);return n.api(),$(a.itemClicked.emit())}),h(1,kr,1,2,"ww-icon",15),u(2,"div"),de(3),d()()}if(e&2){let t=o.$implicit;l("wwNavListItem",t.type),Te("aria-label",t.label),s(),w(t.icon?1:-1),s(2),Ne(t.label)}}function Dr(e,o){if(e&1&&(g(0,"ww-section-divider"),h(1,Fr,2,2,"div",10),ue(2,Vr,4,4,"a",16,Kt)),e&2){let t=m(),i=Lt(8);s(),w(t.withTitles?1:-1),s(),me(i)}}var Nt=(()=>{class e extends ge{constructor(){super(...arguments),this.navActions=r(Ie),this.navDisplay=r(Et),this.navService=r(te),this.dialog=r(we),this.firebaseAuth=r(U),this.layout=r(X),this.ssoAuthService=r(Fn),this.userRx=r(H),this.writeContext=r(Re),this.featureGroupLevel=null,this.features=[],this.withTitles=!1,this.withHelpMenuActions=!1,this.itemClicked=new ei,this.currentResourceId$=this.writeContext.writer$.pipe(x(t=>t?.resource?.id?B(t.resource?.id):this.userRx.getCurrentUser(["resourceId"]).pipe(p(i=>i?.resourceId??null)))),this.userDisplay$=this.userRx.getCurrentUser(["email","name","photoUrl"]).pipe(p(({email:t,name:i,photoUrl:n})=>this.navDisplay.displayUserCard(i,t,"medium",n)))}openPublicLinks(){this.dialog.open({type:ht,inputs:{area:this.featureGroupLevel==="account"?"account":"location"}},{size:this.layout.isMobile?"bottom-sheet":"x-large"})}signOut(){return P(this,null,function*(){if(yield ie(this.ssoAuthService.hasSsoSlo$))this.ssoAuthService.logout();else{let i=yield ie(this.ssoAuthService.ssoLogoutUrl$);this.firebaseAuth.signOut(i)}})}static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=Ze(e)))(n||e)}})()}static{this.\u0275cmp=L({type:e,selectors:[["app-nav-menu"]],hostAttrs:[1,"app-nav-menu"],inputs:{featureGroupLevel:"featureGroupLevel",features:"features",withTitles:"withTitles",withHelpMenuActions:"withHelpMenuActions"},outputs:{itemClicked:"itemClicked"},standalone:!1,features:[le],decls:16,vars:14,consts:()=>{let t;t=$localize`Log out`;let i;i=$localize`Log out`;let n;n=$localize`Public links`;let a;a=$localize`Account`;let c;c=$localize`Location`;let C;C=$localize` User `;let N;return N=$localize` Help `,[i,n,a,c,C,N,[1,"p-2"],[4,"wwOutlet"],["aria-label",t,3,"click","wwNavListItem"],["icon","bx-log-out",3,"size"],[1,"pt-2","px-2",3,"wwTypography","wwColor"],["wwNavListItem","",3,"routerLink"],["wwNavListItem","",3,"click","wwEventLogger"],["icon","bx-link",3,"size"],["wwNavListItem","",3,"click","routerLink"],[3,"icon","size"],[3,"wwNavListItem"],[3,"click","wwNavListItem"]]},template:function(i,n){if(i&1&&(u(0,"ww-nav-list")(1,"div",6),b(2,yr,1,0,"ng-container",7),_(3,"async"),d(),h(4,$r,8,3),Ot(5),_(6,"async"),h(7,Ur,4,1),Ot(8),_(9,"async"),h(10,Dr,4,1),g(11,"ww-section-divider"),u(12,"button",8),A("click",function(){return n.signOut()}),g(13,"ww-icon",9),u(14,"div"),oe(15,0),d()()()),i&2){s(2),l("wwOutlet",f(3,6,n.userDisplay$)),s(2),w(n.features&&n.features.length>0?4:-1),s();let a=$t(f(6,8,n.navActions.userMenuActions$));s(2),w(a&&a.length>0?7:-1),s();let c=$t(f(9,11,n.navActions.helpMenuActions$));s(2),w(c&&c.length>0&&n.withHelpMenuActions?10:-1),s(2),l("wwNavListItem","warning"),s(),l("size","small")}},dependencies:[et,ft,rt,Q,xe,Pe,he,st,Me,j],styles:[`.app-nav-menu{display:block}.app-nav-menu .ww-nav-list-item{gap:8px}
4/*noopnav-menu.component-KH3JECFL.css.map */
5`],encapsulation:2,changeDetection:0})}}return e})();var jr=()=>({hideTooltip:!0}),Hr=()=>["enableSearch"],Xr=()=>["visits.show"],Kr=()=>
5["visits.show","customers.show","services.show","resources.show"],Zr=(e,o,t)=>({isWaitwhileUser:!0,accountFeatures:e,permissions:o,somePermissions:t}),qr=(e,o)=>o.key;function Yr(e,o){if(e&1&&(g(0,"ww-icon",10),_(1,"async"),_(2,"async")),e&2){let t=m().$implicit,i=J(1);l("wwCounter",!!f(1,5,t.badge$))("wwCounterSize","x-small")("wwCounterColor",f(2,7,t.badge$))("wwCounterPosition","after")("icon",i.isActive?t.icon.active:t.icon.inactive)}}function Jr(e,o){if(e&1&&(u(0,"div",12),de(1),d()),e&2){let t=m().$implicit,i=m(2);re("ww-typography-caption1",i.horizontal)("text-center",i.horizontal),s(),ai(" ",t.title," ")}}function Qr(e,o){e&1&&G(0)}function ea(e,o){e&1&&b(0,Qr,1,0,"ng-container",13),e&2&&l("wwOutlet",o)}function ta(e,o){if(e&1&&(u(0,"a",9,0),_(2,"async"),h(3,Yr,3,9,"ww-icon",10),h(4,Jr,2,5,"div",11),_(5,"async"),h(6,ea,1,1,"ng-container"),_(7,"async"),d()),e&2){let t,i=o.$implicit,n=J(1),a=m(2);re("flex-col",a.horizontal)("!gap-1",a.horizontal),l("wwNavListItem","secondary")("wwNavListItemActive",n.isActive)("routerLink","/"+i.path)("wwTooltip",f(2,13,a.navService.withFeatureTitles$)?"":i.title??"")("wwTooltipPosition","after"),Te("aria-label",i.title),s(3),w(i.icon?3:-1),s(),w(f(5,15,a.navService.withFeatureTitles$)?4:-1),s(2),w((t=f(7,17,i.suffix$))?6:-1,t)}}function ia(e,o){e&1&&(u(0,"a",14),g(1,"ww-icon",16),d()),e&2&&l("wwNavListItem","secondary")("wwBackgroundColor","white")}function na(e,o){if(e&1){let t=I();u(0,"button",17),A("click",function(){O(t);let n=m(3);return $(n.auth.signOut())}),g(1,"ww-icon",18),d()}}function oa(e,o){if(e&1&&(oi(0,8),h(1,ia,2,2,"a",14),_(2,"async"),pe(3,na,2,0,"button",15),ri()),e&2){let t,i=m(2);s(),w((t=f(2,1,i.user$))?1:3,t)}}function ra(e,o){e&1&&(u(0,"div",19)(1,"div",20),g(2,"ww-section-divider",21),u(3,"div",22),oe(4,2),d()(),u(5,"a",23),g(6,"ww-display-location",24),d()()),e&2&&(s(3),l("wwColor","darkerGrey")("wwTypography","caption1"),s(2),l("wwNavListItem","secondary")("routerLink","/"),s(),l("wwTypography","caption1")("entityId",o)("options",Ee(7,jr)))}function aa(e,o){if(e&1&&(h(0,ra,7,8,"div",19),_(1,"async")),e&2){let t,i=m(3);w((t=f(1,1,i.locationRx.nullableLocationId$))?0:-1,t)}}function sa(e,o){if(e&1){let t=I();u(0,"a",26),A("click",function(){O(t);let n=m(3),a=m();return $(a.openSearch(n))}),g(1,"ww-icon",27),d()}e&2&&l("wwNavListItem","secondary")}function ca(e,o){}function la(e,o){if(e&1&&b(0,sa,2,1,"a",25)(1,ca,0,0,"ng-template",null,1,We),e&2){let t=J(2);l("wwFeatureEnabledConfig",si(5,Zr,Ee(2,Hr),Ee(3,Xr),Ee(4,Kr)))("wwFeatureEnabledConfigElse",t)}}function pa(e,o){if(e&1&&h(0,aa,2,3)(1,la,3,9),e&2){let t=m();w(t.level==="account"?0:1)}}function ua(e,o){if(e&1&&(u(0,"div",4)(1,"div",5)(2,"ww-nav-list",6),ue(3,ta,8,19,"a",7,qr),_(5,"async"),h(6,oa,4,3,"ng-container",8),h(7,pa,2,1),d()()()),e&2){let t=m();re("gap-y-3",!t.horizontal)("px-3",!t.horizontal)("p-1",!t.horizontal),s(),re("flex-col",!t.horizontal),s(),re("h-full",t.horizontal)("items-center",t.horizontal),l("horizontal",t.horizontal),s(),me(f(5,15,t.features$)),s(3),w(t.horizontal?6:-1),s(),w(t.horizontal?-1:7)}}var Zt=(()=>{class e extends ge{constructor(){super(),this.auth=r(U),this.layout=r(X),this.locationRx=r(be),this.navActions=r(Ie),this.navService=r(te),this.userRx=r(H),this.wwDialog=r(we),this.horizontal=!1,this.horizontal$=this.observe("horizontal"),this.user$=this.userRx.getCurrentNullableUser([]),this.features$=this.horizontal$.pipe(x(t=>t?this.navService.primaryFeatures$:this.navService.features$)),this.addClassBinding("app-nav-with-titles",this.navService.withFeatureTitles$)}openSearch(t){this.wwDialog.open(M(zn,{level:t.level}),{size:"small",keepOpenOnNavigation:!0})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-nav"]],hostAttrs:[1,"app-nav","block","h-full","w-full"],hostVars:4,hostBindings:function(i,n){i&2&&re("app-nav-horizontal",n.horizontal)("app-nav-vertical",!n.horizontal)},inputs:{horizontal:"horizontal"},standalone:!1,features:[le],decls:2,vars:3,consts:()=>{let t;t=$localize`Log out`;let i;i=$localize` Recent location `;let n;return n=$localize`Search`,[["routerLinkActive","routerLinkActive"],["noSearchTmpl",""],i,[1,"flex","flex-col","items-center","h-full","w-full","gap-4",3,"gap-y-3","px-3","p-1"],[1,"flex","flex-col","items-center","h-full","w-full","gap-4"],[1,"flex","items-start","gap-4","flex-1","w-full"],["gap","large",1,"w-full","justify-evenly",3,"horizontal"],["routerLinkActive","",1,"flex","items-center","gap-2",3,"flex-col","!gap-1","wwNavListItem","wwNavListItemActive","routerLink","wwTooltip","wwTooltipPosition"],["ngProjectAs","[wwNavListItem]",5,["","wwNavListItem",""]],["routerLinkActive","",1,"flex","items-center","gap-2",3,"wwNavListItem","wwNavListItemActive","routerLink","wwTooltip","wwTooltipPosition"],[3,"wwCounter","wwCounterSize","wwCounterColor","wwCounterPosition","icon"],[1,"overflow-hidden","whitespace-nowrap","w-full","text-ellipsis",3,"ww-typography-caption1","text-center"],[1,"overflow-hidden","whitespace-nowrap","w-full","text-ellipsis"],[4,"wwOutlet"],["routerLink","/menu",1,"text-center","overflow-hidden","whitespace-nowrap","w-full","text-ellipsis",3,"wwNavListItem","wwBackgroun
5dColor"],["wwButton","tertiary","aria-label",t],["icon","bx-menu"],["wwButton","tertiary","aria-label",t,3,"click"],["icon","bx-log-out"],["wwTypography","caption1",1,"flex","flex-col","gap-2"],[1,"px-2","flex","flex-col"],[1,"mb-4"],[1,"uppercase",3,"wwColor","wwTypography"],[1,"app-nav-recent-location",3,"wwNavListItem","routerLink"],[3,"wwTypography","entityId","options"],["class","flex items-center gap-2","wwTooltip",n,3,"wwNavListItem","click",4,"wwFeatureEnabledConfig","wwFeatureEnabledConfigElse"],["wwTooltip",n,1,"flex","items-center","gap-2",3,"click","wwNavListItem"],["icon","bx-search"]]},template:function(i,n){if(i&1&&(h(0,ua,8,17,"div",3),_(1,"async")),i&2){let a;w((a=f(1,1,n.navService.featureGroup$))?0:-1,a)}},dependencies:[et,wi,vn,Tn,ot,rt,Ji,Q,xe,Pe,he,st,at,Me,j],styles:[`.app-nav{padding:20px 0 8px}.app-nav.app-nav-vertical:not(.app-nav-with-titles) .ww-account-feature-icon{position:relative;top:-18px;right:12px}.app-nav.app-nav-horizontal{flex-direction:row;touch-action:pan-x pan-y;overflow-x:auto;padding:0 8px}.app-nav.app-nav-horizontal .ww-account-feature-icon{position:absolute;top:6px;right:4px}.app-nav .app-nav-recent-location .ww-badge{--ww-badge-size: 24px}.app-nav .app-nav-recent-location .ww-display-location{align-items:center}.app-nav .app-nav-recent-location .ww-text-truncate{white-space:pre-wrap;word-break:break-word}.app-nav .mat-badge-content{text-overflow:initial}.mat-mdc-menu-panel.mat-mdc-menu-panel.ww-nav-menu{min-width:256px;max-width:none}.mat-mdc-menu-panel.mat-mdc-menu-panel.ww-nav-menu .ww-section-divider{margin:4px 0}.mat-mdc-menu-panel.mat-mdc-menu-panel.ww-nav-help-menu .mat-mdc-menu-content{padding-top:0}
6/*noopnav.component-OLBWTEJZ.css.map */
7`],encapsulation:2,changeDetection:0})}}return e})();var da=()=>["accounts.update","plan.update"];function _a(e,o){e&1&&g(0,"ww-acting-resource-control")}function fa(e,o){if(e&1&&(g(0,"ww-resource-switcher",10),_(1,"async")),e&2){let t=m(2);l("buttonSize","small")("disabled",f(1,2,t.resourceSwitcherDisabled$))}}function ga(e,o){if(e&1&&(h(0,_a,1,0,"ww-acting-resource-control"),_(1,"async"),pe(2,fa,2,4,"ww-resource-switcher",10)),e&2){let t=m();w(f(1,1,t.writeContextService.hasWriterResource$)?0:2)}}function ha(e,o){if(e&1){let t=I();u(0,"a",17),A("click",function(n){O(t);let a=m(3);return $(a.navigateToUpgrade(n))}),g(1,"ww-icon",18),d()}e&2&&l("size","small")("wwEventLogger","opened_change_plan")}function wa(e,o){e&1&&b(0,ha,2,2,"a",16),e&2&&l("wwPermission",Ee(1,da))}function Ca(e,o){e&1&&G(0)}function va(e,o){if(e&1&&(u(0,"ww-notification-anchor"),b(1,Ca,1,0,"ng-container",19),d()),e&2){m(2);let t=J(12);s(),l("ngTemplateOutlet",t)}}function Ta(e,o){e&1&&G(0)}function Ea(e,o){if(e&1&&b(0,Ta,1,0,"ng-container",19),e&2){m(2);let t=J(12);l("ngTemplateOutlet",t)}}function Sa(e,o){if(e&1){let t=I();u(0,"button",11),A("click",function(){O(t);let n=m();return $(n.openPublicLinks())}),g(1,"ww-icon",12),d(),h(2,wa,1,2,"a",13),_(3,"async"),u(4,"button",14),g(5,"ww-icon",15),d(),h(6,va,2,1,"ww-notification-anchor"),_(7,"async"),pe(8,Ea,1,1,"ng-container")}if(e&2){let t=m(),i=J(14);l("size","small")("wwEventLogger","public_links_opened"),s(2),w(f(3,6,t.isFreePlan$)?2:-1),s(2),l("size","small")("matMenuTriggerFor",i),s(2),w(f(7,8,t.useNotificationAnchor$)?6:8)}}function Na(e,o){e&1&&g(0,"app-nav-menu")}function ya(e,o){e&1&&G(0)}function Aa(e,o){if(e&1&&(u(0,"button",20),b(1,ya,1,0,"ng-container",22),_(2,"async"),d()),e&2){m();let t=J(4),i=m();l("size","small")("matMenuTriggerFor",t),s(),l("wwOutlet",f(2,3,i.userBadge$))}}function Ma(e,o){if(e&1){let t=I();u(0,"button",23),A("click",function(){O(t);let n=m(2);return $(n.auth.signOut())}),g(1,"ww-icon",24),d()}e&2&&l("size","medium")}function xa(e,o){e&1&&G(0)}function Pa(e,o){if(e&1&&b(0,xa,1,0,"ng-container",19),e&2){m(2);let t=J(10);l("ngTemplateOutlet",t)}}function ba(e,o){if(e&1&&(h(0,Aa,3,5,"button",20),_(1,"async"),pe(2,Ma,2,1,"button",21),u(3,"mat-menu",8,3),b(5,Pa,1,1,"ng-template",9),d()),e&2){let t,i=m();w((t=f(1,1,i.user$))?0:2,t)}}function Ra(e,o){if(e&1&&(g(0,"app-help-menu",25),_(1,"async")),e&2){let t=m();l("actions",f(1,1,t.navActions.helpMenuActions$))}}var yt=(()=>{class e{constructor(){this.level=null,this.auth=r(U),this.layout=r(X),this.locationRx=r(be),this.navActions=r(Ie),this.navService=r(te),this.router=r(W),this.resourceRx=r(an),this.writeContextService=r(Re),this.accountRx=r(ee),this.breakpoints=r(it),this.commonDisplay=r(gt),this.dialog=r(we),this.internalLinksService=r(_n),this.permissionRx=r(rn),this.pushNotificationService=r(mt),this.userRx=r(H),this.user$=this.userRx.getCurrentNullableUser([]),this.useNotificationAnchor$=R([this.breakpoints.isAboveSmall$,this.pushNotificationService.userHasConfiguredPushNotification$]).pipe(p(([t,i])=>t&&i)),this.userBadge$=this.userRx.getCurrentUser(["name","photoUrl"]).pipe(p(({name:t,photoUrl:i})=>this.commonDisplay.displayUserBadge(t,i,"x-small"))),this.isFreePlan$=this.accountRx.account$.pipe(fe(["planSegment"]),p(({planSegment:t})=>t==="FREE")),this.resourceSwitcherDisabled$=this.permissionRx.lacksPermission("resources.show")}openPublicLinks(){return P(this,null,function*(){let t=yield ie(this.navService.featureGroupLevel$);this.dialog.open({type:ht,inputs:{area:t==="account"?"account":"location"}},{size:"x-large"})})}navigateToUpgrade(t){t.preventDefault(),this.internalLinksService.navigateToUpgrade()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-top-nav"]],hostAttrs:[1,"app-top-nav"],inputs:{level:"level"},standalone:!1,decls:16,vars:11,consts:()=>{let t;t=$localize`Public links`;let i;i=$localize`Public links`;let n;n=$localize`Upgrade`;let a;a=$localize`Upgrade`;let c;c=$localize`Help`;let C;C=$localize`Help`;let N;N=$localize`User menu`;let v;
7return v=$localize`Log out`,[["navMenuTmpl",""],["userMenuTriggerTmpl",""],["helpMenu",""],["userMenu",""],[1,"flex","px-4","gap-2","h-full","items-center","justify-between","below-small:px-2"],[1,"flex-1","min-w-0"],[1,"flex","justify-start",3,"levelChanged","level"],[1,"flex","items-center","gap-1","justify-end","min-w-8"],[1,"ww-nav-menu"],["matMenuContent",""],[3,"buttonSize","disabled"],["wwButton","tertiary","aria-label",t,"wwTooltip",i,3,"click","size","wwEventLogger"],["icon","bx-link"],["wwButton","tertiary","aria-label",n,"wwTooltip",a,3,"size","wwEventLogger"],["wwButton","tertiary","aria-label",c,"wwTooltip",C,3,"size","matMenuTriggerFor"],["icon","bx-help-circle"],["wwButton","tertiary","aria-label",n,"wwTooltip",a,3,"size","wwEventLogger","click",4,"wwPermission"],["wwButton","tertiary","aria-label",n,"wwTooltip",a,3,"click","size","wwEventLogger"],["icon","bx-bolt-circle"],[4,"ngTemplateOutlet"],["wwButton","tertiary","type","button","aria-label",N,3,"size","matMenuTriggerFor"],["wwButton","tertiary","aria-label",v,1,"ml-2",3,"size"],[4,"wwOutlet"],["wwButton","tertiary","aria-label",v,1,"ml-2",3,"click","size"],["icon","bx-log-out"],[3,"actions"]]},template:function(i,n){i&1&&(u(0,"div",4)(1,"div",5)(2,"ww-location-switcher",6),_(3,"async"),A("levelChanged",function(){return n.router.navigate(["/"])}),d()(),u(4,"div",7),_(5,"async"),h(6,ga,3,3),h(7,Sa,9,10),_(8,"async"),d()(),b(9,Na,1,0,"ng-template",null,0,We)(11,ba,6,3,"ng-template",null,1,We),u(13,"mat-menu",8,2),b(15,Ra,2,3,"ng-template",9),d()),i&2&&(s(2),l("level",f(3,5,n.navService.featureGroupLevel$)),s(2),re("flex-1",f(5,7,n.resourceRx.hasResources$)),s(2),w(n.level==="location"?6:-1),s(),w(f(8,9,n.layout.isDesktop$)?7:-1))},styles:[`.app-top-nav .ww-location-switcher,.app-top-nav .ww-location-select{max-width:100%}
8/*nooptop-nav.component-XP5VTMRS.css.map */
9`],encapsulation:2,changeDetection:0})}}return e})();var At=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({imports:[_e,ae,Bn,lt,Nn]})}}return e})();Ye(yt,[pi,Wn,ft,Ln,Sn,In,Xi,Hi,Ki,Qi,ot,Q,en,he,at,_o,Nt],[j]);var wo=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-load-screen"]],hostAttrs:[1,"app-load-screen"],standalone:!1,decls:1,vars:0,consts:[["icon","ww-waitwhile","sizeStyle","20vh"]],template:function(i,n){i&1&&g(0,"ww-icon",0)},dependencies:[Q],styles:[`.app-load-screen{display:flex;align-items:center;justify-content:center;position:fixed;inset:0}.app-load-screen .ww-icon{margin-bottom:10vh}
10/*noopload-screen.component-VB4LX63F.css.map */
11`],encapsulation:2,changeDetection:0})}}return e})();function Fa(e,o){e&1&&g(0,"ww-top-bar-message",8),e&2&&l("message",o)}function ka(e,o){if(e&1&&(u(0,"div",7),_(1,"async"),h(2,Fa,1,1,"ww-top-bar-message",8),_(3,"async"),d()),e&2){let t,i=m(2);qe("height",f(1,3,i.systemMessageService.messageHeight$),"px"),s(2),w((t=f(3,5,i.systemMessageService.latestMessage$))?2:-1,t)}}function Va(e,o){if(e&1&&(u(0,"ww-layout-top"),g(1,"app-top-nav",9),_(2,"async"),d()),e&2){let t=m(2);s(),l("level",f(2,1,t.navService.selectedFeatureGroupLevel$))}}function Da(e,o){if(e&1&&(u(0,"ww-layout-content-header",4),g(1,"app-top-nav",9),_(2,"async"),d()),e&2){let t=m(2);s(),l("level",f(2,1,t.navService.selectedFeatureGroupLevel$))}}function za(e,o){if(e&1){let t=I();u(0,"ww-layout",2),_(1,"async"),A("leftBackdropClicked",function(){O(t);let n=m();return $(n.leftCollapsed=!0)}),h(2,ka,4,7,"div",3),_(3,"async"),h(4,Va,3,3,"ww-layout-top"),_(5,"async"),h(6,Da,3,3,"ww-layout-content-header",4),_(7,"async"),u(8,"ww-layout-left"),g(9,"app-nav"),d(),g(10,"router-outlet",5),u(11,"ww-layout-bottom"),g(12,"app-nav",6),d()()}if(e&2){let t=m();l("zIndexBase",t.zIndexBase)("bottomCollapsed",t.bottomCollapsed)("leftCollapsed",t.leftCollapsed)("leftSize",f(1,8,t.leftSize$)),s(2),w(f(3,10,t.systemMessageService.hasData$)?2:-1),s(2),w(f(5,12,t.layout.isDesktop$)?4:-1),s(2),w(f(7,14,t.layout.isMobile$)?6:-1),s(6),l("horizontal",!0)}}function Ba(e,o){if(e&1&&(u(0,"ww-login-container"),_(1,"async"),g(2,"ww-login"),d()),e&2){let t=m();qe("padding-top",f(1,2,t.systemMessageService.messageHeight$),"px")}
11}function Ga(e,o){e&1&&g(0,"app-load-screen")}var Co=(()=>{class e extends ge{constructor(){super(),this.changeDetectorRef=r(li),this.firebaseAuth=r(U),this.layout=r(X),this.navService=r(te),this.systemMessageService=r(Cn),this.zIndexBase=3e4,this.leftCollapsed=!0,this.bottomCollapsed=!0,this.featureGroupLeftSize$=this.navService.withFeatureTitles$.pipe(p(t=>t?204:64)),this.leftSize$=R([this.layout.isMobile$,this.featureGroupLeftSize$]).pipe(p(([t,i])=>t?360:i)),this.subscribe()}subscribe(){this.layout.isMobile$.pipe(He(this.ngOnDestroy$)).subscribe(t=>{this.leftCollapsed=t,this.bottomCollapsed=!t,this.changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-landing"]],hostAttrs:[1,"app-landing"],hostVars:2,hostBindings:function(i,n){i&2&&qe("--z-index-base",n.zIndexBase)},standalone:!1,features:[le],decls:4,vars:3,consts:[[3,"zIndexBase","bottomCollapsed","leftCollapsed","leftSize"],[3,"padding-top"],[3,"leftBackdropClicked","zIndexBase","bottomCollapsed","leftCollapsed","leftSize"],[1,"app-landing-system-message",3,"height"],[1,"!pt-2","block"],[1,"app-landing-router"],[3,"horizontal"],[1,"app-landing-system-message"],[3,"message"],[3,"level"]],template:function(i,n){if(i&1&&(h(0,za,13,16,"ww-layout",0),_(1,"async"),pe(2,Ba,3,4,"ww-login-container",1)(3,Ga,1,0,"app-load-screen")),i&2){let a;w((a=f(1,1,n.firebaseAuth.authStateName$))==="loggedIn"?0:a==="loggedOut"?2:a==="pending"?3:-1)}},dependencies:[Je,yn,xn,An,Pn,bn,wo,Hn,Xn,Zt,yt,Rn,j],styles:[`.app-landing-system-message{position:fixed;top:0;left:0;z-index:calc(var(--z-index-base) + 100);width:100%}
12/*nooplanding.component-ZIQIT54U.css.map */
13`],encapsulation:2,changeDetection:0})}}return e})();var K={buildTimestamp:"2026-09-30T10:00:53.178Z",commitHash:"93acf38"};var vo=e=>{let o=r(W),t=e.queryParams.mode;if(t==="verifyEmail"){let i=e.queryParams.oobCode,n=e.queryParams.continueUrl;if(!n)throw new Error("[firebaseUserManagementGuard] Missing continueUrl");return o.createUrlTree([new URL(n).pathname],{queryParams:{oobCode:i}})}return console.warn(`[firebaseUserManagementGuard] Unhandled mode: "${t}"`),o.createUrlTree(["/"])};var To=e=>P(null,null,function*(){let o=r(W),t=r(ln),i=r(U),n=r(Yi);try{let a=e.queryParams.code,c=e.queryParams.state,C=Si(Wt,null,Ii);if(Ni(Wt),!C)throw new Error("No stored state");if(c!==C.state)throw new Error("Invalid state");let N=yield ie(t.getIdToken(C.providerId,a,C.redirectUri,C.rawNonce,C.customParameters)),v=new xi(C.providerId).credential({idToken:N.idToken,rawNonce:C.rawNonce});if(!(yield i.signInWithOauthCredential(v)))throw new Error("Sign in failed");let $o=new URL(C.stateUrl);return o.createUrlTree([$o.pathname])}catch(a){return n.open({message:$localize`An error occurred during sign in.`}),o.createUrlTree(["/"])}});var ja=[...jt,{component:Co,path:"",children:[{path:"",redirectTo:Le[0].path,pathMatch:"full"},{path:"account",redirectTo:$e[0].path,pathMatch:"full"},...Bt.map(e=>{let o=[];return e.canActivate&&o.push(...e.canActivate),e.enabledConfig&&o.push(En(e.enabledConfig)),se(z({},e),{canActivate:o})}),...Gt]},{path:"visit/:visitId",canActivate:[so],children:[]},{path:"logout",canActivate:[ro],children:[]},{path:"saml-logout",canActivate:[co],children:[]},{path:"oidc/handler",canActivate:[To],children:[]},{path:"auth",children:[{path:"action",canActivate:[vo],children:[]}]},{path:"**",redirectTo:ao}];history.scrollRestoration="manual";var Eo=(()=>{class e{constructor(){this.routing=r(dt),this.manifestService=r(no),this.subscribeToVersionUpgrade()}subscribeToVersionUpgrade(){this.routing.featureChanged$.pipe(x(()=>this.manifestService.manifest$)).subscribe(t=>{t.commitHash!==K.commitHash&&window.location.reload()})}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({providers:[{provide:Qe,useClass:lo}],imports:[ae.forRoot(ja,{scrollPositionRestoration:"disabled"}),ae]})}}return e})();var So=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275cmp=L({type:e,selectors:[["app-root"]],standalone:!1,decls:1,vars:0,template:function(i,n){i&1&&g(0,"router-outlet")},dependencies:[Je],encapsulation:2,changeDetection:0})}}return e})();var Mt=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({imports:[_e]})}}return e})();var No=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({imports:[_e,ae,$n,Mt,qn,At,On,lt]})}}return e})();var yo=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({imports:[_e,At]})}}return e})();Ye(Ct,[Nt],[j]);var Ao={provide:Gi,useValue:K};var Mo=[wt,jn];var xo=(()=>{class e{constructor(){yi()||console.info(`Waitwhile front office build ${K.buildTimestamp} (${K.commitHash}).`)}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({providers:[{provide:Wi,useValue:y},{provide:Ui,useValue:Mo}]})}}return e})();var Po={provide:$i,useValue:{baseUrl:y.serverUrl,buildTimestamp:K.buildTimestamp,commitHash:K.commitHash,identifier:"web-fo",firebase:y.firebase,waitwhileAppVersion:Ai.IOS_VERSION,waitwhileClient:e=>`${e}-fo-${K.buildTimestamp}-${K.commitHash}`,dynamicBaseUrl:()=>tt(Bi,void 0,vi)}};var bo=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({providers:[Po,Xe([{provide:Ue,useFactory:()=>Mi(y.firebase)},{provide:bi,deps:[Ue],useFactory:t=>Pi(t)},{provide:Ri,deps:[Ue],useFactory:t=>Ha(t)},{provide:Oi,deps:[Ue],useFactory:t=>()=>P(this,null,function*(){return(yield fn())?gn(t):null})}])]})}}return e})();function Ha(e){if(!Xa())return It(e);try{return Li(e,{experimentalForceLongPolling:!0})}catch(o){return console.warn("Falling back to default Firestore initialization"),It(e)}}function Xa(){let o=tt(zi,null,t=>t===null||Ci(t))?.appFirestoreForceLongPolling;return Ti(o)?o:!1}var Ro=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e})}static{this.\u0275inj=E({providers:[{provide:Zn,useValue:y.recaptcha.v3siteKey},{provide:Kn,useValue:{siteKey:y.recaptcha.v2siteKey}}]})}}return e})();var Oo=(()=>{class e{constructor(){this.serviceWorker=r(Di),Vi()}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=S({type:e,bootstrap:[So]})}static{this.\u0275inj=E({providers:[Ao,_i(fi())],imports:[io,Eo,mi,xo,bo,dn.forRoot(y.intercom?.apiBaseUrl,y.intercom?.appId),Gn,No,Mt,yo,ae,hi,Un,kn,Vn.forRoot(),wn,Ro,hn,to.register("ngsw-worker.js",{enabled:ki(),registrationStrategy:"registerWhenStable:30000"})]})}}return e})();function Gm(){Ka(),y.production&&void 0,ui().bootstrapModule(Oo,{applicationProviders:[ci()]}).catch(e=>console.error(e)),Za()}
13function Ka(){if(!y.hostnameRedirects)return;let{pathname:e,search:o,hash:t,hostname:i}=window.location,n=y.hostnameRedirects[i.toLowerCase()];n&&(console.warn(`Redirecting from ${i} to ${n}`),window.location.href=`https://${n}${e}${o}${t}`)}function Za(){return P(this,null,function*(){if(!y.amplitudeId)return;let e=["invite","forgot-password"],o=a=>{let c=sessionStorage.getItem("AMP_URL_INFO"),C=c?JSON.parse(c):{};for(let N of e)if(C.AMP_PREVIOUS_PAGE?.includes(N)||C.AMP_CURRENT_PAGE?.includes(N)||document.referrer?.includes(N)||a.event_properties?.referrer?.includes(N)||window.location.pathname.includes(N))return!0;return!1},t=()=>({name:"wwPageLocationUrlOverridePlugin",type:"enrichment",execute:a=>P(null,null,function*(){return o(a)?null:(Object.keys(a.event_properties??{}).includes("[Amplitude] Page Location")&&(a.event_properties=se(z({},a.event_properties),{"[Amplitude] Page Location":`${location.protocol}//${location.host}${location.pathname}`,"[Amplitude] Page URL":`${location.protocol}//${location.host}${location.pathname}`})),a)})}),i=yield import("./chunk-OSOZSLVN.js"),n=qt();i.add(n),i.add(t()),i.init(y.amplitudeId,{autocapture:{pageViews:!0,sessions:!0}})})}export{Gm as bootstrap};
14//noopchunk-UVNHTKGG.js.map

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.