!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]="53ce75ee-479b-4fc4-87cf-d8386c28d84e",t._sentryDebugIdIdentifier="sentry-dbid-53ce75ee-479b-4fc4-87cf-d8386c28d84e")}catch(t){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"ssrplatform_20241021_ff696f83"},(window.webpackJsonp=window.webpackJsonp||[]).push([["pages-city-index-desktop-index~pages-city-index-mobile-index~pages-destination-poi-new-index~pages-e~fada1f68"],{"19GfA2":function(t,e,n){"use strict";n("07d7Qt"),n("SuFqDE");var r=n("lwsEjD"),o=n.n(r),i=n("W8MJtM"),a=n.n(i),c=n("7W2iVu"),u=n.n(c),s=n("a1gurj"),l=n.n(s),f=n("NsbkXA"),p=n.n(f),d=(n("qePVmd"),n("mrSGxO")),h=n("MmvrRj"),m=n("Z1oc+k");function y(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var v=function(t){u()(n,t);var e=y(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n,[{key:"formatImage",get:function(){var t=this.$store.state.klook.webp;return Object(m.e)(this.image,t)}},{key:"linkStyle",get:function(){var t={paddingBottom:"".concat(1/this.ratio*100,"%")};return this.isLazy&&this.formatImage&&(t.backgroundImage="url(".concat(this.formatImage,")")),t}},{key:"handleClick",value:function(){var t=+new Date,e="undefined"!==typeof arguments?arguments:null;this.href&&(window.location.href=function(n){if("undefined"!==typeof __in_house&&__in_house.get_spm_info)try{var r=+new Date-t;n=__in_house.get_spm_info(n,{duration:r,args:e})}catch(o){console.warn("Get spm info error",o)}return n}(this.href))}}]),n}(h.Vue);Object(d.a)([Object(h.Prop)({type:Number,default:3/4})],v.prototype,"ratio",void 0),Object(d.a)([Object(h.Prop)({type:Boolean,default:!1})],v.prototype,"isLazy",void 0),Object(d.a)([Object(h.Prop)()],v.prototype,"image",void 0),Object(d.a)([Object(h.Prop)()],v.prototype,"href",void 0),Object(d.a)([Object(h.Prop)()],v.prototype,"imageType",void 0);var b=v=Object(d.a)([h.Component],v),O=(n("PF/2UT"),n("KHd+Ze")),_=Object(O.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"adaptive-card_wrap"},[t.isLazy?n("div",{staticClass:"adaptive-card_link",style:t.linkStyle,attrs:{"data-img-type":t.imageType},on:{click:t.handleClick}},[n("div",{staticClass:"adaptive-card_content"},[t._t("default")],2)]):n("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image",value:t.formatImage,expression:"formatImage",arg:"background-image"}],staticClass:"adaptive-card_link",style:t.linkStyle,attrs:{"data-img-type":t.imageType},on:{click:t.handleClick}},[n("div",{staticClass:"adaptive-card_content"},[t._t("default")],2)])])}),[],!1,null,null,null);e.a=_.exports},"5z0eQK":function(t,e,n){},GtTp9s:function(t,e,n){},I9Jbs7:function(t,e,n){"use strict";n("uPKcAy")},IeqUR7:function(t,e,n){"use strict";n("07d7Qt"),n("SuFqDE");var r=n("lwsEjD"),o=n.n(r),i=n("W8MJtM"),a=n.n(i),c=n("7W2iVu"),u=n.n(c),s=n("a1gurj"),l=n.n(s),f=n("NsbkXA"),p=n.n(f),d=(n("2B1Rek"),n("yymed+"),n("qePVmd"),n("mrSGxO")),h=n("MmvrRj"),m=n("Jqm+Fi");function y(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var v=function(t){u()(n,t);var e=y(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n,[{key:"items",get:function(){return new Array(this.itemNum).fill(null).map((function(t,e){return e}))}}]),n}(h.Vue);Object(d.a)([Object(h.Prop)({type:Number,default:3})],v.prototype,"itemNum",void 0),Object(d.a)([Object(h.Prop)({type:Number,default:1})],v.prototype,"rows",void 0),Object(d.a)([Object(h.Prop)({type:String,default:"desktop"})],v.prototype,"platform",void 0);var b=v=Object(d.a)([Object(h.Component)({components:{CardSwiper:m.a,CardSwiperItem:m.b}})],v),O=(n("ohjhiE"),n("KHd+Ze")),_=Object(O.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("klk-skeleton",{staticClass:"default-skeleton-wrapper",class:"default-skeleton-wrapper-"+t.platform,attrs:{animate:""}},[n("klk-skeleton-block",{attrs:{height:26,width:184}}),t._v(" "),"desktop"===t.platform?t._l(t.rows,(function(e,r){return n("div",{key:r,staticClass:"default-skeleton-list"},t._l(t.items,(function(t,e){return n("div",{key:e,staticClass:"default-skeleton-item"},[n("klk-skeleton-block",{attrs:{height:360,"radius-size":"max"}})],1)})),0)})):n("div",{staticClass:"cards"},[n("CardSwiper",t._l(t.itemNum,(function(t,e){return n("CardSwiperItem",{key:e,attrs:{"per-view":2}},[n("klk-skeleton-block",{attrs:{height:215,"radius-size":"max"}})],1)})),1)],1)],2)}),[],!1,null,"7fc7d85f",null);e.a=_.exports},JPIlnU:function(t,e,n){},"Jqm+Fi":function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return R}));n("07d7Qt"),n("SuFqDE");var r=n("lwsEjD"),o=n.n(r),i=n("W8MJtM"),a=n.n(i),c=n("7W2iVu"),u=n.n(c),s=n("a1gurj"),l=n.n(s),f=n("NsbkXA"),p=n.n(f),d=n("mrSGxO"),h=n("MmvrRj");function m(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var y=function(t){u()(n,t);var e=m(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n,[{key:"handleScroll",value:function(){this.$emit("scroll-once")}}]),n}(h.Vue),v=y=Object(d.a)([h.Component],y),b=(n("I9Jbs7"),n("KHd+Ze")),O=Object(b.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card-swiper-wrap"},[n("div",{staticClass:"card-swiper",on:{"~scroll":function(e){return t.handleScroll.apply(null,arguments)}}},[t._t("default")],2)])}),[],!1,null,"b463e8e4",null),_=O.exports;function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var j=function(t){u()(n,t);var e=g(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n,[{key:"handleScroll",value:function(){this.$emit("scroll-once")}}]),n}(h.Vue),k=j=Object(d.a)([h.Component],j),w=(n("ziDJlz"),Object(b.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"new-card-swiper-wrap"},[n("div",{staticClass:"new-card-swiper",on:{"~scroll":function(e){return t.handleScroll.apply(null,arguments)}}},[t._t("default")],2)])}),[],!1,null,"02614e9c",null));w.exports,n("ma9Imd"),n("qePVmd");function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var D=function(t){u()(n,t);var e=P(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n,[{key:"wrapStyle",get:function(){return 0===this.perView?{width:"100%"}:{width:"calc(".concat(89.6/this.perView,"% + ").concat(this.offset/2*.896/this.perView,"px)"),paddingRight:"".concat(this.gap,"px")}}}]),n}(h.Vue);Object(d.a)([Object(h.Prop)({type:Number,default:1})],D.prototype,"perView",void 0),Object(d.a)([Object(h.Prop)({type:Number,default:10})],D.prototype,"gap",void 0),Object(d.a)([Object(h.Prop)({type:Number,default:32})],D.prototype,"offset",void 0),Object(d.a)([Object(h.State)((function(t){return t.klook.platform}))],D.prototype,"platform",void 0);var C=D=Object(d.a)([h.Component],D),R=(n("WUThtI"),Object(b.a)(C,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",t._b({staticClass:"card-swiper-item_wrap",style:t.wrapStyle},"div",t.$attrs,!1),[t._t("default")],2)}),[],!1,null,null,null).exports),S=n("19GfA2");function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=p()(t);if(e){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l()(this,n)}}var B=function(t){u()(n,t);var e=x(n);function n(){return o()(this,n),e.apply(this,arguments)}return a()(n)}(h.Vue);Object(d.a)([Object(h.Prop)({type:Number,default:3/4})],B.prototype,"ratio",void 0),Object(d.a)([Object(h.Prop)({type:Number,default:1})],B.prototype,"perView",void 0),Object(d.a)([Object(h.Prop)({type:Boolean,default:!1})],B.prototype,"isLazy",void 0),Object(d.a)([Object(h.Prop)()],B.prototype,"image",void 0),Object(d.a)([Object(h.Prop)()],B.prototype,"href",void 0),Object(d.a)([Object(h.Prop)({type:Number,default:12})],B.prototype,"gap",void 0),Object(d.a)([Object(h.Prop)()],B.prototype,"imageType",void 0);var I=B=Object(d.a)([Object(h.Component)({components:{AdaptiveCard:S.a,CardSwiperItem:R}})],B);Object(b.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CardSwiperItem",{attrs:{"per-view":t.perView,gap:t.gap}},[n("AdaptiveCard",{attrs:{ratio:t.ratio,image:t.image,"is-lazy":t.isLazy,href:t.href,"image-type":t.imageType}},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},O8d0bp:function(t,e,n){},"PF/2UT":function(t,e,n){"use strict";n("bJxNe0")},QLwanL:function(t,e,n){},Tp8iHL:function(t,e,n){"use strict";n("GtTp9s")},VibdZw:function(t,e,n){"use strict";n.d(e,"b",(function(){return X})),n.d(e,"a",(function(){return vt})),n.d(e,"c",(function(){return J}));n("SuFqDE"),n("tktoO2"),n("pNMOM2"),n("TeQFY9"),n("5DmWYC"),n("FZtP4Z"),n("27RRn3");var r=n("RIqPOD"),o=n.n(r),i=n("J4zpVn"),a=n.n(i),c=n("yXPUfT"),u=n.n(c),s=n("lSNAPY"),l=n.n(s),f=n("lwsEjD"),p=n.n(f),d=n("W8MJtM"),h=n.n(d),m=n("7W2iVu"),y=n.n(m),v=n("a1gurj"),b=n.n(v),O=n("NsbkXA"),_=n.n(O),g=n("o0o1eb"),j=n.n(g),k=(n("ma9Imd"),n("oVuXDK"),n("sMBOAz"),n("4mDm7A"),n("07d7Qt"),n("5s+nKu"),n("PKPkDs"),n("3bBZ2v"),n("mrSGxO")),w=n("MmvrRj");n("pjDv2m"),n("YGK4S6"),n("49+q5h"),n("AVoKXu"),n("hcokDq"),n("dNT4qf"),n("3uUddC"),n("tijOXB"),n("ZY7TCm"),n("C1JJeB"),n("lmH4o6"),n("Co1jmj"),n("5JV0Jf"),n("ctDJ0X"),n("JwUS9G"),n("qaHois"),n("Si401v"),n("BGb90f");function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_()(t);if(e){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b()(this,n)}}var D=function(t){y()(n,t);var e=P(n);function n(){var t;return p()(this,n),(t=e.apply(this,arguments)).initLoad=!1,t}return h()(n,[{key:"mounted",value:function(){var t=this,e=function(t){var e=t.root,n=void 0===e?null:e,r=t.rootMargin,o=void 0===r?"0px":r,i=t.threshold,a=void 0===i?[.01,.05]:i,c=t.once,u=void 0===c||c,s=t.callBack,l=t.observeDom;if(!("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype))return l&&(l instanceof Element?s(l):Array.from(l).forEach((function(t){return s(t)}))),null;var f=new Set,p=new IntersectionObserver((function(t,e){t.length<=0&&(e.disconnect(),f=null),t.forEach((function(t){(void 0===e.thresholds||t.intersectionRatio>e.thresholds[0])&&(u?(e.unobserve(t.target),f&&(f.has(t.target)||setTimeout((function(){return s(t.target,e)})),f.add(t.target),f.size===(l.length||1)&&(e.disconnect(),f=null))):s&&setTimeout((function(){return s(t.target,e)})))}))}),{root:n,rootMargin:o,threshold:a});return l&&(l instanceof Element?p.observe(l):Array.from(l).forEach((function(t){return p.observe(t)}))),p}({rootMargin:this.rootMargin,callBack:function(){var e=u()(j.a.mark((function e(){return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.beforeLoad();case 2:t.initLoad=!0;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),observeDom:this.$el});this.$once("hook:beforeDestroy",(function(){e.disconnect()}))}}]),n}(w.Vue);Object(k.a)([Object(w.Prop)({type:Function,default:function(){return Promise.resolve()}})],D.prototype,"beforeLoad",void 0),Object(k.a)([Object(w.Prop)({type:String,default:"200px"})],D.prototype,"rootMargin",void 0);var C=D=Object(k.a)([w.Component],D),R=n("KHd+Ze"),S=Object(R.a)(C,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"lazyComponent_wrap"},[t.initLoad?t._t("default"):t._t("skeleton")],2)}),[],!1,null,null,null).exports,x=n("IeqUR7"),B=n("QILmP2"),I=n.n(B),E=(n("2B1Rek"),["componentConf"]);function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e\n ")]):t._e()]):t._e(),t._v(" "),2===t.trueSectionParams.headStyle?n("klk-section-title",{staticClass:"header_wrapper header_wrapper-klook",attrs:{size:t.trueSectionParams.headTag,desc:t.subtitle,"view-more":t.cornerButtonDeepLink,"view-more-text":t.cornerButtonTitle,"decorative-line":""}},[t._t("title",(function(){return[t._v(t._s(t.title))]}))],2):t._e()]:t._e(),t._v(" "),t._t("default"),t._v(" "),t._t("footer",(function(){return[t.showMore?n("div",{staticClass:"footer"},[n("klk-button",t._b({staticClass:"footer_button action_link",attrs:{loading:t.moreLoading,type:t.showMoreBtnType,size:"small"},nativeOn:{click:function(e){return t.viewMoreHandler.apply(null,arguments)}}},"klk-button",t.moreSpm,!1),[t._v("\n "+t._s(t.moreTitle)+"\n "),t.isLoadMoreMode?n("klk-icon",{staticClass:"view-more-btn-icon",attrs:{type:"icon_navigation_chevron_down_xs"}}):t._e()],1)],1):t._e()]}))],2)}),[],!1,null,"513c15f7",null)),X=Q.exports;function Y(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_()(t);if(e){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b()(this,n)}}var tt=Object(w.Component)({components:{CommonContainer:X}})(W=function(t){y()(n,t);var e=Y(n);function n(){return p()(this,n),e.apply(this,arguments)}return h()(n)}(w.Vue))||W,et=tt,nt=Object(R.a)(et,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("CommonContainer",t._g(t._b({},"CommonContainer",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null).exports;function rt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_()(t);if(e){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b()(this,n)}}var ot=function(t){y()(n,t);var e=rt(n);function n(){return p()(this,n),e.apply(this,arguments)}return h()(n)}(w.Vue);Object(k.a)([Object(w.Prop)({type:String,default:"desktop"})],ot.prototype,"platform",void 0),Object(k.a)([Object(w.Prop)({type:Object,default:function(){return{}}})],ot.prototype,"containerData",void 0);var it=ot=Object(k.a)([Object(w.Component)({})],ot),at=Object(R.a)(it,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{style:{display:"block",height:t.containerData.height+"px"}})}),[],!1,null,null,null).exports,ct={any:{component:H,hasChild:!0},common:{component:X,hasChild:!0},tab:{component:nt,hasChild:!0},divider:{component:at,hasChild:!1}};n("O8d0bp");function ut(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function st(t){for(var e=1;e=this.moduleData.$_cloneItems.length&&(this.moduleData.bottom_button_title="")}},{key:"fakePaginationInit",value:function(){this.$set(this.moduleData,"$_cloneItems",Object.freeze(o()(this.moduleData.$_cloneItems||this.moduleData.items)||[])),this.moduleData.items=[],this.fakePage=0,this.fakePaginationHandler()}},{key:"watchOriItems",value:function(){var t=this;if(!this.$isServer)var e=this.$watch("moduleData.$_cloneItems",(function(){e(),t.fakePaginationInit(),t.watchOriItems()}))}},{key:"created",value:function(){"fake_pagination"===this.moduleData.action_type&&(this.fakePaginationInit(),this.watchOriItems())}},{key:"defaultContainerData",get:function(){var t=this;if(this.moduleData){var e=this.moduleData,n=e.action_type;return void 0!==n?{title:e.title,sub_title:e.sub_title,more_title:e.bottom_button_title,more_deep_link:e.bottom_button_deep_link,more_action_type:n,more_load_link:e.bottom_button_load_more_link,more_spm_module:this.formatSPM("deeplink"===n?"ViewAllBtn":"ViewMoreBtn",{trg:"manual"}),more_load_handler:function(){var n=u()(j.a.mark((function n(){var r,o,i;return j.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$axios.$get(e.bottom_button_load_more_link);case 3:r=n.sent,o=r.success,i=r.result,o?Object.assign(e,ht(ht({},i),{},{items:e.items.concat(i.items)})):e.action_type="",n.next=12;break;case 9:n.prev=9,n.t0=n.catch(0),e.action_type="";case 12:case"end":return n.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}(),fake_pagination_handle:function(){t.fakePaginationHandler()},corner_button_title:e.more_title,corner_button_deep_link:e.more_deep_link}:{title:e.title,sub_title:e.sub_title,more_title:e.more_title,more_deep_link:e.more_deep_link,corner_button_title:e.corner_button_title,corner_button_deep_link:e.corner_button_deep_link,more_spm_module:this.formatSPM("ViewAllBtn",{trg:"manual"})}}return{}}},{key:"formatSPM",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=Object.entries(n).map((function(t){var e=a()(t,2),n=e[0],r=e[1];return"".concat(n,"=").concat(encodeURIComponent(function(t){return"object"===pt()(t)?JSON.stringify(t):t}(r)))})).join("&"),c=(null===(t=this.ihtData)||void 0===t?void 0:t.spmPrefix)?"".concat(this.ihtData.spmPrefix,":").concat(e):e;return[r?e:c].concat(o()(i?[i]:[])).join("?")}}]),n}(w.Vue);Object(k.a)([Object(w.Prop)({type:String,default:"desktop"})],yt.prototype,"platform",void 0),Object(k.a)([Object(w.Prop)({type:Object,default:function(){return{}}})],yt.prototype,"moduleData",void 0),Object(k.a)([Object(w.Prop)({type:Object,required:!0,default:function(){return{}}})],yt.prototype,"ihtData",void 0),Object(k.a)([Object(w.Prop)()],yt.prototype,"hideSection",void 0),Object(k.a)([Object(w.Prop)({type:Object,default:function(){return{}}})],yt.prototype,"extraData",void 0);var vt=yt=Object(k.a)([w.Component],yt);e.d=function(t){var e,n=t.componentConf,r=t.platform,i=void 0===r?"desktop":r,c=(e=n,Object.entries(e).reduce((function(t,e){var n=a()(e,2),r=n[0],o=n[1];return $($({},t),Object.entries(o).reduce((function(t,e){var n=a()(e,2),o=n[0],i=n[1];return $($({},t),{},l()({},"".concat(r).concat(o),{viewComponent:i.viewComponent||i,skeletonComponent:i.skeletonComponent,wrapperClass:Array.isArray(i.wrapperClass)?i.wrapperClass.reduce((function(t,e){return $($({},t),{},l()({},e,!0))}),{}):i.wrapperClass===String(i.wrapperClass)?l()({},i.wrapperClass,!0):i.wrapperClass}))}),{}))}),{})),s=function(t){y()(n,t);var e=lt(n);function n(){var t;return p()(this,n),(t=e.apply(this,arguments)).isLoadedScript=!1,t.hidden=!1,t}return h()(n,[{key:"isAsync",get:function(){var t,e;return"async"===(null===(e=null===(t=this.itemData)||void 0===t?void 0:t.body.content)||void 0===e?void 0:e.load_type)}},{key:"curComponentName",get:function(){var t,e=(null===(t=this.itemData)||void 0===t?void 0:t.body.content)||{},n=e.handler,r=e.data_type;return n?"".concat(n).concat(r):""}},{key:"curComponent",get:function(){var t,e,n,r,o,i=this.curComponentName,a=(null===(e=null===(t=c[i])||void 0===t?void 0:t.viewComponent)||void 0===e?void 0:e.default)||(null===(n=c[i])||void 0===n?void 0:n.viewComponent);return{SkeletonCtor:(null===(r=c[i])||void 0===r?void 0:r.skeletonComponent)||x.a,ViewCtor:a,wrapperClass:null===(o=c[i])||void 0===o?void 0:o.wrapperClass}}},{key:"moduleData",get:function(){var t,e;return null===(e=null===(t=this.itemData)||void 0===t?void 0:t.body.content)||void 0===e?void 0:e.data}},{key:"containerData",get:function(){var t;return null===(t=this.itemData)||void 0===t?void 0:t.data}},{key:"realPlatform",get:function(){return this.$attrs.platform||i}},{key:"ihtData",get:function(){var t;return{spmPrefix:[null===(t=this.itemData.meta.track)||void 0===t?void 0:t.iht_spm,this.itemData.meta.type,"",this.itemData.body.content.data_type].join(":")}}},{key:"sectionName",get:function(){return this.itemData.meta.name}},{key:"hide",value:function(){this.hidden=!0}},{key:"render",value:function(t){var e,n=this;if(this.hidden)return null;var r=null===(e=this.itemData)||void 0===e?void 0:e.meta.type,c=ct[r],s=this.curComponent,f=s.ViewCtor,p=s.SkeletonCtor,d=s.wrapperClass;if(!c)return console.warn("Unknown container\uff1a".concat(r)),null;if(!f&&c.hasChild)return console.warn("Unknown component\uff1a".concat(this.curComponentName)),null;if(!this.isAsync&&null===this.moduleData)return console.warn("\u3010".concat(this.curComponentName,"\u3011Empty data\uff1a\u3010").concat(this.moduleData,"\u3011")),null;var h={className:st(st({},d),{},l()({wrapper__item:!0},"wrapper__item-".concat(this.curComponentName||r),!0)),id:"s-".concat(this.sectionName)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(c.component,{attrs:{platform:n.realPlatform,containerData:n.containerData,id:e.id},class:st(st({},e.className),{},l()({wrapper__container:!0},"wrapper__container-".concat(r),!0)),key:"view"},c.hasChild?[t(f,{attrs:{platform:n.realPlatform,extraData:n.extraData,ihtData:n.ihtData,moduleData:n.moduleData,hideSection:function(){n.hide()}},on:{onHide:function(){n.hide()}}})]:[])},y=function(){return t(p,{slot:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"skeleton",key:"skeleton",props:st({platform:i},{itemNum:3,rows:1}),class:{wrapper__skeleton:!0}})};return this.forceLoading&&this.isAsync?t("div",{attrs:{id:h.id},class:h.className},[y("default")]):this.isAsync?t(S,{attrs:{id:h.id},class:h.className,props:{beforeLoad:function(){var t=u()(j.a.mark((function t(){var e,r,i;return j.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Promise.all([n.$axios.$get(n.itemData.body.content.src).then((function(t){var e=t.success,n=t.result;if(e)return n;throw new Error("Error!")}))].concat(o()("function"!==typeof(c=f)||void 0!==c.cid?[]:[f()])));case 3:e=t.sent,r=a()(e,1),i=r[0],n.isLoadedScript=!0,n.itemData.body.content.data=i,null===i&&n.hide(),t.next=14;break;case 11:t.prev=11,t.t0=t.catch(0),n.hide();case 14:case"end":return t.stop()}var c}),t,null,[[0,11]])})));return function(){return t.apply(this,arguments)}}()}},[].concat(o()(this.isLoadedScript?[m()]:[]),[y()])):m(h)}}]),n}(w.Vue);return Object(k.a)([Object(w.Prop)({type:Object,default:function(){return{}}})],s.prototype,"itemData",void 0),Object(k.a)([Object(w.Prop)({type:Object,default:function(){return{}}})],s.prototype,"extraData",void 0),Object(k.a)([Object(w.Prop)({type:Boolean,default:!1})],s.prototype,"forceLoading",void 0),{WrapperItem:s=Object(k.a)([w.Component],s),WrapperList:V(s,t)}}},WUThtI:function(t,e,n){"use strict";n("JPIlnU")},bJxNe0:function(t,e,n){},ohjhiE:function(t,e,n){"use strict";n("QLwanL")},"p532U+":function(t,e,n){"use strict";var r=n("I+eb+g"),o=n("xDBRbW"),i=n("0lZ3TS"),a=n("0DkypQ"),c=n("0GbYIV"),u=n("Fib7VG"),s=n("SEBhNL"),l=n("zfndeI"),f=n("yy0Ibd"),p=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=s(this,c("Promise")),n=u(t);return this.then(n?function(n){return l(e,t()).then((function(){return n}))}:t,n?function(n){return l(e,t()).then((function(){throw n}))}:t)}}),!o&&u(i)){var d=c("Promise").prototype.finally;p.finally!==d&&f(p,"finally",d,{unsafe:!0})}},uPKcAy:function(t,e,n){},"yymed+":function(t,e,n){var r=n("I+eb+g"),o=n("gdVlsU"),i=n("RNIsrA");r({target:"Array",proto:!0},{fill:o}),i("fill")},ziDJlz:function(t,e,n){"use strict";n("5z0eQK")}}]); //# sourceMappingURL=pages-city-index-desktop-index~pages-city-index-mobile-index~pages-destination-poi-new-index~pages-e~fada1f68.54c49f9f.chunk.js.map