https://next.hellotech.com/_next/static/chunks/pages/__hide/surveys/[surveyType]-5fe3716c7d2e99a1.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5723],{1185:(e,t)=>{"use strict";function A(e,t){var A;let n=e||75;return(null==t||null==(A=t.qualities)?void 0:A.length)?t.qualities.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e,t.qualities[0]):n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return A}})},1311:(e,t,A)=>{"use strict";A.d(t,{G:()=>u,U:()=>c});var n=A(81465),o=A(63675),i=A(31014),a=A(61309),r=A(71788),s=A(29267);let l="Start Quiz",u="Continue Quiz",c={[n.tS["energy-efficiency"]]:{image:s.A,surveyType:"Energy Efficiency",headline:"Cleaner and greener for the next generation",body:"Did you know that having the right energy-saving devices can actually help you save money on your utility bills? Not to mention, you're doing planet earth a big favor too.",button:l},[n.tS.security]:{image:a.A,surveyType:"security",headline:"Like a security blanket, but better",body:"Home security systems give you the peace of mind you need to sleep easy at night and it doesn't have to be overly complicated. Tell us what you have installed now and we'll help figure out what you still need.",button:l},[n.tS.home]:{image:o.A,surveyType:"home basics",headline:"Paving the way to your connected home",body:"It's important we fully understand your home and what's important to you so we can help you design the best connected home for your lifestyle. But don't worry, we'll start with the easy stuff.",button:l},[n.tS.connectivity]:{image:r.A,surveyType:"connectivity",headline:"The backbone of the connected home",body:"Now, we'd like to get a sense of how fast the network in your home is. It truly powers every part of today's connected home so we'll help make sure it's as strong as you need it to be.",button:l},[n.tS.user]:{image:i.A,surveyType:"",headline:"Let's get to know each other",body:"Tell us a little bit about yourself as we get started. The more information you provide, the more personalized your recommendations will be.",button:"Get Started"}}},7796:(e,t,A)=>{"use strict";A.d(t,{S:()=>n});let n="ht-toast-container"},14794:(e,t,A)=>{"use strict";A.d(t,{A:()=>y});var n=A(67684),o=A(764),i=A(70572),a=A(89099),r=A(64942),s=A(79499),l=A(3534),u=A(78350),c=A(61540),d=A(81465),g=A(8396),h=A.n(g);let y=()=>{let e=(0,l.A)(),{setShowSurveyFooter:t,setAnimationIsFinished:A}=(0,s.oQ)(),{query:g,prefetch:y}=(0,a.useRouter)(),[p]=(0,u.A)("https://maps.googleapis.com/maps/api/js?key=AIzaSyAvrOOaCjkwxVuHw0-soXFxRpIWbwrPlEY&libraries=places&&callback=Function.prototype",{id:"_ht_googlemaps"})||[],m=d.vA[e.direction];(0,i.useEffect)(()=>(t(!1),()=>{t(!1)}),[t]),(0,i.useEffect)(()=>{t(e.isValidQuestionRoute)},[e,t]),(0,i.useEffect)(()=>{e.isFinished&&(null==y||y("/surveys/recommendations/".concat(g.surveyType)))},[e.isFinished,t,y,g.surveyType]);let f=(0,r.pn)([(0,o.Y)(c.A,{},"question-display")],{native:!0,unique:!0,key:g.question||"completed",onChange:()=>window.scroll(0,0),onRest:()=>A(!0),onStart:()=>A(!1),from:{opacity:0,transform:"translate3d(".concat(m.from,", 0 ,0)")},enter:{opacity:1,transform:"translate3d(".concat(m.enter,", 0, 0)")},leave:{opacity:0,transform:"translate3(".concat(m.leave,", 0, 0)")}});return(0,o.Y)(o.FK,{children:(0,o.Y)("div",{className:h().animationContainer,id:"homeHubSurveyAnimationDiv",children:f((e,t)=>(0,o.Y)(r.CS.div,{style:(0,n._)({},e),children:t}))})})}},29078:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n=A(37646).A},29267:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n={src:"https://next.hellotech.com/_next/static/media/energy.3ea3679b.jpeg",height:667,width:1e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAVAQEBAAAAAAAAAAAAAAAAAAABAv/aAAwDAQACEAMQAAAAuwV//8QAGhAAAwADAQAAAAAAAAAAAAAAAQIDAAQRYv/aAAgBAQABPwCdC90vwBtghn55BGf/xAAWEQADAAAAAAAAAAAAAAAAAAAAAjH/2gAIAQIBAT8ASH//xAAXEQADAQAAAAAAAAAAAAAAAAAAAQIx/9oACAEDAQE/AL1H/9k=",blurWidth:8,blurHeight:5}},30808:e=>{e.exports={container:"questionDisplay_container__36Od5",superstitial:"questionDisplay_superstitial__H
1Ziij",innerQuestionContainer:"questionDisplay_innerQuestionContainer__Sp9AG",questionHeader:"questionDisplay_questionHeader__W95Pu",fadein:"questionDisplay_fadein__k4BVk",loading:"questionDisplay_loading__HbDlU"}},31014:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n={src:"https://next.hellotech.com/_next/static/media/lady-with-tablet-happy.76366b99.jpeg",height:667,width:1e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAUAQEAAAAAAAAAAAAAAAAAAAAD/9oADAMBAAIQAxAAAAC4AL//xAAdEAEAAgAHAAAAAAAAAAAAAAADAQIABAURIjJB/9oACAEBAAE/ANLAzFiy1YEwvaTr25T7vOP/xAAcEQABAwUAAAAAAAAAAAAAAAABAAIDBCEiMbH/2gAIAQIBAT8Ap8omk7v1f//EABgRAAIDAAAAAAAAAAAAAAAAAAEDACFh/9oACAEDAQE/AHUwgZP/2Q==",blurWidth:8,blurHeight:5}},37646:(e,t,A)=>{"use strict";A.d(t,{A:()=>p});var n=A(67684),o=A(32271),i=A(764),a=A(89848),r=A(15039),s=A.n(r),l=A(67646),u=A(66835),c=A(7796),d=A(58176),g=A.n(d);let h=(0,a.nk)({enter:g().animateUp,exit:g().animateDown}),y=e=>{let{closeToast:t}=e;return(0,i.Y)("button",{onClick:t,className:"plainButton",type:"button",children:(0,i.Y)(l.Icon,{name:"v2-close-icon",className:s()("marginLeft-small",g().closeButton)})})},p=e=>{let{className:t="",closeToast:A=u.lQ}=e,r=(0,o._)(e,["className","closeToast"]);return(0,i.Y)(a.N9,(0,n._)({autoClose:4e3,closeButton:(0,i.Y)(y,{closeToast:A}),containerId:c.S,draggable:!1,hideProgressBar:!0,newestOnTop:!0,position:"bottom-center",transition:h,className:s()("marginBottom-medium",g().toastContainer,t),toastClassName:s()("marginTop-small",g().toast)},r))}},55389:(e,t,A)=>{"use strict";A.d(t,{A:()=>r});var n=A(764),o=A(67646),i=A(8396),a=A.n(i);let r=()=>(0,n.Y)("div",{className:a().user_layout,children:(0,n.Y)("div",{className:a().user_component,children:(0,n.Y)(o.LoaderPage,{})})})},57325:(e,t,A)=>{"use strict";A.d(t,{Z:()=>n,l:()=>o});let n="pinned-footer-id",o="ht-pinned-container"},58084:(e,t,A)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/__hide/surveys/[surveyType]",function(){return A(62091)}])},58176:e=>{e.exports={toastContainer:"toastcontainer_toastContainer__T8SvG",toast:"toastcontainer_toast__wFTJR",closeButton:"toastcontainer_
1closeButton__EfFL_",toastBody:"toastcontainer_toastBody__3I4N4",animateUp:"toastcontainer_animateUp__pMwMS",up:"toastcontainer_up__4I8T5",animateDown:"toastcontainer_animateDown__AdLVX",down:"toastcontainer_down__jYXnr",fadein:"toastcontainer_fadein__sgnqz",loading:"toastcontainer_loading__zyhw1"}},61309:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n={src:"https://next.hellotech.com/_next/static/media/security.bb59513e.jpeg",height:667,width:1e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/aAAwDAQACEAMQAAAAowX/xAAbEAABBAMAAAAAAAAAAAAAAAACAAEDESQxUf/aAAgBAQABPwCWfNONg0AW/bX/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oACAECAQE/AH//xAAWEQEBAQAAAAAAAAAAAAAAAAABAMH/2gAIAQMBAT8AcL//2Q==",blurWidth:8,blurHeight:5}},61540:(e,t,A)=>{"use strict";A.d(t,{A:()=>w});var n=A(764),o=A(70572),i=A(15039),a=A.n(i),r=A(18847),s=A.n(r),l=A(75374),u=A(79499),c=A(75211),d=A(88351),g=A(81465),h=A(30808),y=A.n(h);let p=s()(()=>A.e(3021).then(A.bind(A,63021)),{loadableGenerated:{webpack:()=>[63021]},ssr:!1}),m=s()(()=>A.e(9700).then(A.bind(A,29700)),{loadableGenerated:{webpack:()=>[29700]},ssr:!1}),f=s()(()=>A.e(6514).then(A.bind(A,96514)),{loadableGenerated:{webpack:()=>[96514]},ssr:!1}),C=s()(()=>A.e(1463).then(A.bind(A,21463)),{loadableGenerated:{webpack:()=>[21463]},ssr:!1}),b=s()(()=>A.e(6947).then(A.bind(A,46947)),{loadableGenerated:{webpack:()=>[46947]},ssr:!1}),v=s()(()=>Promise.all([A.e(2335),A.e(864),A.e(7904),A.e(5296)]).then(A.bind(A,72437)),{loadableGenerated:{webpack:()=>[72437]},ssr:!1}),_=s()(()=>A.e(1590).then(A.bind(A,11590)),{loadableGenerated:{webpack:()=>[11590]},ssr:!1}),w=()=>{let{setHasDirtyAnswerSelections:e}=(0,u.oQ)(),{setSelectedAnswersClientTransient:t}=(0,u.oQ)(),A=(0,l.ZJ)();(0,l.BQ)(),(0,o.useEffect)(()=>(e(!1),(0,d.Bd)()&&window.scrollTo(0,0),()=>{e(!1),t([])}),[e,t]);let i=a()("text-align-center",y().container,{[y().superstitial]:A.question_type===g.XU.superstitial,"paddingBottom-huge1":A.question_type!==g.XU.superstitial,"paddingTop-huge1":A.question_type!==g.XU.superstitial});if(!A)return null;let r=A.surveyType===g.tS.home?"".concat(A.surveyType," basics"):A.surveyType;return(0,n.Y)("div",{className:i,children:(0,n.FD)("div",{className:y().innerQuestionContainer,children:[A.question_type!==g.XU.superstitial&&(0,n.Y)(C,{question:A.text,overlineText:r,subtext:A.sub_text}),(()=>{switch(null==A?void 0:A.question_type){case g.XU.radio:return(0,n.Y)(m,{});case g.XU.checkbox:return(0,n.Y)(f,{});case g.XU.input_currency:case g.XU.input_text:case g.XU.input_numeric:case g.XU.input_address:case g.XU.input:return(0,n.Y)(v,{inputType:null==A?void 0:A.question_type});case g.XU.device:return(0,n.Y)(b,{});case g.XU.dropdown:return(0,n.Y)(_,{});default:return(0,n.Y)(c.A,{surveyType:A.surveyType})}})(),(0,n.Y)(p,{})]})})}},62091:(e,t,A)=>{"use strict";A.r(t),A.d(t,{__N_SSP:()=>h,default:()=>y});var n=A(764),o=A(70572),i=A(604),a=A(14794),r=A(34667),s=A(88351),l=A(77328),u=A.n(l),c=A(41988),d=A(72090);function g(e){let{surveyType:t}=e;return(0,o.useEffect)(()=>((0,s.Bd)()&&window.addEventListener("keydown",s.sQ,!0),()=>{(0,s.Bd)()&&window.removeEventListener("keydown",s.sQ,!0)}),[]),(0,n.FD)(n.FK,{children:[(0,n.Y)(u(),{children:(0,c.U)({canonical:"".concat("https://hellotech.com","/surveys/").concat(t),title:(0,d.Id)(t),description:(0,d.C0)(t),nofollow:!0,noindex:!0})}),(0,n.Y)(a.A,{})]})}var h=!0;let y=g;g.pageAttributes={page:r.fg},g.Layout=(0,i.A)()},62300:(e,t,A)=>{"use strict";A.d(t,{A:()=>y});var n=A(764),o=A(94208),i=A.n(o),a=A(70572),r=A(15039),s=A.n(r),l=A(89848),u=A(29078),c=A(7796),d=A(57325),g=A(86890),h=A.n(g);let y=(0,a.memo)(()=>{let[e,t]=(0,a.useState)(0),A=(0,a.useRef)(null),o=(0,a.useRef)(null),r=(0,a.useRef)(8),g=(0,a.useCallback)(()=>{o.current&&clearInterval(o.current),o.current=null},[]),y=(0,a.useCallback)(()=>{o.current?r.current=8:o.current=setInterval(()=>{A.current&&t(A.current.getBoundingClientRect().height),r.current?r.current-=1:(g(),r.current=8)},500)},[g]);return(0,a.useEffect)(()=>{let e=l.oR.onChange(e=>{e.containerId===c.S&&A.current&&y()});return()=>{e(),g()}},[y,g]),(0,n.FD)(n.FK,{children:[(0,n.Y)(u.A,{className:"container_pinned"}),(0,n.Y)("div",{id:d.l,className:i().dynamic([["2a79bc24da03dadd",[e]]])+" "+(s()(h().pinnedFooter)||""),children:(0,n.Y)("div",{id:d.Z,ref:A,className:i().dynamic([["2a79bc24da03dadd",[e]]])})}),(0,n.Y)(i(),{id:"2a79bc24da03dadd",dynamic:[e],children:".container_pinned.__jsx-style-dynamic-selector{bottom:".concat(e,"px}")})]})})},63675:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n={src:"https://next.hellotech.com/_next/static/media/home_welcome.f1a47b50.jpeg",height:667,width:1e3,blurDataURL:"data:image/jpeg;
1base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAUAQEAAAAAAAAAAAAAAAAAAAAE/9oADAMBAAIQAxAAAAC8CN//xAAdEAABAgcAAAAAAAAAAAAAAAABETIAAwQFEiFB/9oACAEBAAE/ALqppjPy21ONj//EABcRAAMBAAAAAAAAAAAAAAAAAAABAyL/2gAIAQIBAT8As9H/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIDcf/aAAgBAwEBPwDAGj2f/9k=",blurWidth:8,blurHeight:5}},71788:(e,t,A)=>{"use strict";A.d(t,{A:()=>n});let n={src:"https://next.hellotech.com/_next/static/media/connectivity.0640fe3f.jpeg",height:652,width:1e3,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAX/xAAVAQEBAAAAAAAAAAAAAAAAAAADBP/aAAwDAQACEAMQAAAAtCRv/8QAHRAAAQQCAwAAAAAAAAAAAAAAAwECBAUAERIjcf/aAAgBAQABPwCJXQ6tr
1jBH2FR3Jdr7n//EABgRAAIDAAAAAAAAAAAAAAAAAAACAxEx/9oACAECAQE/AGke9P/EABgRAAIDAAAAAAAAAAAAAAAAAAABAhJS/9oACAEDAQE/AKxyj//Z",blurWidth:8,blurHeight:5}},72090:(e,t,A)=>{"use strict";A.d(t,{C0:()=>i,Id:()=>o});let n=new Proxy({"energy-efficiency":{title:"Solutions for an Energy-Saving Home",description:"Get recommendations on the latest energy-saving products with HelloTech Connected Home. Take a short survey to find personalized solutions for your smart home."},security:{title:"Solutions for a Safer Home",description:"Get recommendations on the latest security products with HelloTech Connected Home. Take our short survey to find personalized solutions for your smart home. "},connectivity:{title:"Solutions for Faster WiFi",description:"Get recommendations on the latest WiFi products with HelloTech Connected Home. Take our short survey to find connectivity solutions personalized for you."},default:{title:"Solutions for all your Home Needs",description:"Get recommendations on the latest WiFi, Security & energy-saving products with HelloTech Connected Home. Take our short survey to find solutions personalized for you."}},{get:(e,t)=>e[t]?e[t]:e.default}),o=e=>"HelloTech Connected Home: ".concat(n[e].title),i=e=>n[e].description},75211:(e,t,A)=>{"use strict";A.d(t,{A:()=>Q});var n=A(764),o=A(70572),i=A(68827),a=A.n(i),r=A(89099),s=A(15039),l=A.n(s),u=A(67646),c=A(24635),d=A(79499),g=A(75374),h=A(7197),y=A(74584),p=A(3534),m=A(1311),f=A(81465),C=A(62300),b=A(55389),v=A(91971),_=A(84164),w=A.n(_),E=A(45004);let Q=e=>{let{classes:t,surveyType:A,startSurveyLink:i}=e,{setShowSurveyFooter:s}=(0,d.oQ)(),_=(0,d.tq)(),{query:Q}=(0,r.useRouter)(),I=(0,c.t$)(),D=(0,h.A)(),{isBeginning:B}=(0,p.A)(),x=(0,c._M)("firstName"),F=(0,y.A)(y.t.sessionStorage),U=(0,g.sA)(),k=(0,g.q7)(),Y=(0,g.Vm)(!0),T=Q.surveyType,P=A||f.tS[T],G=parseInt(Y,10);if("string"!=typeof P)return null;let M=l()(w().container,t,"flex flexDirectionColumn justifyContentCenter alignItemsCenter marginAuto"),S=m.U[P],R=F.getSessionStorage(f.AY),X=G>0?m.G:S.button;return((0,o.useEffect)(()=>{!R&&k&&_&&((0,u.htToast)("Welcome back, ".concat(x,"!")),F.setSessionStorage({key:f.AY,value:"1"}))},[R,k,_,F,x]),(0,o.useEffect)(()=>{s(!1)},[F,x,s]),U||P===f.tS.user)?(0,n.FD)(u.Grid.FullWidth,{classes:M,children:[(0,n.Y)(u.Grid.Row,{classes:w().row,children:(0,n.Y)(u.Grid.Column,{lg:10,lgOffset:1,children:(0,n.FD)(u.Grid.Row,{classes:w().row,children:[(0,n.Y)(u.Grid.Column,{sm:4,md:8,lg:6,classes:w().imageContainer,children:(0,n.Y)(v.A,{condition:_||P===f.tS.user,children:(0,n.Y)("div",{id:"whatever",children:(0,n.Y)(a(),{priority:!0,quality:60,alt:S.headline,src:S.image,height:505,width:416,layout:"fill",objectFit:"cover",objectPosition:"bottom"})})})}),(0,n.FD)(u.Grid.Column,{sm:4,md:6,mdOffset:1,lg:6,lgOffset:0,classes:w().textContainer,children:[(0,n.Y)(v.A,{condition:S.surveyType,children:(0,n.Y)("p",{className:"caption uppercase teal text-weight-medium paddingBottom-small2",children:S.surveyType})}),(0,n.Y)("h2",{children:S.headline}),(0,n.Y)("div",{className:"p1 n700 paddingTop-small1",children:S.body}),(0,n.Y)("div",{className:w().button,children:(0,n.Y)(u.Button,{onClick:()=>{I&&E.X.homeHubTracking({user_id:I,survey_name:P},E.c.surveyStarted),i?i():D.nextQuestionRoute(0)},theme:u.BUTTON_THEMES.PRIMARY,children:X})})]})]})})}),(0,n.Y)(C.A,{})]}):(0,n.Y)(b.A,{})}},78350:(e,t,A)=>{"use strict";A.d(t,{A:()=>s});var n=A(70572),o=A(60114),i=A(57810),a=A(3824),r=A(87620);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{id:t="",async:A=!0,defer:s=!0,optin:l=!0,attrs:u={},startDelay:c={mobile:500,desktop:500}}=arguments.length>1?arguments[1]:void 0;if((0,i.fL)())return null;let d=(0,a.F_)()?c.mobile:c.desktop,g=(0,n.useCallback)(()=>{let A=t||e;return document.getElementById(A)}
1,[t,e]),[h,y]=(0,n.useState)(!1),[p,m]=(0,n.useState)(()=>!!g()),f=(0,n.useCallback)((e,t)=>{m(e),y(t)},[]),C=(0,n.useCallback)(()=>{f(!0,null)},[f]),b=(0,n.useCallback)(()=>{f(!0,!0)},[f]),v=(0,n.useCallback)(e=>{e.remove(),f(!0,!0)},[f]),_=(0,n.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;e&&(e.addEventListener("load",C),e.addEventListener("error",t))},[b,C]),w=(0,n.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;e&&(e.removeEventListener("load",C),e.removeEventListener("error",t))},[b,C]);return(0,n.useEffect)(()=>{t&&e||"production"!==r.w0||console.error("You are missing either (src or id) for your useLoadScript() call.")},[t,e]),(0,n.useEffect)(()=>{let n=g(),i=null;return l&&e?n?(_(n),()=>w(n)):((async()=>{await (0,o.yy)(d);let n=document.createElement("script"),a=Object.keys(u);n.src=e,n.async=A,n.defer=s,n.id=t||e,a.length&&a.forEach(e=>{n.setAttribute(e,u[e])}),_(n,v),document.body.appendChild(n),i=n})(),()=>{try{w(i,v),null==i||i.remove()}catch(e){}}):()=>{}},[e,l,_,A,u,s,d,g,t,v,w]),[p,h]}},80301:(e,t,A)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let n=A(70572),o=A(62640),i="function"==typeof IntersectionObserver,a=new Map,r=[];function s(e){let{rootRef:t,rootMargin:A,disabled:s}=e,l=s||!i,[u,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),g=(0,n.useCallback)(e=>{d.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(l||u)return;let e=d.current;if(e&&e.tagName)return function(e,t,A){let{id:n,observer:o,elements:i}=function(e){let t,A={root:e.root||null,margin:e.rootMargin||""},n=r.find(e=>e.root===A.root&&e.margin===A.margin);if(n&&(t=a.get(n)))return t;let o=new Map;return t={id:A,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),A=e.isIntersecting||e.intersectionRatio>0;t&&A&&t(A)})},e),elements:o},r.push(A),a.set(A,t),t}(A);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(n);let e=r.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&r.splice(e,1)}}}(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:A})}else if(!u){let e=(0,o.requestIdleCallback)(()=>c(!0));return()=>(0,o.cancelIdleCallback)(e)}},[l,A,t,u,d.current]),[g,u,(0,n.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84164:e=>{e.exports={container:"surveyInterstitialLanding_container__IaAo1",row:"surveyInterstitialLanding_row__Z56de",imageContainer:"surveyInterstitialLanding_imageContainer__6fuwf",textContainer:"surveyInterstitialLanding_textContainer__MmXxl",button:"surveyInterstitialLanding_button__kWOPr",fadein:"surveyInterstitialLanding_fadein__7X9lm",loading:"surveyInterstitialLanding_loading__SDx8x"}},86890:e=>{e.exports={pinnedFooter:"pinnedcontainer_pinnedFooter__kpvDr",fadein:"pinnedcontainer_fadein__eyfNb",loading:"pinnedcontainer_loading__CjcYl"}}},e=>{e.O(0,[4473,8827,218,4942,4344,8853,636,8792],()=>e(e.s=58084)),_N_E=e.O()}]); 2//# sourceMappingURL=[surveyType]-5fe3716c7d2e99a1.js.map
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.