"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[46355],{14531:(e,t,n)=>{n.d(t,{i5:()=>r,j9:()=>i,u2:()=>o});var r="@@BLOG_LISTING/GET_BLOG_LISTING_CONFIG_REQUEST",o="@@BLOG_LISTING/GET_BLOG_LISTING_CONFIG_SUCCESS",i="@@BLOG_LISTING/GET_BLOG_LISTING_CONFIG_FAILURE"},33600:(e,t,n)=>{n.d(t,{S:()=>m});var r=n(14531),o=n(20432),i=n(49670),a=n(58846),l=n(56282),u=function(e){var t=e.language,n=e.listingId,r=e.listingType,o=e.page,u=e.limit,c=e.platform,s=e.selectedLanguage,f=e.domainExtension,p=e.filterId,d=r==l.f.CATEGORY?l.b.CATEGORY:l.b.SECTION;return a.w.serviceGWFetch("/api-v1/cms/listing/".concat(d,"/").concat(n),i.w.GET,{page:o,limit:u,filterId:p},{headers:{"X-Language":t,"x-selected-language":s,"x-platform":c,"x-domain-extension":f}})},c=n(36027);function s(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){for(var t=1;t0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]{n.d(t,{vl:()=>f,_6:()=>s,bt:()=>p.b,Se:()=>r.S,I6:()=>c});var r=n(33600),o=n(14531);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.i5:return l(a({},e),{loading:!0});case o.u2:return l(a({},e,t.payload),{loading:!1,failed:!1});case o.j9:return l(a({},e),{loading:!1,failed:!0});default:return e}};var s=function(e){return e.blogListing},f=function(e){return e.blogListing.loading},p=n(56282)},56282:(e,t,n)=>{var r,o;n.d(t,{b:()=>r,f:()=>o}),function(e){e.CATEGORY="category",e.SECTION="section"}(r||(r={})),function(e){e[e.CATEGORY=12]="CATEGORY",e[e.SECTION=13]="SECTION"}(o||(o={}))},61436:(e,t,n)=>{n.d(t,{Xq:()=>E.Xq,sX:()=>E.sX,KX:()=>E.KX,Yi:()=>E.Yi,jE:()=>E.jE,cb:()=>E.cb,Pv:()=>E.Pv,dP:()=>E.dP,dK:()=>P,f4:()=>E.f4,o2:()=>E.o2,_R:()=>E._R,I6:()=>I,fp:()=>m,NG:()=>O,qK:()=>E.qK});var r,o=n(91800),i="@@CAMPAIGN/GET_CAMPAIGN_CONFIG_REQUEST",a="@@CAMPAIGN/GET_CAMPAIGN_CONFIG_SUCCESS",l="@@CAMPAIGN/GET_CAMPAIGN_CONFIG_FAILURE",u="@@CAMPAIGN/LOAD_CAMPAIGN_CURRENT_PRIORITY_CONFIG",c="@@CAMPAIGN/SET_CAMPAIGN_SHOW_FILTERS",s=n(62812),f=function(e,t){return s.V0.fetch("/api-v1/campaigns/config/".concat(t),s.w$.GET,{},{headers:{"content-language":e}}).then((function(e){if(e.ok)return e.data;throw Error}))},p=n(5829);function d(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}var g=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i:return j(C({},e),{loading:!0});case a:return j(C({},e,t.payload),{loading:!1,failed:!1});case l:return j(C({},e),{loading:!1,failed:!0});case u:var n,r,o,s,f;return j(C({},e),{prioritaryCampaign:{campaignId:null===(n=t.payload)||void 0===n?void 0:n.campaignId,name:null===(r=t.payload)||void 0===r?void 0:r.name,slug:null===(o=t.payload)||void 0===o?void 0:o.slug,style:null===(s=t.payload)||void 0===s?void 0:s.style,title:null===(f=t.payload)||void 0===f?void 0:f.title}});case c:return j(C({},e),{listFiltersEnabled:null===t||void 0===t?void 0:t.payload});default:return e}};var E=n(42690)},42690:(e,t,n)=>{n.d(t,{KX:()=>c,Pv:()=>d,Xq:()=>r,Yi:()=>u,_R:()=>s,cb:()=>l,dP:()=>i,f4:()=>g,jE:()=>a,o2:()=>f,qK:()=>o,sX:()=>p});var r=function(e){return e.campaignConfig},o=function(e){return e.campaignConfig.landing},i=function(e){return e.campaignConfig.startDate},a=function(e){return e.campaignConfig.campaignType},l=function(e){return e.campaignConfig.slug},u=function(e){return e.campaignConfig.style},c=function(e){var t;return null===(t=e.campaignConfig.prioritaryCampaign)||void 0===t?void 0:t.style},s=function(e){var t;return(null===(t=e.campaignConfig.prioritaryCampaign)||void 0===t?void 0:t.slug)||""},f=function(e){var t,n,r,o,i;return(null===(t=e.campaignConfig.prioritaryCampaign)||void 0===t?void 0:t.campaignId)&&{name:(null===(n=e.campaignConfig.prioritaryCampaign)||void 0===n?void 0:n.name)||"",slug:(null===(r=e.campaignConfig.prioritaryCampaign)||void 0===r?void 0:r.slug)||"",id:(null===(o=e.campaignConfig.prioritaryCampaign)||void 0===o?void 0:o.campaignId)||"",title:(null===(i=e.campaignConfig.prioritaryCampaign)||void 0===i?void 0:i.title)||""}||void 0},p=function(e){return e.campaignConfig.prioritaryCampaign},d=function(e){return e.campaignConfig.failed},g=function(e){var t;return!!(null===(t=e.campaignConfig.prioritaryCampaign)||void 0===t?void 0:t.campaignId)}},73246:(e,t,n)=>{n.d(t,{pT:()=>v,I6:()=>h});var r=n(62812),o=n(29843);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}var l=function(e,t,n){var l=o.gd;return r.V0.fetch("/api-v1/campaigns",r.w$.GET,a(function(e){for(var t=1;t1&&{page:n}),{numPageItems:l}),{headers:{"content-language":e,"X-Platform":t}}).then((function(e){return e.data}))},u="@@CAMPAIGN/GET_CAMPAIGNS_REQUEST",c="@@CAMPAIGN/GET_CAMPAIGNS_SUCCESS",s="@@CAMPAIGN/GET_CAMPAIGNS_FAILURE";function f(e,t,n,r,o,i,a){try{var l=e[i](a),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}var p=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&void 0!==arguments[0]?arguments[0]:P,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case u:return O(m({},e),{loading:!0});case c:return O(m({},e),{loading:!1,failed:!1,campaigns:t.payload.rows,currentPage:t.payload.currentPage,totalPages:t.payload.totalPages,totalProducts:t.payload.totalProducts});case s:return O(m({},e),{loading:!1,failed:!0});default:return e}};n(15970)},15970:(e,t,n)=>{n.d(t,{J:()=>i,c:()=>o});var r=n(20573),o=function(e){return e.campaigns},i=(0,r.P1)(o,(function(e){return{currentPage:e.currentPage,totalPages:e.totalPages,totalProducts:e.totalProducts}}))},24221:(e,t,n)=>{function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;ta});var i={cfConnectingIp:void 0};const a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o({},e)}}}]); //# sourceMappingURL=main-b8666ae1.js.map