import{d as a}from"./chunk-BGV4AOSB.js";import{ha as n,ma as o}from"./chunk-FWZCAEAJ.js";var h=(()=>{let e=class e{constructor(t){this.window=t}createWaiterSignInLink(t){return`${this.createWaiterAuthLink(t,"SIGN_IN")}`}createWaiterSignInViaCreateTokenLink(t){return`${this.createWaiterAuthLink(t,"CREATE")}`}createTableLink(t){return`${this.createShareableLink("wl")}/t/${t}`}createWaiterAuthLink(t,r){return`${this.createShareableLink("ml")}/signIn?purpose=${r}&token=${t}`}createShareableLink(t){return this.window?`${this.window.location.protocol}//${this.window.location.hostname}${this.window.location.port.length>0?":"+this.window.location.port:""}/${t}`:""}};e.\u0275fac=function(r){return new(r||e)(o(a))},e.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();export{h as a};
