/*! SerializeJSON jQuery plugin. https://github.com/marioizquierdo/jquery.serializeJSON version 3.2.0 (Dec, 2020) Copyright (c) 2012-2021 Mario Izquierdo Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. */ (function (factory) { /* global define, require, module */ if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["jquery"], factory); } else if (typeof exports === "object") { // Node/CommonJS var jQuery = require("jquery"); module.exports = factory(jQuery); } else { // Browser globals (zepto supported) factory(window.jQuery || window.Zepto || window.$); // Zepto supported on browsers as well } }(function ($) { "use strict"; var rCRLF = /\r?\n/g; var rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i; var rsubmittable = /^(?:input|select|textarea|keygen)/i; var rcheckableType = /^(?:checkbox|radio)$/i; $.fn.serializeJSON = function (options) { var f = $.serializeJSON; var $form = this; // NOTE: the set of matched elements is most likely a form, but it could also be a group of inputs var opts = f.setupOpts(options); // validate options and apply defaults var typeFunctions = $.extend({}, opts.defaultTypes, opts.customTypes); // Make a list with {name, value, el} for each input element var serializedArray = f.serializeArray($form, opts); // Convert the serializedArray into a serializedObject with nested keys var serializedObject = {}; $.each(serializedArray, function (_i, obj) { var nameSansType = obj.name; var type = $(obj.el).attr("data-value-type"); if (!type && !opts.disableColonTypes) { // try getting the type from the input name var p = f.splitType(obj.name); // "foo:string" => ["foo", "string"] nameSansType = p[0]; type = p[1]; } if (type === "skip") { return; // ignore fields with type skip } if (!type) { type = opts.defaultType; // "string" by default } var typedValue = f.applyTypeFunc(obj.name, obj.value, type, obj.el, typeFunctions); // Parse type as string, number, etc. if (!typedValue && f.shouldSkipFalsy(obj.name, nameSansType, type, obj.el, opts)) { return; // ignore falsy inputs if specified in the options } var keys = f.splitInputNameIntoKeysArray(nameSansType); f.deepSet(serializedObject, keys, typedValue, opts); }); return serializedObject; }; // Use $.serializeJSON as namespace for the auxiliar functions // and to define defaults $.serializeJSON = { defaultOptions: {}, // reassign to override option defaults for all serializeJSON calls defaultBaseOptions: { // do not modify, use defaultOptions instead checkboxUncheckedValue: undefined, // to include that value for unchecked checkboxes (instead of ignoring them) useIntKeysAsArrayIndex: false, // name="foo[2]" value="v" => {foo: [null, null, "v"]}, instead of {foo: ["2": "v"]} skipFalsyValuesForTypes: [], // skip serialization of falsy values for listed value types skipFalsyValuesForFields: [], // skip serialization of falsy values for listed field names disableColonTypes: false, // do not interpret ":type" suffix as a type customTypes: {}, // extends defaultTypes defaultTypes: { "string": function(str) { return String(str); }, "number": function(str) { return Number(str); }, "boolean": function(str) { var falses = ["false", "null", "undefined", "", "0"]; return falses.indexOf(str) === -1; }, "null": function(str) { var falses = ["false", "null", "undefined", "", "0"]; return falses.indexOf(str) === -1 ? str : null; }, "array": function(str) { return JSON.parse(str); }, "object": function(str) { return JSON.parse(str); }, "skip": null // skip is a special type used to ignore fields }, defaultType: "string", }, // Validate and set defaults setupOpts: function(options) { if (options == null) options = {}; var f = $.serializeJSON; // Validate var validOpts = [ "checkboxUncheckedValue", "useIntKeysAsArrayIndex", "skipFalsyValuesForTypes", "skipFalsyValuesForFields", "disableColonTypes", "customTypes", "defaultTypes", "defaultType" ]; for (var opt in options) { if (validOpts.indexOf(opt) === -1) { throw new Error("serializeJSON ERROR: invalid option '" + opt + "'. Please use one of " + validOpts.join(", ")); } } // Helper to get options or defaults return $.extend({}, f.defaultBaseOptions, f.defaultOptions, options); }, // Just like jQuery's serializeArray method, returns an array of objects with name and value. // but also includes the dom element (el) and is handles unchecked checkboxes if the option or data attribute are provided. serializeArray: function($form, opts) { if (opts == null) { opts = {}; } var f = $.serializeJSON; return $form.map(function() { var elements = $.prop(this, "elements"); // handle propHook "elements" to filter or add form elements return elements ? $.makeArray(elements) : this; }).filter(function() { var $el = $(this); var type = this.type; // Filter with the standard W3C rules for successful controls: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.2 return this.name && // must contain a name attribute !$el.is(":disabled") && // must not be disable (use .is(":disabled") so that fieldset[disabled] works) rsubmittable.test(this.nodeName) && !rsubmitterTypes.test(type) && // only serialize submittable fields (and not buttons) (this.checked || !rcheckableType.test(type) || f.getCheckboxUncheckedValue($el, opts) != null); // skip unchecked checkboxes (unless using opts) }).map(function(_i, el) { var $el = $(this); var val = $el.val(); var type = this.type; // "input", "select", "textarea", "checkbox", etc. if (val == null) { return null; } if (rcheckableType.test(type) && !this.checked) { val = f.getCheckboxUncheckedValue($el, opts); } if (isArray(val)) { return $.map(val, function(val) { return { name: el.name, value: val.replace(rCRLF, "\r\n"), el: el }; } ); } return { name: el.name, value: val.replace(rCRLF, "\r\n"), el: el }; }).get(); }, getCheckboxUncheckedValue: function($el, opts) { var val = $el.attr("data-unchecked-value"); if (val == null) { val = opts.checkboxUncheckedValue; } return val; }, // Parse value with type function applyTypeFunc: function(name, valStr, type, el, typeFunctions) { var typeFunc = typeFunctions[type]; if (!typeFunc) { // quick feedback to user if there is a typo or missconfiguration throw new Error("serializeJSON ERROR: Invalid type " + type + " found in input name '" + name + "', please use one of " + objectKeys(typeFunctions).join(", ")); } return typeFunc(valStr, el); }, // Splits a field name into the name and the type. Examples: // "foo" => ["foo", ""] // "foo:boolean" => ["foo", "boolean"] // "foo[bar]:null" => ["foo[bar]", "null"] splitType : function(name) { var parts = name.split(":"); if (parts.length > 1) { var t = parts.pop(); return [parts.join(":"), t]; } else { return [name, ""]; } }, // Check if this input should be skipped when it has a falsy value, // depending on the options to skip values by name or type, and the data-skip-falsy attribute. shouldSkipFalsy: function(name, nameSansType, type, el, opts) { var skipFromDataAttr = $(el).attr("data-skip-falsy"); if (skipFromDataAttr != null) { return skipFromDataAttr !== "false"; // any value is true, except the string "false" } var optForFields = opts.skipFalsyValuesForFields; if (optForFields && (optForFields.indexOf(nameSansType) !== -1 || optForFields.indexOf(name) !== -1)) { return true; } var optForTypes = opts.skipFalsyValuesForTypes; if (optForTypes && optForTypes.indexOf(type) !== -1) { return true; } return false; }, // Split the input name in programatically readable keys. // Examples: // "foo" => ["foo"] // "[foo]" => ["foo"] // "foo[inn][bar]" => ["foo", "inn", "bar"] // "foo[inn[bar]]" => ["foo", "inn", "bar"] // "foo[inn][arr][0]" => ["foo", "inn", "arr", "0"] // "arr[][val]" => ["arr", "", "val"] splitInputNameIntoKeysArray: function(nameWithNoType) { var keys = nameWithNoType.split("["); // split string into array keys = $.map(keys, function (key) { return key.replace(/\]/g, ""); }); // remove closing brackets if (keys[0] === "") { keys.shift(); } // ensure no opening bracket ("[foo][inn]" should be same as "foo[inn]") return keys; }, // Set a value in an object or array, using multiple keys to set in a nested object or array. // This is the main function of the script, that allows serializeJSON to use nested keys. // Examples: // // deepSet(obj, ["foo"], v) // obj["foo"] = v // deepSet(obj, ["foo", "inn"], v) // obj["foo"]["inn"] = v // Create the inner obj["foo"] object, if needed // deepSet(obj, ["foo", "inn", "123"], v) // obj["foo"]["arr"]["123"] = v // // // deepSet(obj, ["0"], v) // obj["0"] = v // deepSet(arr, ["0"], v, {useIntKeysAsArrayIndex: true}) // arr[0] = v // deepSet(arr, [""], v) // arr.push(v) // deepSet(obj, ["arr", ""], v) // obj["arr"].push(v) // // arr = []; // deepSet(arr, ["", v] // arr => [v] // deepSet(arr, ["", "foo"], v) // arr => [v, {foo: v}] // deepSet(arr, ["", "bar"], v) // arr => [v, {foo: v, bar: v}] // deepSet(arr, ["", "bar"], v) // arr => [v, {foo: v, bar: v}, {bar: v}] // deepSet: function (o, keys, value, opts) { if (opts == null) { opts = {}; } var f = $.serializeJSON; if (isUndefined(o)) { throw new Error("ArgumentError: param 'o' expected to be an object or array, found undefined"); } if (!keys || keys.length === 0) { throw new Error("ArgumentError: param 'keys' expected to be an array with least one element"); } var key = keys[0]; // Only one key, then it's not a deepSet, just assign the value in the object or add it to the array. if (keys.length === 1) { if (key === "") { // push values into an array (o must be an array) o.push(value); } else { o[key] = value; // keys can be object keys (strings) or array indexes (numbers) } return; } var nextKey = keys[1]; // nested key var tailKeys = keys.slice(1); // list of all other nested keys (nextKey is first) if (key === "") { // push nested objects into an array (o must be an array) var lastIdx = o.length - 1; var lastVal = o[lastIdx]; // if the last value is an object or array, and the new key is not set yet if (isObject(lastVal) && isUndefined(f.deepGet(lastVal, tailKeys))) { key = lastIdx; // then set the new value as a new attribute of the same object } else { key = lastIdx + 1; // otherwise, add a new element in the array } } if (nextKey === "") { // "" is used to push values into the nested array "array[]" if (isUndefined(o[key]) || !isArray(o[key])) { o[key] = []; // define (or override) as array to push values } } else { if (opts.useIntKeysAsArrayIndex && isValidArrayIndex(nextKey)) { // if 1, 2, 3 ... then use an array, where nextKey is the index if (isUndefined(o[key]) || !isArray(o[key])) { o[key] = []; // define (or override) as array, to insert values using int keys as array indexes } } else { // nextKey is going to be the nested object's attribute if (isUndefined(o[key]) || !isObject(o[key])) { o[key] = {}; // define (or override) as object, to set nested properties } } } // Recursively set the inner object f.deepSet(o[key], tailKeys, value, opts); }, deepGet: function (o, keys) { var f = $.serializeJSON; if (isUndefined(o) || isUndefined(keys) || keys.length === 0 || (!isObject(o) && !isArray(o))) { return o; } var key = keys[0]; if (key === "") { // "" means next array index (used by deepSet) return undefined; } if (keys.length === 1) { return o[key]; } var tailKeys = keys.slice(1); return f.deepGet(o[key], tailKeys); } }; // polyfill Object.keys to get option keys in IE<9 var objectKeys = function(obj) { if (Object.keys) { return Object.keys(obj); } else { var key, keys = []; for (key in obj) { keys.push(key); } return keys; } }; var isObject = function(obj) { return obj === Object(obj); }; // true for Objects and Arrays var isUndefined = function(obj) { return obj === void 0; }; // safe check for undefined values var isValidArrayIndex = function(val) { return /^[0-9]+$/.test(String(val)); }; // 1,2,3,4 ... are valid array indexes var isArray = Array.isArray || function(obj) { return Object.prototype.toString.call(obj) === "[object Array]"; }; })); {"id":888,"date":"2025-01-01T17:47:00","date_gmt":"2025-01-01T17:47:00","guid":{"rendered":"https:\/\/anhvuminer.com.vn\/?p=888"},"modified":"2025-01-04T17:40:33","modified_gmt":"2025-01-04T17:40:33","slug":"tro-choi-danh-bac-lon-nhat-nam-2024-tai-hoa-ky-tro-choi-kiem-tien-that","status":"publish","type":"post","link":"https:\/\/anhvuminer.com.vn\/tro-choi-danh-bac-lon-nhat-nam-2024-tai-hoa-ky-tro-choi-kiem-tien-that.html","title":{"rendered":"Tr\u00f2 ch\u01a1i \u0111\u00e1nh b\u1ea1c l\u1edbn nh\u1ea5t n\u0103m 2024 t\u1ea1i Hoa K\u1ef3 Tr\u00f2 ch\u01a1i ki\u1ebfm ti\u1ec1n th\u1eadt"},"content":{"rendered":"
B\u00e0i vi\u1ebft<\/p>\n
M\u1ed9t c\u00e1ch ti\u1ebfp c\u1eadn c\u0169 h\u01a1n nh\u01b0ng \u0111\u00e1ng tin c\u1eady, d\u00e2y truy\u1ec1n t\u1ea3i bao g\u1ed3m ti\u1ec1n di \u0111\u1ed9ng ri\u00eang l\u1ebb t\u1eeb t\u00e0i kho\u1ea3n s\u00e9c \u0111\u1ebfn s\u00f2ng b\u1ea1c. N\u1ebfu kh\u00f4ng, vi\u1ec7c th\u01b0\u1edfng ti\u1ec1n g\u1eedi mong mu\u1ed1n ho\u1eb7c c\u01b0\u1ee3c lu\u00f4n k\u00edch ho\u1ea1t l\u1ee3i \u00edch ch\u00ednh ngay l\u1eadp t\u1ee9c. Roulette ki\u1ec3u Ph\u00e1p s\u1ebd n\u1eb1m trong t\u1ea7m ng\u1eafm c\u1ee7a b\u1ea1n n\u1ebfu b\u1ea1n \u0111ang t\u00ecm ki\u1ebfm lo\u1ea1i th\u00e2n thi\u1ec7n v\u1edbi v\u1eadn \u0111\u1ed9ng vi\u00ean nh\u1ea5t ch\u1ec9 v\u00ec ranh gi\u1edbi h\u1ed9 gia \u0111\u00ecnh \u0111\u01b0\u1ee3c thu h\u1eb9p.<\/p>\n
C\u00e1c m\u00e1y \u0111\u00e1nh b\u1ea1c ti\u1ec1n th\u1eadt v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 ch\u01a1i c\u1edd b\u1ea1c \u0111\u01b0\u1ee3c ki\u1ec3m to\u00e1n b\u1edfi c\u00e1c doanh nghi\u1ec7p b\u1ea3o v\u1ec7 \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd b\u00ean ngo\u00e0i \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o t\u00ednh \u1ed5n \u0111\u1ecbnh c\u1ee7a n\u00f3. Ng\u01b0\u1eddi ch\u01a1i c\u1edd b\u1ea1c c\u00f3 nhi\u1ec1u s\u1edf th\u00edch kh\u00e1c nhau khi n\u00f3i \u0111\u1ebfn vi\u1ec7c th\u1eed m\u1ed9t tr\u00f2 ch\u01a1i \u0111i\u1ec7n t\u1eed th\u00f4ng th\u01b0\u1eddng. C\u00e1c s\u00f2ng b\u1ea1c tr\u1ef1c tuy\u1ebfn m\u1edbi s\u1ebd mang \u0111\u1ebfn cho ng\u01b0\u1eddi ch\u01a1i c\u01a1 h\u1ed9i \u0111\u00e1nh gi\u00e1 cao b\u1ea5t k\u1ef3 lo\u1ea1i h\u00ecnh c\u00e1 c\u01b0\u1ee3c n\u00e0o c\u00f3 th\u1ec3 t\u01b0\u1edfng t\u01b0\u1ee3ng \u0111\u01b0\u1ee3c.<\/p>\n
M\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 t\u1eadn d\u1ee5ng c\u00e1c \u1ee9ng d\u1ee5ng c\u00f3 l\u1ee3i th\u1ebf khi s\u1eed d\u1ee5ng c\u00e1c ghi ch\u00fa nh\u01b0 Amex, c\u00f3 th\u1ec3 t\u1ea1o ra c\u00e1c v\u1ea5n \u0111\u1ec1 ho\u1eb7c ho\u00e0n ti\u1ec1n cho c\u00e1c giao d\u1ecbch s\u00f2ng b\u1ea1c. Th\u00e0nh c\u00f4ng v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 qu\u1ea3n l\u00fd ti\u1ec1n an to\u00e0n h\u01a1n h\u00e3y th\u1eed m\u1ed9t kh\u00eda c\u1ea1nh chuy\u1ec3n \u0111\u1ed5i c\u1ee7a tr\u00f2 ch\u01a1i s\u00f2ng b\u1ea1c \u0111\u1ecba ph\u01b0\u01a1ng tr\u1ef1c tuy\u1ebfn. V\u00ec v\u1eady, \u0111i\u1ec3m th\u01b0\u1eddng n\u00f3i v\u1ec1 c\u00e1c m\u1eb9o hoa h\u1ed3ng kh\u00e1c nhau \u0111\u01b0\u1ee3c cung c\u1ea5p cho ng\u01b0\u1eddi tham gia, t\u1eeb vi\u1ec7c vay ti\u1ec1n c\u1ed5 t\u1eeb c\u00e1c ghi ch\u00fa ng\u00e2n h\u00e0ng\/ghi n\u1ee3 \u0111\u1ebfn c\u00e1c lo\u1ea1i ti\u1ec1n \u0111i\u1ec7n t\u1eed s\u00e1ng t\u1ea1o v\u00e0 b\u1ea1n c\u00f3 th\u1ec3 m\u1ecdi th\u1ee9 \u1edf gi\u1eefa. C\u00f4ng ty \u1ee9ng d\u1ee5ng n\u1ed5i ti\u1ebfng bao g\u1ed3m Development Playing v\u00e0 Playtech \u0111ang \u0111i \u0111\u1ea7u trong phong c\u00e1ch s\u00e1ng t\u1ea1o, \u0111\u1ea3m b\u1ea3o tr\u00f2 ch\u01a1i tr\u1ef1c tuy\u1ebfn chuy\u00ean gia tr\u1ef1c ti\u1ebfp ch\u1ea5t l\u01b0\u1ee3ng cao \u0111\u1ec3 ng\u01b0\u1eddi tham gia y\u00eau th\u00edch. \u01afu ti\u00ean c\u00e1c s\u00f2ng b\u1ea1c tr\u1ef1c tuy\u1ebfn \u0111\u00e3 \u0111\u0103ng k\u00fd tu\u00e2n th\u1ee7 c\u00e1c lu\u1eadt v\u00e0 quy \u0111\u1ecbnh nghi\u00eam ng\u1eb7t v\u00e0 \u00e1p d\u1ee5ng c\u00e1c giao th\u1ee9c b\u1ea3o v\u1ec7 ti\u00ean ti\u1ebfn \u0111\u1ec3 b\u1ea3o v\u1ec7 th\u00f4ng tin kinh t\u1ebf c\u1ee7a b\u1ea1n v\u00e0 b\u1ea1n c\u00f3 th\u1ec3.<\/p>\n