1var vmanager=vmanager||{}; 2vmanager.bookstoreManager=function(){var h=function(){function d(a,b,c,g){return $.ajax({url:"/ksiegarniakoszyk/aktualizuj",method:"post",dataType:"json",data:{action:a,item:b,or_electronic:c,quantity:parseInt(g)}}).done(function(e){$("body").trigger("vmanager:refreshBookstoreShippingCart",[e.status,e])}).fail(function(){$("body").trigger("vmanager:refreshBookstoreShippingCart",[!1,{}])})}this.addItem=function(a,b,c){c=0===parseInt(c)?1:parseInt(c);return d("add-item",a,b,c)};this.deleteItem=function(a, 3b){return d("delete-item",a,b)};this.addSubscription=function(a,b,c){c=0===parseInt(c)?1:parseInt(c);return d("add-subscription",a,b,c)};this.deleteSubscription=function(a,b){return d("delete-subscription",a,b)};this.clearAll=function(){return d("clear-all",!1,!1)};this.clearItem=function(a,b){return d("clear-item",a,b)};this.clearSubscription=function(a,b){return d("clear-subscription",a,b)};this.loadData=function(){return $.ajax({url:"/ksiegarniakoszyk/wczytaj",method:"get",dataType:"json"}).done(function(a){$("body").trigger("vmanager:refreshBookstoreShippingCart", 4[!0,a])}).fail(function(){$("body").trigger("vmanager:refreshBookstoreShippingCart",[!1,{}])})}},f=null;return{getInstance:function(){return f||(f=new h)}}}();
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.