/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */ function _extends(){return(_extends=Object.assign||function(n){for(var i,r,t=1;t=2?Math.round(t/(86400*365.25))+" năm trước":Math.round(t/(86400*365.25))>=1?"1 năm trước":Math.round(t/(86400*30.4))>=2?Math.round(t/(86400*30.4))+" tháng trước":Math.round(t/(86400*30.4))>=1?"1 tháng trước":Math.round(t/604800)>=2?Math.round(t/604800)+" tuần trước":Math.round(t/604800)>=1?"1 tuần trước":Math.round(t/86400)>=2?Math.round(t/86400)+" ngày trước":Math.round(t/86400)>=1?"1 ngày trước":Math.round(t/3600)>=2?Math.round(t/3600)+" giờ trước":Math.round(t/3600)>=1?"1 giờ trước":Math.round(t/60)>=2?Math.round(t/60)+" phút trước":Math.round(t/60)>=1?"1 phút trước":t>=2?t+" giây trước":t+"1 giây trước"}function __add_banner(n){AD_DATA[AD_DATA.length]=n}function __load_banners(){var n=new String,t,i;if(AD_DATA.length>0){for(t=0;t=0?n.substring(0,t):n}function __getThirdPartyClickLink(n,t,i){return n!=""?n.indexOf("?")>=0?n+"&banner="+t+"&from="+escape(__hostName())+"&path="+escape(__pathName())+"&url="+escape(i):n+"?banner="+t+"&from="+escape(__hostName())+"&path="+escape(__pathName())+"&url="+escape(i):i}function __getClickLink(n){return AD_CLICK_PATH.indexOf("?")>=0?AD_CLICK_PATH+"&domain="+__hostName()+"&type=click&banner="+n+"&res="+screen.width+"x"+screen.height:AD_CLICK_PATH+"?domain="+__hostName()+"&type=click&banner="+n+"&res="+screen.width+"x"+screen.height}function __onClick(n){__getEL("MetaNET_Click").innerHTML=""}function __getViewLink(){return AD_BLANK_GIF}function IS_NO_LINK(n){return n==""||n=="#"||n=="javascript:void(0);"||n=="about:blank"||typeof n=="undefined"}function GET_ONE_AD(n){return document.getElementById("MetaNET_ADV_NUMBER_"+n)}function GET_ALL_AD(){var n=[];for(i=1;i<=AD_COUNT;i++)n[length]=GET_ONE_AD(i);return n}function __getCookie(n){var i,t;for(ckA=document.cookie.split(";"),i="",t=0;t100&&(t=100);t<1&&(t=t*100);n.style.opacity=t/100;n.style.filter="alpha(opacity='"+t+"')"}catch(i){}}function __IsNull(n){return typeof n=="undefined"||n==null}function __RepIfNull(n,t){return typeof t=="undefined"||t==null?n:t}function __RepIfNullElse(n,t,i){return typeof i=="undefined"||i==null?n:i}function MetaNET_AdObject(n){var t;AD_COUNT++;this.__id=AD_COUNT;this.Id="MetaNET_ADV_NUMBER_"+AD_COUNT;this.name=__RepIfNull(this.Id,n.name);this.imageUrl=__RepIfNull("",n.imageUrl);this.linkUrl=__RepIfNull("#",n.linkUrl);this.title=__RepIfNull("",n.title);this.domain=__RepIfNull("",n.domain);this.desc=__RepIfNull("",n.desc);this.width=__RepIfNull(0,n.width);this.height=__RepIfNull(0,n.height);this.cssClass=__RepIfNullElse(""," class='"+n.cssClass+"'",n.cssClass);this.style=__RepIfNullElse(""," style='"+n.style+"'",n.style);this.target=__RepIfNull("_blank",n.target);this.wmode=__RepIfNull("transparent",n.wmode);this.onclick=__RepIfNull("",n.onclick);this.__style=this.style==""?"":__RepIfNull("",n.style);this.enableThirdPartyClick=__RepIfNull(!1,n.enableThirdPartyClick);this.thirdPartyClickUrl=__RepIfNull(AD_THIRD_PARTY_CLICK_PATH,n.thirdPartyClickUrl);this.onMouseOut=__RepIfNull("",n.onMouseOut);this.onMouseOver=__RepIfNull("",n.onMouseOver);this.enableThirdPartyClick&&this.thirdPartyClickUrl!=""&&!IS_NO_LINK(this.linkUrl)&&(this.linkUrl=__getThirdPartyClickLink(this.thirdPartyClickUrl,this.name,this.linkUrl));__IsNull(n.adType)?(t=new String(this.imageUrl),t=t.toLowerCase(),this.adType=t.lastIndexOf(".swf")>=0?AD_TYPE_FLASH:t.lastIndexOf(".gif")>=0||t.lastIndexOf(".jpg")>=0||t.lastIndexOf(".png")>=0?AD_TYPE_IMAGE:t.lastIndexOf(".htm")>=0||t.lastIndexOf(".asp")>=0||t.lastIndexOf(".php")>=0||t.lastIndexOf(".html")>=0||t.lastIndexOf(".aspx")>=0||t.lastIndexOf(".ashx")>=0?AD_TYPE_HTML:AD_TYPE_TEXT):this.adType=n.adType}function MetaNET_ExAdObject(n){if(n.lenght=2)AD_EX_COUNT++,this.Id="MetaNET_EXADV_NUMBER_"+AD_COUNT,this.collapseAd=n[0],this.expandAd=n[1],this.widthMin=this.collapseAd.width,this.widthMax=this.expandAd.width,this.heightMin=this.collapseAd.height,this.heightMax=this.expandAd.height,this.mode=0,this.showButtons=!1,this.closeFunction=this.Id+"__close();",this.expandFunction=this.Id+"__expand();",this.collapseFunction=this.Id+"__collapse();",this.__interval=5;else return!1}function MetaNET_SharingAdObject(n,t){var r;for(AD_SHARING_COUNT++,this.Id="MetaNET_SHARING_AD_NUMBER_"+AD_SHARING_COUNT,this.adObjects=[],r=0,this.width="auto",this.height="auto",i=0;i=this.length&&(this.currentAdId=0);__setCookie(this.Id,this.currentAdId,1);this.direction="DOC";this.padding="0";this.width="auto";this.height="auto";r=this.direction.toLowerCase();r=="doc"||r=="vertical"||r=="d"||r=="0"?(this.padding="0")&&(this.padding="3"):(r=="n"||r=="horizontal"||r=="ngang"||r=="1")&&(this.padding="0")&&(this.padding="3")}function showAds(n,t,i,r){var u=new MetaNET_AdObject({imageUrl:i,linkUrl:r,width:n,height:t});u.renderOut()}function showSharingAds(n,t,i,r){for(var s,e=r.split("|"),o=[],f,u=0;u"),o[u]=new MetaNET_AdObject({imageUrl:f[0],linkUrl:f[1],width:t,height:i});s=new MetaNET_SharingAdObject(n,o);s.renderOut()}function showExpandAds(n,t,i,r,u,f,e){var o=MetaNET_ExAdObject([new MetaNET_AdObject({imageUrl:u,linkUrl:e,width:n,height:t}),new MetaNET_AdObject({imageUrl:f,linkUrl:e,width:i,height:r})]);o.renderOut()}function loadMetaAds(n,t){function v(n){var t,i,r;return n==null?"":(t=n.url+"?ref="+u,t=t.replace("http://","https://"),i=n.categoryUrl+"?ref="+u,i=i.replace("http://","https://"),r="",r+=''+n._unitCost+"<\/span><\/span>",'
<\/a><\/div>
'+n.name+'<\/a><\/div>
'+r+'<\/div>
META.vn<\/a><\/div><\/div><\/div><\/div>')}var y;t||(t={});for(var f=n.width(),r=Math.floor(f/110),e=t.keywords||n.data("keywords")||n.data("kw")||"",o=t.ids||n.data("ids")||n.data("id")||"",i=t.top||n.data("top")||5;i%r!=0;)i++;var u=t.ref||n.data("ref")||"textlink",s=t.min||n.data("min")||"-",h=t.cids||n.data("cids")||n.data("cid"),c=t.max||n.data("max")||"-",l=t.dir||n.data("dir")||"ver",a=t.ajx||n.data("ajx")||"/ajx/Ajx_TopProducts2.aspx";n.html('');y=n.data("item-width");$.get(a,{top:i,min:s,max:c,kw:e,ids:o,cids:h},function(t){var i,o,u,f,s,e;for(n.empty(),i=$('
<\/div>'),i.appendTo(n),o=t.length,l=="hor"?i.addClass("adx-horizontal"):i.addClass("adx-vertical"),u=$('
<\/div>'),u.css({display:"grid",gridTemplateColumns:"repeat("+r+", 1fr)"}),u.appendTo(i),f=0;f<\/div>'),e.appendTo(u),e.html(v(s));$(".adx-title",n).each(function(){$(this).attr("title",$(this).text())})},"json").fail(function(){n.empty()})}var slice,lazy,Notification_AppId,Notification_AppKey,AD_BG_START,MetaNET_BgAds_Settings;!function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function br(n,t,i){var r,e,u=(i=i||f).createElement("script");if(u.text=n,t)for(r in se)(e=t[r]||t.getAttribute&&t.getAttribute(r))&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function ut(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ri[pr.call(n)]||"object":typeof n}function pi(n){var t=!!n&&"length"in n&&n.length,i=ut(n);return!u(n)&&!rt(n)&&("array"===i||0===t||"number"==typeof t&&0t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function ki(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function di(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t&&t.disabled===n}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function gi(){}function pt(n){for(var t=0,r=n.length,i="";t+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),p=function(n,t){var i="0x"+n.slice(1)-65536;return t||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},pi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},bi=function(){b()},vr=wt(function(n){return!0===n.disabled&&"fieldset"===n.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){rr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(rt in f=u.support={},oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")},b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!=i&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,h=!oi(i),c!=i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",bi,!1):u.attachEvent&&u.attachEvent("onunload",bi)),f.scope=a(function(n){return s.appendChild(n).appendChild(i.createElement("div")),"undefined"!=typeof n.querySelectorAll&&!n.querySelectorAll(":scope fieldset div").length}),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),t.find.TAG=f.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){var t;s.appendChild(n).innerHTML="<\/a>