1(function(m){window.Granite=window.Granite||{};"object"===typeof module&&module.exports?module.exports=m(require("@granite/http")):window.Granite.I18n=m(window.Granite.HTTP)})(function(m){return function(){var f={},n="/libs/cq/i18n/dict.",p=".json",g=void 0,q=!1,l=null,d={},r=!1;d.LOCALE_DEFAULT="en";d.PSEUDO_LANGUAGE="zz";d.PSEUDO_PATTERN_KEY="_pseudoPattern_";d.init=function(a){a=a||{};this.setLocale(a.locale);this.setUrlPrefix(a.urlPrefix);this.setUrlSuffix(a.urlSuffix)};d.setLocale=function(a){a&& 2(g=a)};d.getLocale=function(){"function"===typeof g&&(g=g());return g||document.documentElement.lang||d.LOCALE_DEFAULT};d.setUrlPrefix=function(a){a&&(n=a,r=!0)};d.setUrlSuffix=function(a){a&&(p=a,r=!0)};d.getDictionary=function(a){a=a||d.getLocale();if(!f[a]){q=0===a.indexOf(d.PSEUDO_LANGUAGE);try{var c=new XMLHttpRequest,b=c.open;var e=a;if(r)var h=n+e+p;else{var k,t=document.querySelector("html");t&&(k=t.getAttribute("data-i18n-dictionary-src"));h=k?k.replace("{locale}",encodeURIComponent(e)).replace("{+locale}", 3e):n+e+p}b.call(c,"GET",h,!1);c.send();f[a]=JSON.parse(c.responseText)}catch(u){}f[a]||(f[a]={})}return f[a]};d.get=function(a,c,b){var e;var h=d.getDictionary();var k=q?d.PSEUDO_PATTERN_KEY:b?a+" (("+b+"))":a;h&&(e=h[k]);e||(e=a);q&&(e=e.replace("{string}",a).replace("{comment}",b?b:""));a=e;if(c)if(Array.isArray(c))for(b=0;b<c.length;b++)a=a.replace("{"+b+"}",c[b]);else a=a.replace("{0}",c);return a};d.getVar=function(a,c){return a?d.get(a,null,c):null};d.getLanguages=function(){if(!l)try{var a= 4new XMLHttpRequest;a.open("GET","/libs/wcm/core/resources/languages.overlay.infinity.json",!1);a.send();var c=JSON.parse(a.responseText);Object.keys(c).forEach(function(b){b=c[b];b.language&&(b.title=d.getVar(b.language));b.title&&b.country&&"*"!==b.country&&(b.title+=" ("+d.getVar(b.country)+")")});l=c}catch(b){l={}}return l};d.parseLocale=function(a){if(!a)return null;var c=a.indexOf("_");0>c&&(c=a.indexOf("-"));if(0>c){var b=a;c=null}else b=a.substring(0,c),c=a.substring(c+1);return{code:a,language:b, 5country:c}};return d}()});
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.