import{g as s}from"./chunk-3JLWQSYQ.js";import{w as i,zb as r}from"./chunk-ZVAMPSQU.js";var n=(function(e){return e.EnableContribution="enableContribution",e.EnableInstallInstructions="enableInstallInstructions",e.EnableDiscover="enableDiscover",e.EnableServerSettings="enableServerSettings",e.EnableBetaServerPreset="enableBetaServerPreset",e})(n||{}),m=(()=>{let t=class t{constructor(){this.flags={[n.EnableContribution]:!r&&!this.isHost(["ios.recipesage.com","android.recipesage.com"]),[n.EnableInstallInstructions]:!this.isHost(["windows.recipesage.com","ios.recipesage.com","android.recipesage.com"]),[n.EnableDiscover]:!r,[n.EnableServerSettings]:s,[n.EnableBetaServerPreset]:!r&&!this.isHost("beta.recipesage.com")}}isHost(o){return typeof o=="object"?o.includes(window.location.hostname):window.location.hostname===o}};t.\u0275fac=function(a){return new(a||t)},t.\u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();export{n as a,m as b};
