PageSourceSearch

https://darkturquoise-opossum-778412.hostingersite.com/wp-content/…/js/elements/fsnbar.min.js?ver=1763243789

js darkturquoise-opossum-778412.hostingersite.com collected 2026-10-03 04:22:11 UTC 1,884 bytes, 1 lines download raw bytes

1function buCalculateBarProgress(){if("undefined"==typeof wc_cart_fragments_params)return!1;let c=!1;(c=void 0!==window.sessionStorage.getItem(wc_cart_fragments_params.fragment_name)?JSON.parse(window.sessionStorage.getItem(wc_cart_fragments_params.fragment_name)):c)&&c["div.widget_shopping_cart_content"]&&bricksQuerySelectorAll(document,".fsn-progress-bar-wrap").forEach(e=>{var r=buParseCurrency(c["span.bu-cart-price"]||0),t=c["span.isFreeShippingAvailable"]||"no",a=c["span.hasFreeShippingMethod"]||"no",n=JSON.parse(e.getAttribute("data-fsn-bar")),s=0<buParseCurrency(n.minAmount)?buParseCurrency(n.minAmount):buParseCurrency(c["span.freeShippingMinAmount"]||0),o=r<s?Math.round(r/s*100):100;bricksIsFrontend&&("no"==a?e.classList.add("screen-reader-text"):((s<=r||"yes"===t)&&"yes"==n.hideBar?e.classList.add("screen-reader-text"):e.classList.remove("screen-reader-text"),"no"!==n.thresholdAmount&&r<s&&(buParseCurrency(n.thresholdAmount)>r?e.classList.add("screen-reader-text"):e.classList.remove("screen-reader-text")))),e.querySelector(".fsn-progress-bar-res").style.width=o+"%"})}document.addEventListener("bu_update_cart_quantity",buCalculateBarProgress),jQuery(document.body).on("added_to_cart updated_wc_div wc_fragments_refreshed removed_from_cart",function(){setTimeout(function(){buCalculateBarProgress()},5)}),jQuery(document.body).on("country_to_state_changing",function(e,r,t){jQuery.ajax({url:woocommerce_params.ajax_url.toString(),type:"POST",data:{action:"bufsn_free_shipping_amount",country:r,security:interactionParams.atc_nonce},dataType:"json",success:function(t){t.success&&(bricksQuerySelectorAll(document,".fsn-progress-bar-wrap").forEach(e=>{const r=JSON.parse(e.getAttribute("data-fsn-bar"));r.minAmount=t.min_amount,jQuery(e).attr("data-fsn-bar",JSON.stringify(r)),jQuery(".fsn-progress-amount").html(t.min_amt_price)}),buCalculateBarProgress())}})});

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.