var socialProofConfig = {"_id":"hukxxHSKfZNDenCp3","name":"E-Book Schöne Haut","messages":[{"text":"Marina hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/FZAeHoTp2JT4FE7Yd.jpg"},{"text":"Laura hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/HWS3chqqPonnuGbS5.jpg"},{"text":"Jonas hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/z8Jssfkj3orBGnqvE.jpg"},{"text":"Nele hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/Xnh8BFYfmQecFSL65.jpg"},{"text":"Nadia hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/esdc4n8qiecFDfByp.jpg"},{"text":"Harald hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/myZNnPMf2kgkangso.jpg"},{"text":"Zara hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/Z4dtR4yuWcbLmhMvB.jpg"},{"text":"Karolina hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/CdEfaaf29wdkxfitG.jpg"},{"text":"Rebbeka hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/26Wrcz5RmcyYg4J5Y.jpg"},{"text":"Timo hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/fM9T9CRDhx8JLuS5b.jpg"},{"text":"Elisabeth hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/yYoWXvmhD3FzBN3B7.jpg"},{"text":"Nadia hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/z2fLdMPK5hg9eCQuv.jpg"},{"text":"Lena hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/EDPzkDbRQCfPbAriK.jpg"},{"text":"Arianna hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/X6Pbb6dx5xrmv9zpx.jpg"},{"text":"Anna hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/af8rbBsA5rfnyHeBt.jpg"},{"text":"Peter hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/dwc9LCshWfsM98vXT.jpg"},{"text":"Anne hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/ZLFAdsizp2KnsesNf.jpg"},{"text":"Schöne-Marina hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/kLvGFh6ms5Ec4rRfc.jpg"},{"text":"fheigrg hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/vjGron47Wu5zyx66y.jpg"},{"text":"Olga hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/jFdDczD4wKC7Ekqhp.jpg"},{"text":"Rianna hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/pvXniZcBRCbByKZGD.jpg"},{"text":"Dilara hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/wCaL5p6guphwWrYKN.jpg"},{"text":"Bea hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/RX8jeBXCTRDzHy9mw.jpg"},{"text":"Henry hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/ZdGkSQhjrWfCuP8HN.jpg"},{"text":"Manu hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/w43opBnFztYim64QT.jpg"},{"text":"Maxi hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/LpPcqpt4n4fQHxjjT.jpg"},{"text":"Klara hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/23dp9oD9e6GYwMo5G.jpg"},{"text":"Isabell hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/MiWXwPmim62wpwEEt.jpg"},{"text":"Trixie hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/8saMzXDtKWuQgAgPD.jpg"},{"text":"Lara hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/pzFS38xnjnWc3jcYJ.jpg"},{"text":"Maaika hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/QLyfnnzetFPRhMjWp.jpg"},{"text":"Mabel hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/bYxFRcWNbRCcBuBGR.jpg"},{"text":"Lucy hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/Guv7R6FFqm6Dw2TSx.jpg"},{"text":"Maraike hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/mpxq4iiXFMiyvv9c6.jpg"},{"text":"Karlo hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/oqoEYdJWQH3eseWD5.jpg"},{"text":"Elena hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/nQAjRnEQ6qKtTfWga.jpg"},{"text":"Magda hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/qj7H2NjPX4Kx9cov2.jpg"},{"text":"Sara hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/3iAxoZc8Bdb7t43WJ.jpg"},{"text":"Kirschgirl4849 hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/qSecNmdJsc7FMstiF.jpg"},{"text":"Jonas hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/cHgavCXeQ7ctpNqxr.jpg"},{"text":"Jonathan hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/FidqLHRxNoeZKi88X.jpg"},{"text":"Maximilian hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/Neri6udjRE28QhGiL.jpg"},{"text":"Megan hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/qRhDGur3JvPuDvg2P.jpg"},{"text":"Filiz hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/uGYfveg7kcauBsQZm.jpg"},{"text":"Isi hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/jYaDwG7tkbvDDDBWi.jpg"},{"text":"Kevin hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/oxaak9gaua9NowRr9.jpg"},{"text":"Dominik hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/3hs7aoHJEX9Wib3Y2.jpg"},{"text":"Nikie hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/ctgiJMTSahwbuhCM9.jpg"},{"text":"Tomi hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/oKJSsdkhYDZvg2omt.jpg"},{"text":"Lara-Lena hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/oG6t5DcGHKjLoKLyj.jpg"},{"text":"Aron hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/QJkhtA4nNmMjQnJv8.jpg"},{"text":"Aabidah hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/RoSxWNNyPFG5o9anR.jpg"},{"text":"Raffael hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/heSuQdxCWmoAqbtHt.jpg"},{"text":"Selina hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/qg9et63PHH8sZwoTM.jpg"},{"text":"Seerina hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/CYrrZWqKo7jRSTy9j.jpg"},{"text":"Thuan-Shin hat sich das E-Book (Schönere Haut) gesichert!","image":"https://static.convertlink.io/socialProof/image/yPdSdGiScfxG5ujYa.jpg"}],"style":{},"displayTime":5,"initialWaitTime":12,"waitTime":8,"createdAt":"2023-09-22T11:37:23.222Z","userId":"w3N5kQiNqfX6pMdQW"};function _toConsumableArray(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var MODE_TIMEOUT=0,MODE_INTERVAL=1,fnStacks=new Map,runArray=new Set,rafStarted=!1,startId=0;function getTimeStamp(){return(new Date).getTime()}function executeFn(t){var e=t.fn,n=t.args;e.apply(void 0,_toConsumableArray(n))}function runFunction(){0!==runArray.size&&(runArray.forEach(executeFn),runArray.clear())}var checkTick=function(a){return function(t,e){var n=t.nextTick,o=t.ms,i=t.mode;0<=a-n&&(runArray.add(t),i===MODE_TIMEOUT?fnStacks.delete(e):fnStacks.set(e,Object.assign({},t,{nextTick:n+o})))}};function loop(){var t=getTimeStamp();fnStacks.forEach(checkTick(t)),runFunction(),0!==fnStacks.size?window.requestAnimationFrame(loop):rafStarted=!1}function addId(t){var e=t.fn,n=t.ms,o=void 0===n?0:n,i=t.args,a=t.mode;if(!e)return null;var r=startId;return fnStacks.set(r,{fn:e,ms:o,nextTick:getTimeStamp()+o,args:i,mode:a}),rafStarted||(rafStarted=!0,window.requestAnimationFrame(loop)),startId+=1,r}function removeId(t){fnStacks.has(t)&&fnStacks.delete(t),0===fnStacks.size&&(rafStarted=!1)}var initialNotificationShown,shuffledNotifications,showNotificationContainer,rafSetTimeout=function(t,e){for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return addId({fn:t,ms:1<arguments.length&&void 0!==e?e:0,args:o,mode:MODE_TIMEOUT})},rafClearTimeout=removeId,rafSetInterval=function(t,e){for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return addId({fn:t,ms:1<arguments.length&&void 0!==e?e:0,args:o,mode:MODE_INTERVAL})},rafClearInterval=removeId;function shuffle(t){for(var e=t.length;0<e;){var n=Math.floor(Math.random()*e),o=t[--e];t[e]=t[n],t[n]=o}return t}function asyncLoop(t,e,n){var o=0,i=!1,a={next:function(){i||(o<t?(o++,e(a)):(i=!0,n()))},iteration:function(){return o-1},break:function(){i=!0,n()}};return a.next(),a}function fadeOut(e){e&&(e.style.opacity=1,function t(){(e.style.opacity-=.1)<0?e.style.display="none":requestAnimationFrame(t)}())}function fadeIn(n,t,o){n&&(n.style.opacity=0,n.style.display="block",function t(){var e=parseFloat(n.style.opacity);1<(e+=.1)?"function"==typeof o&&o():(n.style.opacity=e,requestAnimationFrame(t))}())}socialProofConfig&&socialProofConfig.messages&&socialProofConfig.messages.length&&(initialNotificationShown=!1,shuffledNotifications=shuffle(Array.from(socialProofConfig.messages)),(showNotificationContainer=function(t){asyncLoop(t.length,function(f){!function(e){e.closing=!1;var t,n=socialProofConfig.displayTime||5,o=socialProofConfig.initialWaitTime||socialProofConfig.waitTime||2;initialNotificationShown?t=socialProofConfig.waitTime||2:(t=o,initialNotificationShown=!0);var i,a=document.createElement("div");a.className="cl-social-proof-message",a.style.borderRadius="100px",a.style.backgroundColor="#fff",a.style.position="fixed",a.style.zIndex="999",a.style.left="15px",a.style.bottom="15px",a.style.border="1px solid #ddd",a.style.boxSizing="border-box",a.style.padding="10px 15px",a.style.width="265px",a.style.maxWidth="100%",a.style.color="#666",a.style.clear="both",a.style.fontFamily="sans-serif",a.style.fontSize="13px",a.style.display="none",e.image&&((i=document.createElement("div")).style.backgroundImage="url("+e.image+")",i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition="center",i.style.backgroundSize="cover",i.style.borderRadius="100px",i.style.float="left",i.style.marginRight="15px",i.style.width="40px",i.style.height="40px",a.appendChild(i));var r,s=document.createElement("div");s.innerHTML=e.text||"",s.style.fontWeight="bold",a.appendChild(s),e.time&&((r=document.createElement("div")).innerHTML=e.time||"",r.style.color="#999",r.style.fontSize="12px",r.style.marginTop="4px",a.appendChild(r));var l=document.createElement("button");l.style.backgroundColor="transparent",l.style.border="none",l.style.position="absolute",l.style.top="10px",l.style.right="10px",l.style.cursor="pointer",l.innerHTML="&times;",l.style.color="#999",l.style.top="50%",l.style.marginTop="-8px",l.addEventListener("click",function(t){t.preventDefault(),a&&!e.closing&&(e.closing=!0,fadeOut(a,100),f.next())}),a.appendChild(l),rafSetTimeout(function(){document.body.appendChild(a),a&&!e.closing&&"hidden"!==document.visibilityState&&fadeIn(a,300,function(){rafSetTimeout(function(){a&&!e.closing&&(fadeOut(a,100),rafSetTimeout(function(){a.parentNode.removeChild(a)},100),f.next())},1e3*n)})},1e3*t)}(t[f.iteration()])},function(){showNotificationContainer(shuffledNotifications)})})(shuffledNotifications));