1(function($){let ean=$('#used-products').data('ean') 2if(ean!==undefined&&ean!==null){jQuery.ajax({url:'https://fk-secondhand.com/wp-json/wr-api/v1/daten',type:'GET',data:{ean:ean},dataType:'json',beforeSend:function(){},success:function(response){let html='';if(response.length>0){html+=`<div><h3>Auch verfügbar als gebrauchte Version:</h3>`;response.forEach(produkt=>{html+=` 3 <a href="${produkt.product_url}" target="_blank" class="wr-used-produkt-box"> 4 <img src="${produkt.image_url}" alt="${produkt.name}" class="wr-used-produkt-bild"> 5 <div class="wr-used-produkt-zustand">Zustand: <span>${produkt.zustand}</span></div> 6 <div class="wr-used-produkt-preis">Preis: <strong>${formatPrice(produkt.price)}</strong></div> 7 </a> 8 `});html+=`</div>`;$('#used-products').html(html)}},error:function(xhr,status,error){},complete:function(){}})} 9function formatPrice(price){if(typeof price==='string'){price=price.replace(/[^0-9.,-]/g,'');price=price.replace(',','.');price=parseFloat(price)} 10return new Intl.NumberFormat('de-DE',{style:'currency',currency:'EUR',minimumFractionDigits:2,maximumFractionDigits:2}).format(price)}})(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.