

(function(f,r,a,m,e){
f[r]=f[r]||f.addEventListener('message',function(v){if(a=v.data[r]){
m=document.querySelector('#smt-questionnaire-6627802e4cf26-holder iframe');
if(m) {m.style.height = a+"px";}
}});
})(window,'smt-resize');


(function(f,r,a,m,e){
  f[r]=f[r]||f.addEventListener('message',function(v){if(a=v.data[r]){
    m=document.getElementsByTagName('iframe');
    for(e=m.length;e--;){if(m[e].contentWindow===v.source) localStorage.setItem('profile-6627802e4cf26', v.data["smt-profile"]); }
}});
})(window,'smt-profile');



var smtQuestionnaireIframe = document.getElementById("smt-questionnaire-6627802e4cf26-holder");
if (!smtQuestionnaireIframe) {
    const smtQuestionnaireIframes = document.querySelectorAll('[id^="smt-questionnaire-"][id$="-holder"]');
    smtQuestionnaireIframe = smtQuestionnaireIframes.length ? smtQuestionnaireIframes[0] : null;
    if (smtQuestionnaireIframe) {
        smtQuestionnaireIframe.id = 'smt-questionnaire-6627802e4cf26-holder';
    }
}

if(smtQuestionnaireIframe !== null) {
	smtQuestionnaireIframe.className = "smt-questionnaire-loaded";
	smtQuestionnaireIframe.innerHTML = '<iframe src="https://getskinmatch.com/ask/6627802e4cf26/in-iframe/en" id="smt_q_6627802e4cf26" class="smt-q-questionnaire" width="100%" height="100" style="border: 0; transition: height 0.3s ease-in-out; " allow="autoplay; camera; microphone; geolocation *"></iframe>';
}







