function handleReviewsClick(){if(typeof $BV!="undefined"){var n=$("[itemprop=gtin14]").text();$BV.ui("rr","show_reviews",{productId:n,doShowContent:function(){$("#bazaar-voice").collapse("show")}})}}function moveSummaryContainer(){var n=$("#BVRRSummaryContainer"),t=$(".sk-product-enhanced-detail");t.prepend(n)}function styleForm(){var n=$(".sk-hello-sommer .form-container .control-label"),t=$(".sk-hello-sommer .cdc-submit");if(n.length>0&&t){n.each(function(){var n=$(this);n.text()==="(hide)"&&n.css("display","none")});$(".sk-hello-sommer .form-container label.cdc-checkbox-label-required input").on("click",function(){var n=$(this);n.is(":checked")?n.val("true"):n.val("false")});t.val("Jetzt mitmachen");$('.sk-hello-sommer .form-container input[name="PostedFormUrl"]').val(window.location.href)}else setTimeout(styleForm,200)}(function(){"use strict";function n(n){return function(){BV.pixel.trackConversion({type:"WhereToBuy",label:"BuyOnlinePage",value:n})}}$(document).ready(function(){var r=$(".RBStarterKitProductPage").length>0,u=typeof BV!="undefined",t,i;if(r&&u){t=$("[itemprop=gtin14]").text();i=$(".sk-buy-now-btn--locate");i.on("click",n(t))}})})(),function(){"use strict";function t(t){var i=$(t).text();return{Name:n.parseContent(i)}}function i(){var n=$("[itemprop=breadcrumb]");if(n)return n.find("li").toArray().map(t)}function r(t){var r=$("[itemprop=gtin14]").text(),u=n.getOgUrlMetaTag().attr("content"),f=$("[itemprop=image]").eq(0).attr("href");return{brandName:t,productId:r,eans:[r],productName:$("[itemprop=name]").text(),productDescription:$("[itemprop=description]").text(),productImageURL:encodeURI(f),productPageURL:encodeURI(u),categoryPath:i()}}function u(t){try{var i=r(t);return{catalogData:{locale:$("html").attr("lang").replace("-","_"),catalogProducts:[n.mapObject(i,n.parseContent)]}}}catch(u){console.error(u)}}var n={mapObject:function(n,t){return Object.keys(n).reduce(function(i,r){return i[r]=t(n[r]),i},{})},parseContent:function(n){return typeof n=="string"?n.trim():n},getOgUrlMetaTag:function(){return $("meta").filter(function(n,t){return $(t).attr("property")==="og:url"})}};$(document).ready(function(){var n=$(".RBStarterKitProductPage").length>0,t=typeof BV!="undefined";n&&t&&(window.bvDCC=u("scholl"),window.bvCallback=function(n){n.pixel.trackEvent("CatalogUpdate",{type:"Product",locale:window.bvDCC.catalogData.locale,catalogProducts:window.bvDCC.catalogData.catalogProducts})})})}(),function(){function n(n,t){var i=document.createElement("script"),r;i.src=n;i.onload=t;r=document.getElementsByTagName("body")[0];r.appendChild(i)}function t(n){try{$BV.ui("rr","submit_generic",n)}catch(t){console.error("bvapi.js script is not loaded")}}function i(){$(".js-open-bv-review-modal").on("click",t)}$(document).ready(function(){var r=$(".RBStarterKitHomePage").length,u=$(".sk-country-au").length,t;u&&r&&(t="https://display.ugc.bazaarvoice.com/bvstaging/static/scholl-au/main_site/en_AU/bvapi.js",n(t,i))})}();$(document).ready(function(){moveSummaryContainer();handleReviewsClick()}),function(){var t=$(".sk-hpm-comodidad"),i=$(".sk-hpm-comodidad-form"),r=$(".sk-hpm-comodidad-esta"),n;t.length>0|i.length>0|r.length>0&&$(".hpm-footer-text").insertBefore(".sk-footer-nav");n=$(".sk-hpm-comodidad-form");n.length>0&&$(".hpm-text-in-form").insertBefore(".cdc-error-summary")}(),function(){".sk-hpm-mother-day"&&($(".hpm-in-form-one").insertBefore(".hpm-first-row"),$(".hpm-in-form-two").insertBefore(".hpm-second-row-top"),$(".hpm-in-form-three").insertBefore(".hpm-three-row-top"),$(".hpm-in-form-four").insertAfter(".hpm-first-row"))}(),function(){function i(){for(var u={"en-en":{select:"-- choose --",title:"Title",titleError:"Field title is required",forname:"First name",fornameError:"First name field is required",surname:"Surname",surnameError:"Last name field is required",email:"Email",emailError:"Field Email is required",submit:"Data sending"},"cl-de":{select:"-- wählen --",title:"Anrede",titleError:"Feld Anrede ist erforderlich",forname:"Vorname",fornameError:"Feld Vorname ist erforderlich",surname:"Nachname",surnameError:"Feld Nachname ist erforderlich",email:"Email",emailError:"Feld Email ist erforderlich",submit:"Daten absenden"},"at-de":{select:"-- wählen --",title:"Anrede",titleError:"Feld Anrede ist erforderlich",forname:"Vorname",fornameError:"Feld Vorname ist erforderlich",surname:"Nachname",surnameError:"Feld Nachname ist erforderlich",email:"Email",emailError:"Feld Email ist erforderlich",submit:"Daten absenden"},"de-de":{select:"-- wählen --",title:"Anrede",titleError:"Feld Anrede ist erforderlich",forname:"Vorname",fornameError:"Feld Vorname ist erforderlich",surname:"Nachname",surnameError:"Feld Nachname ist erforderlich",email:"Email",emailError:"Feld Email ist erforderlich",submit:"Daten absenden"}},t,i,r=[[".sk-country-en",".sk-language-pl"],[".sk-country-at",".sk-language-de"],[".sk-country-de",".sk-language-de"]],n=0;n<r.length;n++)if(document.querySelector(r[n][0]))for(t=r[n][0].slice(-2),n=0;n<r[n].length;n++)document.querySelector(r[n][1])&&(t+="-"+r[n][1].slice(-2));(t==""||t==undefined)&&(t="en-en");u[t]&&u[t]!==undefined?(i=u[t],(t=="de-de"||t=="at-de"||t=="cl-de")&&($('select option:contains("Miss")').text("Frau"),$('select option:contains("Mrs")').text("Herr"),$('select option:contains("Mr")').remove(),$('select option:contains("Rev")').remove(),$('select option:contains("Dr")').remove(),$('select option:contains("Master")').remove(),$('select option:contains("Ms")').remove())):i=u["en-en"];var f=document.querySelector('label[for="Title"]'),e=document.querySelector('label[for="GivenNames"]'),o=document.querySelector('label[for="FamilyNames"]'),s=document.querySelector('label[for="EmailAddress"]'),h=document.querySelector("input.cdc-submit"),c=document.querySelector("select#Title option");$("#cdc-form")[0]&&(f.textContent=i.title,e.textContent=i.forname,o.textContent=i.surname,s.textContent=i.email,h.value=i.submit,c.text=i.select)}function r(n){(document.attachEvent?document.readyState==="complete":document.readyState!=="loading")?n():document.addEventListener("DOMContentLoaded",n)}var t=0,n;$(".cdc-form-group--submit input").click(function(){$("#cdc-form").find(".field-validation-error").length==0&&t>=1?($(".thank-you-conteiner").css("display","block"),$(".bottom-area").css("display","none")):t=1});$(".thank-you-conteiner button").click(function(){location.reload()});r(i);n=$(".no-crop-img img");n.length>0&&$(n).attr("src",function(n,t){return t.split("?")[0]});$(".sk-hpm-mother-day")>0&&$(".sk-container-body:first").removeClass()}();$(document).ready(function(){if($("body").hasClass("sk-country-jp")){var n=$(".promo-list img");setTimeout(function(){n.length>0&&$(n).attr("src",function(n,t){return t.split("?")[0]})},2e3)}});$(document).ready(function(){var n=$(".sk-hello-sommer #FinishQuiz"),t=$(".sk-hello-sommer #QuestionId").val();if(n){n.text("Jetzt mitmachen");n.on("click",function(){var n=".question-validation-"+t;$(n).text("Bitte wählen Sie Ihre Antwort.");styleForm()})}});$(window).load(function(){$(".tooltip-container label").attr("data-original-title",$(".tooltip-container label .cdc-tooltip").attr("data-original-title"));$(".tooltip-container label").attr("data-toggle","tooltip");$('[data-toggle="tooltip"]').tooltip()}),function(){".sk-hpm-mother-day"&&$(".cdc-submit").val("Absenden")}()