chat-content.beanfun.com Open in urlscan Pro
2a02:26f0:4700::215:4a61  Public Scan

URL: http://chat-content.beanfun.com/beango-static-prod/web-tracing-jssdk/web_tracing_sdk.prod.js
Submission: On August 05 via api from SG — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

/*! For license information please see web_tracing_sdk.prod.js.LICENSE.txt */
var beanfunWebTraceSDK;!function(){var e={669:function(e,t,r){e.exports=r(609)},448:function(e,t,r){"use strict";var n=r(867),o=r(26),i=r(372),a=r(327),s=r(97),c=r(109),u=r(985),f=r(61);e.exports=function(e){return new Promise((function(t,r){var l=e.data,d=e.headers;n.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+v)}var m=s(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};o(t,r,i),p=null}},p.onabort=function(){p&&(r(f("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){r(f("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(f(t,e,"ECONNABORTED",p)),p=null},n.isStandardBrowserEnv()){var g=(e.withCredentials||u(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;g&&(d[e.xsrfHeaderName]=g)}if("setRequestHeader"in p&&n.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),r(e),p=null)})),l||(l=null),p.send(l)}))}},609:function(e,t,r){"use strict";var n=r(867),o=r(849),i=r(321),a=r(185);function s(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var c=s(r(655));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=r(263),c.CancelToken=r(972),c.isCancel=r(502),c.all=function(e){return Promise.all(e)},c.spread=r(713),c.isAxiosError=r(268),e.exports=c,e.exports.default=c},263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:function(e,t,r){"use strict";var n=r(263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,r){"use strict";var n=r(867),o=r(327),i=r(782),a=r(572),s=r(185);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=c},782:function(e,t,r){"use strict";var n=r(867);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:function(e,t,r){"use strict";var n=r(793),o=r(303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},61:function(e,t,r){"use strict";var n=r(481);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},572:function(e,t,r){"use strict";var n=r(867),o=r(527),i=r(502),a=r(655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:function(e){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},185:function(e,t,r){"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function u(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=c(void 0,t[e]))})),n.forEach(i,u),n.forEach(a,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?r[n]=c(e[n],t[n]):n in e&&(r[n]=c(void 0,e[n]))}));var f=o.concat(i).concat(a).concat(s),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===f.indexOf(e)}));return n.forEach(l,u),r}},26:function(e,t,r){"use strict";var n=r(61);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:function(e,t,r){"use strict";var n=r(867);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},655:function(e,t,r){"use strict";var n=r(867),o=r(16),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=r(448)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c},849:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:function(e,t,r){"use strict";var n=r(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:function(e,t,r){"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:function(e,t,r){"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:function(e,t,r){"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:function(e,t,r){"use strict";var n=r(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},867:function(e,t,r){"use strict";var n=r(849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function f(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return s(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:f,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)f(arguments[n],r);return t},extend:function(e,t,r){return f(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},111:function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1).toUpperCase()}window.crypto||(window.msCrypto?window.crypto=window.msCrypto:window.crypto={getRandomValues:function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},Empty:"00000000-0000-0000-0000-000000000000"})},666:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return E()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=f(e,t,r);if("normal"===c.type){if(n=r.done?h:d,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function m(){}function g(){}function w(){}var b={};c(b,i,(function(){return this}));var y=Object.getPrototypeOf,k=y&&y(y(j([])));k&&k!==r&&n.call(k,i)&&(b=k);var x=w.prototype=m.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,i,a,s){var c=f(e[o],e,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,_(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function j(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:E}}function E(){return{value:t,done:!0}}return g.prototype=w,c(x,"constructor",w),c(w,"constructor",g),g.displayName=c(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,s,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},S(O.prototype),c(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new O(u(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(x),c(x,s,"Generator"),c(x,i,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},238:function(e,t,r){var n;!function(o,i){"use strict";var a="function",s="undefined",c="object",u="string",f="model",l="name",d="type",p="vendor",h="version",v="architecture",m="console",g="mobile",w="tablet",b="smarttv",y="wearable",k="embedded",x={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return typeof e===u&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===u?e.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===s?e:e.substring(0,255)}},S={rgx:function(e,t){for(var r,n,o,s,u,f,l=0;l<t.length&&!u;){var d=t[l],p=t[l+1];for(r=n=0;r<d.length&&!u;)if(u=d[r++].exec(e))for(o=0;o<p.length;o++)f=u[++n],typeof(s=p[o])===c&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,f):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=f?f.replace(s[1],s[2]):i:this[s[0]]=f?s[1].call(this,f,s[2]):i:4==s.length&&(this[s[0]]=f?s[3].call(this,f.replace(s[1],s[2])):i):this[s]=f||i;l+=2}},str:function(e,t){for(var r in t)if(typeof t[r]===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(x.has(t[r][n],e))return"?"===r?i:r}else if(x.has(t[r],e))return"?"===r?i:r;return e}},O={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},_={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[l,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[l,h],[/opios[\/\s]+([\w\.]+)/i],[h,[l,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[h,[l,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,h],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[h,[l,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[h,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[l,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[h,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],h],[/focus\/([\w\.]+)/i],[h,[l,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[h,[l,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[h,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[l,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[h,[l,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[h,[l,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],h],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[l,h],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[l],[/;fbav\/([\w\.]+);/i],[h,[l,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[l,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[l,h],[/\bgsa\/([\w\.]+)\s.*safari\//i],[h,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[h,[l,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],h],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[h,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[l,h],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[h,[l,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[h,l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[l,[h,S.str,O.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[l,h],[/(navigator|netscape)\/([\w\.-]+)/i],[[l,"Netscape"],h],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[h,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[l,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,x.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[v,/ower/,"",x.lowerize]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,x.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[f,[p,"Samsung"],[d,w]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[f,[p,"Samsung"],[d,g]],[/\((ip(?:hone|od)[\s\w]*);/i],[f,[p,"Apple"],[d,g]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[p,"Apple"],[d,w]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[f,[p,"Huawei"],[d,w]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[f,[p,"Huawei"],[d,g]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[f,/_/g," "],[p,"Xiaomi"],[d,g]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[f,/_/g," "],[p,"Xiaomi"],[d,w]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[f,[p,"OPPO"],[d,g]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[f,[p,"Vivo"],[d,g]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[f,[p,"Realme"],[d,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[f,[p,"Motorola"],[d,g]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[f,[p,"Motorola"],[d,w]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[f,[p,"LG"],[d,w]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[f,[p,"LG"],[d,g]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[f,[p,"Lenovo"],[d,w]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[f,/_/g," "],[p,"Nokia"],[d,g]],[/droid.+;\s(pixel\sc)[\s)]/i],[f,[p,"Google"],[d,w]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[f,[p,"Google"],[d,g]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[p,"Sony"],[d,g]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[f,"Xperia Tablet"],[p,"Sony"],[d,w]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[f,[p,"OnePlus"],[d,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[f,[p,"Amazon"],[d,w]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[f,"Fire Phone"],[p,"Amazon"],[d,g]],[/\((playbook);[\w\s\),;-]+(rim)/i],[f,p,[d,w]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[f,[p,"BlackBerry"],[d,g]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[f,[p,"ASUS"],[d,w]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[f,[p,"ASUS"],[d,g]],[/(nexus\s9)/i],[f,[p,"HTC"],[d,w]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[p,[f,/_/g," "],[d,g]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[f,[p,"Acer"],[d,w]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[f,[p,"Meizu"],[d,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[p,f,[d,g]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[p,f,[d,w]],[/\s(surface\sduo)\s/i],[f,[p,"Microsoft"],[d,w]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[f,[p,"Fairphone"],[d,g]],[/\s(u304aa)\sbuild/i],[f,[p,"AT&T"],[d,g]],[/sie-(\w*)/i],[f,[p,"Siemens"],[d,g]],[/[;\/]\s?(rct\w+)\sbuild/i],[f,[p,"RCA"],[d,w]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[f,[p,"Dell"],[d,w]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[f,[p,"Verizon"],[d,w]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[f,[p,"Barnes & Noble"],[d,w]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[f,[p,"NuVision"],[d,w]],[/;\s(k88)\sbuild/i],[f,[p,"ZTE"],[d,w]],[/;\s(nx\d{3}j)\sbuild/i],[f,[p,"ZTE"],[d,g]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[f,[p,"Swiss"],[d,g]],[/[;\/]\s?(zur\d{3})\sbuild/i],[f,[p,"Swiss"],[d,w]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[f,[p,"Zeki"],[d,w]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[p,"Dragon Touch"],f,[d,w]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[f,[p,"Insignia"],[d,w]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[f,[p,"NextBook"],[d,w]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[p,"Voice"],f,[d,g]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[p,"LvTel"],f,[d,g]],[/;\s(ph-1)\s/i],[f,[p,"Essential"],[d,g]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[f,[p,"Envizen"],[d,w]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[f,[p,"MachSpeed"],[d,w]],[/[;\/]\s?tu_(1491)\sbuild/i],[f,[p,"Rotor"],[d,w]],[/(shield[\w\s]+)\sbuild/i],[f,[p,"Nvidia"],[d,w]],[/(sprint)\s(\w+)/i],[p,f,[d,g]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[p,"Microsoft"],[d,g]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[p,"Zebra"],[d,w]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[p,"Zebra"],[d,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[p,f,[d,m]],[/droid.+;\s(shield)\sbuild/i],[f,[p,"Nvidia"],[d,m]],[/(playstation\s[345portablevi]+)/i],[f,[p,"Sony"],[d,m]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[f,[p,"Microsoft"],[d,m]],[/smart-tv.+(samsung)/i],[p,[d,b]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[p,"Samsung"],[d,b]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[p,"LG"],[d,b]],[/(apple)\s?tv/i],[p,[f,"Apple TV"],[d,b]],[/crkey/i],[[f,"Chromecast"],[p,"Google"],[d,b]],[/droid.+aft([\w])(\sbuild\/|\))/i],[f,[p,"Amazon"],[d,b]],[/\(dtv[\);].+(aquos)/i],[f,[p,"Sharp"],[d,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[p,x.trim],[f,x.trim],[d,b]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[d,b]],[/((pebble))app\/[\d\.]+\s/i],[p,f,[d,y]],[/droid.+;\s(glass)\s\d/i],[f,[p,"Google"],[d,y]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[f,[p,"Zebra"],[d,y]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[p,[d,k]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[f,[d,g]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[f,[d,w]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[d,x.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[f,[p,"Generic"]],[/(phone)/i],[[d,g]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[h,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[l,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,l]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[l,h],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[l,[h,S.str,O.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[l,"Windows"],[h,S.str,O.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[l,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[l,"Mac OS"],[h,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[l,h],[/\(bb(10);/i],[h,[l,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[h,[l,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[l,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[l,"Chromium OS"],h],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[l,h],[/(sunos)\s?([\w\.\d]*)/i],[[l,"Solaris"],h],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[l,h]]},C=function(e,t){if("object"==typeof e&&(t=e,e=i),!(this instanceof C))return new C(e,t).getResult();var r=e||(void 0!==o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),n=t?x.extend(_,t):_;return this.getBrowser=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.browser),e.major=x.major(e.version),e},this.getCPU=function(){var e={architecture:i};return S.rgx.call(e,r,n.cpu),e},this.getDevice=function(){var e={vendor:i,model:i,type:i};return S.rgx.call(e,r,n.device),e},this.getEngine=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.engine),e},this.getOS=function(){var e={name:i,version:i};return S.rgx.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>255?x.trim(e,255):e,this},this.setUA(r),this};C.VERSION="0.7.28",C.BROWSER={NAME:l,MAJOR:"major",VERSION:h},C.CPU={ARCHITECTURE:v},C.DEVICE={MODEL:f,VENDOR:p,TYPE:d,CONSOLE:m,MOBILE:g,SMARTTV:b,TABLET:w,WEARABLE:y,EMBEDDED:k},C.ENGINE={NAME:l,VERSION:h},C.OS={NAME:l,VERSION:h},typeof t!==s?(e.exports&&(t=e.exports=C),t.UAParser=C):(n=function(){return C}.call(t,r,t,e))===i||(e.exports=n);var A=void 0!==o&&(o.jQuery||o.Zepto);if(A&&!A.ua){var P=new C;A.ua=P.getResult(),A.ua.get=function(){return P.getUA()},A.ua.set=function(e){P.setUA(e);var t=P.getResult();for(var r in t)A.ua[r]=t[r]}}}("object"==typeof window?window:this)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.r(n),r.d(n,{events:function(){return T},init:function(){return jt},status:function(){return ot}});var t={read:function(e){return e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},o=function r(n,o){function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),r=n.write(r,t);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=t+"="+r+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],o={},i=0;i<r.length;i++){var a=r[i].split("="),s=a.slice(1).join("=");'"'===s[0]&&(s=s.slice(1,-1));try{var c=t.read(a[0]);if(o[c]=n.read(s,c),e===c)break}catch(e){}}return e?o[e]:o}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(t){return r(this.converter,e({},this.attributes,t))},withConverter:function(t){return r(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}(t,{path:"/"}),i=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21,t="",r=crypto.getRandomValues(new Uint8Array(e));e--;){var n=63&r[e];t+=n<36?n.toString(36):n<62?(n-26).toString(36).toUpperCase():n<63?"_":"-"}return t},a=r(238),s=r.n(a),c=function(){var e=new(s())(navigator.userAgent),t=e.getDevice(),r=e.getOS();return"".concat(t.type?t.type:"web","_").concat(r.name.replace(" ",""))},u=function(){var e=new(s())(navigator.userAgent).getBrowser();return navigator.userAgent.toLocaleLowerCase().match("beanfun")&&(e.name="h5"),e},f=null,l=function(){if(f)return f;var e=o.get("_gaexp");if(!e)return{};var t,r,n,i=e.split(".")[2],a=window.google_optimize,s=a&&a.get(i);return s?(n=s,(r=i)in(t={})?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,f=t):{}};function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var p=function(){function e(t){var r=t.BUID,n=void 0===r?null:r,o=t.property,i=void 0===o?null:o,a=t.sourceProperty,s=void 0===a?null:a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),e.instance||(this.BUID=n,this.property=i,this.sourceProperty=s,this.initEventSessionFields(),this.deviceModel=c(),this.browserInfo=u(),this.referrerDomain=function(){if(document.referrer)return new URL(document.referrer).hostname}(),this.referrerUri=document.referrer?document.referrer:void 0,this.experimentationInfo={google_optimize:{},custom:{}},this.aliasid=JSON.parse(sessionStorage.getItem("aliasInfo")),e.instance=this),e.instance}var t,r,n;return t=e,n=[{key:"getInstance",value:function(){return this.instance}}],(r=[{key:"initEventSessionFields",value:function(){var e=window.location.hostname.split(".");this.sndLevelDomain=e.slice(-2).join(".");var t=o.get("web_tracing_session"),r=t?JSON.parse(t):{};if(!(Object.prototype.hasOwnProperty.call(r,"id")&&Object.prototype.hasOwnProperty.call(r,"createTime")&&Object.prototype.hasOwnProperty.call(r,"index")&&Object.prototype.hasOwnProperty.call(r,"eventIdx")&&Object.prototype.hasOwnProperty.call(r,"updateTime"))){var n=i(),a=(new Date).getTime();r={id:n,prevId:null,index:0,eventIdx:0,createTime:a,updateTime:a,searchTerm:null},o.set("web_tracing_session",JSON.stringify(r),{domain:this.sndLevelDomain,secure:!0})}this.sessionObject=r}},{key:"getEventSessionObject",value:function(){return this.initEventSessionFields(),(new Date).getTime()-this.sessionObject.updateTime>6e5&&(this.sessionObject.prevId=this.sessionObject.id,this.sessionObject.id=i(),this.sessionObject.index+=1,this.sessionObject.eventIdx=0,this.sessionObject.searchTerm=""),this.sessionObject.eventIdx+=1,this.sessionObject.updateTime=(new Date).getTime(),o.set("web_tracing_session",JSON.stringify(this.sessionObject),{domain:this.sndLevelDomain,secure:!0}),this.sessionObject}},{key:"setEventSessionSearchTerm",value:function(e){var t=e.keyword,r=void 0===t?"":t;this.sessionObject.searchTerm=r,o.set("web_tracing_session",JSON.stringify(this.sessionObject),{domain:this.sndLevelDomain,secure:!0})}},{key:"getProperty",value:function(){return this.property}},{key:"getSourceProperty",value:function(){return this.sourceProperty}},{key:"getBUID",value:function(){return this.BUID}},{key:"getDeviceModel",value:function(){return this.deviceModel}},{key:"getBrowserInfo",value:function(){return this.browserInfo}},{key:"getReferrerDomain",value:function(){return this.referrerDomain}},{key:"getReferrerUri",value:function(){return this.referrerUri}},{key:"getExperimentInfo",value:function(){return{google_optimize:l(),custom:this.experimentationInfo.custom}}},{key:"setLoginStatus",value:function(e){var t=e.isLoggedIn,r=void 0===t?null:t,n=e.openId,i=void 0===n?null:n;this.isLoggedIn=r,i&&o.set("opid",i,{expires:180,domain:this.sndLevelDomain,secure:!0}),this.openId=i}},{key:"getLoginStatus",value:function(){return{is_logged_in:!!this.isLoggedIn&&this.isLoggedIn,openid:this.openId||o.get("opid")}}},{key:"setSlot",value:function(e){var t=e.experimentationInfo,r=void 0===t?null:t;this.experimentationInfo.custom=r}},{key:"getSlot",value:function(){return this.experimentationInfo.custom}},{key:"setBfH5TrackingData",value:function(e,t,r,n,o,i,a,s){this.deviceId=e,this.deviceModel=t,this.carrier=r,this.osName=n,this.osVersion=o,this.appVersion=i,this.appBuild=a,this.network=s}},{key:"getBfH5TrackingData",value:function(){return{deviceId:this.deviceId,deviceModel:this.deviceModel,carrier:this.carrier,osName:this.osName,osVersion:this.osVersion,appVersion:this.appVersion,appBuild:this.appBuild,network:this.network}}},{key:"setPageUri",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.pageUri=e}},{key:"getPageUri",value:function(){return this.pageUri}},{key:"setAliasInfo",value:function(e){this.aliasid=e}},{key:"getAliasInfo",value:function(){return this.aliasid}}])&&d(t.prototype,r),n&&d(t,n),e}();function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var v=function(){function e(t){var r=t.event,n=t.eventId,o=t.isAdditiveView,i=void 0!==o&&o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);try{var a=p.getInstance();if(n&&a.getSourceProperty()||console.warn("event_id、source_property 其中一個未填寫或為空值"),a.getProperty()){this.event=r,this.event_id=n,this.is_additive_view=i,this.property=a.getProperty(),this.source_property=a.getSourceProperty(),this.openid=a.getLoginStatus().openid,this.is_logged_in=a.getLoginStatus().is_logged_in,this.page_uri=a.getPageUri(),this.referrer_domain=a.getReferrerDomain(),this.device_model=a.getDeviceModel(),this.referrer_uri=a.getReferrerUri(),this.experimentation_info=a.getExperimentInfo(),a.getAliasInfo()&&(this.aliasid=a.getAliasInfo()),this.browser_info=a.getBrowserInfo(),this.browser_name=this.browser_info.name,this.browser_version=this.browser_info.version;var s=a.getEventSessionObject();return this.session_id=s.id,this.session_index=s.index,this.event_index=s.eventIdx,s.prevId&&(this.previous_session_id=s.prevId),s.searchTerm&&(this.page_search_term=s.searchTerm),this.os_name="web",this.trackid="",this.timestamp=Date.now(),this.track_version="".concat("0.4.0"),this.lang=navigator.language,this.agent=navigator.userAgent,void(this.geo_info={tz:Intl.DateTimeFormat().resolvedOptions().timeZone})}}catch(e){console.error(e)}}var t,r;return t=e,(r=[{key:"setOpenId",value:function(e){this.openid=e}},{key:"setTrackId",value:function(e){this.trackid=e}},{key:"updateBfH5TrackingDataFromConfig",value:function(){var e=p.getInstance();this.device_id=e.deviceId,this.device_model=e.deviceModel,this.carrier=e.carrier,this.os_name=e.osName,this.os_version=e.osVersion,this.app_version=e.appVersion,this.app_build=e.appBuild,this.network=e.network}},{key:"updatePageUriFromConfig",value:function(){var e=p.getInstance();this.page_uri=e.getPageUri()}},{key:"isValid",value:function(){return this.property?!!this.trackid||(console.error("trackid 是空值"),!1):(console.error("property 是空值"),!1)}}])&&h(t.prototype,r),e}();function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t){return!t||"object"!==O(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T={ClickEvent:function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=b(t);if(r){var o=b(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return w(this,e)});function o(e){var t,r=e.event,i=e.eventId,a=e.pageInfo,s=e.clickInfo;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),"string"==typeof a)throw new"pageInfo 格式錯誤,須為 Object";if(!r)throw new"event 未填寫或為空值";t=n.call(this,{event:r,eventId:i});try{t.page_info=a,t.click_info=s}catch(e){console.error(e)}return t}return o}(v),ImpressionEvent:function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=S(t);if(r){var o=S(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return x(this,e)});function o(e){var t,r=e.event,i=e.eventId,a=e.pageInfo,s=e.impressionInfo,c=e.isAdditiveView;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),"string"==typeof a)throw new"pageInfo 格式錯誤,須為 Object";if(!r)throw new"event 未填寫或為空值";t=n.call(this,{event:r,eventId:i,isAdditiveView:c});try{t.page_info=a,t.impression_info=s}catch(e){console.error(e)}return t}return o}(v),PageViewEvent:function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=A(t);if(r){var o=A(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return C(this,e)});function o(e){var t,r=e.event,i=e.eventId,a=e.pageInfo,s=e.isAdditiveView;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),"string"==typeof a)throw new"pageInfo 格式錯誤,須為 Object";if(!r)throw new"event 未填寫或為空值";t=n.call(this,{event:r,eventId:i,isAdditiveView:s});try{t.page_info=a}catch(e){console.error(e)}return t}return o}(v),SearchEvent:function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}(o,e);var t,r,n=(t=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=I(t);if(r){var o=I(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return E(this,e)});function o(e){var t,r=e.event,i=e.eventId,a=e.pageInfo,s=e.pageSearchTerm;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var c=p.getInstance();if("string"==typeof a)throw new"pageInfo 格式錯誤,須為 Object";if(!r)throw new"event 未填寫或為空值";t=n.call(this,{event:r,eventId:i});try{t.page_info=a,t.page_search_term=s,c.setEventSessionSearchTerm({keyword:s})}catch(e){console.error(e)}return t}return o}(v)},R=function(){return(R=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function B(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))}function L(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function D(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}Object.create,Object.create;function M(e,t){return new Promise((function(r){return setTimeout(r,e,t)}))}function N(e,t){try{var r=e();(n=r)&&"function"==typeof n.then?r.then((function(e){return t(!0,e)}),(function(e){return t(!1,e)})):t(!0,r)}catch(e){t(!1,e)}var n}function U(e,t,r){return void 0===r&&(r=16),B(this,void 0,void 0,(function(){var n,o,i;return L(this,(function(a){switch(a.label){case 0:n=Date.now(),o=0,a.label=1;case 1:return o<e.length?(t(e[o],o),(i=Date.now())>=n+r?(n=i,[4,M(0)]):[3,3]):[3,4];case 2:a.sent(),a.label=3;case 3:return++o,[3,1];case 4:return[2]}}))}))}function z(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]+t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]+t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]+t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]+t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function F(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var r=[0,0,0,0];return r[3]+=e[3]*t[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=e[2]*t[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=e[3]*t[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=e[1]*t[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[2]*t[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=e[3]*t[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function G(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function q(e,t){return 0==(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function V(e,t){return[e[0]^t[0],e[1]^t[1]]}function H(e){return e=V(e,[0,e[0]>>>1]),e=V(e=F(e,[4283543511,3981806797]),[0,e[0]>>>1]),V(e=F(e,[3301882366,444984403]),[0,e[0]>>>1])}function W(e){return parseInt(e)}function J(e){return parseFloat(e)}function $(e,t){return"number"==typeof e&&isNaN(e)?t:e}function X(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function K(e,t){if(void 0===t&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var r=1/t;return Math.round(e*r)/r}function Z(e){return e&&"object"==typeof e&&"message"in e?e:{message:e}}function Y(e,t,r){var n=Object.keys(e).filter((function(e){return!function(e,t){for(var r=0,n=e.length;r<n;++r)if(e[r]===t)return!0;return!1}(r,e)})),o=Array(n.length);return U(n,(function(r,n){o[n]=function(e,t){var r=function(e){return"function"!=typeof e},n=new Promise((function(n){var o=Date.now();N(e.bind(null,t),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=Date.now()-o;if(!e[0])return n((function(){return{error:Z(e[1]),duration:i}}));var a=e[1];if(r(a))return n((function(){return{value:a,duration:i}}));n((function(){return new Promise((function(e){var t=Date.now();N(a,(function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=i+Date.now()-t;if(!r[0])return e({error:Z(r[1]),duration:o});e({value:r[1],duration:o})}))}))}))}))}));return function(){return n.then((function(e){return e()}))}}(e[r],t)})),function(){return B(this,void 0,void 0,(function(){var e,t,r,i,a,s;return L(this,(function(c){switch(c.label){case 0:for(e={},t=0,r=n;t<r.length;t++)i=r[t],e[i]=void 0;a=Array(n.length),s=function(){var t;return L(this,(function(r){switch(r.label){case 0:return t=!0,[4,U(n,(function(r,n){a[n]||(o[n]?a[n]=o[n]().then((function(t){return e[r]=t})):t=!1)}))];case 1:return r.sent(),t?[2,"break"]:[4,M(1)];case 2:return r.sent(),[2]}}))},c.label=1;case 1:return[5,s()];case 2:if("break"===c.sent())return[3,4];c.label=3;case 3:return[3,1];case 4:return[4,Promise.all(a)];case 5:return c.sent(),[2,e]}}))}))}}function Q(){var e=window,t=navigator;return X(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function ee(){var e=window,t=navigator;return X(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function te(){var e=window,t=navigator;return X(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function re(){var e=window;return X(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function ne(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function oe(){var e=ee(),t=function(){var e,t,r=window;return X(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in r,"mozInnerScreenX"in r,"CSSMozDocumentRule"in r,"CanvasCaptureMediaStream"in r])>=4}();if(!e&&!t)return!1;var r=window;return X(["onorientationchange"in r,"orientation"in r,e&&!("SharedWorker"in r),t&&/android/i.test(navigator.appVersion)])>=2}function ie(e){var t=new Error(e);return t.name=e,t}function ae(e,t,r){var n,o,i;return void 0===r&&(r=50),B(this,void 0,void 0,(function(){var a,s;return L(this,(function(c){switch(c.label){case 0:a=document,c.label=1;case 1:return a.body?[3,3]:[4,M(r)];case 2:return c.sent(),[3,1];case 3:s=a.createElement("iframe"),c.label=4;case 4:return c.trys.push([4,,10,11]),[4,new Promise((function(e,r){var n=!1,o=function(){n=!0,e()};s.onload=o,s.onerror=function(e){n=!0,r(e)};var i=s.style;i.setProperty("display","block","important"),i.position="absolute",i.top="0",i.left="0",i.visibility="hidden",t&&"srcdoc"in s?s.srcdoc=t:s.src="about:blank",a.body.appendChild(s);var c=function(){var e,t;n||("complete"===(null===(t=null===(e=s.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)?o():setTimeout(c,10))};c()}))];case 5:c.sent(),c.label=6;case 6:return(null===(o=null===(n=s.contentWindow)||void 0===n?void 0:n.document)||void 0===o?void 0:o.body)?[3,8]:[4,M(r)];case 7:return c.sent(),[3,6];case 8:return[4,e(s,s.contentWindow)];case 9:return[2,c.sent()];case 10:return null===(i=s.parentNode)||void 0===i||i.removeChild(s),[7];case 11:return[2]}}))}))}function se(e){for(var t=function(e){for(var t,r,n="Unexpected syntax '"+e+"'",o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,c=function(e,t){a[e]=a[e]||[],a[e].push(t)};;){var u=s.exec(o[2]);if(!u)break;var f=u[0];switch(f[0]){case".":c("class",f.slice(1));break;case"#":c("id",f.slice(1));break;case"[":var l=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(f);if(!l)throw new Error(n);c(l[1],null!==(r=null!==(t=l[4])&&void 0!==t?t:l[5])&&void 0!==r?r:"");break;default:throw new Error(n)}}return[i,a]}(e),r=t[0],n=t[1],o=document.createElement(null!=r?r:"div"),i=0,a=Object.keys(n);i<a.length;i++){var s=a[i],c=n[s].join(" ");"style"===s?ce(o.style,c):o.setAttribute(s,c)}return o}function ce(e,t){for(var r=0,n=t.split(";");r<n.length;r++){var o=n[r],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var a=i[1],s=i[2],c=i[4];e.setProperty(a,s,c||"")}}}var ue,fe,le=["monospace","sans-serif","serif"],de=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function pe(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function he(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';var r="Cwm fjordbank gly "+String.fromCharCode(55357,56835);return t.fillText(r,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(r,4,45),me(e)}function ve(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var r=0,n=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];r<n.length;r++){var o=n[r],i=o[0],a=o[1],s=o[2];t.fillStyle=i,t.beginPath(),t.arc(a,s,40,0,2*Math.PI,!0),t.closePath(),t.fill()}return t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd"),me(e)}function me(e){return e.toDataURL()}function ge(){var e=screen;return[$(J(e.availTop),null),$(J(e.width)-J(e.availWidth)-$(J(e.availLeft),0),null),$(J(e.height)-J(e.availHeight)-$(J(e.availTop),0),null),$(J(e.availLeft),null)]}function we(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}var be={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'a[title="7naga poker" i]','[title="ALIENBOLA" i]'],abpvn:["#quangcaomb",".iosAdsiosAds-layout",".quangcao",'[href^="https://r88.vn/"]','[href^="https://zbet.vn/"]'],adBlockFinland:[".mainostila",".sponsorit",".ylamainos",'a[href*="/clickthrgh.asp?"]','a[href^="https://app.readpeak.com/ads"]'],adBlockPersian:["#navbar_notice_50",'a[href^="http://g1.v.fwmrm.net/ad/"]',".kadr",'TABLE[width="140px"]',"#divAgahi"],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect"],adGuardAnnoyances:['amp-embed[type="zen"]',".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil"],adGuardBase:["#ad-after","#ad-p3",".BetterJsPopOverlay","#ad_300X250","#bannerfloat22"],adGuardChinese:['a[href*=".ttz5.cn"]','a[href*=".yabovip2027.com/"]',".tm3all2h4b",".cc5278_banner_ad"],adGuardFrench:[".zonepub",'[class*="_adLeaderboard"]','[id^="block-xiti_oas-"]','a[href^="http://ptapjmp.com/"]','a[href^="https://go.alvexo.com/"]'],adGuardGerman:[".banneritemwerbung_head_1",".boxstartwerbung",".werbung3",'a[href^="http://www.eis.de/index.phtml?refid="]','a[href^="https://www.tipico.com/?affiliateId="]'],adGuardJapanese:["#kauli_yad_1","#ad-giftext","#adsSPRBlock",'a[href^="http://ad2.trafficgate.net/"]','a[href^="http://www.rssad.jp/"]'],adGuardMobile:["amp-auto-ads","#mgid_iframe",".amp_ad",'amp-embed[type="24smi"]',"#mgid_iframe1"],adGuardRussian:['a[href^="https://ya-distrib.ru/r/"]','a[href^="https://ad.letmeads.com/"]',".reclama",'div[id^="smi2adblock"]','div[id^="AdFox_banner_"]'],adGuardSocial:['a[href^="//www.stumbleupon.com/submit?url="]','a[href^="//telegram.me/share/url?"]',".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",'[href^="http://ads.glispa.com/"]'],adGuardTrackingProtection:['amp-embed[type="taboola"]',"#qoo-counter",'a[href^="http://click.hotlog.ru/"]','a[href^="http://hitcounter.ru/top/stat.php"]','a[href^="http://top.mail.ru/jump"]'],adGuardTurkish:["#backkapat","#reklami",'a[href^="http://adserv.ontek.com.tr/"]','a[href^="http://izlenzi.com/campaign/"]','a[href^="http://www.installads.net/"]'],bulgarian:["td#freenet_table_ads","#adbody","#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:["#AD_banner_bottom","#Ads_google_02","#N-ad-article-rightRail-1","#ad-fullbanner2","#ad-zone-2"],easyListChina:['a[href*=".wensixuetang.com/"]','A[href*="/hth107.com/"]','.appguide-wrap[onclick*="bcebos.com"]',".frontpageAdvM","#taotaole"],easyListCookie:["#adtoniq-msg-bar","#CoockiesPage","#CookieModal_cookiemodal","#DO_CC_PANEL","#ShowCookie"],easyListCzechSlovak:["#onlajny-stickers","#reklamni-box",".reklama-megaboard",".sklik",'[id^="sklikReklama"]'],easyListDutch:["#advertentie","#vipAdmarktBannerBlock",".adstekst",'a[href^="https://xltube.nl/click/"]',"#semilo-lrectangle"],easyListGermany:['a[href^="http://www.hw-area.com/?dp="]','a[href^="https://ads.sunmaker.com/tracking.php?"]',".werbung-skyscraper2",".bannergroup_werbung",".ads_rechts"],easyListItaly:[".box_adv_annunci",".sb-box-pubbliredazionale",'a[href^="http://affiliazioniads.snai.it/"]','a[href^="https://adserver.html.it/"]','a[href^="https://affiliazioniads.snai.it/"]'],easyListLithuania:[".reklamos_tarpas",".reklamos_nuorodos",'img[alt="Reklaminis skydelis"]','img[alt="Dedikuoti.lt serveriai"]','img[alt="Hostingas Serveriai.lt"]'],estonian:['A[href*="http://pay4results24.eu"]'],fanboyAnnoyances:["#feedback-tab","#taboola-below-article",".feedburnerFeedBlock",".widget-feedburner-counter",'[title="Subscribe to our blog"]'],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:[".td-tags-and-social-wrapper-box",".twitterContainer",".youtube-social",'a[title^="Like us on Facebook"]','img[alt^="Share on Digg"]'],frellwitSwedish:['a[href*="casinopro.se"][target="_blank"]','a[href*="doktor-se.onelink.me"]',"article.category-samarbete","div.holidAds","ul.adsmodern"],greekAdBlock:['A[href*="adman.otenet.gr/click?"]','A[href*="http://axiabanners.exodus.gr/"]','A[href*="http://interactive.forthnet.gr/click?"]',"DIV.agores300","TABLE.advright"],hungarian:['A[href*="ad.eval.hu"]','A[href*="ad.netmedia.hu"]','A[href*="daserver.ultraweb.hu"]',"#cemp_doboz",".optimonk-iframe-container"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container",".cookie-msg-info-container","#cookies-policy-sticky"],icelandicAbp:['A[href^="/framework/resources/forms/ads.aspx"]'],latvian:['a[href="http://www.salidzini.lv/"][style="display: block; width: 120px; height: 40px; overflow: hidden; position: relative;"]','a[href="http://www.salidzini.lv/"][style="display: block; width: 88px; height: 31px; overflow: hidden; position: relative;"]'],listKr:['a[href*="//kingtoon.slnk.kr"]','a[href*="//playdsb.com/kr"]',"div.logly-lift-adz",'div[data-widget_id="ml6EJ074"]',"ins.daum_ddn_area"],listeAr:[".geminiLB1Ad",".right-and-left-sponsers",'a[href*=".aflam.info"]','a[href*="booraq.org"]','a[href*="dubizzle.com/ar/?utm_source="]'],listeFr:['a[href^="http://promo.vador.com/"]',"#adcontainer_recherche",'a[href*="weborama.fr/fcgi-bin/"]',".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",'[href^="https://aff.sendhub.pl/"]','a[href^="http://advmanager.techfun.pl/redirect/"]','a[href^="http://www.trizer.pl/?utm_source"]',"div#skapiec_ad"],ro:['a[href^="//afftrk.altex.ro/Counter/Click"]','a[href^="/magazin/"]','a[href^="https://blackfridaysales.ro/trk/shop/"]','a[href^="https://event.2performant.com/events/click"]','a[href^="https://l.profitshare.ro/"]'],ruAd:['a[href*="//febrare.ru/"]','a[href*="//utimg.ru/"]','a[href*="://chikidiki.ru"]',"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]","#ads-google-middle_rectangle-group",".ads300s",".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",".ctpl-fullbanner",".zergnet-recommend",".yt.btn-link.btn-md.btn"]};function ye(e){var t;return B(this,void 0,void 0,(function(){var r,n,o,i,a,s,c;return L(this,(function(u){switch(u.label){case 0:for(r=document,n=r.createElement("div"),o=new Array(e.length),i={},ke(n),c=0;c<e.length;++c)a=se(e[c]),ke(s=r.createElement("div")),s.appendChild(a),n.appendChild(s),o[c]=a;u.label=1;case 1:return r.body?[3,3]:[4,M(50)];case 2:return u.sent(),[3,1];case 3:r.body.appendChild(n);try{for(c=0;c<e.length;++c)o[c].offsetParent||(i[e[c]]=!0)}finally{null===(t=n.parentNode)||void 0===t||t.removeChild(n)}return[2,i]}}))}))}function ke(e){e.style.setProperty("display","block","important")}function xe(e){return matchMedia("(inverted-colors: "+e+")").matches}function Se(e){return matchMedia("(forced-colors: "+e+")").matches}function Oe(e){return matchMedia("(prefers-contrast: "+e+")").matches}function _e(e){return matchMedia("(prefers-reduced-motion: "+e+")").matches}function Ce(e){return matchMedia("(dynamic-range: "+e+")").matches}var Ae=Math,Pe=function(){return 0},je={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},Ee={fonts:function(){return ae((function(e,t){var r=t.document,n=r.body;n.style.fontSize="48px";var o=r.createElement("div"),i={},a={},s=function(e){var t=r.createElement("span"),n=t.style;return n.position="absolute",n.top="0",n.left="0",n.fontFamily=e,t.textContent="mmMwWLliI0O&1",o.appendChild(t),t},c=le.map(s),u=function(){for(var e={},t=function(t){e[t]=le.map((function(e){return function(e,t){return s("'"+e+"',"+t)}(t,e)}))},r=0,n=de;r<n.length;r++)t(n[r]);return e}();n.appendChild(o);for(var f=0;f<le.length;f++)i[le[f]]=c[f].offsetWidth,a[le[f]]=c[f].offsetHeight;return de.filter((function(e){return t=u[e],le.some((function(e,r){return t[r].offsetWidth!==i[e]||t[r].offsetHeight!==a[e]}));var t}))}))},domBlockers:function(e){var t=(void 0===e?{}:e).debug;return B(this,void 0,void 0,(function(){var e,r,n,o;return L(this,(function(i){switch(i.label){case 0:return te()||oe()?(e=Object.keys(be),[4,ye((o=[]).concat.apply(o,e.map((function(e){return be[e]}))))]):[2,void 0];case 1:return r=i.sent(),t&&function(e){for(var t="DOM blockers debug:\n```",r=0,n=Object.keys(be);r<n.length;r++){var o=n[r];t+="\n"+o+":";for(var i=0,a=be[o];i<a.length;i++){var s=a[i];t+="\n  "+s+" "+(e[s]?"🚫":"➡️")}}console.log(t+"\n```")}(r),(n=e.filter((function(e){var t=be[e];return X(t.map((function(e){return r[e]})))>.6*t.length}))).sort(),[2,n]}}))}))},fontPreferences:function(){return void 0===e&&(e=4e3),ae((function(t,r){var n=r.document,o=n.body,i=o.style;i.width=e+"px",i.webkitTextSizeAdjust=i.textSizeAdjust="none",ee()?o.style.zoom=""+1/r.devicePixelRatio:te()&&(o.style.zoom="reset");var a=n.createElement("div");return a.textContent=D(Array(e/20<<0)).map((function(){return"word"})).join(" "),o.appendChild(a),function(e,t){for(var r={},n={},o=0,i=Object.keys(je);o<i.length;o++){var a=i[o],s=je[a],c=s[0],u=void 0===c?{}:c,f=s[1],l=void 0===f?"mmMwWLliI0fiflO&1":f,d=e.createElement("span");d.textContent=l,d.style.whiteSpace="nowrap";for(var p=0,h=Object.keys(u);p<h.length;p++){var v=h[p],m=u[v];void 0!==m&&(d.style[v]=m)}r[a]=d,t.appendChild(e.createElement("br")),t.appendChild(d)}for(var g=0,w=Object.keys(je);g<w.length;g++)n[a=w[g]]=r[a].getBoundingClientRect().width;return n}(n,o)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">');var e},audio:function(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(te()&&!re()&&!function(){var e=window;return X(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return-1;var r=new t(1,5e3,44100),n=r.createOscillator();n.type="triangle",n.frequency.value=1e4;var o=r.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,n.connect(o),o.connect(r.destination),n.start(0);var i=function(e){var t=function(){};return[new Promise((function(r,n){var o=!1,i=0,a=0;e.oncomplete=function(e){return r(e.renderedBuffer)};var s=function(){setTimeout((function(){return n(ie("timeout"))}),Math.min(500,a+5e3-Date.now()))},c=function(){try{switch(e.startRendering(),e.state){case"running":a=Date.now(),o&&s();break;case"suspended":document.hidden||i++,o&&i>=3?n(ie("suspended")):setTimeout(c,500)}}catch(e){n(e)}};c(),t=function(){o||(o=!0,a>0&&s())}})),t]}(r),a=i[0],s=i[1],c=a.then((function(e){return function(e){for(var t=0,r=0;r<e.length;++r)t+=Math.abs(e[r]);return t}(e.getChannelData(0).subarray(4500))}),(function(e){if("timeout"===e.name||"suspended"===e.name)return-3;throw e}));return c.catch((function(){})),function(){return s(),c}},screenFrame:function(){var e=this,t=function(){var e=this;return function(){if(void 0===fe){var e=function(){var t=ge();we(t)?fe=setTimeout(e,2500):(ue=t,fe=void 0)};e()}}(),function(){return B(e,void 0,void 0,(function(){var e;return L(this,(function(t){switch(t.label){case 0:return we(e=ge())?ue?[2,D(ue)]:(r=document).fullscreenElement||r.msFullscreenElement||r.mozFullScreenElement||r.webkitFullscreenElement?[4,ne()]:[3,2]:[3,2];case 1:t.sent(),e=ge(),t.label=2;case 2:return we(e)||(ue=e),[2,e]}var r}))}))}}();return function(){return B(e,void 0,void 0,(function(){var e,r;return L(this,(function(n){switch(n.label){case 0:return[4,t()];case 1:return e=n.sent(),[2,[(r=function(e){return null===e?null:K(e,10)})(e[0]),r(e[1]),r(e[2]),r(e[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,r=[],n=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==n&&r.push([n]),Array.isArray(t.languages))ee()&&X([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||r.push(t.languages);else if("string"==typeof t.languages){var o=t.languages;o&&r.push(o.split(","))}return r},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return $(J(navigator.deviceMemory),void 0)},screenResolution:function(){var e=screen,t=function(e){return $(W(e),null)},r=[t(e.width),t(e.height)];return r.sort().reverse(),r},hardwareConcurrency:function(){return $(W(navigator.hardwareConcurrency),void 0)},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t){var r=(new t).resolvedOptions().timeZone;if(r)return r}var n,o=(n=(new Date).getFullYear(),-Math.max(J(new Date(n,0,1).getTimezoneOffset()),J(new Date(n,6,1).getTimezoneOffset())));return"UTC"+(o>=0?"+":"")+Math.abs(o)},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){var e,t;if(!(Q()||(e=window,t=navigator,X(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!Q())))try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var e=navigator.platform;return"MacIntel"===e&&te()&&!re()?function(){if("iPad"===navigator.platform)return!0;var e=screen,t=e.width/e.height;return X(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPad":"iPhone":e},plugins:function(){var e=navigator.plugins;if(e){for(var t=[],r=0;r<e.length;++r){var n=e[r];if(n){for(var o=[],i=0;i<n.length;++i){var a=n[i];o.push({type:a.type,suffixes:a.suffixes})}t.push({name:n.name,description:n.description,mimeTypes:o})}}return t}},canvas:function(){var e=function(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}(),t=e[0],r=e[1];return function(e,t){return!(!t||!e.toDataURL)}(t,r)?{winding:pe(r),geometry:ve(t,r),text:he(t,r)}:{winding:!1,geometry:"",text:""}},touchSupport:function(){var e,t=navigator,r=0;void 0!==t.maxTouchPoints?r=W(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(r=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return{maxTouchPoints:r,touchEvent:e,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var e=[],t=0,r=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<r.length;t++){var n=r[t],o=window[n];o&&"object"==typeof o&&e.push(n)}return e.sort()},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}},colorGamut:function(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var r=t[e];if(matchMedia("(color-gamut: "+r+")").matches)return r}},invertedColors:function(){return!!xe("inverted")||!xe("none")&&void 0},forcedColors:function(){return!!Se("active")||!Se("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=100;++e)if(matchMedia("(max-monochrome: "+e+")").matches)return e;throw new Error("Too high value")}},contrast:function(){return Oe("no-preference")?0:Oe("high")||Oe("more")?1:Oe("low")||Oe("less")?-1:Oe("forced")?10:void 0},reducedMotion:function(){return!!_e("reduce")||!_e("no-preference")&&void 0},hdr:function(){return!!Ce("high")||!Ce("standard")&&void 0},math:function(){var e,t=Ae.acos||Pe,r=Ae.acosh||Pe,n=Ae.asin||Pe,o=Ae.asinh||Pe,i=Ae.atanh||Pe,a=Ae.atan||Pe,s=Ae.sin||Pe,c=Ae.sinh||Pe,u=Ae.cos||Pe,f=Ae.cosh||Pe,l=Ae.tan||Pe,d=Ae.tanh||Pe,p=Ae.exp||Pe,h=Ae.expm1||Pe,v=Ae.log1p||Pe;return{acos:t(.12312423423423424),acosh:r(1e308),acoshPf:(e=1e154,Ae.log(e+Ae.sqrt(e*e-1))),asin:n(.12312423423423424),asinh:o(1),asinhPf:Ae.log(1+Ae.sqrt(2)),atanh:i(.5),atanhPf:Ae.log(3)/2,atan:a(.5),sin:s(-1e300),sinh:c(1),sinhPf:Ae.exp(1)-1/Ae.exp(1)/2,cos:u(10.000000000123),cosh:f(1),coshPf:(Ae.exp(1)+1/Ae.exp(1))/2,tan:l(-1e300),tanh:d(1),tanhPf:(Ae.exp(2)-1)/(Ae.exp(2)+1),exp:p(1),expm1:h(1),expm1Pf:Ae.exp(1)-1,log1p:v(10),log1pPf:Ae.log(11),powPI:Ae.pow(Ae.PI,-100)}}};function Ie(e){var t=function(e){if(oe())return.4;if(te())return re()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(e),r=function(e){return K(.99+.01*e,1e-4)}(t);return{score:t,comment:"$ if upgrade to Pro: https://fpjs.dev/pro".replace(/\$/g,""+r)}}function Te(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?R({name:(r=t).name,message:r.message,stack:null===(n=r.stack)||void 0===n?void 0:n.split("\n")},r):t;var r,n}),2)}function Re(e){return function(e,t){t=t||0;var r,n=(e=e||"").length%16,o=e.length-n,i=[0,t],a=[0,t],s=[0,0],c=[0,0],u=[2277735313,289559509],f=[1291169091,658871167];for(r=0;r<o;r+=16)s=[255&e.charCodeAt(r+4)|(255&e.charCodeAt(r+5))<<8|(255&e.charCodeAt(r+6))<<16|(255&e.charCodeAt(r+7))<<24,255&e.charCodeAt(r)|(255&e.charCodeAt(r+1))<<8|(255&e.charCodeAt(r+2))<<16|(255&e.charCodeAt(r+3))<<24],c=[255&e.charCodeAt(r+12)|(255&e.charCodeAt(r+13))<<8|(255&e.charCodeAt(r+14))<<16|(255&e.charCodeAt(r+15))<<24,255&e.charCodeAt(r+8)|(255&e.charCodeAt(r+9))<<8|(255&e.charCodeAt(r+10))<<16|(255&e.charCodeAt(r+11))<<24],s=G(s=F(s,u),31),i=z(i=G(i=V(i,s=F(s,f)),27),a),i=z(F(i,[0,5]),[0,1390208809]),c=G(c=F(c,f),33),a=z(a=G(a=V(a,c=F(c,u)),31),i),a=z(F(a,[0,5]),[0,944331445]);switch(s=[0,0],c=[0,0],n){case 15:c=V(c,q([0,e.charCodeAt(r+14)],48));case 14:c=V(c,q([0,e.charCodeAt(r+13)],40));case 13:c=V(c,q([0,e.charCodeAt(r+12)],32));case 12:c=V(c,q([0,e.charCodeAt(r+11)],24));case 11:c=V(c,q([0,e.charCodeAt(r+10)],16));case 10:c=V(c,q([0,e.charCodeAt(r+9)],8));case 9:c=F(c=V(c,[0,e.charCodeAt(r+8)]),f),a=V(a,c=F(c=G(c,33),u));case 8:s=V(s,q([0,e.charCodeAt(r+7)],56));case 7:s=V(s,q([0,e.charCodeAt(r+6)],48));case 6:s=V(s,q([0,e.charCodeAt(r+5)],40));case 5:s=V(s,q([0,e.charCodeAt(r+4)],32));case 4:s=V(s,q([0,e.charCodeAt(r+3)],24));case 3:s=V(s,q([0,e.charCodeAt(r+2)],16));case 2:s=V(s,q([0,e.charCodeAt(r+1)],8));case 1:s=F(s=V(s,[0,e.charCodeAt(r)]),u),i=V(i,s=F(s=G(s,31),f))}return i=z(i=V(i,[0,e.length]),a=V(a,[0,e.length])),a=z(a,i),i=z(i=H(i),a=H(a)),a=z(a,i),("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}(function(e){for(var t="",r=0,n=Object.keys(e).sort();r<n.length;r++){var o=n[r],i=e[o],a=i.error?"error":JSON.stringify(i.value);t+=(t?"|":"")+o.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}function Be(e){return void 0===e&&(e=50),function(e,t){void 0===t&&(t=1/0);var r=window.requestIdleCallback;return r?new Promise((function(e){return r.call(window,(function(){return e()}),{timeout:t})})):M(Math.min(e,t))}(e,2*e)}function Le(e,t){var r=Date.now();return{get:function(n){return B(this,void 0,void 0,(function(){var o,i,a;return L(this,(function(s){switch(s.label){case 0:return o=Date.now(),[4,e()];case 1:return i=s.sent(),a=function(e){var t;return{get visitorId(){return void 0===t&&(t=Re(this.components)),t},set visitorId(e){t=e},confidence:Ie(e),components:e,version:"3.3.3"}}(i),(t||(null==n?void 0:n.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: "+a.version+"\nuserAgent: "+navigator.userAgent+"\ntimeBetweenLoadAndGet: "+(o-r)+"\nvisitorId: "+a.visitorId+"\ncomponents: "+Te(i)+"\n```"),[2,a]}}))}))}}}var De={load:function(e){var t=void 0===e?{}:e,r=t.delayFallback,n=t.debug,o=t.monitoring,i=void 0===o||o;return B(this,void 0,void 0,(function(){return L(this,(function(e){switch(e.label){case 0:return i&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v3.3.3/npm-monitoring",!0),e.send()}catch(e){console.error(e)}}(),[4,Be(r)];case 1:return e.sent(),[2,Le(Y(Ee,{debug:n},[]),n)]}}))}))},hashComponents:Re,componentsToDebugString:Te};function Me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){Ue(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ze(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Fe(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ze(i,n,o,a,s,"next",e)}function s(e){ze(i,n,o,a,s,"throw",e)}a(void 0)}))}}function Ge(){return qe.apply(this,arguments)}function qe(){return(qe=Fe(regeneratorRuntime.mark((function e(){var t,r,n,o,i,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:"",e.next=3,De.load();case 3:return r=e.sent,e.next=6,r.get();case 6:return n=e.sent,o=n.components,i=Ne(Ne({},o),{},{browserInfo:u(),deviceModel:c(),deviceId:{value:t}}),e.abrupt("return",i);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ve(e){var t=["_tracingid_v1.4.0","web_tracing_id"],r=window.location.hostname.split("."),n=[];r.forEach((function(e,t){n.push(r.slice(-(r.length-t)).join("."))})),n.forEach((function(r){var n={expires:7,domain:r,secure:!0};t.forEach((function(t){o.set(t,e,n)}))}))}function He(){return(He=Fe(regeneratorRuntime.mark((function e(){var t,r,n,i=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:"",r=o.get("_tracingid_v1.4.0")){e.next=7;break}return e.next=5,Ge(t);case 5:n=e.sent,r=De.hashComponents(n);case 7:return Ve(r),e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var We=function(){return He.apply(this,arguments)};function Je(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function $e(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Je(i,n,o,a,s,"next",e)}function s(e){Je(i,n,o,a,s,"throw",e)}a(void 0)}))}}function Xe(){return(Xe=$e(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,We();case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ke=function(e,t,r){return Promise.race([e,(n=t,o={error:"".concat(r," time out")},new Promise((function(e){setTimeout(e.bind(null,o),n)})))]);var n,o},Ze=function(e){return new Promise((function(t,r){var n=window.BGO.options,o=n.official_account_id,i=n.token;o&&i||(console.log("call js sdk ".concat(e," error, jssdk is not initialized")),r({error:"jssdk not initialized"})),window.BGO[e]((function(n){n.error&&(console.log("call js sdk ".concat(e," error"),n.error),r(n)),t(n)}))}))};function Ye(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function Qe(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ye(i,n,o,a,s,"next",e)}function s(e){Ye(i,n,o,a,s,"throw",e)}a(void 0)}))}}function et(){return(et=Qe(regeneratorRuntime.mark((function e(){var t,r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=p.getInstance(),!window.BGO){e.next=10;break}if(t.deviceId&&t.deviceModel&&t.carrier&&t.osName&&t.osVersion&&t.appVersion&&t.appBuild&&t.network){e.next=10;break}return r=Ze("get_tracking_data"),e.next=8,Ke(r,500,"get_tracking_data");case 8:(n=e.sent).error||t.setBfH5TrackingData(n.device_id,n.device_model,n.carrier,n.os_name,n.os_version,n.app_version,n.app_build,n.network);case 10:return e.abrupt("return",t.getDeviceModel());case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var tt,rt,nt,ot={switchSlot:function(e){var t=e.experimentationInfo;p.getInstance().setSlot({experimentationInfo:t})},getTrackId:function(){return Xe.apply(this,arguments)},setLoginStatus:function(e){var t=e.isLoggedIn,r=e.openId;p.getInstance().setLoginStatus({isLoggedIn:t,openId:r})},getBrowserName:function(){return p.getInstance().getBrowserInfo().name},getDeviceModel:function(){return et.apply(this,arguments)},getExperimentInfo:function(){return p.getInstance().getExperimentInfo()},setAliasInfo:function(e){var t=p.getInstance();sessionStorage.setItem("aliasInfo",JSON.stringify(e)),t.setAliasInfo(e),console.log("set alias info success")},changePageUrl:function(){console.log("changePageUrl 目前已棄用")},setBfH5network:function(){console.log("setBfH5network 目前已棄用")},setBfH5DeviceInfo:function(){console.log("setBfH5DeviceInfo 目前已棄用")},changeBfH5APPVersion:function(){console.log("changeBfH5APPVersion 目前已棄用")}},it=(r(666),r(111),function(e,t){return Math.floor(Math.random()*(t-e+1)+e)}),at=function e(t){function r(e,t){return e>>>t|e<<32-t}for(var n,o,i=Math.pow,a=i(2,32),s="",c=[],u=8*t.length,f=e.h=e.h||[],l=e.k=e.k||[],d=l.length,p={},h=2;d<64;h++)if(!p[h]){for(n=0;n<313;n+=h)p[n]=h;f[d]=i(h,.5)*a|0,l[d++]=i(h,1/3)*a|0}for(t+="€";t.length%64-56;)t+="\0";for(n=0;n<t.length;n++){if((o=t.charCodeAt(n))>>8)return;c[n>>2]|=o<<(3-n)%4*8}for(c[c.length]=u/a|0,c[c.length]=u,o=0;o<c.length;){var v=c.slice(o,o+=16),m=f;for(f=f.slice(0,8),n=0;n<64;n++){var g=v[n-15],w=v[n-2],b=f[0],y=f[4],k=f[7]+(r(y,6)^r(y,11)^r(y,25))+(y&f[5]^~y&f[6])+l[n]+(v[n]=n<16?v[n]:v[n-16]+(r(g,7)^r(g,18)^g>>>3)+v[n-7]+(r(w,17)^r(w,19)^w>>>10)|0);(f=[k+((r(b,2)^r(b,13)^r(b,22))+(b&f[1]^b&f[2]^f[1]&f[2]))|0].concat(f))[4]=f[4]+k|0}for(n=0;n<8;n++)f[n]=f[n]+m[n]|0}for(n=0;n<8;n++)for(o=3;o+1;o--){var x=f[n]>>8*o&255;s+=(x<16?0:"")+x.toString(16)}return s},st=(tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{encode:rt=function(e){var t,r,n,o,i,a,s,c="",u=0;for(e=function(e){var t,r,n="";for(e=e.replace(/\r\n/g,"\n"),r=0;r<e.length;r++)(t=e.charCodeAt(r))<128?n+=String.fromCharCode(t):t>127&&t<2048?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n}(e);u<e.length;)o=(t=e.charCodeAt(u++))>>2,i=(3&t)<<4|(r=e.charCodeAt(u++))>>4,a=(15&r)<<2|(n=e.charCodeAt(u++))>>6,s=63&n,isNaN(r)?a=s=64:isNaN(n)&&(s=64),c+=tt.charAt(o),c+=tt.charAt(i),c+=tt.charAt(a),c+=tt.charAt(s);return c},decode:nt=function(e){var t,r,n,o,i,a,s="",c=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");c<e.length;)t=tt.indexOf(e.charAt(c++))<<2|(o=tt.indexOf(e.charAt(c++)))>>4,r=(15&o)<<4|(i=tt.indexOf(e.charAt(c++)))>>2,n=(3&i)<<6|(a=tt.indexOf(e.charAt(c++))),s+=String.fromCharCode(t),64!==i&&(s+=String.fromCharCode(r)),64!==a&&(s+=String.fromCharCode(n));return function(e){for(var t="",r=0,n=0,o=0,i=0;r<e.length;)(n=e.charCodeAt(r))<128?(t+=String.fromCharCode(n),r++):n>191&&n<224?(o=e.charCodeAt(r+1),t+=String.fromCharCode((31&n)<<6|63&o),r+=2):(o=e.charCodeAt(r+1),i=e.charCodeAt(r+2),t+=String.fromCharCode((15&n)<<12|(63&o)<<6|63&i),r+=3);return t}(s)},decodeToHex:function(e){return function(e){var t,r="";for(t=0;t<e.length;t++)r+=e.charCodeAt(t).toString(16);return r}(nt(e))},encodeFromHex:function(e){return rt(function(e){var t,r="";for(e.length%2>0&&(e="0".concat(e)),t=0;t<e.length;t+=2)r+=String.fromCharCode(parseInt(e.charAt(t)+e.charAt(t+1),16));return r}(e))}}),ct=function(e){var t=new Date(Date.now()).setMilliseconds(0).toString().substring(0,10),r=at("".concat(e).concat(t)),n=it(1e5,999999).toString(),o=it(100,999).toString();return t+st.encode(n+r+o)},ut=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){return t.reduceRight((function(e,t){return e.then(t.bind(r))}),Promise.resolve(e))}},ft=r(669),lt=r.n(ft);function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vt=function(e){var t=e.baseURL,r=void 0===t?"https://track.beanfun.com/":t,n=e.method,o=void 0===n?"POST":n,i=e.endpoint,a=void 0===i?"":i,s=e.params,c=void 0===s?{}:s,u=e.data,f=void 0===u?{}:u,l=e.uri,d=void 0===l?"":l,p=e.headers,h=void 0===p?{}:p;return lt()(pt(pt({headers:pt(pt({},h),{},{"Content-Type":"application/json","Accept-Language":"zh-TW"})},d?{url:d}:{baseURL:r,url:a}),"GET"===o.toUpperCase()?{params:c}:{method:o,params:c,data:f}))};function mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(r),!0).forEach((function(t){wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bt(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return yt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function kt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xt(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function St(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){xt(i,n,o,a,s,"next",e)}function s(e){xt(i,n,o,a,s,"throw",e)}a(void 0)}))}}function Ot(e,t,r){return _t.apply(this,arguments)}function _t(){return(_t=St(regeneratorRuntime.mark((function e(t,r,n){var o,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=ct(n),a={method:"POST",data:r,endpoint:t},s={Authorization:"Bearer ".concat(o),BUID:n},e.prev=3,Array.isArray(r)?console.log("webTrackingSDK event ".concat(bt(r.map((function(e){return e.event_id})))," :"),r):console.log("webTrackingSDK event ".concat(r.event_id," :"),r),e.next=7,vt(gt({headers:s},a));case 7:i=e.sent,e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),console.error(e.t0);case 13:return e.abrupt("return",i);case 14:case"end":return e.stop()}}),e,null,[[3,10]])})))).apply(this,arguments)}function Ct(e){return At.apply(this,arguments)}function At(){return(At=St(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t[0],n=t[1],o=t[2],e.next=5,Ot(r,n,o);case 5:return i=e.sent,e.abrupt("return",{status:i?i.status:"",message:i?i.data.message:""});case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Pt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.BUID=t,this.URI="https://track.beanfun.com/"}var t,r,n,i,a,s,c,u;return t=e,(r=[{key:"passEvent",value:(u=St(regeneratorRuntime.mark((function e(t){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.buildEventPipe.bind(this),e.next=3,ut(Ct,r)(t,this);case 3:return n=e.sent,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"buildEventPipe",value:(c=St(regeneratorRuntime.mark((function e(t){var r,n,o,i,a,s,c,u,f,l,d,p,h=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=Array.isArray(t),n=r?"/v2/events":"/v2/event",o=navigator.userAgent.toLocaleLowerCase().match("beanfun"),i=this.processH5TrackingData,a=this.processH5OpenId,s=this.processTrackId,c=this.processPageUri,u=function(e){return ut(i,a,s,c)(e,h)},f=function(e){return ut(s,c)(e,h)},!r){e.next=13;break}return d=t,e.next=10,Promise.all(d.map(function(){var e=St(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o){e.next=6;break}return e.next=3,u(t);case 3:e.t0=e.sent,e.next=9;break;case 6:return e.next=8,f(t);case 8:e.t0=e.sent;case 9:return r=e.t0,e.abrupt("return",r);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 10:l=e.sent,e.next=24;break;case 13:if(p=t,!o){e.next=20;break}return e.next=17,u(p);case 17:e.t0=e.sent,e.next=23;break;case 20:return e.next=22,f(p);case 22:e.t0=e.sent;case 23:l=e.t0;case 24:return e.abrupt("return",[n,l,this.BUID]);case 25:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"processPageUri",value:(s=St(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p.getInstance().setPageUri(window.location.href),t.updatePageUriFromConfig(),e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))),function(e){return s.apply(this,arguments)})},{key:"processTrackId",value:(a=St(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,We(t.device_id);case 2:return this.trackId=e.sent,t.setTrackId(this.trackId),e.abrupt("return",t);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"processH5OpenId",value:(i=St(regeneratorRuntime.mark((function e(t){var r,n,i,a,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=t).openid){e.next=14;break}if((i=o.get("opid"))&&!this.openid&&(this.openid=i),this.openid){e.next=12;break}if(!window.BGO){e.next=12;break}return a=Ze("get_me_openid"),e.next=10,Ke(a,500,"get_me_openid");case 10:(s=e.sent).error||(this.openid=s.open_id);case 12:(n=this.openid)&&r.setOpenId(n);case 14:return e.abrupt("return",r);case 15:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"processH5TrackingData",value:(n=St(regeneratorRuntime.mark((function e(t){var r,n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=p.getInstance(),n=t,!window.BGO){e.next=11;break}if(r.deviceId&&r.deviceModel&&r.carrier&&r.osName&&r.osVersion&&r.appVersion&&r.appBuild&&r.network){e.next=11;break}return o=Ze("get_tracking_data"),e.next=9,Ke(o,500,"get_tracking_data");case 9:(i=e.sent).error||r.setBfH5TrackingData(i.device_id,i.device_model,i.carrier,i.os_name,i.os_version,i.app_version,i.app_build,i.network);case 11:return n.updateBfH5TrackingDataFromConfig(),e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})}])&&kt(t.prototype,r),e}();function jt(e){var t=e.BUID,r=e.property,n=e.sourceProperty,o=e.GTMId,i=void 0===o?null:o,a=new p({BUID:t,property:r,sourceProperty:n});return i?new Promise((function(e){var t=new Pt(a.getBUID());window.gtmResolve=e,window.gtmSender=t;var r=document.createElement("script");r.innerHTML="(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.defer=true;j.src=\n      '".concat("https://www.googletagmanager.com/gtm.js","?id='+i+dl;j.onerror=function(){console.error('GTM script loading error')};\n      j.onload=function(){window.gtmResolve(gtmSender);};j.onreadystatechange=function(){\n      window.gtmResolve(gtmSender);};f.parentNode.insertBefore(j,f);\n      })(window,document,'script','dataLayer','").concat(i,"');"),document.head.appendChild(r)})):new Pt(a.getBUID())}}(),beanfunWebTraceSDK=n}();