1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[94280],{17682:(function(L,y,v){var t=v(38680),H=v(13919);const I={key:0,class:"Message-icon"},T={key:1,class:"Message-icon"},D={key:2,class:"Message-icon"},N={__name:"AlertIcon",props:{version:{type:String,required:!0}},setup(e){return(n,s)=>["yellow","warn"].includes(e.version)?((0,t.o)(),(0,t.c)("div",I,[...s[0]||(s[0]=[(0,t.b)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg"},[(0,t.b)("g",{fill:"none","fill-rule":"evenodd"},[(0,t.b)("path",{d:"M1 10.001a9 9 0 1 1 18 0 9 9 0 1 1-18 0ZM10 14.907V8.822",stroke:"#444","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,t.b)("path",{d:"M9.333 5.595a.666.666 0 1 1 1.333.001.666.666 0 0 1-1.333-.001",fill:"#444"})])],-1)])])):["blue","info"].includes(e.version)?((0,t.o)(),(0,t.c)("div",T,[...s[1]||(s[1]=[(0,t.b)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg"},[(0,t.b)("g",{fill:"none","fill-rule":"evenodd"},[(0,t.b)("path",{d:"M13.022 14.407 10 18.667l-2.975-4.262v.002H2c-.55 0-1-.449-1-1V2c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v11.407c0 .551-.45 1-1 1h-4.978ZM9.917 12.74V7.32",stroke:"#105FAB","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),(0,t.b)("path",{d:"M8.917 4.426a1 1 0 1 1 1.999.002 1 1 0 0 1-1.999-.002",fill:"#105FAB"})])],-1)])])):["red","critical"].includes(e.version)?((0,t.o)(),(0,t.c)("div",D,[...s[2]||(s[2]=[(0,t.d)('<svg width="22" height="20" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M14.72 18.318h5.02c.62 0 .877-.441.57-.981L11.276 1.405c-.307-.54-.808-.54-1.113 0L1.129 17.337c-.306.54-.049.981.571.981h4.762M10.72 8.086V15.4" stroke="#EC1D24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.44 18.096a.72.72 0 1 1-1.44-.002.72.72 0 0 1 1.44.002" fill="#EC1D24"></path><path d="M11.44 18.096a.72.72 0 1 1-1.44-.002.72.72 0 0 1 1.44.002Z" stroke="#EC1D24"></path></g></svg>',1)])])):(0,t.a)("",!0)}},$=function(e){return e===null},j=function(e){return e===void 0},_=767,b=250,E=25;let c=0,a=null,g=!1,d=null,C=0,w="",x=0,r=null,p=[document.querySelector(".CorporateNav"),document.querySelector(".NavigationContainer"),document.querySelector(".SectionNav")];const A=()=>p.findIndex(e=>e===null),f=(e=null,n=null)=>{n&&e&&e.classList&&e.classList.contains(n)===!1&&e.classList.add(n)},u=(e=null,n=null)=>{n&&e&&e.classList&&e.classList.contains(n)===!0&&e.classList.remove(n)},F=()=>{const e=A();e===-1?r=p[p.length-1]:r=p[e-1]},B=e=>(e>=C?w="down":w="up",C=e,w),S=()=>{a=r.previousElementSibling,r.offsetTop===0&&a?c=a.getBoundingClientRect().height+a.offsetTop:c=r.offsetTop},O=()=>{r==null||r.classList.remove("is-stuck"),a==null||a.classList.remove("down-stream-stuck")},q=()=>{const e=window.pageYOffset;A()===-1&&W(e,p),e>c-1?(f(r,"is-stuck"),f(a,"down-stream-stuck")):(u(r,"is-stuck"),u(a,"down-stream-stuck")),g=!1},V=(e,n)=>{const s=/\.*translateY\((.*)px\)/i;return(s.exec(e.style.transform)?parseInt(s.exec(e.style.transform)[1],10):0)!==parseInt(n,10)},i=(e,n)=>{V(e,n)&&(e.style.cssText=`transform: translateY(${n}px);`)},W=(e,n)=>{const s=B(e),m=document.querySelector("html").clientWidth,h=n[0],l=n[1],o=n[2];s==="down"&&e>c&&(d=null,i(l,`-${l.offsetHeight}`),i(o,"0"),u(o,"display-site-nav"),Array.from(l.querySelectorAll(".is-open")).forEach(k=>{k.classList.remove("is-open")})),s==="up"&&$(d)===!0&&(d=e,f(h,"down-stream-stuck"),f(l,"down-stream-stuck"),u(o,"display-site-nav"),i(l,`-${l.offsetHeight}`)),s==="up"&&d-e>b&&(i(l,"0"),i(o,l.offsetHeight),f(o,"display-site-nav")),s==="up"&&m>=_&&e<=c+l.offsetHeight+b&&(d=null,i(l,`-${l.offsetHeight}`),i(o,"0")),s==="up"&&m<_&&e<=c+l.offsetHeight+E&&(d=null,i(l,`-${l.offsetHeight}`),i(o,"0"),u(o,"display-site-nav")),s==="up"&&e<=c&&(d=null,u(h,"down-stream-stuck"),u(l,"down-stream-stuck"),u(o,"display-site-nav"),l.style.cssText="",o.style.cssText="")},Z=()=>{let e=!1,n=document.querySelector("html").clientWidth;window.onresize=()=>{const s=document.querySelector("html").clientWidth;s!==n&&(e!==!1&&clearTimeout(e),e=setTimeout(()=>{O(),S(),requestAnimationFrame(q)},200)),n=s}},z=()=>{g===!1&&(x=requestAnimationFrame(q),g=!0)},Y=()=>{z()},K=()=>{cancelAnimationFrame(x)},G=(e=[document.querySelector(".CorporateNav"),document.querySelector(".NavigationContainer"),document.querySelector(".SectionNav")])=>{p=e,F(),j(r)===!1?(S(),window.addEventListener("scroll",Y,!1),Z()):console.error("Nothing to stick to!")},J={name:"alertList",components:{AlertIcon:N},props:{alert:{type:Object,required:!0},sessionInfo:{type:Object}},data(){return{alertHide:!0}},mounted(){this.isSessionSet()===!1&&(this.alertHide=!1),K(),this.$nextTick(G)},computed:{setClass(){return`Alert--${this.alert.type}`}},methods:{hideAlert(){this.alertHide=!0;const e="/api/v1/core/alert/"+this.alert.id;H.a.post(e,{hideAlert:!0})}
1,isSessionSet(){var e;return!!((e=this.sessionInfo)!=null&&e[this.alert.id])}}},P={class:"Container"},Q={class:"Alert-message",role:"alert"},R=["href","textContent"];function U(e,n,s,m,h,l){var o,k;const te=(0,t.r)("AlertIcon");return(0,t.o)(),(0,t.c)("div",{class:(0,t.n)(["Alert",[{"is-hidden":h.alertHide},l.setClass]])},[(0,t.b)("div",P,[(0,t.b)("div",Q,[(0,t.e)(te,{version:s.alert.type},null,8,["version"]),(0,t.b)("p",null,[(0,t.f)((0,t.t)(s.alert.message)+" ",1),(o=s.alert.link)!=null&&o.href&&(k=s.alert.link)!=null&&k.text?((0,t.o)(),(0,t.c)("a",{key:0,href:s.alert.link.href,class:"Link",textContent:(0,t.t)(s.alert.link.text)},null,8,R)):(0,t.a)("",!0)])]),(0,t.b)("button",{onClick:n[0]||(n[0]=(0,t.w)((...se)=>l.hideAlert&&l.hideAlert(...se),["prevent"]))},"Close")])],2)}const X=(0,t._)(J,[["render",U]]),ee={__name:"AlertMessage",props:{alertContent:{type:Array,required:!0},sessionData:{type:Object}},setup(e){return(n,s)=>((0,t.o)(),(0,t.c)("div",null,[((0,t.o)(!0),(0,t.c)(t.F,null,(0,t.g)(e.alertContent,(m,h)=>((0,t.o)(),(0,t.h)(X,{key:h,alert:m,sessionInfo:e.sessionData,count:h},null,8,["alert","sessionInfo","count"]))),128))]))}},M=document.querySelector("#alertMessage-tool");M&&(0,t.i)({}).component("AlertmessageTool",ee).mount(M)}),42952:(function(L,y,v){v.r(y)})}]);
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.