(window.webpackJsonpNewland_Toubiz_Poi_Neos=window.webpackJsonpNewland_Toubiz_Poi_Neos||[]).push([[304],{JYcI:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("tb-w-popover",{ref:"awardsFilter",staticClass:"tb-w-filter-item mr-4",class:{"flex-initial flex-shrink-0":t.parentEq.small,"mb-4":!(t.parentEq.small||t.filterSectionCount<=2)},attrs:{alignment:t.parentEq.medium||t.filterSectionCount>4?"left":"right","position-relative":!t.parentEq.small},on:{toggle:function(e){return t.$emit("toggle")}},scopedSlots:t._u([{key:"trigger",fn:function(e){var n=e.toggle,r=e.showPopover;return[i("tb-w-button",{staticClass:"flex-shrink-0 tb-w-button__dynamicFields",class:{"bg-gray-100":r},attrs:{variant:"tertiary"},on:{click:function(t){return n()}}},[t._v("\n            "+t._s(t.sectionLabel)+"\n            "),i("tb-w-icon",{staticClass:"ml-2",attrs:{icon:r?"chevron-up":"chevron-down",size:".5"}})],1)]}},{key:"default",fn:function(){return[i("tb-w-awards-filter",{staticClass:"w-64",attrs:{value:t.value,"award-sets":t.awardSets,"filter-type":t.filterTypes.AWARDS},on:{input:t.onInput}})]},proxy:!0}])})};n._withStripped=!0;var r=i("ymbs"),o={name:"TbWEventFilterAwards",props:{filterSectionCount:{type:Number,required:!0},value:{type:Object,required:!0},awardSets:{type:Array,required:!0},sectionLabel:{type:String,required:!0},parentEq:{type:Object,required:!0}},computed:{filterTypes:()=>r.a},methods:{onInput(t){this.$emit("input",t),this.$refs.awardsFilter.toggle()}}},s=i("KHd+"),a=Object(s.a)(o,n,[],!1,null,null,null);e.default=a.exports},"KHd+":function(t,e,i){"use strict";function n(t,e,i,n,r,o,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var E=l.beforeCreate;l.beforeCreate=E?[].concat(E,c):[c]}return{exports:t,options:l}}i.d(e,"a",(function(){return n}))},ymbs:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));const n={AREAS:"areas",CATEGORIES:"categories",CITIES:"cities",CURRENTLY_OPEN:"currentlyOpen",DATE:"date",DISTANCE_FROM:"distanceFrom",DYNAMIC_FIELDS:"dynamicFields",EVENT_LOCATION:"eventLocation",EVENT_LOCATION_CAPACITY:"eventLocationCapacity",EVENT_LOCATION_SIZE:"eventLocationSize",HAS_SNOW:"hasSnow",HIGHLIGHT:"highlights",HOST:"host",ID:"id",LOCATION:"location",OPEN_AT:"openAt",OPEN_TODAY:"openToday",PITCH_SIZE:"pitchSize",PITCH_MAX_LENGTH:"servicePitchMaxLength",RESERVATION:"reservation",SEARCH:"search",SERVICES:"service",SERVICE_ACCOMMODATION:"serviceAccommodations",SERVICE_VARIOUS:"serviceVarious",SERVICE_EVENT_LOCATION:"serviceEventLocations",SERVICE_PITCH:"servicePitch",SERVICE_PITCH_COLLECTION:"servicePitchCollection",TIP:"tip",TOUR_HIGHLIGHTS:"tourHighlight",TOUR_TYPES:"tourType",TOUR_DIFFICULTY_COLLECTION:"tourDifficultyCollection",TOUR_DIFFICULTY:"tourDifficulty",TOUR_DURATION:"tourDuration",TOUR_DISTANCE:"tourDistance",TOUR_ELEVATION_UP:"tourElevationUp",VEHICLE_TYPE:"vehicleType",ACCOMMODATION:"accommodation",AWARDS:"awards",AWARD_PROPERTIES:"awardProperties",OPENING_TIMES_COLLECTION:"openingTimesCollection",GEOLOCATION_RADIUS:"geolocationRadius",RECOMMENDED_TIME_OF_TRAVEL:"recommendedTimeOfTravel",CLASSIFICATIONS:"classifications"}}}]);