(window.webpackJsonp=window.webpackJsonp||[]).push([[95],{482:function(module,exports,__webpack_require__){var content=__webpack_require__(687);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[module.i,content,""]]),content.locals&&(module.exports=content.locals);(0,__webpack_require__(6).default)("7f02bc9d",content,!1,{})},483:function(module,exports,__webpack_require__){var content=__webpack_require__(689);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[module.i,content,""]]),content.locals&&(module.exports=content.locals);(0,__webpack_require__(6).default)("269defa9",content,!1,{})},686:function(module,__webpack_exports__,__webpack_require__){"use strict";var _node_modules_vue_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_event_card_vue_vue_type_style_index_0_id_86ba2c82_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(482);__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_event_card_vue_vue_type_style_index_0_id_86ba2c82_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__).a},687:function(module,exports,__webpack_require__){(module.exports=__webpack_require__(5)(!1)).push([module.i,".event[data-v-86ba2c82]{cursor:pointer;box-shadow:0 0 5px 0 rgba(0,0,0,0.4);padding:25px;background-color:white;text-align:center;text-decoration:none;transition:all 0.2s ease-in-out}.event[data-v-86ba2c82]:hover{box-shadow:1px 1px 10px 0 rgba(0,0,0,0.5)}.event .event-card-image[data-v-86ba2c82]{width:100%;height:70px;object-fit:contain;margin:10px 0px 20px 0px}.event .event-card-title[data-v-86ba2c82]{font-weight:700}\n",""])},688:function(module,__webpack_exports__,__webpack_require__){"use strict";var _node_modules_vue_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_events_vue_vue_type_style_index_0_id_64b8d10a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(483);__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_index_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_events_vue_vue_type_style_index_0_id_64b8d10a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__).a},689:function(module,exports,__webpack_require__){(module.exports=__webpack_require__(5)(!1)).push([module.i,'.sc-form[data-v-64b8d10a]{width:750px;box-sizing:border-box;position:relative}.sc-form form[data-v-64b8d10a]{width:100%;display:flex;flex-flow:row wrap;justify-content:space-between;align-items:flex-end;box-sizing:border-box}.sc-form .sc-form-input-container[data-v-64b8d10a]{margin:0 0 1.5em 0;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.sc-form .sc-form-input-container.hidden[data-v-64b8d10a]{display:none}.sc-form .sc-form-input-container label[data-v-64b8d10a]{top:0;position:relative;width:30%;height:1.8em;font-size:16px;font-weight:700;color:#676767;letter-spacing:0px}.sc-form .sc-form-input-container label.required[data-v-64b8d10a]::after{content:" *";color:#790000}.sc-form .sc-form-input-container .input[data-v-64b8d10a],.sc-form .sc-form-input-container .select[data-v-64b8d10a],.sc-form .sc-form-input-container .textarea[data-v-64b8d10a]{width:70%;height:34px;padding:5px 4px;margin:0;font-size:1em;background:#f1f1f1;border:none}.sc-form .sc-form-input-container.textarea-wrapper[data-v-64b8d10a]{height:160px;width:100%}.sc-form .sc-form-input-container.textarea-wrapper .textarea[data-v-64b8d10a]{height:160px}.sc-form .form-button-wrapper[data-v-64b8d10a]{margin-top:2em;width:100%;text-align:right;margin-bottom:0}.sc-form .form-button-wrapper .button[data-v-64b8d10a]{background-color:#253d99;color:white;text-shadow:1px 1px 5px rgba(255,255,255,0.2);cursor:pointer;width:70%;padding:16px 24px;font-size:1em}.sc-form .sc-form-input-container .error-message[data-v-64b8d10a]{margin-left:30%;text-align:left;box-sizing:border-box;color:#b81d1f;font-size:0.7em;padding:5px 6px;letter-spacing:0.1px;width:70%;background:#ffddde}.sc-form .sc-form-input-container.invalid input[data-v-64b8d10a]{border:1px solid #e7898a;min-height:2.5em}.sc-form .sc-form-input-container.invalid select[data-v-64b8d10a]{border:1px solid #e7898a;min-height:2.5em}.sc-form .sc-form-input-container.invalid textarea[data-v-64b8d10a]{border:1px solid #e7898a}.sc-form .sc-form-input-container .invalid label[data-v-64b8d10a]{color:#b81d1f;font-size:0.6em}.sc-form .notification[data-v-64b8d10a]{position:fixed;z-index:1000;background:#FFF;padding:3em;width:100%;top:48px;left:0;text-align:center}.gated-form.sc-form form[data-v-64b8d10a]{display:flex !important;flex-flow:column;align-items:flex-start}.gated-form.sc-form form .title[data-v-64b8d10a]{font-weight:500;line-height:2}.gated-form .sc-form-input-container[data-v-64b8d10a]{width:100%}@media only screen and (max-width: 1024px){.sc-form[data-v-64b8d10a]{width:100%}}@media only screen and (max-width: 640px){.sc-form .sc-form-input-container[data-v-64b8d10a]{width:100%}}.sc-form .privacy-policy[data-v-64b8d10a]{display:flex;padding-bottom:16px}.sc-form .privacy-policy p[data-v-64b8d10a]{margin-left:1em}.sc-form .checkbox+.error-message[data-v-64b8d10a]{margin-top:32px}@media (max-width: 640px){.sc-form .checkbox+.error-message[data-v-64b8d10a]{margin-top:16px}}.sc-form .checkbox .error-message[data-v-64b8d10a]{margin-top:48px}.sc-form .opt-in[data-v-64b8d10a]{display:flex}.sc-form .opt-in .markup[data-v-64b8d10a]{align-items:flex-start}.sc-form .opt-in p[data-v-64b8d10a]{margin-left:1em}body[data-v-64b8d10a]{scroll-behavior:smooth !important}.heading-2[data-v-64b8d10a]{font-size:1.75em}.base-container[data-v-64b8d10a]{background-color:white}.base-container[data-v-64b8d10a]:nth-child(even){background-color:#e8e8e8}.divider[data-v-64b8d10a]{border:0;border-bottom:1px solid #444c6d;padding-bottom:10px}a[data-v-64b8d10a]{text-decoration:none}.event-grid[data-v-64b8d10a]{display:grid;grid-gap:20px;grid-template-columns:repeat(3, 1fr);margin-top:40px}@media only screen and (max-width: 1000px){.event-grid[data-v-64b8d10a]{grid-template-columns:100%}}.event[data-v-64b8d10a]{cursor:pointer;box-shadow:0 0 5px 0 rgba(0,0,0,0.4);padding:25px;background-color:white;text-align:center;text-decoration:none;transition:all 0.2s ease-in-out;height:100%}.event[data-v-64b8d10a]:hover{box-shadow:1px 1px 10px 0 rgba(0,0,0,0.5)}.event .event-card-image[data-v-64b8d10a]{width:100%;height:70px;object-fit:contain;margin:10px 0px 20px 0px}.event .event-card-title[data-v-64b8d10a]{font-weight:700}\n',""])},860:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",[_vm.top?_c("Container",{staticClass:"base-container"},[_c("h1",{staticClass:"heading-1 center"},[_vm._v(_vm._s(_vm.top.title))])]):_vm._e(),_vm._v(" "),_vm._l(_vm.years,(function(year){return _c("Container",{key:year,staticClass:"base-container"},[_c("h2",{staticClass:"heading-2"},[_vm._v(_vm._s(year))]),_vm._v(" "),_c("hr",{staticClass:"divider"}),_vm._v(" "),_c("div",{staticClass:"event-grid"},[_vm._l(_vm.getEventsForYear(year),(function(event,i){return[0===i&&2024===year?_c("a",{key:"event-"+year+"-"+i+"-1",attrs:{href:"/en/retail_media_networks/",target:"_blank"}},[_c("div",{staticClass:"event"},[_c("img",{staticClass:"event-card-image",attrs:{src:"https://cf-assets.s3.amazonaws.com/NRF+RMN+logo+long.png",alt:""}}),_vm._v(" "),_c("strong",{staticClass:"event-card-title"},[_vm._v("What's in Store for Retail Media Networks")]),_vm._v(" "),_c("p",[_vm._v("Saturday, January 13, 2024 | NYC")]),_vm._v(" "),_c("p",[_vm._v("Jacob K. Javits Convention Center")])])]):_vm._e(),_vm._v(" "),_vm.isEventWithinMonthRange(event)?_c("router-link",{key:"event-"+year+"-"+i,attrs:{to:"nrf-2024-retails-big-show"==event.slug?"/en/nrf-2024/":_vm.$routeTo("events",event.slug)}},[_c("event-card",{attrs:{event:event}})],1):_c("a",{key:"event-"+year+"-"+i,attrs:{href:event.eventWebsite,target:"_blank"}},[_c("event-card",{attrs:{event:event}})],1)]}))],2)])}))],2)};render._withStripped=!0;var slicedToArray=__webpack_require__(22),slicedToArray_default=__webpack_require__.n(slicedToArray),asyncToGenerator=__webpack_require__(12),asyncToGenerator_default=__webpack_require__.n(asyncToGenerator),regenerator=__webpack_require__(4),regenerator_default=__webpack_require__.n(regenerator),lodash=__webpack_require__(72),lodash_default=__webpack_require__.n(lodash),mapper=__webpack_require__(20),dist=__webpack_require__(13),container=__webpack_require__(11),base_image=__webpack_require__(71),event_cardvue_type_template_id_86ba2c82_scoped_true_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"event"},[_c("BaseImage",{staticClass:"event-card-image",attrs:{"image-ref":_vm.event.eventLogo||_vm.event.image}}),_vm._v(" "),_c("strong",{staticClass:"event-card-title"},[_vm._v(_vm._s(_vm.event.title))]),_vm._v(" "),_c("p",[_vm._v(_vm._s(_vm.formatEventDate(_vm.event.startDate,_vm.event.endDate)))]),_vm._v(" "),_c("p",[_vm._v(_vm._s(_vm.event.location))])],1)};event_cardvue_type_template_id_86ba2c82_scoped_true_render._withStripped=!0;var moment_moment=__webpack_require__(23),moment_default=__webpack_require__.n(moment_moment),news_event_cardvue_type_script_lang_js_={components:{BaseImage:base_image.a},props:{event:{type:Object,required:!0}},methods:{formatEventDate:function(startDate,endDate){startDate=moment_default()(startDate),endDate=moment_default()(endDate);var isSameMonth=startDate.month()!==endDate.month();return startDate=startDate.format("MMMM D"),endDate=isSameMonth?endDate.format("MMMM D"):endDate.format("D"),"".concat(startDate," - ").concat(endDate)}}},componentNormalizer=(__webpack_require__(686),__webpack_require__(1)),component=Object(componentNormalizer.a)(news_event_cardvue_type_script_lang_js_,event_cardvue_type_template_id_86ba2c82_scoped_true_render,[],!1,null,"86ba2c82",null);component.options.__file="src/components/news/event-card.vue";var event_card=component.exports,events_eventsvue_type_script_lang_js_={name:"Events",components:{BaseImage:base_image.a,Container:container.a,EventCard:event_card},mixins:[dist.mixins.scMetaTopic],data:function(){return{topic:null,events:[]}},computed:{top:function(){if(this.topic)return this.topic.paragraphs.find((function(p){return p.name.includes("Top")}))},years:function(){return lodash_default.a.uniq(this.events.map((function(ev){return moment(ev.startDate).year()})))}},methods:{getEventsForYear:function(year){return this.events.filter((function(ev){return moment(ev.startDate).year()===year}))},getInternalEventPage:function(slug){return{params:{slug:slug},name:"events"}},isEventWithinMonthRange:function(event){var monthDiff=moment(event.startDate).diff(moment(),"months",!0);return monthDiff>=0&&monthDiff<=1}},beforeMount:function(){var _this=this;return asyncToGenerator_default()(regenerator_default.a.mark((function _callee(){var fetchEventsTopic,fetchEventEntries,_yield$Promise$all,_yield$Promise$all2,topic,entries;return regenerator_default.a.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:return fetchEventsTopic=_this.$getEntries({content_type:"topics","fields.name":"events",include:1}),fetchEventEntries=_this.$getEntries({content_type:"events",order:"-fields.startDate",include:10}),_context.next=4,Promise.all([fetchEventsTopic,fetchEventEntries]);case 4:_yield$Promise$all=_context.sent,_yield$Promise$all2=slicedToArray_default()(_yield$Promise$all,2),topic=_yield$Promise$all2[0],entries=_yield$Promise$all2[1],_this.topic=mapper.a.mapSingle(topic),_this.events=mapper.a.mapMultiple(entries),_this.fetchMeta("events");case 11:case"end":return _context.stop()}}),_callee)})))()}},events_component=(__webpack_require__(688),Object(componentNormalizer.a)(events_eventsvue_type_script_lang_js_,render,[],!1,null,"64b8d10a",null));events_component.options.__file="src/pages/events/events.vue";__webpack_exports__.default=events_component.exports}}]);