!function(i, t) { "use strict"; i.addEventListener("message", function(i) { if (-1 === ["localhost", "zlakobieta.com"].indexOf(i.origin.replace(/^https?:\/\//i, ""))) { return !1; } if (typeof(i.data) === 'string'){ var e = function(i) { if (-1 < i.indexOf("{")) { return JSON.parse(i); } var e = i.split(":"); return {widgetId: e[2].replace("instansive_", "").replace("lightwidget_"), size: e[1]}; }(i.data); if (e.size <= 0) { return !1; } [].forEach.call(t.getElementsByClassName('lightwidget-widget'), function(i) { i.style.height = e.size + "px" }) } }, !1), i.lightwidget = {} }(window, document);