PageSourceSearch

https://www.zicasso.com/component---src-components-reviews-page-index-js-728ef61bdfddc2b21c8c.js

js zicasso.com collected 2026-10-02 02:56:41 UTC 58,274 bytes, 1 lines download raw bytes

1(self.webpackChunkz3_web=self.webpackChunkz3_web||[]).push([[9089],{1763:function(e,t,a){"use strict";a.d(t,{A:function(){return s}});var r=a(96540),i="carousel-base-module--carousel--ba44a";const n=(e,t)=>{let a=e.items,n=e.renderItem,l=e.className,s=void 0===l?"":l,o=e.itemWidth,c=void 0===o?"300px":o,d=e.itemWidthMobile,m=void 0===d?null:d,u=e.itemWidthDesktop,v=void 0===u?null:u,p=e.minItemWidth,h=void 0===p?"200px":p,g=e.gap,f=void 0===g?"16px":g,w=e.ariaLabel,b=void 0===w?"Carousel":w,E=e.ariaDescribedBy,y=void 0===E?"carousel-instructions":E,N=e.onScrollStateChange,_=void 0===N?null:N,S=e.mobileCompact,k=void 0!==S&&S,L=e.containerWidthItems,C=void 0!==L&&L;const A=(0,r.useState)(!1),x=A[0],R=A[1],I=(0,r.useState)(!0),M=I[0],T=I[1],O=(0,r.useState)(0),D=O[0],z=O[1],P=(0,r.useRef)(null),W=(0,r.useCallback)(()=>{if(!P.current||"undefined"==typeof window)return{itemWidth:300,gap:16};const e=window.getComputedStyle(P.current),t=window.getComputedStyle(P.current.children[0]);return{itemWidth:parseFloat(t.getPropertyValue("width"))||300,gap:parseFloat(e.getPropertyValue("--carousel-gap"))||16}},[]),F=(0,r.useCallback)(()=>{if(!P.current||"undefined"==typeof window)return 1;const e=P.current,t=W(),a=t.itemWidth,r=t.gap;if(0===a)return 1;const i=e.clientWidth,n=a+r,l=Math.floor((i+r)/n);return Math.max(1,l)},[W]),H="undefined"!=typeof window&&window.innerWidth<768,Z=(0,r.useCallback)(()=>{if(!P.current)return;const e=P.current,t=e.scrollLeft;let r;if(H)if(k){const e=W(),a=e.itemWidth,i=a+e.gap;r=a>0?Math.round(t/i):D}else r=Math.round(t/e.clientWidth);else{const e=F(),a=W(),i=a.itemWidth,n=(i+a.gap)*e;r=i>0?Math.round(t/n)*e:D}r=Math.max(0,Math.min(r,a.length-1));const i=t>1,n=t<e.scrollWidth-e.clientWidth-1,l=r!==D,s=i!==x||n!==M;(l||s)&&(l&&z(r),s&&(R(i),T(n)),_&&s&&_({canScrollLeft:i,canScrollRight:n,currentIndex:r,totalSlides:a.length}))},[D,a.length,H,x,M,k,_,F,W]),j=(0,r.useCallback)(e=>{if(!P.current||"undefined"==typeof window)return;const t=P.current,a=W(),r=a.itemWidth,i=a.gap,n=t.scrollLeft,l=t.scrollWidth-t.clientWidth;if(H)if(k){const a=r+i,s=r>0?Math.round(n/a):0,o="next"===e?s+1:s-1,c=Math.max(0,Math.min(o*a,l));t.scrollTo({left:c,behavior:"smooth"})}else{const a=t.clientWidth,r="next"===e?Math.min(n+a,l):Math.max(n-a,0);t.scrollTo({left:r,behavior:"smooth"})}else{const a=(r+i)*F();let s;s="next"===e?Math.min(n+a,l):Math.max(n-a,0),t.scrollTo({left:s,behavior:"smooth"})}},[W,F,H,k]),B=(0,r.useCallback)(()=>{M&&j("next")},[M,j]),V=(0,r.useCallback)(()=>{x&&j("prev")},[x,j]),J=(0,r.useCallback)(e=>{if(!P.current||e<0||e>=a.length||"undefined"==typeof window)return;const t=P.current;let r;if(H)if(k){const t=W();r=(t.itemWidth+t.gap)*e}else r=e*t.clientWidth;else{const t=F(),a=Math.floor(e/t),i=W();r=a*(i.itemWidth+i.gap)*t}t.scrollTo({left:r,behavior:"smooth"})},[a.length,W,F,H,k]),G=(0,r.useCallback)(()=>D,[D]);if((0,r.useImperativeHandle)(t,()=>({next:B,prev:V,goToSlide:J,currentIndex:G(),totalSlides:a.length,canScrollLeft:x,canScrollRight:M}),[B,V,J,G,a.length,x,M]),(0,r.useEffect)(()=>{const e=P.current;if(!e)return;let t;Z();const a=()=>{clearTimeout(t),t=setTimeout(Z,100)};return e.addEventListener("scroll",a,{passive:!0}),()=>{clearTimeout(t),e.removeEventListener("scroll",a)}},[Z]),!a||0===a.length)return null;
1const U=[i,k?"carousel-base-module--carousel__mobileCompact--c56c0":"",C?"carousel-base-module--carousel__containerWidth--1447c":"",s].filter(Boolean).join(" ");return r.createElement("div",{className:U,style:{"--carousel-item-width":c,"--carousel-item-width-mobile":m||c,"--carousel-item-width-desktop":v||c,"--carousel-min-item-width":h,"--carousel-gap":f},role:"region","aria-label":b,"aria-roledescription":"carousel","aria-live":"polite","aria-atomic":"false"},r.createElement("div",{className:"carousel-base-module--carousel__scroll-container--94f6f",ref:P,"aria-describedby":y,role:"list","aria-label":b+" items"},a.map((e,t)=>r.createElement("li",{key:e.id||e.title||t,className:"carousel-base-module--carousel__item--a7f08"},n(e,t)))),"carousel-instructions"===y&&r.createElement("div",{id:"carousel-instructions",className:"sr-only"},"Use arrow keys to navigate between items, Home and End keys to go to first and last items."))},l=(0,r.forwardRef)(n);l.displayName="CarouselBase";var s=l},32594:function(e,t,a){"use strict";a.d(t,{A:function(){return l}});var r=a(96540),i=a(97982),n=a(40312);var l=e=>{let t=e.id;return r.createElement("aside",{className:"newsletter-dark-module--newsletter__wrapper--d1005","aria-label":"Newsletter sign-up"},r.createElement("div",{className:"newsletter-dark-module--newsletter--3f36a"},r.createElement("div",{className:"newsletter-dark-module--newsletter__image--6521e"},r.createElement(n.ax,{alt:"Portofino, Italy - Newsletter signup",className:"newsletter-dark-module--newsletter__imageEl--57df6",height:282,loading:"lazy",uri:"https://images.zicasso.com/62c5a19f9ab7ff0ae8d4797a41a3461b.jpg",width:539,quality:"auto:best"})),r.createElement("div",{className:"newsletter-dark-module--newsletter__content--584b2"},r.createElement("div",{className:"newsletter-dark-module--newsletter__header--737ce"},r.createElement("h3",{className:"newsletter-dark-module--newsletter__title--d3d62"},"The latest ideas in luxury travel"),r.createElement("p",{className:"newsletter-dark-module--newsletter__p--02e45"},"Join our weekly travel newsletter"))),r.createElement("div",{className:"newsletter-dark-module--newsletter__form--91f3b"},r.createElement(i.A,{id:t,darkMode:!0}))))}},32691:function(e,t,a){var r=a(96540);function i(e){return r.createElement("svg",e,[r.createElement("g",{clipPath:"url(#clip0_2658_3056)",key:0},r.createElement("path",{d:"M39.2784 19.5174L27.5204 15.3809L29.8222 10.5729C29.9158 10.378 29.8765 10.1435 29.7248 9.9903C29.5731 9.83709 29.3408 9.79737 29.1479 9.89194L24.387 12.2165L20.2892 0.342105C20.218 0.134047 20.0307 -0.000244141 19.8116 -0.000244141C19.5924 -0.000244141 19.4052 0.13783 19.334 0.342105L15.238 12.2165L10.4771 9.89194C10.2842 9.79737 10.0519 9.83709 9.90024 9.9903C9.74854 10.1435 9.70921 10.378 9.80285 10.5729L12.1046 15.3809L0.348514 19.5174C0.142497 19.5893 0.00952148 19.7785 0.00952148 19.9998C0.00952148 20.2173 0.146242 20.4102 0.348514 20.4821L12.1065 24.6186L9.8066 29.4266C9.71296 29.6215 9.75229 29.856 9.90399 30.0092C10.0014 30.1076 10.1306 30.1586 10.2617 30.1586C10.3366 30.1586 10.4115 30.1416 10.4808 30.1076L15.2417 27.7849L19.3377 39.6593C19.4089 39.8636 19.5999 40.0016 19.8153 40.0016C20.0326 40.0016 20.2199 39.8674 20.2929 39.6593L24.3889 27.7849L29.1498 30.1076C29.221 30.1416 29.2978 30.1586 29.3708 30.1586C29.5 30.1586 29.6274 30.1076 29.7266 30.0073C29.8802 29.8522 29.9195 29.6234 29.824 29.4248L27.5241 24.6167L39.2821 20.4802C39.4844 20.4083 39.6211 20.2154 39.6211 19.9979C39.6211 19.7803 39.4844 19.5874 39.2821 19.5174H39.2784ZM25.1437 24.7L25.08 24.7227L20.7555 20.3553H37.4935L25.1418 24.7H25.1437ZM14.6855 24.7718L2.12963 20.3553H19.0568L14.6836 24.7718H14.6855ZM14.6855 15.2277L19.0587 19.6442H2.1315L14.6855 15.2277ZM20.7574 19.6442L25.0819 15.2768L37.4954 19.6442H20.7574ZM24.6193 12.8918L28.9382 10.7828L26.8499 15.1444L25.1943 14.5619L24.6174 12.8899L24.6193 12.8918ZM24.5387 14.821L20.1655 19.2375V2.14275L24.5387 14.821ZM19.4613 2.14275V19.0465L15.1368 14.6792L19.4613 2.14275ZM12.777 15.1463L10.6887 10.7847L15.0076 12.8936L14.4308 14.5657L12.777 15.1482V15.1463ZM15.0076 27.1059L10.6887 29.2129L12.7751 24.8513L14.4308 25.4338L15.0076 27.1059ZM15.1368 25.3204L19.4613 20.953V37.8568L15.1368 25.3185V25.3204ZM20.1655 37.8568V20.762L24.5387 25.1785L20.1655 37.8568ZM26.8499 24.8532L28.9363 29.2148L24.6174 27.1078L25.1943 25.4357L26.8499 24.8532Z",fill:"#070707"})),r.createElement("defs",{key:1},r.createElement("clipPath",{id:"clip0_2658_3056"},r.createElement("rect",{width:"39.6078",height:"40",fill:"white",transform:"translate(0.00952148 -0.000244141)"})))])}i.defaultProps={width:"40",height:"40",viewBox:"0 0 40 40",fill:"none"},e.exports=i,i.default=i},43289:function(e,t,a){"use strict";var r=a(96540);t.A=()=>{const e=(0,r.useState)(!1),t=e[0],a=e[1],i=(0,r.useState)(!0),n=i[0],l=i[1];return{canScrollLeft:t,canScrollRight:n,handleScrollStateChange:e=>{a(e.canScrollLeft),l(e.canScrollRight)}}}},45399:function(e,t,a){"use strict";var r=a(24794),i=a(21707),n=a(47582);t.A=()=>{const e=(0,r.useStaticQuery)("2458149375").organizationJson,t=(0,i.A)().reviewCount.reviewCount;return e.brand.description=e.brand.description.replace("{reviewCount}
1",t.toLocaleString("en-US")),(0,n.A)(e)}},47582:function(e,t){"use strict";const a=e=>{if(!e)return e;if(Array.isArray(e))return e.map(e=>a(e));if("object"!=typeof e)return e;try{const t=Object.assign({},e);return Object.entries(t).forEach(e=>{let r=e[0],i=e[1];if("_type"===r||"_context"===r||"_id"===r){const e=r.replace("_","@");t[e]=i,delete t[r]}null!==i&&"object"==typeof i&&(t[r]=a(i))}),t}catch(t){return console.error("Error transforming JSON-LD fields:",t),e}};t.A=a},49774:function(e,t,a){"use strict";a.r(t),a.d(t,{Head:function(){return qe},default:function(){return Xe}});var r=a(45458),i=a(96540),n=(a(26910),a(5588)),l=a(84633),s=a(78384),o="article-links-module--title--e7024",c=a(89092),d=a(40312);const m={"38ACPDXRTK93":"auto",D03KTL8OUJ53:"center","3794KCR67I64":"north"},u=e=>{let t=e.article,a=e.canonicalAlias;return i.createElement("div",{className:"article-links-module--planning--99cc8"},i.createElement(c.A,{to:"/"+a},i.createElement(d.ax,{alt:t.entity.heroImage.alt,aspectRatio:1.86,gravity:m[t.articleId]||t.entity.heroImage.gravity,title:t.entity.heroImage.title,uri:t.entity.heroImage.uri}),i.createElement("span",{className:o+" article-links-module--planning__title--cd0ac"},t.entity.title)))},v=e=>{let t=e.article,a=e.canonicalAlias;return i.createElement("div",{className:"article-links-module--inspiration--3ab64"},i.createElement(c.A,{to:"/"+a},i.createElement(d.ax,{alt:t.entity.heroImage.alt,aspectRatio:1.86,gravity:m[t.articleId]||t.entity.heroImage.gravity,title:t.entity.heroImage.title,uri:t.entity.heroImage.uri}),i.createElement("span",{className:o+" article-links-module--inspiration__title--90d0c"},t.entity.title)))};var p=a(94684);var h=e=>{let t=e.images;const a=(0,i.useState)(!1),r=a[0],n=a[1],l=(0,i.useState)(0),s=l[0],o=l[1],c=e=>{if(("Enter"===e.code||"click"===e.type)&&e.target.id){const t=parseInt(e.target.id,10);o(t),n(!0)}};return i.createElement(i.Fragment,null,i.createElement("div",{className:"gallery-module--gallery--013ac"},t.map((e,t)=>i.createElement("div",{"aria-label":"See larger image",className:"gallery-module--gallery__image--c005e",key:e.id,onClick:c,onKeyUp:c,role:"button",tabIndex:0},i.createElement(d.ax,{alt:e.alt,aspectRatio:1.86,gravity:e.gravity,id:""+t,title:e.title,uri:e.uri})))),r&&i.createElement(p.A,{lightboxIndex:s,items:t,setShowLightbox:n}))},g=a(99586),f=a(79255),w=a(52007),b=a(46904),E=a(5745),y=a(91196),N=a(15126),_=a(53754),S=a(49956),k=a(77998),L="social-proof-module--press-mention-logo--7253d",C="social-proof-module--social-proof__item--e8563";var A=e=>{let t=e.themeDark,a=void 0!==t&&t;return i.createElement("section",{className:"social-proof-module--social-proof__list--bf55e","aria-label":"Reviews of Zicasso - reviews and badges"},i.createElement("div",{className:C},i.createElement(N.A,{themeDark:a})),i.createElement("div",{className:C},i.createElement(_.A,{themeDark:a})),i.createElement("div",{className:C},i.createElement(S.A,{themeDark:a})),i.createElement("div",{className:C},i.createElement(k.A,null)))},x=a(97312),R="reviews-page-module--header__review-review-text--5e6dd",I="reviews-page-module--reviews__section--58405",M="reviews-page-module--reviews__section-title--bc9e3",T=a(40954),O=a.n(T),D=a(3533),z=a.n(D),P=a(7116),W=a.n(P),F=a(40176),H=a.n(F),Z=a(64383);const j={newYorkTimes:i.createElement("div",{className:L},i.createElement(O(),{height:32,width:170})),wallStreetJournal:i.createElement("div",{className:L},i.createElement(z(),{height:32,width:184})),forbes:i.createElement("div",{className:L},i.createElement(W(),{height:21,width:78})),bbc:i.createElement("div",{className:L},i.createElement(H(),{height:20,width:70}))};var B=()=>{const e=(0,Z.A)().footerJson.logoList.news;return i.createElement("section",{"aria-label":"Press mentions"},i.createElement(c.A,{to:"/news",target:"_blank",rel:"noopener noreferrer",className:"social-proof-module--press-mention__list--67453"},i.createElement("span",{className:"sr-only"},"Zicasso is featured in New York Times, Wall Street Journal, Forbes & BBC."),e.map(e=>i.createElement("div",{key:"logo-"+e.alt},j[e.name]))))}
1,V=a(1763),J=a(90196),G=a(43289),U="reviews-mobile-carousel-module--reviews-mobile-carousel-icon-button--22a04";var Y=e=>{let t=e.themeDark,a=void 0!==t&&t;const r=(0,i.useRef)(null),n=(0,G.A)(),l=n.canScrollLeft,s=n.canScrollRight,o=n.handleScrollStateChange,c=[{id:"review-zicasso",component:N.A},{id:"review-google",component:_.A},{id:"trustpilot-widget",component:S.A},{id:"bbb-badge",component:k.A}],d=()=>{var e;null===(e=r.current)||void 0===e||e.prev()},m=()=>{var e;null===(e=r.current)||void 0===e||e.next()};return i.createElement("section",{className:"reviews-mobile-carousel-module--reviews-mobile-carousel--10508 mobile-display","aria-label":"Reviews and badges carousel"},i.createElement("div",{id:"reviews-badges-instructions",className:"sr-only"},"Navigate through reviews and trust badges using the previous and next buttons."),i.createElement(V.A,{ref:r,items:c,renderItem:e=>{const t=e.component;return i.createElement("div",{key:e.id,className:"reviews-mobile-carousel-module--carousel-item--0d134"},i.createElement(t,{themeDark:a,showBasedOn:!1}))},className:"reviews-mobile-carousel-module--the-carousel--1b40c",itemWidth:"163px",minItemWidth:"130px",gap:"1rem",ariaLabel:"Reviews and badges carousel",ariaDescribedBy:"reviews-badges-instructions",onScrollStateChange:o,mobileCompact:!0}),i.createElement("nav",{className:"reviews-mobile-carousel-module--carousel-controls--c2651","aria-label":"Navigate through reviews and badges"},i.createElement(J.A,{direction:"left",onClick:d,onKeyUp:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),d())},ariaLabel:"View previous destinations",disabled:!l,className:U}),i.createElement(J.A,{direction:"right",onClick:m,onKeyUp:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),m())},ariaLabel:"View next destinations",disabled:!s,className:U})))},K=a(96104),Q=a(96239),q=a(5350),X=a(57521),$=a(66792),ee=a(54139),te=a.n(ee),ae=a(82905),re=a.n(ae),ie=a(95811),ne=a.n(ie);const le=[{label:"Default (Featured)",value:"relevance"},{label:"Newest reviews first",value:"newToOld"},{label:"Oldest reviews first",value:"oldToNew"}];var se=e=>{let t=e.disabled,a=void 0!==t&&t,r=e.onSortChange,n=void 0===r?()=>{}:r,l=e.sort,s=void 0===l?"":l;const o=(0,i.useState)(!1),c=o[0],d=o[1],m=(0,i.useRef)(null),u=s||"relevance";(0,i.useEffect)(()=>{a&&d(!1)},[a]),(0,i.useEffect)(()=>{if(!c)return;const e=e=>{m.current&&!m.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[c]);const v=e=>{n(e),d(!1)};return i.createElement("div",{className:"reviews-sort-button-module--sort-button--0aef8",ref:m},i.createElement("button",{"aria-expanded":c,"aria-haspopup":"listbox","aria-label":"Sort reviews",className:"reviews-sort-button-module--sort-button__trigger--053f4 ztest-reviews-sort-button",disabled:a,onClick:()=>{a||d(e=>!e)},onKeyDown:e=>{"Escape"===e.key&&d(!1)},type:"button"},i.createElement(ne(),{"aria-hidden":"true",className:"reviews-sort-button-module--sort-button__icon--c03a7"})),a&&i.createElement("span",{className:"reviews-sort-button-module--sort-button__tooltip--69e0c",role:"tooltip"},"Sorting is disabled when filters are applied"),c&&i.createElement("ul",{"aria-label":"Sort options",className:"reviews-sort-button-module--sort-button__menu--37f0b",role:"listbox"},le.map(e=>{const t=u===e.value;return i.createElement("li",{"aria-selected":t,className:t?"reviews-sort-button-module--sort-button__option-selected--fb646":"",key:e.value,onClick:()=>v(e.value),onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),v(e.value))},role:"option",tabIndex:0},e.label)})))};var oe=e=>{var t;let a=e.destination,r=void 0===a?"":a,n=e.destinationOptions,l=void 0===n?[]:n,s=e.destinationOptionsLoading,o=void 0!==s&&s,c=e.onDestinationSelect,d=void 0===c?()=>{}:c,m=e.onSearchApply,u=void 0===m?()=>{}:m,v=e.onSortChange,p=void 0===v?()=>{}:v,h=e.searchValue,g=void 0===h?"":h,f=e.sort,w=void 0===f?"":f;const b=(0,i.useState)(g),E=b[0],y=b[1],N=(0,q.A)(E,1e3)[0],_=(0,i.useState)(!1),S=_[0],k=_[1],L=(0,i.useState)(g),C=L[0],A=L[1];g!==C&&(A(g),y(g),k(!1)),(0,i.useEffect)(()=>
1{if(!S)return;const e=N.trim();e!==g.trim()&&N===E&&u(e)},[N,E,u,g,S]);const x=(null===(t=l.find(e=>e.value===r))||void 0===t?void 0:t.label)||"",R=Boolean(E.trim());return i.createElement("section",{className:"reviews-filters-module--filters--87bbd","aria-label":"Review filters"},i.createElement("div",{className:"reviews-filters-module--filters__bar--ee288"},i.createElement("div",{className:"reviews-filters-module--filters__search-row--7126b"},i.createElement("div",{className:"reviews-filters-module--filters__search--4358d"},i.createElement(X.A,{"aria-label":"Search",containerClass:"reviews-filters-module--filters__searchInput--00ef7",e2eClass:"ztest-reviews-search-input",iconRight:E?i.createElement("button",{"aria-label":"Clear search",className:"reviews-filters-module--filters__clearSearch--6d95b",onClick:()=>{y(""),k(!1),u("")},type:"button"},i.createElement(re(),{"aria-hidden":"true"})):i.createElement(te(),{"aria-hidden":"true"}),inputClass:"reviews-filters-module--filters__searchField--85e8c",name:"reviews-search",onChange:e=>{k(!0),y(e.target.value)},placeholder:"Search",spellCheck:!0,value:E})),i.createElement("div",{className:"reviews-filters-module--filters__sort--e73f7"},i.createElement(se,{disabled:R,onSortChange:p,sort:w}))),i.createElement("div",{className:"reviews-filters-module--filters__dropdown-row--88bbc"},i.createElement("div",{className:"reviews-filters-module--filters__destination--b1fd6"},o?i.createElement("div",{"aria-hidden":"true",className:"reviews-filters-module--filters__destinationSkeleton--b2d0f"}):i.createElement($.A,{e2eClass:"ztest-reviews-destination-select",label:x,name:"reviews-destination",noResultsText:"No Results",onChange:d,options:l,optionsListClass:"reviews-filters-module--filters__optionsList--2b22d",placeholder:"All Destinations",selectOnly:!0,value:r})))))};var ce=e=>{let t=e.destination,a=void 0===t?"":t,r=e.isSearching,n=void 0!==r&&r,l=e.onClearFilters,s=void 0===l?()=>{}:l,o=e.rating,c=void 0===o?"":o,d=e.search,m=void 0===d?"":d,u=e.totalHits,v=void 0===u?0:u;const p=(0,i.useMemo)(()=>(e=>{let t=e.destination,a=void 0===t?"":t,r=e.rating,i=void 0===r?"":r,n=e.search,l=void 0===n?"":n;const s=[];return a&&s.push(a),i&&s.push(Number(i)/20+" stars"),l&&s.push('containing "'+l+'"'),s.join(", ")})({destination:a,rating:c,search:m}),[a,c,m]),h=1===v?"review":"reviews";return i.createElement("section",{"aria-label":"Search results summary","aria-live":"polite",className:"reviews-search-summary-module--summary--5191f"},i.createElement("p",{className:"reviews-search-summary-module--summary__count--3446f"},n?"Searching reviews…":"Showing "+v.toLocaleString()+" "+h),i.createElement("div",{className:"reviews-search-summary-module--summary__filters--5b882"},i.createElement("span",{className:"reviews-search-summary-module--summary__filtersLabel--151eb"},"Filtered by:"),i.createElement("span",{className:"reviews-search-summary-module--summary__filtersValue--6bbbb"},p),i.createElement("button",{className:"reviews-search-summary-module--summary__reset--0c480",onClick:s,type:"button"},"Reset filters")))},de=(a(78350),a(52618),a(80732)),me=a(32594),ue="reviews-list-module--list-items--d989d",ve="reviews-list-module--skeleton__bar--da7ce",pe="reviews-list-module--skeleton__barLine--1c9df";var he=()=>i.createElement("div",{"aria-hidden":"true",className:"reviews-list-module--skeleton--7fc06"},i.createElement("div",{className:"reviews-list-module--skeleton__header--72106"},i.createElement("div",{className:"reviews-list-module--skeleton__headerBlock--7057a"},i.createElement("div",{className:ve+" reviews-list-module--skeleton__barTitle--6fc5c"}),i.createElement("div",{className:ve+" reviews-list-module--skeleton__barMeta--f1aae"}))),i.createElement("div",{className:"reviews-list-module--skeleton__body--d0a3b"},i.createElement("div",{className:ve+" "+pe}),i.createElement("div",{className:ve+" "+pe}),i.createElement("div",{className:ve+" "+pe}),i.createElement("div",{className:ve+" reviews-list-module--skeleton__barLineShort--a8caa"})));const ge=14,fe=e=>{let t=e.isSearching,a=void 0!==t&&t,r=e.limit,n=void 0===r?ge:r,l=e.offset,s=void 0===l?0:l,o=e.reviews,c=void 0===o?[]:o;if(a)return i.createElement("div",{"aria-busy":"true","aria-label":"Loading reviews",className:ue},Array.from({length:3},(e,t)=>i.createElement(he,{key:"review-skeleton-"+t})));const d=s,m=s+n,u=Math.min(n,c.length-s),v=s+2;return i.createElement("div",{className:ue},c.flatMap((e,t)=>{const a=t>=d&&t<m,r=i.createElement("div",{className:a?"":"reviews-list-module--review-hidden--4f709",key:e.id},i.createElement(de.A,{hideFooter:!0,hideTCLink:!0,review:e}));return t===v&&u>=3?[r,i.createElement("div",{className:"reviews-list-module--newsletter-wrapper--7b9af",key:"reviews-newsletter"},i.createElement(me.A,{id:"reviews-newsletter"}))]:[r]}))};fe.displayName="ReviewsList";var we=(0,i.memo)(fe),be=a(63242);var Ee=e=>{let t=e.lazy,a=void 0!==t&&t;return i.createElement(be.A,{templateId:"5406e65db0d04a09e042d5fc",token:"e04d93f7-bbac-4aa3-b3fa-f45ccd4c5213",height:"28px",className:"trustpilot-widget-horizontal-module--trustpilot-widget-horizontal--96626",lazy:a})};var ye=e=>{let t=e.lazy,a=void 0!==t&&t;return i.createElement(be.A,{templateId:"5419b6ffb0d04a076446a9af",token:"3ca8dabf-4f0d-47f2-ae3a-a6570f5c71bd",height:"20px",className:"trustpilot-widget-micro-combo-module--trustpilot-widget-micro-combo--865e4",lazy:a})},Ne="reviews-floating-action-bar-module--floating-action-bar__button--6d501",_e="reviews-floating-action-bar-module--floating-action-bar__trustpilot--d98ae";const Se=["Experience the world","beyond belief"],ke=Se.join(" "),Le="Design My Dream Trip";var Ce=()=>i.createElement("aside",{className:"reviews-floating-action-bar-module--floating-action-bar--12615","aria-label":"Plan your trip"},i.createElement("div",{className:"reviews-floating-action-bar-module--floating-action-bar__layout--cb6da"},i.createElement("div",{className:"reviews-floating-action-bar-module--floating-action-bar__inner--9e920"},i.createElement("div",{className:_e+" reviews-floating-action-bar-module--floating-action-bar__trustpilot-micro-combo--9f2ee"},i.createElement(ye,null)),i.createElement("div",{className:_e+" reviews-floating-action-bar-module--floating-action-bar__trustpilot-horizontal--760ce"},i.createElement(Ee,null)),i.createElement("div",{className:"reviews-floating-action-bar-module--floating-action-bar__cta-group--cfb3b"},i.createElement("p",{className:"reviews-floating-action-bar-module--floating-action-bar__tagline--59fe1"},i.createElement("span",{className:"reviews-floating-action-bar-module--floating-action-bar__tagline-full--05ac5"},ke),i.createElement("span",{className:"reviews-floating-action-bar-module--floating-action-bar__tagline-tablet--80837"},Se[0],i.createElement("br",null),Se[1])),i.createElement(g.A,{className:Ne+" mobile-display",ctaId:"sticky-mobile-cta",href:"/trip-request",size:"sm"},Le),i.createElement(g.A,{className:Ne+" tablet-desktop-display",ctaId:"sticky-cta",href:"/trip-request"},Le)))));const Ae=e=>
1(1e3*Math.floor(e/1e3)).toLocaleString()+"+";var xe=e=>{var t;let a=e.destination,r=void 0===a?"":a,n=e.destinationOptions,o=void 0===n?[]:n,c=e.destinationOptionsLoading,d=void 0!==c&&c,m=e.error,p=void 0===m?null:m,N=e.gatsbyImages,_=e.hasActiveFilters,S=void 0!==_&&_,k=e.header,L=e.isSearching,C=void 0!==L&&L,T=e.onClearFilters,O=void 0===T?()=>{}:T,D=e.onDestinationSelect,z=void 0===D?()=>{}:D,P=e.onRatingSelect,W=void 0===P?()=>{}:P,F=e.onSearchApply,H=void 0===F?()=>{}:F,Z=e.onSortChange,j=void 0===Z?()=>{}:Z,V=e.planningYourTripArticles,J=e.rating,G=void 0===J?"":J,U=e.reviews,q=e.reviewCount,X=e.searchTotalHits,$=void 0===X?0:X,ee=e.searchValue,te=void 0===ee?"":ee,ae=e.sort,re=void 0===ae?"":ae,ie=e.site,ne=void 0===ie?{}:ie,le=e.offset,se=void 0===le?0:le,de=e.setOffset,me=void 0===de?()=>{}:de,ue=e.travelersPhotoGalleryImages,ve=e.travelStoriesInspirationArticles,pe=e.ratingsAggregation,he=void 0===pe?null:pe;return i.createElement("div",{className:"reviews-page-module--reviews--9a8f0"},i.createElement(l.A,{customClassName:"reviews-page-module--hero-image--30920",customGatsbyImages:N,heroImage:k.heroImage,imagesEndpoint:null==ne||null===(t=ne.siteMetadata)||void 0===t?void 0:t.imagesEndpoint},i.createElement("div",{className:"reviews-page-module--hero-image__overlay--c9c24"},i.createElement("div",{className:"reviews-page-module--hero-image__overlay-content--e2f2c"},i.createElement("div",{className:"reviews-page-module--hero-image__text-wrapper--7ce5f"},i.createElement("p",{className:"reviews-page-module--hero-image__title--5a37c"},"Zicasso travelers love their trips")),i.createElement("div",{className:"tablet-desktop-display reviews-page-module--hero-image__reviews-container--afa98"},i.createElement(A,{themeDark:!0}))))),i.createElement("div",{className:"mobile-display"},i.createElement(Y,null)),i.createElement("div",{className:"reviews-page-module--press-mentions--1198e tablet-desktop-display"},i.createElement(B,null)),i.createElement(w.A,{className:"reviews-page-module--header--acddc"},i.createElement(E.A,{className:"reviews-page-module--header__title--571d0"},i.createElement("h1",null,k.title),i.createElement("p",{className:"reviews-page-module--header__summary--74a38"},k.summary)),i.createElement(b.A,null,i.createElement("div",{className:"reviews-page-module--header__cta--wrapper--46121 desktop-display"},i.createElement(f.A,{steps:["Trips curated by the world’s top destination experts","Concierge-level service leading up to and during your trip","Unique, exclusive experiences and insider access"],ctaTitle:"Life-Enriching Travel",hideNewsLogo:!0})))),i.createElement(y.A,null,i.createElement("div",{className:"reviews-page-module--header__review-wrapper--ae371"},i.createElement("div",{className:"reviews-page-module--header__review-score--83eff"},i.createElement("p",{className:"reviews-page-module--header__review-rating--18234"},"4.9"),i.createElement("img",{src:K.A,alt:"stars",width:97,height:16,loading:"lazy"}),i.createElement("span",{className:R+" mobile-display"},Ae(q)+" verified traveler reviews"),i.createElement("span",{className:R+" tablet-desktop-display"},"Based on "+Ae(q)+" verified traveler reviews")),i.createElement("div",{className:"reviews-page-module--header__review-divider--aaf53"}),i.createElement("div",{className:"reviews-page-module--header__review-histogram--4ba84"},he&&i.createElement(Q.A,{ratingsAggregation:he,reviewCount:q,selectedStarLevel:G?Number(G):null,setSelectedStarLevel:W}))),i.createElement(oe,{destination:r,destinationOptions:o,destinationOptionsLoading:d,onDestinationSelect:z,onSearchApply:H,onSortChange:j,searchValue:te,sort:re}),S&&i.createElement(ce,{destination:r,isSearching:C,onClearFilters:O,rating:G,search:te,totalHits:$}),i.createElement("section",{id:"reviews-list",className:"reviews-page-module--reviews__list--211ba"},p&&i.createElement("p",{className:"reviews-page-module--reviews__error--bff86"},"Something went wrong loading reviews. Please try again."),S&&!C&&0===U.length&&i.createElement("p",{className:"reviews-page-module--reviews__emptyState--f3620"},"No reviews match your filters. Try adjusting your search."),i.createElement(we,{isSearching:C,limit:ge,offset:se,reviews:U}),!C&&U.length>0&&i.createElement(x.A,{anchorId:"reviews-list",count:U.length,limit:ge,off
1Set:se,setOffSet:me}))),i.createElement(s.A,null),i.createElement(y.A,null,i.createElement("section",{className:I},i.createElement("h2",{className:M},"Planning Your Trip With Zicasso"),i.createElement("div",{className:"reviews-page-module--planning--99a7a"},V.map(e=>i.createElement(u,{article:e,canonicalAlias:e.canonicalAlias,key:e.articleId})))),i.createElement("section",{className:I},i.createElement("h2",{className:M},"More Travel Stories & Inspiration"),i.createElement("div",{className:"reviews-page-module--inspiration--09b6f"},ve.map(e=>i.createElement(v,{article:e,canonicalAlias:e.canonicalAlias,key:e.articleId}))),i.createElement("div",{className:"reviews-page-module--reviews__link-button-wrapper--067aa"},i.createElement(g.A,{href:"/blogs"},"Explore Our Blog"))),i.createElement("section",{className:I+" reviews-page-module--gallery--8719c"},i.createElement("h2",null,"Our Traveler's Photo Gallery"),i.createElement(h,{images:ue}))),i.createElement(Ce,null))};var Re=function(e,t){const a=(0,i.useState)(""),r=a[0],n=a[1];(0,i.useEffect)(()=>{if("undefined"==typeof window)return;const e=()=>n(window.location.search);return n(null!=t?t:"undefined"==typeof window?"":window.location.search),window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[t]);const l=(0,i.useMemo)(()=>new URLSearchParams(r),[r]),s=(0,i.useMemo)(()=>r?function(e,t){const a={};return Object.keys(t).forEach(r=>{if(Array.isArray(t[r]))a[r]=e.getAll(r);else{const i=e.get(r);a[r]=null===i?t[r]:i}}),a}(l,e):e,[r,l,e]),o=(0,i.useCallback)((e,t)=>{if("undefined"==typeof window)return;const a=new URLSearchParams(window.location.search);Object.keys(e).forEach(t=>{const r=e[t];Array.isArray(r)?(a.delete(t),r.length>0&&r.forEach(e=>a.append(t,e))):r?a.set(t,r):a.delete(t)});const r=function(e){const t=e.toString();return("undefined"!=typeof window?window.location.pathname:"")+(t?"?"+t:"")}(a);null!=t&&t.push?window.history.pushState(null,"",r):window.history.replaceState(null,"",r),n(a.toString()?"?"+a.toString():"")},[]);return[s,o]},Ie=a(29090),Me=a(55326);const Te=function(e){void 0===e&&(e=[]);const t=new Set;return e.filter(e=>!(!e||t.has(e.id))&&(t.add(e.id),!0))};function Oe(e,t){return e?"relevance"!==e||t?e:Ie.fR.SortOrder.RATINGNEWTOOLD:t?Ie.fR.SortOrder.RELEVANCE:Ie.fR.SortOrder.RATINGNEWTOOLD}var De=e=>{let t=e.countries,a=void 0===t?[]:t,n=e.enabled,l=void 0===n||n,s=e.fullText,o=void 0===s?"":s,c=e.includePartners,d=void 0!==c&&c,m=e.rating,u=void 0===m?"":m,v=e.sort,p=void 0===v?"":v;const h=(0,i.useState)([]),g=h[0],f=h[1],w=(0,i.useState)(0),b=w[0],E=w[1],y=(0,i.useState)(1),N=y[0],_=y[1],S=(0,i.useState)(!1),k=S[0],L=S[1],C=(0,i.useState)(null),A=C[0],x=C[1],R=(0,i.useState)(!1),I=R[0],M=R[1],T=(0,i.useRef)(0),O=(0,i.useMemo)(()=>JSON.stringify({countries:a,fullText:o,includePartners:d,rating:u,sort:p}),[a,o,d,u,p]),D=(0,i.useState)(l),z=D[0],P=D[1],W=(0,i.useState)(O),F=W[0],H=W[1],Z=(0,i.useMemo)(()=>Boolean(o.trim()),[o]);z!==l&&(P(l),l||(_(1),f([]),E(0),M(!1),x(null),L(!1))),l&&F!==O&&(H(O),f([]),E(0),M(!1),1!==N&&_(1)),(0,i.useEffect)(()=>{l||(T.current+=1)},[l]),(0,i.useEffect)(()=>{if(!l)return;const e=T.current+1;T.current=e;const t=28*(N-1);(async()=>{L(!0),x(null);try{const i=await Me.A.createReviewSearch(function(e){let t=e.countries,a=void 0===t?[]:t,r=e.fullText,i=e.includePartners,n=void 0!==i&&i,l=e.offset,s=void 0===l?0:l,o=e.rating,c=void 0===o?"":o,d=e.sort,m=e.useSemanticSearch;const u=function(e){const t=e.trim();return t.length>=3?t:void 0}(r),v=c?Number(c):0;return Object.assign({published:!0},a.length>0&&{countries:a},u&&{fullTextSearch:u},v>0&&{rating:v},{includePartners:n,limit:28,offset:s,sortOrder:Oe(d,!!u),logSearch:!1,useSemanticSearch:m})}({countries:a,fullText:o,offset:t,rating:u,sort:p,useSemanticSearch:Z}));if(T.current!==e)return;if(i.httpStatus&&i.httpStatus>=400)throw new Error("Error fetching reviews");const n=i.reviews||[],l=i.reviewCount||0;E(l),M(28===n.length&&28*N<l),f(e=>Te(1===N?n:[].concat((0,r.A)(e),(0,r.A)(n))))}catch(i){if(T.current!==e)return;x(i)}finally{T.current===e&&L(!1)}})()},[l,N,O]);const j=(0,i.useCallback)(()=>{!k&&I&&_(e=>e+1)},[I,k]);return{reviews:g,error:A,hasMore:I,isLoading:k,loadMore:j,totalHits:b}};const ze=Object.assign({},{search:"",destination:"",rating:"",sort:""},{page:""});var Pe=function(e){void 0===e&&(e="");const t=Re(ze,e),a=t[0],r=t[1],i=e=>r(Object.assign({},e,{page:""})),n=!!(a.search||a.destination||a.rating),l=n||!(!(s=a.sort)||"relevance"===s);var s;
1return{urlQuery:a,updateURLQuery:r,hasActiveFilters:n,needsClientSearch:l,onClearFilters:()=>i({search:"",destination:"",rating:"",sort:""}),onDestinationSelect:e=>{i({destination:e||""})},onRatingSelect:e=>{const t=String(e)===a.rating?"":String(e);i({rating:t})},onSearchApply:e=>i({search:e}),onSortChange:e=>i({sort:"relevance"===e?"":e})}};a(9391);const We=e=>e>1?String(e):"";var Fe=e=>{let t=e.urlQuery,a=e.updateURLQuery,n=e.reviewSearchData,l=e.destinationOptions,s=void 0===l?[]:l,o=e.needsClientSearch;const c=(0,i.useState)([]),d=c[0],m=c[1],u=(0,i.useState)(0),v=u[0],p=u[1],h=(0,i.useState)(null),g=h[0],f=h[1],w=(0,i.useRef)(!1),b=(E=t.page,Math.max(1,parseInt(E,10)||1));var E;const y=(b-1)*ge,N=(0,i.useMemo)(()=>{const e=n&&n.reviews||[];return{builtReviews:e,totalReviewCount:n&&n.reviewCount||e.length,reviewsSearchId:(null==n?void 0:n.reviewsSearchId)||null,ratingsAggregation:(t=null==n?void 0:n.ratingsAggregation,t&&"_100"in t?{20:t._20,40:t._40,60:t._60,80:t._80,100:t._100}:null)};var t},[n]),_=N.builtReviews,S=N.totalReviewCount,k=N.reviewsSearchId,L=N.ratingsAggregation,C=(0,i.useMemo)(()=>{if(!t.destination)return[];const e=s.find(e=>e.value===t.destination);return null!=e&&e.countries?(0,r.A)(new Set(e.countries.filter(Boolean))):[]},[s,t.destination]),A=De({countries:C,enabled:o,fullText:t.search,rating:t.rating,sort:t.sort}),x=A.reviews,R=A.totalHits,I=A.isLoading,M=A.hasMore,T=A.loadMore,O=A.error,D=(0,i.useState)(o),z=D[0],P=D[1];o!==z&&(P(o),o&&d.length>0&&(m([]),p(0)));const W=(0,i.useMemo)(()=>o?x:d.length>0?[].concat((0,r.A)(_),(0,r.A)(d)):_,[_,x,d,o]),F=_.length+v,H=o?W.length<R:F<S,Z=(0,i.useCallback)(()=>{if(o)return void T();if(!k||w.current)return;const e=_.length+v;e>=S||(w.current=!0,Me.A.fetchReviewSearch(k,{limit:28,offset:e}).then(e=>{e&&Array.isArray(e.reviews)&&e.reviews.length>0&&(p(t=>t+e.reviews.length),m(t=>{const a=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]);const a=new Set(t.map(e=>e.id));return e.filter(e=>e&&!a.has(e.id))}(e.reviews,[].concat((0,r.A)(_),(0,r.A)(t)));return a.length>0?[].concat((0,r.A)(t),(0,r.A)(a)):t})),f(null)}).catch(e=>{console.error("Failed to load more reviews:",e),f(e)}).finally(()=>{w.current=!1}))},[_,v,T,o,k,S]);(0,i.useEffect)(()=>{H&&(o?!I&&M&&y+ge>=W.length&&T():y+ge>=W.length&&Z())},[W.length,M,H,I,T,Z,o,y]);return(0,i.useEffect)(()=>{if(0===W.length)return;const e=Math.max(1,Math.ceil(W.length/ge));b>e&&a({page:We(e)})},[W.length,b,a]),{isSearching:o&&I,offset:y,ratingsAggregation:L,reviews:W,searchTotalHits:R,setOffset:e=>{const t=Math.floor(e/ge)+1;a({page:We(t)},{push:!0})},error:O||g}};const He={label:"All Destinations",value:""};var Ze=()=>{const e=(0,i.useState)([]),t=e[0],a=e[1],n=(0,i.useState)(!0),l=n[0],s=n[1];return(0,i.useEffect)(()=>{Me.A.Z4FetchLocationNames(!0).then(e=>{const t=(0,r.A)(e).sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({label:e.name,value:e.name,countries:e.countries}));a([He].concat((0,r.A)(t)))}).catch(e=>{console.error("Failed to load country options:",e),a([He])}).finally(()=>{s(!1)})},[]),{destinationOptions:t,destinationOptionsLoading:l}};var je=e=>{let t=e.articles,a=e.initialSearch,r=void 0===a?"":a,l=e.reviewsJson,s=e.reviewSearchData,o=void 0===s?null:s,c=e.reviewCount,d=e.site,m=void 0===d?null:d;const u=l.header,v=l.heroImageSharp,p=l.mobileHeroImageSharp,h=l.planningYourTripArticleIds,g=l.tabletHeroImageSharp,f=l.travelersPhotoGalleryImages,w=l.travelStoriesInspirationArticleIds,b=Pe(r),E=b.urlQuery,y=b.updateURL
1Query,N=b.hasActiveFilters,_=b.needsClientSearch,S=b.onClearFilters,k=b.onDestinationSelect,L=b.onRatingSelect,C=b.onSearchApply,A=b.onSortChange,x=Ze(),R=x.destinationOptions,I=x.destinationOptionsLoading,M=Fe({urlQuery:E,updateURLQuery:y,reviewSearchData:o,destinationOptions:R,needsClientSearch:_}),T=M.isSearching,O=M.offset,D=M.ratingsAggregation,z=M.reviews,P=M.searchTotalHits,W=M.setOffset,F=M.error,H=(0,i.useMemo)(()=>v?(0,n.w)((0,n.c)(v),[{media:"(max-width: 767px)",image:(0,n.c)(p)},{media:"(max-width: 1279px)",image:(0,n.c)(g)}]):null,[v,p,g]),Z=(0,i.useMemo)(()=>h.map(e=>{var a;return null===(a=t.find(t=>t.node.articleId===e))||void 0===a?void 0:a.node}).filter(Boolean),[h,t]),j=(0,i.useMemo)(()=>w.map(e=>{var a;return null===(a=t.find(t=>t.node.articleId===e))||void 0===a?void 0:a.node}).filter(Boolean),[w,t]);return i.createElement(xe,{destination:E.destination,destinationOptions:R,destinationOptionsLoading:I,error:F,gatsbyImages:H,hasActiveFilters:N,header:u,isSearching:T,offset:O,onClearFilters:S,onDestinationSelect:k,onRatingSelect:L,onSearchApply:C,onSortChange:A,planningYourTripArticles:Z,rating:E.rating,ratingsAggregation:D,reviewCount:c,reviews:z,searchTotalHits:P,searchValue:E.search,sort:E.sort,setOffset:W,site:m,travelersPhotoGalleryImages:f,travelStoriesInspirationArticles:j})},Be=a(32442),Ve=a(21707);var Je=e=>{let t=e.data,a=t.allArticles.edges,r=t.reviewsJson,n=t.reviewSearchData,l=void 0===n?null:n,s=e.location;const o=(0,Be.Q)().site,c=(0,Ve.A)().reviewCount.reviewCount;return i.createElement(je,{articles:a,initialSearch:(null==s?void 0:s.search)||"",reviewsJson:r,reviewSearchData:l,reviewCount:c,site:o})},Ge=a(22837),Ue=a(45399);const Ye="https://www.zicasso.com/reviews",Ke=e=>{try{const t=new Date(e);if(!Number.isNaN(t.getTime()))return t.toISOString().replace(/\.\d{3}Z$/,"Z")}catch(t){}};const Qe=e=>{var t,a;let n=e.data,l=e.location;const s=(0,Ve.A)().reviewCount.reviewCount,o=null==n?void 0:n.reviewsJson,c=(null==o?void 0:o.seo)||{},d=null===(t=c.title)||void 0===t?void 0:t.replace("{reviewCount}",(m=s,(1e3*Math.floor(m/1e3)).toLocaleString()));var m;const u=(null==o?void 0:o.header)||{},v=function(e){var t;return null!=e&&e["@id"]&&null!=e&&e.name?Object.assign({"@type":null!==(t=e["@type"])&&void 0!==t?t:"Organization","@id":e["@id"],name:e.name},e.url?{url:e.url}:{}):null}((0,Ue.A)()),p=v?JSON.stringify(function(e,t){return{"@context":"https://schema.org","@type":"WebPage","@id":Ye,url:Ye,name:"Zicasso Reviews",inLanguage:"en",description:e||"",mainEntity:{"@id":t["@id"]}}}(c.description,v)):null,h=function(e,t,a){var i;if(!a)return null;const n=null!==(i=null==e?void 0:e.reviews)&&void 0!==i?i:[],l={"@type":"AggregateRating",ratingValue:4.9,bestRating:5,worstRating:1,ratingCount:t,reviewCount:t,itemReviewed:a},s=n.slice(0,10).map(e=>{return{"@type":"Review",datePublished:Ke(e.reviewedAt),reviewBody:(t=e.mainReview,(t||"").replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()),author:{"@type":"Person",name:e.reviewer},reviewRating:{"@type":"Rating",ratingValue:e.rating/20,bestRating:5,worstRating:1},itemReviewed:a};var t});return{"@context":"https://schema.org","@graph":[l].concat((0,r.A)(s))}}(null==n?void 0:n.reviewSearchData,s,v),g=[p,h?JSON.stringify(h):null].filter(Boolean);return i.createElement(Ge.A,{location:l,canonical:"https://www.zicasso.com/reviews",description:c.description,image:null===(a=u.heroImage)||void 0===a?void 0:a.uri,jsonLDStrings:g,title:d})},qe=e=>i.createElement(Qe,e);var Xe=Je},57887:function(e,t,a){var r=a(96540);function i(e){return r.createElement("svg",e,r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 9.3954L5.46796 8L12 14.2092L18.532 8L20 9.3954L12 17L4 9.3954Z",fill:"#333333"}))}i.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=i,i.default=i},66792:function(e,t,a){"use strict";a.d(t,{A:function(){return c}});var r=a(96540),i=a(57521),n=a(57887),l=a.n(n);var s=e=>{let t=e.activeOption,a=void 0===t?0:t,i=e.noResultsText,n=void 0===i?"":i,l=e.onMouseEnter,s=e.options,o=void 0===s?[]:s,c=e.optionsListClass,d=void 0===c?"":c,m=e.value;return r.createElement("ul",{"aria-label":"list of destination options",id:"options-container",className:("object-options-module--z-type-ahead__options--32953 "+d).trim(),role:"listbox"},0===o.length&&n?r.createElement("li",{"aria-disabled":"true",className:"object-options-module--z-type-ahead__no-results--cf9d1",role:"option"},n):o.map((e,t)=>r.createElement("li",{"aria-selected":t===a,className:m===e.value?"object-options-module--z-type-ahead__options--selected--8036f":"","data-index":t,id:"option-"+t,key:"option-"+e.value,onMouseEnter:l,role:"option"},e.label)))};var o=e=>{let t=e.activeOption,a=void 0===t?0:t,n=e.disabled,o=void 0!==n&&n,c=e.e2eClass,d=void 0===c?"":c,m=e.expanded,u=e.inputRef,v=void 0===u?null:u,p=e.inputValue,h=e.name,g=e.noResultsText,f=void 0===g?"":g,w=e.onArrowClick,b=e.onClick,E=e.onCh
1ange,y=e.onFocus,N=e.onKeyDown,_=e.onMouseEnter,S=e.options,k=void 0===S?null:S,L=e.optionsListClass,C=void 0===L?"":L,A=e.placeholder,x=void 0===A?null:A,R=e.valid,I=void 0===R||R,M=e.value,T=e.wrapperRef,O=void 0===T?null:T;return r.createElement("div",{"aria-controls":h+"-options","aria-expanded":k.length>0,className:"object-options-module--z-type-ahead__wrapper--40c4a",ref:O,role:"combobox",onClick:b,onFocus:y,onKeyDown:N},r.createElement("div",{className:"object-options-module--z-type-ahead__input--wrapper--70082"},r.createElement(i.A,{autoComplete:"off",disabled:o,e2eClass:d,iconRight:r.createElement("span",{"aria-label":"Toggle options",className:"object-options-module--z-type-ahead__arrow-wrapper--262c6","data-select-arrow":"true",onClick:e=>{e.preventDefault(),w()},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.stopPropagation(),w())},onMouseDown:e=>e.preventDefault(),role:"button",tabIndex:0},r.createElement(l(),{"aria-hidden":"true",className:"object-options-module--z-type-ahead__arrow--681d1",height:"24px",width:"24px"})),inputClass:"object-options-module--z-type-ahead__input--8b0da",name:h,onChange:E,placeholder:x,ref:v,valid:I,value:p})),m&&r.createElement(s,{activeOption:a,noResultsText:f,onMouseEnter:_,options:k,optionsListClass:C,value:M}))};var c=e=>{let t=e.disabled,a=void 0!==t&&t,i=e.e2eClass,n=void 0===i?"":i,l=e.inputRef,s=void 0===l?null:l,c=e.label,d=e.name,m=void 0===d?"":d,u=e.noResultsText,v=void 0===u?"":u,p=e.onChange,h=void 0===p?null:p,g=e.onClick,f=void 0===g?()=>{}:g,w=e.onFocus,b=void 0===w?null:w,E=e.options,y=void 0===E?[]:E,N=e.optionsListClass,_=void 0===N?"":N,S=e.placeholder,k=void 0===S?"":S,L=e.selectOnly,C=void 0!==L&&L,A=e.valid,x=void 0===A||A,R=e.value,I=void 0===R?"":R;const M=(0,r.useState)(0),T=M[0],O=M[1],D=(0,r.useState)([]),z=D[0],P=D[1],W=(0,r.useState)(!1),F=W[0],H=W[1],Z=(0,r.useState)(c||""),j=Z[0],B=Z[1],V=(0,r.useState)(!1),J=V[0],G=V[1],U=(0,r.useRef)(null),Y=()=>{H(!0),P(y),O(0)},K=()=>{H(!1)},Q=()=>{F?K():Y()};(0,r.useEffect)(()=>{F||B(c||"")},[F,c]),(0,r.useEffect)(()=>{if(!J){const e=document.getElementById("options-container"),t=document.getElementById("option-"+T);e&&t&&(e.scrollTop=t.offsetTop-125)}},[T,J]),(0,r.useEffect)(()=>{if(!F)return;const e=e=>{U.current&&!U.current.contains(e.target)&&K()};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[F]),(0,r.useEffect)(()=>{if(!a&&F)if(j&&j!==c){const e=y.filter(e=>e.label.toLowerCase().startsWith(j.toLowerCase()));P(e)}else j||P(y)},[a,y,j,c,F]);const q=e=>{const t=e||T;z[t]&&(B(z[t].label),h(z[t].value),K())};return r.createElement(o,{activeOption:T,disabled:a,e2eClass:n,expanded:F,inputRef:s,inputValue:j,name:m,noResultsText:v,onArrowClick:()=>{Q(),f()},onClick:e=>{const t=e.target.closest('[role="option"]');if(t)return O(Number(t.getAttribute("data-index"))),q(Number(t.getAttribute("data-index"))),void f();e.target.id===m&&Q(),f()},onChange:e=>{const t=e.target.value;if(F||Y(),B(t),C)return void(""===t&&h(""));const a=z.find(e=>e.label===t);a?h(a.value):""===t&&h(t)},onFocus:b,onKeyDown:e=>{9===e.keyCode?K():13===e.keyCode?(e.preventDefault(),F?q():Y()):40===e.keyCode?(G(!1),F?z.length>0&&T!==z.length-1&&O(e=>e+1):Y()):38===e.keyCode&&0!==T&&O(e=>e-1)},onMouseEnter:e=>{G(!0);const t=e.target.getAttribute("data-index");O(parseInt(t,10))},options:z,optionsListClass:_,placeholder:k,valid:x,value:I,wrapperRef:U})}},76424:function(e,t,a){"use strict";a.d(t,{A:function(){return l}});var r=a(96540),i=a(79634);const n=e=>{let t=e.className,a=void 0===t?"":t,n=e.rating,l=e.size,s=void 0===l?100:l;const o=Math.round(119*s/100),c=Math.round(24*s/100);return r.createElement("div",{className:"stars-module--stars-wrapper--cc12a "+a,style:{height:c+"px",width:o+"px",maxWidth:o+"px"}},r.createElement("div",{"aria-label":(0,i.MR)(n)+" stars out of 5",className:"stars-module--stars--583f8",role:"img",style:{width:n+"%",height:c+"px"}}))};var l=(0,r.memo)(n)},77507:function(e,t,a){var r=a(96540);function i(e){return r.createElement("svg",e,r.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M11.7 11.15l-9.39 9.38a1 1 0 01-1.44 0L0 19.67l8.52-8.52a1 1 0 000-1.46L0 1.17.87.31a1 1 0 011.44 0l9.39 9.38a1 1 0 010 1.46z"}))}i.defaultProps={viewBox:"0 0 12 20.83"},e.exports=i,i.default=i},78384:function(e,t,a){"use strict";a.d(t,{A:function(){return r.A}});var r=a(85185)},80732:function(e,t,a){"use strict";a.d(t,{A:function(){return w}});var r=a(96540),i=a(71468),n=a(88305),l=a(96315),s=a(76424),o=a(37925),c=a.n(o),d=a(79634),m=a(66707),u=a(31905),v=a(5825),p=a(85339);const h=e=>{let t=e.company,a=void 0===t?null:t,i=e.hideTCLink;return void 0!==i&&i||!a?null:r.createElement("div",{className:l.Ov},r.createElement("span",{className:l.KU},"Travel Specialist:"),r.createElement("a",{href:"/travel-company?id="+a.id,target:"_blank",rel:"noopener noreferrer",className:l.Or,"aria-label":"Go to "+(a.name||"Travel Company")+" page (opens in new tab)"},a.name||"Travel Company"))},g=e=>{let t=e.review;const a=(0,r.useState)(!1),i=a[0],n=a[1];return r.createElement("div",{className:l.a8},t.mainReview&&r.createElement("div",{className:l.aS+" "+(i?"":l.Qg),dangerouslySetInnerHTML:{__html:t.mainReview}}),r.createElement("div",{className:l.Bj+" "+(i?l.WX:""),"aria-hidden":!i},t.bestParts&&r.createElement(r.Fragment,null,r.createElement("h3",{className:l.FO},"What were the most enjoyable or memorable parts of your trip?"),r.createElement("div",{className:l.aS,dangerouslySetInnerHTML:{__html:t.bestParts}})),t.doDifferently&&r.createElement(r.Fragment,null,r.createElement("h3",{className:l.FO},"If you could take your trip again, what would you do differently?"),r.createElement("div",{className:l.aS,dangerouslySetInnerHTML:{__html:t.doDifferently}})),t.travelCompanyFeedback&&r.createElement("div",{className:l.iO},r.createElement("div",{className:l.LB},r.createElement(c(),{className:l.X$}),r.createElement("h3",{className:l.FO},"Travel Company Comments")),r.createElement("div",{className:l.aS,dangerouslySetInnerHTML:{__html:t.travelCompanyFeedback}}
1))),r.createElement("button",{type:"button",className:l.Dy,onClick:()=>n(e=>!e),"aria-expanded":i},i?"Show less":"Show more"))};var f=e=>{let t=e.review,a=e.hideFooter,i=void 0!==a&&a,n=e.hideTCLink,o=void 0!==n&&n,c=e.onReviewVote,f=void 0===c?()=>{}:c;const w=t.images?t.images.filter(e=>!e.stock):null,b=(0,d.po)(t.reviewedAt,void 0,"short");return r.createElement("article",{className:l.NQ,"aria-label":"Review by "+t.reviewer+" on "+b},r.createElement("div",{className:l.ZR},r.createElement("div",{className:l.tE},r.createElement("div",{className:l.$T},r.createElement(s.A,{rating:t.rating}),r.createElement("p",{className:l.W4},"Verified Review")),r.createElement("div",{className:l.Wj},r.createElement("h2",{className:l.t5},(0,d.Lt)(t.title)),r.createElement("div",{className:l.bB},r.createElement("span",{className:l.iv},t.reviewer),r.createElement("span",{className:l.Ez,"aria-hidden":"true"}),r.createElement("span",{className:l.iv,"aria-label":"Review published on "+b},b)),r.createElement(h,{company:t.company,hideTCLink:o}))),r.createElement("div",{className:l.fJ},r.createElement(m.A,null,r.createElement(v.A,{link:"/review?id="+t.id})))),r.createElement(g,{review:t}),w&&w.length>0&&r.createElement("div",{className:l.Sx},r.createElement(p.A,{images:w})),!i&&r.createElement("footer",{className:l.k3},r.createElement(u.A,{onHelpfulClicked:f,reviewId:t.id})))};var w=(0,i.Ng)(null,e=>({onReviewVote:t=>{let a=t.reviewId;return e((0,n.pI)({reviewId:a}))}}))(e=>r.createElement(f,e))},84633:function(e,t,a){"use strict";a.d(t,{A:function(){return m}});var r=a(96540),i=a(5588),n="gatsby-hero-image-module--gatsby-image-wrapper-ie--ca7cc";var l=e=>{let t=e.children,a=void 0===t?null:t,l=e.customClassName,s=e.gatsbyImages,o=void 0===s?null:s,c=e.heroImage,d=e.imageClass,m=void 0===d?null:d,u=e.mobileHeroImage,v=void 0===u?null:u,p=e.pageParent,h=void 0===p?null:p,g=e.style,f=void 0===g?null:g;return r.createElement("div",{className:l,id:h?"ztest-"+h+"-hero-header":void 0},v&&r.createElement(i.G,{alt:v.alt,className:"\n          mobile-tablet-display\n          "+m+"\n          "+n+"\
1n        ",fetchPriority:"high",image:o,id:"mobile",key:"mobile-hero",loading:"eager",style:Object.assign({},f,{height:"100%"}),title:v.title}),r.createElement(i.G,{alt:c.alt,className:"\n        "+(v?"desktop-display":"")+"\n        "+m+"\n        "+n+"\n      ",fetchPriority:"high",image:o,id:"desktop",key:"desktop-hero",loading:"eager",style:Object.assign({},f,{height:"100%"}),title:c.title||c.alt}),a)},s=a(40312);var o=e=>{let t=e.aspectRatio,a=void 0===t?null:t,i=e.children,n=void 0===i?null:i,l=e.customClassName,o=void 0===l?"":l,c=e.heroImage,d=e.imageClass,m=void 0===d?"":d,u=e.imagesEndpoint,v=e.mobileHeroImage,p=void 0===v?null:v,h=e.pageParent,g=void 0===h?null:h,f=e.style,w=void 0===f?null:f;return r.createElement("div",{className:o,id:g?"ztest-"+g+"-hero-header":void 0},p&&r.createElement(s.Ay,{alt:p.alt,aspectRatio:a,className:"\n          mobile-tablet-display\n          "+m+"\n      ",cloudinarySrc:p.uri,crop:p.crop||"fill",effect:p.effect,gravity:p.gravity||"center",id:"mobile",key:"mobile-hero",src:u,style:w,title:p.title}),r.createElement(s.Ay,{alt:null==c?void 0:c.alt,aspectRatio:a,className:"\n        "+(p?"desktop-display":"")+"\n        "+m+"\n      ",cloudinarySrc:null==c?void 0:c.uri,crop:(null==c?void 0:c.crop)||"fill",effect:null==c?void 0:c.effect,gravity:(null==c?void 0:c.gravity)||"center",id:"desktop",key:"desktop-hero",src:u,style:w,title:null==c?void 0:c.title}),n)},c=a(68218);const d=e=>{let t=e.aspectRatio,a=void 0===t?null:t,n=e.children,s=void 0===n?null:n,d=e.customClassName,m=void 0===d?"":d,u=e.customGatsbyImages,v=void 0===u?null:u,p=e.heroImage,h=e.heroImageSharp,g=void 0===h?null:h,f=e.imageClass,w=void 0===f?"":f,b=e.imagesEndpoint,E=e.mobileHeroImage,y=void 0===E?null:E,N=e.mobileHeroImageSharp,_=void 0===N?null:N,S=e.style,k=void 0===S?null:S;const L=(0,r.useContext)(c.A),C=(0,r.useMemo)(()=>v||(_&&g?(0,i.w)((0,i.c)(g),[{media:"(max-width: 1279px)",image:(0,i.c)(_)}]):g?(0,i.c)(g):null),[_,g,v]);return C?r.createElement(l,{aspectRatio:a,customClassName:m,gatsbyImages:C,heroImage:p,imageClass:w,mobileHeroImage:y,pageParent:L,style:k},s):r.createElement(o,{aspectRatio:a,customClassName:m,heroImage:p,imageClass:w,imagesEndpoint:b,mobileHeroImage:y,pageParent:L,style:k},s)};d.displayName="GatsbyHeroImageContainer";var m=d},85185:function(e,t,a){"use strict";a.d(t,{A:function(){return m}});var r=a(96540),i="how-zicasso-works-module--how__item--19332",n="how-zicasso-works-module--how__item-description--cc8fa",l="how-zicasso-works-module--how__item--number--55c14",s="how-zicasso-works-module--how__item-title--6511d",o=a(99586),c=a(32691),d=a.n(c);var m=e=>{let t=e.className,a=void 0===t?"":t,c=e.variant,m=void 0===c?"default":c;const u="searchResultsEmpty"===m?"Here's how we create life-enriching experiences.":"Here's how we create life-enriching, luxury travel experiences";return r.createElement("section",{className:("how-zicasso-works-module--how--e7775 "+("searchResultsEmpty"===m?"how-zicasso-works-module--how--search-results-empty--9abac":"")+" "+a).trim()},r.createElement("header",{className:"how-zicasso-works-module--how__header--4451c"},r.createElement(d(),{className:"how-zicasso-works-module--how__icon--c3ec3",height:40,width:40,"aria-hidden":"true"}),r.createElement("h2",{className:"how-zicasso-works-module--how__title--5963e"},"How Zicasso Works"),r.createElement("p",{className:"how-zicasso-works-module--how__sub-title--bcc35"},u)),r.createElement("ol",{className:"how-zicasso-works-module--how__wrapper--9f789"},r.createElement("li",{className:i,key:"Share Your Travel Dreams"},r.createElement("p",{className:s},r.createElement("span",{className:l},"1."),"Share Your Travel Dreams"),r.createElement("p",{className:n},"Zicasso specializes in custom tours, vacations, and safaris tailored to your interests and preferences. From private African safaris to culinary experiences in Europe, submit a trip request to share your ideas and travel style.")),r.createElement("li",{className:i,key:"Meet Your Travel Specialists"},r.createElement("p",{className:s},r.createElement("span",{className:l},"2."),"Meet Your Travel Specialists"),r.createElement("p",{className:n},"To ensure a personalized experience, we'll carefully handpick and introduce you to two of our top travel specialists, each with unsurpassed destination knowledge and local insight aligned to your luxury travel dreams.")),r.createElement("li",{className:i,key:"Design Your Perfect Journey"},r.createElement("p",{className:s},r.createElement("span",{className:l},"3."),"Design Your Perfect Journey"),r.createElement("p",{className:n},"Compare the expertise of two specialists with itineraries crafted exclusively for you. You can refine these further and choose your preferred proposal. Our unique process ensures a more creative, personalized, and expertly crafted trip."))),r.createElement(o.A,{ariaLabel:"Go to the How Zicasso Works page",href:"/how-zicasso-works",color:"secondary",size:"md"},"Learn More"))}},95811:function(e,t,a){var r=a(96540);function i(e){return r.createElement("svg",e,[r.createElement("path",{d:"M1.99878 0.00128993L2 14.0013L3.66548e-06 14.001
15L3.00035 18.0012L6 14.0009L4 14.0011L3.99878 0.00111502L1.99878 0.00128993Z",fill:"#585856",key:0}),r.createElement("path",{d:"M17.999 1.99989L7.99895 2.00077L7.99878 0.000765205L17.9988 -0.000109344L17.999 1.99989Z",fill:"#585856",key:1}),r.createElement("path",{d:"M7.9993 6.00077L15.9993 6.00007L15.9991 4.00007L7.99913 4.00077L7.9993 6.00077Z",fill:"#585856",key:2}),r.createElement("path",{d:"M13.9997 10.0002L7.99965 10.0008L7.99948 8.00077L13.9995 8.00024L13.9997 10.0002Z",fill:"#585856",key:3}),r.createElement("path",{d:"M8 14.0008L12 14.0004L11.9998 12.0004L7.99983 12.0008L8 14.0008Z",fill:"#585856",key:4})])}i.defaultProps={width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.exports=i,i.default=i},96239:function(e,t,a){"use strict";a.d(t,{A:function(){return s}});var r=a(96540);const i=[100,80,60,40,20],n=(e,t,a)=>{const r=["histogram-module--histogram__ratings-button--e3d0d"];return t&&(e===t?r.push("histogram-module--histogram__ratings-button--selected--40a2e"):a&&r.push("histogram-module--histogram__ratings-button--dimmed--8ca88")),r.join(" ")},l=e=>{let t=e.progress;return r.createElement("div",{className:"histogram-module--progress-bar--outer--b976e"},t>0&&r.createElement("div",{className:"histogram-module--progress-bar--inner--08395",style:{width:100*t+"%"}}))};var s=e=>{let t=e.setSelectedStarLevel,a=e.ratingsAggregation,s=e.reviewCount,o=e.selectedStarLevel,c=void 0===o?null:o;return r.createElement("div",{className:"histogram-module--histogram--b97af"},i.map(e=>{const i=a[e]||0;return r.createElement("div",{className:"histogram-module--histogram--item--2c9e9",key:"rating-"+e},r.createElement("button",{className:n(e,c,!!i),"aria-label":"Filter by "+e/20+" star reviews ("+i+" reviews)",disabled:!i,onClick:()=>t(e),type:"button"},e/20," stars"),r.createElement(l,{progress:i/s}),r.createElement("span",null,i))}))}},97312:function(e,t,a){"use strict";a.d(t,{A:function(){return l}});var r=a(96540),i=a(90196);var n=e=>{let t=e.currentPage,a=e.totalPages,n=e.visiblePages,l=e.onPrevious,s=e.onNext,o=e.onPageClick;const c=1===t,d=t===a;return r.createElement("div",{className:"pagination-module--pagination--82532"},r.createElement(i.A,{direction:"left",onClick:l,ariaLabel:"Go to previous page",disabled:c}),r.createElement("div",{className:"pagination-module--pagination__pages--0c74b"},n.map(e=>{const a=e===t;return r.createElement("button",{key:e,className:"pagination-module--pagination__page-number--c443c "+(a?"pagination-module--pagination__pageNumberActive--14094":""),onClick:()=>o(e),disabled:a,"aria-label":"Go to page "+e,"aria-current":a?"page":void 0,type:"button"},e)})),r.createElement(i.A,{direction:"right",onClick:s,ariaLabel:"Go to next page",disabled:d}))};var l=e=>{let t=e.anchorId,a=void 0===t?null:t,i=e.count,l=e.limit,s=e.offSet,o=e.setOffSet;const c=(0,r.useState)(Math.ceil(i/l)),d=c[0],m=c[1],u=(0,r.useState)(Math.floor(s/l)+1),v=u[0],p=u[1],h=(0,r.useRef)(!1);(0,r.useEffect)(()=>{const e=Math.ceil(i/l),t=Math.floor(s/l)+1;m(e),p(t)},[i,l,s]);const g=e=>{o((e-1)*l)};(0,r.useEffect)(()=>{if(a&&h.current){const e=document.getElementById(a);if(e){const t=()=>{const t=e.getBoundingClientRect().top+window.scrollY-84;try{window.scrollTo({top:t,behavior:"smooth"})}catch(a){window.scrollTo(0,t)}};"undefined"!=typeof window&&"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(()=>{setTimeout(t,0)}):setTimeout(t,0)}}else h.current=!0},[s,a]);return r.createElement(n,{currentPage:v,totalPages:d,visiblePages:(()=>{const e=[];if(d<=5)for(let t=1;t<=d;t+=1)e.push(t);else if(v<=3)for(let t=1;t<=5;t+=1)e.push(t);else if(v>=d-2)for(let t=d-4;t<=d;t+=1)e.push(t);else for(let t=v-2;t<=v+2;t+=1)e.push(t);return e})(),onPrevious:()=>{v>1&&g(v-1)},onNext:()=>{v<d&&g(v+1)},onPageClick:e=>{e!==v&&g(e)}})}}}]);

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.