PageSourceSearch

https://site.senior.com.br/wp-content/themes/senior/assets/js/script-compliance-fiscal.min.js?v=1.9.22

js senior.com.br collected 2026-09-24 08:59:17 UTC 3,935 bytes, 1 lines download raw bytes

1window.seniorComplianceFiscalInit=function(i){var c,o,r=window.seniorComplianceFiscalData[i];function t(){var e=c.find("#complianceSideNav_"+i),t=r.contentData[r.currentTab]?r.contentData[r.currentTab].items:[],n=(e.empty(),4<t.length),a=jQuery('<div class="compliance-side-tabs-wrapper '+(n?"":"expanded")+'"></div>');t.forEach(function(e,t){var n=t===r.currentItem?"active":"",n=jQuery('<div class="compliance-side-nav-item '+n+'" data-index="'+t+'"><span class="icon">▶</span>'+e.title+"</div>");a.append(n)}),e.append(a),n&&(t=jQuery('<button type="button" class="compliance-button-more">'+o+"</button>"),e.append(t),t.on("click",function(){jQuery(this).fadeOut(200,function(){jQuery(this).remove()}),a.addClass("expanded")}))}function n(){var e,t,n,a=r.contentData[r.currentTab]?r.contentData[r.currentTab].items:[];a.length&&(e=(a=a[r.currentItem].content).cta_target||"_self",e='<div class="compliance-content-section active"><h2 class="compliance-content-title">'+a.title+'</h2><p class="compliance-content-description">'+a.description+'</p><a href="'+a.cta_url+'" target="'+e+'"'+((e=a.cta_nofollow?"nofollow":"")?' rel="'+e+'"':"")+(a.cta_custom_attrs?" "+a.cta_custom_attrs:"")+'><button class="compliance-cta-button">'+a.cta_text+"</button></a></div>",window.innerWidth<=768?(a=c.find(".compliance-side-nav-item.active"),t=c.find("#complianceSideNav_"+i),c.find("#complianceMobileContent_"+i).remove(),n=jQuery('<div id="complianceMobileContent_'+i+'" class="compliance-mobile-content">'+e+"</div>"),a.length&&a.next().length?n.insertAfter(a):a.length&&t.append(n)):(c.find("#complianceContentArea_"+i).html(e),c.find("#complianceMobileContent_"+i).remove()))}function a(){var e=c.find(".compliance-top-nav-item.active"),t=c.find("#complianceNavIndicator_"+i),n=c.find(".compliance-top-navigation");e.length&&t.length&&n.length&&(e=e[0].getBoundingClientRect(),n=n[0].getBoundingClientRect(),n=e.left-n.left,t.css({width:e.width+"px",left:n+"px"}))}function l(e){c.find(".compliance-top-nav-item").removeClass("active"),e.addClass("active"),r.currentTab=e.data("tab"),r.currentItem=0,t(),n(),a()}function s(e){r.currentItem=e,c.find(".compliance-side-nav-item").removeClass("active"),c.find(".compliance-side-nav-item").eq(e).addClass("active"),n()}r&&r.contentData&&(c=jQuery(".widget-compliance-fiscal-"+i)).length&&(o="undefined"!=typeof BLOG_ID&&2===BLOG_ID?"Load more":"undefined"!=typeof BLOG_ID&&3===BLOG_ID?"Cargar más":"Carregar mais",c.on("click",".compliance-top-nav-item",function(){l(jQuery(this))}),c.on("click",".compliance-side-nav-item",function(){s(jQuery(this).data("index"))}),jQuery(window).on("resize",SeniorUtils.debounce(function(){a(),n()},200)),t(),n(),a(),setTimeout(function(){var e=new URLSearchParams(window.location.search),t=e.get("guia")||e.get("tab"),o=e.get("aba")||e.get("item");t&&(e=c.find('.compliance-top-nav-item[data-tab="'+t+'"]')).length&&(l(e),setTimeout(function(){var e=window.innerWidth<=768?100:180;jQuery("html, body").animate({scrollTop:c.offset().top-e},500)},100)),o&&setTimeout(function(){var e=parseInt(o);if(isNaN(e)){for(var t,n,a=r.contentData[r.currentTab]?r.contentData[r.currentTab].items:[],i=0;i<a.length;i++)if(a[i].title.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")===o.toLowerCase()||a[i].title.toLowerCase()===o.toLowerCase()){4<=i&&(t=c.find(".compliance-side-tabs-wrapper"),n=c.find(".compliance-button-more"),t.addClass("expanded"),n.fadeOut(200,function(){jQuery(this).remove()})),s(i);break}}else 4<=e&&(t=c.find(".compliance-side-tabs-wrapper"),n=c.find(".compliance-button-more"),t.addClass("expanded"),n.fadeOut(200,function(){jQuery(this).remove()})),s(e)},t?300:100)},200))},jQuery(function(){if(void 0!==window.seniorComplianceFiscalData)for(var e in window.seniorComplianceFiscalData)window.seniorComplianceFiscalData.hasOwnProperty(e)&&window.seniorComplianceFiscalInit(e)});

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.