1import{_ as v}from"./preload-helper.8973cb1c.js";import{d as f,m as u,a as p,b as a,c as i,f as n,e as c,F as m,p as g,n as r,t as b,j as l}from"./app.abc96695.js";import{i as k}from"./methods.2e0f1740.js";import{_ as w}from"./_plugin-vue_export-helper.cdc0426e.js";import"./_commonjsHelpers.712cc82f.js";import"./icons.9374be07.js";const y=f({components:{"button--bookmark":u(()=>v(()=>import("./button--bookmark.c735124b.js"),["assets/button--bookmark.c735124b.js","assets/app.abc96695.js","assets/preload-helper.8973cb1c.js","assets/_commonjsHelpers.712cc82f.js","assets/app.410b7f1c.css","assets/methods.2e0f1740.js","assets/icons.9374be07.js","assets/_plugin-vue_export-helper.cdc0426e.js"]))},mixins:[k],props:{bookmark:{type:Object,default:()=>({})},active:{type:String,default:()=>""},items:{type:Array,required:!0}},data:()=>({activeIndex:0,translate:0,showPrev:!1,showNext:!0}),async mounted(){this.setHover(null),this.showPrevNext(),window.addEventListener("resize",this.showPrevNext)},methods:{setHover(t){if(this.$refs.contentNavigation.children[t]){const e=this.$refs.contentNavigation.children[t].firstChild;e&&(this.$refs.active.style.opacity=1,this.$refs.active.style.width=e.offsetWidth+"px",this.$refs.active.style.marginLeft=e.getBoundingClientRect().left-this.$refs.contentNavigation.getBoundingClientRect().left+"px")}else this.$refs.active.style.opacity=0},showPrevNext(){let t=!1,e=!1;this.$refs.contentNavigationContainer&&(t=this.$refs.contentNavigationContainer.scrollLeft>0,e=this.$refs.contentNavigationContainer.scrollWidth-10>Math.round(this.$refs.contentNavigationContainer.scrollLeft+this.$refs.contentNavigationContainer.getBoundingClientRect().width)),this.showPrev=t,this.showNext=e},setSlide(t){this.$refs.contentNavigationContainer.scroll({left:this.$refs.contentNavigationContainer.scrollLeft+t,top:0,behavior:"smooth"}),setTimeout(()=>{this.showPrevNext()},500)}},destroy(){window.removeEventListener("resize",this.showPrevNext)}}),N={class:"sticky top-0 left-0 z-30 bg-gray-blue-900 print:hidden"},$={class:"overflow-hidden"},x={class:"relative flex mx-auto md:container md:max-w-screen-xl xl:px-0 flex-nowrap"},C={ref:"contentNavigationContainer",class:"px-6 md:px-0 py-4 flex relative grow overflow-y-hidden overflow-x-scroll scrollbar-hide"},_={ref:"contentNavigationWrapper",class:"relative transition ease-in-out duration-250"},P={ref:"contentNavigation",role:"navigation","aria-label":"Content Menu",class:"block whitespace-nowrap"},L=["data-index","onMouseover"],B=["href","title","data-tag-ga4-label","data-tag-label"],z={key:0,ref:"active",class:"block h-1 transition-all duration-500 ease-in-out bg-deep-orange-500"};function E(t,e,M,S,A,H){const d=p("button--bookmark");return a(),i("div",N,[n("div",$,[c(d,{bookmark:t.bookmark,items:t.items,utilities:"md:hidden"},null,8,["bookmark","items"]),n("div",x,[n("div",C,[n("div",_,[n("ul",P,[(a(!0),i(m,null,g(t.items,(o,s)=>(a(),i("li",{key:o.url,class:r([s>0?"pl-6":"",s===t.items.length-1?"pr-6":"",o.content?"inline-block":"hidden"]),"data-index":s,onMouseover:h=>t.setHover(s),onMouseleave:e[0]||(e[0]=h=>t.setHover(null))},[n("a",{href:o.url,title:o.title,"data-tag-ga4-action":"click","data-tag-ga4-category":"button","data-tag-ga4-label":o.url,"data-tag-ga4-type":"bookmark","data-tag-category":"navaction","data-tag-action":"link","data-tag-label":o.url,tabindex:"0",class:"text-white font-bold font-primary"},b(o.title),9,B)],42,L))),128))],512),t.items.length>0?(a(),i("span",z,null,512)):l("",!0)],512)],512),t.showPrev?(a(),i("button",{key:0,"aria-label":"show previous",class:"absolute top-0 left-0 h-full px-5 text-white bg-gray-blue-900 z-10",onClick:e[1]||(e[1]=o=>t.setSlide(-300))},[n("i",{class:r(t.icon("chevron-left"))},null,2)])):l("",!0),t.showNext?(a(),i("button",{key:1,"aria-label":"show next",class:"px-5 text-white",onClick:e[2]||(e[2]=o=>t.setSlide(300))},[n("i",{class:r(t.icon("chevron-right"))},null,2)])):l("",!0),c(d,{bookmark:t.bookmark,items:t.items,utilities:"hidden md:block"},null,8,["bookmark","items"])])])])}const F=w(y,[["render",E]]);export{F as default};
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.