1(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["events"],{"6ee1":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t._self._c;return a("div",{staticClass:"bg-fullscreen",style:{"background-image":"url("+e("d959")+")"}},[a("ModalCalendar",{attrs:{events:t.events}})],1)},s=[],l=function(){var t=this,a=t._self._c;return a("b-modal",{attrs:{id:"modal-calendar",size:"size-calendar","hide-footer":"","hide-header":"","no-close-on-backdrop":"","no-close-on-esc":"",centered:"","modal-class":"modal-mobile-fullscreen"}},[a("div",{staticClass:"d-block text-center mt-1 mt-lg-3 mb-3"},[a("img",{attrs:{src:t.$store.getters["appConfig/getAppLogo"]}})]),0===t.events.length?a("div",{staticClass:"calendar-empty"},[t._v("\n "+t._s(t.$t("pages.calendar.calendar_modal_no_events"))+"\n ")]):a("div",{staticClass:"d-block calendar-list mt-4"},[t._l(t.events,(function(e,n){return[a("div",{key:n,staticClass:"calendar-list__item"},[a("div",{staticClass:"calendar-list__item__content"},[a("div",{staticClass:"calendar-list__item__content__date"},[a("span",{staticClass:"calendar-list__item__content__date__day"},[t._v(t._s(e.start_at.getDate()))]),a("br"),a("span",{staticClass:"calendar-list__item__content__date__month"},[t._v(t._s(e.start_at.toLocaleString(t.locale,{month:"short"})))])]),a("div",{staticClass:"calendar-list__item__content__info"},[a("div",{staticClass:"calendar-list__item__content__info__help"},[t._v("\n Serie A - "+t._s(e.start_at.toLocaleString(t.locale,{hour:"numeric",minute:"numeric"}))+"\n ")]),a("div",{staticClass:"calendar-list__item__content__info__title"},[t._v("\n "+t._s(e.title)+"\n ")]),a("div",{staticClass:"calendar-list__item__content__info__subtitle"},[t._v("\n "+t._s(e.subtitle)+"\n ")])])]),a("div",{staticClass:"calendar-list__item__btn"},[a("a",{staticClass:"btn btn-block btn-outline-primary",attrs:{href:e.gallery_url}},[t._v("\n "+t._s(t.$t("pages.calendar.calendar_modal_btn_photos"))+"\n "),a("span",{staticClass:"btn-arrow"},[t._v(">")])])])]),a("hr",{staticClass:"border-dark",staticStyle:{margin:".7rem -1rem"}})]}))],2)])},i=[],_={components:{},props:["events"]},r=_,c=e("2877"),o=Object(c["a"])(r,l,i,!1,null,null,null),d=o.exports,u=e("a5c8"),m={components:{ModalCalendar:d},data:function(){return{events:[]}},mounted:function(){var t=this;u["a"].listCalendarEvents().then((function(a){t.events=a.data.results.map((function(t){var a=t.name.replace(/\d{2,4}(\s*\/\s*\d{2,4})?/g,"");return{start_at:new Date(t.start_at),info:"Serie A - 20:45",title:a.split("-")[0],subtitle:a.split("-")[1],gallery_url:t.gallery_url}}))})).finally((function(){t.$bvModal.show("modal-calendar")}))}},v=m,p=(e("c5f3"),Object(c["a"])(v,n,s,!1,null,null,null));a["default"]=p.exports},a6b9:function(t,a,e){},c5f3:function(t,a,e){"use strict";e("a6b9")},d959:function(t,a,e){t.exports=e.p+"img/calendar-bg_low.5e58973c.jpg"}}]); 2//# sourceMappingURL=events.e7be06a9.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.