1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2722],{12722:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return h}});var i=e(85893),c=e(67294),s=e(1581),o=e(25675),a=e.n(o),l=e(93967),r=e.n(l),u=e(82991),_=e.n(u);function h(t){let{fields:n}=t,{settings:e}=(0,c.useContext)(s.k),o=(null==e?void 0:e.locale)==="en",[l,u]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t);function t(){document.documentElement.scrollTop<400?u(!1):u(!0)}}),(0,i.jsxs)("button",{id:"franchise-sticky-button",onClick:()=>{let t=document.getElementById("franchise-ams-start");t?t.click():(t=document.getElementById("schedule-franchise-appointment"))&&t.scrollIntoView({behavior:"smooth",block:"start"})},className:r()("red-button",_().main,{[_().fade_in]:l},{[_().spanish]:!o}),children:[(0,i.jsx)(a(),{src:n.icon,alt:n.icon_alt_tag,width:100,height:100,className:_().icon}),(0,i.jsx)("span",{className:r()("copy",_().text),children:n.text})]})}},82991:function(t){t.exports={main:"FranchiseStickyButton_main__Rs1YC",spanish:"FranchiseStickyButton_spanish__qntlh",text:"FranchiseStickyButton_text__u8AxF",fade_in:"FranchiseStickyButton_fade_in__qZi4B",icon:"FranchiseStickyButton_icon___U79q"}}}]);
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.