!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="d86a81e0-c846-45e8-a5b7-963266d7194f",t._sentryDebugIdIdentifier="sentry-dbid-d86a81e0-c846-45e8-a5b7-963266d7194f")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"ssrplatform_20241204_4127e1d3"},(window.webpackJsonp=window.webpackJsonp||[]).push([["c61b8e"],{Dn8ky3:function(t,e,i){"use strict";i.d(e,"a",(function(){return k})),i.d(e,"b",(function(){return O})),i.d(e,"c",(function(){return T})),i.d(e,"d",(function(){return z})),i.d(e,"e",(function(){return $})),i.d(e,"f",(function(){return q})),i.d(e,"g",(function(){return G}));var o=i("YKMjgm"),r=i("iNbqQo"),a=i.n(r),n=i("w+RHjs"),s=i("xr/FP0"),c=i.n(s),l=i("t+nFx/"),d=i.n(l),p=i("a6KOi1"),u=i.n(p),f=i("ECSzS9"),v=i.n(f),g=function(t,e){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},g(t,e)};function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function y(t,e,i,o){var r,a=arguments.length,n=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(n=(a<3?r(n):a>3?r(e,i,n):r(e,i))||n);return a>3&&n&&Object.defineProperty(e,i,n),n}function m(t,e,i,o){return new(i||(i=Promise))((function(r,a){function n(t){try{c(o.next(t))}catch(e){a(e)}}function s(t){try{c(o.throw(t))}catch(e){a(e)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(n,s)}c((o=o.apply(t,e||[])).next())}))}function b(t,e){var i,o,r,a,n={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return n.label++,{value:a[1],done:!1};case 5:n.label++,o=a[1],a=[0];continue;case 7:a=n.ops.pop(),n.trys.pop();continue;default:if(!(r=(r=n.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){n=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]'))||""},Object.defineProperty(e.prototype,"tagStyle",{get:function(){var t=this.data,e=t.type,i=t.tag_color;return"manual_tag"===e&&i?{color:i,"box-shadow":"inset 0 0 0 1px rgba(\n ".concat(parseInt("0x"+i.slice(1,3)),",\n ").concat(parseInt("0x"+i.slice(3,5)),",\n ").concat(parseInt("0x"+i.slice(5,7)),",\n 0.4\n )")}:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconSrc",{get:function(){var t=this.data,e=t.type,i=t.icon_src;switch(e){case"manual_tag":return i;case"platform_promo_code_tag":return"https://res.klook.com/image/upload/v1712803939/UED_new/Attraction/Attraction_tag_2404/Subtract.png";case"reward":return"https://res.klook.com/image/upload/v1661398434/qvekdumb9fv5vzfglegl.png"}},enumerable:!1,configurable:!0}),y([Object(o.Prop)({type:Object,default:function(){return null}})],e.prototype,"data",void 0),y([Object(o.Prop)({type:String,default:function(){return"small"}})],e.prototype,"size",void 0),e=y([o.Component],e)}(o.Vue),S=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.data?i("div",{class:"atomic-special-tag atomic-special-tag-"+t.size+" special-"+t.data.type.replace(/_/g,"-"),style:t.tagStyle},["vertical_promo_tag"===t.data.type&&t.data.tag_text?i("span",{staticClass:"vertical-promo-tag-text",domProps:{innerHTML:t._s(t.formatPercent(t.data.tag_text))}}):t.iconSrc?i("img",{staticClass:"tag-icon",attrs:{src:t.iconSrc}}):t._e(),t._v(" "),i("div",{staticClass:"tag-content",domProps:{innerHTML:t._s(t.formatPercent(t.data.text))}})]):t._e()},staticRenderFns:[]},undefined,P,"data-v-bd1c3f2c",false,undefined,!1,void 0,void 0,void 0),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.isSpecialTag=function(t){return t&&["reward","platform_promo_code_tag","vertical_promo_tag","manual_tag"].includes(t)},Object.defineProperty(e.prototype,"setStyle",{get:function(){var t="medium"===this.realSize?"24px":"20px",e=this.data,i=e.background_color_left,o=e.background_color_right,r=e.bg_color,a=e.line_color,n=e.text_color;return{height:t,lineHeight:t,border:a?"1px solid ".concat(a):"none",color:n,fontSize:"medium"===this.realSize?"14px":"12px",background:i&&o&&i!==o?"linear-gradient(to right, ".concat(i,", ").concat(o,")"):r||i}},enumerable:!1,configurable:!0}),y([Object(o.Prop)({type:Object,default:function(){return null}})],e.prototype,"data",void 0),e=y([Object(o.Component)({components:{AtomicSpecialTag:S}})],e)}(C),O=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isSpecialTag(t.data.type)?i("AtomicSpecialTag",{attrs:{data:t.data,size:t.realSize}}):i("div",{staticClass:"atomic-basic-tag",style:t.setStyle},[t.data.icon_src?i("img",{staticClass:"tag-icon",attrs:{src:t.data.icon_src,alt:""}}):t._e(),t._v(" "),i("div",{staticClass:"tag-content"},[t._v(t._s(t.data.text))])])},staticRenderFns:[]},undefined,j,"data-v-37c7d013",false,undefined,!1,void 0,void 0,void 0),x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),Object.defineProperty(e.prototype,"realWebp",{get:function(){var t,e,i;return void 0!==this.webp?this.webp:(null===(i=null===(e=null===(t=this.$store)||void 0===t?void 0:t.state)||void 0===e?void 0:e.klook)||void 0===i?void 0:i.webp)||0},enumerable:!1,configurable:!0}),e.prototype.transformImageUrl=function(t){return a()(t,{webp:!!this.realWebp})||""},Object.defineProperty(e.prototype,"textStyle",{get:function(){return"overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-box-align: start; -webkit-line-clamp: ".concat(this.line,";")},enumerable:!1,configurable:!0}),y([Object(o.Prop)({type:String,default:function(){return""},required:!0})],e.prototype,"text",void 0),y([Object(o.Prop)({type:String,default:function(){return""}})],e.prototype,"icon",void 0),y([Object(o.Prop)({type:[String,Number],default:24})],e.prototype,"iconHeight",void 0),y([Object(o.Prop)({type:[Number,String],default:function(){return 0}})],e.prototype,"line",void 0),y([Object(o.Prop)({type:String,default:function(){return"div"}})],e.prototype,"tag",void 0),y([Object(o.Prop)({type:Array,default:function(){return[]}})],e.prototype,"className",void 0),y([Object(o.Prop)({type:Number,default:void 0})],e.prototype,"webp",void 0),y([Object(o.Prop)({type:String,default:function(){return""}})],e.prototype,"hrefLink",void 0),e=y([o.Component],e)}(o.Vue),T=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.text?i(t.tag,{tag:"component",class:t.className,style:t.textStyle},[t.icon?i("img",{style:"height: "+t.iconHeight+"px; margin-right: 2px; vertical-align: middle;",attrs:{src:t.transformImageUrl(t.icon),alt:t.icon}}):t._e(),t._v(" "),t.hrefLink?i("a",{attrs:{href:t.hrefLink},on:{click:function(t){t.preventDefault()}}},[t._v(t._s(t.text))]):[t._v(t._s(t.text))]],2):t._e()},staticRenderFns:[]},undefined,x,undefined,false,undefined,!1,void 0,void 0,void 0),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.handleClick=function(){this.handlePropClick?this.handlePropClick():this.data.deep_link&&(window.location.href=this.data.deep_link)},y([Object(o.Prop)({type:Object,default:function(){return null}})],e.prototype,"data",void 0),y([Object(o.Prop)({type:Boolean,default:function(){return!0}})],e.prototype,"showNumber",void 0),y([Object(o.Prop)({type:Boolean,default:function(){return!0}})],e.prototype,"showBooked",void 0),y([Object(o.Prop)({type:Boolean,default:function(){return!1}})],e.prototype,"showUnderLine",void 0),y([Object(o.Prop)({type:String,default:function(){return"MoreReviews"}})],e.prototype,"propSpmItem",void 0),y([Object(o.Prop)({type:Function,default:function(){return null}})],e.prototype,"handlePropClick",void 0),e=y([Object(o.Component)({})],e)}(C),z=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.data?i("div",{staticClass:"atomic-minimal-rating",class:"atomic-minimal-rating-size-"+t.realSize},[i("span",{staticClass:"review-star"},[t._v(t._s(t.data.star))]),t._v(" "),t.showNumber&&t.data.number?i("span",{staticClass:"review-number",class:{"review-number-src":t.showUnderLine},attrs:{"data-spm-item":t.propSpmItem},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)}}},[t._v("\n "+t._s(t.data.number)+"\n ")]):t._e(),t._v(" "),t.showBooked&&t.data.booked?i("span",{staticClass:"review-booked"},[t._v("\n "+t._s(t.data.dot)+t._s(t.data.booked)+"\n ")]):t._e()]):t._e()},staticRenderFns:[]},undefined,D,"data-v-04ad72c6",false,undefined,!1,void 0,void 0,void 0),L=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.prototype.getPrice=function(t,e){if(!t||!e)return"";var i="",o=e.match(/\{[^}]+\}/);return o&&o[0]&&(i=e.replace(o[0],'\n ').concat(t,"\n "))),i},y([Object(o.Prop)({type:Object,default:function(){return null}})],e.prototype,"data",void 0),y([Object(o.Prop)({type:Boolean,default:function(){return!1}})],e.prototype,"highLightPrice",void 0),y([Object(o.Prop)({type:Boolean,default:function(){return!0}})],e.prototype,"priceTagShow",void 0),e=y([Object(o.Component)({components:{AtomicBasicTag:O}})],e)}(C),$=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.data?i("div",{staticClass:"atomic-price-info",class:"atomic-price-info-size-"+t.realSize},[t.data.selling_price?i("div",{staticClass:"price-content"},[i("div",{staticClass:"sell-price",domProps:{innerHTML:t._s(t.getPrice(t.data.selling_price,t.data.selling_price_format))}}),t._v(" "),t.data.save_price?i("div",{staticClass:"save-price"},[t._v("\n "+t._s(t.data.save_price)+"\n ")]):t.data.market_price?i("div",{staticClass:"market-price",class:{"market-strike":!t.data.market_price_no_strike}},[t._v("\n "+t._s(t.data.market_price)+"\n ")]):t._e()]):t._e(),t._v(" "),t.data.discount_tag&&t.priceTagShow?i("AtomicBasicTag",{staticClass:"discount-tag-content",attrs:{data:t.data.discount_tag,size:"small"}}):t._e()],1):t._e()},staticRenderFns:[]},undefined,L,"data-v-2f595958",false,undefined,!1,void 0,void 0,void 0);function R(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function F(t){for(var e=1;e0?i("div",{staticClass:"card-price-tag-list"},t._l(t.cardData.promo_tag_list||[],(function(t,e){return i("AtomicBasicTag",{key:e,staticClass:"tag",attrs:{data:t,size:"small"}})})),1):t._e()],1),t._v(" "),t._t("content-price-right-slot")],2),t._v(" "),t._t("content-price-slot")],2)])]):t._e()},staticRenderFns:[]},undefined,K,"data-v-86768a88",false,undefined,!1,void 0,void 0,void 0),V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),Object.defineProperty(e.prototype,"setCropH",{get:function(){return this.isCrop?Math.round(this.cropWidth/this.imgRatio)+"":null},enumerable:!1,configurable:!0}),y([Object(o.Prop)({type:Number,default:function(){return 1.5}})],e.prototype,"imgRatio",void 0),y([Object(o.Prop)({type:Number})],e.prototype,"cropWidth",void 0),e=y([o.Component],e)}(Object(o.Mixins)(J)),G=w({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.isLoading?i("klk-skeleton",{class:["vertical-card","vertical-card-"+t.realSize,t.styleType,t.getStyleType("boxRadius","vertical")],style:{backgroundColor:t.getStyleType("backgroundColor"),border:t.getStyleType("border")},attrs:{animate:""}},[i("div",{staticClass:"card-img card-img-skeleton",class:t.getStyleType("imgRadius","vertical")},[i("klk-skeleton-block",{style:{paddingBottom:1/t.imgRatio*100+"%"},attrs:{height:0}})],1),t._v(" "),i("div",{staticClass:"card-info",class:[!t.getStyleType("isFlowLayout")&&"notFlowLayout"]},[i("div",{staticClass:"card-info-top"},[i("klk-skeleton-block",{staticClass:"card-subText",attrs:{height:18*t.subTextLine}}),t._v(" "),i("klk-skeleton-block",{staticClass:"card-title",attrs:{height:20*t.titleLine}}),t._v(" "),i("klk-skeleton-block",{staticClass:"review",staticStyle:{width:"80%"},attrs:{height:16}}),t._v(" "),i("div",{staticClass:"general-tag"},[i("klk-skeleton-block",{staticClass:"tag",attrs:{inline:"",width:72}}),t._v(" "),i("klk-skeleton-block",{staticClass:"tag",attrs:{inline:"",width:72}}),t._v(" "),i("klk-skeleton-block",{staticClass:"tag",attrs:{inline:"",width:72}})],1)],1),t._v(" "),i("div",{staticClass:"card-info-bottom"},[i("klk-skeleton-block",{staticStyle:{width:"70%"}})],1)])]):t.cardData&&!t.isLoading?i(t.cardTag,t._b({tag:"component",class:["vertical-card","vertical-card-"+t.realSize,t.styleType,t.getStyleType("boxRadius","vertical"),t.getStyleType("hoverStyle")],style:{backgroundColor:t.getStyleType("backgroundColor"),border:t.getStyleType("border")},attrs:{"data-spm-module":t.realDataSpmModule},on:{click:t.cardClick}},"component",t.cardAttrs,!1),[t.cardData.cover_url?i("div",{staticClass:"card-img"},[i("AtomicAspectRatio",{staticClass:"card-image-view",class:t.getStyleType("imgRadius","vertical"),attrs:{"is-lazy":t.isLazy,webp:t.webp,"img-src":t.cardData.cover_url,"img-ratio":t.imgRatio,"crop-width":2*t.cropWidth,"crop-height":2*t.setCropH,disabled:t.cardData.sold_out,"class-name":"img","is-img-tag":t.isSeoCard,"img-props":Object.assign({},{alt:t.cardData.title},t.imgProps)}},[t._t("default",[t.isFavoriteShow?i("AtomicFavorite",{key:"favorite-tag",staticClass:"favorite-tag",attrs:{purpose:"ActivityCard_AddtoWishlist","poptip-dom":t.poptipDom,"favorite-data":{activityId:t.cardData.vertical_id+"",activityType:t.cardData.vertical_type+""},"wishlist-translation":t.wishlistTranslation},on:{favoriteClick:t.favoriteClick}}):t._e(),t._v(" "),!t.isFavoriteShow&&t.cardData.showVideo?i("div",{key:"video",staticClass:"video"},[i("img",{attrs:{src:"https://res.klook.com/image/upload/v1658980469/bwnro6n3m505nfcvnwht.png",alt:"video"}})]):t._e(),t._v(" "),t.cardData.promotion_tag&&t.cardData.promotion_tag.length?i("div",{key:"promotion_tag",staticClass:"promotion-tag"},t._l(t.cardData.promotion_tag||[],(function(t,e){return i("AtomicBasicTag",{key:e,staticClass:"tag",attrs:{data:t,size:"small"}})})),1):t._e(),t._v(" "),t.rank?i("klk-corner-label",{key:"video",staticClass:"rank",attrs:{type:"rank"}},[t._v(t._s(t.rank))]):t._e(),t._v(" "),i("div",{staticClass:"image-bottom-slot"},[t._t("image-bottom-slot")],2)])],2)],1):t._e(),t._v(" "),i("div",{staticClass:"card-info",class:[!t.getStyleType("isFlowLayout")&&"notFlowLayout"]},[i("div",{staticClass:"card-info-top"},[i("AtomicBasicText",{style:{color:t.subTextColor},attrs:{"class-name":["card-subText"],text:t.cardData.sub_title||"",line:t.subTextLine}}),t._v(" "),i("AtomicBasicText",{attrs:{"class-name":["card-title"],text:t.cardData.title||"",webp:t.webp,icon:t.cardData.title_image,"icon-height":18,line:t.titleLine,tag:t.titleTag,"href-link":t.isSeoCard?t.cardData.deep_link:""}}),t._v(" "),t.cardData.general_tag&&t.cardData.general_tag.length?i("div",{staticClass:"general-tag"},t._l(t.cardData.general_tag||[],(function(t,e){return i("AtomicBasicTag",{key:e,staticClass:"tag",attrs:{data:t,size:"small"}})})),1):t._e(),t._v(" "),i("AtomicMinimalRating",{staticClass:"review",attrs:{data:t.cardData.review,"show-number":t.isShowReviewNumber,"show-booked":t.isShowReviewBooked}}),t._v(" "),t.cardData.description?i("div",{staticClass:"description"},[i("AtomicBasicText",{attrs:{text:t.cardData.description||"",line:t.descLine}})],1):t._e(),t._v(" "),t._t("content-product-slot")],2),t._v(" "),i("div",{staticClass:"card-info-bottom"},[i("AtomicPriceInfo",{attrs:{data:t.cardData.price,"price-tag-show":t.priceTagShow}}),t._v(" "),!t.cardData.sold_out&&t.cardData.promo_tag_list&&t.cardData.promo_tag_list.length>0?i("div",{staticClass:"card-price-tag-list"},t._l(t.cardData.promo_tag_list||[],(function(t,e){return i("AtomicBasicTag",{key:e,staticClass:"tag",attrs:{data:t,size:"small"}})})),1):t._e(),t._v(" "),t._t("content-price-slot")],2)])]):t._e()},staticRenderFns:[]},undefined,V,"data-v-6ec5cab8",false,undefined,!1,void 0,void 0,void 0)},V7KHTl:function(t,e,i){},"w+RHjs":function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a}));const o="#212121",r="#A8A8A8",a="#ffffff"},"xr/FP0":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i("rJJL1q").IconWrapper("icon-check-circle",!1,((t,e)=>t("svg",{attrs:{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"}},[t("circle",{attrs:{cx:"24",cy:"24",r:"21",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth}}),t("path",{attrs:{d:"M15 24L21.364 30.364L32.6777 19.0503",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin}})])));e.default=o}}]); //# sourceMappingURL=c61b8e.5707b9a5.chunk.js.map