/** * Observe how the user enters content into the comment form in order to determine whether it's a bot or not. * * Note that no actual input is being saved here, only counts and timings between events. */ ( function() { // Passive event listeners are guaranteed to never call e.preventDefault(), // but they're not supported in all browsers. Use this feature detection // to determine whether they're available for use. var supportsPassive = false; try { var opts = Object.defineProperty( {}, 'passive', { get : function() { supportsPassive = true; } } ); window.addEventListener( 'testPassive', null, opts ); window.removeEventListener( 'testPassive', null, opts ); } catch ( e ) {} function init() { var input_begin = ''; var keydowns = {}; var lastKeyup = null; var lastKeydown = null; var keypresses = []; var modifierKeys = []; var correctionKeys = []; var lastMouseup = null; var lastMousedown = null; var mouseclicks = []; var mousemoveTimer = null; var lastMousemoveX = null; var lastMousemoveY = null; var mousemoveStart = null; var mousemoves = []; var touchmoveCountTimer = null; var touchmoveCount = 0; var lastTouchEnd = null; var lastTouchStart = null; var touchEvents = []; var scrollCountTimer = null; var scrollCount = 0; var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ]; var modifierKeyCodes = [ 'Shift', 'CapsLock' ]; var forms = document.querySelectorAll( 'form[method=post]' ); for ( var i = 0; i < forms.length; i++ ) { var form = forms[i]; var formAction = form.getAttribute( 'action' ); // Ignore forms that POST directly to other domains; these could be things like payment forms. if ( formAction ) { // Check that the form is posting to an external URL, not a path. if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) { if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) { continue; } } } form.addEventListener( 'submit', function () { var ak_bkp = prepare_timestamp_array_for_request( keypresses ); var ak_bmc = prepare_timestamp_array_for_request( mouseclicks ); var ak_bte = prepare_timestamp_array_for_request( touchEvents ); var ak_bmm = prepare_timestamp_array_for_request( mousemoves ); var input_fields = { // When did the user begin entering any input? 'bib': input_begin, // When was the form submitted? 'bfs': Date.now(), // How many keypresses did they make? 'bkpc': keypresses.length, // How quickly did they press a sample of keys, and how long between them? 'bkp': ak_bkp, // How quickly did they click the mouse, and how long between clicks? 'bmc': ak_bmc, // How many mouseclicks did they make? 'bmcc': mouseclicks.length, // When did they press modifier keys (like Shift or Capslock)? 'bmk': modifierKeys.join( ';' ), // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 'bck': correctionKeys.join( ';' ), // How many times did they move the mouse? 'bmmc': mousemoves.length, // How many times did they move around using a touchscreen? 'btmc': touchmoveCount, // How many times did they scroll? 'bsc': scrollCount, // How quickly did they perform touch events, and how long between them? 'bte': ak_bte, // How many touch events were there? 'btec' : touchEvents.length, // How quickly did they move the mouse, and how long between moves? 'bmm' : ak_bmm }; var akismet_field_prefix = 'ak_'; if ( this.getElementsByClassName ) { // Check to see if we've used an alternate field name prefix. We store this as an attribute of the container around some of the Akismet fields. var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' ); for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) { var container = possible_akismet_containers.item( containerIndex ); if ( container.getAttribute( 'data-prefix' ) ) { akismet_field_prefix = container.getAttribute( 'data-prefix' ); break; } } } for ( var field_name in input_fields ) { var field = document.createElement( 'input' ); field.setAttribute( 'type', 'hidden' ); field.setAttribute( 'name', akismet_field_prefix + field_name ); field.setAttribute( 'value', input_fields[ field_name ] ); this.appendChild( field ); } }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keydown', function ( e ) { // If you hold a key down, some browsers send multiple keydown events in a row. // Ignore any keydown events for a key that hasn't come back up yet. if ( e.key in keydowns ) { return; } var keydownTime = ( new Date() ).getTime(); keydowns[ e.key ] = [ keydownTime ]; if ( ! input_begin ) { input_begin = keydownTime; } // In some situations, we don't want to record an interval since the last keypress -- for example, // on the first keypress, or on a keypress after focus has changed to another element. Normally, // we want to record the time between the last keyup and this keydown. But if they press a // key while already pressing a key, we want to record the time between the two keydowns. var lastKeyEvent = Math.max( lastKeydown, lastKeyup ); if ( lastKeyEvent ) { keydowns[ e.key ].push( keydownTime - lastKeyEvent ); } lastKeydown = keydownTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keyup', function ( e ) { if ( ! ( e.key in keydowns ) ) { // This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or... return; } var keyupTime = ( new Date() ).getTime(); if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) { if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) { modifierKeys.push( keypresses.length - 1 ); } else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) { correctionKeys.push( keypresses.length - 1 ); } else { // ^ Don't record timings for keys like Shift or backspace, since they // typically get held down for longer than regular typing. var keydownTime = keydowns[ e.key ][0]; var keypress = []; // Keypress duration. keypress.push( keyupTime - keydownTime ); // Amount of time between this keypress and the previous keypress. if ( keydowns[ e.key ].length > 1 ) { keypress.push( keydowns[ e.key ][1] ); } keypresses.push( keypress ); } } delete keydowns[ e.key ]; lastKeyup = keyupTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusin", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusout", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); } document.addEventListener( 'mousedown', function ( e ) { lastMousedown = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mouseup', function ( e ) { if ( ! lastMousedown ) { // If the mousedown happened before this script was loaded, but the mouseup happened after... return; } var now = ( new Date() ).getTime(); var mouseclick = []; mouseclick.push( now - lastMousedown ); if ( lastMouseup ) { mouseclick.push( lastMousedown - lastMouseup ); } mouseclicks.push( mouseclick ); lastMouseup = now; // If the mouse has been clicked, don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mousemove', function ( e ) { if ( mousemoveTimer ) { clearTimeout( mousemoveTimer ); mousemoveTimer = null; } else { mousemoveStart = ( new Date() ).getTime(); lastMousemoveX = e.offsetX; lastMousemoveY = e.offsetY; } mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { var now = ( new Date() ).getTime() - 500; // To account for the timer delay. var mousemove = []; mousemove.push( now - originalMousemoveStart ); mousemove.push( Math.round( Math.sqrt( Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) ) ) ); if ( mousemove[1] > 0 ) { // If there was no measurable distance, then it wasn't really a move. mousemoves.push( mousemove ); } mousemoveStart = null; mousemoveTimer = null; }, 500, e, mousemoveStart ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchmove', function ( e ) { if ( touchmoveCountTimer ) { clearTimeout( touchmoveCountTimer ); } touchmoveCountTimer = setTimeout( function () { touchmoveCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchstart', function ( e ) { lastTouchStart = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchend', function ( e ) { if ( ! lastTouchStart ) { // If the touchstart happened before this script was loaded, but the touchend happened after... return; } var now = ( new Date() ).getTime(); var touchEvent = []; touchEvent.push( now - lastTouchStart ); if ( lastTouchEnd ) { touchEvent.push( lastTouchStart - lastTouchEnd ); } touchEvents.push( touchEvent ); lastTouchEnd = now; // Don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'scroll', function ( e ) { if ( scrollCountTimer ) { clearTimeout( scrollCountTimer ); } scrollCountTimer = setTimeout( function () { scrollCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); } /** * For the timestamp data that is collected, don't send more than `limit` data points in the request. * Choose a random slice and send those. */ function prepare_timestamp_array_for_request( a, limit ) { if ( ! limit ) { limit = 100; } var rv = ''; if ( a.length > 0 ) { var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); for ( var i = 0; i < limit && i < a.length; i++ ) { rv += a[ random_starting_point + i ][0]; if ( a[ random_starting_point + i ].length >= 2 ) { rv += "," + a[ random_starting_point + i ][1]; } rv += ";"; } } return rv; } if ( document.readyState !== 'loading' ) { init(); } else { document.addEventListener( 'DOMContentLoaded', init ); } })();{"id":2845,"date":"2024-01-22T20:22:42","date_gmt":"2024-01-22T13:22:42","guid":{"rendered":"https:\/\/congviennghiatrang.com\/?p=2845"},"modified":"2024-01-22T20:22:42","modified_gmt":"2024-01-22T13:22:42","slug":"chuong-trinh-tuan-le-tao-mo-va-tet-ve-tren-lac-hong-vien","status":"publish","type":"post","link":"https:\/\/congviennghiatrang.com\/chuong-trinh-tuan-le-tao-mo-va-tet-ve-tren-lac-hong-vien\/","title":{"rendered":"Ch\u01b0\u01a1ng tr\u00ecnh \u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 T\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d"},"content":{"rendered":"
\n
\n

Ch\u01b0\u01a1ng tr\u00ecnh \u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 T\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d<\/h1>\n<\/div>\n<\/header>\n
\n

\"Dsc08898\"<\/h2>\n
\n

\"<\/p>\n

\"Dsc08965\"<\/p>\n

\"Dsc07713\"<\/p>\n

\"Dsc09049\"<\/p>\n<\/div>\n

Ng\u00e0y H\u1ed9i Truy\u1ec1n Th\u1ed1ng<\/h2>\n
\u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 T\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d di\u1ec5n ra t\u1eeb 25\/01\/2024 (t\u1ee9c 15\/12 \u00e2m l\u1ecbch) \u0111\u1ebfn h\u1ebft ng\u00e0y 04\/02\/2024 (t\u1ee9c 25\/12 \u00e2m l\u1ecbch). M\u1ed7i ng\u00e0y C\u00f4ng ty CP \u0110\u1ea7u t\u01b0 XD&TM To\u00e0n C\u1ea7u s\u1ebd c\u00f3 1 chuy\u1ebfn xe \u0111\u01b0a \u0111\u00f3n kh\u00e1ch h\u00e0ng l\u00ean th\u0103m m\u1ed9 v\u00e0o m\u1ed7i s\u00e1ng t\u1ea1i t\u00f2a nh\u00e0 S\u00f4ng \u0110\u00e0 \u0111\u01b0\u1eddng Ph\u1ea1m H\u00f9ng.<\/div>\n
Ti\u1ebfng Nh\u1ea1c v\u00e0 Ngh\u1ec7 Thu\u1eadt<\/div>\n
Trong khu\u00f4n kh\u1ed5 c\u1ee7a s\u1ef1 ki\u1ec7n, Qu\u00fd kh\u00e1ch s\u1ebd \u0111\u01b0\u1ee3c th\u01b0\u1edfng th\u1ee9c c\u00e1c ti\u1ebft m\u1ee5c ngh\u1ec7 thu\u1eadt \u0111\u1eb7c s\u1eafc. Nh\u1eefng b\u1ea3n nh\u1ea1c h\u1ed9i truy\u1ec1n th\u1ed1ng, nh\u1eefng kh\u00fac nh\u1ea1c Xu\u00e2n nh\u1eefng ti\u1ebft m\u1ee5c v\u0103n ngh\u1ec7 \u0111\u1eb7c bi\u1ec7t ti\u1ec5n n\u0103m c\u0169 v\u00e0 ch\u00e0o \u0111\u00f3n n\u0103m m\u1edbi.<\/div>\n

Ch\u1ee3 hoa ng\u00e0y t\u1ebft<\/h2>\n
Ch\u1ee3 hoa ng\u00e0y t\u1ebft s\u1eb5n s\u00e0ng ph\u1ee5c v\u1ee5 kh\u00e1ch h\u00e0ng \u0111a d\u1ea1ng v\u1ec1 ch\u1ee7ng lo\u1ea1i. V\u1edbi Tr\u1ea1ng Nguy\u00ean, m\u00e2m ng\u0169 qu\u1ea3, \u0111\u1ed3 m\u00e3 \u2026 m\u1ee9c gi\u00e1 h\u1ee3p l\u00fd \u0111\u1ec3 ph\u1ee5c v\u1ee5 nhu c\u1ea7u c\u1ee7a Qu\u00fd kh\u00e1ch h\u00e0ng khi l\u00ean th\u0103m vi\u1ebfng ph\u1ea7n m\u1ed9 ng\u01b0\u1eddi th\u00e2n t\u1ea1i L\u1ea1c H\u1ed3ng Vi\u00ean.<\/div>\n

H\u1ed9i ch\u1ee3 \u1ea9m Th\u1ef1c<\/h2>\n
T\u1ebft kh\u00f4ng ch\u1ec9 l\u00e0 d\u1ecbp \u0111\u1ec3 k\u1ebft n\u1ed1i tinh th\u1ea7n m\u00e0 c\u00f2n l\u00e0 d\u1ecbp \u0111\u1ec3 th\u01b0\u1edfng th\u1ee9c \u1ea9m th\u1ef1c truy\u1ec1n th\u1ed1ng. T\u1ea1i L\u1ea1c H\u1ed3ng Vi\u00ean, c\u00e1c qu\u00e1n \u0103n v\u00e0 gian h\u00e0ng v\u1edbi nh\u1eefng m\u00f3n \u0103n ngon \u0111\u1eb7c s\u1eafc, t\u1eeb c\u00e1c m\u00f3n ngon truy\u1ec1n th\u1ed1ng \u0111\u1ebfn nh\u1eefng \u0111\u1eb7c s\u1ea3n m\u1edbi l\u1ea1.
\nTh\u00f4ng qua ch\u01b0\u01a1ng tr\u00ecnh \u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 t\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d L\u1ea1c H\u1ed3ng Vi\u00ean \u0111\u00e3 mang \u0111\u1ebfn m\u1ed9t kh\u00f4ng kh\u00ed t\u1ebft Nguy\u00ean \u0110\u00e1n \u1ea5m \u1ea5p, ch\u00e2n th\u00e0nh v\u00e0 tr\u00e0n \u0111\u1ea7y y\u00eau th\u01b0\u01a1ng t\u1edbi nh\u1eefng H\u01b0\u01a1ng linh \u0111ang an ngh\u1ec9 t\u1ea1i L\u1ea1c H\u1ed3ng Vi\u00ean<\/a>!<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

Ch\u01b0\u01a1ng tr\u00ecnh \u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 T\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d Ng\u00e0y H\u1ed9i Truy\u1ec1n Th\u1ed1ng \u201cTu\u1ea7n l\u1ec5 t\u1ea3o m\u1ed9 v\u00e0 T\u1ebft v\u1ec1 tr\u00ean L\u1ea1c H\u1ed3ng Vi\u00ean\u201d di\u1ec5n ra t\u1eeb 25\/01\/2024 (t\u1ee9c 15\/12 \u00e2m l\u1ecbch) \u0111\u1ebfn h\u1ebft ng\u00e0y 04\/02\/2024 (t\u1ee9c 25\/12 \u00e2m l\u1ecbch). M\u1ed7i ng\u00e0y C\u00f4ng ty CP \u0110\u1ea7u t\u01b0 XD&TM To\u00e0n C\u1ea7u s\u1ebd […]\n","protected":false},"author":4,"featured_media":2846,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tin-tuc"],"_links":{"self":[{"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/posts\/2845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/comments?post=2845"}],"version-history":[{"count":0,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/posts\/2845\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/media\/2846"}],"wp:attachment":[{"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/media?parent=2845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/categories?post=2845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/congviennghiatrang.com\/wp-json\/wp\/v2\/tags?post=2845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}