import{La as U}from"./chunk-WNE7PXNE.js";var d=function(a){return a.VOUCHER="VOUCHER",a.LOCKER="LOCKER",a.PORT_IN_OFI_NOT_LOGGED="PORT_IN_OFI_NOT_LOGGED",a}(d||{});var n="https://cloudapi.orange.ro",r=`${n}/eshop-reshape`,i="https://www.orange.ro",u=`${r}/bff/v1`,b=`${r}/cart/v1`,s=`${r}/cart-v2`,g=`${r}/bff/v2/search/products`,c=`${u}/users/me`,h="https://api.orange.ro",A=`${r}/product-service`,v=`${r}/search`,f=`${r}/user-orders-management`,l=`${i}/webshopportlets`,$=`${n}/eshop-reshape/stock-notification-service`,t={addressInfo:`${u}/addresses`,apiGateway:r,ariadNextSendSms:`${s}/sendSms`,ariadNextUrl:`${s}/ariadnext`,authUrl:`${r}/login`,b2bShopPath:"/business/magazin",b2cOrderService:`${s}/order`,b2cPaymentService:`${s}/payment`,b2cProfilesUrl:`${c}/profiles`,b2cLightProfilesUrl:`${c}/profiles/light`,b2cShopPath:"/magazin-online",backInStockNotificationExists:`${$}/api/v1/subscriptions/exists`,backInStockNotificationUrl:`${l}/api/stock/notification`,backInStockSubscribeNotificationUrl:`${r}/stock-notification-service/api/v1/subscriptions/subscribe`,campaigns:`${n}/eshop-reshape/campaign-management/api/v1/campaigns/active`,cartApiUrl:b,cartSavePaymentAndAddress:"cartSavePaymentAndAddress",cartV2ApiUrl:`${s}`,cartV2PaymentCommitment:`${s}/paymentCommitment`,categoryApiUrl:g,channel:"B2C",christmasOffersUrl:`${h}/christmas-2017/v1/offers`,clmContractStatus:`${f}/fraud-state-contracts`,cloudGoogleUrl:"https://storage.googleapis.com/orangero-assets/orange-eshop",comparatorApiUrl:`${u}/products/comparator`,comparatorAutocompleteUrl:`${g}/productCode/autocomplete`,convergentBonusService:`${r}/bff/convergence`,createUser:"https://www.orange.ro/accounts/create-user",deliveryMethodListUrl:"deliveryMethodListUrl",enableStoreDevtoolsModule:!0,favoriteProducts:`${n}/eshop-reshape/favorite-products/graphql`,featureFlags:["WebShopInParallel",d.LOCKER],identityUrl:c,impersonationByAccountUrl:`${r}/impersonation`,impersonationByOcnOrCuiUrl:`${r}/impersonation/ocnCui`,impersonationUsersUrl:`${r}/impersonation/macc/users`,logoutUrl:`${r}/logout`,mapApiKey:"AIzaSyBCN0saQHC3VISqzuCnS-jfFcJuFhXeam8",mbsActiveDotDiscounts:`${n}/eshop-reshape/campaign-management/api/v1/dot-discounts/active`,oneyQuotesUrl:`${s}/oney`,orderApiUrl:"orderApiUrl",paymentMethodListUrl:"paymentMethodListUrl",pendingOrdersUrl:`${c}/pendingOrders`,productBulinas:`${l}/api/offers/product-bulinas`,productDetailsUrl:`${u}/products`,productPricesUrl:`${l}/api/new/productPrices`,productRecommendationUrl:`${i}/magazin-online/api/productRecommendation`,productTopUrl:`${l}/api/new/productTop`,productV2ApiUrl:`${A}`,production:!0,sessionCheckInterval:20*60*1e3,similarProductsUrl:`${v}/recommendations/similar`,ssoGetInfo:"https://sso.orange.ro/wp/oro/getinfo",staticBaseUrl:"https://static.orangeromania.ro/webshop-images",temperatureUrl:`${i}/magazin-online/api/hotsummer/temperature`,twentyYearsOfferApi:`${i}/oferte-speciale/oferte.json`,userAddressInfo:`${r}/online-addresses/v1`,userAddresses:`${r}/online-addresses/v1/users/me/addresses`,userOrderManagement:`${f}`,webShopAuthUrl:`${h}/eshop/login`,webShopUrl:i,featureFlagAllowedSsoIds:[25354677,86942661,86942603,86942762,86942792,86943959,86944433,24347070,2776023,87495603,18008762,37360615,37360600,14594289,90840847]};var P=document.location.href.indexOf("localhost")>-1,w=(()=>{let o=class o{static backInStockNotificationExists(){return t.backInStockNotificationExists||"backInStockNotificationExists"}static backInStockNotificationUrl(){return t.backInStockNotificationUrl||"backInStockNotificationUrl"}static backInStockSubscribeUrl(){return t.backInStockSubscribeNotificationUrl||"backInStockSubscribeNotificationUrl"}static enableStoreDevtoolsModule(){return t.enableStoreDevtoolsModule}static getAddressInfoUrl(){return t.addressInfo}static getApiGatewayUrl(){return t.apiGateway}static getAriadNextSendSmsUrl(){return t.ariadNextSendSms||"ariadNextSendSms"}static getAriadNextUrl(){return t.ariadNextUrl||"ariadNextUrl"}static getAuthUrl(){return t.authUrl}static getB2bShopPath(){return t.b2bShopPath}static getB2cOrderApiUrl(){return t.b2cOrderService||"b2cOrderService"}static getB2cPaymentApiUrl(){return t.b2cPaymentService||"b2cPaymentService"}static getB2cProfilesUrl(){return t.b2cProfilesUrl}static getB2cLightProfilesUrl(){return t.b2cLightProfilesUrl}static getB2cShopPath(){return t.b2cShopPath}static getCampaignsUrl(){return t.campaigns}static getCartApiUrl(){return t.cartApiUrl}static getCartSavePaymentAndAddressUrl(){return t.cartSavePaymentAndAddress}static getCartV2ApiUrl(){return t.cartV2ApiUrl}static getCartV2ConvergenceBonusUrl(){return t.convergentBonusService||"convergentBonusService"}static getCartV2PaymentCommitmentUrl(){return t.cartV2PaymentCommitment||"cartV2PaymentCommitment"}static getCategoryApiUrl(){return t.categoryApiUrl}static getChannel(){return t.channel}static getcChristmasOffersUrl(){return t.christmasOffersUrl}static getCLMContractStatusUrl(){return t.clmContractStatus||"clmContractStatus"}static getCloudGoogleUrl(){return t.cloudGoogleUrl||"cloudGoogleUrl"}static getComparatorApiUrl(){return t.comparatorApiUrl}static getComparatorAutocompleteUrl(){return t.comparatorAutocompleteUrl}static getConsentUrl(){return t.consentUrl||"consent"}static getCreateUserUrl(){return t.createUser}static getCurrentShopBaseUrl(){let e=o.getB2cShopPath();return window.location.origin+e}static getCurrentShopHost(){return location.origin}static getDeliveryMethodsListUrl(){return t.deliveryMethodListUrl}static getEnvironment(){return t}static getFavoriteProductsUrl(){return t.favoriteProducts}static getFeatureFlagAllowedSsoIds(){return t.featureFlagAllowedSsoIds}static getHomeBreadCrumbLink(){return t.homeBreadCrumbLink||"/"}static getIdentityUrl(){return t.identityUrl}static getImpersonationUrl(){return t.impersonationByAccountUrl}static getImpersonationUsersUrl(){return t.impersonationUsersUrl}static getLicenseApiUrl(){return t.licenseApiUrl||"licenseApiUrl"}static getLogoutUrl(){return t.logoutUrl}static getMapApiKey(){return t.mapApiKey}static getMbsActiveDotDiscounts(){return t.mbsActiveDotDiscounts}static getOldWebShopAuthUrl(){return t.webShopAuthUrl||t.authUrl}static getOneyQuotesUrl(){return t.oneyQuotesUrl}static getOrderManagementApiUrl(){return t.orderApiUrl}static getPaymentMethodListUrl(){return t.paymentMethodListUrl}static getPendingOrdersUrl(){return t.pendingOrdersUrl}static getProductBulinas(){return t.productBulinas}static getProductDetailsUrl(){return t.productDetailsUrl}static getProductPricesUrl(){return t.productPricesUrl}static getProductRecommendationUrl(){return t.productRecommendationUrl}static getProductTopUrl(){return t.productTopUrl}static getProductV2ApiUrl(){return t.productV2ApiUrl}static getRomCardPaymentUrl(){return"https://plati.orange.ro/tds/api/v1/pay"}static getRomCardV2PaymentUrl(e){return`${o.getOrderManagementApiUrl()}/orders/${e}/paymentv2`}static getSessionCheckInterval(){return t.sessionCheckInterval}static getSimilarProductsUrl(){return t.similarProductsUrl}static getTemperatureUrl(){return t.temperatureUrl}static getTwentyYearsOfferApi(){return t.twentyYearsOfferApi}static getUserAddressInfo(){return t.userAddressInfo}static getUserAddressesUrl(){return t.userAddresses}static getUserOrderManagementUrl(){return t.userOrderManagement||"userOrderManagement"}static getWebShopUrl(){return t.webShopUrl||o.getCurrentShopHost()}static getXsrfOptions(){return t.xsrfOptions}static hasFeatureFlag(e){return!!t.featureFlags?.includes(e)}static isLocalHost(){return P}static isProduction(){return t.production}static notFoundPageUrl(){return"/eroare404.html"}static getStaticBaseUrl(){return t.staticBaseUrl}static replaceLinkDomainWithCurrentDomain(e){return e&&e.split("/").filter((S,p)=>p===2)[0]==="www-dev.orange.ro"?`${this.getWebShopUrl()}/${e.split("/").filter((S,p)=>p>2).join("/")}`:e}};o.\u0275fac=function(m){return new(m||o)},o.\u0275prov=U({token:o,factory:o.\u0275fac,providedIn:"root"});let a=o;return a})();export{d as a,w as b};