(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5082],{66255:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services/subscriptions/[slug]",function(){return s(53673)}])},53673:function(e,i,s){"use strict";s.r(i),s.d(i,{__N_SSP:function(){return y},default:function(){return w}});var n=s(85893),t=s(5233),o=s(11163),r=s(67294),c=s(15746),a=s(33299),u=s(37761),l=s(89179),p=s(71985),d=s(60005),m=s(22532),v=s(67495),_=s(58237),f=s(32953),g=s(61495),h=s(98594),b=s(67124),j={src:"/_next/static/media/billing-period.53a790a2.svg",height:48,width:48},x=s(46943),P=s(43824),y=!0,w=function(e){var i,s=e.service,y=e.plans,w=e.addons,k=e.customPlan,Z=e.serviceStatus,D=e.preview,E=(0,t.$G)(["serviceDetails","common"]).t,N=(0,a.useSession)().data,S=(0,o.useRouter)(),C=[],A="".concat(E("stcCloud",{ns:"common"})," | ").concat(s.name);null===(i=s.billing_periods)||void 0===i||i.map((function(e){C.includes(e)||C.push(e)}));var q=[{description:E("registerDescription"),icon:h.Z,key:"register",title:E("register",{ns:"common"})},{description:E("billingPeriodDescription"),icon:j,key:"overview",title:E("billingPeriod")},{description:E("addonsDescription"),icon:b.Z,key:"addons",title:E("addons",{ns:"common"})},{description:E("useApplicationsDescription"),icon:P.Z,key:"useApplication",title:E("useApplications")},{description:E("enablePaymentDescription"),icon:x.Z,key:"enablePayment",title:E("enablePayment")}];return(0,r.useEffect)((function(){return S.beforePopState((function(e){return e.as===S.asPath||D||S.push("/marketplace"),!0})),function(){S.beforePopState((function(){return!0}))}}),[S]),(0,n.jsx)(u.g,{title:A,description:s.description,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.j,{image:f.Z,imageAr:g.Z,thumbnail:s.logo||_.Z,category:v.Z[s.category],title:s.name,provider:s.service_provider,description:s.description,availability:s.availability}),(0,n.jsx)(p.M,{service:s,plans:y,addons:w}),(0,n.jsx)(m.R,{container:!0,children:(0,n.jsxs)(c.Z,{sm:24,lg:16,children:[(0,n.jsx)(p.g2,{title:E("overview",{ns:"common"}),subtitle:E("description",{ns:"common"}),description:s.description}),(0,n.jsx)(p.rY,{billingPeriods:C,plans:y,addons:w,customPlan:k,features:s.features,items:s.items,slug:s.slug,status:Z,preview:D}),(0,n.jsx)(p.Bt,{covered:s.sla_covered_support,unCovered:s.sla_uncovered_support,supportChannels:s.support_channels}),(0,n.jsx)(p.J7,{faqs:s.faqs}),(0,n.jsx)(p.lJ,{support_documents:s.support_documents}),(0,n.jsx)(p.u2,{screenshots:s.screen_shots}),(0,n.jsx)(p.n7,{service_id:s.id,items:q})]})}),!N&&(0,n.jsx)(l.L,{})]})})}}},function(e){e.O(0,[9425,9102,9677,5074,9269,3849,231,2018,7910,5340,6660,2004,931,9355,7761,1814,9774,2888,179],(function(){return i=66255,e(e.s=i);var i}));var i=e.O();_N_E=i}]);