PageSourceSearch

https://zenfolio.com/wp-content/cache/perfmatters/zenfolio.com/min…7943d6aec1f6.set-cookie.min.js?ver=1.5.7411

js zenfolio.com collected 2026-09-24 07:23:50 UTC 1,365 bytes, 5 lines download raw bytes

1jQuery(document).ready(function($){function getCookieValue(name){var nameEQ=encodeURIComponent(name)+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)===' ')c=c.substring(1,c.length);if(c.indexOf(nameEQ)===0)return decodeURIComponent(c.substring(nameEQ.length,c.length));}
2return null}
3const countryCookie=getCookieValue("nz-country-code");let siteLang="us";let userLocale="us";let userRegion="us";$("body[class]").each(function(){const classNames=this.className.split(/\s+/);for(let i=0;i<classNames.length;i++){if(classNames[i].startsWith("locale-")){userLocale=classNames[i].replace("locale-","").toLowerCase()}
4if(classNames[i].startsWith("pll-")){siteLang=classNames[i].replace("pll-","").toLowerCase()}
5if(classNames[i].startsWith("region-")){userRegion=classNames[i].replace("region-","").toLowerCase()}}});siteLang=siteLang==="en"?"us":siteLang;console.log("siteLang: ",siteLang,", userLocale: ",userLocale,", userRegion: ",userRegion);if(countryCookie){$(".country-toggle a").attr("class","");$(".country-toggle a").addClass("fib").addClass("fi-"+siteLang)}else{const getUrl=window.location;const baseUrl=getUrl.protocol+"//"+getUrl.host;$(".country-toggle a").attr("class","");$(".country-toggle a").addClass("fib").addClass("fi-"+siteLang);setCookie("nz-country-code",userLocale,{secure:!0,"max-age":60})}})

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.