PageSourceSearch

https://dazed.fun/wp-content/plugins/joint-ecommerce/public/scripts/joint-ecommerce-public.min.js?ver=1.45.0

js dazed.fun collected 2026-09-26 05:30:44 UTC 2,821 bytes, 1 lines download raw bytes

1function reviewSliderScroll(e,t){var r=e.scrollWidth-e.clientWidth,i=e.scrollLeft+t*e.clientWidth;0<t&&e.scrollLeft>=r-5?i=0:t<0&&e.scrollLeft<=5&&(i=r),e.scrollTo({left:i,behavior:"smooth"})}function handleReviewSliderArrow(e){var t,e=e.target.closest(".joint-review-slider-arrow");e&&(t=(t=e.closest(".joint-review-list"))&&t.querySelector(".joint-review-list__track"))&&reviewSliderScroll(t,parseInt(e.getAttribute("data-dir"),10)||1)}function initReviewSliderAutoscroll(){document.querySelectorAll(".joint-review-list--slider[data-autoscroll]").forEach(function(t){var e,r,i;!t.dataset.autoscrollInit&&(t.dataset.autoscrollInit="1",e=parseInt(t.getAttribute("data-autoscroll"),10))&&(r=!1,t.addEventListener("mouseenter",function(){r=!0}),t.addEventListener("mouseleave",function(){r=!1}),t.addEventListener("touchstart",function(){r=!0},{passive:!0}),i=setInterval(function(){var e;t.isConnected?(e=t.querySelector(".joint-review-list__track"),!r&&e&&e.scrollWidth>e.clientWidth&&reviewSliderScroll(e,1)):clearInterval(i)},e))})}function handleReviewsStoreChange(e){var t,o=e.detail&&e.detail.storeId;o&&(t=window.jointEcommerce&&window.jointEcommerce.api?window.jointEcommerce.api.jointWp:"/wp-json/joint-ecommerce/v1",document.querySelectorAll(".joint-review-list[data-reviews-config]").forEach(function(r){if(r.getAttribute("data-reviews-business")!==String(o)){try{e=JSON.parse(r.getAttribute("data-reviews-config"))}catch(e){return}var e=new URLSearchParams(e),i=(e.set("business",o),(parseInt(r.dataset.reviewsSeq,10)||0)+1);r.dataset.reviewsSeq=String(i),fetch(t+"/reviews/render?"+e.toString()).then(function(e){return e.json()}).then(function(e){var t;parseInt(r.dataset.reviewsSeq,10)===i&&e&&"string"==typeof e.html&&((t=document.createElement("div")).innerHTML=e.html,(e=t.firstElementChild)?(r.className=e.className,e.getAttribute("style")?r.setAttribute("style",e.getAttribute("style")):r.removeAttribute("style"),e.hasAttribute("data-autoscroll")?r.setAttribute("data-autoscroll",e.getAttribute("data-autoscroll")):r.removeAttribute("data-autoscroll"),r.innerHTML=e.innerHTML,initReviewSliderAutoscroll()):r.innerHTML="",r.setAttribute("data-reviews-business",String(o)))}).catch(function(){})}}))}function handleStoreRestriction(e){e=e.detail.storeId;document.querySelectorAll(".joint-store-control[data-joint-stores*='"+e+"']").forEach(e=>{e.classList.add("joint-store-control_visible")}),document.querySelectorAll(".joint-store-control:not([data-joint-stores*='"+e+"'])").forEach(e=>{e.classList.remove("joint-store-control_visible")})}document.addEventListener("storeChange",handleStoreRestriction),document.addEventListener("storeChange",handleReviewsStoreChange),document.addEventListener("click",handleReviewSliderArrow),document.addEventListener("DOMContentLoaded",initReviewSliderAutoscroll);

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.