1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[816],{9493:function(a,i,t){var e=t(682),r=t.n(e),o=t(5459),d=t.n(o)()(r());d.push([a.id,".holiday-card__header[data-v-536eb8bc]{display:flex;justify-content:space-between}.holiday-card__title[data-v-536eb8bc]{display:flex;flex-direction:column;margin-right:15px}.holiday-card__accommodation-name[data-v-536eb8bc]{margin:0;font-size:16px;color:#092a5e}.holiday-card__location[data-v-536eb8bc]{margin:0;font-weight:normal;font-size:11px}.holiday-card__map[data-v-536eb8bc]{margin:0;font-weight:normal;font-size:11px;text-decoration:underline;display:inline-block;cursor:pointer}.holiday-card__remove-button[data-v-536eb8bc]:hover{cursor:pointer}.holiday-card.narrow .holiday-card__title[data-v-536eb8bc]{flex-direction:column-reverse;flex-grow:1;margin-right:0;gap:5px}.holiday-card.narrow .holiday-card__accommodation-name[data-v-536eb8bc]{display:flex;justify-content:space-between;gap:30px;line-height:26px}.holiday-card.narrow .holiday-card__location[data-v-536eb8bc]{display:flex;align-items:baseline;line-height:16px}.holiday-card.narrow .holiday-card__location-icon[data-v-536eb8bc]{fill:#002f17;flex-shrink:0;width:7px;height:8px;margin-right:2px}.holiday-card.narrow .holiday-card__map[data-v-536eb8bc]{flex-shrink:0;flex-grow:1;margin-left:30px;text-align:right;display:flex;align-items:baseline;justify-content:flex-end;gap:3px}@media(max-width: 699px){.holiday-card.narrow .holiday-card__map[data-v-536eb8bc]{margin-bottom:8px}}.holiday-card.narrow .holiday-card__map-icon[data-v-536eb8bc]{fill:#002f17;width:7px;height:8px}.holiday-card.narrow.large .holiday-card__title[data-v-536eb8bc]{gap:8px}.holiday-card.narrow.large .holiday-card__location[data-v-536eb8bc],.holiday-card.narrow.large .holiday-card__map[data-v-536eb8bc]{font-size:12px;line-height:18px}.holiday-card.narrow.large .holiday-card__location-icon[data-v-536eb8bc]{width:8px;height:9px}.holiday-card.narrow.large .holiday-card__map-icon[data-v-536eb8bc]{width:8px;height:8px}.holiday-card.narrow.large .holiday-card__accommodation-name[data-v-536eb8bc]{font-size:22px;line-height:29px}",""]),i.A=d},816:function(a,i,t){t.r(i),t.d(i,{default:function(){return v}});var e=function(){var a=this,i=a._self._c;return i("div",{staticClass:"holiday-card__header"},[i("div",{staticClass:"holiday-card__title"},[i("h3",{staticClass:"holiday-card__accommodation-name user-select-text",attrs:{"data-tm-id":"".concat(a.dataTmIdPrefix,"-hotel-title")}},[a._v("\n "+a._s(a.accommodationName)+"\n "),a.isHolidayAvailable&&a.isNarrowCard?i("ShortlistButton",{attrs:{theme:a.theme,holiday:a.shortlistHoliday,"data-tm-id":"".concat(a.dataTmIdPrefix,"-shortlist"),resultsApiUrl:a.resultsApiUrl,"client-id":a.clientId,"viewed-holidays":a.viewedHolidays,"icon-only":!0}}):a._e()],1),a._v(" "),i("h4",{staticClass:"holiday-card__location user-select-text",attrs:{"data-tm-id":"".concat(a.dataTmIdPrefix,"-destination-title")}},[a.isNarrowCard?i("svg",{staticClass:"icon holiday-card__location-icon"},[i("use",a._b({},"use",{"xlink:href":"fcr"===a.theme?"#icon--destination-fc":"#icon--destination"},!1))]):a._e(),a._v("\n "+a._s(a.location)+"\n "),a.showViewMap&&!a.isNarrowCard?i("span",[a._v("\n -\n ")]):a._e(),a._v(" "),a.showViewMap?i("a",{staticClass:"holiday-card__map user-select-text",attrs:{"data-tm-id":"".concat(a.dataTmIdPrefix,"-view-map")},on:{click:a.openMap}},[a._v("\n "+a._s(a.isNarrowCard?"View Map":"View in Map")+"\n "),a.isNarrowCard&&"fcr"===a.theme?i("svg",{staticClass:"icon holiday-card__map-icon"},[i("use",a._b({},"use",{"xlink:href":"#icon--arrow-up-right-fc"},!1))]):a._e()]):a._e()])]),a._v(" "),"recentlyviewed"==a.cardType&&a.isHolidayAvailable?i("LastViewedCounter",{attrs:{lastViewed:a.lastViewed}}):a.isShortlistCard&&a.isHolidayAvailable?i("span",{staticClass:"holiday-card__remove-button",attrs:{"data-tm-id":"".concat(a.dataTmIdPrefix,"-remove")},on:{click:function(i){return a.removeFromShortlistClicked()}}},[i("svg",{staticClass:"icon"},[i("use",a._b({},"use",{"xlink:href":"fcr"===a.theme?"#icon--close-fc":"#icon--close"},!1))])]):a.isShortlistCard||!a.isHolidayAvailable||a.isNarrowCard||a.isWideCard&&"fcr"!==a.theme?a._e():i("ShortlistButton",{attrs:{theme:a.theme,holiday:a.shortlistHoliday,"data-tm-id":"".concat(a.dataTmIdPrefix,"-shortlist"),resultsApiUrl:a.resultsApiUrl,"client-id":a.clientId,"viewed-holidays":a.viewedHolidays,"icon-only":"fcr"===a.theme}})],1)};e._withStripped=!0;
1var r={name:"Header",props:{theme:String,cardType:String,dataTmIdPrefix:String,accommodationName:String,location:String,lastViewed:String,resultsApiUrl:String,clientId:String,showViewMap:Boolean,shortlistHoliday:Object,viewedHolidays:Array,isHolidayAvailable:Boolean},components:{LastViewedCounter:function(){return t.e(5066).then(t.bind(t,5066))},ShortlistButton:function(){return t.e(5401).then(t.bind(t,5401))}},computed:{isShortlistCard:function(){return"shortlist"===this.cardType.toLowerCase()},isWideCard:function(){var a;return"wide"===(null===(a=this.cardType)||void 0===a?void 0:a.toLowerCase())},isNarrowCard:function(){var a;return"narrow"===(null===(a=this.cardType)||void 0===a?void 0:a.toLowerCase())}},methods:{removeFromShortlistClicked:function(){this.$emit("removeFromShortlistClicked")},openMap:function(){this.$emit("openMap")}}},o=t(5292),d=t.n(o),n=t(9893),l=t.n(n),c=t(9383),s=t.n(c),h=t(6884),m=t.n(h),p=t(9088),_=t.n(p),y=t(7997),b=t.n(y),u=t(9493),f={};f.styleTagTransform=b(),f.setAttributes=m(),f.insert=s().bind(null,"head"),f.domAPI=l(),f.insertStyleElement=_(),d()(u.A,f),u.A&&u.A.locals&&u.A.locals;var v=(0,t(7658).A)(r,e,[],!1,null,"536eb8bc",null).exports}}]);
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.