Facebook Pixel

Chantier

Chantier
Novap">kits de balisage ou des dérouleurs de sangle adaptables sur les cônes de chantier, notre gamme propose des solutions pour matérialiser rapidement les lieux d’intervention de manière permanente ou temporelle.

En ce sens, l’offre présentée dans l’Univers Chantier se décline selon 3 thèmes principaux qui sont :

  • Balise de signalisation modulable Rouge/Blanche - Novap
    1090019
    Prix unitaire : 113,57 € TTC (dont Ecotax : 94,64 € HT) 94,64 € HT (dont Ecotax : 94,64 € HT)
    Voir le produit
  • Kit de 2 balises modulables Rouge/Blanche - Novap
    1090132
    Prix unitaire : 212,75 € TTC (dont Ecotax : 177,29 € HT) 177,29 € HT (dont Ecotax : 177,29 € HT)
    Voir le produit
  • Balise de signalisation modulable Jaune/Noire - Novap
    1090026
    Prix unitaire : 113,57 € TTC (dont Ecotax : 94,64 € HT) 94,64 € HT (dont Ecotax : 94,64 € HT)
    Voir le produit
  • Kit de 2 balises modulables Jaune/Noire - Novap
    1090149
    Prix unitaire : 212,75 € TTC (dont Ecotax : 177,29 € HT) 177,29 € HT (dont Ecotax : 177,29 € HT)
    Voir le produit
  • Balise de signalisation modulable Verte/Blanche - Novap
    1090033
    Prix unitaire : 113,57 € TTC (dont Ecotax : 94,64 € HT) 94,64 € HT (dont Ecotax : 94,64 € HT)
    Voir le produit
  • Balise de signalisation modulable Orange fluo/Blanche - Novap
    1090002
    Prix unitaire : 113,57 € TTC (dont Ecotax : 94,64 € HT) 94,64 € HT (dont Ecotax : 94,64 € HT)
    Voir le produit
  • Balise de signalisation modulable Bleue/Blanche - Novap
    1090040
    Prix unitaire : 113,57 € TTC (dont Ecotax : 94,64 € HT) 94,64 € HT (dont Ecotax : 94,64 € HT)
    Voir le produit
  • Ruban haute résistance 50mmx100m Rouge/Jaune - Novap
    3029116
    Prix unitaire : 4,22 € TTC (dont Ecotax : 3,52 € HT) 3,52 € HT (dont Ecotax : 3,52 € HT)
    Voir le produit
  • Ruban haute résistance 50mmx200m Rouge/Jaune - Novap
    3039115
    Prix unitaire : 9,28 € TTC (dont Ecotax : 7,73 € HT) 7,73 € HT (dont Ecotax : 7,73 € HT)
    Voir le produit
    • Exclusivité web
    • -27%
    Ruban haute résistance 50mmx100m Rouge/Blanc - Novap
    3055016
    Prix unitaire : 3,10 € TTC (dont Ecotax : 2,58 € HT) 2,58 € HT (dont Ecotax : 2,58 € HT) 3,52 € HT 4,22 € TTC
    Voir le produit
  • Ruban haute résistance 50mmx200m Rouge/Blanc - Novap
    3065015
    Prix unitaire : 9,28 € TTC (dont Ecotax : 7,73 € HT) 7,73 € HT (dont Ecotax : 7,73 € HT)
    Voir le produit
  • Ruban haute résistance 65mmx100m Rouge/Blanc - Novap
    3075014
    Prix unitaire : 7,18 € TTC (dont Ecotax : 5,98 € HT) 5,98 € HT (dont Ecotax : 5,98 € HT)
    Voir le produit
  • Ruban haute résistance 65mmx200m Rouge/Blanc - Novap
    3085013
    Prix unitaire : 12,84 € TTC (dont Ecotax : 10,70 € HT) 10,70 € HT (dont Ecotax : 10,70 € HT)
    Voir le produit
    • Promotion
    Cône 30cm - Novap
    3195316
    Prix unitaire : 12,00 € TTC (dont Ecotax : 10,00 € HT) 10,00 € HT (dont Ecotax : 10,00 € HT)
    Voir le produit
    • Promotion
    Cône PVC 50cm - Novap
    3205312
    Prix unitaire : 29,76 € TTC (dont Ecotax : 24,80 € HT) 24,80 € HT (dont Ecotax : 24,80 € HT)
    Voir le produit
    • Promotion
    Cône de chantier PVC 50cm rétroréfléchissant classe 2 - 3219111
    3219111
    Prix unitaire : 79,94 € TTC (dont Ecotax : 66,62 € HT) 66,62 € HT (dont Ecotax : 66,62 € HT)
    Voir le produit
    • Promotion
    Cône PVC 75cm - Novap
    3205008
    Prix unitaire : 79,74 € TTC (dont Ecotax : 66,45 € HT) 66,45 € HT (dont Ecotax : 66,45 € HT)
    Voir le produit
    • Promotion
    Cône de chantier PVC 50cm rétroréfléchissant classe 1 - Novap
    3205022
    Prix unitaire : 36,22 € TTC (dont Ecotax : 30,18 € HT) 30,18 € HT (dont Ecotax : 30,18 € HT)
    Voir le produit
  • Panneau Attention site sous vidéoprotection avec pictogramme - Rigide 330x120mm - Novap
    4140858
    Prix unitaire : 9,91 € TTC (dont Ecotax : 8,26 € HT) 8,26 € HT (dont Ecotax : 8,26 € HT)
    Voir le produit
  • Panneau Vidéoprotection 24h/24h avec pictogramme - Rigide 330x120mm - Novap
    4140889
    Prix unitaire : 9,91 € TTC (dont Ecotax : 8,26 € HT) 8,26 € HT (dont Ecotax : 8,26 € HT)
    Voir le produit
  • Panneau Site sous vidéoprotection avec pictogramme - Rigide 330x120mm - Novap
    4140896
    Prix unitaire : 9,91 € TTC (dont Ecotax : 8,26 € HT) 8,26 € HT (dont Ecotax : 8,26 € HT)
    Voir le produit
  • Panneau Interdiction de fumer - Rigide 148x210mm - 4600000
    4600000
    Prix unitaire : 8,63 € TTC (dont Ecotax : 7,19 € HT) 7,19 € HT (dont Ecotax : 7,19 € HT)
    Voir le produit
  • Panneau Emplacement fumeurs - Rigide 148x210mm - 4600017
    4600017
    Prix unitaire : 8,63 € TTC (dont Ecotax : 7,19 € HT) 7,19 € HT (dont Ecotax : 7,19 € HT)
    Voir le produit
  • Panneau Interdiction de fumer - Rigide A4 - 4600024
    4600024
    Prix unitaire : 12,13 € TTC (dont Ecotax : 10,11 € HT) 10,11 € HT (dont Ecotax : 10,11 € HT)
    Voir le produit

Ces opérations contribuent à éliminer les fautes d’inattention qui peuvent porter de graves préjudices aux salariés car les ouvriers et encadrants restent vulnérables face à leur environnement de travail.

En effet, d’une manière générale, les accidents surviennent lors des manutentions manuelles, plus fréquemment de plain-pied ou par chute en hauteur.
Ainsi, l’installation de chantier et sa préparation sont des moyens pratiques pour prévenir les risques d’accidents. Ils permettent d’identifier les axes de circulation des engins et des piétons, les zones à risque de chute et de définir les phases pour éviter que les individus n’interviennent en surnombre au même endroit.
Néanmoins, pour faciliter la sécurisation des intervenants sur chantier et limiter les accès aux acteurs externes, la délimitation et la signalétique des zones de travail sont deux leviers à privilégier.
Complétée par des 0) { document.querySelectorAll(this.classes.backToTopButton)[0].remove(); return; } this.disabled = 0; this.type = this.options['actionMode']; this.pagesBeforeButton = this.options['pages_before_button']; this.currentPage = this._getCurrentPage(); this.pagesLoaded.push(this.currentPage); if (this.type === 'button') { this._generateButton('before'); this._generateButton('after'); } this._preloadPages(); this._hideToolbars(); this._initBackToTop(); this.initPageStepForwardListener(this.currentPage); this._pagePositionAfterStepBack(); }, _validate() { switch (true) { case !this.options['product_container'] || document.querySelectorAll(this.options['product_container']).length === 0 : console.warn('Please specify "Products Group" DOM selector in module settings.'); return false; case !this.options['product_link'] || document.querySelectorAll(this.options['product_link']).length === 0 : console.warn('Please specify "Product Link" DOM selector in module settings.'); return false; case !this.options['footerSelector'] || document.querySelectorAll(this.options['footerSelector']).length === 0 : console.warn('Please specify "Footer Selector" DOM selector in module settings.'); return false; case this.pagesCount <= 1 : return false; } return true; }, _externalAfterAjax() { this.insertedPages++; try { if (document.getElementsByTagName('head')[0].innerHTML.indexOf('Infortis') > -1) { document.dispatchEvent('last-swatch-found'); } if (this.insertedPages >= this.pagesBeforeButton) { switch (true) { case this.type === 'auto' && this.options['origActionMode'] === 'combined': this.changeType('button'); break; case this.type === 'button' && this.options['origActionMode'] === 'combined_button_auto': this.changeType('auto'); break; } } } catch (e) { console.warn(e); } }, beforeInsertProductBlock(productBlock) { const formKey = hyva.getFormKey(); productBlock.querySelector('[name="form_key"]').value = formKey; }, doAjax(requestUrl, successCallback) { fetch(requestUrl, { method: "GET", headers: { "X-Requested-With": "XMLHttpRequest", }, }) .then(response => { if (response.ok) { return response.json(); } else { console.warn("GET request failed", response); this._stop(); } }) .then(data => { if (data) { this.preprocessRawAjaxResponse(successCallback, data); } }); }, preprocessRawAjaxResponse(successCallback, response) { if (typeof response === 'string' || response instanceof String) { try { response = JSON.parse(response) } catch (e) { return this.handleUnexpectedResponse(response); } } if (response !== null && response.hasOwnProperty('categoryProducts') && response.hasOwnProperty('currentPage') && response.categoryProducts.trim().length !== 0 ) { successCallback.call(this, response); } else { this.handleUnexpectedResponse(response); } }, handleUnexpectedResponse(response) { console.warn('Amasty_Scroll: invalid response from server.', {response: response}); this._stop(); }, _initPagesCount() { const amPager = document.querySelector(this.amPageCountSelector); let parent; let childs; let limit; let allProducts; let result; this.pagesLoaded = []; if (amPager && amPager.length) { this.pagesCount = parseInt(amPager.innerHTML); return; } parent = document.querySelectorAll(this.totalAmountSelector)[0]; if (parent) { childs = parent.querySelectorAll(this.totalNumberSelector); if (parent && childs.length >= 3) { limit = document.querySelector('.limiter-options').value; if (childs[2].textContent > 0 && limit) { allProducts = childs[2].textContent; result = Math.ceil(parseInt(allProducts) / parseInt(limit)); if (result > 1) { this.pagesCount = result; return; } } } } this.pagesCount = 1; }, changeType(type) { if (this.isReinitialized) { return; } switch (type) { case 'button': this.type = 'button'; this._generateButton('before'); this._generateButton('after'); break; case 'auto': this.type = 'auto'; break; } this.isReinitialized = true; }, _preloadPages() { const productContainer = document.querySelector(this.options['product_container']); let pageNumEl; productContainer.setAttribute('amscroll-page', this.currentPage); productContainer.classList.add('amscroll-page'); if (this.options['pageNumbers'] === '1') { pageNumEl = this._generatePageTitle(this.currentPage); if (pageNumEl) { productContainer.before(pageNumEl); } } this._preloadPageAfter(this.currentPage); this._preloadPageBefore(this.currentPage); }, _getCurrentPage() { const currentPage = parseInt(this.options['current_page']); if (currentPage > this.pagesCount) { currentPage = this.pagesCount; } return currentPage; }, _preloadPageAfter(page) { const nextPage = page + 1; if (nextPage && nextPage <= this.pagesCount) { this.next_data_url = this._generateUrl(nextPage, 1); this.pagesLoaded.push(nextPage); this.flag_next_cache = 1; this.doAjax(this.next_data_url, (data) => { this.flag_next_cache = 0; this.next_data_cache = data; this.showButton(this.afterButton); }); this.next_data_url = ''; } }, _preloadPageBefore(page) { const prevPage = page - 1; if (prevPage && prevPage >= 1) { this.prev_data_url = this._generateUrl(prevPage, 1); this.pagesLoaded.unshift(prevPage); this.flag_prev_cache = 1; this.doAjax(this.prev_data_url, (data) => { this.flag_prev_cache = 0; this.prev_data_cache = data; this.showButton(this.beforeButton); }); this.prev_data_url = ''; } }, _stop() { this.disabled = 1; this._showToolbars(); document.querySelector(`.${this.classes.loadingBlock}`).style.display = 'none'; }, _getAdditionalBlockHeight() { if (this.additionalHeight === null) { let height = 0; const pageBottom = document.querySelectorAll('.page-bottom'); const blockAfterProducts = document.querySelectorAll('.main .products ~ .block-static-block'); if (blockAfterProducts.length) { height += blockAfterProducts.offsetHeight; } if (document.querySelectorAll(this.options.footerSelector).length) { document.querySelectorAll(this.options.footerSelector).forEach((footer) => { height += footer.offsetHeight; }); } if (pageBottom.length > 0) { height += pageBottom[0].offsetHeight; } this.additionalHeight = height; } return this.additionalHeight; }, _initPaginator() { if (this.disabled) { return; } let scroll_pos = window.scrollY; let diff = document.querySelector('body').offsetHeight - window.innerHeight; diff -= this._getAdditionalBlockHeight(); diff = 0.8 * diff; if (scroll_pos < this.lastScrollPos) { this.isScrolledBack = true; } this.lastScrollPos = scroll_pos; if (scroll_pos >= diff && this.is_loading === 0) { this._loadFollowing(); } if (scroll_pos <= this._getTopContainersHeight() && (this.is_loading === 0 && this._isScrolledBack())) { this._loadPrevious(); } this._calculateCurrentScrollPage(scroll_pos); document.addEventListener("DOMContentLoaded", (event) => { if (window.innerHeight > document.querySelector(this.options['product_container']).offsetHeight && '' !== this.next_data_url) { this._loadFollowing(); } }); }, _isScrolledBack() { return this.isScrolledBack; }, _calculateCurrentScrollPage(scroll_pos) { if (Math.abs(scroll_pos - this.last_scroll) > window.innerHeight * 0.1) { this.last_scroll = scroll_pos; this._updateUrlAndCurrentPage(); } }, _updateUrlAndCurrentPage() { const productContainers = document.querySelectorAll(this.options['product_container']); productContainers.forEach((container, index) => { if (this._mostlyVisible(container, index)) { var page = parseInt(container.getAttribute('amscroll-page')); if (page && page !== this.currentPage) { var newUrl = this._generateUrl(page, 0); if (!window.history.state || newUrl !== window.history.state.url) { window.history.replaceState({url: newUrl}, '', newUrl); } this.currentPage = page; } return false; } }); }, _loadFollowing() { if (this.flag_next_cache && this.type !== 'button') { this._createLoading('after'); } if (this.next_data_url !== "" || this.next_data_cache) { if (this.type !== 'button') { this._createLoading('after'); } if (this.next_data_cache) { this.showFollowing(this.next_data_cache); } else { if (!this.flag_next_cache) { this.is_loading = 1; this.doAjax(this.next_data_url, (data) => { this.showFollowing(data); }); } } } }, showFollowing(data) { if (data.categoryProducts) { if (this.type === 'button') { if (this.cahShowAfter) { this.is_loading = 0; this.cahShowAfter = false; } else { return; } } this.next_data_url = ''; this.next_data_cache = false; this._insertNewProductBlock(data, 'after'); this._afterShowFollowing(); } }, _afterShowFollowing() { const nextPage = this.pagesLoaded[this.pagesLoaded.length - 1] + 1; if (nextPage && nextPage <= this.pagesCount && this.pagesLoaded.indexOf(nextPage) === -1) { this.next_data_url = this._generateUrl(nextPage, 1); this.pagesLoaded.push(nextPage); this.flag_next_cache = 1; this.doAjax(this.next_data_url, (preview_data) => { this.flag_next_cache = 0; this.next_data_cache = preview_data; window.dispatchEvent(new Event('scroll')); this.showButton(this.afterButton); }); } this.is_loading = 0; }, _loadPrevious() { if (this.flag_prev_cache && this.type !== 'button') { this._createLoading('before'); } if (this.prev_data_url !== "" || this.prev_data_cache) { if (this.type !== 'button') { this._createLoading('before'); } if (this.prev_data_cache) { this.showPrevious(this.prev_data_cache); } else { if (!this.flag_prev_cache) { this.is_loading = 1; this.doAjax(this.prev_data_url, (data) => { this.showPrevious(data); }); } } } }, showPrevious(data) { if (data.categoryProducts) { if (this.type === 'button') { if (this.canShowBefore) { this.is_loading = 0; this.canShowBefore = false; } else { return; } } this.prev_data_cache = false; this.prev_data_url = ''; this._insertNewProductBlock(data, 'before'); this._afterShowPrevious(); } }, _afterShowPrevious() { const prevPage = this.pagesLoaded[0] - 1; if (prevPage && prevPage <= this.pagesCount && this.pagesLoaded.indexOf(prevPage) === -1) { this.prev_data_url = this._generateUrl(prevPage, 1); this.pagesLoaded.unshift(prevPage); this.flag_prev_cache = 1; this.doAjax(this.prev_data_url, (preview_data) => { this.flag_prev_cache = 0; this.prev_data_cache = preview_data; window.dispatchEvent(new Event('scroll')); this.showButton(this.beforeButton); }); } this.is_loading = 0; }, _createLoading(position) { let element; const elementSelector = `.${this.classes.loadingBlock}`; const pageNumberSelector = `.${this.classes.pageNumber}`; const productContainer = document.querySelectorAll(this.options['product_container']); const lastProductContainer = productContainer[productContainer.length - 1]; const amScrollPages = document.querySelectorAll('.amscroll-page'); const lastAmScrollPage = amScrollPages[amScrollPages.length - 1]; const lastSelector = this.getNext(lastAmScrollPage, document.querySelector(elementSelector)); let loadingElement = document.createElement('div'); loadingElement.setAttribute('class', this.classes.loadingBlock); loadingElement.append(this.loaderImage.cloneNode(true)); this.imgToSvg(loadingElement.querySelector(`.${this.classes.loadingIcon}`)); if ('after' === position && lastSelector.length === 0) { lastProductContainer.insertAdjacentHTML('afterend',loadingElement); } else if (Array.from(document.querySelectorAll(elementSelector)).filter(element => element === lastSelector).length !== 0) { element = document.querySelectorAll(`${pageNumberSelector}, ${productContainer}`)[0]; lastProductContainer.insertAdjacentHTML('beforebegin', loadingElement); } // document.querySelectorAll(elementSelector).getNext(elementSelector).remove(); }, _generateButton(position) { if (this.type !== 'button') { return; } if ((position === 'before' && this.pagesLoaded.indexOf(1) !== -1 && (document.querySelector(this.pageSelector.replace('%1', this.pageFirst)) || this.currentPage === this.pageFirst)) ) { return; } if (position === 'after' && this.pagesLoaded.indexOf(this.pagesCount) !== -1 && (document.querySelector(this.pageSelector.replace('%1', this.pagesCount)) || this.currentPage === this.pagesCount)) { return; } const buttonElement = this.loadButtonElement.cloneNode(true); const textElement = this.loadButtonTextElement.cloneNode(true); const color = this.options['buttonColor']; textElement.textContent = this.options[`loading${position}TextButton`]; buttonElement.prepend(this.loaderImage.cloneNode(true)); buttonElement.append(textElement); buttonElement.style.color = color; buttonElement.style.borderColor = color; buttonElement.setAttribute('amscroll_type', position); buttonElement.classList.add(`-${position}`); buttonElement.style.didplay = 'none'; this.imgToSvg(buttonElement.querySelector(`.${this.classes.loadingIcon}`)); if (position === 'after') { if (this.afterButton) { this.afterButton.remove(); } this.afterButton = buttonElement; this._insertBlockInTheEnd(buttonElement.outerHTML); } else { if (this.beforeButton) { this.beforeButton.remove(); } this.beforeButton = buttonElement; this._insertBlockInTheBegin(buttonElement.outerHTML); } this.$nextTick(() => { const buttons = document.querySelectorAll(`.${this.classes.loadButton}[amscroll_type="${position}"]`); buttons.forEach((button) => { button.addEventListener('click', (event) => { this.buttonClick(event); }); }); }); }, showButton(buttonElement) { if (buttonElement) { buttonElement.style.display = 'block'; } }, imgToSvg(image) { const imgId = image.getAttribute('id'); const imgClass = image.getAttribute('class'); const imgUrl = image.getAttribute('src'); const classList = [imgClass, this.classes.animate]; let svgElement; if (imgUrl.match(/.*\.svg$/)) { image.style.display = 'none'; fetch(imgUrl) .then(response => response.text()) .then(data => { const parser = new DOMParser(); const svgDocument = parser.parseFromString(data, 'text/xml'); const svgElement = svgDocument.documentElement; this.setSvgColor(svgElement); if (typeof imgId !== 'undefined') { svgElement.setAttribute('id', imgId); } if (typeof imgClass !== 'undefined') { svgElement.setAttribute('class', classList.join(' ')); } svgElement.removeAttribute('xmlns:a'); image.replaceWith(svgElement); }); } }, setSvgColor(element) { var svgPathElement = element.querySelector(`.${this.classes.svgPathToFill}`); if (svgPathElement) { svgPathElement.setAttribute('fill', this.options['buttonColorPressed']); } }, buttonClick(event) { const element = event.currentTarget; const type = element.getAttribute('amscroll_type'); element.classList.add(this.classes.loading); element.style.color = this.options['buttonColorPressed']; if (type === 'after') { this.cahShowAfter = true; this._loadFollowing(); } else { this.canShowBefore = true; this._loadPrevious(); } this.$nextTick(() => { this._updateUrlAndCurrentPage(); }); }, _insertNewProductBlock(data, position) { let htmlData = data.categoryProducts; let tmp = document.createElement('div'); tmp.innerHTML = htmlData; let html = tmp.querySelector('section'); this._removeToolbars(html); const productContainer = html.querySelector(this.options['product_container']); productContainer.classList.add('amscroll-pages'); productContainer.setAttribute('amscroll-page', data.currentPage); this.beforeInsertProductBlock(productContainer); if (this.options['pageNumbers'] == '1') { var pageNumEl = this._generatePageTitle(data.currentPage); if (pageNumEl) { productContainer.before(pageNumEl); } } if ('after' == position) { const loadButtons = document.querySelectorAll(`.${this.classes.loadButton}`); const loadingBlocks = document.querySelectorAll(`.${this.classes.loadingBlock}`); const lastLoadButton = loadButtons[loadButtons.length - 1]; const lastLoadingBlock = loadingBlocks[loadingBlocks.length - 1]; if (lastLoadButton !== undefined) lastLoadButton.remove(); if (lastLoadingBlock !== undefined) lastLoadingBlock.remove(); this._moveScriptToTop(html); this._insertBlockInTheEnd(html.innerHTML); } else { this._moveScriptToTop(html); const element = this._insertBlockInTheBegin(html.innerHTML); const itemHeight = element !== undefined ? element.offsetHeight : 0; if (this.type != 'button') { window.scrollTo(0, window.scrollTop + itemHeight); } } this.$nextTick(() => { const currentProductContainer = document.querySelector(`.amscroll-pages[amscroll-page="${data.currentPage}"]`); this._addObserverToProductLink(currentProductContainer); if (this.type == 'button') { this._generateButton(position); } }); this.initPageStepForwardListener(data.currentPage); }, _addObserverToProductLink(productContainer) { this._externalAfterAjax(); const links = productContainer.querySelectorAll('.item a'); links.forEach((link) => { link.addEventListener('click', (event) => { try { const parent = event.target.closest('.amscroll-pages'); const page = parent ? parent.getAttribute('amscroll-page') : null; if (page) { var newUrl = this._generateUrl(page, 0); if (!window.history.state || newUrl !== window.history.state.url) { window.history.replaceState( { url: newUrl }, '', newUrl ); } } } catch (e) { console.warn(e); } }); }); }, _generateUrl(page, addScroll) { const parameters = addScroll > 0 ? `p=${page}&is_scroll=${addScroll}` : `p=${page}`; const currentUrl = window.location.origin + window.location.pathname; const urlHasArgument = currentUrl.includes('?'); const parameterType = urlHasArgument ? '&' : '?'; const currentParameters = new URLSearchParams(window.location.search); const newParameters = new URLSearchParams(parameters); const newUrlParams = new URLSearchParams({ ...Object.fromEntries(currentParameters), ...Object.fromEntries(newParameters) }); const url = `${currentUrl}${parameterType}${newUrlParams}`; return url; }, _hideToolbars() { document.querySelector(this.totalAmountSelector).style.display = 'none'; document.querySelector('.products ~ ' + this.toolbarSelector).style.display = 'none'; }, _showToolbars() { document.querySelector(this.totalAmountSelector).style.display = 'block'; document.querySelector(`.products ~ ${this.toolbarSelector}`).style.display = 'block'; }, _generatePageTitle(page) { if (document.querySelector(`#amscroll-page-num${page}`)) { return false; } const pageNumEl = document.createElement('div'); pageNumEl.setAttribute('class', `amscroll-page-num -amscroll-${this.options['pageNumberStyle']}`); pageNumEl.setAttribute('id', `#amscroll-page-num${page}`); pageNumEl.textContent = `${this.options['pageNumberContent']}${page}`; return pageNumEl; }, _mostlyVisible(element, index) { const visible = element.offsetParent !== null; const scroll_pos = window.scrollY; const window_height = window.innerHeight; const el_top = element.offsetTop; const el_height = element.offsetHeight; const el_bottom = el_top + el_height; const isVisible = ((el_bottom - el_height * 0.25 > scroll_pos) && (el_top < (scroll_pos + 0.5 * window_height)) && visible) || (index == 0 && scroll_pos < el_top); return ((el_bottom - el_height * 0.25 > scroll_pos) && (el_top < (scroll_pos + 0.5 * window_height)) && visible) || (index == 0 && scroll_pos < el_top); }, _getTopContainersHeight() { if (!this.topContainersHeight) { let result = document.querySelector('.page-header').offsetHeight; if (document.querySelectorAll(".main .block-static-block ~ .products, .main .block-static-block ~ #amasty-shopby-product-list").length) { result += document.querySelector(".main .block-static-block").offsetHeight; } this.topContainersHeight = 0.9 * result; } return this.topContainersHeight; }, _initBackToTop() { }, _scrollToTop() { const items = document.querySelectorAll(`[amscroll-page="${currentPage}"] .product-item a`); items.forEach((item) => { item.addEventListener('click', (event) => { var scrollPositionAfterStepBackData = { pageUrl: this.getCurrentUrl(), clickedProductLink: event.currentTarget.attributes.href.value }; hyva.getBrowserStorage().setItem('am-scroll-go-back-data', JSON.stringify(scrollPositionAfterStepBackData)); }); }); }, _insertBlockInTheEnd(block) { const productContainer = document.querySelectorAll(this.options['product_container']); productContainer[productContainer.length - 1].insertAdjacentHTML('afterend', block); }, _insertBlockInTheBegin(block) { this.$nextTick(() => { const element = document.querySelectorAll(`.${this.classes.pageNumber}`); const loadButtonSelector = `.${this.classes.loadButton}`; const loadingBlockSelector = `.${this.classes.loadingBlock}`; const lastPageElement = document.querySelectorAll('.amscroll-page'); const lastPage = lastPageElement.length > 0 ? lastPageElement[lastPageElement.length - 1] : lastPageElement[0]; const lastButton = this.getNext(lastPage, loadButtonSelector); const lastLoadingBLock = this.getNext(lastPage, loadingBlockSelector); const loadButton = Array.from(document.querySelectorAll(loadButtonSelector)).filter(element => element !== lastButton) || []; const loadBlock = Array.from(document.querySelectorAll(loadingBlockSelector)).filter(element => element !== lastLoadingBLock) || []; if(loadButton.length > 0) loadButton[0].remove(); if(loadBlock.length > 0) loadBlock[0].remove(); element[0].insertAdjacentHTML('beforebegin', block); return element[0]; }); }, getCurrentUrl() { return location.href.split('?')[0]; }, getSavedAfterStepBackData () { let savedData = hyva.getBrowserStorage().getItem('am-scroll-go-back-data'); if (savedData) { savedData = JSON.parse(savedData); this.afterStepBackData = savedData; hyva.getBrowserStorage().removeItem('am-scroll-go-back-data'); } return this.afterStepBackData; }, initPageStepForwardListener(currentPage) { const items = document.querySelectorAll(`[amscroll-page="${currentPage}"] .product-item a`); items.forEach((item) => { item.addEventListener('click', (event) => { var scrollPositionAfterStepBackData = { pageUrl: this.getCurrentUrl(), clickedProductLink: event.currentTarget.attributes.href.value }; hyva.getBrowserStorage().setItem('am-scroll-go-back-data', JSON.stringify(scrollPositionAfterStepBackData)); }); }); }, _pagePositionAfterStepBack() { const savedScrollData = this.getSavedAfterStepBackData(); if (savedScrollData) { const productItem = document.querySelector(`a[href="${savedScrollData.clickedProductLink}"]`); history.scrollRestoration = 'auto'; if (productItem) { history.scrollRestoration = 'manual'; productItem.scrollIntoView(); } } }, _moveScriptToTop(html) { const htmlScripts = html.getElementsByTagName('script'); if (htmlScripts.length > 0) { const scripts = []; for (let i = 0; i < htmlScripts.length; i++) { scripts.push(htmlScripts[i]); } for (let i = 0; i < scripts.length; i++) { let script = document.createElement('script'); script.innerHTML = scripts[i].innerHTML; document.head.appendChild(script); scripts[i].parentNode.removeChild(scripts[i]); } } }, _removeToolbars(html) { const contentToolbars = html.querySelectorAll(this.toolbarSelector); contentToolbars.forEach((toolbar) => { toolbar.previousElementSibling.remove(); toolbar.remove(); }); }, getNext(elem, selector) { var nextElem = elem.nextElementSibling; if (!selector) { return nextElem; } if (nextElem && nextElem.matches(selector)) { return nextElem; } return null; } }; }

Êtes-vous sûr(e) de vouloir retirer cet article du panier ?

Cet élément fait partie du devis approuvé. En le supprimant, tous les articles du devis seront supprimés du panier.

Vous venez d’ajouter à votre panier

Chargement en cours...