1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{88612:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientBySlug"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientBySlugV2"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:114}};n.loc.source={body:"query getClientBySlug($slug: ID!) {\n clientBySlugV2(slug: $slug) {\n id\n user {\n firstName\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.getClientBySlug=function(e,n){var r={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(r.loc=e.loc);var a=i[n]||new Set,s=new Set,o=new Set;for(a.forEach(function(e){o.add(e)});o.size>0;){var u=o;o=new Set,u.forEach(function(e){s.has(e)||(s.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return s.forEach(function(n){var i=t(e,n);i&&r.definitions.push(i)}),r}(n,"getClientBySlug")},48312:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return i(73875)}])},35639:function(e,n,i){"use strict";var t=i(76341),r=i(67462),a=i(85893),s=i(13946),o=i(88904),u=i(78274),l=i(67294),d=i(67913);i(63790);var c={fields:{component:"StickyCTAExperiment"}},f={fields:{component:"ChatButtonExperiment"}},p=new Set(["FooterExperiment"]);n.Z=function(e){var n=e.survey,i=e.surveyId,g=e.query,m=e.fields,v=e.slug,h=e.isMobile,y=e.contentSlug,k=m.title,b=m.sections,S=m.options,_=g.ref,x=s.Z(function(e,n){var i=n.fields.component;return"SignUp"!==i&&e.push(n),p.has(i)&&(e.push(c),e.push(f)),e},[],b);return(0,l.useEffect)(function(){u.N.onView({title:k,slug:v,ref:_,contentSlug:y})},[k,v,_,y]),(0,a.jsx)(d.Rh,{name:"Landing Page".concat(v?" / ".concat(v):""),children:(0,a.jsx)(o.Z,{survey:n,surveyId:i,query:g,fields:(0,r._)((0,t._)({},m),{sections:x}),source:_,isMobile:h,"data-testid":"home-page",landingPageOptions:S,contentSlug:y,style:(null==S?void 0:S.fullScreen)?{height:"100%"}:{}})})}},63714:function(e,n,i){"use strict";i.d(n,{d8:function(){return r},dk:function(){return t}});var t="5iPPep3jfL0wQU0fvBsKnT",r="_reskinUpgrade"},73875:function(e,n,i){"use strict";i.r(n),i.d(n,{SURVEY_ID:function(){return Z}});var t,r=i(30137),a=i(93128),s=i(97582),o=i(85893),u=i(20726),l=i.n(u),d=i(50194),c=i(32199),f=i(47915),p=i(30470),g=i(39737),m=i(43783),v=i(65275),h=i(89613),y=i(37977),k=i(35639),b=i(33168),S=i(88612),_=i(15889),x=i(63714),E=i(81021),N=i(72568),w=i(10504),C=i(55801),P=i(11342),F=i(23897),Z=3,I=function(e){var n=e.statusCode,i=e.slug,t=e.signUpVariant,r=e.survey,a=e.query,s=e.fields,u=void 0===s?{}:s,d=e.clientFirstName,c=e.isMobile,p=e.experimentKitData,g=e.preAssignedSSRExperiments,m=e.referrer,v=e.userAgent,h=e.isFreeTrial,S=e.contentSlug,x=u.sections,E=u.title,w=u.metaTags,C=u.noIndex,I=u.canonicalUrl,j=u.options,q=(null==j?void 0:j.appStyles)||{},B=(0,N.Xk)(p,g).split("homepageUpgrade");if(200!==n)return(0,o.jsx)(b.default,{statusCode:n});var D="A"!==B?F.t:P.B;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(D,{className:"jsx-1b4a4e064b3f0487",children:(0,o.jsx)(y.Z,{title:E,metaTags:w,noIndex:C,canonicalUrl:I,includeChat:!0,signUpVariant:t,clientFirstName:d,referrer:m,isFreeTrial:h,userAgent:v,appStyles:q,children:(0,o.jsx)(_.Z,{referrer:{clientFirstName:d},children:(0,o.jsx)(f.Z,{shouldIdentifyUser:!1,children:(0,o.jsx)(k.Z,{sections:x,survey:r,signUpVariant:t,query:void 0===a?{}:a,surveyId:Z,fields:u,slug:i,isMobile:c,contentSlug:S})})})})}),(0,o.jsx)(l(),{id:"1b4a4e064b3f0487",children:"body{overflow-x:hidden}body #crisp-chatbox>div>a>span{-webkit-box-shadow:0 0 10px rgba(0,0,0,.2)!important;-moz-box-shadow:0 0 10px rgba(0,0,0,.2)!important;box-shadow:0 0 10px rgba(0,0,0,.2)!important}"})]})};I.getInitialProps=(t=(0,r._)(function(e){var n,i,t,r,o,u,l,f,p,y,k,b,_,N,P,F,I,j,q,B,D,T,A,U,V,M,O,J,L;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(n=e.ctx,i=e.apolloClient,o=n.query,l=void 0===(u=n.query.slug)?x.d8:u,f=n.req,p=n.res,y=(0,C.Iu)(o.ref),p&&p.setHeader("cache-control","s-maxage=".concat(3600,", stale-while-revalidate")),f?(k=f.headers["user-agent"],b=f.headers.referer):k=navigator.userAgent,_=!!k.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i),P=(N=(0,a._)((null==y?void 0:y.split("_"))||[],3))[0],F=N[1],I=N[2],q=!!F&&"gp"!==P&&!I,!("gp"===P&&I))return[3,2];return[4,i.query({query:S.getClientBySlug,variables:{slug:I}})];case 1:B=s.sent(),j=d.Z(void 0,["data","clientBySlug","user","firstName"],B),s.label=2;case 2:return[4,(0,E.C)(n,{url:n.asPath,attributes:{projectId:w.ZP.WEB,url:n.asPath,paidTrial:null===(r=n.req)||void 0===r?void 0:null===(t=r.cookies)||void 0===t?void 0:t.paidTrial},devMode:!1})];case 3:return T=(D=s.sent()).ek,A=D.data,U=T.getAssigned(),V=l,j&&(V="_guestpass"),[4,Promise.all([h.Z.getEntries({content_type:"landingPage","fields.slug[in]":V,include:10}),h.Z.getEntries({content_type:"survey","fields.id[in]":Z,include:10})])];case 4:if(O=(M=a._.apply(void 0,[s.sent(),2]))[0],J=M[1],!(L=O.items[0]))return v.Z.notify(Error("Missing homepage slug: ".concat(l))),V.includes(".")||(0,m.Z)(g.ZP.homePage(c.Z(["slug"],o)).as,n),[2,{statusCode:404}];return[2,{statusCode:200,slug:l,fields:L.fields,survey:J.items[0],query:o,clientFirstName:j,isMobile:_,experimentKitData:A,preAssignedSSRExperiments:U,referrer:b,userAgent:k,isFreeTrial:q,contentSlug:V}]}})}),function(e){return t.apply(this,arguments)}),n.default=(0,p.C)(I)},23897:function(e,n,i){"use strict";i.d(n,{t:function(){return o}});var t=i(85893),r=i(32033),a=i.n(r),s=i(58961),o=function(e){var n=e.children;return(0,t.jsx)(s.Y,{font:a(),children:n})}},81021:function(e,n,i){"use strict";i.d(n,{C:function(){return f}});var t=i(30137),r=i(76341),a=i(67462),s=i(97582),o=i(71171),u=i.n(o),l=i(53103),d=i(62286),c=i(3505);function f(e,n){return p.apply(this,arguments)}function p(){return(p=(0,t._)(function(e,n){var i,t,o,f;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return(i=(0,d.parseCookies)(e).tempId)?n=(0,a._)((0,r._)({},n),{attributes:(0,a._)((0,r._)({},n.attributes),{id:i})}):(t=n.user?n.user.id:u()(),(0,d.setCookie)(e,"tempId",t,{path:"/",maxAge:l.x4}),n=(0,a._)((0,r._)({},n),{attributes:(0,a._)((0,r._)({},n.attributes),{id:t})})),[4,(o=new c.n((0,r._)({},n))).loadExperiments()];case 1:return s.sent(),f={attributes:o.getAttributes(),experiments:o.getExperiments(),disabledExperiments:o.getDisabledExperiments()},[2,{ek:o,data:f}]}})})).apply(this,arguments)}},43783:function(e,n,i){"use strict";var t=i(11163),r=i.n(t);
1n.Z=function(e,n){n.res?n.res.writableEnded||(n.res.writeHead(303,{Location:e}),n.res.end()):r().replace(e)}},32033:function(e){e.exports={style:{fontFamily:"'__plusJakartaSans_34a125', '__plusJakartaSans_Fallback_34a125'"},className:"__className_34a125"}}},function(e){e.O(0,[9468,8523,2315,6664,5385,1601,936,4853,8407,6025,984,546,7362,7844,8909,5675,945,2279,5121,5026,882,1182,8310,6449,5351,7216,2201,2964,9405,1137,3520,4658,9464,4765,1711,434,2888,9774,179],function(){return e(e.s=48312)}),_N_E=e.O()}]); 2//# sourceMappingURL=index-f54f1fe52e598838.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.