PageSourceSearch

https://www.cvshealth.com/etc.clientlibs/brand-enterprise/clientli…/js/enterprise-tabs-20260915193221.js

js cvshealth.com collected 2026-09-24 06:59:59 UTC 3,054 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[2943],{114(t,e,a){a.d(e,{default:()=>h});var i=a(6746);const n="End",c="Home",s="ArrowLeft",r="ArrowRight",o="Enter",l=" ",d={ArrowLeft:-1,ArrowRight:1},h={setupTab:function(t){t.find(".tabs__container").removeClass("visuallyhidden");const e=t.find(".tabnav--inner button"),a=t.find(".tabs--contentsection .tab--content"),h=t[0].querySelector(".tabnav--wrapper"),u=t[0].querySelector(".tabnav--inner"),f=t[0].querySelector(".tab--controls__prev"),x=t[0].querySelector(".tab--controls__next");function b(t){const e=Math.ceil(t.find(".tabnav").width());Math.ceil(t.find(".tabnav--inner")[0].scrollWidth)>e?h.classList.add("active"):h.classList.remove("active")}let w;function v(e,a){const i=u.scrollLeft,n=t[0].querySelector(".tabnav").clientWidth,c=u.scrollWidth-n,s=a?i:i+(e?-200:200);a||u.scrollTo({left:s,behavior:"smooth"}),f.setAttribute("aria-disabled",s<=0?"true":"false"),x.setAttribute("aria-disabled",s>=c?"true":"false")}if(e.each(((t,e)=>{const n=(0,i.n)(),c=(0,i.n)();$(e).attr({id:n,"aria-controls":c}),$(a[t]).attr({"aria-labelledby":n,id:c})})),b(t),window.addEventListener("resize",(function(){clearTimeout(w),w=setTimeout((function(){window.matchMedia("(min-width: 768px)").matches&&b(t)}),150)})),e.on("click",(function(t){const i=$(t.currentTarget);e.attr("aria-selected",!1).removeClass("active").attr("tabindex","-1"),i.attr("aria-selected",!0).addClass("active").attr("tabindex","0");const n=i.attr("aria-controls"),c=$(`#${n}`);a.addClass("block--hidden"),c.removeClass("block--hidden")})),e.on("keydown",(function(t){switch(t.key){case n:t.preventDefault(),e.last().trigger("focus");break;case c:t.preventDefault(),e.first().trigger("focus")}})),e.on("keyup",(function(t){switch(t.key){case s:case r:!function(t){const a=t.key;if(d[a]){const i=$(t.target),n=e.index(i);n>=0&&(e[n+d[a]]?$(e[n+d[a]]).trigger("focus"):a===s?e.last().trigger("focus"):a===r&&e.first().trigger("focus"))}}(t);break;case o:case l:t.target.click()}})),v(!0,!0),f.addEventListener("click",(()=>v(!0))),x.addEventListener("click",(()=>v(!1))),t.find(".tabs--mainwrapper").hasClass("false"))if(""!==window.location.hash&&window.location.hash.indexOf("tab_")>0){const a=window.location.hash.slice(1),i=t.find(`[data-ref="${a}"]`);i&&i.length>0?(i.trigger("click"),window.matchMedia("(min-width: 768px)").matches&&setTimeout((()=>{i[0].scrollIntoView({behavior:"instant",block:"nearest",inline:"nearest"}),h.classList.contains("active")&&v(!0,!0)}),100)):($(e[0]).trigger("click"),window.matchMedia("(min-width: 768px)").matches&&h.classList.contains("active")&&v(!0,!0))}else $(e[0]).trigger("click"),window.matchMedia("(min-width: 768px)").matches&&h.classList.contains("active")&&v(!0,!0)},init:function(){$(".enterprise-tabs").each(((t,e)=>{this.setupTab($(e))}))}}},6746(t,e,a){a.d(e,{n:()=>i});const i=()=>"uuid"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]);

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.