PageSourceSearch

https://rollup.ai/_next/static/chunks/app/get-access/page-7234ff329100c0cf.js

js rollup.ai collected 2026-10-05 12:32:53 UTC 9,728 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[477],{90203:function(e,t,r){Promise.resolve().then(r.bind(r,10621)),Promise.resolve().then(r.bind(r,13915)),Promise.resolve().then(r.bind(r,27736)),Promise.resolve().then(r.bind(r,70438)),Promise.resolve().then(r.bind(r,24800)),Promise.resolve().then(r.bind(r,37163))},10621:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var a=r(57437);function n(e){let{title:t,description:r,className:n="",center:l}=e;return(0,a.jsxs)("div",{className:"".concat(n," flex flex-col gap-4 mb-4 ").concat(l?"items-center text-center":""),children:[(0,a.jsx)("h2",{className:"font-blender font-bold text-5xl 2xl:text-6xl",children:t}),r&&(Array.isArray(r)?r.map((e,t)=>(0,a.jsx)("h4",{className:"font-normal text-lg md:text-xl text-gray-4",children:e},t)):(0,a.jsx)("h4",{className:"font-normal text-lg md:text-xl text-gray-4",children:r}))]})}},13915:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var a,n,l=r(57437),s=r(5137),o=r(24693),c=r(44120),i=r(2265),u=r(4583);function d(e){let{label:t,...r}=e;return(0,l.jsxs)("div",{className:"w-full flex flex-col gap-2",children:[(0,l.jsxs)("label",{htmlFor:r.id,className:"",children:[t," ",r.required&&(0,l.jsx)("span",{className:"text-[#2D72D2]",children:"*"})]}),(0,l.jsx)("input",{className:"border w-full px-4 py-2.5 leading-none outline-none border-[#D3D8DE] dark:border-dark-gray-5 dark:bg-dark-gray-1 rounded-sm",...r})]})}function m(e){let{label:t,...r}=e;return(0,l.jsxs)("div",{className:"w-full flex flex-row gap-2",children:[(0,l.jsx)("label",{htmlFor:r.id,className:"w-2/3 block w-full",children:t}),(0,l.jsx)("input",{className:"w-1/3",type:"radio",...r})]})}var f=r(73107),x=r(49079);function h(){let[e,t]=(0,i.useState)("idle"),[r,a]=(0,i.useState)(""),{executeRecaptcha:n}=(0,o.CL)(),h="loading"===e,p=async e=>{e.preventDefault(),t("loading");var r,l=Object.fromEntries(new FormData(e.currentTarget));l.grecaptcha=await n("get_access_form");try{await f.Z.post("https://rollup.retool.com/url/get-access",l,{headers:{"X-Workflow-Api-Key":x.env.NEXT_PUBLIC_RETROOL_API_KEY}}),t("success")}catch(e){a(f.Z.isAxiosError(e)&&(null===(r=e.response)||void 0===r?void 0:r.data.message)||e.message),t("error")}};return"success"===e?(0,l.jsxs)("div",{className:"w-full flex flex-col gap-8 mt-8",children:[(0,l.jsxs)("p",{className:"text-xl font-medium leading-tight",children:["Your request has been sent. We will contact you soon.",(0,l.jsx)("br",{}),"Thank you!"]}),(0,l.jsx)(s.default,{href:"/",className:"px-6 py-3 rounded-sm dark:rounded-none bg-[#2D72D2] hover:bg-[#215DB0] text-white w-max font-medium",eventName:"Back to Homepage",children:"Back to Homepage"})]}):(0,l.jsxs)("form",{onSubmit:p,className:"flex w-full flex-col gap-4 mt-6",autoComplete:"off",children:[(0,l.jsx)(d,{type:"text",name:"firstName",id:"firstName",label:"First Name",required:!0}),(0,l.jsx)(d,{type:"text",name:"lastName",id:"lastName",label:"Last Name",required:!0}),(0,l.jsx)(d,{type:"email",name:"email",id:"email",label:"Email",required:!0}),(0,l.jsx)(d,{type:"text",name:"company",id:"company",label:"Company",required:!0}),(0,l.jsxs)("div",{className:"w-full flex flex-col gap-2",children:[(0,l.jsx)("label",{htmlFor:"reason",className:"",children:"What improvements do you want to make to your existing tools or workflows?"}),(0,l.jsx)("textarea",{name:"reason",id:"reason",rows:6,className:"border w-full p-4 text-lg leading-none outline-none border-[#D3D8DE] dark:border-dark-gray-5 dark:bg-dark-gray-1 rounded-sm",required:!0})]}),(0,l.jsx)("div",{className:"w-full flex flex-col gap-2",children:(0,l.jsxs)("label",{className:"",children:["How did you hear about Rollup? ",(0,l.jsx)("span",{className:"text-[#2D72D2]",children:"*"})]})}),(0,l.jsx)(m,{label:"LinkedIn",name:"source",value:"linkedin",required:!0}),(0,l.jsx)(m,{label:"Twitter",name:"source",value:"twitter",required:!0}),(0,l.jsx)(m,{label:"Google",name:"source",value:"google",required:!0}),(0,l.jsx)(m,{label:"Newsletter",name:"source",value:"newsletter",required:!0}),(0,l.jsx)(m,{label:"Press",name:"source",value:"press",required:!0}),(0,l.jsx)(m,{label:"Reddit",name:"source",value:"reddit",required:!0}
1),(0,l.jsx)(m,{label:"Email",name:"source",value:"email",required:!0}),(0,l.jsx)(m,{label:"Colleague",name:"source",value:"colleague",required:!0}),"error"===e&&(0,l.jsx)("p",{className:"text-red-600 text-xl",children:r}),(0,l.jsx)(u.Z,{disabled:h,type:"submit",className:"disabled:opacity-50 disabled:pointer-events-none bg-[#2D72D2] hover:bg-[#215DB0] transition-colors text-white mt-2 w-max px-6 font-medium rounded-sm dark:rounded-none py-3 leading-none",eventName:"Submit",children:h?(0,l.jsx)(c.Z,{className:"h-4 w-4"}):"Submit"})]})}(a=n||(n={})).Idle="idle",a.Success="success",a.Error="error",a.Loading="loading"},4583:function(e,t,r){"use strict";var a=r(57437),n=r(49503);let l=(0,r(2265).forwardRef)((e,t)=>{let{eventName:r,onClick:l,children:s,...o}=e;return(0,a.jsx)("button",{ref:t,onClick:e=>{(0,n.L)(r||"Button clicked",{eventName:r,elementType:"button"}),l&&l(e)},...o,children:s})});t.Z=l},5137:function(e,t,r){"use strict";r.r(t);var a=r(57437);r(2265);var n=r(8792),l=r(49503);t.default=function(e){let{href:t,eventName:r,onClick:s,children:o,...c}=e;return(0,a.jsx)(n.default,{href:t,onClick:e=>{(0,l.L)(r||"Link clicked",{href:t,elementType:"Link"}),s&&s(e)},...c,children:o})}},44120:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var a=r(57437);function n(e){let{className:t="h-5 w-5 text-white",...r}=e;return(0,a.jsxs)("svg",{className:"animate-spin ".concat(t),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...r,children:[(0,a.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,a.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}},49503:function(e,t,r){"use strict";r.d(t,{L:function(){return n},c:function(){return a}});let a=r(56699).b.load({writeKey:"jnUS9EFnRNfe2WHcU70YAQzqQrjvX5Ef"});function n(e,t){a.track(e,t)}},27736:function(e,t,r){"use strict";r.r(t),r.d(t,{ReCaptcha:function(){return l}});var a=r(2265),n=r(24800);let l=e=>{let{action:t,onValidate:r,validate:l=!0,reCaptchaKey:s}=e,{loaded:o,executeRecaptcha:c}=(0,n.useReCaptcha)(s);return(0,a.useEffect)(()=>{l&&o&&"function"==typeof r&&(async()=>{r(await c(t))})()},[t,r,l,o,c]),null}},70438:function(e,t,r){"use strict";r.r(t),r.d(t,{ReCaptchaContext:function(){return s},ReCaptchaProvider:function(){return c},useReCaptchaContext:function(){return o}});var a=r(2265),n=r(54983),l=r(49622);let s=(0,a.createContext)({reCaptchaKey:null,grecaptcha:null,loaded:!1,error:!1}),o=()=>{let e=(0,a.useContext)(s);return(0,a.useDebugValue)("grecaptcha available: ".concat((null==e?void 0:e.loaded)?"Yes":"No")),(0,a.useDebugValue)("ReCaptcha Script: ".concat((null==e?void 0:e.loaded)?"Loaded":"Not Loaded")),(0,a.useDebugValue)("Failed to load Script: ".concat((null==e?void 0:e.error)?"Yes":"No")),e},c=e=>{let{reCaptchaKey:t,useEnterprise:r=!1,useRecaptchaNet:o=!1,language:c,children:i,id:u="google-recaptcha-v3",strategy:d="afterInteractive",src:m,onLoad:f,onError:x,...h}=e,[p,v]=(0,a.useState)(null),[b,g]=(0,a.useState)(!1),[w,y]=(0,a.useState)(!1),j=t||"6LetsSoqAAAAAFxS130bMazh8OPxstcPLqqbEdP0",N=m||(0,l.J)({reCaptchaKey:j,language:c,useRecaptchaNet:o,useEnterprise:r})||null,C=(0,a.useRef)(!1);(0,a.useEffect)(()=>{C.current&&(g(!1),y(!1)),C.current=!0},[N]);let k=(0,a.useCallback)(e=>{var t,a,n;let l=r?null===(a=window)||void 0===a?void 0:null===(t=a.grecaptcha)||void 0===t?void 0:t.enterprise:null===(n=window)||void 0===n?void 0:n.grecaptcha;l&&l.ready(()=>{v(l),g(!0),null==f||f(l,e)})},[f,r]);(0,a.useEffect)(()=>k(),[k]);let E=(0,a.useCallback)(e=>{y(!0),null==x||x(e)},[x]),R=(0,a.useMemo)(()=>({reCaptchaKey:j,grecaptcha:p,loaded:b,error:w}),[j,p,b,w]);return a.createElement(s.Provider,{value:R},i,a.createElement(n.default,{id:u,src:N,strategy:d,onLoad:k,onError:E,...h}))}},24693:function(e,t,r){"use strict";r.d(t,{CL:function(){return a.useReCaptcha}}),r(27736),r(70438);var a=r(24800);r(37163)},24800:function(e,t,r){"use strict";r.r(t),r.d(t,{useReCaptcha:function(){return s}});var a=r(2265),n=r(70438),l=r(49622);let s=e=>{let{grecaptcha:t,loaded:r,reCaptchaKey:s,...o}=(0,n.useReCaptchaContext)(),c=e||s,i=(0,a.useRef)(null==t?void 0:t.execute);(0,l.L)(()=>{i.current=null==t?void 0:t.execute},[r,null==t?void 0:t.execute]);let u=(0,a.useCallback)(async e=>{if("function"!=typeof i.current)throw Error("Recaptcha has not been loaded");if(!c)throw Error("ReCaptcha sitekey is not defined");return await i.current(c,{action:e})},[c]);return{...o,grecaptcha:t,loaded:r,reCaptchaKey:c,executeRecaptcha:u}}},49622:function(e,t,r){"use strict";r.d(t,{J:function(){return n},L:function(){return l}});var a=r(2265);let n=function(){let{reCaptchaKey:e,language:t,useRecaptchaNet:r=!1,useEnterprise:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="https://www.".concat(r?"recaptcha.net":"google.com","/recaptcha/").concat(a?"enterprise.js":"api.js","?");return e&&(n+="render=".concat(e)),t&&(n+="&hl=".concat(t)),n},l="undefined"!=typeof window?a.useLayoutEffect:a.useEffect},37163:function(e,t,r){"use strict";r.r(t),r.d(t,{withReCaptcha:function(){return l}});var a=r(2265),n=r(24800);
1function l(e){let t=e.displayName||e.name||"Component",r=t=>{let r=(0,n.useReCaptcha)();return a.createElement(e,{...r,...t})};return r.displayName="withReCaptcha(".concat(t,")"),r}}},function(e){e.O(0,[8830,3107,4983,2971,8069,1744],function(){return e(e.s=90203)}),_N_E=e.O()}]);

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.