1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3636,800],{63877:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/industry",function(){return s(85211)}])},80800:function(e,t,s){"use strict";s.r(t);var n=s(85893),r=s(67294),a=s(15581),i=s(28276),l=s(11163),o=s(59677),c=s(41664),u=s.n(c);t.default=e=>{let{faqs:t}=e;(0,l.useRouter)();let{t:s}=(0,i.$G)("common"),[c,d]=(0,r.useState)(null),x=(0,r.useRef)([]),m=e=>{d(t=>t===e?null:e)};return(0,n.jsx)("section",{className:"w-full box-border text-text-primary px-[24px] md:px-[60px] lg:px-[80px] xl:px-[80px] pb-[40px] md:pb-[40px] lg:pb-[60px] xl:pb-[60px] max-w-[1600px] mx-auto",children:(0,n.jsxs)("div",{className:"mx-auto flex flex-col gap-6 md:gap-10",children:[(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-6",children:[(0,n.jsx)("h2",{className:" font-medium text-[28px] sm:text-[32px] lg:text-[40px] leading-[120%] m-0",children:s("faqs.title")}),(0,n.jsx)(u(),{href:"/faqs",className:"no-underline rounded-[50px] bg-crimson text-white text-[16px] font-medium py-3 px-6 cursor-pointer hover:bg-[#e72c46] transition duration-300 ease-in-out",children:s("faqs.btnTxt")})]}),(0,n.jsx)("div",{className:"flex flex-col gap-4",children:Array.isArray(t)&&t.map((e,t)=>{var s;let r=c===t;return(0,n.jsxs)("div",{className:"w-full border-gray-500 border-solid border-b-[1px] box-border",children:[(0,n.jsxs)("button",{onClick:()=>m(t),className:"w-full p-0 pb-4 flex justify-between items-center text-start text-black bg-transparent cursor-pointer",children:[(0,n.jsx)("h3",{className:" font-medium text-[20px] leading-[140%] m-0",children:null==e?void 0:e.question}),r?(0,n.jsx)(a.ywL,{className:"w-6 h-6 text-black"}):(0,n.jsx)(a.Lfi,{className:"w-6 h-6 text-black"})]}),(0,n.jsx)("div",{ref:e=>x.current[t]=e,className:"transition-all duration-300 ease-in-out overflow-hidden",style:{maxHeight:r?"".concat(null===(s=x.current[t])||void 0===s?void 0:s.scrollHeight,"px"):"0px"},children:(0,n.jsx)("div",{className:"pb-4",children:(0,n.jsx)("div",{className:" font-normal text-[16px] leading-[150%] text-black p-0 m-0 rich-text",dangerouslySetInnerHTML:{__html:(0,o.r)(null==e?void 0:e.answer)||""}})})})]},t)})})]})})}},85211:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return P},default:function(){return q}});var n=s(85893),r=s(11163),a=s(81251),i=s(10026),l=s(67294),o=s(25675),c=s.n(o),u=s(28276),d=s(62417),x=s(41664),m=s.n(x),p=s(575),f=s(5152);let h=s.n(f)()(()=>s.e(3380).then(s.t.bind(s,73380,23)),{loadableGenerated:{webpack:()=>[73380]},ssr:!1}),b=(0,l.memo)(e=>{let{industries:t=[],loading:s,page:a,meta:i}=e,{t:l}=(0,u.$G)(["industries","common"]),o=(0,r.useRouter)(),x=o.locale||"en";return(0,n.jsxs)("section",{className:"w-full px-6 sm:px-6 lg:px-20 py-[40px] lg:py-[60px] box-border text-text-primary max-w-[1600px] mx-auto ",children:[(0,n.jsx)("h2",{className:"w-full m-0 text-[28px] sm:text-[32px] lg:text-[40px] leading-[120%] font-medium mb-6 md:mb-10",children:l("industries:industries.list.title")}),s?(0,n.jsx)("div",{className:"flex items-center justify-center w-full py-20",children:(0,n.jsx)(h,{color:"#EF4444",size:48})}):(null==t?void 0:t.length)>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 md:gap-10",children:null==t?void 0:t.map((e,t)=>{let s="/industry/".concat(null==e?void 0:e.slug),r=(0,d.A)(null==e?void 0:e.coverImage)||"/[email protected]";return(0,n.jsx)(m(),{href:s,className:"block no-underline text-inherit","aria-label":(null==e?void 0:e.name)||"industry details",children:(0,n.jsxs)("div",{className:"relative w-full box-border h-[360px] rounded-[24px] p-6 text-5xl text-background-color-primary flex flex-col justify-end transition-all duration-500 ease-in-out overflow-hidden",children:[(0,n.jsx)(c(),{src:r,alt:(null==e?void 0:e.coverImageAlt)||"Industry ".concat(t+1," Image"),fill:!0,className:"object-cover object-center z-0",sizes:"(max-width: 768px) 100vw, 50vw",priority:0===t}),(0,n.jsx)("div",{className:"absolute inset-0 bg-black/25 z-0 rounded-[24px]"}),(0,n.jsxs)("div",{className:"relative z-10 flex flex-col lg:flex-row items-end justify-between gap-4 w-full",children:[(0,n.jsx)("h3",{className:"w-full text-[24px] leading-[140%] font-medium m-0",children:null==e?void 0:e.name}
1),(0,n.jsx)("button",{className:"w-max no-underline self-end shrink-0 rounded-[50px] bg-white text-black text-[16px] font-medium py-3 px-6 cursor-pointer hover:bg-[#e72c46] hover:text-white transition duration-300 ease-in-out",children:l("common:btnTxt.view_details")})]})]})},null==e?void 0:e._id)})}),(0,n.jsx)(p.Z,{meta:{page:a,totalPages:null==i?void 0:i.totalPages},locale:x,hrefForPage:e=>{let t={};return e>1&&(t.page=e),{pathname:o.pathname,query:t}},ariaLabel:"Industries pagination"})]}):(0,n.jsx)("div",{className:"py-20 text-lg text-center text-gray-400 col-span-full",children:"No industries found."})]})});var g=s(80800),j=s(66167),w=e=>{let{initialItems:t=[],initialMeta:s=null,page:l}=e,{t:o}=(0,u.$G)("industries"),c=(0,r.useRouter)().locale||"en",d=[0,1,2,3].map(e=>({question:o("industries.faqs.".concat(e,".question")),answer:o("industries.faqs.".concat(e,".answer"))}));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{}),(0,n.jsxs)("main",{className:"w-full box-border bg-background-color-primary overflow-hidden",children:[(0,n.jsx)(i.Z,{name:o("industries.banner.title"),breadcrumbProps:{labelMap:{home:"ar"===c?"Ø§ÙØ±Ø¦ÙØ³ÙØ©":"Home",industry:"ar"===c?"اÙÙØ·Ø§Ø¹Ø§Øª":"Industries"},separator:"ar"===c?"â¹":">"}}),(0,n.jsx)(b,{industries:t,loading:!1,meta:s,page:l}),(0,n.jsx)(g.default,{faqs:d})]}),(0,n.jsx)(j.default,{})]})},v=s(9008),y=s.n(v),N=s(75331);let k="https://www.prism-me.com",_=e=>{let t=parseInt(e||"1",10);return Number.isFinite(t)&&t>0?t:1};var P=!0;function q(e){let{initialItems:t=[],initialMeta:s=null}=e,{t:a}=(0,u.$G)("industries"),{locale:i,query:l}=(0,r.useRouter)(),o=_(l.page),c="ar"===i?"".concat(k,"/").concat(i,"/industry"):"".concat(k,"/industry"),d=o>1?"".concat(c,"?page=").concat(o):c,x=a("industries.seo.metaTitle"),m=a("industries.seo.metaDescription");if(o>1){let e=a("industries.seo.pageSuffix",{page:o,defaultValue:"Page ".concat(o)});x="".concat(a("industries.seo.pageTitleBase",{defaultValue:"Digital Marketing Services by Industry"})," â ").concat(e," | Prism Digital"),m="".concat(m," (").concat(e,")")}return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N.Z,{enPath:"/industry",arPath:"/ar/industry",params:{...o>1&&{page:o}}}),(0,n.jsxs)(y(),{children:[(0,n.jsx)("title",{children:x}),(0,n.jsx)("meta",{name:"description",content:m}),(0,n.jsx)("link",{rel:"canonical",href:d})]}),(0,n.jsx)(w,{initialItems:t,initialMeta:s,page:o})]})}},62417:function(e,t,s){"use strict";s.d(t,{A:function(){return n}});let n=e=>{if(!e)return"";let t="https://d1jzpuh6ctcnd2.cloudfront.net";if(e.startsWith(t))return e;for(let s of["https://prismprodnew.s3.us-east-1.amazonaws.com","https://prismprodnew.s3.amazonaws.com","https://prismmumbaibucket.s3.ap-south-1.amazonaws.com","https://prismmumbaibucket.s3.amazonaws.com"])if(e.startsWith(s))return e.replace(s,t);return e.startsWith("http")?e:"".concat(t,"/").concat(e.replace(/^\/+/,""))}},59677:function(e,t,s){"use strict";s.d(t,{r:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new DOMParser().parseFromString(e,"text/html");return t.querySelectorAll("a").forEach(e=>{(e.getAttribute("href")||"").startsWith("http")&&(e.setAttribute("rel","dofollow"),e.removeAttribute("target","_blank"))}),t.body.innerHTML}}},function(e){e.O(0,[509,6130,594,7066,5786,1251,6167,9518,2888,9774,179],function(){return e(e.s=63877)}),_N_E=e.O()}]); 2//# sourceMappingURL=industry-1ba2fadf0cb2bade.js.map
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.