PageSourceSearch

https://www.prism-me.com/_next/static/chunks/pages/case-study-cc9319590517efad.js

js prism-me.com collected 2026-10-03 21:22:52 UTC 13,455 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2181,800],{14622:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/case-study",function(){return r(95217)}])},80800:function(e,t,r){"use strict";r.r(t);var a=r(85893),n=r(67294),s=r(15581),l=r(28276),i=r(11163),o=r(59677),c=r(41664),d=r.n(c);t.default=e=>{let{faqs:t}=e;(0,i.useRouter)();let{t:r}=(0,l.$G)("common"),[c,u]=(0,n.useState)(null),x=(0,n.useRef)([]),m=e=>{u(t=>t===e?null:e)};return(0,a.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,a.jsxs)("div",{className:"mx-auto flex flex-col gap-6 md:gap-10",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-6",children:[(0,a.jsx)("h2",{className:" font-medium text-[28px] sm:text-[32px] lg:text-[40px] leading-[120%] m-0",children:r("faqs.title")}),(0,a.jsx)(d(),{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:r("faqs.btnTxt")})]}),(0,a.jsx)("div",{className:"flex flex-col gap-4",children:Array.isArray(t)&&t.map((e,t)=>{var r;let n=c===t;return(0,a.jsxs)("div",{className:"w-full border-gray-500 border-solid border-b-[1px] box-border",children:[(0,a.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,a.jsx)("h3",{className:" font-medium text-[20px] leading-[140%] m-0",children:null==e?void 0:e.question}),n?(0,a.jsx)(s.ywL,{className:"w-6 h-6 text-black"}):(0,a.jsx)(s.Lfi,{className:"w-6 h-6 text-black"})]}),(0,a.jsx)("div",{ref:e=>x.current[t]=e,className:"transition-all duration-300 ease-in-out overflow-hidden",style:{maxHeight:n?"".concat(null===(r=x.current[t])||void 0===r?void 0:r.scrollHeight,"px"):"0px"},children:(0,a.jsx)("div",{className:"pb-4",children:(0,a.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)})})]})})}},95217:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return q},default:function(){return T}});var a=r(85893),n=r(81251),s=r(10026),l=r(80800),i=r(66167),o=r(67294),c=r(11163),d=r(25675),u=r.n(d),x=r(45697),m=r.n(x),p=r(20373),f=r(28276),h=r(41664),g=r.n(h),b=r(59677),v=r(62417),y=r(575);let w=e=>{let t=parseInt(e||"1",10);return Number.isFinite(t)&&t>0?t:1},j=(0,o.memo)(e=>{let{caseStudies:t=[],loading:r,categories:n=[],meta:s}=e,{t:l}=(0,f.$G)(["caseStudies","common"]),i=(0,c.useRouter)(),o=i.locale||"en",d=w(i.query.page),x="string"==typeof i.query.cat&&i.query.cat?i.query.cat:null,m=function(){let{cat:e,page:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};return e&&(r.cat=e),t>1&&(r.page=t),{pathname:i.pathname,query:r}},h=m(),j=e=>m({cat:null==e?void 0:e.slug});return(0,a.jsxs)("section",{className:"w-full px-6 sm:px-6 lg:px-20 py-[40px] lg:py-[60px] box-border text-45xl text-text-primary max-w-[1600px] mx-auto",children:[(0,a.jsxs)("div",{className:"w-full flex flex-col lg:flex-row items-center justify-between gap-5 max-w-full mb-6 md:mb-10",children:[(0,a.jsx)("h2",{className:"w-full lg:w-1/2 m-0 text-[28px] sm:text-[32px] lg:text-[40px] leading-[120%] font-medium",children:l("caseStudies:caseStudies.list.title")}),(0,a.jsxs)("div",{className:"w-full lg:w-auto",children:[(0,a.jsx)("div",{className:"flex lg:hidden overflow-x-auto scrollbar-hide pb-2",children:(0,a.jsxs)("div",{className:"flex items-center gap-3 min-w-max",children:[(0,a.jsx)(g(),{href:h,className:"no-underline rounded-[50px] px-3 py-2 font-medium text-[14px] border border-solid border-[#eee] transition duration-300 ease-in-out whitespace-nowrap ".concat(x?"bg-transparent text-black hover:border-crimson":"bg-crimson text-white"),children:"ar"===o?"الجميع":"All"}),Array.isArray(n)&&n.map(e=>(0,a.jsx)(g(),{href:j(e),className:"no-underline rounded-[50px] px-3 py-2 font-medium text-[14px] border border-solid border-[#eee] transition duration-300 ease-in-out whitespace-nowrap ".concat(x===(null==e?void 0:e.slug)?"bg-crimson text-white":"bg-transparent text-black hover:border-crimson"),children:null==e?void 0:e.name},null==e?void 0:e._id))]})}),(0,a.jsxs)("div",{className:"hidden lg:flex flex-row items-center justify-end [row-gap:10px] max-w-full text-center gap-3 flex-wrap",children:[(0,a.jsx)(g(),{href:h,className:"no-underline rounded-[50px] px-3 py-2 font-medium text-[14px] lg:text-[15px] border border-solid border-[#eee] transition duration-300 ease-in-out ".concat(x?"bg-transparent text-black hover:border-crimson":"bg-crimson text-white"),children:"ar"===o?"الجميع":"All"}),Array.isArray(n)&&n.map(e=>(0,a.jsx)(g(),{href:j(e),className:"no-underline rounded-[50px] px-3 py-2 font-medium text-[14px] lg:text-[15px] border border-solid border-[#eee] transition duration-300 ease-in-out ".concat(x===(null==e?void 0:e.slug)?"bg-crimson text-white":"bg-transparent text-black hover:border-crimson"),children:null==e?void 0:e.name},null==e?void 0:e._id))]})]})]}
1),r?(0,a.jsx)("div",{className:"flex items-center justify-center w-full py-20",children:(0,a.jsx)(p.Z,{color:"#EF4444",size:48})}):(null==t?void 0:t.length)>0?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"grid grid-cols-1",children:Array.isArray(t)&&t.map((e,t)=>(0,a.jsx)(g(),{href:"/case-study/".concat(null==e?void 0:e.slug),className:"no-underline hover:no-underline focus:no-underline text-inherit","aria-label":(null==e?void 0:e.title)||"Case Study ".concat(t+1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 py-6 border-b border-gray-200 lg:flex-row lg:items-center md:gap-6",children:[(0,a.jsx)("div",{className:"w-full max-w-[360px] shrink-0 mx-auto lg:mx-0",children:(0,a.jsx)("div",{className:"relative w-full aspect-[690/360] rounded-2xl overflow-hidden border border-gray-200",children:(0,a.jsx)(u(),{fill:!0,sizes:"(max-width: 768px) 100vw, 360px",className:"object-cover object-top",src:(0,v.A)(null==e?void 0:e.coverImage)||"/[email protected]",alt:(null==e?void 0:e.coverImage_alt)||"Case Study ".concat(t+1," Image")})})}),(0,a.jsxs)("div",{className:"flex flex-col flex-1 gap-4",children:[(0,a.jsx)("h3",{className:"text-[24px] leading-[140%] font-medium m-0",children:null==e?void 0:e.title}),(0,a.jsx)("div",{className:"text-[16px] leading-[150%] font-normal m-0 rich-text text-text-secondary",dangerouslySetInnerHTML:{__html:(0,b.r)(null==e?void 0:e.description)||""}})]}),(0,a.jsx)("div",{className:"lg:ml-auto shrink-0",children:(0,a.jsx)("span",{className:"inline-flex items-center justify-center rounded-[50px] bg-black text-white text-[16px] font-medium py-3 px-6 cursor-pointer hover:bg-[#e72c46] transition duration-300 ease-in-out",children:l("common:btnTxt.learnMore")})})]})},t))})}):(0,a.jsx)("div",{className:"col-span-full text-center py-20 text-gray-400 text-lg",children:"No case study found."}),(0,a.jsx)(y.Z,{meta:{page:d,totalPages:null==s?void 0:s.totalPages},locale:o,hrefForPage:e=>m({cat:x,page:e}),ariaLabel:"Case studies pagination"})]})});j.propTypes={caseStudies:m().array,loading:m().bool,categories:m().array,meta:m().object};var N=e=>{let{initialItems:t=[],initialMeta:r=null,initialCategories:o=[],categoryName:d=null}=e,{t:u}=(0,f.$G)("caseStudies"),x=(0,c.useRouter)().locale||"en",m=[0,1,2,3].map(e=>({question:u("caseStudies.faqs.".concat(e,".question")),answer:u("caseStudies.faqs.".concat(e,".answer"))})),p=d?u("caseStudies.banner.categoryTitle",{category:d,defaultValue:"".concat(d," Case Studies")}):u("caseStudies.banner.title");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{}),(0,a.jsxs)("main",{className:"w-full box-border bg-background-color-primary overflow-hidden",children:[(0,a.jsx)(s.Z,{name:p,breadcrumbProps:{labelMap:{home:"ar"===x?"الرئيسية":"Home","case-study":"ar"===x?"دراسات الحالة":"Case Studies"},separator:"ar"===x?"‹":">"}}),(0,a.jsx)(j,{caseStudies:t,loading:!1,categories:o,meta:r}),(0,a.jsx)(l.default,{faqs:m})]}),(0,a.jsx)(i.default,{})]})},S=r(9008),_=r.n(S),k=r(75331);let P="https://www.prism-me.com",C=e=>{let t=parseInt(e||"1",10);return Number.isFinite(t)&&t>0?t:1},O=e=>String(e).replace(/[-_]+/g," ").replace(/\b\w/g,e=>e.toUpperCase()),A=(e,t)=>{if(!t)return null;let r=(e||[]).find(e=>[null==e?void 0:e.slug,null==e?void 0:e.value,null==e?void 0:e.id,null==e?void 0:e._id,null==e?void 0:e.name].filter(Boolean).map(String).includes(t));return(null==r?void 0:r.name)||(null==r?void 0:r.title)||(null==r?void 0:r.label)||O(t)};var q=!0;function T(e){let t,r,{initialItems:n=[],initialMeta:s=null,initialCategories:l=[]}=e,{t:i}=(0,f.$G)("caseStudies"),{locale:o,query:d}=(0,c.useRouter)(),u=C(d.page),x="string"==typeof d.cat&&d.cat?d.cat:null,m=A(l,x),p="ar"===o?"".concat(P,"/").concat(o,"/case-study"):"".concat(P,"/case-study"),h=new URLSearchParams;x&&h.set("cat",x),u>1&&h.set("page",String(u));let g=h.toString(),b=g?"".concat(p,"?").concat(g):p;if(x?(t=i("caseStudies.seo.categoryTitle",{category:m,defaultValue:"".concat(m," Case Studies | Prism Digital")}),r=i("caseStudies.seo.categoryDescription",{category:m,defaultValue:"Explore ".concat(m," case studies from Prism Digital and see the results we delivered for brands in this industry.")})):(t=i("caseStudies.seo.metaTitle"),r=i("caseStudies.seo.metaDescription")),u>1){let e=i("caseStudies.seo.pageSuffix",{page:u,defaultValue:"Page ".concat(u)});
1t=x?"".concat(m," Case Studies – ").concat(e," | Prism Digital"):"".concat(i("caseStudies.seo.pageTitleBase",{defaultValue:"Case Studies"})," – ").concat(e," | Prism Digital"),r="".concat(r," (").concat(e,")")}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.Z,{enPath:"/case-study",arPath:"/ar/case-study",params:{...x&&{cat:x},...u>1&&{page:u}}}),(0,a.jsxs)(_(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"description",content:r}),(0,a.jsx)("link",{rel:"canonical",href:b})]}),(0,a.jsx)(N,{initialItems:n,initialMeta:s,initialCategories:l,categoryName:m})]})}},62417:function(e,t,r){"use strict";r.d(t,{A:function(){return a}});let a=e=>{if(!e)return"";let t="https://d1jzpuh6ctcnd2.cloudfront.net";if(e.startsWith(t))return e;for(let r 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(r))return e.replace(r,t);return e.startsWith("http")?e:"".concat(t,"/").concat(e.replace(/^\/+/,""))}},59677:function(e,t,r){"use strict";r.d(t,{r:function(){return a}});let a=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}},20373:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var a=r(67294),n={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function s(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,r=(e.match(/^[0-9.]*/)||"").toString();t=r.includes(".")?parseFloat(r):parseInt(r,10);var a=(e.match(/[^0-9]*$/)||"").toString();return n[a]?{value:t,unit:a}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var l=function(){return(l=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i=function(e,t){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(r[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,a=Object.getOwnPropertySymbols(e);n<a.length;n++)0>t.indexOf(a[n])&&Object.prototype.propertyIsEnumerable.call(e,a[n])&&(r[a[n]]=e[a[n]]);return r},o=function(e,t,r){var a="react-spinners-".concat(e,"-").concat(r);if("undefined"==typeof window||!window.document)return a;var n=document.createElement("style");document.head.appendChild(n);var s=n.sheet,l="\n    @keyframes ".concat(a," {\n      ").concat(t,"\n    }\n  ");return s&&s.insertRule(l,0),a}("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip"),c=function(e){var t=e.loading,r=e.color,n=void 0===r?"#000000":r,c=e.speedMultiplier,d=e.cssOverride,u=e.size,x=void 0===u?35:u,m=i(e,["loading","color","speedMultiplier","cssOverride","size"]),p=l({background:"transparent !important",width:s(x),height:s(x),borderRadius:"100%",border:"2px solid",borderTopColor:n,borderBottomColor:"transparent",borderLeftColor:n,borderRightColor:n,display:"inline-block",animation:"".concat(o," ").concat(.75/(void 0===c?1:c),"s 0s infinite linear"),animationFillMode:"both"},void 0===d?{}:d);return void 0===t||t?a.createElement("span",l({style:p},m)):null}}},function(e){e.O(0,[509,6130,594,7066,5786,1251,6167,9518,2888,9774,179],function(){return e(e.s=14622)}),_N_E=e.O()}]);
2//# sourceMappingURL=case-study-cc9319590517efad.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.