PageSourceSearch

https://zep.ro/cdn/shop/t/129/assets/shopify.min.js?v=33824376578398863671789482433

js zep.ro collected 2026-10-06 20:23:25 UTC 2,411 bytes, 68 lines download raw bytes

1Shopify && "object" == typeof Shopify && (Shopify.formatMoney = function(e, t) {
2    function n(e, t) {
3        return void 0 === e ? t : e
4    }
5
6    function a(e, t, a, r) {
7        if (t = n(t, 2), a = n(a, ","), r = n(r, "."), isNaN(e) || null == e) return 0;
8        var o = (e = (e / 100).toFixed(t)).split(".");
9        return o[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1" + a) + (o[1] ? r + o[1] : "")
10    }
11    "string" == typeof e && (e = e.replace(".", ""));
12    var r = "",
13        o = /\{\{\s*(\w+)\s*\}\}/,
14        i = t || this.money_format;
15    switch (i.match(o)[1]) {
16        case "amount":
17            r = a(e, 2);
18            break;
19        case "amount_no_decimals":
20            r = a(e, 0);
21            break;
22        case "amount_with_comma_separator":
23            r = a(e, 2, ".", ",");
24            break;
25        case "amount_no_decimals_with_comma_separator":
26            r = a(e, 0, ".", ",")
27    }
28    return i.replace(o, r)
29}, Shopify.resizeImage = function(e, t) {
30    try {
31        if ("original" == t) return e;
32        var n = e.match(/(.*\/[\w\-\_\.]+)\.(\w{2,4})/);
33        return n[1] + "_" + t + "." + n[2]
34    } catch (t) {
35        return e
36    }
37}, Shopify.addValueToString = function(e, t) {
38    return $.each(t, function(t) {
39        var n = "{{ " + t + " }}";
40        e = e.replace(n, this)
41    }), e
42}, Shopify.handleize = function(e) {
43    return e.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/-$/, '').replace(/^-/, '');
44}, Shopify.handleizeArray = function(e) {
45    for (var t = [], n = 0; n < e.length; n++) t[n] = Shopify.handleize(e[n]);
46    return t
47}, Shopify.setPriceHtml = function(element, price, compare_at_price) {
48    price = +price;
49    compare_at_price = +compare_at_price;
50    var html = '',
51        sale = (compare_at_price && compare_at_price > price);
52    if(element){
53      element.classList.add('price--sale');
54    }else {
55      element.classList.remove('price--sale');
56    }
57    html += Shopify.formatMoney(price, theme.moneyFormat);
58    if (sale) {
59      html += `<span class="compare">${Shopify.formatMoney(compare_at_price, theme.moneyFormat)}</span>`;
60    }
61    element.innerHTML = html;
62    var priceHtml = element.closest(".price");
63    if(!priceHtml) return;
64    var spanLast = priceHtml.querySelector("span:last-child");
65    if (spanLast && spanLast.classList.contains('compare')) {
66      spanLast.style.display = 'none';
67    }
68});

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.