1var ISites=ISites||new Object;ISites.ExtractPageCategory={Extract:function(){if(!/googlebot|ms search/i.test(navigator.userAgent))try{var t=ISites.Configurations.Site.Url.SiteAbsoluteUrl.replace("https://","").replace("/",""),e=t;void 0!==ISites.Configurations.Site.Url.SiteAbsoluteUrlEN&&(e=ISites.Configurations.Site.Url.SiteAbsoluteUrlEN.replace("https://","").replace("/",""));var o=document.location.host.replace("https://","").replace("/","");if(t!=o&&e!=o)return;ISites.ExtractPageCategory.GetCategory(function(t){window.dataLayer&&dataLayer.push({categoriapagina:t})})}catch(t){console.log("Catch in ExtractCategory Function:"),console.log(t),window.dataLayer&&dataLayer.push({categoriapagina:"erro"})}},GetCategory:function(t){try{var e=ISites.Utils.GetOriginalPath();e.startsWith("/lojas/")&&(e="/lojas"),e.startsWith("/quiosques-uzo/")&&(e="/quiosques-uzo"),(e.endsWith(".aspx")||e.startsWith("/isites"))&&(e=""),e.contains("/guia-tv/canal")&&(e=e.substring(0,e.indexOf("/canal"))+"/canal");var o=e;if(""===o)return void(t&&t("erro"));if("/"==o)return void(t&&t("hp"));ISites.Utils.Taxonomy.loadTaxonomyNavigation("clientExtractPageCategory","/",o,!1,10,function(o){try{let r="";for(let t=0;t<o.BreadCrumb.length&&(r=a(o.BreadCrumb[t],e),""==r);t++);if(""==r)for(let t=0;t<o.NavigationNodes.length&&(r=a(o.NavigationNodes[t],e),""==r);t++);""==r&&(r="outros"),r=r.toLowerCase(),t&&t(r)}catch(e){console.log("Catch in Success Function:"),console.log(e),t&&t("erro")}function a(t,e){let o=function(t,e){let o="",a=t.Url.toLowerCase();a=a.substring(1,a.length);for(let r=0;r<t.Properties.length;r++)if("categoriapagina"==t.Properties[r].Name.toLowerCase()&&a==e.toLowerCase()){o=t.Properties[r].Value;break}return o}(t,e);if(""==o)for(let r=0;r<t.Children.length&&(o=a(t.Children[r],e),""==o);r++);return o}},function(){try{t&&t("erro")}catch(t){console.log("Catch in Error Function:"),console.log(t)}})}catch(e){console.log("Catch in GetCategory Function:"),console.log(e),t&&t("erro")}}};
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.