1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8356],{28356:(e,t,i)=>{i.r(t),i.d(t,{Intercom:()=>p});var n=i(10465),o=i(3177),r=i(8125),a=i(58471);let l=window.requestIdleCallback,c="https://widget.intercom.io",s={wrapper:{fontFamily:'intercom-font, "Helvetica Neue", "Apple Color Emoji", Helvetica, Arial, sans-serif',color:"white",fontSize:"16px",lineHeight:1.5,WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased"},launcher:{position:"fixed",zIndex:1e3,padding:"0 !important",margin:"0 !important",border:"none",bottom:"20px",right:"20px",maxWidth:"48px",width:"48px",maxHeight:"48px",height:"48px",borderRadius:"50%",cursor:"pointer",transition:"transform 167ms cubic-bezier(0.33, 0.00, 0.00, 1.00)",boxSizing:"content-box"},icon:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",left:"0",width:"48px",height:"48px",transition:"transform 100ms linear, opacity 80ms linear"},logo:{transform:"rotate(0deg) scale(1)"},close:{transform:"rotate(-60deg) scale(0)"}},d=window.requestIdleCallback,u=window.navigator&&window.navigator.connection,p=e=>{let{color:t="#0DA69E",appId:i,isEnabled:p=!1,loadWhenIdle:m=!0}=e,[f,w]=(e=>{let{loadWhenIdle:t=!1,appId:i,idlePeriod:n=5e3,isEnabled:o}=e,{userIntercomSettings:s}=(0,a.P)(),[p,m]=(0,r.useState)("initial");(0,r.useEffect)(()=>{if(!t||!n||!o||u&&(u.saveData||/2g/.test(u.effectiveType))||isNaN(n))return;let e=!1,i=null,r=0,a=0,l=t=>{if(e)return;if(r>n)return f({open:!1});let i=t.timeRemaining();a>49&&i>49&&(r+=i),a=i,null==d||d(l)},c=()=>{e||(d?d(l):i=setTimeout(()=>f({open:!1}),n))},s=()=>{e||(i=setTimeout(c,2500))};return"complete"===document.readyState?(s(),()=>{e=!0,i&&clearTimeout(i)}):(window.addEventListener("load",s,{once:!0}),()=>{e=!0,window.removeEventListener("load",s),i&&clearTimeout(i)})},[o]);let f=(0,r.useCallback)(function(){let{open:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{open:!0};(e=>{let{appId:t,setState:i,beforeInit:n=()=>void 0,onReady:o=()=>void 0,userSettings:r={}}=e;return!window.Intercom&&(!function(){let e=window,i=e.Intercom;if("function"==typeof i)i("reattach_activator"),i("update",window.intercomSettings);else{var n;let i=document,o=function(){o.c(arguments)};o.q=[],o.c=function(e){o.q.push(e)},e.Intercom=o;let r=i.createElement("script");r.type="text/javascript",r.async=!0,r.src="".concat(c,"/widget/").concat(t);let a=i.getElementsByTagName("script")[0];null==(n=a.parentNode)||n.insertBefore(r,a)}}(),1)&&(n(),window.Intercom("boot",{...r,app_id:t}),((e,t)=>{let i=0,n=o=>{if(e()||i>=1e4)return void t();i+=o.timeRemaining(),null==l||l(n)};l?l(n):setTimeout(t,1e3)})(()=>window.Intercom.booted,()=>setTimeout(()=>{i("complete"),o()},2e3)))})({appId:i,setState:m,userSettings:s}),e&&(window.Intercom("show"),"complete"!==p&&m("open"))},[p,s,i]);return(0,r.useEffect)(()=>{window.Intercom&&"complete"===p&&window.Intercom("boot",{...s,app_id:i})},[s,p,i]),[p,f]})({appId:i,loadWhenIdle:m,isEnabled:p}),h=(()=>{let[e,t]=(0,r.useState)(!1),i=(0,o.z)(1280);return(0,r.useEffect)(()=>{if(!i)return void t(!1);let e=document.documentElement,n=()=>{t(i&&e.classList.contains("modal-open"))};n();let o=new MutationObserver(n);return o.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>{o.disconnect()}},[i]),e})();return p&&"complete"!==f?(0,n.jsxs)("div",{style:{...s.wrapper},children:[(0,n.jsx)("link",{href:c,rel:"preconnect",crossOrigin:""}),(0,n.jsxs)("div",{role:"button","aria-label":"Load Chat","aria-busy":"true","aria-live":"polite",style:{...s.launcher,background:t,display:h?"none":"block"},onClick:()=>w({open:!0}),onMouseEnter:()=>w({open:!1}),children:[(0,n.jsx)("div",{style:{...s.icon,...s.logo,opacity:+("initial"===f)},children:(0,n.jsx)("img",{src:"https://downloads.intercomcdn.com/i/o/365707/3ffbcaf9b7f97a84012b71bf/6a28413d6761d624ff11223c3c1cfd0d.png",width:24,height:24,alt:""})}),(0,n.jsx)("div",{style:{...s.icon,...s.close,opacity:+("initial"!==f),transform:"initial"===f?"rotate(-30deg)":"rotate(0deg)"},children:(0,n.jsx)("svg",{focusable:"false",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.601 8.39897C18.269 8.06702 17.7309 8.06702 17.3989 8.39897L12 13.7979L6.60099 8.39897C6.26904 8.06702 5.73086 8.06702 5.39891 8.39897C5.06696 8.73091 5.06696 9.2691 5.39891 9.60105L11.3989 15.601C11.7309 15.933 12.269 15.933 12.601 15.601L18.601 9.60105C18.9329 9.2691 18.9329 8.73091 18.601 8.39897Z",fill:"white"})})})]})]}):null}}}]);
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.