(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8695],{13092:function(e,t,r){"use strict";r.d(t,{Z:function(){return N}});var n,i=r(59499),s=r(67294),o=r(41664),a=r.n(o),c=r(47166),l=r.n(c),u=r(9980),d=r.n(u),f=r(58199),p=(r(88805),r(60303)),v=r(586),h=r.n(v);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}var _,y,m=function(e){return s.createElement("svg",g({width:24,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),n||(n=s.createElement("path",{d:"M1 10h22m0 0-9-9m9 9-9 9",stroke:"#fff",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))};function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},b.apply(this,arguments)}var j=function(e){return s.createElement("svg",b({width:61,height:61,fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img"},e),_||(_=s.createElement("path",{opacity:.7,d:"M58.952 30.476c0 15.727-12.75 28.476-28.476 28.476C14.749 58.952 2 46.202 2 30.476 2 14.749 14.75 2 30.476 2c15.727 0 28.476 12.75 28.476 28.476Z",stroke:"#fff",strokeWidth:4})),y||(y=s.createElement("path",{d:"m44.511 29.691-22.045-12.56c-.652-.376-1.466.107-1.466.805v25.12c0 .752.814 1.181 1.466.806l22.045-12.56c.652-.323.652-1.289 0-1.61Z",fill:"#fff"})))};var x=r(66994),O=r(85893);function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k=l().bind(h()),Z=function(e){var t=e.header,r=e.body,n=e.ctaText,i=e.ctaLink,o=e.secondaryCtaText,c=e.secondaryCtaLink,l=e.images,u=void 0===l?[]:l,v=e.subsections,h=void 0===v?[]:v,g=e.color,_=void 0===g?"":g,y=e.secondary,b=e.sizing,w=void 0===b?"":b,Z=e.page,N=void 0===Z?"":Z,S=e.styling,H=void 0===S?[]:S,E=(0,s.useState)(!1),T=E[0],R=E[1],D=((0,x.S)().width,u[1]),I=u.length>0?u[0]:null,U=h.filter((function(e){return"embed"!==e.sys.contentType.sys.id}))[0],C=h.filter((function(e){return"embed"===e.sys.contentType.sys.id}))[0],L=["product","pricing"].includes(N),z=(null===U||void 0===U?void 0:U.fields)||{},G=z.body,B=z.ctaText,M=z.ctaLink,A=["about","careers"].includes(N),F=A?i:null,V=A?n:null;u.length>1&&C&&u[1];return(0,O.jsxs)("div",{className:k("wrapper","color_".concat(_)),children:[(0,O.jsxs)("div",{className:k("root",H,"sizing_".concat(w.toLowerCase()),{secondary:y,has_video:C||D,centered:L}),children:[(0,O.jsxs)("div",{className:k("inner"),children:[(0,O.jsxs)("div",{className:k("content"),children:[t&&(0,O.jsx)("h1",{dangerouslySetInnerHTML:{__html:d()({html:!0}).renderInline(t)}}),r&&(0,O.jsx)("div",{dangerouslySetInnerHTML:{__html:d()({html:!0,breaks:!0}).render(r)}}),!A&&n&&i&&(0,O.jsxs)("div",{className:k("links"),children:[(0,O.jsx)(a(),{href:i,children:(0,O.jsx)("a",{className:k("button"),children:n})}),o&&(0,O.jsx)(a(),{href:c,children:(0,O.jsxs)("a",{className:k("button","button_secondary"),onClick:function(){return C?R(!0):null},children:[o,!1]})})]}),B&&!(null!==M&&void 0!==M&&M.includes("ray-summit-2022"))&&(0,O.jsx)(a(),{href:M||"",children:(0,O.jsxs)("a",{className:k("full_cta"),children:[G&&(0,O.jsx)("span",{children:G}),B,(0,O.jsx)(m,{})]})}),B&&(null===M||void 0===M?void 0:M.includes("ray-summit-2022"))&&(0,O.jsxs)("a",{href:M,className:k("full_cta"),children:[G&&(0,O.jsx)("span",{children:G}),B,(0,O.jsx)(m,{})]}),F&&(0,O.jsx)(a(),{href:F,children:(0,O.jsx)("a",{className:k("button"),children:V})})]}),!L&&C&&(0,O.jsx)("div",{className:k("video-preview"),children:(0,O.jsx)("div",{className:k("frame"),onClick:function(){return R(!0)},children:(0,O.jsxs)("div",{className:k("preview-inner"),children:[C.fields.previewImage&&(0,O.jsx)(f.Z,P({},C.fields.previewImage.fields)),(0,O.jsx)("div",{className:k("play-button"),children:(0,O.jsx)(j,{})})]})})}),!C&&D&&(0,O.jsx)("div",{className:k("inline-image"),children:(0,O.jsx)("div",{className:k("frame"),children:(0,O.jsx)("div",{className:k("preview-inner"),children:(0,O.jsx)(f.Z,P({},D.fields))})})})]}),I&&(0,O.jsx)("div",{className:k("background"),style:{backgroundPosition:"right top",backgroundRepeat:"no-repeat",backgroundSize:"712px 712px",backgroundImage:"The Ray Ecosystem"!==t?'url("https://images.ctfassets.net/xjan103pcp94/543nAUbkQJdvxVD20a5WDR/2253f2cb701d28f2dbd4ec3283c6cafd/hero-pattern_2x.png")':""}})]}),(0,O.jsx)("div",{className:k("The Ray Ecosystem"===t?"trapezia_grey":"trapezia")}),C&&(0,O.jsx)(p.Z,P(P({},C.fields),{},{isOpen:T,closeModal:function(){return R(!1)}}))]})};Z.defaultProps={header:null,body:null,ctaText:null,ctaLink:null,secondary:!1};var N=Z},26629:function(e,t,r){"use strict";r(67294);var n=r(47166),i=r.n(n),s=r(26555),o=r.n(s),a=r(85893),c=i().bind(o());t.Z=function(e){var t=e.title;return(0,a.jsx)("div",{className:c("container"),children:(0,a.jsx)("div",{className:c("inner"),children:(0,a.jsxs)("div",{className:c("header"),children:[(0,a.jsx)("h1",{children:t}),(0,a.jsx)("div",{className:c("spacer")})]})})})}},41778:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return $}});var n=r(16835),i=r(50029),s=r(92777),o=r(82262),a=r(10748),c=r(45959),l=r(63553),u=r(37247),d=r(59499),f=r(87794),p=r.n(f),v=r(67294),h=r(11163),g=r.n(h),_=r(8423),y=r(13092),m=r(26629),b=r(27812),j=r(47166),x=r.n(j),O=r(45697),w=r.n(O),P=r(80015),k=r.n(P),Z=r(80305),N=r(85893);function S(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,l.Z)(this,r)}}var H=x().bind(k()),E=function(e){(0,c.Z)(r,e);var t=S(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"render",value:function(){var e=this.props,t=e.tagGroups,r=void 0===t?[]:t,n=e.activeTags,i=void 0===n?[]:n,s=e.onUpdate,o=void 0===s?function(){}:s;return(0,N.jsx)("div",{className:H("root"),children:(0,N.jsx)("div",{className:H("inner"),children:r.map((function(e){var t=e.fields,r=t.identifier,n=t.title,s=t.items,a=void 0===s?[]:s,c=a.map((function(e){var t=e.fields;return{name:t.name,value:t.identifier}})),l="";return a.map((function(e){i.indexOf(e.fields.identifier)>-1&&(l=e.fields.identifier)})),(0,N.jsxs)("div",{className:H("item"),children:[(0,N.jsxs)("span",{children:[n,":"]}),(0,N.jsx)(Z.Z,{label:n,selectedValue:l,options:[{name:"View all",value:""}].concat((0,b.Z)(c)),onSelect:function(e){return o(r,e)}})]},e.sys.id)}))})})}}]),r}(v.PureComponent);E.propsTypes={tagGroups:w().array,activeTags:w().array,onUpdate:w().func};var T=E,R=(r(41664),r(58199)),D=r(88805),I=r(51312),U=r.n(I);function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){(0,d.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var z=x().bind(U()),G=function(e){var t=e.title,r=e.summary,n=e.image,i=e.content;if(!i)return null;var s=t,o=r,a="",c=n;switch(i.sys.contentType.sys.id){case"blogPost":a="/blog/".concat(i.fields.slug),c=c||i.fields.mainImage,s=s||i.fields.title;break;case"event":a="/events/".concat(i.fields.slug),c=c||i.fields.mainImage,s=s||i.fields.title}var l=(0,v.useRef)(null);return(0,N.jsxs)("div",{className:z("root"),onClick:function(){l.current&&l.current.click()},children:[(0,N.jsx)("div",{className:z("image-wrapper"),children:c&&(0,N.jsx)(R.Z,L({},c.fields))}),(0,N.jsxs)("div",{className:z("content"),children:[(0,N.jsxs)("div",{children:[(0,N.jsx)("h3",{children:t}),(0,N.jsx)("p",{children:o})]}),(0,N.jsx)(D.Z,{href:a,ref:l,text:"Learn more",hasArrow:!0,align:"left"})]})]})},B=r(86862),M=r(80218),A=r.n(M);function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach((function(t){(0,d.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var W=x().bind(A()),X=function(e){var t=e.tagGroups,r=void 0===t?[]:t,n=e.stories,i=void 0===n?[]:n,s=e.route,o=void 0===s?"":s,a=e.page,c=void 0===a?1:a,l=e.tags,u=void 0===l?[]:l,d=e.totalPages,f=void 0===d?1:d,p=e.onUpdateTags,h=void 0===p?function(){}:p,g=(0,v.useState)([]),_=g[0],y=g[1];(0,v.useEffect)((function(){y(u)}),[c,u]);return(0,N.jsxs)("div",{className:W("root"),children:[(0,N.jsx)(T,{tagGroups:r,onUpdate:function(e,t){var n=(0,b.Z)(_);r.map((function(t){t.fields.identifier===e&&t.fields.items.map((function(e){var t=n.indexOf(e.fields.identifier);t>-1&&n.splice(t,1)}))})),t&&t.length>0&&(n=[].concat((0,b.Z)(n),[t])),y(n),h(n)},activeTags:u}),(0,N.jsx)("div",{className:W("list"),children:i.map((function(e){if(_.length>0)for(var t,r=(null===(t=e.fields.content.fields.tags)||void 0===t?void 0:t.map((function(e){var t;return null===(t=e.fields)||void 0===t?void 0:t.identifier})))||[],n=0;n<_.length;n++)if(!r.includes(_[n]))return null;return(0,v.createElement)(G,V(V({},e.fields),{},{key:e.sys.id}))}))}),(0,N.jsx)(B.Z,{route:o,page:c,totalPages:f})]})},K=r(75182);function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){(0,d.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Y(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,l.Z)(this,r)}}var J=function(e){(0,c.Z)(r,e);var t=Y(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return e=t.call.apply(t,[this].concat(o)),(0,d.Z)((0,a.Z)(e),"onUpdateTags",function(){var t=(0,i.Z)(p().mark((function t(r){var n,i,s,o;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.props.page,0!==r.length){t.next=5;break}return(i=window.location.toString()).indexOf("?")>0&&(s=i.substring(0,i.indexOf("?")),window.history.replaceState({},document.title,s)),t.abrupt("return");case 5:o=r.reduce((function(e,t){return e.length>0?"".concat(e,",").concat(t):t}),""),g().push("/user-stories?tags=".concat(o),null,{shallow:1===n});case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return(0,o.Z)(r,[{key:"render",value:function(){var e,t=this.props,r=t.site,n=t.title,i=t.description,s=void 0===i?null:i,o=t.shareImage,a=void 0===o?null:o,c=t.sections,l=void 0===c?[]:c,u=(t.stories,t.page),d=void 0===u?1:u,f=t.tags,p=void 0===f?[]:f,v=t.totalPages,h=void 0===v?1:v,g=t.bannerText,b=void 0===g?null:g,j=t.bannerLink,x=void 0===j?null:j,O=!!b,w=l[1].fields,P=w.subsections.slice(0,w.subsections.length-1),k=w.subsections[w.subsections.length-1].fields.items;return(0,N.jsxs)(_.Z,{site:r,title:n,description:s,shareImage:a,bannerText:b,bannerLink:x,showBanner:O,transparentHeader:null===(e=l[0].fields.styling)||void 0===e?void 0:e.includes("transparent-header"),children:[l&&l[0]&&d<=1&&(0,N.jsx)(y.Z,q({},l[0].fields)),l&&l[0]&&d>1&&(0,N.jsx)(m.Z,{title:l[0].fields.header}),(0,N.jsx)(X,{tagGroups:P,route:"/user-stories",stories:k,page:d,tags:p,totalPages:h,onUpdateTags:this.onUpdateTags})]})}}],[{key:"getInitialProps",value:function(){var e=(0,i.Z)(p().mark((function e(t){var r,i,s,o,a,c,l,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.query,i=r.tags?r.tags.split(","):[],s=parseInt(r.page,10)||1,e.next=5,Promise.all([(0,K.NP)(),(0,K.fx)("user-stories")]);case 5:return o=e.sent,a=(0,n.Z)(o,2),c=a[0],l=a[1],u={items:[],total:0},e.abrupt("return",q(q({site:c},l.fields),{},{stories:u.items,page:s,tags:i,totalPages:Math.ceil(u.total/12)}));case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),r}(v.Component),$=J},88227:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user-stories",function(){return r(41778)}])},586:function(e){e.exports={wrapper:"PageHero_wrapper__lPRYV",root:"PageHero_root__b4B00",padded:"PageHero_padded__uapuR",color_light:"PageHero_color_light__GWBpF",background:"PageHero_background__ItwlU",trapezia:"PageHero_trapezia__jx0jI",trapezia_grey:"PageHero_trapezia_grey__8rFVo",inner:"PageHero_inner__ICR6N","transparent-header":"PageHero_transparent-header__6wIfJ",secondary:"PageHero_secondary__4ePa4",has_video:"PageHero_has_video__ZfeiG",centered:"PageHero_centered__q4sRh",sizing_small:"PageHero_sizing_small__MByYo",content:"PageHero_content__ZukGq",button:"PageHero_button__Q2LC_",links:"PageHero_links__dpKXr",button_secondary:"PageHero_button_secondary__79R5W",full_cta:"PageHero_full_cta__4MlN7","inline-image":"PageHero_inline-image__RUXBj","video-preview":"PageHero_video-preview__iEasr",frame:"PageHero_frame__5uaAI","preview-inner":"PageHero_preview-inner__D7lx_","play-button":"PageHero_play-button__fK9eH",cta:"PageHero_cta__BGetn"}},26555:function(e){e.exports={container:"SimpleHero_container__OP08F",inner:"SimpleHero_inner__Ek_r_",header:"SimpleHero_header__HmRWX",spacer:"SimpleHero_spacer__QSrcG"}},51312:function(e){e.exports={root:"UserStoryCard_root__Imwtb","image-wrapper":"UserStoryCard_image-wrapper__R1Q1G",content:"UserStoryCard_content__wK067"}},80015:function(e){e.exports={root:"UserStoryFilters_root__g7McN",inner:"UserStoryFilters_inner__lxTKV",item:"UserStoryFilters_item___YtUp"}},80218:function(e){e.exports={root:"UserStoryList_root__xE1fD",list:"UserStoryList_list___dA0o",empty:"UserStoryList_empty__a2Alx"}},16835:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(2937);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,s=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(s.push(n.value),!t||s.length!==t);o=!0);}catch(c){a=!0,i=c}finally{try{o||null==r.return||r.return()}finally{if(a)throw i}}return s}}(e,t)||(0,n.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[9774,9809,1812,9065,6283,6139,8423,7894,8013,3167,2888,179],(function(){return t=88227,e(e.s=t);var t}));var t=e.O();_N_E=t}]);