1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5145,2991],{32991:function(t,s,e){e.r(s),e.d(s,{default:function(){return a}});var i=e(59499);e(67294);var o=e(15590),r=e(19764),n=e(85893);class a extends o.Po{constructor(t){super(t),(0,i.Z)(this,"toggleTooltip",()=>{this.setState(t=>({tooltipIsOpen:!t.tooltipIsOpen}))}),this.state={tooltipIsOpen:!1}}render(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("a",{className:"CTA",id:this.props.id,type:"button",children:[(0,n.jsx)("i",{className:"fas fa-".concat(this.props.icon)}),(0,n.jsx)("span",{className:"u20-screen-reader",children:this.props.value})]}),(0,n.jsx)(r.Z,{className:"CTA__tooltip",placement:"left"===this.props.placement?"right":"left",isOpen:this.state.tooltipIsOpen,autohide:!1,target:this.props.id,toggle:this.toggleTooltip,children:this.props.value})]})}}},75145:function(t,s,e){e.r(s),e.d(s,{default:function(){return p}});var i=e(59499),o=e(67294),r=e(15590),n=e(32991),a=e(85893);class p extends r.Po{constructor(t){super(t),(0,i.Z)(this,"CTARef",void 0),(0,i.Z)(this,"transformCTAs",()=>{var t=0;return()=>{window.scrollY>t?(t=window.scrollY,this.state.inViewport&&this.setState({inViewport:!1})):window.scrollY<t-100&&(this.state.inViewport||this.setState({inViewport:!0}),t=window.scrollY)}}),this.CTARef=o.createRef(),this.state={inViewport:!0,position:null}}renderCTAs(){var t=[];for(var s in this.props.layout)s.startsWith("CTA_")&&t.push((0,a.jsx)(n.default,{id:s.split("CTA_")[1].toLowerCase(),value:this.props.layout[s],icon:"phone",placement:this.state.position},s.split("CTA_")[1].toLowerCase()));return[...t]}componentDidMount(){window.addEventListener("scroll",this.transformCTAs()),this.props.layout.Position&&this.setState({position:"Links"===this.getLayoutProp("Position")[0]?"left":"right"})}componentWillUnmount(){window.removeEventListener("scroll",this.transformCTAs())}render(){var t="CTAs ".concat(this.state.position," ").concat(this.state.inViewport?"":"out-of-viewport");return(0,a.jsx)("div",{ref:this.CTARef,className:t,children:this.renderCTAs()})}}}}]);
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.