PageSourceSearch

https://dietetykxxiwieku.pl/wp-content/themes/dnnz/dist/js/blocks/offer-20.js?ver=1.1.12

js dietetykxxiwieku.pl collected 2026-10-08 12:03:48 UTC 4,309 bytes, 1 lines download raw bytes

1!function(){function t(t,i){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,i){if(t){if("string"==typeof t)return e(t,i);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,i):void 0}}(t))||i&&t&&"number"==typeof t.length){r&&(t=r);var a=0,n=function(){};return{s:n,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){c=!0,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}!function(e){function i(t){return(t=Number.isInteger(t)?t:t.toFixed(2)).toString().replace(".",",")}function r(){var t=e(".offer-20_column-top"),i=0;t.css("min-height",""),t.each((function(){e(this).innerHeight()>i&&(i=e(this).innerHeight())})),t.css("min-height",i)}e(".offer-20 .offer-20__select.variant li").on("click",(function(t){t.preventDefault(),e(this).parent().find("li").removeClass("active"),e(this).addClass("active");var r=e(this).data("variant"),a=e(this).find(".variant-title-mobile").text(),n=e(this).data("variant-length"),o=e(this).data("variant-show-price-months"),s=e(this).parents(".offer-20").data("showPromoPrices"),c=e(this).data("hide-cta");e(".offer-20_column").each((function(){var t=e(this).data("variants"),d=e(this).find(".prices .price_package .price"),h=e(this).find(".prices .price-month strong"),f=e(this).find(".prices .price-month del"),l=e(this).find(".price_package .price_for_x_months");!s&&1!==parseInt(n)||s&&t[r].is_on_sale?f.show():f.hide(),o?l.show():l.hide(),e(this).find(".variant_length span").text(a);var p=i(t[r].price/n),u=i(s?t[r].display_regular_price:t[0].price);h.text(p),d.html(t[r].price_html),f.text(u);var v=e(this).find(".product a"),g=e(this).find(".gtm4wp_productdata"),m=e(this).data("gtm4wp-data"),y=i(t[0].price*n-t[r].price),_=e(this).find(".package_savings"),w=_.data("prototype").replace("%s",y);_.text(w),"0"!==y?e(this).find(".package_savings").removeClass("hidden"):e(this).find(".package_savings").addClass("hidden"),e(this).find(".property_group, .property").each((function(){e(this).data("showOn").includes(r.toString())?e(this).removeClass("hidden"):e(this).addClass("hidden"),e(this).data("lockedOn").includes(r.toString())?e(this).addClass("locked"):e(this).removeClass("locked")})),e(this).find(".omnibus").html(t[r].omnibus_msg),v.attr("href","?add-to-cart="+t[r].variation_id),v.attr("data-product_id",t[r].variation_id),g.attr("data-gtm4wp_product_data",m[r]),c?v.hide():v.show()}));var d=e(".package-info");if(d.length>0){var h=d.data("descriptions")[r];d.html(h)}})),e(".offer-20 .offer-20__select.package li").on("click",(function(t){e(this).parent().find("li").removeClass("active"),e(this).addClass("active");var i=e(this).data("packageId");e(".offer-20_column").each((function(){e(this).data("package")===i?e(this).addClass("active"):e(this).removeClass("active")}))})),e(".offer-20 .property").on("click",(function(){var t=e(this).find(".property-description");if(e(this).hasClass("active"))e(this).removeClass("active"),t.slideUp(300);else{if(e(this).find(".property-description").length<1)return;e(".offer-20 .property").removeClass("active"),e(".offer-20 .property .property-description").slideUp(300),t.slideDown(300),e(this).addClass("active")}})),e(".offer-20 .property .property-description").on("click",(function(t){t.stopPropagation()})),document.querySelectorAll(".package-select-wrapper").forEach((function(e){return new IntersectionObserver((function(e,i){var r,a=t(e);try{for(a.s();!(r=a.n()).done;){var n=r.value;n.target.classList.toggle("stuck",!n.isIntersecting)}}catch(t){a.e(t)}finally{a.f()}}),{rootMargin:"-".concat(parseInt(window.getComputedStyle(e).getPropertyValue("top"))+1,"px 0px"),threshold:1}).observe(e)})),e(document).ready(r),e(window).on("resize",r)}(jQuery)}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.