PageSourceSearch

https://www.selmer.fr/cdn/shop/t/83/assets/bundle.product-common.js?v=95323163329587295221784623684

js selmer.fr collected 2026-09-24 18:24:17 UTC 7,958 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={3433(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}function a(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}r.d(t,{r:()=>i});var i=function(){return e=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.translations=t,this.targetSelector=r,this.language=n,this.observer=null,this.language.startsWith("fr")&&this.initializeTranslations()},(t=[{key:"translateDynamicText",value:function(e){if(/visa ending in \d{4}/i.test(e)){var t=e.match(/visa ending in (\d{4})/i),r=t?t[1]:"";return"".concat(this.translations["Visa ending in"]||"Visa ending in"," ").concat(r).trim()}if(e.startsWith("skip your upcoming order for")){var n=e.replace("skip your upcoming order for","").trim(),o=this.formatDate(n),a=this.translations["skip your upcoming order for"]||"skip your upcoming order for";return"".concat(a," ").concat(o).trim()}if(e.startsWith("We’ll process this order today, or as soon as possible.")){var i=this.translations["We’ll process this order today, or as soon as possible. We’ll continue shipping it to you"]||"We’ll process this order today, or as soon as possible. We’ll continue shipping it to you",s=this.translations["after that"]||"after that";if(e.includes("every ")){var c=e.match(/every (days|day|weeks|week|months|month|years|year)/);if(c){var u=c[1],l=this.translations[u]||u,d=this.translations.every||"every",y="".concat(d," ").concat(l);return"".concat(i," ").concat(y," ").concat(s)}}}if(/Expires \d{2}\/\d{4}/.test(e)){var h=e.match(/Expires (\d{2}\/\d{4})/),v=h?h[1]:"";return"".concat(this.translations.Expires||"Expires"," ").concat(v).trim()}if(e.includes("Quantity")){var f=e.match(/(?:Quantity\s*)?(?:[x:]?\s*)?(\d+)/i),m=f?f[1]:"";return"".concat(this.translations.Quantity||"Quantity"," ").concat(m).trim()}var p=e.match(/^Every (days|day|weeks|week|months|month|years|year)$/);if(p){var b=p[1],g=this.translations[b]||b;return"".concat(this.translations.Every||"Every ").concat(g)}var w=e.match(/^every (days|day|weeks|week|months|month|years|year)$/);if(w){var E=w[1],k=this.translations[E]||E;return"".concat(this.translations.every||"every ").concat(k)}var T=e.match(/^Every (\d+) (days|day|weeks|week|months|month|years|year)(.*)/i);if(T){var x=T[1],N=T[2],S=T[3],q=this.translations.Every||"Every",D=this.translations[N.toLowerCase()]||N,O=S.replace(/\((\d+)% off\)/,"(-$1%)");return"".concat(q," ").concat(x," ").concat(D).concat(O)}var A=e.match(/^every (\d+) (days|day|weeks|week|months|month|years|year)(.*)/);if(A){var C=A[1],j=A[2],_=A[3],W=this.translations.every||"every",P=this.translations[j]||j,L=_.replace(/\((\d+)% off\)/,"(-$1%)");return"".concat(W," ").concat(C," ").concat(P).concat(L)}if(e.includes("off with subscription discount")){var z=e.match(/(\d+)% off with subscription discount/),$=z?z[1]:"";return"".concat($,"% ").concat(this.translations["off with subscription discount"]||"off with subscription discount").trim()}return this.translations[e]||e}},{key:"formatDate",value:function(e){if(!/^(?:\w+, )?\w+ \d{1,2}, \d{4}$/.test(e))return e;var t=new Date(e);return isNaN(t.getTime())?e:new Intl.DateTimeFormat("fr-FR",{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(t)}},{key:"translateNode",value:function(e){var t=this;if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.trim(),n=this.formatDate(r);if(n!==r)return void(e.textContent=n);e.textContent=this.translateDynamicText(r)}else if(e.nodeType===Node.ELEMENT_NODE){if("INPUT"!==e.tagName&&"TEXTAREA"!==e.tagName||this.translateAttributes(e),1===e.childNodes.length&&e.firstChild.nodeType===Node.TEXT_NODE){var o=e.textContent.trim(),a=this.formatDate(o);if(a!==o)return void(e.textContent=a);e.textContent=this.translateDynamicText(o)}
1e.childNodes.forEach(function(e){t.translateNode(e)})}}},{key:"translateAttributes",value:function(e){var t,r,n=null===(t=e.value)||void 0===t?void 0:t.trim(),o=null===(r=e.placeholder)||void 0===r?void 0:r.trim();this.translations[n]&&(e.value=this.translations[n]),this.translations[o]&&(e.placeholder=this.translations[o])}},{key:"translateText",value:function(e){var t=this;e.querySelectorAll("*").forEach(function(e){t.translateNode(e)}),e.childNodes.forEach(function(e){e.nodeType===Node.TEXT_NODE&&t.translateNode(e)})}},{key:"initializeTranslations",value:function(){var e=this,t=document.querySelector(this.targetSelector);t&&(this.translateText(t),this.observer=new MutationObserver(function(t){t.forEach(function(t){Array.from(t.addedNodes).forEach(function(t){e.translateNode(t)})})}),this.observer.observe(t,{childList:!0,subtree:!0,characterData:!0}))}},{key:"disconnect",value:function(){this.observer&&this.observer.disconnect()}}])&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}()}};const t={};function r(n){const o=t[n];if(void 0!==o)return o.exports;const a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var o=t[n++],a=t[n++];r.o(e,o)?0===a&&n++:0===a?Object.defineProperty(e,o,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,o,{enumerable:!0,get:a})}else for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var n=r(3433);document.addEventListener("DOMContentLoaded",function(e){var t=document.querySelector(".product__description-short-read");Boolean(t)&&t.addEventListener("click",function(e){e.preventDefault(),t.parentElement.classList.toggle("active"),t.parentElement.classList.contains("active")?t.textContent=t.getAttribute("data-less"):t.textContent=t.getAttribute("data-more")});var r=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting?(e.target.querySelector(".deferred-media__poster").click(),Boolean(e.target.querySelector("video"))&&e.target.querySelector("video").paused&&e.target.querySelector("video").play()):Boolean(e.target.querySelector("video"))&&!e.target.querySelector("video").paused&&e.target.querySelector("video").pause()})}),n=document.querySelectorAll(".product__media-list .deferred-media");n.length>0&&window.innerWidth>768&&r.observe(n[0])});var o=document.documentElement.lang,a={"one-time-purchase":"One-time purchase","subscribe-to-save":"Subscribe to save 10%",from:"From",Every:"Every",day:"day",days:"days",week:"week",weeks:"weeks",month:"month",months:"months",year:"year",years:"years","plain-text":"With the subscription, receive your reeds on a recurring basis (according to the frequency you select), with a discount on every recurring order. You may cancel or change your subscription at any time."},i={"one-time-purchase":"Achat unique","subscribe-to-save":"Abonnez-vous pour économiser 10%",from:"À partir de",Every:"Tous les",day:"jour",days:"jours",week:"semaine",weeks:"semaines",month:"mois",months:"mois",year:"année",years:"années","plain-text":"Avec l'abonnement, recevez vos anches à la fréquence que vous choisissez, et bénéficiez d'une réduction de 10% sur chaque commande récurrente. Vous pouvez modifier ou annuler votre abonnement à tout instant via votre compte client."},s={};Object.keys(a).forEach(function(e){var t=i[e];t&&(s[a[e]]=t)});new n.r(s,".yotpo_translate",o)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.