It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.

Source: https://caribou.travel/expert/emily-shake-to-win

  1. <!DOCTYPE html><!-- Last Published: Fri Jun 21 2024 04:26:39 GMT+0000 (Coordinated Universal Time) --><html data-wf-domain="caribou.travel" data-wf-page="64d1f8d7c8eb554aa7393f25" data-wf-site="64d1f8d7c8eb554aa7393f33" lang="zh-HK"><head><meta charset="utf-8"/><title>賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店</title><link rel="alternate" hrefLang="x-default" href="https://caribou.travel/expert/emily-shake-to-win"/><link rel="alternate" hrefLang="zh-HK" href="https://caribou.travel/expert/emily-shake-to-win"/><link rel="alternate" hrefLang="en" href="https://caribou.travel/en/expert/emily-shake-to-win"/><meta content="" name="description"/><meta content="賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店" property="og:title"/><meta content="" property="og:description"/><meta content="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png" property="og:image"/><meta content="賞遊世界60國的Emily|Caribou Travel - 你的一對一旅遊預訂助手 - 輕鬆預訂 郵輪假期|精品酒店" property="twitter:title"/><meta content="" property="twitter:description"/><meta content="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png" property="twitter:image"/><meta property="og:type" content="website"/><meta content="summary_large_image" name="twitter:card"/><meta content="width=device-width, initial-scale=1" name="viewport"/><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/css/caribou-staging.webflow.c0af29930.min.css" rel="stylesheet" type="text/css"/><link href="https://fonts.googleapis.com" rel="preconnect"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/><script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script><script type="text/javascript">WebFont.load({  google: {    families: ["Noto Sans HK:regular,500,700","Poppins:regular,500,600,700","Manrope:regular,500,600,700"]  }});</script><script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f7a_Favicon.png" rel="shortcut icon" type="image/x-icon"/><link href="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f7b_Webclip.png" rel="apple-touch-icon"/><!-- Google Tag Manager -->
  2. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  3. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  4. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  5. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  6. })(window,document,'script','dataLayer','GTM-WKGC5B3');</script>
  7. <!-- End Google Tag Manager -->
  8.  
  9. <meta name="agd-partner-manual-verification" />
  10.  
  11.  
  12. <!-- Meta Pixel Code -->
  13. <script>
  14. !function(f,b,e,v,n,t,s)
  15. {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  16. n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  17. if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  18. n.queue=[];t=b.createElement(e);t.async=!0;
  19. t.src=v;s=b.getElementsByTagName(e)[0];
  20. s.parentNode.insertBefore(t,s)}(window, document,'script',
  21. 'https://connect.facebook.net/en_US/fbevents.js');
  22. fbq('init', '921638962188869');
  23. fbq('track', 'PageView');
  24. </script>
  25. <noscript><img height="1" width="1" style="display:none"
  26. src="https://www.facebook.com/tr?id=921638962188869&ev=PageView&noscript=1"
  27. /></noscript>
  28. <!-- End Meta Pixel Code -->
  29.  
  30.  
  31. <!-- Custom Google Ad Tracking -->
  32. <script>
  33.  function setCookie(name, value, days) {
  34.    var expires = "";
  35.    if (days) {
  36.      var date = new Date();
  37.      date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); // Set expiry to 30 days
  38.      expires = "; expires=" + date.toUTCString();
  39.    }
  40.    document.cookie = name + "=" + encodeURIComponent(value || "") + expires + "; path=/";
  41.  }
  42.  
  43.  
  44.  var urlParams = new URLSearchParams(window.location.search);
  45.  var keys = ['adUID', 'campaignid', 'adgroupid', 'device', 'creative', 'keyword', 'gclid'];
  46.  var hasParams = keys.some(key => urlParams.has(key));
  47.  
  48.  if (hasParams) {
  49.    var adTracking = {
  50.      adUID: urlParams.get('adUID') || "(no value)",
  51.      campaignid: urlParams.get('campaignid') || "(no value)",
  52.      adgroupid: urlParams.get('adgroupid') || "(no value)",
  53.      device: urlParams.get('device') || "(no value)",
  54.      creative: urlParams.get('creative') || "(no value)",
  55.      keyword: urlParams.get('keyword') || "(no value)",
  56.      gclid: urlParams.get('gclid') || "(no value)",
  57.      timestamp: new Date().toISOString()
  58.    };
  59.  
  60.    setCookie('adTracking', JSON.stringify(adTracking), 30); // Store in a cookie for 30 days
  61.  }
  62.  
  63.  
  64. </script>
  65. <!-- End Custom Google Ad Tracking -->
  66.  
  67. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script></head><body class="full-page-body"><div class="div-block-24"><div class="embed-css w-embed"><style>
  68.  
  69. /* Loading Spinner */
  70. .loader {
  71.  display: block;
  72.  position: relative;
  73.  height: 32px;
  74.  width: 140px;
  75.  border: 3px solid #fff;
  76.  border-radius: 20px;
  77.  box-sizing: border-box;
  78.  animation: balancing 2s linear infinite alternate;
  79.  transform-origin: center center;
  80. }
  81.  
  82. .loader:before {
  83.  content: '';
  84.  position: absolute;
  85.  left: 0;
  86.  bottom: 0;
  87.  width: 52px;
  88.  height: 26px;
  89.  border-radius: 20px;
  90.  background: #FF911F;
  91.  animation: ballbns 2s linear infinite alternate;
  92. }
  93.  
  94. @keyframes ballbns {
  95.  0% {
  96.      left: 0;
  97.      transform: translateX(0%);
  98.  }
  99.  
  100.  100% {
  101.      left: 100%;
  102.      transform: translateX(-100%);
  103.  }
  104. }
  105.  
  106. @keyframes balancing {
  107.  0% {
  108.      transform: rotate(-25deg);
  109.  }
  110.  
  111.  50% {
  112.      transform: rotate(0deg);
  113.  }
  114.  
  115.  100% {
  116.      transform: rotate(25deg);
  117.  }
  118. }
  119.  
  120.  
  121.  
  122. </style></div><div class="loading-wrapper"><div class="w-embed"><span class="loader"></span></div><div class="w-embed"><style>
  123. /* Loading Spinner */
  124. .loader {
  125.    display: block;
  126.    position: relative;
  127.    height: 32px;
  128.    width: 140px;
  129.    border: 3px solid #fff;
  130.    border-radius: 20px;
  131.    box-sizing: border-box;
  132.    animation: balancing 2s linear infinite alternate;
  133.    transform-origin: center center;
  134. }
  135.  
  136. .loader:before {
  137.    content: '';
  138.    position: absolute;
  139.    left: 0;
  140.    bottom: 0;
  141.    width: 52px;
  142.    height: 26px;
  143.    border-radius: 20px;
  144.    background: #FF911F;
  145.    animation: ballbns 2s linear infinite alternate;
  146. }
  147.  
  148. @keyframes ballbns {
  149.    0% {
  150.        left: 0;
  151.        transform: translateX(0%);
  152.    }
  153.  
  154.    100% {
  155.        left: 100%;
  156.        transform: translateX(-100%);
  157.    }
  158. }
  159.  
  160. @keyframes balancing {
  161.    0% {
  162.        transform: rotate(-25deg);
  163.    }
  164.  
  165.    50% {
  166.        transform: rotate(0deg);
  167.    }
  168.  
  169.    100% {
  170.        transform: rotate(25deg);
  171.    }
  172. }
  173.  
  174.  
  175. </style></div></div><div class="embed-js-loading-spinner w-embed w-script"><script>
  176.  
  177. // Show the loading wrapper by default
  178. document.querySelector(".loading-wrapper").style.display = "flex"
  179.  
  180. </script></div><div data-animation="default" data-collapse="medium" data-duration="400" data-easing="ease" data-easing2="ease" role="banner" class="plain-navbar w-nav"><div class="plain-navbar-container w-container"><a href="/" class="plain-navbar-brand w-nav-brand"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/653a0cc1720f1634ea7c29e9_Caribou-Logo.svg" loading="lazy" alt="" class="plain-navbar-img"/></a><nav role="navigation" class="plain-nav-menu w-nav-menu"><div data-hover="false" data-delay="0" class="nav-dropdown w-dropdown"><div class="nav-dropdown-toggle w-dropdown-toggle"><div class="nav-dropdown-toggle-text">旅遊產品</div><div class="nav-dropdown-toggle-icon"></div></div><nav class="nav-dropdown-list w-dropdown-list"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">所有產品</a><div class="nav-menu-hidden-link">/tour-products</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">郵輪假期</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=郵輪</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">精選酒店</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=酒店</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="#" class="nav-menu-link w-dropdown-link">包車遊</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=包車遊</div></div></div></div></nav></div><a href="/advisors" class="nav-link w-nav-link">旅遊顧問</a><a href="/about-us" class="nav-link w-nav-link">關於我們</a><a href="#" class="nav-lang-dropdown-icon-wrapper w-inline-block"><div class="nav-lang-dropdown-icon w-embed"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
  181.  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  182.  <path d="M2 12H22" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  183.  <path fill-rule="evenodd" clip-rule="evenodd" d="M12 2C14.5013 4.73835 15.9228 8.29203 16 12C15.9228 15.708 14.5013 19.2616 12 22C9.49872 19.2616 8.07725 15.708 8 12C8.07725 8.29203 9.49872 4.73835 12 2V2Z" stroke="#101820" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  184. </svg></div><div class="locale-css w-embed"><style>
  185.  
  186. .nav-lang-dropdown-icon-wrapper:hover .nav-lang-dropdown-icon path {
  187. stroke:white;
  188. }
  189.  
  190. </style></div></a></nav><div class="navbar-menu-button plain-navbar-menu-button w-nav-button"><div class="w-icon-nav-menu"></div></div></div></div><section class="section narrow-section"><div class="w-layout-blockcontainer container w-container"><div class="breadcrumb-wrapper"><a href="/advisors" class="breadcrumb-link">旅遊顧問</a><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f5a_breadcrumb-arrow.svg" loading="lazy" alt="" class="breadcrumb-arrow"/><div class="breadcrumb-text">賞遊世界60國的Emily</div></div><div class="advisor-profile-content-wrapper"><div id="w-node-_84591e5a-9a95-7737-f6f0-0de37668faea-a7393f25" class="advisor-profile-profile-wrapper"><div class="advisor-name-and-img-wrapper"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b2d0e3a78cfe0d51e41a_emily_profile.png&quot;)" class="advisor-profile-image advisor-profile-page"></div><div class="advisor-details-wrapper"><div class="advisor-header-wrapper"><div class="advisor-name-badge"><div class="advsior-name-wrapper"><h1 class="advisor-name-heading">賞遊世界60國的Emily</h1></div><div class="advisor-badge-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f63_privacy-guard-success---filled(24x24)%401x%201.svg" loading="lazy" alt="" class="advisor-badge-icon"/><div class="advisor-badge-name">旅遊顧問</div></div></div></div><div class="advisor-number-wrapper"><div class="advisor-number-item"><div class="advisor-number-data">220</div><div class="advisor-number-description">地點</div></div><div class="advisor-number-item w-condition-invisible"><div class="advisor-number-data w-dyn-bind-empty"></div><div class="advisor-number-description">景點</div></div><div class="advisor-number-item"><div class="advisor-number-data">5</div><div class="advisor-number-description">活動</div></div></div></div></div></div><div id="w-node-e8a12f95-2677-40af-75c7-4d40e704cdbf-a7393f25" class="advisor-profile-details-wrapper"><div class="advisor-details advisor-details-top"><div class="about-advisor-block-wrapper"><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65533c51cf5bdf94e35b4c2d_user-square(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">簡介</h3></div><div class="about-us-description-wrapper"><div class="about-advisor-desc-less-wrapper"><div class="about-advisor-description about-advisor-description-collapsed w-richtext"><p>從六歲到現在,我一直堅持著夢想,用文字和照片記錄著每一次的旅行經歷,讓更多人看見這個世界。我是Emily,一名熱愛探索世界的旅行者,遊歷全球五大洲、60個國家和220座城市,對我而言,旅行不僅在於造訪的地方,更在於離開時帶走了什麼?如果你認為生命是一場充滿好奇心的冒險之旅,那麼我們就一起勇敢踏上這趟旅程。我曾出版電子書《流浪在世界每個角落》,下載量達到20萬次,寫過許多文化旅行專欄,還創立了幫助好奇心旅行者探索世界文化的APP,名為「賞遊地」。我在2009年建立了Facebook粉絲專頁《賞遊世界60國的Emily》,擁有11K粉絲。我喜愛探索各種奇妙的文化,了解當地人的生活,奉行慢旅行的理念,珍惜人生中的每一段歷程中遇上過的人。如果你也擁有巨大無比的好奇心,我們可以成為朋友,也許在旅途中會相遇。我的人生願望是「用一雙腳走遍世界更多值得被發現的地方,用一雙手幫助更多需要幫助的人」</p></div></div><div class="about-us-desc-more-wrapper"><div class="about-advisor-description about-advisor-description-expanded w-richtext"><p>從六歲到現在,我一直堅持著夢想,用文字和照片記錄著每一次的旅行經歷,讓更多人看見這個世界。我是Emily,一名熱愛探索世界的旅行者,遊歷全球五大洲、60個國家和220座城市,對我而言,旅行不僅在於造訪的地方,更在於離開時帶走了什麼?如果你認為生命是一場充滿好奇心的冒險之旅,那麼我們就一起勇敢踏上這趟旅程。我曾出版電子書《流浪在世界每個角落》,下載量達到20萬次,寫過許多文化旅行專欄,還創立了幫助好奇心旅行者探索世界文化的APP,名為「賞遊地」。我在2009年建立了Facebook粉絲專頁《賞遊世界60國的Emily》,擁有11K粉絲。我喜愛探索各種奇妙的文化,了解當地人的生活,奉行慢旅行的理念,珍惜人生中的每一段歷程中遇上過的人。如果你也擁有巨大無比的好奇心,我們可以成為朋友,也許在旅途中會相遇。我的人生願望是「用一雙腳走遍世界更多值得被發現的地方,用一雙手幫助更多需要幫助的人」</p></div></div><a data-w-id="ac727aa1-9765-24a1-6a61-14d19a652bde" href="#" class="btn-display-more w-inline-block"><div class="btn-display-text">顯示更多</div><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f4f_arrow.svg" loading="lazy" alt="" class="btn-display-arrow"/></a><a data-w-id="86844537-acbb-a1a4-d547-b2cafd974c99" href="#" class="btn-display-less w-inline-block"><div class="btn-display-text">顯示更少</div><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/655344f70845ec3d96806d51_up.svg" loading="lazy" alt="" class="btn-display-arrow"/></a><div class="w-embed"><style>
  191.  
  192. .about-advisor-description-collapsed {
  193. display: -webkit-box;
  194.  -webkit-line-clamp: 3;
  195.  -webkit-box-orient: vertical;
  196.  overflow: hidden;
  197.  text-overflow: ellipsis;
  198. }
  199.  
  200. .about-advisor-description-collapsed p {
  201. display: contents;
  202. }
  203.  
  204. .about-advisor-description-collapsed p:after {
  205. content: "\A";
  206.  white-space:pre;
  207. }
  208.  
  209.  
  210. </style></div></div></div><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f66_beach(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">精通活動</h3></div><div class="advisor-text-list-wrapper"><div class="text-list-collection-list-wrapper w-dyn-list"><div role="list" class="text-list-collection-list w-dyn-items"><div role="listitem" class="text-list-collection-item w-dyn-item"><div>藝術</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>冥想</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>健康</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>行山</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>自然景觀</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>自然公園</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>設計</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>Cafe</div></div></div></div></div></div><div class="about-advisor-block"><div class="about-advisor-header-wrapper"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f64_location(24x24)%401x%201.svg" loading="lazy" alt="" class="about-advisor-header-image"/><h3 class="about-advisor-header-heading">精通地點</h3></div><div class="advisor-text-list-wrapper"><div class="text-list-collection-list-wrapper w-dyn-list"><div role="list" class="text-list-collection-list w-dyn-items"><div role="listitem" class="text-list-collection-item w-dyn-item"><div>冰島</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>阿拉斯加</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>荷蘭</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>西班牙</div></div><div role="listitem" class="text-list-collection-item w-dyn-item"><div>中國</div></div></div></div></div></div></div></div><div class="advisor-details w-condition-invisible"><h2 class="advisor-details-heading">旅遊產品</h2><div class="advisor-tour-products-collection-list-wrapper w-dyn-list"><div class="empty-state w-dyn-empty"><div>No items found.</div></div></div></div><div class="advisor-details"><h2 class="advisor-details-heading">旅遊紀錄</h2><div class="advisor-post-collection-list-wrapper w-dyn-list"><div role="list" class="advisor-post-collection-list w-dyn-items"><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/ninghai" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508709575fe96024913870c_%E5%AF%A7%E6%B5%B7.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">寧海 - 拋棄世俗的選擇才能收穫由心的快樂</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">寧海</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/dunhuang" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65086991e39f484d1e2e2e4a_%E6%95%A6%E7%85%8C.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">敦煌 - 在營營役役的世界尋找永恆不變的規律 </div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">敦煌</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/czech-prague" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508652910ba014cc630f1c4_%E5%B8%83%E6%8B%89%E6%A0%BC.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">漫遊布拉格 - 有一個地方只有我們知道</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">布拉格</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/netherland-zaandam" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65085ecc8e252bf313bad69c_%E8%B4%8A%E4%B8%B9.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">贊丹 - 從莫奈的25幅油畫裡走出來的童話小鎮</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">贊丹</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/10-spain-granada" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6508552888bf8585c25f9178_%E6%A0%BC%E6%8B%89%E7%B4%8D%E9%81%94.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">10 個打卡地體驗格拉納達</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">格拉納達</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/6-attractions-amsterdam" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/65084cead7844d4aa106f9d8_%E9%98%BF%E5%A7%86%E6%96%AF%E7%89%B9%E4%B8%B9.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">6 個必打卡地體驗阿姆斯特丹</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">阿姆斯特丹</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/8-spots-spain-madrid" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506cc255a7b654c49971b77_%E9%A6%AC%E5%BE%B7%E9%87%8C.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">8 個打卡地感受馬德里不思議</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">馬德里</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/8-attractions-spain-valencia" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506c7c8ef3419468ecfca26_%E7%93%A6%E4%BC%A6%E8%A5%BF%E4%BA%9A.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">8 個地標玩轉西班牙瓦倫西亞</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">瓦倫西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-4" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506bd19afba43c69413fa90_14.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點4:  跟著當地人去吃當地菜</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-3" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506bc03303f42e64df354cc_11.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">旅程亮點3:住12世紀修道院,參加當地葡萄酒盛典</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/galicia-2" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b8c9f68c472192a187ae_8.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點2:  住隱世小屋,認識老闆和老闆的一家人</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/gallicia-1-wine-boat-fjord" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b9a7cf44ceedc71e60c3_5.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">加利西亞旅程亮點 1:學習當地人懸崖峭壁種植葡萄的文化 - 乘船、品酒、欣賞自然峽灣的風景</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div><div role="listitem" class="advisor-post-collection-item w-dyn-item"><a href="/post/spain-galicia" class="advisor-post-wrapper w-inline-block"><div style="background-image:url(&quot;https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f39/6506b95ef68c472192a1df0f_1.png&quot;)" class="advisor-post-img"></div><div class="advisor-post-details-wrapper"><div class="advisor-post-title">遠離人煙的世外桃源西班牙- 加利西亞Galicia</div><div class="advisor-post-location-wrapper"><img alt="" loading="lazy" src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f67_location-tag.svg" class="advisor-post-location-icon"/><div class="advisor-post-location">加利西亞</div></div></div></a></div></div></div></div></div></div></div></section><section class="section section-footer"><div class="footer-line"></div><div class="footer-wrapper"><div id="footer-item-themePage" class="footer-item"><div class="footer-item-header">主題</div><div class="footer-link-wrapper"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list footer-link-collection w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">所有主題</a><div class="nav-menu-hidden-link">/product-themes/all</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">酒店</a><div class="nav-menu-hidden-link">/product-themes/hotels</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">郵輪</a><div class="nav-menu-hidden-link">/product-themes/cruises</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">其他</a><div class="nav-menu-hidden-link">/product-themes/others</div></div></div></div></div></div><div class="footer-item"><div class="footer-item-header">旅遊產品</div><div class="footer-link-wrapper"><div class="nav-menu-collection-wrapper w-dyn-list"><div role="list" class="nav-menu-collection-list footer-link-collection w-dyn-items"><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">所有產品</a><div class="nav-menu-hidden-link">/tour-products</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">郵輪假期</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=郵輪</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">精選酒店</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=酒店</div></div><div role="listitem" class="nav-menu-collection-item w-dyn-item"><a href="/product-theme/resorts-world-one-cruise" class="footer-link">包車遊</a><div class="nav-menu-hidden-link">/tour-products?searchKeyword=包車遊</div></div></div></div></div></div><div class="footer-item"><div class="footer-item-header">公司</div><div class="footer-link-wrapper"><a href="/about-us" class="footer-link">關於我們</a><a href="/join-us" class="footer-link">成為旅遊顧問</a><a href="/about-us#contact-us" class="footer-link">聯絡我們</a><a href="/terms-and-conditions" class="footer-link">條款及細則</a><a href="/privacy-policy" class="footer-link">私隱政策</a></div></div></div><div class="footer-bottom-wrapper"><div class="footer-copyright">© Caribou Technology Limited. All Rights Reserved. 旅行代理商牌照: Hip Holiday Ltd #353151</div><div class="footer-bottom-right-wrapper"><div class="footer-language-currency-wrapper"><a id="footer-btn-language" href="#" class="footer-icon-btn w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f42_globe.svg" loading="lazy" alt="" class="footer-icon-btn-img"/><div class="footer-icon-btn-text footer-btn-text-language">繁體中文</div></a><a id="footer-btn-currency" href="#" class="footer-icon-btn w-inline-block"><div class="footer-icon-btn-img-text">$</div><div class="footer-icon-btn-text footer-btn-text-currency">HKD</div></a></div><div class="footer-social-wrapper"><a href="https://www.facebook.com/enjoycaribou" target="_blank" class="footer-social-link w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65e6d3a346de8ad47b23af7d_Facebook.svg" loading="lazy" alt="" class="footer-social-link-img"/></a><a href="https://www.instagram.com/enjoycaribou/" target="_blank" class="footer-social-link w-inline-block"><img src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/65e6d3a30d65b5d2855d4ff7_Instagram.svg" loading="lazy" alt="" class="footer-social-link-img"/></a></div></div></div><div class="embed-utility-function w-embed w-script"><script>
  211.  
  212.  
  213. // Function to get a cookie
  214. function getCookie(name) {
  215.    var nameEQ = name + "=";
  216.    var ca = document.cookie.split(';');
  217.    for(var i=0;i < ca.length;i++) {
  218.        var c = ca[i];
  219.        while (c.charAt(0)==' ') c = c.substring(1,c.length);
  220.        if (c.indexOf(nameEQ) == 0) {
  221.            var cookieValue = c.substring(nameEQ.length, c.length);
  222.            return decodeURIComponent(cookieValue);
  223.        }
  224.    }
  225.    return null;
  226. }
  227.  
  228.  
  229.  
  230. </script></div><div class="language-popup-container"><div id="popup-language-currency" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div data-current="Tab 1" data-easing="ease" data-duration-in="300" data-duration-out="100" class="language-popup-tabs w-tabs"><div class="language-popup-tabs-menu w-tab-menu"><a data-w-tab="Tab 1" class="language-popup-tab-link w-inline-block w-tab-link w--current"><div>語言</div></a><a data-w-tab="Tab 2" class="language-popup-tab-link w-inline-block w-tab-link"><div>貨幣</div></a></div><div class="language-popup-tabs-content w-tab-content"><div data-w-tab="Tab 1" class="language-popup-tab-pane w-tab-pane w--tab-active"><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇語言</div><div class="language-popup-locales-wrapper w-locales-list"><div role="list" class="language-popup-locales-list w-locales-items"><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="zh-HK" href="/expert/emily-shake-to-win" aria-current="page" class="language-popup-link w--current">繁體中文</a></div><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="en" href="/en/expert/emily-shake-to-win" class="language-popup-link">English</a></div></div></div></div></div><div data-w-tab="Tab 2" class="language-popup-tab-pane w-tab-pane"><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇貨幣</div><div class="language-popup-currency-wrapper"><div currency="HKD" class="language-popup-link">港幣 HKD - $</div><div currency="SGD" class="language-popup-link">新加坡幣 SGD - $</div><div currency="USD" class="language-popup-link">美元 USD - $</div></div></div></div></div></div></div></div><div id="popup-language" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇語言</div><div class="language-popup-locales-wrapper w-locales-list"><div role="list" class="language-popup-locales-list w-locales-items"><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="zh-HK" href="/expert/emily-shake-to-win" aria-current="page" class="language-popup-link w--current">繁體中文</a></div><div role="listitem" class="language-popup-locale w-locales-item"><a hreflang="en" href="/en/expert/emily-shake-to-win" class="language-popup-link">English</a></div></div></div></div></div></div><div id="popup-currency" class="language-popup-wrapper"><div class="language-popup"><div class="language-popup-header"><a href="#" class="language-popup-close-btn w-inline-block"></a></div><div class="language-popup-tab-pane-wrapper"><div class="language-popup-header-text">選擇貨幣</div><div class="language-popup-currency-wrapper"><div currency="HKD" class="language-popup-link">港幣 HKD - $</div><div currency="SGD" class="language-popup-link">新加坡幣 SGD - $</div><div currency="USD" class="language-popup-link">美元 USD - $</div></div></div></div></div><div class="embed-language-currency w-embed w-script"><script>
  231.  
  232. // Function to manage the active class and set cookie
  233. function setActiveCurrency(currencyCode, updateUrl = true ) {
  234.    // Remove active class from all currency elements
  235.    document.querySelectorAll('.language-popup-link').forEach(function(element) {
  236.        element.classList.remove('active');
  237.    });
  238.  
  239.    // Add active class to the selected currency
  240.    document.querySelectorAll(`.language-popup-link[currency="${currencyCode}"]`).forEach(function(element) {
  241.        element.classList.add('active');
  242.    });
  243.  
  244.    // Set the currency in a cookie
  245.    setCookie('caribou_currency',currencyCode, 30); // Expires in 7 days
  246.    
  247.    // Update the footer btn text
  248.    const footerBtnTextCurrency = document.querySelector(".footer-btn-text-currency")
  249.    if (footerBtnTextCurrency) {
  250.        footerBtnTextCurrency.textContent = currencyCode
  251.    }
  252.  
  253.    // Set the currency parameter in the URL if updateUrl is true
  254.    if (updateUrl) {
  255.        setUrlParameter('curr', currencyCode);
  256.    }
  257. }
  258.  
  259.  
  260. // Function to manage the active language and set cookie
  261. function setActiveLanguage(langCode) {
  262.    // Mapping of hreflang to cookie values
  263.    const langCookieMap = {
  264.        'zh-HK': 'zh-Hant-HK',
  265.        'en': 'en'
  266.    }
  267.  
  268.    // Determine the cookie value using the mapping, default to the langCode if not found
  269.    const cookieValue = langCookieMap[langCode] || langCode
  270.  
  271.    // Set the cookie for 30 days
  272.    setCookie('caribou_language', cookieValue, 30)
  273. }
  274.  
  275.  
  276. // Initialize or set default active currency based on cookie
  277. function initCurrency() {
  278.    const currencyParam = getUrlParameter('curr');
  279.    if (currencyParam) {
  280.        setActiveCurrency(currencyParam);
  281.    } else {
  282.        var savedCurrency = getCookie('caribou_currency');
  283.        if (savedCurrency) {
  284.            setActiveCurrency(savedCurrency, false);
  285.        } else {
  286.            const defaultCurrency = 'HKD'; // Default to HKD if no cookie is found
  287.            setActiveCurrency(defaultCurrency, false);
  288.        }
  289.    }
  290. }
  291.  
  292. // Function to get URL parameters
  293. function getUrlParameter(name) {
  294.    name = name.replace(/[\[\]]/g, '\\$&');
  295.    const urlParams = new URLSearchParams(window.location.search);
  296.    return urlParams.get(name);
  297. }
  298.  
  299. // Function to set URL parameters
  300. function setUrlParameter(param, value) {
  301.    const url = new URL(window.location.href);
  302.    url.searchParams.set(param, value);
  303.    window.history.replaceState(null, '', url.toString());
  304. }
  305.  
  306. // Function to add event listener
  307. function addPopupEventListener() {
  308.    const navToggle = document.querySelector(".nav-lang-dropdown-icon-wrapper")
  309.    const footerBtnLanguage = document.querySelector("#footer-btn-language")
  310.    const footerBtnCurrency = document.querySelector("#footer-btn-currency")
  311.  
  312.    // Show popup for both language and currency when nav toggle has been clicked
  313.    if (navToggle) {
  314.        navToggle.addEventListener("click", function() {
  315.            document.querySelector("#popup-language-currency").style.display = "flex"
  316.        })
  317.    }
  318.    
  319.    // Show popup for language when the footerBtnLanguage has been clicked
  320.    if (footerBtnLanguage) {
  321.        footerBtnLanguage.addEventListener("click", function() {
  322.            document.querySelector("#popup-language").style.display = "flex"
  323.        })
  324.    }
  325.    
  326.  
  327.    // Show popup for currency when the footerBtnCurrency has been clicked
  328.    if (footerBtnCurrency) {
  329.        footerBtnCurrency.addEventListener("click", function() {
  330.            document.querySelector("#popup-currency").style.display = "flex"
  331.        })
  332.    }
  333.  
  334. }
  335.  
  336.  
  337. document.addEventListener('DOMContentLoaded', function() {
  338.  
  339.    initCurrency();
  340.    addPopupEventListener()
  341.  
  342.    // Close the popup
  343.    document.querySelectorAll(".language-popup-close-btn").forEach(function(element) {
  344.        element.addEventListener("click", function(){
  345.            // Find the cloest language-popup-wrapper and hide it
  346.            let popupWrapper = this.closest(".language-popup-wrapper")
  347.            if (popupWrapper) {
  348.                popupWrapper.style.display = "none"
  349.            }
  350.        })
  351.    })
  352.  
  353.    // Add click event listeners to all currency elements
  354.    document.querySelectorAll('.language-popup-currency-wrapper .language-popup-link').forEach(function(element) {
  355.        element.addEventListener('click', function() {
  356.            const currentCurrencyCode = getCookie('caribou_currency')
  357.            const targetCurrencyCode = this.getAttribute('currency')
  358.            if (targetCurrencyCode !== currentCurrencyCode) {
  359.                setActiveCurrency(targetCurrencyCode);
  360.  
  361.                // Reload the page to reflect changes
  362.                window.location.reload()
  363.            }
  364.        });
  365.    });
  366.  
  367.    // Add click event listener to all language elements
  368.    document.querySelectorAll(".language-popup-locale .language-popup-link").forEach(function(element) {
  369.        element.addEventListener("click", function() {
  370.            // Get hreflang attribute of the clicked button
  371.            let hreflang = this.getAttribute('hreflang')
  372.            setActiveLanguage(hreflang)
  373.  
  374.        })
  375.    })
  376.    
  377.    // Add click event listeners for the temporary language switcher
  378.    document.querySelectorAll(".nav-locale .nav-menu-link").forEach(function(element) {
  379.        element.addEventListener("click", function() {
  380.            // Get hreflang attribute of the clicked button
  381.            let hreflang = this.getAttribute('hreflang')
  382.            setActiveLanguage(hreflang)
  383.  
  384.        })
  385.    })
  386.  
  387.    // Update footer language text
  388.    // Check for existing 'caribou_language' cookie
  389.    const userLanguage = getCookie('caribou_language')
  390.  
  391.    if (userLanguage) {
  392.        const footerLangMap = {
  393.            "zh-Hant-HK": "繁體中文",
  394.            "en": "English"
  395.        }
  396.  
  397.        const footerLangText = footerLangMap[userLanguage] || '繁體中文'
  398.        const footerBtnTextLang = document.querySelector(".footer-btn-text-language")
  399.        if (footerBtnTextLang) {
  400.            footerBtnTextLang.textContent = footerLangText
  401.        }
  402.    }
  403.    
  404. });
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411. </script></div></div></section><div class="embed-product-price w-embed w-script"><script>
  412.  
  413. // Function to format number as currency without decimal places
  414. async function formatCurrencyWithConversion(number) {
  415.  const currencyCode = getCookie("caribou_currency"); // Assuming getCookie is a function defined elsewhere
  416.  
  417.  // Mapping of currency codes to their symbols and locale
  418.  const currencyDetails = {
  419.    HKD: { symbol: "HK$", locale: "en-HK" },
  420.    TWD: { symbol: "NT$", locale: "en-TW" },
  421.    SGD: { symbol: "S$", locale: "en-SG" },
  422.    USD: { symbol: "US$", locale: "en-US" },
  423.  };
  424.  
  425.  // Fallback details in case the currency code is not recognized
  426.  const fallbackDetails = { symbol: "$", locale: "en-US" };
  427.  
  428.  // Retrieve the currency details or use fallback
  429.  const { symbol, locale } = currencyDetails[currencyCode] || fallbackDetails;
  430.  
  431.  try {
  432.    // Fetch currency conversion rates from the API
  433.    const response = await fetch(
  434.      "https://advisor.caribou.travel/api/currency-conversion"
  435.    );
  436.    const result = await response.json();
  437.  
  438.    // Get the conversion rate based on the currencyCode
  439.    const conversionRate = result.data[currencyCode.toLowerCase()] || 1; // Default to 1 if no found
  440.  
  441.    // Calculate the converted amount
  442.    const convertedAmount = number * conversionRate;
  443.  
  444.    // Use Intl.NumberFormat to format the converted amount with the correct locale and currency symbol
  445.    const formattedConvertedAmount = new Intl.NumberFormat(locale, {
  446.      minimumFractionDigits: 0,
  447.      maximumFractionDigits: 0,
  448.    }).format(convertedAmount);
  449.  
  450.    // Construct the formatted currency string
  451.    const formattedCurrency = `${symbol}${formattedConvertedAmount}`;
  452.  
  453.    return formattedCurrency;
  454.  } catch (error) {
  455.    console.error("Error fetching currency conversion: ", error);
  456.    // Fallback to formatting without conversion in case of error
  457.    const formattedNumber = new Intl.NumberFormat(locale, {
  458.      minimumFractionDigits: 0,
  459.      maximumFractionDigits: 0,
  460.    }).format(number);
  461.  
  462.    const formattedCurrency = `${symbol}${formattedNumber}`;
  463.    return formattedCurrency;
  464.  }
  465. }
  466.  
  467. async function updateTourProductPrice() {
  468.  // Convert and Format the discounted price
  469.  const tourProductPriceElements = document.querySelectorAll(".tour-product-price")
  470.  
  471.  tourProductPriceElements.forEach(async (element) => {
  472.    const numericValue = parseFloat(element.textContent);
  473.    try {
  474.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  475.  
  476.      // Update the value of each "tour-product-price" element
  477.      element.textContent = formattedAmount;  
  478.    } catch (error) {
  479.      console.error('Error formatting currency: ', error)
  480.    }
  481.  });
  482.  
  483.  // Convert and Format the original price
  484.  const tourProductOriginalPriceElements = document.querySelectorAll(".tour-product-original-price")
  485.  
  486.  tourProductOriginalPriceElements.forEach(async (element) => {
  487.    const numericValue = parseFloat(element.textContent)
  488.    try {
  489.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  490.  
  491.      // Update the value of each "tour-product-price" element
  492.      element.textContent = formattedAmount;  
  493.    } catch (error) {
  494.      console.error('Error formatting currency: ', error)
  495.    }
  496.  })
  497. }
  498.  
  499.  
  500. </script></div><div class="embed-product-hashtags w-embed w-script"><script>
  501.  
  502. // Function to process each advisor-tour-products-block
  503. function processTourProductsBlocks() {
  504.  // Find all blocks with class 'advisor-tour-products-block'
  505.  const blocks = document.querySelectorAll('.advisor-tour-products-block');
  506.  
  507.  blocks.forEach(block => {
  508.      // Extract the value from 'tour-types-text'
  509.      const tourTypesTextElement = block.querySelector('.tour-types-text');
  510.      if (tourTypesTextElement) {
  511.          const tourTypesText = tourTypesTextElement.textContent.trim();
  512.  
  513.          // Split into a comma-separated list
  514.          const tourTypesList = tourTypesText.split(',').map(text => `#${text.trim()}`);
  515.  
  516.          // Find the 'tour-types-wrapper' element
  517.          const tourTypesWrapper = block.querySelector('.tour-types-wrapper');
  518.          if (tourTypesWrapper) {
  519.              // Clear existing content
  520.              tourTypesWrapper.innerHTML = '';
  521.  
  522.              // Append each item from the list
  523.              tourTypesList.forEach(tourType => {
  524.                  const span = document.createElement('span');
  525.                  span.textContent = tourType;
  526.                  tourTypesWrapper.appendChild(span);
  527.              });
  528.          }
  529.      }
  530.  });
  531. }
  532.  
  533.  
  534.  
  535. </script></div><div class="embed-js w-embed w-script"><script>
  536.  
  537. $(document).ready(async function () {
  538.  try {
  539.    // Hnadle the pricing
  540.    await updateTourProductPrice()
  541.  
  542.    // Handle the hashtags
  543.    processTourProductsBlocks();
  544.  
  545.    document.querySelector(".loading-wrapper").style.display = "none"
  546.  } catch (error){
  547.    console.error('Error:', error);
  548.    document.querySelector(".loading-wrapper").style.display = "none"
  549.  }
  550.  
  551. });
  552.  
  553. </script></div></div><script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=64d1f8d7c8eb554aa7393f33" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script><script src="https://cdn.prod.website-files.com/64d1f8d7c8eb554aa7393f33/js/webflow.5e4312d7d.js" type="text/javascript"></script><!-- Google Tag Manager (noscript) -->
  554. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKGC5B3"
  555. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  556. <!-- End Google Tag Manager (noscript) -->
  557.  
  558.  
  559.  
  560. <script>
  561.  
  562. $(document).ready(function() {
  563.    $('.language-switch-chi').click(function(e){
  564.        relativePath = location.href.replace(location.origin,'');
  565.  
  566.        if(relativePath == "/en/home") {
  567.            window.location.href = "/";
  568.        } else if (!relativePath.includes("/en/")){
  569.            return
  570.        } else {
  571.            window.location.href = relativePath.replace("/en/", "/");
  572.        }
  573.  
  574.    })
  575.  
  576.    $('.language-switch-eng').click(function(e){
  577.        relativePath = location.href.replace(location.origin,'');
  578.  
  579.        if(relativePath == "/") {
  580.            window.location.href = "/en/home";
  581.        } else if (relativePath.includes("/en/")){
  582.            return
  583.        } else {
  584.            window.location.href = relativePath.replace("/", "/en/");
  585.        }
  586.    });
  587.  
  588.  
  589. });
  590.  
  591.  
  592. </script>
  593.  
  594.  
  595.  
  596. <!-- Render Nav Menu Dropdown -->
  597. <script>
  598. // Select all list items in the nav-menu-collection-list
  599. const listItems = document.querySelectorAll('.nav-menu-collection-list .nav-menu-collection-item');
  600.  
  601. // Loop through each list item
  602. listItems.forEach(item => {
  603.    // Find the nav-menu-link and nav-menu-hidden-link elements within the current list item
  604.    const navLink = item.querySelector('.nav-menu-link');
  605.    const footerLink = item.querySelector('.footer-link')
  606.    const hiddenLink = item.querySelector('.nav-menu-hidden-link');
  607.  
  608.  
  609.    if (hiddenLink) {
  610.        if (navLink) {
  611.            // Set the href attribute of nav-menu-link to the text content of nav-menu-hidden-link
  612.            navLink.setAttribute('href', hiddenLink.textContent.trim());
  613.        } else if (footerLink) {
  614.            // Set the href attribute of footer-link to the text content of nav-menu-hidden-link
  615.            footerLink.setAttribute('href', hiddenLink.textContent.trim());
  616.        }
  617.  
  618.        // Remove the nav-menu-hidden-link element from the DOM
  619.        hiddenLink.remove();
  620.    }
  621.  
  622. });
  623. </script>
  624. <!-- End Render Nav Menu Dropdown -->
  625.  
  626. <script>
  627. // Hide theme page menu for english
  628.  
  629. const websiteLanguage = window.location.pathname.includes("/en/") || window.location.pathname === "/en" ? "en" : "zh-Hant-HK"
  630. const footerItemThemePage = document.querySelector("#footer-item-themePage")
  631. if (websiteLanguage == "en") {
  632.  if (footerItemThemePage) {
  633.    footerItemThemePage.style.display = "none"
  634.  }
  635. }
  636.  
  637. </script>
  638.  
  639. </body></html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda