!function(){"use strict";var C,o,g,e,t,a,i,A,I;function d(e){for(var t=[],g=0,a=e.length;g<a;g++)t[g]=e[g];return t}function r(t,g,e){return Object.keys(t).map(function(e){return g(e,t[e])}).join(e||"")}function c(e,t){if(void 0===c._propertyName)for(var g=["matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],a=0,I=g.length;a<I;a++)if(g[a]in e){c._propertyName=g[a];break}return e[c._propertyName](t)}function s(e,C){var t,o,i,A,g=null;return-1!==(e=e.trim()).search(/^\$0:(previous|next)/)?(t=e.match(/^\$0:(previous|next)\((.+?)\)(.*)/))&&(o=t[1]+"ElementSibling",i=t[2],A=t[3],g=function(){var e=d(C.parentNode.querySelectorAll(i+A));if(e.length){for(var t=[],g=C[o];g;)c(g,i)&&t.push(g),g=g[o];if(t.length)for(var a,I,n=0;n<t.length;n++)for(a=0;a<e.length;a++)for(I=e[a];I;){if(I===t[n])return e[a];I=I.parentNode}}}()):e&&(g=document.querySelector(e)),g}function l(e){l.count=l.count||0;var t=document.createElement("iframe");return t.className="nadavi-widget-iframe",t.name="nadavi-widget-iframe-"+ ++l.count,t.scrolling="no",t.style.cssText=r({display:"block",border:"0 none","min-width":"0","max-width":"none","min-height":"0","max-height":"none",width:"100%",height:"0",padding:"0",margin:"0",position:"static"},function(e,t){return e+":"+t+" !important;"}),e._=Date.now(),t.src=g+"?"+r(e,function(e,t){return e+"="+encodeURIComponent(t)},"&"),t}function n(){A.process();var t=null,e=document.documentElement,g=window.MutationObserver||window.WebKitMutationObserver;g?new g(function(e){e.some(function(e){if(e.addedNodes.length)for(var t=0,g=e.addedNodes.length;t<g;t++)if(e.addedNodes[t].nodeType===Node.ELEMENT_NODE)return!0})&&(t&&clearTimeout(t),t=setTimeout(A.process,200))}).observe(e,{childList:!0,subtree:!0}):e.addEventListener("DOMNodeInserted",function(e){e.target.nodeType===Node.ELEMENT_NODE&&(t&&clearTimeout(t),t=setTimeout(A.process,200))},!1)}void 0===window.__NADAVI&&(window.__NADAVI=!0,C="boolean"==typeof window._nadavi_debug?window._nadavi_debug:-1!==location.hash.indexOf("_nadavi_debug=1"),o=function(){console.log.apply(console,["Nadavi:"].concat(d(arguments)))},(t=document.createElement("a")).href="/papka-nad/",(a=document.currentScript||document.querySelector('script[data-nadavi-lib], script[src*="price.nadavi"]'))&&a.src&&((e=document.createElement("a")).href=a.src,t.hostname=e.hostname),g=t.href,i={"data-type":"p4g_type_","data-clid":"p4g_partner_","data-search-model-id":"p4g_gid_","data-search-model-ids":"p4g_gid_","data-search-model-yid":"p4g_yid_","data-search-model-yids":"p4g_yid_","data-search-text":"p4g_name_","data-search-texts":"p4g_name_","data-search-selector":"p4g_name_","data-search-selectors":"p4g_name_","data-search-count":"p4g_n_","data-search-similar-count":"p4g_ns_","data-search-category-id":"p4g_kat_id_","data-search-category-ids":"p4g_kat_id_","data-search-category-text":"p4g_kat_name_","data-buy-btn-text":"p4g_buy_btn_text_","data-theme-id":"p4g_theme_id_","data-title":"p4g_title_","data-show-shop-logo":"p4g_show_shop_logo_","data-lang":"p4g_lang_"},A={process:function(){var e=document.querySelectorAll(".nadavi-widget");e.length&&d(e).forEach(function(I){var n,g,e,a;void 0===I._nadaviWidget&&(n={p4g_api_type_:"text"},I.getAttribute("data-lang")||I.setAttribute("data-lang",window.navigator.language),d(I.attributes).forEach(function(e){var t,g,a=e.name,e=e.value;i[a]&&("data-search-selector"===a?e=(t=s(e,I))?t.textContent:"":"data-search-selectors"===a&&(g=[],e.split(",").forEach(function(e){e=s(e,I);e&&g.push(e.textContent)}),e=g.join()),300<e.length&&(e=e.slice(0,300)),n[i[a]]=e)}),n.p4g_partner_&&(n.p4g_gid_||n.p4g_yid_||n.p4g_name_)?(e=I.hasAttribute("data-disable-loader"),a=l(n),"function"!=typeof A.lazyLoad||I.hasAttribute("data-disable-lazy")||A.lazyLoad(a),e||(g=function(e){function t(){if("complete"!==t.readyState)try{"complete"===(t.readyState=g.contentWindow.document.readyState)&&(g.contentDocument.open(),g.contentDocument.write(atob("PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICAgIDxtZXRhIGNoYXJzZXQ9IlVURi04Ij4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MSI+CiAgICA8dGl0bGU+PC90aXRsZT4KICAgIDxzdHlsZT4KICAgICAgICBib2R5IHsKICAgICAgICAgICAgbWFyZ2luOiAwOwogICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmOwogICAgICAgIH0KCiAgICAgICAgdGFibGUgewogICAgICAgICAgICBib3JkZXI6IDAgbm9uZTsKICAgICAgICAgICAgYm9yZGVyLWNvbGxhcHNlOiBzZXBhcmF0ZTsKICAgICAgICAgICAgYm9yZGVyLXNwYWNpbmc6IDEwcHg7CiAgICAgICAgICAgIGJveC1zaXppbmc6IGNvbnRlbnQtYm94OwogICAgICAgICAgICB3aWR0aDogMTAwJTsKICAgICAgICB9CgogICAgICAgIHRkIHsKICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2VlZTsKICAgICAgICAgICAgLXdlYmtpdC1hbmltYXRpb246IGZhZGluZyAxLjVzIGluZmluaXRlOwogICAgICAgICAgICBhbmltYXRpb246IGZhZGluZyAxLjVzIGluZmluaXRlOwogICAgICAgICAgICBib3JkZXI6IDAgbm9uZTsKICAgICAgICAgICAgYm94LXNpemluZzogY29udGVudC1ib3g7CiAgICAgICAgICAgIGhlaWdodDogNTBweDsKICAgICAgICAgICAgcGFkZGluZzogMDsKICAgICAgICB9CgogICAgICAgIHRkOm50aC1jaGlsZCgxKSB7CiAgICAgICAgICAgIHdpZHRoOiA1MHB4OwogICAgICAgIH0KCiAgICAgICAgdGQ6bnRoLWNoaWxkKDMpIHsKICAgICAgICAgICAgd2lkdGg6IDExNXB4OwogICAgICAgIH0KCiAgICAgICAgQC13ZWJraXQta2V5ZnJhbWVzIGZhZGluZyB7CiAgICAgICAgICAgIDAlIHsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmYWZhZmE7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIDUwJSB7CiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZWVlOwogICAgICAgICAgICB9CgogICAgICAgICAgICAxMDAlIHsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNmYWZhZmE7CiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIEBrZXlmcmFtZXMgZmFkaW5nIHsKICAgICAgICAgICAgMCUgewogICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZhZmFmYTsKICAgICAgICAgICAgfQoKICAgICAgICAgICAgNTAlIHsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6ICNlZWU7CiAgICAgICAgICAgIH0KCiAgICAgICAgICAgIDEwMCUgewogICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2ZhZmFmYTsKICAgICAgICAgICAgfQogICAgICAgIH0KCiAgICAgICAgQG1lZGlhIChtYXgtd2lkdGg6IDQxNHB4KSB7CiAgICAgICAgICAgIHRkOm50aC1jaGlsZCgzKSB7CiAgICAgICAgICAgICAgICBkaXNwbGF5OiBub25lOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgPC9zdHlsZT4KPC9oZWFkPgo8Ym9keT4KPHRhYmxlPgogICAgPHRib2R5PgogICAgPHRyPgogICAgICAgIDx0ZD48L3RkPgogICAgICAgIDx0ZD48L3RkPgogICAgICAgIDx0ZD48L3RkPgogICAgPC90cj4KICAgIDx0cj4KICAgICAgICA8dGQ+PC90ZD4KICAgICAgICA8dGQ+PC90ZD4KICAgICAgICA8dGQ+PC90ZD4KICAgIDwvdHI+CiAgICA8dHI+CiAgICAgICAgPHRkPjwvdGQ+CiAgICAgICAgPHRkPjwvdGQ+CiAgICAgICAgPHRkPjwvdGQ+CiAgICA8L3RyPgogICAgPC90Ym9keT4KPC90YWJsZT4KPC9ib2R5Pgo8L2h0bWw+")),g.contentDocument.close())}catch(e){C&&o(e)}}var g=document.createElement("iframe");g.src="about:blank",g.scrolling="no",g.style.cssText=r({display:"block",border:"0 none","min-width":"0","max-width":"none","min-height":"0","max-height":"none",width:"100%",height:"190px",padding:"0",margin:"0",position:"static"},function(e,t){return e+":"+t+" !important;"});g.addEventListener("load",t),e.appendChild(g),"complete"!==t.readyState&&t();return g}(I)),I.addEventListener("NadaviWidgetInit",function e(t){"error"===t.detail.status&&(a.style.setProperty("display","none","important"),I._nadaviWidget="fail"),g&&g.parentNode.removeChild(g),I.removeEventListener("NadaviWidgetInit",e),C&&o(I,t.detail)}),I.appendChild(a),I._nadaviWidget="done"):I._nadaviWidget="fail")})}},"IntersectionObserver"in window&&(I=new IntersectionObserver(function(e,t){e.forEach(function(e){e.isIntersecting&&((e=e.target).src=e.getAttribute("data-src"),e.removeAttribute("data-src"),t.unobserve(e))})},{rootMargin:"300% 0%"}),A.lazyLoad=function(e){e.setAttribute("data-src",e.src),e.src="javascript:''",I.observe(e)}),window.addEventListener("message",function(e){var t,g,a,I;"string"==typeof e.data&&(e=e.data.match(/^#NADAVI_IFRAME_DATA#(.+)$/))&&e[1]&&(e=JSON.parse(e[1]),t=document.getElementsByName(e.iframeName)[0])&&("info"in e&&t.parentNode.dispatchEvent((g="NadaviWidgetInit",a={bubbles:!0,cancelable:!0,detail:e.info},"function"==typeof window.CustomEvent?I=new window.CustomEvent(g,a):(I=document.createEvent("CustomEvent")).initCustomEvent(g,a.bubbles,a.cancelable,a.detail),I)),"height"in e)&&t.style.setProperty("height",e.height+"px","important")}),"loading"!==document.readyState?n():document.addEventListener("DOMContentLoaded",n))}();
/* 1749814934254 */