(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5944],{17771:function(e,t,r){Promise.resolve().then(r.t.bind(r,81749,23)),Promise.resolve().then(r.t.bind(r,25250,23)),Promise.resolve().then(r.bind(r,65243)),Promise.resolve().then(r.t.bind(r,25336,23)),Promise.resolve().then(r.t.bind(r,80532,23)),Promise.resolve().then(r.bind(r,7042)),Promise.resolve().then(r.t.bind(r,4051,23)),Promise.resolve().then(r.t.bind(r,96314,23)),Promise.resolve().then(r.t.bind(r,11506,23)),Promise.resolve().then(r.t.bind(r,12208,23)),Promise.resolve().then(r.t.bind(r,78911,23))},24232:function(e,t,r){"use strict";r.d(t,{default:function(){return o.a}});var n=r(24930),o=r.n(n)},20703:function(e,t,r){"use strict";r.d(t,{default:function(){return o.a}});var n=r(67447),o=r.n(n)},8792:function(e,t,r){"use strict";r.d(t,{default:function(){return o.a}});var n=r(25250),o=r.n(n)},47907:function(e,t,r){"use strict";var n=r(15313);r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},24930:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(86921);r(3827),r(64090);let o=n._(r(84795));function a(e,t){let r={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};return"function"==typeof e&&(r.loader=e),(0,o.default)({...r,...t})}("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)},67447:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getImageProps:function(){return l},default:function(){return s}});let n=r(86921),o=r(38630),a=r(81749),i=n._(r(10536)),l=e=>{let{props:t}=(0,o.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},s=a.Image},19721:function(e,t,r){"use strict";function n(e){let{reason:t,children:r}=e;return r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(99775)},84795:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(3827),o=r(64090),a=r(19721);function i(e){var t;return{default:null!=(t=null==e?void 0:e.default)?t:e}}let l={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},s=function(e){let t={...l,...e},r=(0,o.lazy)(()=>t.loader().then(i)),s=t.loading;function u(e){let i=s?(0,n.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,l=t.ssr?(0,n.jsx)(r,{...e}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(o.Suspense,{fallback:i,children:l})}return u.displayName="LoadableComponent",u}},65243:function(e,t,r){"use strict";r.r(t),r.d(t,{Button:function(){return _}});var n=r(3827),o=r(64090),a=r(75504),i=r(24232),l=r(8792),s=r(47907),u=r(27170),c=r.n(u);let d=(0,i.default)(()=>r.e(3735).then(r.bind(r,43735)).then(e=>e.PopupModal),{loadableGenerated:{webpack:()=>[43735]},ssr:!1}),_=e=>{let{palette:t="light",variant:r="primary",type:i="button",size:u="base",nextLinkProps:_,label:p,disabled:y=!1,onClick:f,...h}=e,g=(0,o.useRef)(null),[b,m]=(0,o.useState)(!1),x=(0,s.useRouter)(),v=(0,o.useCallback)(e=>{if(y){e.preventDefault();return}null==f||f(e),"back"===i&&x.back(),"calendly"===i&&m(!0)},[y,f,i,x]),[k,w]=(0,o.useState)(!1);(0,o.useEffect)(()=>{w(!0)},[]);let L="calendly"===i&&k,S=(0,a.Z)(c().button,c()["type--".concat(i)],c()["variant--".concat(r)],c()["palette--".concat(t)],c()["size--".concat(u)],{[c().disabled]:y});return"link"===i?(0,n.jsx)(l.default,{className:S,href:(null==_?void 0:_.href)||"",replace:null==_?void 0:_.replace,scroll:null==_?void 0:_.scroll,prefetch:null==_?void 0:_.prefetch,onClick:v,children:p}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{ref:g,className:S,type:"calendly"===i||"back"===i?"button":i,disabled:y,onClick:v,...h,children:p}),L&&(0,n.jsx)(d,{url:"https://calendly.com/prekindlepartnerships/30mindemo",onModalClose:()=>m(!1),open:b,rootElement:document.querySelector("body")})]})}},13992:function(e,t,r){"use strict";r.d(t,{z:function(){return n.Button}});var n=r(65243)},7042:function(e,t,r){"use strict";r.r(t),r.d(t,{Header:function(){return L}});var n=r(3827),o=r(64090),a=r(75504),i=r(47907),l=r(13992),s=r(20703),u=r(8792),c=r(82799),d=r.n(c);let _=e=>{let{palette:t="light",height:r,width:o,href:i,...l}=e,c=(0,n.jsx)(s.default,{alt:"Prekindle logo",src:"dark"===t?"/pk-logo-dark.svg":"/pk-logo-light.svg",height:r,width:o,priority:!0,...l});return i?(0,n.jsx)(u.default,{className:(0,a.Z)(d().root,d()["palette--".concat(t)]),href:i,children:c}):(0,n.jsx)("div",{className:(0,a.Z)(d().root,d()["palette--".concat(t)]),children:c})};var p=r(49794),y=r(6673),f=r(77238),h=r(34250);let g=e=>{let{totalQuantity:t,handleCartClick:r}=e;return(0,n.jsx)("span",{onClick:r,style:{position:"relative",cursor:"pointer"},children:(0,n.jsxs)("a",{href:"#",onClick:e=>e.preventDefault(),rel:"noopener noreferrer",style:{display:"flex",alignItems:"center",textDecoration:"none",color:"inherit"},children:[(0,n.jsx)("img",{src:"/images/events/cart.svg",alt:"Cart",style:{width:"30px",height:"30px",marginRight:"12px"}}),t>0&&(0,n.jsx)("span",{style:{position:"absolute",top:"-5px",right:"0",backgroundColor:"red",color:"white",borderRadius:"50%",width:"20px",height:"20px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:"12px"},children:t})]})})};var b=r(58453),m=r.n(b);let x=e=>{let{palette:t="light",href:r,label:o,onClick:i}=e;return(0,n.jsx)(u.default,{className:(0,a.Z)(m().item,m()["palette--".concat(t)]),href:r,onClick:i,children:o})};var v=r(67643),k=r.n(v);let w=[{label:"Features",href:"/features"},{label:"Marketing",href:"/marketing"},{label:"Pricing",href:"/pricing"},{label:"Support",href:"/support"}],L=e=>{let{palette:t="light"}=e,[r,s]=(0,o.useState)(!1),[u,c]=(0,o.useState)("top"),d=(0,o.useRef)(null),[b,m]=(0,o.useState)(!1),[v,L]=(0,o.useState)(0),[S,E]=(0,o.useState)("");(0,o.useEffect)(()=>{m(!0);let e=sessionStorage.getItem("cart"),t=sessionStorage.getItem("cartResponse");if(e&&t){let r=JSON.parse(t);E(null==r?void 0:r.promoId);let n=0,o=JSON.parse(e);(null==o?void 0:o.reservedTickets)&&(n+=o.reservedTickets.reduce((e,t)=>e+t.quantity,0)),(null==o?void 0:o.nonReservedTickets)&&(n+=o.nonReservedTickets.reduce((e,t)=>e+t.quantity,0)),L(n)}},[]);let P=(0,i.useRouter)(),j=async()=>{if(!b)return;let e=sessionStorage.getItem("purchaseId");if(!(!e||(null==e?void 0:e.includes("null")))){e=e.replace(/^"|"$/g,"");try{await (0,f.Ww)(e),P.push((0,h.e1)(S,e))}catch(e){console.error("Failed to initiate purchase session:",e)}}};return(0,y.N)(r),(0,p.V)([d],()=>{s(!1)}),(0,o.useEffect)(()=>{let e=0,t=()=>{let t=window.scrollY;c("neutral"),d&&d.current&&(t>e&&t>=d.current.offsetHeight&&c("down"),t<e&&c("up"),(0===t||r)&&c("top")),e=t};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[r]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("header",{className:(0,a.Z)(k().header,k()["palette--".concat(t)],k()[u],{[k().expanded]:r}),ref:d,children:[(0,n.jsx)("div",{className:k().noise}),(0,n.jsxs)("div",{className:(0,a.Z)(k().logoContainer,{[k().expanded]:r}),children:[(0,n.jsx)(_,{height:35,width:150,palette:t,href:"/"}),(0,n.jsxs)("div",{className:k().mobileActions,children:[(0,n.jsx)(x,{palette:t,label:"Login",href:"https://www.prekindle.com/login"}),(0,n.jsxs)("button",{role:"button","aria-label":"Toggle menu","aria-expanded":r,className:(0,a.Z)(k().toggle,{[k().expanded]:r}),onClick:()=>{s(!r)},children:[(0,n.jsx)("span",{className:k().bar}),(0,n.jsx)("span",{className:k().bar}),(0,n.jsx)("span",{className:k().bar})]}),(0,n.jsx)(g,{totalQuantity:v,handleCartClick:j})]})]}),(0,n.jsx)("ul",{className:(0,a.Z)(k().items,{[k().expanded]:r}),children:w.map(e=>(0,n.jsx)("li",{className:k().item,children:(0,n.jsx)(x,{palette:t,label:e.label,href:e.href,onClick:()=>{s(!1)}})},e.label))}),(0,n.jsxs)("div",{className:(0,a.Z)(k().actions2,{[k().expanded]:r}),children:[(0,n.jsx)(g,{totalQuantity:v,handleCartClick:j}),(0,n.jsx)("span",{className:k().mobileHidden,children:(0,n.jsx)(x,{palette:t,label:"Login",href:"https://www.prekindle.com/login"})}),(0,n.jsx)(l.z,{type:"link",label:"Get Started",nextLinkProps:{href:"https://www.prekindle.com/get-started"}})]})]}),(0,n.jsx)("div",{className:k().headerFiller})]})}},49794:function(e,t,r){"use strict";r.d(t,{V:function(){return o}});var n=r(64090);function o(e,t){let r=(0,n.useRef)(t);(0,n.useLayoutEffect)(()=>{r.current=t}),(0,n.useEffect)(()=>{let t=t=>{e.every(e=>{let r=e.current;return r&&!r.contains(t.target)})&&r.current(t)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[e])}},6673:function(e,t,r){"use strict";r.d(t,{N:function(){return o}});var n=r(64090);function o(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],[t,r]=(0,n.useState)(0),[o,a]=(0,n.useState)(0),[i,l]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(!e)return;let t=document.documentElement,n=t.clientWidth,o=window.scrollY,i=window.innerWidth-n;return r(n),a(o),l(i),t.style.maxWidth="calc(100% - ".concat(i,"px)"),t.style.width="100%",t.style.position="fixed",t.style.top="".concat(-o,"px"),t.style.overflow="hidden",()=>{t.style.maxWidth="",t.style.width="",t.style.position="",t.style.top="",t.style.overflow="",window.scroll(0,o)}},[e]),{pageWidth:t,pageYOffset:o,pageScrollBarWidth:i}}},77238:function(e,t,r){"use strict";r.d(t,{cF:function(){return o},Ys:function(){return i},nr:function(){return l},F5:function(){return _},jR:function(){return u},tk:function(){return s},JA:function(){return y},Ke:function(){return f},Ww:function(){return p},eu:function(){return g},Eq:function(){return h},LE:function(){return c},ay:function(){return d}});let n={long:0,medium:0,always:0};class o extends Error{constructor(e,{status:t,url:r,apiError:n}){super(e),this.status=t,this.url=r,this.apiError=n}}let a=async(e,t,r)=>{let n,a,i;let l={next:{revalidate:t},headers:{"Content-Type":"application/json"},...r};l.headers={...l.headers,Authorization:"Basic ".concat(btoa("pktest:AngleBlipClamp15"))};let s="".concat("https://api2.prekindle.com/uiapi/1.0").concat(e);try{n=await fetch(s,l),a=await n.json()}catch(e){i=e}if(n){if(a){if(a.error)throw new o("Server responded with errors.",{status:n.status,url:n.url,apiError:a.error})}else throw new o("Error parsing response. Server responded with status code: ".concat(n.status),{status:n.status,url:n.url})}else throw console.log(i),new o((null==i?void 0:i.message)||"General API request error",{status:-1,url:s});return a};async function i(e,t,r){return console.log("\nFetching events:\n   GET /events?".concat(_({orgId:t,...e}))),await a("/events?".concat(_({orgId:t,...e})),n.long,{signal:r})}async function l(e,t,r){return console.log("\nFetching filters:\n   GET /filters?".concat(_({orgId:e,...t}))),await a("/filters?".concat(_({orgId:e,...t})),n.long,{signal:r})}async function s(e){return(await a("/events/".concat(e),n.medium)).event}async function u(e,t,r){let o={};return t&&(o.promoCode=t),r&&(o.queueittoken=r),await a("/events/".concat(e,"/products?").concat(new URLSearchParams(o).toString()),n.always)}let c=e=>{let t=structuredClone(e);if("RESERVED"===e.type){var r;t.reservedTickets=null===(r=t.reservedTickets)||void 0===r?void 0:r.map(e=>{let{_label:t,_seatsIoCategoryLabel:r,_seatsIoObjectId:n,...o}=e;return{...o}},{})}return t};async function d(e,t,r){return await a("/cart",n.always,{method:"POST",body:JSON.stringify({eventId:e,cart:t,purchaseId:r})})}function _(e){return Object.entries(e).map(e=>{let[t,r]=e;return null==r||""===r?"":Array.isArray(r)?0===r.length?"":"".concat(t,"=").concat(encodeURIComponent(r.join(","))):"".concat(t,"=").concat(encodeURIComponent(r))}).filter(Boolean).join("&")}async function p(e,t){let{willCall:r,form:o}=t||{},i=e&&"null"!=e?new URLSearchParams({purchaseId:e}):"";return await a("/purchases?".concat(i.toString()),n.always,{method:"POST",body:JSON.stringify({willCall:r,form:o})})}async function y(e){return await a("/purchases/".concat(e),n.always)}async function f(e,t){return await a("/purchases/".concat(e,"/payment/authorizenet"),n.always,{method:"POST",body:JSON.stringify({payment:t})})}async function h(e){return await a("/purchases/".concat(e,"/payment/stripe-payment-intent"),n.always,{method:"POST"})}async function g(e,t){return await a("/purchases/".concat(e,"/payment/stripe"),n.always,{method:"POST",body:JSON.stringify({payment:t})})}},34250:function(e,t,r){"use strict";var n,o;r.d(t,{BZ:function(){return l},Ns:function(){return n},WS:function(){return c},e1:function(){return u},ec:function(){return s},sQ:function(){return d},x:function(){return i}});let a="https://web.prekindle.com";function i(e){return"".concat(a,"/ticketing/event/").concat(e)}function l(e){return"".concat(a,"/ticketing/event/").concat(e,"/checkout")}(o=n||(n={})).ENTRY="details",o.GUEST_DETAILS="guest-details",o.FORMS="forms",o.PAYMENT="payment";let s=Object.values(n).filter(e=>"details"!==e);function u(e,t,r){return"".concat(a,"/ticketing/event/").concat(e,"/checkout/").concat(t,"/").concat(null!=r?r:"details")}function c(e,t){return"".concat(a,"/ticketing/event/").concat(e,"/checkout/").concat(t,"/payment")}function d(e){return"".concat(a,"/ticketing/orders/").concat(e)}},4051:function(){},27170:function(e){e.exports={button:"Button_button__imk_D","type--link":"Button_type--link__WZ4Dh",disabled:"Button_disabled__FQb3o","palette--light":"Button_palette--light__KJGTB","variant--primary":"Button_variant--primary___ardP","variant--secondary":"Button_variant--secondary__ZbaVt","palette--dark":"Button_palette--dark__xqqg8","size--base":"Button_size--base__RV0qT typography_buttonBase__dEaaZ","size--large":"Button_size--large__kduqE typography_buttonLarge__u_sE1"}},25336:function(e){e.exports={footer:"Footer_footer__LfcRI",slanted:"Footer_slanted__oG0WJ",inner:"Footer_inner__oo2fx",top:"Footer_top__APE3Y",lists:"Footer_lists__I293O",actions:"Footer_actions__1P0Nx",bottom:"Footer_bottom__HIuwc",bottomLink:"Footer_bottomLink__bl_5f typography_bodySmall400__i4cqA"}},80532:function(e){e.exports={link:"FooterLink_link__BfPgm","size--link":"FooterLink_size--link__CkDvL typography_headlineSmall__LSKIz","size--base":"FooterLink_size--base___Sa_K typography_bodyBase400__Oy70X"}},12208:function(e){e.exports={wrapper:"FooterLinkList_wrapper__qywnh",list:"FooterLinkList_list___gSxg",title:"FooterLinkList_title__dPW0D typography_headlineSmall__LSKIz"}},67643:function(e){e.exports={header:"Header_header__KxRcH typography_bodyBase500__R_COy",headerFiller:"Header_headerFiller__PzSjP",top:"Header_top__bXRaZ",down:"Header_down__JTswV",up:"Header_up__GVctl",neutral:"Header_neutral__AFsAv",items:"Header_items__bA7n_",expanded:"Header_expanded__pQPk8",item:"Header_item__Jcer6",actions:"Header_actions__X1dID",actions2:"Header_actions2__y9Pms",mobileActions:"Header_mobileActions__UYSYQ",mobileHidden:"Header_mobileHidden__GRqQe",logoContainer:"Header_logoContainer__g0k6K",toggle:"Header_toggle__IP1Xb",bar:"Header_bar__gHw1K",noise:"Header_noise__jMGUP","palette--dark":"Header_palette--dark__3_jCf","palette--light":"Header_palette--light__OCtI8"}},58453:function(e){e.exports={item:"HeaderItem_item__Je4su typography_bodyBase500__R_COy","palette--dark":"HeaderItem_palette--dark__rVId_","palette--light":"HeaderItem_palette--light__edP74"}},96314:function(e){e.exports={preFooter:"LayoutFooter_preFooter__0Dqxe"}},82799:function(e){e.exports={root:"Logo_root___Vz8J","palette--light":"Logo_palette--light__Z8tqd","palette--dark":"Logo_palette--dark__zRukf"}},78911:function(e){e.exports={root:"PreFooter_root__S9XMV",leftBlob:"PreFooter_leftBlob__C8HH_",rightBlob:"PreFooter_rightBlob__cOY7r",noise:"PreFooter_noise__K351h",uwkxeo2:"PreFooter_uwkxeo2__W9i8v",uwkxetb:"PreFooter_uwkxetb__8JPiP",content:"PreFooter_content__O3sTd",title:"PreFooter_title__9gu5G typography_headlineGiant__xMnTd",description:"PreFooter_description__ZySxK typography_bodyExtraLarge400__jwJ1j"}},11506:function(e){e.exports={headlineGiant:"typography_headlineGiant__xMnTd",headlineLarge:"typography_headlineLarge__aYzbK",headlineBase:"typography_headlineBase__7O_dc",headlineSmall:"typography_headlineSmall__LSKIz",headlineExtraSmall:"typography_headlineExtraSmall__LWDj9",bodyExtraLarge800:"typography_bodyExtraLarge800__MmifE",bodyExtraLarge700:"typography_bodyExtraLarge700__FhS0z",bodyExtraLarge600:"typography_bodyExtraLarge600__SK4As",bodyExtraLarge500:"typography_bodyExtraLarge500___OiwS",bodyExtraLarge400:"typography_bodyExtraLarge400__jwJ1j",bodyExtraExtraLarge900:"typography_bodyExtraExtraLarge900__coGIV",bodyExtraExtraLarge800:"typography_bodyExtraExtraLarge800__2vQ0i",bodyExtraExtraLarge700:"typography_bodyExtraExtraLarge700__uWTZD",bodyExtraExtraLarge600:"typography_bodyExtraExtraLarge600__uUMXH",bodyExtraExtraLarge500:"typography_bodyExtraExtraLarge500__Wg2nL",bodyExtraExtraLarge400:"typography_bodyExtraExtraLarge400__X_I7Y",bodyLarge800:"typography_bodyLarge800__Qk38Z",bodyLarge700:"typography_bodyLarge700__OgHLi",bodyLarge600:"typography_bodyLarge600__N_txl",bodyLarge500:"typography_bodyLarge500__PN_TJ",bodyLarge400:"typography_bodyLarge400__t3lJb",bodyBase800:"typography_bodyBase800___hOrM",bodyBase700:"typography_bodyBase700__bcMPo",bodyBase600:"typography_bodyBase600__YdylF",bodyBase500:"typography_bodyBase500__R_COy",bodyBase400:"typography_bodyBase400__Oy70X",bodySmall800:"typography_bodySmall800___jkn_",bodySmall700:"typography_bodySmall700__6tJ8j",bodySmall600:"typography_bodySmall600__qAgOQ",bodySmall500:"typography_bodySmall500__xpmAY",bodySmall400:"typography_bodySmall400__i4cqA",buttonLarge:"typography_buttonLarge__u_sE1",buttonBase:"typography_buttonBase__dEaaZ"}},75504:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}}},function(e){e.O(0,[9647,2971,8069,1744],function(){return e(e.s=17771)}),_N_E=e.O()}]);