app_shop.run((()=>{const t=document.querySelector("header");if(!t)return;const e=document.querySelector(".breadcrumbs");t.append(e)}),[3,4],".breadcrumbs"),app_shop.run((()=>{const t=document.getElementById("layout");if(!t)return;const e=document.querySelector(".breadcrumbs");t.prepend(e)}),[1,2],".breadcrumbs"),app_shop.run((()=>{document.querySelector(".breadcrumbs #back_button").addEventListener("click",(t=>{t.preventDefault(),window.history.back()}))}),"all",".breadcrumbs #back_button"),app_shop.fn.rwdBanner(".platnosci_54388",[1,2,3,4]),appModules.installModule("ExpChck","/gfx/ger/express_checkout.js.gzip?r=1729773238"),app_shop.fn.webAuthnExpChck=new WebAuthn({IAIAccountsUrl:app_shop.vars.IAIAccountsUrl,supportOpera:!1}),-1!==window.location.href.search("#servicesLoginExpChck")&&document.documentElement.classList.add("--expchck-loading"),app_shop.run((async()=>{if(-1!==window.location.href.search("#servicesLoginExpChck")){app_shop.fn.expChck||await appModules.load("ExpChck",{type:"script"});const t=!!document.querySelector(".basketedit_page");let e=!1,o=!1;const i=document.querySelector(".basketedit_express_checkout")||document.querySelector("#cop_summary_template")?.content?.cloneNode(!0)?.querySelector(".cop_buttons__button.--express-checkout");return t&&i?(e=i.hasAttribute("data-virtual-product"),o=i.hasAttribute("data-service-product")):"undefined"!=typeof product_data&&(e=!("product_virtual"!==product_data.product_type),o=!("product_service"!==product_data.product_type)),window.location.hash="",void(app_shop.vars.isLogged?app_shop.fn.expChck.goStep("summary",{previousStep:null,basketeditCheckout:t,virtualProduct:e,serviceProduct:o}):(app_shop.fn.expChck.clearCache(),app_shop.vars.isLogged=!0,app_shop.fn.expChck.goStep("summary",{previousStep:null,state:{loginFromService:!0},basketeditCheckout:t,virtualProduct:e,serviceProduct:o})))}let t=.01*window.innerHeight;document.documentElement.style.setProperty("--vh_expchck",`${t}px`),window.addEventListener("resize",(()=>{t=.01*window.innerHeight,document.documentElement.style.setProperty("--vh_expchck",`${t}px`)}))}),"all","#expchck_header"),$(document).on("click","#photos_slider .photos__link, #photos_nav a.--more",(function(t){t.preventDefault();const e=$(this).hasClass("--more")?parseInt($(this).data("slick-index"),10):parseInt($(this).parent().data("slick-index"),10);return app_shop.vars.projectorPhotoSwipe.init(e),document.activeElement.blur(),!1})),app_shop.run((function(){const t=new AbortController;let e=0;function o(){const e=document.querySelectorAll(".photos__slider .photos___slider_wrapper:not(.slick-initialized) img");e.forEach((o=>{o.addEventListener("load",(o=>{if([...e].every((t=>t.complete))){t.abort();const e=app_shop.vars?.projectorSlider?.slider;return e?.slick("setOption","","",!0),e?.slick("getSlick").setHeight(),void function(t){const e=t?.get(0);e&&(e.parentElement?.setAttribute("style",""),e.parentElement?.style?.removeProperty("--slick-min-height"))}(e)}}),{signal:t.signal})}))}window.addEventListener("DOMContentLoaded",(()=>{o(),app_shop.vars.projectorSlider=new ProjectorSlider({selector:".photos__slider .photos___slider_wrapper:not(.slick-initialized)",callbackBefore:t=>{t.on("init",(function(){0===e&&(!function(t){const e=t?.get(0);let o=e?.offsetHeight;"number"==typeof o&&0!==o&&e&&(o=`${o}px`,e.parentElement?.style?.setProperty("min-height",o),e.parentElement?.style?.setProperty("--slick-min-height",o))}(t),++e)})).on("beforeChange",(function(){$("#photos_slider").removeAttr("data-skeleton")})).on("afterChange",(function(){const o=document.querySelector(".photos__figure.--video.slick-active video[data-src]");if(o){const e=o.getAttribute("data-src");o.setAttribute("src",e),o.removeAttribute("data-src"),o.addEventListener("loadeddata",(function(){t.slick("setOption","","",!0)}))}const i=document.querySelector(".photos__figure.--video:not(.slick-active) video[src]");i&&i.pause(),1===e&&(t?.slick("getSlick").setHeight(),++e)})).on("lazyLoaded",(function(){$("#photos_slider").removeAttr("data-skeleton")})).on("lazyLoadError",(function(){$("#photos_slider").removeAttr("data-skeleton")}))}})})),app_shop.vars.projectorPhotoSwipe=new ProjectorPhotoSwipe({selector:"#photos_slider .photos__figure:not(.slick-cloned) .photos__link",pswp:".pswp"}),$("#photos_slider .photos__link.--video").off().on("click",(function(t){return t.preventDefault(),!1}))}),"all","#photos_slider",!0),app_shop.txt.txt_111709_1="Auf Facebook teilen",app_shop.txt.txt_111709_2="Bild herunterladen",ProjectorPhotoSwipe=function(t){this.params=t,this.defaults={timeToIdle:!1,index:0,zoomEl:!1,fullscreenEl:!1,shareEl:!1,history:!1,focus:!1,showAnimationDuration:0,hideAnimationDuration:0,shareButtons:!1,closeOnScroll:!1,captionEl:!1,clickToCloseNonZoomable:!1,closeElClasses:["caption","ui"]},this.init=t=>{const{selector:e,options:o,pswp:i,itemsArray:n,thumbnailsFunc:r}=this.params;this.settings={...this.defaults,...o},this.selector=e,this.pswp=document.querySelectorAll(i)[0],this.items=[];let s=document.createElement("span");s.classList.add("photoSwipe_overlay"),document.body.appendChild(s),document.querySelector(".photoSwipe_overlay").addEventListener("click",(function(){document.querySelector(".pswp__button--close").click()})),n?this.items=n:this.setItemsArray(),t&&(this.settings.index=t);const a=new PhotoSwipe(this.pswp,PhotoSwipeUI_Default,this.items,this.settings);a.listen("gettingData",(function(t,e){if(e.w<1||e.h<1){const t=new Image;t.onload=function(){e.w=this.width,e.h=this.height,a.updateSize(!0)},t.src=e.src}})),a.init(),"function"==typeof r?r(a):this.setThumbnails(a),document.querySelector(".photos__figure.--video video[src]")&&document.querySelector(".photos__figure.--video video[src]").pause()},this.setItemsArray=()=>{[].slice.call(document.querySelectorAll(this.selector)).forEach((t=>{const e=/\.webp$/i.test(t.querySelector("img")?.currentSrc)||!t.getAttribute("data-href"),o=t.classList.contains("--video")?{html:`<video controls="controls" autoplay="autoplay" data-src="${t.getAttribute("href")}"></video>`}:{src:e?t.getAttribute("href"):t.getAttribute("data-href"),w:t.getAttribute("data-width"),h:t.getAttribute("data-height")};this.items.push(o)}))},this.setThumbnails=t=>{const e=document.createElement("div");e.classList.add("photoSwipe_innerthumbs"),document.querySelector(".pswp").appendChild(e),document.querySelector("div.photoSwipe_innerthumbs").innerHTML=[...document.querySelectorAll("#photos_slider .photos__figure:not(.slick-cloned) .photos__photo")].map((t=>`<figure class="photos__figure --nav">\n      <span class="photos__link --nav">${t.outerHTML}</span>\n    </figure>`)).join(""),document.querySelector(".photos__link.--video video")&&(document.querySelector("div.photoSwipe_innerthumbs").innerHTML+='<figure class="photos__figure --nav --video">\n        <span class="photos__link --nav --video"></span>\n      </figure>'),document.querySelectorAll("div.photoSwipe_innerthumbs .photos__photo").forEach((t=>t.classList.add("--nav"))),1===document.querySelectorAll("#photos_slider .photos__photo").length&&document.querySelector("div.photoSwipe_innerthumbs").classList.add("--one");const o=document.querySelectorAll("div.photoSwipe_innerthumbs .photos__link"),i=t.getCurrentIndex();o[i].classList.add("--active");const n=document.querySelector("div.photoSwipe_innerthumbs .photos__link.--active").getBoundingClientRect().top-document.querySelector("div.photoSwipe_innerthumbs").getBoundingClientRect().top+document.querySelector("div.photoSwipe_innerthumbs").scrollTop;document.querySelector("div.photoSwipe_innerthumbs").scroll({top:n,behavior:"smooth"});let r=document.createElement("span");r.classList.add("photoSwipe_name"),r.innerHTML=`${document.querySelector(".product_name__name").innerText}`,document.querySelector(".pswp__top-bar").append(r);const s=()=>{let t=document.createElement("span"),e=document.querySelector(".pswp__counter").innerText;e=e.replaceAll(" ",""),e=e.split("/"),e[0]=`<b>${e[0]}</b>`,t.innerHTML=e.join("/"),document.querySelector(".pswp__counter").innerHTML="",document.querySelector(".pswp__counter").append(t)};s(),4==app_shop.vars.view&&$(".photoSwipe_innerthumbs").slick({mobileFirst:!0,vertical:!0,dots:!1,arrows:!0,infinite:!1,prevArrow:'<a class="slick-prev" href=""><i class="icon-angle-up"></i></a>',nextArrow:'<a class="slick-next" href=""><i class="icon-angle-down"></i></a>',slidesToShow:7}),o.forEach((e=>{e.addEventListener("click",(function(){o.forEach((t=>{t.classList.remove("--active")})),this.classList.add("--active"),t.goTo([...o].indexOf(this))}));const i=e.querySelector(".photos__photo.slick-loading");i&&(i.setAttribute("src",i.getAttribute("data-lazy")),i.removeAttribute("data-lazy"),i.classList.remove("slick-loading"))})),t.listen("close",(function(){document.querySelector(".photoSwipe_innerthumbs").parentNode.removeChild(document.querySelector(".photoSwipe_innerthumbs")),document.body.removeChild(document.querySelector(".photoSwipe_overlay")),document.querySelector(".pswp video[src]")&&document.querySelector(".pswp video[src]").pause()})),t.listen("afterChange",(function(){const e=document.querySelectorAll("div.photoSwipe_innerthumbs .photos__link"),o=t.getCurrentIndex();e.forEach((t=>{t.classList.remove("--active")})),e[o].classList.add("--active");const i=document.querySelector("div.photoSwipe_innerthumbs .photos__link.--active").getBoundingClientRect().top-document.querySelector("div.photoSwipe_innerthumbs").getBoundingClientRect().top+document.querySelector("div.photoSwipe_innerthumbs").scrollTop;document.querySelector("div.photoSwipe_innerthumbs").scroll({top:i,behavior:"smooth"});const n=t.currItem.container.querySelector("video[data-src]");if(n){const t=n.getAttribute("data-src");n.setAttribute("src",t),n.removeAttribute("data-src")}document.querySelector(".pswp video[src]")&&document.querySelector(".pswp video[src]").pause(),s()}))}},app_shop.run((function(){document.querySelector(".traits__all").addEventListener("click",(function(t){return t.preventDefault(),document.querySelector(".traits").classList.add("--show"),app_shop?.vars?.bLazy?.revalidate(),!1}))}),"all",".traits__all",!0),app_shop.fn.createExpressAutofillConsent=async(t="pin")=>{const e=document.querySelector("#projector_form");if(!e)return;if(!app_shop.fn.checkProjectorData())return;!app_shop.fn.expChck&&appModules&&await(appModules.load?.("ExpChck",{type:"script"}));const o=new FormData(e),i={};for(let[t,e]of o.entries())i[t]=e;sessionStorage.setItem("productData",JSON.stringify(i));const n=!("product_virtual"!==product_data?.product_type),r=!("product_service"!==product_data?.product_type);app_shop.vars.isLogged?await app_shop.fn.expChck.goStep("summary",{previousStep:null,virtualProduct:n,serviceProduct:r}):"pin"!==t?await app_shop.fn.expChck.goStep("loginServices",{previousStep:null,virtualProduct:n,serviceProduct:r}):await app_shop.fn.expChck.goStep("login",{previousStep:null,virtualProduct:n,serviceProduct:r})},app_shop.run((function(){const t=document.querySelector("#projector_express_checkout");t.addEventListener("click",(async()=>{t.classList.add("--loading"),t.getAttribute("data-login")&&sessionStorage.setItem("expressCheckoutLogin",t.getAttribute("data-login")),t.getAttribute("data-type")&&sessionStorage.setItem("expressCheckoutLoginType",t.getAttribute("data-type")),await app_shop.fn.createExpressAutofillConsent(t.getAttribute("data-type")),t.classList.remove("--loading")})),"true"===localStorage.getItem("expchckDeviceRegistered")&&"false"!==localStorage.getItem("expchckSaveDevice")&&t.classList.add("--web-authn")}),"all","#projector_express_checkout",!0),app_shop.run((async function(){if(!app_shop.fn.webAuthnExpChck)return;await app_shop.fn.webAuthnExpChck.checkBrowserSupport()&&document.documentElement.addEventListener("change",(t=>{const{target:e}=t;if(e.closest("#expchck_save_device")){const t=document.querySelector("#projector_express_checkout");if(!t)return;const{checked:o}=e,i=o&&"true"===localStorage.getItem("expchckDeviceRegistered");t.classList.toggle("--web-authn",i)}}))}),"all","#projector_express_checkout"),app_shop.run((function(){app_shop.fn.projectorForm=new ProjectorForm,app_shop.fn.projectorForm.init()}),"all","#projector_form",!0),app_shop.fn.getExpressCheckoutData=async t=>{if("undefined"!=typeof expressCheckoutApi&&"function"==typeof expressCheckoutApi.initCheckout){const e=(t.target?t.target:t).closest(".projector_oneclick__item").getAttribute("data-id"),o=new URLSearchParams(new FormData(document.getElementById("projector_form")));await expressCheckoutApi.initCheckout(e,o)}},app_shop.fn.validateProductConflict=()=>0===document.querySelectorAll("#projector_form .--conflict").length,app_shop.fn.checkProjectorData=t=>{if(!app_shop.fn.projectorForm.sizeSelected())return t||app_shop.fn.projectorForm.alertProjector(),!1;if(!app_shop.fn.validateProductConflict())return Alertek.show_alert(projectorObj.txt["Produkt o wybranej konfiguracji nie istnieje. Wybierz inny wariant."]),!1;if(!app_shop.fn.bundleVersionSelected(t))return!1;if(!app_shop.fn.bundleSizeSelected(t))return!1;const e=document.querySelector(".projector_buy__more");e&&e.classList.add("--active");document.querySelectorAll(".projector_buy__number, .projector_buy__number .f-dropdown-toggle").forEach((t=>{t.classList.remove("--disabled")}));const o=document.querySelector("h1.product_name__name"),i=document.querySelector(".projector_oneclick");document.querySelectorAll(".projector_oneclick__item").forEach((t=>{o&&0===o.textContent.length?(t.classList.remove("--checked"),i&&i.setAttribute("data-hide",!0)):t.classList.add("--checked")}));const n=document.querySelector(".projector_inpost_pay");return n&&n.classList.add("--checked"),!0};const expressCheckoutApiClickEvent=t=>!t.target.closest(".projector_oneclick__item").classList.contains("--loading")&&!!app_shop.fn.checkProjectorData();app_shop.run((function(){document.querySelectorAll(".projector_oneclick__item").forEach((t=>{if(t.addEventListener("click",expressCheckoutApiClickEvent),"undefined"!=typeof expressCheckoutApi&&"function"==typeof expressCheckoutApi.renderButton){const e=t.getAttribute("data-id");expressCheckoutApi.renderButton(e,t)}}))}),"all",".projector_oneclick__item",!0),app_shop.run((()=>{const t=document.querySelector(".projector_inpost_pay");t.addEventListener("click",(async t=>{const{target:e}=t,o=e.closest(".projector_inpost_pay");if(o.classList.contains("--loading"))return;if(o.querySelector('inpost-izi-button[baskedlinked="true"]'))return;if(!app_shop.fn.checkProjectorData())return;const{basketByFront:i}=o.dataset;if("1"!==i)return;const n=e.closest(".inpostizi-bind-button-body")||e.closest("inpost-izi-button");if(!n)return;o.classList.add("--loading"),t.stopImmediatePropagation(),t.preventDefault();const r=document.querySelector("#projector_form"),s=new FormData(r),a=r.getAttribute("action");await fetch(a,{method:"POST",body:s});const p=n.shadowRoot?.querySelector(".inpostizi-bind-button-body")||n;p?.dispatchEvent(new Event("click",{bubbles:!0,cancelable:!0})),o.classList.remove("--loading"),"function"==typeof menu_basket_cache?menu_basket_cache():"function"==typeof app_shop.fn.menu_basket_cache&&app_shop.fn.menu_basket_cache()}),!0),(t=>{const e=`\n      .inpostizi-button {\n        margin: 0 !important;\n        width: 100% !important;\n        max-width: none !important;\n      }\n\n      .inpostizi-bind-button-body {\n        width: 100% !important;\n        max-width: none !important;\n        border-radius: ${getComputedStyle(t).getPropertyValue("--border-radius")||"0px"} !important;\n      }\n\n      .inpostizi-button-bottom {\n        display: none !important;\n      }\n    `,o=document.createElement("style");o.id="inpostPayStyle",o.innerHTML=e;const i=t=>{t.querySelector("style#inpostPayStyle")||t.appendChild(o.cloneNode(!0))},n=t=>{const e=()=>{var o;t.shadowRoot?(i(t.shadowRoot),o=t.shadowRoot,new MutationObserver((()=>{i(o)})).observe(o,{childList:!0,subtree:!0})):requestAnimationFrame(e)};requestAnimationFrame(e)},r=new MutationObserver((()=>{const e=t.querySelector("inpost-izi-button");e&&(n(e),r.disconnect())}));r.observe(t,{childList:!0})})(t),"function"==typeof renderInpostPayButton&&renderInpostPayButton("product","inpostPay",product_data?.product_id)}),"all",".projector_inpost_pay",!0),app_shop.run((function(){app_shop.vars.curr_url_projector=location.pathname,window.addEventListener("popstate",(function(){app_shop.vars.curr_url_projector!==location.pathname&&window.location.reload()}))}),"all","#projector_form");const projectorFormatPrice=t=>format_price(t.price,{mask:app_shop.vars.currency_format,currency:t.currency,currency_space:app_shop.vars.currency_space,currency_before_price:app_shop.vars.currency_before_value});function projectorEndStartCallback(){app_shop.fn.updateYouSave(),app_shop.fn.updateMultipack(),"undefined"!=typeof expressCheckoutApi&&"function"==typeof expressCheckoutApi.refreshInitData&&expressCheckoutApi.refreshInitData(),app_shop.fn.checkProjectorData(!0),app_shop.fn.updateSubscription(),app_shop.fn.updateBuyNumberDetails(),app_shop.fn.updateUnitSellby()}function projectorEndInitFunctionCallback(){}app_shop.fn.updateYouSave=()=>{const t=document.querySelector("#projector_omnibus_percent"),e=document.querySelector("#projector_maxprice_percent"),o=document.querySelector("#projector_beforerebate_percent");if(!t&&!e&&!o)return;const i=(t,e)=>Math.abs((t-e)/t*100),n=+document.querySelector("#projector_price_value")?.dataset?.price;if(t){const e=+document.querySelector("#projector_omnibus_price_value")?.dataset?.price,o=i(e,n);let r="";e>n&&0!=+o.toFixed()?r="-":e<n&&0!=+o.toFixed()&&(r="+"),t.textContent=`${r}${o.toFixed()}%`}if(e){const t=+document.querySelector("#projector_price_maxprice")?.dataset?.price,o=i(t,n);let r="";t>n&&0!=+t.toFixed()?r="-":t<n&&0!=+t.toFixed()&&(r="+"),e.textContent=`${r}${o.toFixed()}%`}if(o){const t=+document.querySelector("#projector_price_beforerebate")?.dataset?.price,e=i(t,n);let r="";t>n&&0!=+t.toFixed()?r="-":t<n&&0!=+t.toFixed()&&(r="+"),o.textContent=`${r}${e.toFixed()}%`}app_shop.fn.updateOmnibusClasses()},app_shop.fn.updateBuyNumberDetails=()=>{const t=document.querySelector("#projector_buy_section .projector_buy__number_amounts"),e=t?.querySelector(".number_amount"),o=t?.querySelector(".number_unit");t&&o&&e&&projectorObj?.currentSizeObj?.amount>0&&(e.textContent=projectorObj.currentSizeObj.amount+" ",o.textContent=projectorObj.currentSizeObj.amount>1?projectorObj.currentSizeObj.unit_plural:projectorObj.currentSizeObj.unit+" ",t.classList.remove("d-none"))},app_shop.fn.updateMultipack=()=>{const t=document.querySelector("#projector_form .projector_multipack");if(!t)return;const{price:{rebateNumber:e}={}}=projectorObj.currentSizeObj||{};if(!e)return void t.classList.add("--hide");const o=!!projectorObj.rebateThreshold&&parseFloat(projectorObj.rebateThreshold,10),i=t.querySelectorAll(".projector_multipack__item");0!==i.length?(t.classList.remove("--hide"),t.classList.add("--active"),i.forEach(((t,i)=>{const n=t.querySelector(".projector_multipack__price"),r=t.querySelector("input");if(!n||!r)return;const s="net"===app_shop.vars.priceType?"net_":"",a=e.items[i]?.[`price_${s}formatted`]||e[`nextprice_${s}formatted`];n.textContent=a;const{value:p}=t.dataset;o&&o===parseFloat(p,10)?r.checked=!0:r.checked=!1}))):t.classList.add("--hide")},app_shop.fn.updateSubscription=()=>{const t=document.getElementById("projector_number");if(!t)return;const e=document.getElementById("projector_form");if(!e)return;const{amount:o}=projectorObj.currentSizeObj||{};if(!o||+o<=0)return;+(t.getAttribute("data-minimum-quantity-subscription")||t.getAttribute("data-minimum-quantity")||t.getAttribute("data-sellby"))>+o&&e.classList.add("disable")},app_shop.fn.updateUnitSellby=()=>{if(!projectorObj.configObj?.valueOfNumberInput)return;if(document.querySelectorAll(".projector_prices__unit_sellby").forEach((t=>{t.textContent=projectorObj.configObj.valueOfNumberInput,1!=+projectorObj.configObj.valueOfNumberInput?t.style.display="":t.style.display="none"})),!projectorObj.currentSizeObj?.unit)return;document.querySelectorAll(".projector_prices__unit").forEach((t=>{1!=+projectorObj.configObj.valueOfNumberInput?t.textContent=projectorObj.currentSizeObj.unit_plural?projectorObj.currentSizeObj.unit_plural:projectorObj.currentSizeObj.unit:t.textContent=projectorObj.currentSizeObj.unit}))},app_shop.fn.updateOmnibusClasses=()=>{const t=document.getElementById("projector_prices_wrapper");if(!t)return;const e=document.querySelector(".product_name__block.--label"),o=+document.querySelector("#projector_omnibus_price_value")?.dataset?.price;if(!o||projectorObj?.currentSizeObj?.price&&!projectorObj?.currentSizeObj?.price?.omnibus_price)return t.classList.remove("--omnibus","--omnibus-short","--omnibus-code","--omnibus-code-short","--omnibus-new-price","--omnibus-higher"),void e?.classList.remove("--omnibus");const i=+document.querySelector("#projector_price_value")?.dataset?.price,n=+document.querySelector("#projector_price_maxprice")?.dataset?.price,r=+document.querySelector("#projector_price_beforerebate")?.dataset?.price;t.classList.add("--omnibus"),e?.classList.add("--omnibus"),t.classList.toggle("--omnibus-short",!(n&&n!==o&&(!projectorObj?.currentSizeObj?.price||projectorObj?.currentSizeObj?.price?.maxprice))),t.classList.toggle("--omnibus-code",!!r),t.classList.toggle("--omnibus-code-short",!!r&&r===o),t.classList.toggle("--omnibus-new-price",!!document.querySelector("#projector_price_new_price_wrapper")),t.classList.toggle("--omnibus-higher",o>i&&!document.querySelector("#projector_price_new_price_wrapper")),e?.classList.toggle("--omnibus-higher",o>i&&!document.querySelector("#projector_price_new_price_wrapper"))},app_shop.run((function(){app_shop.fn.productStocks=new ProductStocks({stockLinkSelector:".projector_stocks__info.--link"}),app_shop.fn.productStocks.init()}),"all",".projector_stocks__info.--link",!0),app_shop.run((function(){const t=document.querySelector(".projector_instalments");if(!t)return;document.querySelector(".projector_instalments__link").addEventListener("click",(e=>{e.preventDefault(),t.classList.toggle("--active"),app_shop.vars.bLazy.revalidate()}))}),"all",".projector_instalments__link",!0);var projectorv3_disable_ajax="1";projectorObj=new projectorClass,projectorObj.txt.additional_texts="",projectorObj.txt.za=" Versand in ",projectorObj.txt.taniej="% (",projectorObj.txt.oszczedzasz="(Rabatt ",projectorObj.txt.wzestawie="), wenn Sie im Set kaufen. ",projectorObj.txt.niedostepny="Das Produkt ist nicht verfügbar",projectorObj.txt.tylkotel="Preis auf Anfrage. Bitte kontaktieren Sie den Händler.",projectorObj.txt.tylko_punkty="Das Produkt ist nur im Rahmen des Treueprogramms erhältlich.",projectorObj.txt.za_malo_punktow="Sie haben nicht genug Punkte",projectorObj.txt.gratis="Kostenloser Versand!",projectorObj.txt.niemastanu="Das Produkt ist nicht verfügbar",projectorObj.txt.status_24="24 Std.",projectorObj.txt.status_48="48 Std.",projectorObj.txt.status_natychmiast="innerhalb von 24 Stunden",projectorObj.txt.day=" Tages ",projectorObj.txt.days=" Tage  ",projectorObj.txt.hour=" Stunden.",projectorObj.txt.hours=" Stunden. ",projectorObj.txt.min=" min ",projectorObj.txt.mins=" min. ",projectorObj.txt.proc="%",projectorObj.txt.wybrany_rozmiar="Größe:",projectorObj.txt.wysylka="Versandinformationen ",projectorObj.txt.wysylka_za="Versand innerhalb von ",projectorObj.txt.shipmentIn="Versand in ",projectorObj.txt.tomorrow=" morgen",projectorObj.txt.dostepny="",projectorObj.txt.dostepny_za=" Versand in ",projectorObj.txt.pkt=" Pkt.",projectorObj.txt.status_amount_full="höhere Stückzahl",projectorObj.txt.status_amount_null="nicht auf Lager",projectorObj.txt.forpointsonly="Dieses Produkt können Sie gegen Ihre Treuepunkte tauschen.",projectorObj.txt.disable_desc="Kontaktieren Sie uns.",projectorObj.txt.choiceSize="Größe auswählen",projectorObj.txt.maksymalnie="Maximal können Sie fügen",projectorObj.txt.minimalnie="Minimum müssen Sie bestellen ",projectorObj.txt.brak_magazyn="Nicht auf Lager",projectorObj.txt.koszt_od="Kosten ab ",projectorObj.txt.wysylka_total_begin="<br/>(von Warenkorbinhalt ",projectorObj.txt.wysylka_total_end=")",projectorObj.txt.nawias_end_collection="% einkauf in Sammlung)",projectorObj.txt.nawias_end_bundle="% wenn Sie im Set kaufen)",projectorObj.txt.nawias_end="%)",projectorObj.txt.gratis_produkt="Gratis!",projectorObj.txt.virtual_inbasket="Das Produkt befindet sich bereits im Warenkorb",projectorObj.txt.infinity="",projectorObj.txt.ilosc_mm="Wir haben derzeit auf Lager <b>%d</b>.",projectorObj.txt.ilosc_mo="Weiter <b>%d</b> wir können auf Anfrage importieren.",projectorObj.txt.ilosc_mo_inf="Jede Menge kann auf Bestellung importiert werden.",projectorObj.txt.size_select_functionality="0",projectorObj.txt.sizes_projector_functionality="1",projectorObj.txt.size_select_label="Größe:",projectorObj.txt.size_select_tell_availability="über die Verfügbarkeit informieren",projectorObj.txt.size_select_last_unit="Letzte Kunst!",projectorObj.txt.size_select_few_last_units="Letzte Stücke!",projectorObj.txt.order_by="Bestellen Sie bis ",projectorObj.txt.it_will_ship_today=" Uhr und es wird noch heute versandt",projectorObj.txt["Produkt o wybranej konfiguracji nie istnieje. Wybierz inny wariant."]="Das Produkt mit der gewählten Konfiguration existiert nicht. Bitte wählen Sie eine andere Variante.";var Projector_txt_maksymalnie="Maximal können Sie bestellen: ",Projector_txt_minimalnie=projectorObj.txt.minimalnie,Projector_txt_brak_magazyn="Nicht auf Lager",Projector_txt_produkt_niedostepny="Das Produkt ist nicht verfügbar",Projector_txt_podajilosc="Geben Sie die Anzahl für die ausgewählte Größe an",Projector_txt_zalogujsie="Einloggen",Projector_txt_closedialog="",txt_raty_button1="Die Raten für das ausgewählte Produkt berechnen",txt_raty_button2="Die Raten zusammen mit Gesamtzahl berechnen ",txt_62619_cms_table="Größentabelle",txt_toltip_1="Die günstigste verfügbare Versandform. Die vollständige Liste der Preise und Kuriere werden Sie im Laufe des Bestellprozesses erhalten.",txt_toltip_2="Das Treueprogramm ist nur für registrierte Kunden verfügbar.",txt_toltip_2a="Sie können Ihre Treuepunkte gegen dieses Produkt tauschen. Ihr aktueller Punktestand beträgt [xxx] Punkte.",txt_toltip_3="Nach Eingang der Zahlungsbestätigung werden wir Ihnen so viele Treuepunkte gewähren. Um Punkte sammeln zu können, müssen Sie ein registrierter Kunde sein.",txt_toltip_3a="Nach Eingang der Zahlungsbestätigung werden wir Ihnen so viele Treuepunkte gewähren.",txt_toltip_4="",prepaid="Zahlung vorm Versand der Bestellung",dvp="Zahlung bei Annahme der Sendung",day_txt=" Tages ",days_txt=" Tage ",hour_txt=" Stunden. ",hours_txt=" Stunden. ",min_txt=" min.",txt_24h="24 Stunden",txt_do_24h="24 Stunden",delivery_txt="Transport dauert ",delivery_txt2="Vorbereitungszeit zur persönlichen Entgegennahme ",delivery_txt3="Lieferungsart verfügbar ab ",gratis_txt="Gratis!";app_shop.txt.txt_74629_1="Bis zum Ende des Sonderangebot: ",app_shop.txt.txt_74629_2="Wählen Sie eine andere Option aus.",app_shop.txt.txt_74629_3="Tage",app_shop.txt.txt_74629_4="Stunden ",app_shop.txt.txt_74629_5="Minuten ",app_shop.txt.txt_74629_6="Sekunden ",app_shop.txt.txt_74629_7="Es wurde keinen Versandpreis festgelegt, nach dem Kauf wird Sie der Verkäufer kontaktieren.";var txt_shipping_8=" heute",txt_shipping_9=" Versandbereit am Montag ",txt_shipping_10=" Versandbereit am Dienstag ",txt_shipping_11=" Versandbereit am Mittwoch ",txt_shipping_12=" Versandbereit am Donnerstag ",txt_shipping_13=" Versandbereit am Freitag ",txt_shipping_14=" Versandbereit am Samstag ",txt_shipping_15=" Versandbereit am Sonntag ",txt_shipping_16="Morgen!";app_shop.txt.txt_74629_8="Größe auswählen",projectorObj.options.friendly_shipping_format=[txt_shipping_8,txt_shipping_9,txt_shipping_10,txt_shipping_11,txt_shipping_12,txt_shipping_13,txt_shipping_14,txt_shipping_15],app_shop.txt.txt_74629_9="Ihre Bestellung ist fertig für den Versand",app_shop.txt.txt_74629_10="Ihre Bestellung ist schon verpackt und bereit, um vom Kurierdienst abgeholt zu werden",app_shop.txt.txt_74629_11="Dauer der Vorbereitung der Ware zum Versand",app_shop.txt.txt_74629_11a="Versandbereit",app_shop.txt.txt_74629_11b="Das Produkt ist verpackt und kann per Kurier abgeholt werden",app_shop.txt.txt_74629_12="In dieser Zeit wird die Ware verpackt und vorbereitet, um vom Kurierdienst abgeholt zu werden",app_shop.txt.txt_74629_13="",app_shop.txt.txt_74629_14="In bis zu 24 Stunden wird die Ware vorbereitet, um persönlich abgeholt zu werden",app_shop.txt.txt_74629_15="In den nächsten 24 Stunden wird die Ware vorbereitet, um persönlich abgeholt zu werden",app_shop.txt.txt_74629_16="Vorbereitungszeit zur persönlichen Entgegennahme ",app_shop.txt.txt_74629_17="Die Sendung kommt heute bei Ihnen an! ",app_shop.txt.txt_74629_18="Die Sendung kommt morgen bei Ihnen an!",app_shop.txt.txt_74629_19="Sie erhalten Ihre Bestellung innerhalb von ",app_shop.txt.txt_74629_16467="Fenster schliessen",app_shop.txt.txt_74629_conflict="Wenn diese Position ausgewählt wird, wird man andere Optionen entsprechend anpassen müssen. ",app_shop.txt.txt_sold_out="ausverkauft";var txt_62619_nieprawidlowy_email="Ungültige E-Mail-Adresse.",txt_62619_przekroczono_liczbe="Die Anzahl der täglichen Benachrichtigungen wurde überschritten.",txt_62619_podczas_dodawania="Beim Hinzufügen des Produkts ist ein Fehler aufgetreten. Bitte überprüfen Sie die eingegebenen Daten",txt_62619_produkt_dodany="Das Produkt wurde korrekt zu den Benachrichtigungen hinzugefügt.",txt_62619_blad_pobrania="Es ist ein Verbindungsproblem aufgetreten. Bitte führen Sie den Vorgang erneut durch.",txt_62619_bledny_email="Ungültige E-Mail-Adresse. Bitte geben Sie Ihre vollständige E-Mail-Adresse ein, z.B. max@mustermann.com ",txt_62619_wpisz_telefon="Geben Sie Ihre Telefonnummer ein. ",fashionGallery_new="";app_shop.txt.daysOfWeek=["Heute","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],app_shop.txt.shippingInfoVat="* Bruttopreise (inkl. MwSt.)",app_shop.txt.shippingInfoPrepaid="Zahlung vorm Versand der Bestellung",app_shop.txt.shippingInfoDvp="Zahlung bei Annahme der Sendung",app_shop.txt.shippingInfoHeaderName="Lieferungsart",app_shop.txt.shippingInfoHeaderDelivery="Voraussichtliche Lieferung",app_shop.txt.shippingInfoHeaderCost="Preis *",app_shop.txt.shippingInfoCurrentRegion="Die angegebenen Versandzeiten und -kosten gelten für das gewählte Lieferland: ",app_shop.txt.shippingInfoCurrentZipcode="Die angegebenen Versandzeiten und -kosten gelten für die gewählte Lieferregion: ",app_shop.txt.shippingInfoAndRegion=" und Region: ",app_shop.txt.shippingInfoDefaultRegion="Standardlieferland wiederherstellen: ",app_shop.txt.shippingInfoDefaultZipcode="Standardliefergebiet wiederherstellen: ",app_shop.txt.linkCopiedToClipboard="Link in die Zwischenablage kopiert";const CountdownTimer=function(t,e){this.prepareHtml=(t,e,o,i)=>`\n    <label class="projector_label">${app_shop.txt.txt_74629_1}</label>\n    <div>\n      ${+t>0?`<span class="number-wrapper"><div class="line"></div><div class="caption">${app_shop.txt.txt_74629_3}</div><span class="number day">${t}</span></span>`:""}\n      <span class="number-wrapper"><div class="line"></div><div class="caption">${app_shop.txt.txt_74629_4}</div><span class="number hour">${e}</span></span>\n      <span class="number-wrapper"><div class="line"></div><div class="caption">${app_shop.txt.txt_74629_5}</div><span class="number min">${o}</span></span>\n      <span class="number-wrapper"><div class="line"></div><div class="caption">${app_shop.txt.txt_74629_6}</div><span class="number sec">${i}</span></span>\n    </div>\n  `,this.addZero=t=>1===t.toString().length?`0${t}`.slice(-2):t,this.countDown=()=>{if(!this.el)return;const t=new Date;if(this.date-t<=0)return clearTimeout(this.timer),void this.el.remove();const e=this.addZero(Math.floor((this.date-t)/864e5)),o=this.addZero(Math.floor((this.date-t)%864e5/36e5)),i=this.addZero(Math.floor((this.date-t)%864e5/6e4)%60),n=this.addZero(Math.floor((this.date-t)%864e5/1e3)%60%60),r=this.prepareHtml(e,o,i,n);this.el.innerHTML=r,this.timer=setTimeout((()=>{this.countDown()}),1e3)},this.init=()=>{this.el=t,this.date=e,this.timer="",this.countDown()}};app_shop.graphql.projectorShippingInput=()=>{let t="";if(document.querySelector('#projector_form[data-type="product_bundle"]')){t=`bundleParts: [${[...document.querySelector("#projector_form[data-collection]")?document.querySelectorAll(".projector_bundle__checkbox:checked"):document.querySelectorAll(".projector_bundle__item")].map((t=>`{\n      id: ${t.closest(".projector_bundle__item").querySelector(".projector_bundle__product_id").value}\n      size: "${t.closest(".projector_bundle__item").querySelector(".projector_bundle__product_size")?t.closest(".projector_bundle__item").querySelector(".projector_bundle__product_size").value:t.closest(".projector_bundle__item").querySelector(".projector_bundle__size-select").value}"\n    }`)).join("")}]`}return`ShippingInput: {\n    mode: product\n    products: [{\n      id: ${document.getElementById("projector_product_hidden").value}\n      size: "${"onesize"===document.getElementById("projector_size_hidden").value?"uniw":document.getElementById("projector_size_hidden").value}"\n      quantity: ${document.getElementById("projector_number")?document.getElementById("projector_number").value:product_data.unit_sellby}\n      ${t}\n    }]\n  }`},app_shop.graphql.getShippingTime=async t=>{const e=JSON.stringify({query:`query {\n      shipping(${t}) {\n        shippingTime {\n          shippingTime {\n            time {\n              days\n              hours\n              minutes\n            }\n            weekDay\n            weekAmount\n            today\n          }\n          time\n          unknownTime\n          todayShipmentDeadline\n        }\n      }\n    }`});try{const t=await fetch(app_shop.urls.graphql,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:e});return await t.json()}catch(t){return!1}},app_shop.graphql.getCouriersForModal=async t=>{const e=JSON.stringify({query:`query {\n      shipping(${t}) {\n        shipping {\n          courier {\n            icon\n            name\n          }\n          prepaid\n          cost {\n            value\n            formatted\n          }\n          deliveryTime {\n            time {\n              days\n              hours\n              minutes\n            }\n            weekDay\n            weekAmount\n            today\n          }\n        }\n      }\n    }`});try{const t=await fetch(app_shop.urls.graphql,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:e});return await t.json()}catch(t){return!1}},ShippingInfo=function(t){const e=this;this.params=t||{},this.couriersDataBuffer=[],this.events={unsetRegion:t=>(t.preventDefault(),this.unsetTemporaryRegion(),!1),unsetZipcode:t=>(t.preventDefault(),this.unsetTemporaryZipcode(),!1),unsetRegionAndZipcode:t=>(t.preventDefault(),this.unsetTemporaryRegionAndZipcode(),!1)},this.queries={unsetRegion:()=>JSON.stringify({query:"mutation {\n        unsetTemporaryRegion {\n          status\n          error {\n            code\n            message\n          }\n        }\n      }"}),unsetZipcode:()=>JSON.stringify({query:"mutation {\n        unsetTemporaryZipcode {\n          status\n          error {\n            code\n            message\n          }\n        }\n      }"}),unsetRegionAndZipcode:()=>JSON.stringify({query:"mutation {\n        unsetTemporaryRegion {\n          status\n          error {\n            code\n            message\n          }\n        }\n        unsetTemporaryZipcode {\n          status\n          error {\n            code\n            message\n          }\n        }\n      }"})},this.fetchData=async(t={})=>{const{data:e,link:o,linkParameter:i=""}=t;if(!e)return!1;try{const t=await fetch(`${o||app_shop.urls.graphql||"/graphql/v1"}${i}`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:e});return await t.json()}catch(t){return!1}},this.unsetTemporaryRegion=async()=>{const t=document.querySelector(".modal");t&&t.classList.add("--loading");const e=await this.fetchData({data:this.queries.unsetRegion(),linkParameter:"?mutation=unsetRegion"}),{status:o}=e?.data?.unsetTemporaryRegion;t&&t.classList.add("--remove"),"success"===o&&(document.cookie="setRegionForced=; path=/; Max-Age=-99999999;",this.couriersDataBuffer=[],this.init())},this.unsetTemporaryZipcode=async()=>{const t=document.querySelector(".modal");t&&t.classList.add("--loading");const e=await this.fetchData({data:this.queries.unsetZipcode(),linkParameter:"?mutation=unsetZipcode"}),{status:o}=e?.data?.unsetTemporaryZipcode;t&&t.classList.add("--remove"),"success"===o&&(document.cookie="setZipcodeForced=; path=/; Max-Age=-99999999;",this.couriersDataBuffer=[],this.init())},this.unsetTemporaryRegionAndZipcode=async()=>{const t=document.querySelector(".modal");t&&t.classList.add("--loading");const e=await this.fetchData({data:this.queries.unsetRegionAndZipcode(),linkParameter:"?mutation=unsetRegionAndZipcode"}),{status:o}=e?.data?.unsetTemporaryRegion;t&&t.classList.add("--remove"),"success"===o&&(document.cookie="setRegionForced=; path=/; Max-Age=-99999999;",document.cookie="setZipcodeForced=; path=/; Max-Age=-99999999;",this.couriersDataBuffer=[],this.init())},this.getCookieByName=t=>{const e=`; ${document.cookie}`.split(`; ${t}=`);return 2===e.length&&e.pop().split(";").shift()},this.calculateDate=t=>{const{days:e,hours:o,minutes:i}=t,n=new Date;return void 0!==e&&n.setDate(n.getDate()+parseInt(e,10)),void 0!==o&&n.setHours(n.getHours()+parseInt(o,10)),void 0!==i&&n.setMinutes(n.getMinutes()+parseInt(i,10)),n.toJSON().slice(0,10).split("-").reverse().slice(0,-1).join(".")},this.getCourierHtml=t=>{const o=document.createElement("div");o.classList.add("shipping_info__courier");const i=t.courier.icon,n=t.courier.name,r=t.deliveryTime.today?app_shop.txt.daysOfWeek[0]:app_shop.txt.daysOfWeek[t.deliveryTime.weekDay],s=t.deliveryTime.weekAmount>0?` (${e.calculateDate({days:t.deliveryTime.time.days,hours:t.deliveryTime.time.hours,minutes:t.deliveryTime.time.minutes})})`:"",a=t.cost.value>0?t.cost.formatted:gratis_txt;return o.innerHTML=`<span class="shipping_info__item --icon"><img src="${i}" alt="${n}"/></span>\n    <span class="shipping_info__item --name">${n}</span>\n    <span class="shipping_info__item --delivery">${r}${s}</span>\n    <strong class="shipping_info__item --cost">${a}</strong>`,o},this.createRegionForcedMessage=()=>{const t=this.getCookieByName("setRegionForced"),e=this.getCookieByName("setZipcodeForced");if(!t&&!e)return"";const o=JSON.parse(t),i=JSON.parse(e),{currentCountry:n,defaultCountry:r,showModal:s}=o||{},{currentZipcode:a,defaultZipcode:p,showModal:c}=i||{};if(!s&&!c)return"";const l=!n&&a,d=!l&&a;return`<div class="shipping_info__top">\n      <span class="shipping_info__current_region">${l?app_shop.txt.shippingInfoCurrentZipcode:app_shop.txt.shippingInfoCurrentRegion}<strong class="shipping_info__region_name">${l?a:n}</strong>${d?`<span class="shipping_info__and_region">${app_shop.txt.shippingInfoAndRegion}<strong>${a}</strong></span>`:""}</span>\n      <a href="#unsetTemporaryRegion" class="shipping_info__default_region">${l?app_shop.txt.shippingInfoDefaultZipcode:app_shop.txt.shippingInfoDefaultRegion}<strong class="shipping_info__region_name">${l?p:r}</strong></a>\n    </div>`},this.create=async()=>{const t=md5(this.productParamsFunction()),o=this.couriersDataBuffer.filter((e=>e.key===t));let i={};if(o.length?i=JSON.parse(o[0].value):(i=await this.getCouriersFunction(this.productParamsFunction()),this.couriersDataBuffer.push({key:t,value:JSON.stringify(i)})),i&&i.data&&i.data.shipping&&i.data.shipping.shipping){const t=this.createRegionForcedMessage(),{shipping:o}=i.data.shipping,n=o.filter((t=>"dvp"===t.prepaid)),r=o.filter((t=>"prepaid"===t.prepaid)),s=document.createElement("div");s.classList.add("shipping_info"),s.id="shipping_info",s.innerHTML=`${t}<div class="shipping_info__body">\n        ${r.length?`<div class="shipping_info__block --prepaid">\n          <strong class="shipping_info__label">${app_shop.txt.shippingInfoPrepaid}</strong>\n          <div class="shipping_info__header">\n            <span class="shipping_info__header_item --icon-name">${app_shop.txt.shippingInfoHeaderName}</span>\n            <span class="shipping_info__header_item --delivery">${app_shop.txt.shippingInfoHeaderDelivery}</span>\n            <span class="shipping_info__header_item --cost">${app_shop.txt.shippingInfoHeaderCost}</span>\n          </div>\n          <div class="shipping_info__couriers">\n            ${r.map((t=>e.getCourierHtml(t).outerHTML)).join("")}\n          </div>\n        </div>`:""}\n        ${n.length?`<div class="shipping_info__block --prepaid">\n          <strong class="shipping_info__label">${app_shop.txt.shippingInfoDvp}</strong>\n          <div class="shipping_info__header">\n            <span class="shipping_info__header_item --icon-name">${app_shop.txt.shippingInfoHeaderName}</span>\n            <span class="shipping_info__header_item --delivery">${app_shop.txt.shippingInfoHeaderDelivery}</span>\n            <span class="shipping_info__header_item --cost">${app_shop.txt.shippingInfoHeaderCost}</span>\n          </div>\n          <div class="shipping_info__couriers">\n            ${n.map((t=>e.getCourierHtml(t).outerHTML)).join("")}\n          </div>\n        </div>`:""}\n      </div>\n      <div class="shipping_info__footer">\n        <span class="shipping_info__vat">${app_shop.txt.shippingInfoVat}</span>\n      </div>`,this.onlyHtml?this.onlyHtml(s):Modal({element:s,classList:"--shipping-info --large",afterShow:this.afterShowModal});const a=this.getCookieByName("setRegionForced"),p=this.getCookieByName("setZipcodeForced");let c="region";!a&&p&&(c="zipcode"),a&&p&&(c="regionAndZipcode"),this.initEvents({type:c})}else{const t=`<div class="menu_messages_message"><div class="menu_messages_message_sub"><p>${app_shop.txt.txt_74629_7}</p></div></div>`;this.onlyHtml?this.onlyHtml(t):Modal({html:t,classList:"--shipping-info",afterShow:this.afterShowModal})}},this.initEvents=({type:t})=>{const e=document.querySelector(".shipping_info__default_region");e&&("region"===t&&e.addEventListener("click",this.events.unsetRegion),"zipcode"===t&&e.addEventListener("click",this.events.unsetZipcode),"regionAndZipcode"===t&&e.addEventListener("click",this.events.unsetRegionAndZipcode))},this.init=()=>{const t=this.getCookieByName("setRegionForced"),e=this.getCookieByName("setZipcodeForced");(t||e)&&(this.couriersDataBuffer=[]);const{getCouriersFunction:o,productParamsFunction:i,afterShowModal:n,onlyHtml:r}=this.params;this.getCouriersFunction=o||!1,this.productParamsFunction=i||!1,this.afterShowModal=n||!1,this.onlyHtml=r||!1,this.create()}},app_shop.run((function(){$(".enclosures__name.--audio, .enclosures__name.--video").on("click",(function(t){let e;return t.stopPropagation(),e=$(this).hasClass("--audio")?`<audio src="${$(this).attr("href")}" controls autoplay></audio>`:`<video width="100%" height="478" src="${$(this).attr("href")}" controls autoplay></video>`,Modal({html:e,classList:"--enclosures"}),!1})),"function"==typeof ProjectorPhotoSwipe&&($(".enclosures__name.--image").on("click",(function(t){t.preventDefault();const e=parseInt($(this).data("index"),10);return app_shop.vars.projectorEnclosuresPhotoSwipe.init(e),!1})),$(".enclosures__name.--image").each((function(t){$(this).attr("data-index",t)})),app_shop.vars.projectorEnclosuresPhotoSwipe=new ProjectorPhotoSwipe({selector:".enclosures__name.--image",pswp:".pswp"}))}),"all","#projector_enclosures",!0),app_shop.run((function(){$(".questions__question").on("click",(function(){return $(this).parent().toggleClass("--active"),!1})),$(".questions__button").on("click",(function(t){return t.stopPropagation(),Modal({element:$(".askforproduct"),classList:"--askforproduct"}),!1}))}),"all","#product_questions_list",!0),app_shop.run((function(){$("#askforproduct__email_input, #askforproduct__question_input").on("input",(function(){clearTimeout(app_shop.formControl.timeHandle);const t=$(this);app_shop.formControl.timeHandle=setTimeout((function(){app_shop.formControl.validate(t)}),500)})),$(".askforproduct__button").on("click",(function(){return app_shop.formControl.checkForm($(this).parents(".askforproduct__form"))}))}),"all",".askforproduct",!0),app_shop.run((function(){$(".opinions__more_txt").on("click",(function(t){return t.preventDefault(),$('#opinions_section .opinions_list [data-hide="true"]').attr("data-hide",!1),app_shop?.vars?.bLazy?.revalidate(),$(".opinions__more").hide(),$(".opinions_list").addClass("show"),!1}))}),"all",".opinions__more",!0),app_shop.run((function(){$("#opinions_section .opinions_element_photo a").on("click",(function(t){t.preventDefault(),t.stopPropagation();const e=$(this),o=e.attr("href"),i=e.find("img").attr("title"),n=new Image;return n.src=o,n.onload=function(){Modal({html:`<div id="ui-dialogimg"><img alt="${i}" src="${o}" /></div>`})},!1}))}),"all","#opinions_section .opinions_element_photo",!0),app_shop.run((function(){document.getElementById("opinions_filter_confirmed").addEventListener("change",(function(){const t=document.querySelector(".opinions__more");t&&(t.style.display="none");const e=document.querySelector(".opinion_rate.--active");(e?document.querySelectorAll(`.opinions_list__item[data-opinion_rate="${e.id}"]`):document.querySelectorAll(".opinions_list__item")).forEach((t=>{this.checked&&"false"===t.getAttribute("data-confirmed")?(t.setAttribute("data-hide",!0),app_shop.vars.view>2&&document.getElementById("opinions_section").scrollIntoView({behavior:"smooth"})):(t.setAttribute("data-hide",!1),app_shop?.vars?.bLazy?.revalidate())})),document.querySelector('.opinions_list__item[data-hide="false"]')?document.getElementById("no_opinions_of_type").classList.add("d-none"):document.getElementById("no_opinions_of_type").classList.remove("d-none")}))}),"all","#opinions_filter_confirmed",!0),app_shop.vars.opinions_empty_input="Pflichtfeld.",app_shop.vars.opinions_not_email="Falsche E-Mail-Adresse.",app_shop.fn.validateEmail=function(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())},app_shop.fn.opinionsValidate=function(t){var e=t.find("input[required]");return $.each(e,(function(t,e){$(e).parent().removeClass("has-error").find(".validate_message").remove(),$(e).val()?"email"!==$(e).prop("type")||app_shop.fn.validateEmail($(e).val())||$(e).parent().addClass("has-error").append('<span class="help-block validate_message text-danger">'+app_shop.vars.opinions_not_email+"</span>"):$(e).parent().addClass("has-error").append('<span class="help-block validate_message text-danger">'+app_shop.vars.opinions_empty_input+"</span>")})),!t.find(".has-error").length};