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: Tue May 14 2024 10:31:11 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://assets-global.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://assets-global.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://assets-global.website-files.com/64d1f8d7c8eb554aa7393f33/css/caribou-staging.webflow.d990df4b3.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://assets-global.website-files.com/64d1f8d7c8eb554aa7393f33/64d1f8d7c8eb554aa7393f7a_Favicon.png" rel="shortcut icon" type="image/x-icon"/><link href="https://assets-global.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 + "=" + (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', encodeURIComponent(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://assets-global.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?supplier=GLO%20Travel#</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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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://assets-global.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?supplier=GLO%20Travel#</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. Travel Agent License 旅行代理商牌照: 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://assets-global.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://assets-global.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://assets-global.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. // Function to set a cookie
  213. function setCookie(name, value, days) {
  214.    var expires = "";
  215.    if (days) {
  216.        var date = new Date();
  217.        date.setTime(date.getTime() + (days*24*60*60*1000));
  218.        expires = "; expires=" + date.toUTCString();
  219.    }
  220.    document.cookie = name + "=" + (value || "")  + expires + "; path=/";
  221. }
  222.  
  223.  
  224. // Function to get a cookie
  225. function getCookie(name) {
  226.    var nameEQ = name + "=";
  227.    var ca = document.cookie.split(';');
  228.    for(var i=0;i < ca.length;i++) {
  229.        var c = ca[i];
  230.        while (c.charAt(0)==' ') c = c.substring(1,c.length);
  231.        if (c.indexOf(nameEQ) == 0) {
  232.            var cookieValue = c.substring(nameEQ.length, c.length);
  233.            return decodeURIComponent(cookieValue);
  234.        }
  235.    }
  236.    return null;
  237. }
  238.  
  239.  
  240.  
  241. </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>
  242.  
  243. // Function to manage the active class and set cookie
  244. function setActiveCurrency(currencyCode) {
  245.    // Remove active class from all currency elements
  246.    document.querySelectorAll('.language-popup-link').forEach(function(element) {
  247.        element.classList.remove('active');
  248.    });
  249.  
  250.    // Add active class to the selected currency
  251.    document.querySelectorAll(`.language-popup-link[currency="${currencyCode}"]`).forEach(function(element) {
  252.        element.classList.add('active');
  253.    });
  254.  
  255.    // Set the currency in a cookie
  256.    setCookie('caribou_currency',currencyCode, 30); // Expires in 7 days
  257.    
  258.    // Update the footer btn text
  259.    const footerBtnTextCurrency = document.querySelector(".footer-btn-text-currency")
  260.    if (footerBtnTextCurrency) {
  261.        footerBtnTextCurrency.textContent = currencyCode
  262.    }
  263. }
  264.  
  265.  
  266. // Function to manage the active language and set cookie
  267. function setActiveLanguage(langCode) {
  268.    // Mapping of hreflang to cookie values
  269.    const langCookieMap = {
  270.        'zh-HK': 'zh-Hant-HK',
  271.        'en': 'en'
  272.    }
  273.  
  274.    // Determine the cookie value using the mapping, default to the langCode if not found
  275.    const cookieValue = langCookieMap[langCode] || langCode
  276.  
  277.    // Set the cookie for 30 days
  278.    setCookie('caribou_language', cookieValue, 30)
  279. }
  280.  
  281.  
  282. // Initialize or set default active currency based on cookie
  283. function initCurrency() {
  284.    var savedCurrency = getCookie('caribou_currency');
  285.    if (savedCurrency) {
  286.        setActiveCurrency(savedCurrency);
  287.    } else {
  288.        setActiveCurrency('HKD'); // Default to HKD if no cookie is found
  289.    }
  290. }
  291.  
  292.  
  293. // Function to add event listener
  294. function addPopupEventListener() {
  295.    const navToggle = document.querySelector(".nav-lang-dropdown-icon-wrapper")
  296.    const footerBtnLanguage = document.querySelector("#footer-btn-language")
  297.    const footerBtnCurrency = document.querySelector("#footer-btn-currency")
  298.  
  299.    // Show popup for both language and currency when nav toggle has been clicked
  300.    if (navToggle) {
  301.        navToggle.addEventListener("click", function() {
  302.            document.querySelector("#popup-language-currency").style.display = "flex"
  303.        })
  304.    }
  305.    
  306.    // Show popup for language when the footerBtnLanguage has been clicked
  307.    if (footerBtnLanguage) {
  308.        footerBtnLanguage.addEventListener("click", function() {
  309.            document.querySelector("#popup-language").style.display = "flex"
  310.        })
  311.    }
  312.    
  313.  
  314.    // Show popup for currency when the footerBtnCurrency has been clicked
  315.    if (footerBtnCurrency) {
  316.        footerBtnCurrency.addEventListener("click", function() {
  317.            document.querySelector("#popup-currency").style.display = "flex"
  318.        })
  319.    }
  320.  
  321. }
  322.  
  323.  
  324. document.addEventListener('DOMContentLoaded', function() {
  325.  
  326.    initCurrency();
  327.    addPopupEventListener()
  328.  
  329.    // Close the popup
  330.    document.querySelectorAll(".language-popup-close-btn").forEach(function(element) {
  331.        element.addEventListener("click", function(){
  332.            // Find the cloest language-popup-wrapper and hide it
  333.            let popupWrapper = this.closest(".language-popup-wrapper")
  334.            if (popupWrapper) {
  335.                popupWrapper.style.display = "none"
  336.            }
  337.        })
  338.    })
  339.  
  340.    // Add click event listeners to all currency elements
  341.    document.querySelectorAll('.language-popup-currency-wrapper .language-popup-link').forEach(function(element) {
  342.        element.addEventListener('click', function() {
  343.            const currentCurrencyCode = getCookie('caribou_currency')
  344.            const targetCurrencyCode = this.getAttribute('currency')
  345.            if (targetCurrencyCode !== currentCurrencyCode) {
  346.                setActiveCurrency(targetCurrencyCode);
  347.  
  348.                // Reload the page to reflect changes
  349.                window.location.reload()
  350.            }
  351.        });
  352.    });
  353.  
  354.    // Add click event listener to all language elements
  355.    document.querySelectorAll(".language-popup-locale .language-popup-link").forEach(function(element) {
  356.        element.addEventListener("click", function() {
  357.            // Get hreflang attribute of the clicked button
  358.            let hreflang = this.getAttribute('hreflang')
  359.            setActiveLanguage(hreflang)
  360.  
  361.        })
  362.    })
  363.    
  364.    // Add click event listeners for the temporary language switcher
  365.    document.querySelectorAll(".nav-locale .nav-menu-link").forEach(function(element) {
  366.        element.addEventListener("click", function() {
  367.            // Get hreflang attribute of the clicked button
  368.            let hreflang = this.getAttribute('hreflang')
  369.            setActiveLanguage(hreflang)
  370.  
  371.        })
  372.    })
  373.  
  374.    // Update footer language text
  375.    // Check for existing 'caribou_language' cookie
  376.    const userLanguage = getCookie('caribou_language')
  377.  
  378.    if (userLanguage) {
  379.        const footerLangMap = {
  380.            "zh-Hant-HK": "繁體中文",
  381.            "en": "English"
  382.        }
  383.  
  384.        const footerLangText = footerLangMap[userLanguage] || '繁體中文'
  385.        const footerBtnTextLang = document.querySelector(".footer-btn-text-language")
  386.        if (footerBtnTextLang) {
  387.            footerBtnTextLang.textContent = footerLangText
  388.        }
  389.    }
  390.    
  391. });
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398. </script></div></div></section><div class="embed-product-price w-embed w-script"><script>
  399.  
  400. // Function to format number as currency without decimal places
  401. async function formatCurrencyWithConversion(number) {
  402.  const currencyCode = getCookie("caribou_currency"); // Assuming getCookie is a function defined elsewhere
  403.  
  404.  // Mapping of currency codes to their symbols and locale
  405.  const currencyDetails = {
  406.    HKD: { symbol: "HK$", locale: "en-HK" },
  407.    TWD: { symbol: "NT$", locale: "en-TW" },
  408.    SGD: { symbol: "S$", locale: "en-SG" },
  409.    USD: { symbol: "US$", locale: "en-US" },
  410.  };
  411.  
  412.  // Fallback details in case the currency code is not recognized
  413.  const fallbackDetails = { symbol: "$", locale: "en-US" };
  414.  
  415.  // Retrieve the currency details or use fallback
  416.  const { symbol, locale } = currencyDetails[currencyCode] || fallbackDetails;
  417.  
  418.  try {
  419.    // Fetch currency conversion rates from the API
  420.    const response = await fetch(
  421.      "https://advisor.caribou.travel/api/currency-conversion"
  422.    );
  423.    const result = await response.json();
  424.  
  425.    // Get the conversion rate based on the currencyCode
  426.    const conversionRate = result.data[currencyCode.toLowerCase()] || 1; // Default to 1 if no found
  427.  
  428.    // Calculate the converted amount
  429.    const convertedAmount = number * conversionRate;
  430.  
  431.    // Use Intl.NumberFormat to format the converted amount with the correct locale and currency symbol
  432.    const formattedConvertedAmount = new Intl.NumberFormat(locale, {
  433.      minimumFractionDigits: 0,
  434.      maximumFractionDigits: 0,
  435.    }).format(convertedAmount);
  436.  
  437.    // Construct the formatted currency string
  438.    const formattedCurrency = `${symbol}${formattedConvertedAmount}`;
  439.  
  440.    return formattedCurrency;
  441.  } catch (error) {
  442.    console.error("Error fetching currency conversion: ", error);
  443.    // Fallback to formatting without conversion in case of error
  444.    const formattedNumber = new Intl.NumberFormat(locale, {
  445.      minimumFractionDigits: 0,
  446.      maximumFractionDigits: 0,
  447.    }).format(number);
  448.  
  449.    const formattedCurrency = `${symbol}${formattedNumber}`;
  450.    return formattedCurrency;
  451.  }
  452. }
  453.  
  454. async function updateTourProductPrice() {
  455.  // Convert and Format the discounted price
  456.  const tourProductPriceElements = document.querySelectorAll(".tour-product-price")
  457.  
  458.  tourProductPriceElements.forEach(async (element) => {
  459.    const numericValue = parseFloat(element.textContent);
  460.    try {
  461.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  462.  
  463.      // Update the value of each "tour-product-price" element
  464.      element.textContent = formattedAmount;  
  465.    } catch (error) {
  466.      console.error('Error formatting currency: ', error)
  467.    }
  468.  });
  469.  
  470.  // Convert and Format the original price
  471.  const tourProductOriginalPriceElements = document.querySelectorAll(".tour-product-original-price")
  472.  
  473.  tourProductOriginalPriceElements.forEach(async (element) => {
  474.    const numericValue = parseFloat(element.textContent)
  475.    try {
  476.      const formattedAmount = await formatCurrencyWithConversion(numericValue) + "+";
  477.  
  478.      // Update the value of each "tour-product-price" element
  479.      element.textContent = formattedAmount;  
  480.    } catch (error) {
  481.      console.error('Error formatting currency: ', error)
  482.    }
  483.  })
  484. }
  485.  
  486.  
  487. </script></div><div class="embed-product-hashtags w-embed w-script"><script>
  488.  
  489. // Function to process each advisor-tour-products-block
  490. function processTourProductsBlocks() {
  491.  // Find all blocks with class 'advisor-tour-products-block'
  492.  const blocks = document.querySelectorAll('.advisor-tour-products-block');
  493.  
  494.  blocks.forEach(block => {
  495.      // Extract the value from 'tour-types-text'
  496.      const tourTypesTextElement = block.querySelector('.tour-types-text');
  497.      if (tourTypesTextElement) {
  498.          const tourTypesText = tourTypesTextElement.textContent.trim();
  499.  
  500.          // Split into a comma-separated list
  501.          const tourTypesList = tourTypesText.split(',').map(text => `#${text.trim()}`);
  502.  
  503.          // Find the 'tour-types-wrapper' element
  504.          const tourTypesWrapper = block.querySelector('.tour-types-wrapper');
  505.          if (tourTypesWrapper) {
  506.              // Clear existing content
  507.              tourTypesWrapper.innerHTML = '';
  508.  
  509.              // Append each item from the list
  510.              tourTypesList.forEach(tourType => {
  511.                  const span = document.createElement('span');
  512.                  span.textContent = tourType;
  513.                  tourTypesWrapper.appendChild(span);
  514.              });
  515.          }
  516.      }
  517.  });
  518. }
  519.  
  520.  
  521.  
  522. </script></div><div class="embed-js w-embed w-script"><script>
  523.  
  524. $(document).ready(async function () {
  525.  try {
  526.    // Hnadle the pricing
  527.    await updateTourProductPrice()
  528.  
  529.    // Handle the hashtags
  530.    processTourProductsBlocks();
  531.  
  532.    document.querySelector(".loading-wrapper").style.display = "none"
  533.  } catch (error){
  534.    console.error('Error:', error);
  535.    document.querySelector(".loading-wrapper").style.display = "none"
  536.  }
  537.  
  538. });
  539.  
  540. </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://assets-global.website-files.com/64d1f8d7c8eb554aa7393f33/js/webflow.86552b852.js" type="text/javascript"></script><!-- Google Tag Manager (noscript) -->
  541. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKGC5B3"
  542. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  543. <!-- End Google Tag Manager (noscript) -->
  544.  
  545.  
  546.  
  547. <script>
  548.  
  549. $(document).ready(function() {
  550.    $('.language-switch-chi').click(function(e){
  551.        relativePath = location.href.replace(location.origin,'');
  552.  
  553.        if(relativePath == "/en/home") {
  554.            window.location.href = "/";
  555.        } else if (!relativePath.includes("/en/")){
  556.            return
  557.        } else {
  558.            window.location.href = relativePath.replace("/en/", "/");
  559.        }
  560.  
  561.    })
  562.  
  563.    $('.language-switch-eng').click(function(e){
  564.        relativePath = location.href.replace(location.origin,'');
  565.  
  566.        if(relativePath == "/") {
  567.            window.location.href = "/en/home";
  568.        } else if (relativePath.includes("/en/")){
  569.            return
  570.        } else {
  571.            window.location.href = relativePath.replace("/", "/en/");
  572.        }
  573.    });
  574.  
  575.  
  576. });
  577.  
  578.  
  579. </script>
  580.  
  581.  
  582.  
  583. <!-- Render Nav Menu Dropdown -->
  584. <script>
  585. // Select all list items in the nav-menu-collection-list
  586. const listItems = document.querySelectorAll('.nav-menu-collection-list .nav-menu-collection-item');
  587.  
  588. // Loop through each list item
  589. listItems.forEach(item => {
  590.    // Find the nav-menu-link and nav-menu-hidden-link elements within the current list item
  591.    const navLink = item.querySelector('.nav-menu-link');
  592.    const footerLink = item.querySelector('.footer-link')
  593.    const hiddenLink = item.querySelector('.nav-menu-hidden-link');
  594.  
  595.  
  596.    if (hiddenLink) {
  597.        if (navLink) {
  598.            // Set the href attribute of nav-menu-link to the text content of nav-menu-hidden-link
  599.            navLink.setAttribute('href', hiddenLink.textContent.trim());
  600.        } else if (footerLink) {
  601.            // Set the href attribute of footer-link to the text content of nav-menu-hidden-link
  602.            footerLink.setAttribute('href', hiddenLink.textContent.trim());
  603.        }
  604.  
  605.        // Remove the nav-menu-hidden-link element from the DOM
  606.        hiddenLink.remove();
  607.    }
  608.  
  609. });
  610. </script>
  611. <!-- End Render Nav Menu Dropdown -->
  612.  
  613. <script>
  614. // Hide theme page menu for english
  615.  
  616. const websiteLanguage = window.location.pathname.includes("/en/") || window.location.pathname === "/en" ? "en" : "zh-Hant-HK"
  617. if (websiteLanguage == "en") {
  618.  document.querySelector("#footer-item-themePage").style.display = "none"
  619. }
  620. </script>
  621.  
  622. </body></html>
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda