PageSourceSearch

https://assets-www.prod.quandoo.com/v12.405.0/static/js/SeoLinks.29febf85.chunk.js

js quandoo.com collected 2026-09-24 17:14:02 UTC 16,795 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6205],{rC1t(e,t,n){var i=n("1xF0"),r=n("q1tI"),a=n("SMvd"),o=n("XFM9"),s=n("w8rM"),l=n("eh9h");const c=(0,o.j8)({name:s.UU,url:s.OZ,cityNameOfDestination:s.oP}),d=(0,a.Ng)(c)(e=>{const t=(0,i.c)(3),n=e.name,a=e.url,o=e.cityNameOfDestination,s=e.withCity?`${n}, ${o}`:n;let c;return t[0]!==s||t[1]!==a?(c=r.createElement(l.Ay,{name:s,url:a}),t[0]=s,t[1]=a,t[2]=c):c=t[2],c});n.d(t,["A",0,d])},"qv+N"(e,t,n){var i=n("T4K3"),r=n("17x9"),a=n.n(r),o=n("q1tI"),s=n("iyQ/"),l=n("xQBK");function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const c=s.default.div.withConfig({componentId:"sc-1yg8sx8-0"})(["box-sizing:border-box;overflow:hidden;width:100%;max-height:",";transition:max-height ","s;"],e=>e.open&&"none"!==e.maxHeight?`calc(${e.maxHeight} + ${e.openExtraHeight})`:e.maxHeight,e=>e.transitionDuration/1e3);class d extends o.PureComponent{constructor(){super(...arguments),_defineProperty(this,"state",{contentMaxHeight:this.props.open?"none":this.props.closedHeight}),_defineProperty(this,"handleCompletedAnimation",e=>{e&&this.setState({contentMaxHeight:"none"}),this.props.onCompleteAnimation()}),_defineProperty(this,"startFrameTrack",()=>{this._animationFrame=0,this._frameId=globalThis.requestAnimationFrame(this.frameTrackLoop)}),_defineProperty(this,"frameTrackLoop",()=>{this._animationFrame++,this._animationFrame>=2?(globalThis.cancelAnimationFrame(this._frameId),this.setState({contentMaxHeight:this.props.closedHeight})):this._frameId=globalThis.requestAnimationFrame(this.frameTrackLoop)}),_defineProperty(this,"getDataQaAttribute",()=>{switch(this.props.tabType){case l.ol:return l.KN;case l.mn:return l.MP;case l.aV:return l.sB;case l.gv:return l.cs;default:return""}})}componentDidUpdate(e){this.props.open!==e.open&&(this.wrapperElement&&this.setState({contentMaxHeight:`${this.wrapperElement.scrollHeight}px`}),this.animationTimeout=setTimeout(()=>this.handleCompletedAnimation(e.open),this.props.transitionDuration),this.props.open||this.startFrameTrack())}componentWillUnmount(){clearTimeout(this.animationTimeout),globalThis.cancelAnimationFrame(this._frameId)}render(){const e=this.props,t=e.className,n=e.open,i=e.openExtraHeight,r=e.transitionDuration,a=e.children;return o.createElement(c,{ref:e=>this.wrapperElement=e,className:t,open:n,openExtraHeight:i,maxHeight:this.state.contentMaxHeight,transitionDuration:r,"data-qa":this.getDataQaAttribute()},a)}}d.propTypes={className:a().string,children:a().node,open:a().bool,closedHeight:a().string,openExtraHeight:a().string,onCompleteAnimation:a().func,transitionDuration:a().number,tabType:a().string},d.defaultProps={open:!1,closedHeight:"0",openExtraHeight:"0px",onCompleteAnimation:i.noop,transitionDuration:300};const u=d;n.d(t,["A",0,u])},MImi(e,t,n){var i=n("WwBt"),r=n("bC0J"),a=n("17x9"),o=n.n(a),s=n("q1tI"),l=n("iyQ/"),c=n("qv+N"),d=n("64rg");function _defineProperty(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}const u=n("1Kwn").ND.OVER_1024,p=l.default.div.withConfig({componentId:"sc-19afuw6-0"})(["display:flex;flex-direction:column;position:relative;border-bottom:solid 2px ",";@media ","{border-bottom:0;}"],(0,r.themeGet)("colors.border.light"),e=>e.breakpoint),m=(0,l.default)(i.Heading).withConfig({componentId:"sc-19afuw6-1"})(["cursor:pointer;user-select:none;overflow:hidden;margin:0;position:relative;font-size:16px;font-weight:bold;color:",";@media ","{padding-bottom:9px;border-bottom:solid 1px ",";flex:0 auto;cursor:auto;user-select:auto;overflow:visible;}"],(0,r.themeGet)("colors.text.default"),e=>e.breakpoint,(0,r.themeGet)("colors.border.light")),h=(0,l.default)(d.A).withConfig({componentId:"sc-19afuw6-2"})(["position:absolute;right:0;top:0;display:block;@media ","{display:none;}"],e=>e.breakpoint),g=(0,l.default)(c.A).withConfig({componentId:"sc-19afuw6-3"})(["@media ","{max-height:none;}"],e=>e.breakpoint);class f extends s.Component{constructor(){super(...arguments),_defineProperty(this,"state",{open:!1}),_defineProperty(this,"handleClick",e=>{globalThis.matchMedia(this.props.breakpoint).matches||this.setState({open:!this.state.open})})}render(){const e=this.props,t=e.children,n=e.title,i=e.className,r=e.breakpoint,a=e.titleAs;return s.createElement(p,{className:i,breakpoint:r},s.createElement(m,{onClick:this.handleClick,breakpoint:r,as:a},n,s.createElement(h,{breakpoint:r,open:this.state.open})),s.createElement(g,{breakpoint:r,open:this.state.open},t))}}f.propTypes={className:o().string,title:o().object,children:o().node.isRequired,breakpoint:o().string,titleAs:o().string},f.defaultProps={title:{},breakpoint:u,titleAs:"h4"};const b=f;n.d(t,["A",0,b])},eh9h(e,t,n){var i=n("1xF0"),r=n("bC0J"),a=n("17x9"),o=n.n(a),s=n("q1tI"),l=n("iyQ/"),c=n("ofNd");const d=l.default.span.withConfig({componentId:"sc-1pa6nry-0"})(["display:flex;align-items:center;font-size:14px;padding:4.5px 0;> div{margin-right:5px;}"]),u=l.default.a.withConfig({componentId:"sc-1pa6nry-1"})(["text-decoration:none;color:",";cursor:pointer;:hover{color:",";}"],(0,r.themeGet)("colors.text.secondary"),(0,r.themeGet)("colors.text.primary")),LinkItem=e=>{const t=(0,i.c)(4),n=e.name,a=e.url;let o,l;return t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.createElement(c.A,{icon:c.Z.ARROW_RIGHT_FILLED_ROUNDED,iconWidth:"11px",iconHeight:"11px",iconFill:(0,r.themeGet)("colors.text.primary")}),t[0]=o):o=t[0],t[1]!==n||t[2]!==a?(l=s.createElement(d,null,o,s.createElement(u,{href:a},n)),t[1]=n,t[2]=a,t[3]=l):l=t[3],l};LinkItem.propTypes={name:o().node,url:o().string};const p=LinkItem;n.d(t,["Ay",0,p])},"64rg"(e,t,n){var i=n("17x9"),r=n.n(i),a=n("q1tI"),o=n("iyQ/"),s=n("ofNd");const l=o.default.div.withConfig({componentId:"sc-192kc3h-0"})(["display:inline-block;transition:transform 0.3s;transform:",";width:11px;height:20px;"],e=>e.open?"rotate(-180deg)":"rotate(0)"),c=(0,o.default)(s.A).withConfig({componentId:"sc-192kc3h-1"})(["display:inline-block;"]);class d extends a.PureComponent{render(){const e=this.props,t=e.className,n=e.open;return a.createElement(l,{className:t,open:n},a.createElement(c,{icon:s.Z.ARROW_DOWN,iconWidth:"11px",iconHeight:"20px"}))}}
1d.propTypes={className:r().string,open:r().bool},d.defaultProps={open:!1};const u=d;n.d(t,["A",0,u])},Hsh1(e,t,n){var i=n("1xF0"),r=n("q1tI"),a=n("UAHx"),o=n("2OET"),s=n("SMvd"),l=n("XFM9"),c=n("eh9h"),d=n("Z0Io"),u=n("6YZ8"),p=n("w8rM"),m=n("Bslt"),h=n("/QVT"),g=n("ryPT"),f=n("AGe0");const b=(0,a.YK)({tagLink:{id:"infoText.links.tags",defaultMessage:"{tagStringPlural} in {destination}"}}),y=(0,l.j8)({tagName:f.wZ,tagBrowserUrl:f.qn,destinationParam:h._q,poiCityParam:h.vh,localeSlug:g.KU,cityBrowserUrl:m.T0,destinationName:p.UU,cityBrowserUrlOfDestination:p.ky,cityNameOfDestination:p.oP,tagType:f.Pu,isPOI:p.DU,tagRestaurantNamePlural:f.vV}),x=(0,s.Ng)(y)((0,o.Ay)(e=>{const t=(0,i.c)(9),n=e.tagName,a=e.tagBrowserUrl,o=e.destinationParam,s=e.poiCityParam,l=e.localeSlug,p=e.cityBrowserUrl,m=e.destinationName,h=e.cityBrowserUrlOfDestination,g=e.cityNameOfDestination,f=e.intl,y=e.tagType,x=e.isPOI,P=e.tagRestaurantNamePlural,v=f.formatMessage,w=x?s:o||h||p,E=x?g:m;let _;if(t[0]!==v||t[1]!==E||t[2]!==n||t[3]!==P||t[4]!==y){const e=y===d.e7.PAYMENT?v(u.p.payment,{paymentTagName:n}):P;_=v(b.tagLink,{destination:E,tagStringPlural:e}),t[0]=v,t[1]=E,t[2]=n,t[3]=P,t[4]=y,t[5]=_}else _=t[5];const I=_,M=`${l}/${w}/tags/${a}`;let N;return t[6]!==M||t[7]!==I?(N=r.createElement(c.Ay,{name:I,url:M}),t[6]=M,t[7]=I,t[8]=N):N=t[8],N}));n.d(t,["A",0,x])},xQBK(e,t,n){n.d(t,["KN",0,"internal-block-districts","MP",0,"internal-block-cities","NE",0,"internal-block-nearby-restaurants","W6",0,"internal-block-suggestions","_u",0,"internal-tab-more","aV",0,"internal-tab-regions","cs",0,"internal-block-pois","gv",0,"internal-tab-pois","mn",0,"internal-tab-cities","ol",0,"internal-tab-districts","sB",0,"internal-block-regions"])},"6YZ8"(e,t,n){var i=n("UAHx");const r=(0,i.YK)({resultText:{id:"listing.result.text",defaultMessage:"{count, plural, one {Restaurant} other {Restaurants}} in {destinationName}"},resultTextWithCuisine:{id:"listing.resultWithCuisine.text",defaultMessage:"{count, plural, one {{tagSingular}} other {{tagPlural}}} in {destinationName}"},resultTextDistrict:{id:"listing.resultDistrict.text",defaultMessage:"{count, plural, one {Restaurant} other {Restaurants}} in {destinationName}, {city}"},resultTextDistrictWithCuisine:{id:"listing.resultDistrictWithCuisine.text",defaultMessage:"{count, plural, one {{tagSingular}} other {{tagPlural}}} in {destinationName}, {city}"},nearmeResultText:{id:"listing.nearmeResult.text",defaultMessage:"{count, plural, one {{category} Restaurant} other {{category} Restaurants}} Near Me"},poiResultText:{id:"listing.poiResult.text",defaultMessage:"{count, plural, one {Restaurant} other {Restaurants}} near {pointOfInterest}"},tagsResultText:{id:"listing.tagsResult.text",defaultMessage:"{count, plural, one {{tagSingular}} other {{tagPlural}}} in {destinationName}"},nearmeResultTextWithCuisine:{id:"listing.nearmeResult.textWithCuisine",defaultMessage:"{count, plural, one {{tagSingular}} other {{tagPlural}}} Near Me"},poiResultTextWithCuisine:{id:"listing.poiResult.textWithCuisine",defaultMessage:"{count, plural, one {{tagSingular}} other {{tagPlural}}} near {pointOfInterest}"},findAvailableRestaurants:{id:"find.available.restaurants",defaultMessage:"Find available restaurants"}}),a=(0,i.YK)({payment:{id:"listing.tags.payment",defaultMessage:"Accepting {paymentTagName}"}});n.d(t,["Y",0,r,"p",0,a])},b0oI(e,t,n){n.r(t),n.d(t,{default:()=>k});var i=n("1xF0"),r=n("q1tI"),a=n("SMvd"),o=n("XFM9"),s=n("fFFw"),l=n("Bslt"),c=n("pH6r");function _validateGuard(e,t){e.assumption(t)||e.effect(t)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_extends.apply(null,arguments)}function guardFactory(e,t){return{assumption:e,effect:t}}function injectPropGuard(e,t){class n extends r.PureComponent{render(){return r.createElement(e,_extends({},this.props,{validateProps:()=>_validateGuard(t,this.props)}))}}return n}var d=n("yrI1"),u=n("bC0J"),p=n("kriW"),m=n("iyQ/"),h=n("1Kwn"),g=n("rC1t"),f=n("MImi"),b=n("Hsh1"),y=n("eh9h"),x=n("H3Gg");const P=(0,o.j8)({url:x.cq,name:s.Az}),v=(0,a.Ng)(P)(y.Ay),w=m.default.ul.withConfig({componentId:"sc-1ipoa6b-0"})(["width:100%;display:flex;flex-wrap:wrap;margin:0 0 auto;padding:9px 0 0;list-style-type:none;"]),E=m.default.li.withConfig({componentId:"sc-1ipoa6b-1"})(["width:100%;@media ","{width:50%;}@media ","{width:100%;}padding:0;"],h.ND.OVER_600,h.ND.OVER_1440),_=(0,m.default)(f.A).withConfig({componentId:"sc-1ipoa6b-2"})(["padding:20px;width:100%;border:none;@media ","{padding:20px 0;}"],h.ND.OVER_1440),SeoLinks_Block=e=>{const t=(0,i.c)(14),n=e.title,a=e.list,o=e.isDestination,s=e.isTag,l=e.destinationId;let c;t[0]!==l||t[1]!==o||t[2]!==s?(c=e=>o?r.createElement(g.A,{destinationId:e,key:e,withCity:!0}):s?r.createElement(b.A,{tagId:e,destinationId:l,key:e}):r.createElement(v,{merchantId:e}),t[0]=l,t[1]=o,t[2]=s,t[3]=c):c=t[3];const d=c;let u,p,m;if(t[4]!==a||t[5]!==d){let e;t[7]!==d?(e=e=>r.createElement(E,{key:e},d(e)),t[7]=d,t[8]=e):e=t[8],u=a.toArray().map(e),t[4]=a,t[5]=d,t[6]=u}else u=t[6];return t[9]!==u?(p=r.createElement(w,null,u),t[9]=u,t[10]=p):p=t[10],t[11]!==p||t[12]!==n?(m=r.createElement(_,{title:n,breakpoint:h.ND.OVER_1440},p),t[11]=p,t[12]=n,t[13]=m):m=t[13],m},I=m.default.div.withConfig({componentId:"sc-15qxzvc-0"})(["display:flex;margin:0 auto;max-width:1192px;flex-direction:column;background-color:",";padding-bottom:",";@media ","{flex-flow:row wrap;}"],(0,u.themeGet)("colors.background.default"),(0,u.themeGet)("space.layout.sm"),h.ND.OVER_1440),M=m.default.div.withConfig({componentId:"sc-15qxzvc-1"})(["width:100%;display:flex;flex-direction:column;list-style-type:none;border:solid 1px ",";border-bottom:none;&:last-child{border-bottom:solid 1px ",";}@media ","{width:","%;padding:0 8px;border:none;&:last-child{border-bottom:none;}}"],(0,u.themeGet)("colors.border.light"),(0,u.themeGet)("colors.border.light"),h.ND.OVER_1440,100/3),N=m.default.div.withConfig({componentId:"sc-15qxzvc-2"})(["width:100%;display:flex;flex-direction:column;list-style-type:none;border-bottom:solid 1px ",";&:last-child{border-bottom:none;}@media ","{border-bottom:none;}"],(0,u.themeGet)("colors.border.light"),h.ND.OVER_1440),component=e=>{const t=(0,i.c)(18),n=e.nearbyMerchants,a=e.similarMerchants,o=e.nearbyPointOfInterests,s=e.otherTags,l=e.destinationId,c=e.isMobile,d=e.isPartner;let u,m,h,g,f,b;return t[0]!==c||t[1]!==d||t[2]!==a?(u=(d||!d&&c)&&a&&a.size>0&&r.createElement(M,null,r.createElement(SeoLinks_Block,{title:r.createElement(p.A,{id:"detail.similarMerchants",defaultMessage:"Similar Restaurants"}),list:a.slice(0,10)})),t[0]=c,t[1]=d,t[2]=a,t[3]=u):u=t[3],t[4]!==n?(m=n&&n.size>0&&r.createElement(M,null,r.createElement(SeoLinks_Block,{title:r.createElement(p.A,{id:"detail.nearbyMerchants",defaultMessage:"Nearby Restaurants"}),list:n.slice(0,10)})),t[4]=n,t[5]=m):m=t[5],t[6]!==o?(h=o&&o.size>0&&r.createElement(N,null,r.createElement(SeoLinks_Block,{title:r.createElement(p.A,{id:"detail.nearByPointsOfInterest",defaultMessage:"Nearby Points of Interest"}),list:o.slice(0,5),isDestination:!0}
1)),t[6]=o,t[7]=h):h=t[7],t[8]!==l||t[9]!==s?(g=s&&s.size>0&&r.createElement(N,null,r.createElement(SeoLinks_Block,{title:r.createElement(p.A,{id:"detail.otherTags",defaultMessage:"Restaurant Attributes"}),list:s.slice(0,5),isTag:!0,destinationId:l})),t[8]=l,t[9]=s,t[10]=g):g=t[10],t[11]!==h||t[12]!==g?(f=r.createElement(M,null,h,g),t[11]=h,t[12]=g,t[13]=f):f=t[13],t[14]!==u||t[15]!==m||t[16]!==f?(b=r.createElement(I,null,u,m,f),t[14]=u,t[15]=m,t[16]=f,t[17]=b):b=t[17],b},A=["nearbyMerchants","similarMerchants","nearbyPointOfInterests","otherTags","validateProps","destinationId","isMobile","isPartner"];function SeoLinks_extends(){return SeoLinks_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SeoLinks_extends.apply(null,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{};var n,i,r=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}const T=(0,o.j8)({nearbyMerchants:s.ZF,similarMerchants:s.dr,nearbyPointOfInterests:s.QD,otherTags:s.UR,isMobile:c.Fr,isPartner:s.bh,error:l.z3}),O=guardFactory(e=>{let t=e.error,n=e.nearbyMerchants,i=e.similarMerchants,r=e.nearbyPointOfInterests;return t||n&&!n.isEmpty()&&i&&!i.isEmpty()&&!r.isEmpty()},e=>(0,e.fetchSeoLinks)()),k=(0,a.Ng)(T,(e,t)=>({fetchSeoLinks:()=>e((0,d.nn)(t.merchantId))}))(injectPropGuard(e=>{const t=(0,i.c)(21);let n,a,o,s,l,c,d,u,p,m,h;return t[0]!==e?(s=e.nearbyMerchants,u=e.similarMerchants,l=e.nearbyPointOfInterests,c=e.otherTags,p=e.validateProps,n=e.destinationId,a=e.isMobile,o=e.isPartner,d=_objectWithoutProperties(e,A),t[0]=e,t[1]=n,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t[6]=c,t[7]=d,t[8]=u,t[9]=p):(n=t[1],a=t[2],o=t[3],s=t[4],l=t[5],c=t[6],d=t[7],u=t[8],p=t[9]),t[10]!==p?(m=()=>{p()},t[10]=p,t[11]=m):m=t[11],(0,r.useEffect)(m),t[12]!==n||t[13]!==a||t[14]!==o||t[15]!==s||t[16]!==l||t[17]!==c||t[18]!==d||t[19]!==u?(h=r.createElement(component,SeoLinks_extends({destinationId:n,nearbyMerchants:s,similarMerchants:u,nearbyPointOfInterests:l,otherTags:c,isMobile:a,isPartner:o},d)),t[12]=n,t[13]=a,t[14]=o,t[15]=s,t[16]=l,t[17]=c,t[18]=d,t[19]=u,t[20]=h):h=t[20],h},O))}}]);

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.