// This allows to expose several variables to the global scope, to be used in scripts window.checkboxText = "Marque esta casilla si desea continuar", window.checkToolTipText ="I have read and accept the\n\u003ca class=\"cart-checkbox condition-checkbox\" href=\"\/pages\/terminos-de-uso\" target=\"_blank\"\u003econditions\u003c\/a\u003e and the \u003ca class=\"cart-checkbox condition-checkbox\" href=\"\/pages\/politica-de-privacidad\" target=\"_blank\"\u003eprivacy policy\u003c\/a\u003e" window.theme = { pageType: "collection", moneyFormat: "{{amount_with_comma_separator}} €", moneyWithCurrencyFormat: "{{amount_with_comma_separator}} €", productImageSize: "natural", searchMode: "product", showPageTransition: false, showElementStaggering: false, showImageZooming: false }; window.routes = { shopSecureUrl: "https:\/\/eu.satorisan.com\/es", rootUrl: "\/", rootUrlWithoutSlash: '', cartUrl: "\/cart", cartAddUrl: "\/cart\/add", cartChangeUrl: "\/cart\/change", searchUrl: "\/search", productRecommendationsUrl: "\/recommendations\/products" }; window.languages = { cartAddNote: "Add Order Note", cartEditNote: "Edit Order Note", productFormselectSizeText : "Choose your Size", productFormsLowStock : "Last units", productImageLoadingError: "This image could not be loaded. Please try to reload the page.", productFormAddToCart: "Add to cart", productFormUnavailable: "Unavailable", productFormSoldOut: "Out of stock", productFormPreorder: "Pre-order", collectionGeneralQuickAdd: "Quick Add", collectionGeneralChooseYourSize: "Choose your size", shippingEstimatorOneResult: "1 option available:", shippingEstimatorMoreResults: "{{count}} options available:", shippingEstimatorNoResults: "No shipping could be found", "LABEL_nuevo": "New", "LABEL_topsales": "Best Selling", "LABEL_discount": "Discount", previous: "Previous", next: "Next", regions: { es: "Spain and Portugal", eu: "Europe", row: "Europe" }, selectSize: "Choose your Size" }; window.lazySizesConfig = { loadHidden: false, hFac: 0.5, expFactor: 2, lazyClass: 'Image--lazyLoad', loadingClass: 'Image--lazyLoading', loadedClass: 'Image--lazyLoaded' }; document.documentElement.className = document.documentElement.className.replace('no-js', 'js'); document.documentElement.style.setProperty('--window-height', window.innerHeight + 'px'); // We do a quick detection of some features (we could use Modernizr but for so little...) (function() { document.documentElement.className += ((window.CSS && window.CSS.supports('(position: sticky) or (position: -webkit-sticky)')) ? ' supports-sticky' : ' no-supports-sticky'); document.documentElement.className += (window.matchMedia('(-moz-touch-enabled: 1), (hover: none)')).matches ? ' no-supports-hover' : ' supports-hover'; }());