1$(".addToCart-button").click(function(event){� event.preventDefault();� var $form = $(this).parents("form");� $.post(� $form.attr("action"), //serialize Yii2 form� $form.serialize()� )� .done(function(result) {� if (typeof(result.succes) != "undefined") {�� if(result.succes == true)� {� $('#addcatmodal').modal('show');� $("#addcatmodal-content").html(result.notify);� $("#carticon").html(result.cart);� } else {� $('#addcatmodal').modal('hide');� }� }� }).fail(function()� {� console.log("server error");� });� return false;�});��$(".addToFavorite-button").click(function(event){� event.preventDefault();� var button=$(this);� var $form = $(this).parents("form");� $.post(� '/products/productsfavoritelist/addproducttofavorite', //serialize Yii2 form� $form.serialize()� )� .done(function(result) {� if (typeof(result.succes) != "undefined") {�� if(result.succes == true)� {� button.addClass('hide');� button.parent().find('.removeFromFavorite-button').removeClass('hide');� $('#addcatmodal').modal('show');� $("#addcatmodal-content").html(result.notify);� $("#favicon").html(result.favicon);� } else {� $('#addcatmodal').modal('hide');� }� }� }).fail(function()� {� console.log("server error");� });� return false;�});��$(".removeFromFavorite-button").click(function(event){� event.preventDefault();� var button=$(this);� var $form = $(this).parents("form");� $.post(� '/products/productsfavoritelist/removeproductfromfavorite', //serialize Yii2 form� $form.serialize()� )� .done(function(result) {� if (typeof(result.succes) != "undefined") {�� if(result.succes == true)� {� button.addClass('hide');� button.parent().find('.addToFavorite-button').removeClass('hide');� $('#addcatmodal').modal('show');� $("#addcatmodal-content").html(result.notify);� $("#favicon").html(result.favicon);�� } else {� $('#addcatmodal').modal('hide');� }� }� }).fail(function()� {� console.log("server error");� });� return false;�});���function inCartamount(varid,amount){�� $.ajax({� url: '/shop/shopcart/updateamount',� type: 'POST',� data: {varid: varid, amount: amount},� dataType: "json",� success: function(data) {� $("#prodprice-"+varid).html(data.prodprice);� $("#cartSummary").html(data.summary);� $("#cart-shipping-payment").html(data.content);� }� });�}��function sendCoupon(){� $("#coupon-error").hide();� $.ajax({� url : $("#sendcoupon").attr("href")+"?ajax=1",� cache : false,� data : { code : $("#couponcode").val() },� type : "POST",� dataType : "JSON",� success : function(data){� if(data.success == "false") {� $("#coupon-error").html(data.msg);� $("#coupon-error").fadeIn();� } else {� $("#addcoupon").hide();� $("#carticon").html(data.sidecart);� $("#coupon-container").html(data.coupon);� $("#cart-shipping-payment").html(data.content);� }� }� });�}
1��/*$("#sendcoupon").click(function(e){� sendCoupon();� e.stopPropagation();� e.preventDefault();� return false;�});*/���// Select all links with hashes�$('a[href*="#"]')� // Remove links that don't actually link to anything� .not('[href="#"]')� .not('[href="#0"]')� .not('[href="#myCarousel"]')� .not('[href="#myCarousel2"]')� .not('[href="#collapsesocial-box"]')� .click(function(event) {� // On-page links� if (� location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '')� &&� location.hostname == this.hostname� ) {� // Figure out element to scroll to� var target = $(this.hash);� target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');� // Does a scroll target exist?� if (target.length) {� // Only prevent default if animation is actually gonna happen� event.preventDefault();� $('html, body').animate({� scrollTop: target.offset().top� }, 1000, function() {� // Callback after animation� // Must change focus!� var $target = $(target);� $target.focus();� if ($target.is(":focus")) { // Checking if the target was focused� return false;� } else {� $target.attr('tabindex','-1'); // Adding tabindex for elements not focusable� $target.focus(); // Set focus again� };� });� }� }� });��function addCommas(nStr)�{� nStr += '';� x = nStr.split('.');� x1 = x[0];� x2 = x.length > 1 ? '.' + x[1] : '';� var rgx = /(\d+)(\d{3})/;� while (rgx.test(x1)) {� x1 = x1.replace(rgx, '$1' + ',' + '$2');� }� return x1 + x2;�}��$('.modal').on('shown.bs.modal', function () {� var $modal = $(this);� var focusable = $modal.find('a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])')� .filter(':visible');�� var first = focusable.first();� var last = focusable.last();�� // elsŠinputra fókusz� first.focus();�� // TAB kezelés� $modal.on('keydown.trap', function(e) {� if (e.key === "Tab" || e.keyCode === 9) {� if (e.shiftKey) { // SHIFT+TAB� if (document.activeElement === first[0]) {� e.preventDefault();� last.focus();� }� } else { // TAB� if (document.activeElement === last[0]) {� e.preventDefault();� first.focus();� }� }� }� });�});��// ha bezáródik, akkor a trap eventet levesszük�$('.modal').on('hidden.bs.modal', function () {� $(this).off('keydown.trap');�});��function infoblockPosition()�{� var scroll = $(window).scrollTop();� var headerBottom = $("#header-nav").offset().top + $("#header-nav").outerHeight();� if(scroll > headerBottom ) {� $(".infoblock-item").addClass("infoblock-item-fixed");� } else {� $(".infoblock-item").removeClass("infoblock-item-fixed");� }�}��$(window).scroll(function (event) {� infoblockPosition();�});��$( document ).ready(function() {� infoblockPosition();�});�
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.