{"version":3,"file":"constant.hSoYiFkb.js","sources":["../../../../../../src/lib/config/constant.ts"],"sourcesContent":["// internal dependencies\nimport {\n\tPUBLIC_BUILDER_API_KEY_SECOM,\n\tPUBLIC_BUILDER_API_KEY_INSIGHTS,\n\tPUBLIC_SEO_COUNTRIES,\n\tPUBLIC_CAPTCHA_KEY,\n\tPUBLIC_SE_PRODUCTS_WIDGETS_ACCESS_TOKEN,\n} from '$env/static/public';\nimport { builder_spaces } from '@se/common/src/utils/builder_space';\nimport { getCurrentEnvironmentMode } from '@se/common/src/utils/getCurrentEnvironmentMode';\n\nexport const CAPTCHA_KEY = PUBLIC_CAPTCHA_KEY;\n\n// page name\nexport const MAIN_PAGE = 'main';\n\n// api key\nexport const BUILDER_API_KEY_SECOM = PUBLIC_BUILDER_API_KEY_SECOM;\nexport const BUILDER_API_KEY_INSIGHTS = PUBLIC_BUILDER_API_KEY_INSIGHTS;\n\nexport const PAGE_TITLE_STATIC_PART = 'Schneider Electric';\n// countries list for alternate urls in head section\nexport const SEO_COUNTRIES = PUBLIC_SEO_COUNTRIES || [];\n\n// API endpoints\nexport const CAPTCHA_VERIFY_URL = 'https://www.google.com/recaptcha/api/siteverify';\nexport const MARKETO_LEAD_API = '/v1/reference-data/vendor-api/marketo-lead/leads/submitform';\nexport const PRODUCT_SITEMAP_URL = 'https://www.se.com/{country}/{language}/product-sdlsitemap';\nexport const PRODUCT_SITMAP_LEVELS = [2, 3, 4];\n// Product in-memory cache expiration in minutes\nexport const PRODUCT_CACHE_EXPIRATION = 60;\n\n// URL for the API that retrieves the footer component HTML\nexport const FOOTER_API =\n\t'https://www.se.com/assets-sdl/v2/uiaas/components/se/[locale]/footer/footer.html';\n\n// URL for the API that retrieves the header component HTML\nexport const HEADER_API =\n\t'https://www.se.com/assets-sdl/v2/uiaas/components/se/[locale]/header/header.html';\n\n// list of supported locales\nexport const SUPPORTED_LOCALES = ['de-de', 'ca-en', 'ca-fr'];\nexport const DEFAULT_LOCALE = 'de-DE';\nexport const DEFAULT_LANG = 'DE';\n\nexport const AWL_LAMBDAS_URL = {\n\tdevelop: 'https://j7bw4escvj.execute-api.us-east-1.amazonaws.com',\n\tsandbox: 'https://llgxk4uvm1.execute-api.us-east-1.amazonaws.com',\n\tpreprod: 'https://juk6gzenyd.execute-api.us-east-1.amazonaws.com',\n\ttraining: 'https://vbz22xngt8.execute-api.us-east-1.amazonaws.com',\n\tprod: 'https://www.se.com/_server/beffe',\n};\n\nexport const PROD_DOMAIN = 'https://www.se.com';\n\nexport const DYNATRACE_SCRIPT = {\n\tpreprod: `\tvar head = document.getElementsByTagName('head')[0];\n\t\t\t\t\t\tvar js = document.createElement('script');\n\t\t\t\t\t\tjs.type = 'text/javascript';\n\t\t\t\t\t\tjs.src =\n\t\t\t\t\t\t\t'https://js-cdn.dynatrace.com/jstag/147f84b2bdc/bf45848ori/b2c226f3bfd538de_complete.js';\n\t\t\t\t\t\tjs.async = true;\n\t\t\t\t\t\thead.appendChild(js);`,\n\tprod: `\tvar head = document.getElementsByTagName('head')[0];\n\t\t\t\t\t\tvar js = document.createElement('script');\n\t\t\t\t\t\tjs.type = 'text/javascript';\n\t\t\t\t\t\tjs.src =\n\t\t\t\t\t\t\t'https://js-cdn.dynatrace.com/jstag/147f84b2bdc/bf45848ori/e95358b2e5adb917_complete.js';\n\t\t\t\t\t\tjs.async = true;\n\t\t\t\t\t\thead.appendChild(js);`,\n};\n\nexport const PRODUCT_SELECTOR_TOKEN = PUBLIC_SE_PRODUCTS_WIDGETS_ACCESS_TOKEN;\n\nexport const PES_IDS_EXCLUDED_FROM_RANGE_PAGES_ROUTE = ['23643079'];\n"],"names":["CAPTCHA_KEY","PUBLIC_CAPTCHA_KEY","PAGE_TITLE_STATIC_PART","SEO_COUNTRIES","PUBLIC_SEO_COUNTRIES","FOOTER_API","HEADER_API","PROD_DOMAIN","PRODUCT_SELECTOR_TOKEN","PUBLIC_SE_PRODUCTS_WIDGETS_ACCESS_TOKEN","PES_IDS_EXCLUDED_FROM_RANGE_PAGES_ROUTE"],"mappings":"qFAWO,MAAMA,EAAcC,EASdC,EAAyB,qBAEzBC,EAAgBC,EAWhBC,EACZ,mFAGYC,EACZ,mFAeYC,EAAc,qBAmBdC,EAAyBC,EAEzBC,EAA0C,CAAC,UAAU"}