var TW=TW||{};!function(){var e;e=function(){var e=["3c573dea-9aff-41bc-b4a2-26eb52715db2"],Y=["000000d26","00000097c","234567890","345678901","456789012"];TW.keywords=void 0!==TW.keywords?TW.keywords:[],TW.imagesKeywords=void 0!==TW.imagesKeywords?TW.imagesKeywords:[];var a=/(?:\/category\/)([A-Za-z]*)(?:\/?.*)/.exec(window.location.pathname);if(null!==a)switch(a[1]){case"news":TW.keywords=["cctv","教育","意外保險","移民","心理輔導","骨折","防火門","牙齒矯正","牙醫","電視維修","私家偵探社","生日禮物","屋宇署","驗樓公司"];break;case"weird":TW.keywords=[];break;case"fun":TW.keywords=["toys","lego","購物","美食"];break;case"travel":TW.keywords=["平機票","酒店","預訂酒店","機票","澳門酒店優惠","旅遊車租賃","澳門","旅遊保險","travel","insurance"];break;case"tech":TW.keywords=["antivirus","電腦課程"];break;case"pets":TW.keywords=["寵物","動物醫生","狗糧","貓糧","寵物訓練","貓罐頭","寵物酒店","獸醫"];break;case"music":TW.keywords=["電視","影音","耳筒","耳機","音樂","ABRSM"];break;case"girls":TW.keywords=["情侶戒指","禮物","訂婚戒指","鑽石","鑽石戒指","心理輔導","求婚戒指","結婚戒指","結婚介子","婚戒"]}TW.geminiDesktopSticky=void 0!==TW.geminiDesktopSticky&&TW.geminiDesktopSticky,TW.geminiMobileSticky=void 0!==TW.geminiMobileSticky&&TW.geminiMobileSticky,TW.ypaDesktopSticky=void 0!==TW.ypaDesktopSticky&&TW.ypaDesktopSticky,TW.ypaMobileSticky=void 0!==TW.ypaMobileSticky&&TW.ypaMobileSticky,TW.geminiDesktopPopup=void 0!==TW.geminiDesktopPopup&&TW.geminiDesktopPopup,TW.geminiMobilePopup=void 0!==TW.geminiMobilePopup&&TW.geminiMobilePopup,TW.ypaDesktopPopup=void 0!==TW.ypaDesktopPopup&&TW.ypaDesktopPopup,TW.ypaMobilePopup=void 0!==TW.ypaMobilePopup&&TW.ypaMobilePopup,TW.geminiAlwaysShowPopup=void 0===TW.geminiAlwaysShowPopup||TW.geminiAlwaysShowPopup,TW.popupCookieTimeout=void 0!==TW.popupCookieTimeout?TW.popupCookieTimeout:180;var o=o||[];if(void 0===t||!t)var t={};t.tool={};var i=t.tool;i.mobilecheck=function(){var e=!1,a=navigator.userAgent||navigator.vendor||window.opera;return(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))&&(e=!0),e},i.Dom={_reClassNameCache:{},_getClassRegEx:function(e){var a=i.Dom._reClassNameCache[e];return a||(a=new RegExp("(?:^|\\s+)"+e+"(?:\\s+|$)"),i.Dom._reClassNameCache[e]=a),a},hasClass:function(e,a){if(void 0===e||null==e||!RegExp)return!1;var o=new RegExp("(^|\\s)"+a+"(\\s|$)");return"string"==typeof e?o.test(e):!("object"!=typeof e||!e.className)&&o.test(e.className)},getElementsByClassName:function(e,a,o,t){var d=[];a=(o=o||document).getElementsByTagName(a||"*"),e=i.Dom._getClassRegEx(e),o=0;for(var r=a.length;os+r.timeout?(r.done=!0,r.noAdCB()):a=!1}}n++,(a||40
'),l[y].appendChild(ad),l[y].className+=" techdream-loaded"));var m=document.querySelectorAll(".techdream-ad-wrapper-300x250");for(y=0;y'),m[y].appendChild(ad),m[y].className+=" techdream-loaded");if(!TW.jsLoaded)if(bMobile){if(TW.geminiMobilePopup&&""==G("techdreamPopup")&&(ad=U('
×
'),document.body.appendChild(ad),u=U(""),document.body.appendChild(u),B(".techdreamad-popup-overlay .techdream-ad-btn-close").onclick=function(){var e=B(".techdreamad-popup-overlay");e.parentNode.removeChild(e),V("techdreamPopup","shown",TW.popupCookieTimeout)}),TW.geminiMobileSticky){function w(){scalew=window.innerWidth/320,scaleh=window.innerHeight/70,window.innerHeight>window.innerWidth?scale=scalew
×
'),document.body.appendChild(ad),w(),n(".techdream-ad-sticky-bottom-mobile-wrapper .techdream-ad-item",function(){B(".techdream-ad-sticky-bottom-mobile-wrapper").style.display="block"});var h=document.querySelector(".techdream-ad-sticky-bottom-mobile-wrapper .techdream-ad-btn-close");null!==h&&(h.onclick=function(){var e=this.parentNode.parentNode;e.parentNode.removeChild(e)})}}else if(TW.geminiDesktopSticky&&(ad=U('
×
'),document.body.appendChild(ad),n(".techdream-ad-sticky-container",function(){B(".techdream-ad-sticky-wrapper").style.display="block"}),B(".techdream-ad-sticky-wrapper .techdream-ad-btn-close").onclick=function(){var e=this.parentNode;e.parentNode.removeChild(e)}),TW.geminiDesktopPopup&&""==G("techdreamPopup")){ad=U('
×
'),document.body.appendChild(ad);var u=U("");document.body.appendChild(u),B(".techdreamad-desktop-popup-overlay .techdream-ad-btn-close").onclick=function(){var e=B(".techdreamad-desktop-popup-overlay");e.parentNode.removeChild(e),V("techdreamPopup","shown",TW.popupCookieTimeout)}}for(z("https://s.yimg.com/uv/dm/scripts/syndication.js"),z("https://techdream.io/ypa_keywords.js",function(){z("https://techdream.io/geoip.php",function(){z("https://techdream.io/_standard/ypa_keywords.js",function(){switch(TW.geoLocation){case"HK":var i=function(){var e=Math.floor(Math.random()*keywords.length);return{keyword:keywords[e].Keyword,image:keywords[e].Image,title:keywords[e].Title,type:keywords[e].Type}};break;case"TW":i=function(){for(var e=function e(){var a=Math.floor(Math.random()*twKeywords.length);return void 0===twKeywords[a]?e():a}(),a="",o=0;owindow.innerWidth?scale=scalew
%YPA_KEYWORD%
x
';if(a=a.replace("%YPA_COVER_IMG%",t.image).replace("%YPA_KEYWORD%",t.title),""==G("techdreamYPAHotspot")){var o=U(a);document.body.appendChild(o),p();for(var d=document.getElementsByClassName("ypa-cover"),r=0,i=d.length;rwindow.innerWidth?scale=scalew
×
'),document.body.appendChild(adHtml),window.ypaAds.insertMultiAd({ypaAdConfig:Y[2],ypaAdTypeTag:e,ypaPubParams:{query:T.keyword},ypaAdSlotInfo:[{ypaAdSlotId:"Floating",ypaAdDivId:"ypaAdWrapper-Floating",ypaAdWidth:"600",ypaAdHeight:"100"}]}),W();var C=document.querySelector(".techdream-ad-sticky-listing-bottom-mobile-wrapper .techdream-ad-btn-close");null!==C&&(C.onclick=function(){var e=this.parentNode.parentNode;e.parentNode.removeChild(e)})}TW.ypaMobilePopup&&o()}else{if(TW.ypaDesktopSticky){w=Math.floor(Math.random()*keywords.length),r={keyword:keywords[w].Keyword,image:keywords[w].Image,title:keywords[w].Title,type:keywords[w].Type};var M='
%YPA_KEYWORD%
×
';M=M.replace("%YPA_COVER_IMG%",r.image).replace("%YPA_KEYWORD%",r.title);var N=U(M);document.body.appendChild(N);for(var I=document.getElementsByClassName("ypa-cover"),_=(a=0,I.length);a<_;a++)I[a].onclick=function(){window.ypaAds.insertMultiAd({ypaAdConfig:Y[1],ypaAdTypeTag:r.type,ypaPubParams:{query:r.keyword},ypaAdSlotInfo:[{ypaAdSlotId:"300",ypaAdDivId:"ypaAdWrapper-300",ypaAdWidth:"300",ypaAdHeight:"250"}]}),this.style.display="none";for(var e=document.getElementsByClassName("ypa-ad"),a=0,o=e.length;a