(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6219,8537],{11587:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return n(73559)}])},55752:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var r=n(85893);n(67294);var o=n(86640);let l=e=>{let{className:t,maxWidth:n,children:l}=e,i="number"==typeof n?"".concat(null==n?void 0:n.toString(),"px"):({sm:"384px",md:"448px",lg:"512px",xl:"576px","2xl":"672px"})[n];return(0,r.jsx)("div",{style:{maxWidth:null!=i?i:"80rem"},className:(0,o.cn)("mx-auto w-full px-4",t),children:l})}},8647:function(e,t,n){"use strict";n.d(t,{k:function(){return l}});var r=n(85893),o=n(86640);function l(e){let{align:t="start",direction:n="row",justify:l="start",wrap:i=!1,className:s,children:a,gap:c,as:u="div",...d}=e,f="flex ".concat({row:"flex-row",col:"flex-col","row-reverse":"flex-row-reverse","col-reverse":"flex-col-reverse"}[n]," ").concat({start:"items-start",end:"items-end",baseline:"items-baseline",stretch:"items-stretch",center:"items-center"}[t]," ").concat({normal:"justify-normal",start:"justify-start",end:"justify-end",center:"justify-center",between:" justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"}[l]," ").concat(i?"flex-wrap":""," gap-").concat(c||0," ");return(0,r.jsx)(u,{className:(0,o.cn)(f,s),...d,children:a})}},4331:function(e,t,n){"use strict";n.d(t,{k:function(){return r.k}});var r=n(8647)},77066:function(e,t,n){"use strict";n.d(t,{r:function(){return l},P:function(){return i}});var r=n(85893),o=n(86640);function l(e){let{columns:t=1,gap:n=0,align:l="stretch",justify:i="start",className:s,children:a}=e,c="grid w-full ".concat({none:"grid-cols-none",1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-1",12:"grid-cols-12"}[t]||"grid-cols-1"," ").concat({start:"items-start",end:"items-end",baseline:"items-baseline",stretch:"items-stretch",center:"items-center"}[l]," ").concat({normal:"justify-items-normal",start:"justify-items-start",end:"justify-items-end",center:"justify-items-center",between:" justify-items-between",around:"justify-items-around",evenly:"justify-items-evenly",stretch:"justify-items-stretch"}[i]," gap-").concat(null!=n?n:0);return(0,r.jsx)("div",{className:(0,o.cn)(c,s),children:a})}function i(e){let{span:t="auto",className:n,children:l}=e;return(0,r.jsx)("div",{className:(0,o.cn)("w-auto ".concat({auto:"col-span-auto",1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"}[t]),n),children:l})}},40858:function(e,t,n){"use strict";n.d(t,{P4:function(){return l.P},W2:function(){return o.W},kC:function(){return r.k},rj:function(){return l.r}});var r=n(4331),o=n(55752),l=n(77066)},9676:function(e,t,n){"use strict";n.d(t,{T:function(){return c}});var r=n(85893),o=n(67294),l=n(71146),i=n(33640),s=n(37081),a=n(50914);function c(e){let{data:t}=e,{sections:n}=t,c=(0,o.useContext)(i.z);return(0,r.jsx)(r.Fragment,{children:n&&(null==n?void 0:n.map((e,t)=>{var n,o,i,u,d,f,p,v;let m=(null==e?void 0:e._type)==="slotCart"?"cartSection":(null==e?void 0:e._type)==="slotWishlist"?"wishlistSection":null==e?void 0:e._type,h=(null==e?void 0:e._type)==="featuredProducts"?{id:null==e?void 0:null===(o=e.variants)||void 0===o?void 0:null===(n=o.collections)||void 0===n?void 0:n._id,type:null==e?void 0:null===(u=e.variants)||void 0===u?void 0:null===(i=u.collections)||void 0===i?void 0:i._type}:(null==e?void 0:e._type)==="pages_productInfo"?{id:null==e?void 0:null===(f=e.variants)||void 0===f?void 0:null===(d=f.products)||void 0===d?void 0:d._id,type:null==e?void 0:null===(v=e.variants)||void 0===v?void 0:null===(p=v.products)||void 0===p?void 0:p._type}:{id:null==e?void 0:e._id,type:null==e?void 0:e._type},x=null===l.z||void 0===l.z?void 0:l.z[m];return x?(0,r.jsx)(s.Z,{document:h,showInlineEditor:c,children:(null==e?void 0:e._type)==="socialMediaFeed"?(0,r.jsx)(a.t,{children:(0,r.jsx)(x,{template:{bg:"gray",color:"webriq"},[e._type]:e,data:e})}):(0,r.jsx)(x,{template:{bg:"gray",color:"webriq"},[e._type]:e,data:e})},t):null}))})}},50914:function(e,t,n){"use strict";n.d(t,{L:function(){return s},t:function(){return a}});var r=n(85893),o=n(67294),l=n(48211);let i=(0,o.createContext)(null);function s(){return(0,o.useContext)(i)}function a(e){let{children:t}=e,[n,s]=(0,o.useState)({itemId:"",platform:"",userName:"",status:"loading",media:[]});return(0,o.useEffect)(()=>{(async function(){fetch("".concat(l.EK,"/media"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({platform:null==n?void 0:n.platform,studioId:l.Cj,itemId:null==n?void 0:n.itemId})}).then(e=>e.json()).then(e=>{let t=null==e?void 0:e.data;t&&s({itemId:null==n?void 0:n.itemId,platform:null==n?void 0:n.platform,userName:null==n?void 0:n.userName,status:"success",media:t})}).catch(e=>{s(e=>({...e,status:"error",media:[]}))})})()},[null==n?void 0:n.itemId,null==n?void 0:n.platform,null==n?void 0:n.userName]),(0,r.jsx)(i.Provider,{value:{profileFeed:n,setProfileFeed:s},children:t})}},19805:function(e,t,n){"use strict";n.r(t);var r=n(85893),o=n(67294),l=n(41664),i=n.n(l),s=n(9008),a=n.n(s),c=n(40858),u=n(40135);t.default=o.memo(function(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{children:(0,r.jsx)("title",{children:"404: Page not found"})}),(0,r.jsxs)("section",{children:[(0,r.jsx)("div",{className:"skew skew-top mr-for-radius",children:(0,r.jsx)("svg",{className:"w-full h-8 text-gray-50 md:h-12 lg:h-20",viewBox:"0 0 10 10",preserveAspectRatio:"none",children:(0,r.jsx)("polygon",{fill:"currentColor",points:"0 0 10 10 0 10"})})}),(0,r.jsx)("div",{className:"skew skew-top ml-for-radius",children:(0,r.jsx)("svg",{className:"w-full h-8 text-gray-50 md:h-12 lg:h-20",viewBox:"0 0 10 10",preserveAspectRatio:"none",children:(0,r.jsx)("polygon",{fill:"currentColor",points:"0 10 10 0 10 10"})})}),(0,r.jsx)("div",{className:"py-20 radius-for-skewed bg-gray-50",children:(0,r.jsx)(c.W2,{children:(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)(u.xv,{fontSize:"4xl",weight:"bold",className:"mb-6 text-primary",children:"Whoops!"}),(0,r.jsx)(u.X6,{type:"h3",fontSize:"4xl",className:"mb-2",weight:"bold",children:"Something went wrong!"}),(0,r.jsx)(u.xv,{muted:!0,className:"mb-8",children:"Sorry, but we are unable to open this page"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(i(),{className:"inline-block w-full px-6 py-2 mb-2 font-bold leading-loose rounded-l-xl rounded-t-xl bg-primary-foreground text-gray-50 hover:bg-primary lg:mb-0 lg:mr-4 lg:w-auto",href:"/",children:"Go back to Homepage"}),(0,r.jsx)("a",{className:"inline-block w-full px-6 py-2 font-bold leading-loose bg-white rounded-l-xl rounded-t-xl hover:bg-gray-50 lg:w-auto",href:"#",children:"Try Again"})]})]})})}),(0,r.jsx)("div",{className:"skew skew-bottom mr-for-radius",children:(0,r.jsx)("svg",{className:"w-full h-8 text-gray-50 md:h-12 lg:h-20",viewBox:"0 0 10 10",preserveAspectRatio:"none",children:(0,r.jsx)("polygon",{fill:"currentColor",points:"0 0 10 0 0 10"})})}),(0,r.jsx)("div",{className:"skew skew-bottom ml-for-radius",children:(0,r.jsx)("svg",{className:"w-full h-8 text-gray-50 md:h-12 lg:h-20",viewBox:"0 0 10 10",preserveAspectRatio:"none",children:(0,r.jsx)("polygon",{fill:"currentColor",points:"0 0 10 0 10 10"})})})]})]})})},73559:function(e,t,n){"use strict";n.r(t),n.d(t,{PageBySlug:function(){return O},__N_SSG:function(){return S},default:function(){return C}});var r=n(85893),o=n(67294),l=n(11163),i=n(70386),s=n(1641),a=n(72535),c=n(9676),u=n(67438),d=n(37081),f=n(40858),p=n(40135),v=n(33640),m=n(89229),h=n(5152),x=n.n(h),y=n(25675),g=n.n(y);let j=x()(()=>n.e(2321).then(n.bind(n,52110)),{loadableGenerated:{webpack:()=>[52110]}}),b=x()(()=>n.e(6304).then(n.bind(n,16304)),{loadableGenerated:{webpack:()=>[16304]}});var w=o.memo(function(e){let{data:t}=e,n=t||(null==t?void 0:t[0]),l=o.useContext(v.z);if(!n)return null;let{_id:i,_type:s,authors:a,categories:c,tags:h,body:x,mainImage:y,publishedAt:w,title:N,navigation:_,footer:k}=n;return(0,r.jsxs)(d.Z,{document:{id:i,type:s},showInlineEditor:l,children:[_&&(0,r.jsx)(j,{data:_,template:{bg:"gray",color:"webriq"}}),(0,r.jsxs)("section",{className:"py-24 relative overflow-hidden bg-black",children:[(0,r.jsx)(f.W2,{className:"text-center z-10 relative",children:(0,r.jsx)("div",{className:"max-w-screen-md mx-auto",children:(0,r.jsxs)("div",{className:"flex flex-col space-y-3",children:[(0,r.jsx)("p",{className:"text-base font-normal font-accent uppercase text-white",children:"pressArticle"===s?"Press":"From the Blog"}),N&&(0,r.jsx)(p.X6,{type:"h1",className:"text-white",children:N})]})})}),y&&(0,r.jsx)(g(),{src:(0,m.uH)(y),alt:"banner",className:"object-cover opacity-60",fill:!0,priority:!0})]}),(0,r.jsx)("section",{className:"py-24",children:(0,r.jsx)("div",{className:"mx-auto w-full px-4",style:{maxWidth:"60rem"},children:(0,r.jsxs)("div",{className:"flex flex-col space-y-5 text-primary max-w-screen-lg mx-auto",children:[x&&(0,r.jsx)(m.YI,{value:x,components:u.Dt,onMissingComponent:!1}),(c||h)&&(0,r.jsxs)("div",{className:"pt-16 flex flex-col space-y-9 max-w-screen-sm",children:[c&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold text-primary text-sm mb-4",children:"Categorized under:"}),(0,r.jsx)("div",{className:"flex flex-wrap -m-1",children:null==c?void 0:c.map(e=>(0,r.jsx)("div",{className:"inline-flex p-1",children:(0,r.jsx)(p.Vp,{children:null==e?void 0:e.title},null==e?void 0:e._key)}))})]}),h&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-bold text-primary text-sm mb-4",children:"Tags:"}),(0,r.jsx)("div",{className:"flex flex-wrap -m-1",children:null==h?void 0:h.map((e,t)=>(0,r.jsx)("div",{className:"inline-flex p-1",children:(0,r.jsx)(p.Vp,{children:e},t)}))})]})]})]})})}),k&&(0,r.jsx)(b,{data:k,template:{bg:"gray",color:"webriq"}})]},i)}),N=n(47503),_=n(74975),k=n(19805),S=!0;function O(e){let{data:t,preview:n,token:o,source:s}=e,a=(0,l.useRouter)().query.slug;return(null==t?void 0:t.pageData)||(null==t?void 0:t.blogData)||(null==t?void 0:t.pressData)?n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N.a,{}),(0,r.jsx)(i.Dz,{fallback:"Loading...",children:(0,r.jsx)(v.Z,{showInlineEditor:"studio"===s,children:(0,r.jsx)(I,{data:t,token:o||null,slug:a,source:s})})})]}):(0,r.jsx)(P,{data:t}):(0,r.jsx)(k.default,{})}function P(e){let{data:t}=e;return(null==t?void 0:t.pageData)||(null==t?void 0:t.blogData)||(null==t?void 0:t.pressData)?(0,r.jsxs)(r.Fragment,{children:[(null==t?void 0:t.pageData)&&(0,r.jsx)(c.T,{data:null==t?void 0:t.pageData}),(null==t?void 0:t.blogData)&&(0,r.jsx)(w,{data:null==t?void 0:t.blogData}),(null==t?void 0:t.pressData)&&(0,r.jsx)(w,{data:null==t?void 0:t.pressData})]}):null}function I(e){var t;let{data:n,slug:o,token:l=null}=e,i=(0,a.u)(l,(null==n?void 0:n.pageData)?s.Mo:s.Zk,{slug:o}),u=(null==i?void 0:i[0])||i;if(!u)return null;let{_type:d}=u;return(0,r.jsxs)(r.Fragment,{children:["page"===d&&"sections"in u&&(!u||!(null==u?void 0:u.sections)||(null==u?void 0:null===(t=u.sections)||void 0===t?void 0:t.length)===0)&&(0,r.jsx)(_.Y,{}),(null==n?void 0:n.pageData)&&(0,r.jsx)(c.T,{data:u}),((null==n?void 0:n.blogData)||(null==n?void 0:n.pressData))&&(0,r.jsx)(w,{data:u})]})}var C=o.memo(O)},11163:function(e,t,n){e.exports=n(73035)},97582:function(e,t,n){"use strict";n.d(t,{CR:function(){return u},FC:function(){return v},Jh:function(){return a},KL:function(){return m},XA:function(){return c},ZT:function(){return o},_T:function(){return i},ev:function(){return f},fl:function(){return d},mG:function(){return s},pi:function(){return l},qq:function(){return p}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function s(e,t,n,r){return new(n||(n=Promise))(function(o,l){function i(e){try{a(r.next(e))}catch(e){l(e)}}function s(e){try{a(r.throw(e))}catch(e){l(e)}}function a(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,s)}a((r=r.apply(e,t||[])).next())})}function a(e,t){var n,r,o,l,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function s(s){return function(a){return function(s){if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function c(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,l=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=l.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(o)throw o.error}}return i}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}function f(e,t,n){if(n||2==arguments.length)for(var r,o=0,l=t.length;o<l;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function p(e){return this instanceof p?(this.v=e,this):new p(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),l=[];return r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r;function i(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){l.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=o[e](t)).value instanceof p?Promise.resolve(n.value.v).then(a,c):u(l[0][2],n)}catch(e){u(l[0][3],e)}}function a(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),l.shift(),l.length&&s(l[0][0],l[0][1])}}function m(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=c(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}}}},function(e){e.O(0,[5445,232,8159,133,5675,1664,4822,2192,7546,7438,135,9089,2888,9774,179],function(){return e(e.s=11587)}),_N_E=e.O()}]);