PageSourceSearch

https://prod-website-cdn-2.talabat.com/16cdec22ae1ebf1a0f19868301c…/chunks/pages/campaign-1bc9721c956ce254.js

js talabat.com collected 2026-09-24 08:24:47 UTC 12,054 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8977],{15059:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/campaign",function(){return e(9731)}])},9731:function(n,t,e){"use strict";e.r(t),e.d(t,{__N_SSP:function(){return U},default:function(){return P}});var i=e(26042),r=e(85893);e(67294);var o=e(69396),a=e(7297),c=e(87379),s=e(18334);function d(){var n=(0,a.Z)(["\n    img.full-width {\n      width: 100%;\n      object-fit: cover;\n    }\n"]);return d=function(){return n},n}function l(){var n=(0,a.Z)(["\n    padding: 0 ",";\n    max-width: 1231px;\n    display: flex;\n    flex-direction: column;\n    margin: 0 auto;\n    \n    @media "," {\n        padding: 0 23px;\n    }\n"]);return l=function(){return n},n}function u(){var n=(0,a.Z)(["\n    >div {\n        margin-bottom: 116px;\n        \n        @media "," {\n            margin-bottom: 32px;\n        }\n    }\n    \n    >div:last-of-type {\n        margin-bottom: ",";\n    }\n    \n    @media "," {\n        margin: "," auto;\n        max-width: 550px;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n    }\n"]);return u=function(){return n},n}function f(){var n=(0,a.Z)(["\n    margin-bottom: ",";\n    \n    &:first-of-type {\n        margin-top: ",";\n    }\n    \n    &.campaign-banner {\n        position: relative;\n        display: flex;\n        justify-content: space-between;\n        \n        @media "," {\n            align-items: center;\n            justify-content: center;\n            margin: 32px 0 16px 0;\n            flex-direction: column-reverse;\n        }\n        \n        .markdown-rich-text-block {\n            margin: 120px 0;\n            text-align: start;\n            \n            p {\n                max-width: 545px;\n                font-size: ",";\n                line-height: 24px;\n                \n                &:first-of-type {\n                    margin-top: 51px;\n                    \n                    @media "," {\n                        margin-top: 23px;\n                    }\n                }\n                \n                @media "," {\n                    font-size: ",";\n                }\n            }\n            \n            h1 {\n                font-size: ",";\n                font-weight: bold;\n                \n                @media "," {\n                    font-size: ",";\n                    line-height: 33px;\n                    width: 270px;\n                }\n            }\n            \n            @media "," {\n                margin: ",";\n            }\n        }\n        \n        .image-container {\n            img {\n                height: 373px;\n            }\n            @media "," {\n                img {\n                    height: 250px;\n                }\n            }\n        }\n    }\n    \n    &.campaign-content {\n        font-size: ",";\n        h1 {\n            font-size: ",";\n            margin-bottom: ",";\n          \n            @media "," {\n                font-size: ",";\n            }\n            \n            @media "," {\n                font-size: ",";\n            }\n        }\n        \n        @media "," {\n            margin: 16px 0 0 0;\n        }\n    }\n"]);return f=function(){return n},n}var m=c.ZP.div.withConfig({componentId:"sc-e0920aaf-0"})(d()),h=c.ZP.div.withConfig({componentId:"sc-e0920aaf-1"})(l(),s.W0[12],s.Uh.tablet),g=c.ZP.div.withConfig({componentId:"sc-e0920aaf-2"})(u(),s.Uh.tablet,s.W0[16],s.Uh.tablet,s.W0[0]),p=c.ZP.div.withConfig({componentId:"sc-e0920aaf-3"})(f(),s.W0[16],s.W0[16],s.Uh.tablet,s.CH[16],s.Uh.mobile,s.Uh.mobile,s.CH[14],s.CH[40],s.Uh.mobile,s.CH[24],s.Uh.tablet,s.W0[0],s.Uh.tablet,s.CH[16],s.CH[40],s.W0[3],s.Uh.tablet,s.CH[36],s.Uh.mobile,s.CH[30],s.Uh.tablet),x=e(25617),b=e(8547),v=e(3285),w=e(13278),k=e(9863),j=e(82101),y=e(69617),C=e(3524),Z=function(n){var t,e,a=n.cmsData,c=(0,x.v9)(b.W7),s=null==a?void 0:null===(t=a.banner)||void 0===t?void 0:t.filter(function(n){return n.config.type===k.r.image&&n.isFullWidth}),d=null==a?void 0:null===(e=a.banner)||void 0===e?void 0:e.filter(function(n){return n.config.type!==k.r.image||n.config.type===k.r.image&&!n.isFullWidth});return(0,r.jsxs)(m,{children:[(null==a?void 0:a.header)&&(0,r.jsx)(j.l,{header:null==a?void 0:a.header}),s&&1===s.length&&(0,r.jsx)(C.E,(0,o.Z)((0,i.Z)({},s[0]),{url:s[0].url||(c?"/assets/images/downloads-page/banner-mobile.png":"/assets/images/downloads-page/downloads-banner.png")}
1)),(0,r.jsxs)(h,{className:"col-12 align-content-center",children:[d&&d.length>0&&(0,r.jsx)(p,{className:"campaign-banner",children:(0,r.jsx)(v.r,{components:d})}),(0,r.jsx)(p,{className:"campaign-content text-center",children:(0,r.jsx)(g,{children:(0,r.jsx)(v.r,{components:a.content})})})]}),(null==a?void 0:a.footer)&&(0,r.jsx)(y.i,{footer:null==a?void 0:a.footer})]})},W=(0,w.Z)(Z,{ignoreSEO:!1}),N=(0,e(82369).Z)(function(n){return(0,r.jsx)(W,(0,i.Z)({},n))}),U=!0,P=N},94314:function(n,t,e){"use strict";e.d(t,{k:function(){return h}});var i=e(85893);e(67294);var r=e(69553),o=e(7297),a=e(18334),c=e(87379);function s(){var n=(0,o.Z)(["\n  min-height: calc(100vh - 229px);\n  display: flex;\n  flex-direction: column;\n  justify-content: flex-start;\n  align-items: center;\n  .img {\n    background: url(/assets/images/404-desktop-bg.webp) #fff no-repeat top;\n    text-align: center;\n    height: 400px;\n    width: 100%;\n\n    @media "," {\n      background: url(/assets/images/404.webp) #fff no-repeat top;\n      background-size: 90%;\n      height: 270px;\n    }\n  }\n\n  .content {\n    border-top: 1px black solid;\n    width: 600px;\n    text-align: center;\n\n    @media "," {\n      width: calc(100% - 60px);\n    }\n  }\n"]);return s=function(){return n},n}var d=c.ZP.div.withConfig({componentId:"sc-3f06b54e-0"})(s(),a.Uh.mobile,a.Uh.mobile),l=e(11113),u=e(41043),f=e(7746),m=function(n){var t=(0,r.$G)().t;return(0,i.jsxs)(d,{"data-testid":"404-screen",children:[(0,i.jsx)("div",{className:"img mt-4"}),(0,i.jsxs)("div",{className:"content mb-5",children:[(0,i.jsx)("h1",{"data-testid":"header",className:"f-24 pt-5 error f-600",children:t(n.header||"common:pageNotFound.translation")}),(0,i.jsx)("p",{"data-testid":"body",className:"f-18 my-6 muted",children:t(n.body||"common:error404Content.translation")}),!n.hideCta&&(0,i.jsx)(f.Z,{dataTestId:"cta",onClick:function(){return window.location.href=n.ctaUrl||"/"},variant:"secondary",children:t(n.ctaMessage||"common:goToHome.translation")})]})]})},h=(0,l.Z)(m,u.MP.notFoundPage)},69617:function(n,t,e){"use strict";e.d(t,{i:function(){return x}});var i=e(26042),r=e(85893);e(67294);var o=e(7297),a=e(87379),c=e(18334);function s(){var n=(0,o.Z)(["\n    min-height: 130px;\n    background-color: ",";\n    color: white;\n    padding: "," ",";\n    display: flex;\n    justify-content: center;\n    \n    >div {\n        width: 100%;\n        display: flex;\n        flex-direction: column;\n        justify-content: space-between;\n        max-width: 1440px;\n    }\n    \n    &.full-width {\n        >div {\n            max-width: 100%\n        }\n    }\n    \n    @media "," {\n        padding: ",";\n    }\n"]);return s=function(){return n},n}function d(){var n=(0,o.Z)(["\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    \n    .footer-links {\n        gap: ",";\n    }\n"]);return d=function(){return n},n}var l=a.ZP.div.withConfig({componentId:"sc-59f66afd-0"})(s(),function(n){return n.backgroundColor||c.S5.staticPages.primary},c.W0[5],c.W0[12],c.Uh.tablet,c.W0[5]),u=a.ZP.div.withConfig({componentId:"sc-59f66afd-1"})(d(),c.W0[5]),f=e(3524),m=e(9083),h=e(36135),g=e(25617),p=e(8547),x=function(n){var t=n.footer,e=(0,g.v9)(p.X2),o=t.isFullWidth,a=t.image,c=t.links,s=t.footerText,d=t.backgroundColor;return(0,r.jsx)(l,{className:o?"full-width":"",backgroundColor:d,children:(0,r.jsxs)("div",{children:[(0,r.jsxs)(u,{isRTL:e,children:[a&&(0,r.jsx)(f.E,(0,i.Z)({},a)),c&&c.length>0&&(0,r.jsx)(m.y,{links:c,className:"footer-links d-flex"})]}),(0,r.jsx)("hr",{}),s&&(0,r.jsx)(h._,{richTextBlock:s})]})})}},82101:function(n,t,e){"use strict";e.d(t,{l:function(){return v}});var i=e(26042),r=e(85893),o=e(67294),a=e(7297),c=e(87379),s=e(18334);function d(){var n=(0,a.Z)(["\n    min-height: 88px;\n    border-bottom: 1px solid var(--neutral10);\n    display: flex;\n    padding: 0 ",";\n    justify-content: center;
1\n    align-items: center;\n    ","\n    \n    &.no-border {\n        border: none;\n    }\n    \n    >div {\n        width: 100%;\n        display: flex;\n        justify-content: space-between;\n        align-items: center;\n        max-width: 1440px;\n    }\n    \n    &.full-width {\n        >div {\n            max-width: 100%\n        }\n    }\n    \n    .header-links {\n        ","\n        align-items: center;\n        \n        a {\n            ","\n            \n            &.btn {\n                width: 150px;\n            }\n            \n            &.btn-outline {\n                border: solid 1px white;\n            }\n            \n            &.tlb-business-header-cta {\n                background-color: var(--success100);\n                height: 45px;\n                display: flex;\n                align-items: center;\n                justify-content: center;\n                \n                &:hover, &:focus {\n                    background-color: var(--success120);\n                }\n            }\n        }\n        \n        @media "," {\n            gap: ",";\n        }\n    }\n    \n    @media "," {\n        padding: "," ",";\n    }\n"]);return d=function(){return n},n}function l(){var n=(0,a.Z)(["\n    font-size: ",";\n    cursor: pointer;\n    \n    .hamburger-links {\n        position: fixed;\n        left: 0;\n        top: 0;\n        height: 100vh;\n        width: 100vw;\n        background-color: black;\n        z-index: 10;\n        padding: 20px;\n        \n        svg {\n            position: fixed;\n            right: 20px;\n            transform: rotate(45deg);\n            cursor: pointer;\n        }\n        \n        .header-links {\n            flex-direction: column;\n            align-items: start;\n            \n            .tlb-business-header-cta {\n                width: 100%;\n            }\n        }\n    }\n"]);return l=function(){return n},n}var u=c.ZP.div.withConfig({componentId:"sc-9b3bb8ed-0"})(d(),s.W0[12],function(n){return n.backgroundColor?"background-color: ".concat(n.backgroundColor,";"):""},function(n){return n.linkGap?"gap: ".concat(n.linkGap,";"):"gap: ".concat(s.W0[4],";")},function(n){return n.backgroundColor?"color: white;":""},s.Uh.tablet,s.W0[4],s.Uh.tablet,s.W0[0],s.W0[5]),f=c.ZP.div.withConfig({componentId:"sc-9b3bb8ed-1"})(l(),s.CH[32]),m=e(3524),h=e(9083),g=e(25617),p=e(8547),x=e(92814),b=e(51436),v=function(n){var t=n.header,e=n.className,a=function(){v(!0)},c=function(){v(!1)},s=(0,g.v9)(p.W7),d=(0,o.useState)(!1),l=d[0],v=d[1],w=t.isFullWidth,k=t.image,j=t.links,y=t.backgroundColor,C=t.linkGap;return(0,r.jsx)(u,{className:w?"".concat(e," full-width"):"".concat(e),backgroundColor:y,linkGap:C,children:(0,r.jsxs)("div",{children:[k&&(0,r.jsx)(m.E,(0,i.Z)({},k)),j&&j.length>0&&(!t.showHamburger||!s)&&(0,r.jsx)(h.y,{links:j,className:"header-links d-flex"}),j&&j.length>0&&s&&t.showHamburger&&(0,r.jsxs)(f,{children:[(0,r.jsx)("span",{"data-testid":"hamburger-open",onClick:a,children:(0,r.jsx)(x.G,{icon:b.xiG})}),l&&(0,r.jsxs)("div",{"data-testid":"hamburger-close",className:"hamburger-links",onClick:c,children:[(0,r.jsx)(x.G,{icon:b.r8p}),(0,r.jsx)(h.y,{links:j,className:"header-links d-flex"})]})]})]})})}},82369:function(n,t,e){"use strict";e.d(t,{Z:function(){return a}});var i=e(26042),r=e(85893);e(67294);var o=e(94314);function a(n){return function(t){return t.displayErrorPage?(0,r.jsx)(o.k,(0,i.Z)({"data-testid":"404-view"},t)):(0,r.jsx)(n,(0,i.Z)({"data-testid":"normal-view"},t))}}}},function(n){n.O(0,[2835,6277,2049,2225,3285,9774,2888,179],function(){return n(n.s=15059)}),_N_E=n.O()}]);

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.