import{Ia as m}from"./chunk-V6BPA3D7.js";var p=function(e){return e.VOUCHER="VOUCHER",e.LOCKER="LOCKER",e.PORT_IN_OFI_NOT_LOGGED="PORT_IN_OFI_NOT_LOGGED",e}(p||{});var i="https://cloudapi.orange.ro",r=`${i}/eshop-reshape`,s="https://www.orange.ro",l=`${r}/bff/v1`,b=`${r}/cart/v1`,o=`${r}/cart-v2`,g=`${r}/bff/v2/search/products`,n=`${l}/users/me`,U="https://api.orange.ro",S=`${r}/product-service`,A=`${r}/search`,h=`${r}/user-orders-management`,c=`${s}/webshopportlets`,y=`${i}/eshop-reshape/stock-notification-service`,t={addressInfo:`${l}/addresses`,apiGateway:r,ariadNextSendSms:`${o}/sendSms`,ariadNextUrl:`${o}/ariadnext`,authUrl:`${r}/login`,b2bShopPath:"/business/magazin",b2cOrderService:`${o}/order`,b2cPaymentService:`${o}/payment`,b2cProfilesUrl:`${n}/profiles`,b2cLightProfilesUrl:`${n}/profiles/light`,b2cShopPath:"/magazin-online",backInStockNotificationExists:`${y}/api/v1/subscriptions/exists`,backInStockNotificationUrl:`${c}/api/stock/notification`,backInStockSubscribeNotificationUrl:`${r}/stock-notification-service/api/v1/subscriptions/subscribe`,campaigns:`${i}/eshop-reshape/campaign-management/api/v1/campaigns/active`,cartApiUrl:b,cartSavePaymentAndAddress:"cartSavePaymentAndAddress",cartV2ApiUrl:`${o}`,cartV2PaymentCommitment:`${o}/paymentCommitment`,categoryApiUrl:g,channel:"B2C",christmasOffersUrl:`${U}/christmas-2017/v1/offers`,clmContractStatus:`${h}/fraud-state-contracts`,cloudGoogleUrl:"https://storage.googleapis.com/orangero-assets/orange-eshop",comparatorApiUrl:`${l}/products/comparator`,comparatorAutocompleteUrl:`${g}/productCode/autocomplete`,convergentBonusService:`${r}/bff/convergence`,createUser:"https://www.orange.ro/accounts/create-user",deliveryMethodListUrl:"deliveryMethodListUrl",enableStoreDevtoolsModule:!0,favoriteProducts:`${i}/eshop-reshape/favorite-products/graphql`,featureFlags:["WebShopInParallel",p.LOCKER],identityUrl:n,impersonationByAccountUrl:`${r}/impersonation`,impersonationByOcnOrCuiUrl:`${r}/impersonation/ocnCui`,impersonationUsersUrl:`${r}/impersonation/macc/users`,logoutUrl:`${r}/logout`,mapApiKey:"AIzaSyBCN0saQHC3VISqzuCnS-jfFcJuFhXeam8",mbsActiveDotDiscounts:`${i}/eshop-reshape/campaign-management/api/v1/dot-discounts/active`,oneyQuotesUrl:`${o}/oney`,orderApiUrl:"orderApiUrl",paymentMethodListUrl:"paymentMethodListUrl",pendingOrdersUrl:`${n}/pendingOrders`,productBulinas:`${c}/api/offers/product-bulinas`,productDetailsUrl:`${l}/products`,productPricesUrl:`${c}/api/new/productPrices`,productRecommendationUrl:`${s}/magazin-online/api/productRecommendation`,productTopUrl:`${c}/api/new/productTop`,productV2ApiUrl:`${S}`,production:!0,sessionCheckInterval:20*60*1e3,similarProductsUrl:`${A}/recommendations/similar`,ssoGetInfo:"https://sso.orange.ro/wp/oro/getinfo",staticBaseUrl:"https://static.orangeromania.ro/webshop-images",temperatureUrl:`${s}/magazin-online/api/hotsummer/temperature`,twentyYearsOfferApi:`${s}/oferte-speciale/oferte.json`,userAddressInfo:`${r}/online-addresses/v1`,userAddresses:`${r}/online-addresses/v1/users/me/addresses`,insuranceCategoryApi:`${r}/bff/insurance/category/offerings`,userOrderManagement:`${h}`,webShopAuthUrl:`${U}/eshop/login`,webShopUrl:s,featureFlagAllowedSsoIds:[25354677,86942661,86942603,86942762,86942792,86943959,86944433,24347070,2776023,87495603,18008762,37360615,37360600,14594289,90840847],batch:{apiKey:"BD5FD370EFA0469F8A643D57ECE93669",subdomain:"orange",authKey:"2.pSqHfkqv5Kthzi9eC74KtLP0W35+NJw60ziwHt0BKgw=",dev:!1,vapidPublicKey:"BGJya2UcCoUboKnzIcfQocEXG+siK3oJ3SL1S1HdFJeFObzeHRbWmG+AzrabY+nwPFN9qSE7EMfMVpMs2JtfkcI="}};var v=document.location.href.indexOf("localhost")>-1,k=(()=>{class e{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 a=e.getB2cShopPath();return window.location.origin+a}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(a){return`${e.getOrderManagementApiUrl()}/orders/${a}/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 getInsuranceCategoryApi(){return t.insuranceCategoryApi}static getUserOrderManagementUrl(){return t.userOrderManagement||"userOrderManagement"}static getWebShopUrl(){return t.webShopUrl||e.getCurrentShopHost()}static getXsrfOptions(){return t.xsrfOptions}static hasFeatureFlag(a){return!!t.featureFlags?.includes(a)}static isLocalHost(){return v}static isProduction(){return t.production}static notFoundPageUrl(){return"/eroare404.html"}static getStaticBaseUrl(){return t.staticBaseUrl}static replaceLinkDomainWithCurrentDomain(a){return a&&a.split("/").filter((f,u)=>u===2)[0]==="www-dev.orange.ro"?`${this.getWebShopUrl()}/${a.split("/").filter((f,u)=>u>2).join("/")}`:a}static getBatch(){return{apiKey:t.batch.apiKey,authKey:t.batch.authKey,vapidPublicKey:t.batch.vapidPublicKey,subdomain:t.batch.subdomain,dev:t.batch.dev}}static{this.\u0275fac=function(d){return new(d||e)}}static{this.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{p as a,t as b,k as c};