;var type=function(e){var r={};return function(t){var n;return null===t?"null":t===e?"global":"object"!=(n=typeof t)?n:t.nodeType?"object":r[n=Object.prototype.toString.call(t)]||(r[n]=n.replace(/(?:\[object )(.*)(?:])/,"$1").toLowerCase())}}(this);function toUnique(t){for(var n=t.concat(),e=0,r=n.length;e<r;++e)for(var o=e+1;o<n.length;++o)n[e]===n[o]&&n.splice(o--,1);return n}function _string_format(){var u={"%s":{slice:[2,-2],array:new RegExp("%s","g"),object:new RegExp("%\\(\\w+\\)s","g")},"{}":{slice:[1,-1],array:new RegExp("{}","g"),object:new RegExp("[{]\\w+?[}]","g")}},a=function(t,n){return void 0===t?t=n:"string"!==type(t)&&(t=String(t)),t},r=function(t,n,e,r){void 0!==r&&"string"===type(r)||(r=null);var o=u[t],i=type(e),c={object:function(t){return a(e[String.prototype.slice.apply(t,o.slice)],null===r?t:r)},array:function(t){return a(e.shift(),null===r?t:r)}};return n.replace(o[i],c[i])};return{interpolate:function(t,n,e){return r("%s",t,n,e)},interject:function(t,n,e){return r("{}",t,n,e)}}}function interpolate(t,n,e){return _string_format_obj.interpolate(t,n,e)}function interject(t,n,e){return _string_format_obj.interject(t,n,e)}function tipsPrompt(t,n){var e,r=$(t).data("boxTarget");e=void 0===n||"boolean"!==type(n)||!1===n?$(r).text():$(r).html(),layer.tips(e,t,{tips:[2,"#393d49"],time:3e3,closeBtn:2})}function supports_html5_storage(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}}function b64EncodeUnicode(t){return btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,function(t,n){return String.fromCharCode("0x"+n)}))}function b64DecodeUnicode(t){return decodeURIComponent(atob(t).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function formObjectify(t){"string"==typeof t&&(t=$(t));var n={};return t instanceof Object&&0<t.length?t.serializeArray().reduce(function(t,n){return t[n.name]=n.value,t},n):n}function sleep(n){return new Promise(function(t){setTimeout(t,n)})}_string_format_obj=_string_format();