@rebilly/risk-data-collector 4.22.13 → 4.22.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/data-collector.js +1634 -592
- package/dist/data-collector.js.map +1 -1
- package/dist/data-collector.min.js +8 -1
- package/dist/data-collector.min.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
var RiskDataCollector=function(T){"use strict";var N=function(){return N=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},N.apply(this,arguments)};function ue(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function p(r,e,t,n){function o(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function l(c){try{R(n.next(c))}catch(s){a(s)}}function d(c){try{R(n.throw(c))}catch(s){a(s)}}function R(c){c.done?i(c.value):o(c.value).then(l,d)}R((n=n.apply(r,e||[])).next())})}function de(r,e,t){if(t||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return r.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function he(r,e){return function(t,n){return Object.prototype.hasOwnProperty.call(t,n)}(r,e)?r[e]:void 0}var b={default:"endpoint"},j={default:"tlsEndpoint"};function y(r){for(var e="",t=0;t<r.length;++t)if(t>0){var n=r[t].toLowerCase();n!==r[t]?e+=" ".concat(n):e+=r[t]}else e+=r[t].toUpperCase();return e}var U="Client timeout",M="Network connection error",F="Network request aborted",x="Response cannot be parsed",A="Blocked by CSP",P="The endpoint parameter is not a valid URL",B=y("WrongRegion"),V=y("SubscriptionNotActive"),q=y("UnsupportedVersion"),G=y("InstallationMethodRestricted"),H=y("HostnameRestricted"),$=y("IntegrationFailed"),D="API key required",C="API key not found",L="API key expired",W="Request cannot be parsed",J="Request failed",Y="Request failed to process",X="Too many requests, rate limit exceeded",Q="Not available for this origin",z="Not available with restricted header",Z=D,ee=C,te=L,Re="3.9.2",m="Failed to load the JS script of the agent",K="9319";function fe(r,e){var t,n,o,i,a,l,d=[],R=(t=function(f){var h=de([],f,!0);return{current:function(){return h[0]},postpone:function(){var E=h.shift();E!==void 0&&h.push(E)},exclude:function(){h.shift()}}}(r),i=100,a=3e3,l=0,n=function(){return Math.random()*Math.min(a,i*Math.pow(2,l++))},o=new Set,[t.current(),function(f,h){var E,_=h instanceof Error?h.message:"";if(_===A||_===P)t.exclude(),E=0;else if(_===K)t.exclude();else if(_===m){var O=Date.now()-f.getTime()<50,g=t.current();g&&O&&!o.has(g)&&(o.add(g),E=0),t.postpone()}else t.postpone();var S=t.current();return S===void 0?void 0:[S,E??f.getTime()+n()-Date.now()]}]),c=R[0],s=R[1];if(c===void 0)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var u=function(f){var h=new Date,E=function(O){return d.push({url:f,startedAt:h,finishedAt:new Date,error:O})},_=e(f);return _.then(function(){return E()},E),_.catch(function(O){if(d.length>=5)throw O;var g=s(h,O);if(!g)throw O;var S,Me=g[0],Fe=g[1];return(S=Fe,new Promise(function(xe){return setTimeout(xe,S)})).then(function(){return u(Me)})})};return u(c).then(function(f){return[f,d]})}var ne="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",k=ne;function re(r){var e;r.scriptUrlPattern;var t=r.token,n=r.apiKey,o=n===void 0?t:n,i=ue(r,["scriptUrlPattern","token","apiKey"]),a=(e=he(r,"scriptUrlPattern"))!==null&&e!==void 0?e:ne,l=function(){var c=[],s=function(){c.push({time:new Date,state:document.visibilityState})},u=function(f,h,E,_){return f.addEventListener(h,E,_),function(){return f.removeEventListener(h,E,_)}}(document,"visibilitychange",s);return s(),[c,u]}(),d=l[0],R=l[1];return Promise.resolve().then(function(){if(!o||typeof o!="string")throw new Error(D);var c=function(s,u){return(Array.isArray(s)?s:[s]).map(function(f){return function(h,E){var _=encodeURIComponent;return h.replace(/<[^<>]+>/g,function(O){return O==="<version>"?"3":O==="<apiKey>"?_(E):O==="<loaderVersion>"?_(Re):O})}(String(f),u)})}(a,o);return fe(c,Ee)}).catch(function(c){throw R(),function(s){return s instanceof Error&&s.message===K?new Error(m):s}(c)}).then(function(c){var s=c[0],u=c[1];return R(),s.load(N(N({},i),{ldi:{attempts:u,visibilityStates:d}}))})}function Ee(r){return function(e,t,n,o){var i,a=document,l="securitypolicyviolation",d=function(c){var s=new URL(e,location.href),u=c.blockedURI;u!==s.href&&u!==s.protocol.slice(0,-1)&&u!==s.origin||(i=c,R())};a.addEventListener(l,d);var R=function(){return a.removeEventListener(l,d)};return o==null||o.then(R,R),Promise.resolve().then(t).then(function(c){return R(),c},function(c){return new Promise(function(s){return setTimeout(s)}).then(function(){if(R(),i)return n(i);throw c})})}(r,function(){return function(e){return new Promise(function(t,n){if(function(l){if(URL.prototype)try{return new URL(l,location.href),!1}catch(d){if(d instanceof Error&&d.name==="TypeError")return!0;throw d}}(e))throw new Error(P);var o=document.createElement("script"),i=function(){var l;return(l=o.parentNode)===null||l===void 0?void 0:l.removeChild(o)},a=document.head||document.getElementsByTagName("head")[0];o.onload=function(){i(),t()},o.onerror=function(){i(),n(new Error(m))},o.async=!0,o.src=e,a.appendChild(o)})}(r)},function(){throw new Error(A)}).then(_e)}function _e(){var r=window,e="__fpjs_p_l_b",t=r[e];if(function(n,o){var i,a=(i=Object.getOwnPropertyDescriptor)===null||i===void 0?void 0:i.call(Object,n,o);a!=null&&a.configurable?delete n[o]:a&&!a.writable||(n[o]=void 0)}(r,e),typeof(t==null?void 0:t.load)!="function")throw new Error(K);return t}var Oe={load:re,defaultScriptUrlPattern:k,ERROR_SCRIPT_LOAD_FAIL:m,ERROR_API_KEY_EXPIRED:L,ERROR_API_KEY_INVALID:C,ERROR_API_KEY_MISSING:D,ERROR_BAD_REQUEST_FORMAT:W,ERROR_BAD_RESPONSE_FORMAT:x,ERROR_CLIENT_TIMEOUT:U,ERROR_CSP_BLOCK:A,ERROR_FORBIDDEN_ENDPOINT:H,ERROR_FORBIDDEN_HEADER:z,ERROR_FORBIDDEN_ORIGIN:Q,ERROR_GENERAL_SERVER_FAILURE:J,ERROR_INSTALLATION_METHOD_RESTRICTED:G,ERROR_INTEGRATION_FAILURE:$,ERROR_INVALID_ENDPOINT:P,ERROR_NETWORK_ABORT:F,ERROR_NETWORK_CONNECTION:M,ERROR_RATE_LIMIT:X,ERROR_SERVER_TIMEOUT:Y,ERROR_SUBSCRIPTION_NOT_ACTIVE:V,ERROR_TOKEN_EXPIRED:te,ERROR_TOKEN_INVALID:ee,ERROR_TOKEN_MISSING:Z,ERROR_UNSUPPORTED_VERSION:q,ERROR_WRONG_REGION:B,defaultEndpoint:b,defaultTlsEndpoint:j};const pe=Object.freeze(Object.defineProperty({__proto__:null,ERROR_API_KEY_EXPIRED:L,ERROR_API_KEY_INVALID:C,ERROR_API_KEY_MISSING:D,ERROR_BAD_REQUEST_FORMAT:W,ERROR_BAD_RESPONSE_FORMAT:x,ERROR_CLIENT_TIMEOUT:U,ERROR_CSP_BLOCK:A,ERROR_FORBIDDEN_ENDPOINT:H,ERROR_FORBIDDEN_HEADER:z,ERROR_FORBIDDEN_ORIGIN:Q,ERROR_GENERAL_SERVER_FAILURE:J,ERROR_INSTALLATION_METHOD_RESTRICTED:G,ERROR_INTEGRATION_FAILURE:$,ERROR_INVALID_ENDPOINT:P,ERROR_NETWORK_ABORT:F,ERROR_NETWORK_CONNECTION:M,ERROR_RATE_LIMIT:X,ERROR_SCRIPT_LOAD_FAIL:m,ERROR_SERVER_TIMEOUT:Y,ERROR_SUBSCRIPTION_NOT_ACTIVE:V,ERROR_TOKEN_EXPIRED:te,ERROR_TOKEN_INVALID:ee,ERROR_TOKEN_MISSING:Z,ERROR_UNSUPPORTED_VERSION:q,ERROR_WRONG_REGION:B,default:Oe,defaultEndpoint:b,defaultScriptUrlPattern:k,defaultTlsEndpoint:j,load:re},Symbol.toStringTag,{value:"Module"})),oe="@fpjs@client@",ve=60*60*24,ie=60*60,ge=()=>Date.now();class ye{constructor(e){var t;this.tag=e.tag||null,this.linkedId=e.linkedId||null,this.extendedResult=(t=e.extendedResult)!==null&&t!==void 0?t:!1}toKey(){return`${JSON.stringify(this.tag)}__${JSON.stringify(this.linkedId)}__${this.extendedResult}`}}function I(r,e){return`${e}__${r}`}function ae(r,e){return r.replace(`${e}__`,"")}class Ie{constructor(e=oe){this.prefix=e}set(e,t){window.localStorage.setItem(I(e,this.prefix),JSON.stringify(t))}get(e){const t=window.localStorage.getItem(I(e,this.prefix));if(t)try{return JSON.parse(t)}catch{return}}remove(e){window.localStorage.removeItem(I(e,this.prefix))}allKeys(){return Object.keys(window.localStorage).filter(e=>e.startsWith(this.prefix)).map(e=>ae(e,this.prefix))}}class me{constructor(e=oe){this.prefix=e}set(e,t){window.sessionStorage.setItem(I(e,this.prefix),JSON.stringify(t))}get(e){const t=window.sessionStorage.getItem(I(e,this.prefix));if(t)try{return JSON.parse(t)}catch{return}}remove(e){window.sessionStorage.removeItem(I(e,this.prefix))}allKeys(){return Object.keys(window.sessionStorage).filter(e=>e.startsWith(this.prefix)).map(e=>ae(e,this.prefix))}}class we{constructor(e,t=ie,n){this.cache=e,this.cacheTime=t,this.nowProvider=n||ge}get(e){return p(this,void 0,void 0,function*(){const t=yield this.cache.get(e.toKey());if(!t)return;const n=yield this.nowProvider(),o=Math.floor(n/1e3);if(t.expiresAt<o){yield this.cache.remove(e.toKey());return}return t.body})}set(e,t){return p(this,void 0,void 0,function*(){const n=yield this.wrapCacheEntry(t);yield this.cache.set(e.toKey(),n)})}clearCache(){return p(this,void 0,void 0,function*(){const e=yield this.cache.allKeys();yield Promise.all(e.map(t=>this.cache.remove(t)))})}wrapCacheEntry(e){return p(this,void 0,void 0,function*(){const t=yield this.nowProvider(),n=Math.floor(t/1e3)+this.cacheTime;return{body:e,expiresAt:n}})}}class Se{constructor(){this.enclosedCache=function(){const e={};return{set(t,n){e[t]=n},get(t){const n=e[t];if(n)return n},remove(t){delete e[t]},allKeys(){return Object.keys(e)}}}()}}class Te{set(){}get(){}remove(){}allKeys(){return[]}}var v;(function(r){r.Memory="memory",r.LocalStorage="localstorage",r.SessionStorage="sessionstorage",r.NoCache="nocache"})(v||(v={}));var Ne="1.3.1";const Ae={[v.Memory]:()=>new Se().enclosedCache,[v.LocalStorage]:r=>new Ie(r),[v.SessionStorage]:r=>new me(r),[v.NoCache]:()=>new Te},Pe=r=>{switch(r){case v.SessionStorage:try{window.sessionStorage.getItem("item")}catch{return!1}return!0;case v.LocalStorage:try{window.localStorage.getItem("item")}catch{return!1}return!0;default:return!0}},ce=r=>Ae[r];class w{constructor(e){var t;this.inFlightRequests=new Map,this.agentPromise=null,this.customAgent=e==null?void 0:e.customAgent,this.agent={get:()=>{throw new Error("FPJSAgent hasn't loaded yet. Make sure to call the init() method first.")}},this.loadOptions=e==null?void 0:e.loadOptions,e!=null&&e.cache&&(e!=null&&e.cacheLocation)&&console.warn("Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`.");let n;if(e!=null&&e.cache)n=e.cache;else{if(this.cacheLocation=(e==null?void 0:e.cacheLocation)||v.SessionStorage,!ce(this.cacheLocation))throw new Error(`Invalid cache location "${this.cacheLocation}"`);Pe(this.cacheLocation)||(this.cacheLocation=v.Memory),n=ce(this.cacheLocation)(e==null?void 0:e.cachePrefix)}if(e!=null&&e.cacheTimeInSeconds&&e.cacheTimeInSeconds>ve)throw new Error("Cache time cannot exceed 86400 seconds (24 hours)");const o=(t=e==null?void 0:e.cacheTimeInSeconds)!==null&&t!==void 0?t:ie;this.cacheManager=new we(n,o)}init(e){return p(this,void 0,void 0,function*(){var t,n;if(!this.loadOptions&&!e)throw new TypeError("No load options provided");const o=Object.assign(Object.assign(Object.assign({},this.loadOptions),e),{integrationInfo:[...((t=this.loadOptions)===null||t===void 0?void 0:t.integrationInfo)||[],...(e==null?void 0:e.integrationInfo)||[],`fingerprintjs-pro-spa/${Ne}`]});if(!this.agentPromise){const i=(n=this.customAgent)!==null&&n!==void 0?n:pe;this.agentPromise=i.load(o).then(a=>(this.agent=a,a)).catch(a=>{throw this.agentPromise=null,a})}return this.agentPromise})}getVisitorData(){return p(this,arguments,void 0,function*(e={},t=!1){const o=w.makeCacheKey(e).toKey();if(!this.inFlightRequests.has(o)){const i=this._identify(e,t).finally(()=>{this.inFlightRequests.delete(o)});this.inFlightRequests.set(o,i)}return yield this.inFlightRequests.get(o)})}getVisitorDataFromCache(){return p(this,arguments,void 0,function*(e={}){const t=w.makeCacheKey(e),n=yield this.cacheManager.get(t);return n?Object.assign(Object.assign({},n),{cacheHit:!0}):void 0})}isInCache(){return p(this,arguments,void 0,function*(e={}){return!!(yield this.getVisitorDataFromCache(e))})}clearCache(){return p(this,void 0,void 0,function*(){yield this.cacheManager.clearCache()})}static makeCacheKey(e){return new ye(e)}_identify(e){return p(this,arguments,void 0,function*(t,n=!1){const o=w.makeCacheKey(t);if(!n){const a=yield this.cacheManager.get(o);if(a)return Object.assign(Object.assign({},a),{cacheHit:!0})}const i=yield this.agent.get(t);return yield this.cacheManager.set(o,i),Object.assign(Object.assign({},i),{cacheHit:!1})})}}async function se(){try{const r=typeof Cypress=="object",e=typeof process=="object"&&process.env.NODE_ENV==="test";if(r||e)return{visitorId:"a-mock-visitor-id",requestId:null};const t="https://d2hwnq6cq5q3pi.cloudfront.net",n="wyr92st0i7",o="ia1t65gn6i",i="db4fuswrza",a=new w({loadOptions:{apiKey:"hpFVJecm7Ni7AjSfvBIW",endpoint:[`${t}/${n}/${o}`,b],scriptUrlPattern:[`${t}/${n}/${i}?apiKey=<apiKey>&version=<version>&loaderVersion=<loaderVersion>`,k]}});await a.init();const l=await a.getVisitorData();return{visitorId:l.visitorId,requestId:l.requestId}}catch(r){return console.error(r),{}}}async function De(){return new Promise(r=>{window.requestIdleCallback?requestIdleCallback(async()=>{const e=await se();r(e)}):setTimeout(async()=>{const e=await se();r(e)},500)})}const be="https://tst.kaptcha.com",Ce="https://ssl.kaptcha.com",Le=r=>r==="production",Ke=({env:r,kountAccountId:e,kountSessionId:t})=>{const n=Le(r)?Ce:be,o=new URL(`${n}/collect/sdk`);o.searchParams.append("m",e),t&&o.searchParams.append("m",t);const i=document.createElement("script");return i.setAttribute("class","kaxsdc"),i.setAttribute("data-event","load"),i.setAttribute("type","text/javascript"),i.setAttribute("src",o.href),document.body.append(i),i};async function ke({env:r,kountAccountId:e,kountSessionId:t}){return new Promise((n,o)=>{const i=Ke({env:r,kountAccountId:e,kountSessionId:t});i.onload=()=>{const a=new ka.ClientSDK;a.setupCallback({"collect-begin":l=>{const{MercSessId:d}=l;n(d)}}),a.autoLoadEvents()},i.onerror=()=>{o(new Error("Error attempting to mount Kount script"))}})}const je=()=>{const r=document.createElement("script");return r.src="https://cdn.rebilly.com/risk-data-collector/@latest/google-adsense.js",new Promise(e=>{r.onload=()=>{e(document.getElementById("fj2xFkdsoQIQna")===null)},r.onerror=()=>e(!0),document.head.appendChild(r)}).catch(()=>!0)};async function le({env:r=null,screen:e,navigator:t,kountAccountId:n=null,kountSessionId:o=null,getFingerprint:i,getFraudSessionId:a}){const{colorDepth:l,height:d,width:R}=e||{},{javaEnabled:c,language:s}=t||{};let u,f,h;try{[h,u,f]=await Promise.all([je(),i==null?void 0:i(),n?a({env:r,kountAccountId:n,kountSessionId:o}):void 0])}catch(_){console.error(_)}return{riskMetadata:{fingerprint:(u==null?void 0:u.visitorId)||null,extraData:{kountFraudSessionId:f||null,fingerprintJsRequestId:(u==null?void 0:u.requestId)||null},browserData:{colorDepth:l||null,isJavaEnabled:c?c.call(t):null,language:s||null,screenHeight:d||null,screenWidth:R||null,timeZoneOffset:new Date().getTimezoneOffset(),isAdBlockEnabled:h}}}}async function Ue({env:r=null,kountAccountId:e=null,kountSessionId:t=null}={}){return le({env:r,screen,navigator,kountAccountId:e,kountSessionId:t,getFingerprint:De,getFraudSessionId:ke})}return T.collectData=Ue,T.collectDataHelper=le,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"}),T}({});
|
|
1
|
+
var RiskDataCollector=function(P){"use strict";var T=function(){return T=Object.assign||function(t){for(var n,a=1,o=arguments.length;a<o;a++){n=arguments[a];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},T.apply(this,arguments)};function V(e,t,n,a){function o(r){return r instanceof n?r:new n(function(i){i(r)})}return new(n||(n=Promise))(function(r,i){function c(u){try{s(a.next(u))}catch(f){i(f)}}function l(u){try{s(a.throw(u))}catch(f){i(f)}}function s(u){u.done?r(u.value):o(u.value).then(c,l)}s((a=a.apply(e,t||[])).next())})}function F(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,o,r,i;return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(s){return function(u){return l([s,u])}}function l(s){if(a)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(n=0)),n;)try{if(a=1,o&&(r=s[0]&2?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[s[0]&2,r.value]),s[0]){case 0:case 1:r=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,o=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(r=n.trys,!(r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1],r=s;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(s);break}r[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(u){s=[6,u],o=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function _(e,t,n){if(n||arguments.length===2)for(var a=0,o=t.length,r;a<o;a++)(r||!(a in t))&&(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var q="3.4.2";function G(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function ye(e,t){t===void 0&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(a){return n.call(window,function(){return a()},{timeout:t})}):G(Math.min(e,t))}function $(e){return!!e&&typeof e.then=="function"}function ee(e,t){try{var n=e();$(n)?n.then(function(a){return t(!0,a)},function(a){return t(!1,a)}):t(!0,n)}catch(a){t(!1,a)}}function te(e,t,n){return n===void 0&&(n=16),V(this,void 0,void 0,function(){var a,o,r,i;return F(this,function(c){switch(c.label){case 0:a=Array(e.length),o=Date.now(),r=0,c.label=1;case 1:return r<e.length?(a[r]=t(e[r],r),i=Date.now(),i>=o+n?(o=i,[4,G(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++r,[3,1];case 4:return[2,a]}})})}function Y(e){e.then(void 0,function(){})}function Z(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535],t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function C(e,t){e=[e[0]>>>16,e[0]&65535,e[1]>>>16,e[1]&65535],t=[t[0]>>>16,t[0]&65535,t[1]>>>16,t[1]&65535];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function M(e,t){return t%=64,t===32?[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 L(e,t){return t%=64,t===0?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function g(e,t){return[e[0]^t[0],e[1]^t[1]]}function ne(e){return e=g(e,[0,e[0]>>>1]),e=C(e,[4283543511,3981806797]),e=g(e,[0,e[0]>>>1]),e=C(e,[3301882366,444984403]),e=g(e,[0,e[0]>>>1]),e}function we(e,t){e=e||"",t=t||0;var n=e.length%16,a=e.length-n,o=[0,t],r=[0,t],i=[0,0],c=[0,0],l=[2277735313,289559509],s=[1291169091,658871167],u;for(u=0;u<a;u=u+16)i=[e.charCodeAt(u+4)&255|(e.charCodeAt(u+5)&255)<<8|(e.charCodeAt(u+6)&255)<<16|(e.charCodeAt(u+7)&255)<<24,e.charCodeAt(u)&255|(e.charCodeAt(u+1)&255)<<8|(e.charCodeAt(u+2)&255)<<16|(e.charCodeAt(u+3)&255)<<24],c=[e.charCodeAt(u+12)&255|(e.charCodeAt(u+13)&255)<<8|(e.charCodeAt(u+14)&255)<<16|(e.charCodeAt(u+15)&255)<<24,e.charCodeAt(u+8)&255|(e.charCodeAt(u+9)&255)<<8|(e.charCodeAt(u+10)&255)<<16|(e.charCodeAt(u+11)&255)<<24],i=C(i,l),i=M(i,31),i=C(i,s),o=g(o,i),o=M(o,27),o=Z(o,r),o=Z(C(o,[0,5]),[0,1390208809]),c=C(c,s),c=M(c,33),c=C(c,l),r=g(r,c),r=M(r,31),r=Z(r,o),r=Z(C(r,[0,5]),[0,944331445]);switch(i=[0,0],c=[0,0],n){case 15:c=g(c,L([0,e.charCodeAt(u+14)],48));case 14:c=g(c,L([0,e.charCodeAt(u+13)],40));case 13:c=g(c,L([0,e.charCodeAt(u+12)],32));case 12:c=g(c,L([0,e.charCodeAt(u+11)],24));case 11:c=g(c,L([0,e.charCodeAt(u+10)],16));case 10:c=g(c,L([0,e.charCodeAt(u+9)],8));case 9:c=g(c,[0,e.charCodeAt(u+8)]),c=C(c,s),c=M(c,33),c=C(c,l),r=g(r,c);case 8:i=g(i,L([0,e.charCodeAt(u+7)],56));case 7:i=g(i,L([0,e.charCodeAt(u+6)],48));case 6:i=g(i,L([0,e.charCodeAt(u+5)],40));case 5:i=g(i,L([0,e.charCodeAt(u+4)],32));case 4:i=g(i,L([0,e.charCodeAt(u+3)],24));case 3:i=g(i,L([0,e.charCodeAt(u+2)],16));case 2:i=g(i,L([0,e.charCodeAt(u+1)],8));case 1:i=g(i,[0,e.charCodeAt(u)]),i=C(i,l),i=M(i,31),i=C(i,s),o=g(o,i)}return o=g(o,[0,e.length]),r=g(r,[0,e.length]),o=Z(o,r),r=Z(r,o),o=ne(o),r=ne(r),o=Z(o,r),r=Z(r,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)}function Se(e){var t;return T({name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
+
`)},e)}function Le(e,t){for(var n=0,a=e.length;n<a;++n)if(e[n]===t)return!0;return!1}function Ce(e,t){return!Le(e,t)}function E(e){return parseInt(e)}function x(e){return parseFloat(e)}function W(e,t){return typeof e=="number"&&isNaN(e)?t:e}function k(e){return e.reduce(function(t,n){return t+(n?1:0)},0)}function re(e,t){if(t===void 0&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function xe(e){for(var t,n,a="Unexpected syntax '".concat(e,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(e),r=o[1]||void 0,i={},c=/([.:#][\w-]+|\[.+?\])/gi,l=function(d,v){i[d]=i[d]||[],i[d].push(v)};;){var s=c.exec(o[2]);if(!s)break;var u=s[0];switch(u[0]){case".":l("class",u.slice(1));break;case"#":l("id",u.slice(1));break;case"[":{var f=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);if(f)l(f[1],(n=(t=f[4])!==null&&t!==void 0?t:f[5])!==null&&n!==void 0?n:"");else throw new Error(a);break}default:throw new Error(a)}}return[r,i]}function ae(e){return e&&typeof e=="object"&&"message"in e?e:{message:e}}function ke(e){return typeof e!="function"}function Ve(e,t){var n=new Promise(function(a){var o=Date.now();ee(e.bind(null,t),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var c=Date.now()-o;if(!r[0])return a(function(){return{error:ae(r[1]),duration:c}});var l=r[1];if(ke(l))return a(function(){return{value:l,duration:c}});a(function(){return new Promise(function(s){var u=Date.now();ee(l,function(){for(var f=[],d=0;d<arguments.length;d++)f[d]=arguments[d];var v=c+Date.now()-u;if(!f[0])return s({error:ae(f[1]),duration:v});s({value:f[1],duration:v})})})})})});return Y(n),function(){return n.then(function(o){return o()})}}function Fe(e,t,n){var a=Object.keys(e).filter(function(r){return Ce(n,r)}),o=te(a,function(r){return Ve(e[r],t)});return Y(o),function(){return V(this,void 0,void 0,function(){var i,c,l,s,u;return F(this,function(f){switch(f.label){case 0:return[4,o];case 1:return i=f.sent(),[4,te(i,function(d){var v=d();return Y(v),v})];case 2:return c=f.sent(),[4,Promise.all(c)];case 3:for(l=f.sent(),s={},u=0;u<a.length;++u)s[a[u]]=l[u];return[2,s]}})})}}function oe(){var e=window,t=navigator;return k(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function We(){var e=window,t=navigator;return k(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!oe()}function H(){var e=window,t=navigator;return k(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,t.vendor.indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function j(){var e=window,t=navigator;return k(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function J(){var e=window;return k(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function Ze(){var e,t,n=window;return k(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function Re(){var e=window;return k([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function Me(){var e=window;return k(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function Ae(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return k(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function Ie(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Ge(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ie(){var e=H(),t=Ze();if(!e&&!t)return!1;var n=window;return k(["onorientationchange"in n,"orientation"in n,e&&!("SharedWorker"in n),t&&/android/i.test(navigator.appVersion)])>=2}function Ye(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(je())return-1;var n=4500,a=5e3,o=new t(1,a,44100),r=o.createOscillator();r.type="triangle",r.frequency.value=1e4;var i=o.createDynamicsCompressor();i.threshold.value=-50,i.knee.value=40,i.ratio.value=12,i.attack.value=0,i.release.value=.25,r.connect(i),i.connect(o.destination),r.start(0);var c=Pe(o),l=c[0],s=c[1],u=l.then(function(f){return Xe(f.getChannelData(0).subarray(n))},function(f){if(f.name==="timeout"||f.name==="suspended")return-3;throw f});return Y(u),function(){return s(),u}}function je(){return j()&&!J()&&!Me()}function Pe(e){var t=3,n=500,a=500,o=5e3,r=function(){},i=new Promise(function(c,l){var s=!1,u=0,f=0;e.oncomplete=function(h){return c(h.renderedBuffer)};var d=function(){setTimeout(function(){return l(ce("timeout"))},Math.min(a,f+o-Date.now()))},v=function(){try{var h=e.startRendering();switch($(h)&&Y(h),e.state){case"running":f=Date.now(),s&&d();break;case"suspended":document.hidden||u++,s&&u>=t?l(ce("suspended")):setTimeout(v,n);break}}catch(y){l(y)}};v(),r=function(){s||(s=!0,f>0&&d())}});return[i,r]}function Xe(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function ce(e){var t=new Error(e);return t.name=e,t}function ue(e,t,n){var a,o,r;return n===void 0&&(n=50),V(this,void 0,void 0,function(){var i,c;return F(this,function(l){switch(l.label){case 0:i=document,l.label=1;case 1:return i.body?[3,3]:[4,G(n)];case 2:return l.sent(),[3,1];case 3:c=i.createElement("iframe"),l.label=4;case 4:return l.trys.push([4,,10,11]),[4,new Promise(function(s,u){var f=!1,d=function(){f=!0,s()},v=function(b){f=!0,u(b)};c.onload=d,c.onerror=v;var h=c.style;h.setProperty("display","block","important"),h.position="absolute",h.top="0",h.left="0",h.visibility="hidden",t&&"srcdoc"in c?c.srcdoc=t:c.src="about:blank",i.body.appendChild(c);var y=function(){var b,w;f||(((w=(b=c.contentWindow)===null||b===void 0?void 0:b.document)===null||w===void 0?void 0:w.readyState)==="complete"?d():setTimeout(y,10))};y()})];case 5:l.sent(),l.label=6;case 6:return!((o=(a=c.contentWindow)===null||a===void 0?void 0:a.document)===null||o===void 0)&&o.body?[3,8]:[4,G(n)];case 7:return l.sent(),[3,6];case 8:return[4,e(c,c.contentWindow)];case 9:return[2,l.sent()];case 10:return(r=c.parentNode)===null||r===void 0||r.removeChild(c),[7];case 11:return[2]}})})}function De(e){for(var t=xe(e),n=t[0],a=t[1],o=document.createElement(n??"div"),r=0,i=Object.keys(a);r<i.length;r++){var c=i[r],l=a[c].join(" ");c==="style"?Te(o.style,l):o.setAttribute(c,l)}return o}function Te(e,t){for(var n=0,a=t.split(";");n<a.length;n++){var o=a[n],r=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(r){var i=r[1],c=r[2],l=r[4];e.setProperty(i,c,l||"")}}}var Ee="mmMwWLliI0O&1",He="48px",A=["monospace","sans-serif","serif"],se=["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 Je(){return ue(function(e,t){var n=t.document,a=n.body;a.style.fontSize=He;var o=n.createElement("div"),r={},i={},c=function(y){var b=n.createElement("span"),w=b.style;return w.position="absolute",w.top="0",w.left="0",w.fontFamily=y,b.textContent=Ee,o.appendChild(b),b},l=function(y,b){return c("'".concat(y,"',").concat(b))},s=function(){return A.map(c)},u=function(){for(var y={},b=function(D){y[D]=A.map(function(K){return l(D,K)})},w=0,R=se;w<R.length;w++){var Q=R[w];b(Q)}return y},f=function(y){return A.some(function(b,w){return y[w].offsetWidth!==r[b]||y[w].offsetHeight!==i[b]})},d=s(),v=u();a.appendChild(o);for(var h=0;h<A.length;h++)r[A[h]]=d[h].offsetWidth,i[A[h]]=d[h].offsetHeight;return se.filter(function(y){return f(v[y])})})}function ze(){var e=navigator.plugins;if(e){for(var t=[],n=0;n<e.length;++n){var a=e[n];if(a){for(var o=[],r=0;r<a.length;++r){var i=a[r];o.push({type:i.type,suffixes:i.suffixes})}t.push({name:a.name,description:a.description,mimeTypes:o})}}return t}}function Ne(){var e=!1,t,n,a=Be(),o=a[0],r=a[1];if(!Oe(o,r))t=n="";else{e=Ue(r),Qe(o,r);var i=z(o),c=z(o);i!==c?t=n="unstable":(n=i,Ke(o,r),t=z(o))}return{winding:e,geometry:t,text:n}}function Be(){var e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function Oe(e,t){return!!(t&&e.toDataURL)}function Ue(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Qe(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 n="Cwm fjordbank gly ".concat("😃");t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Ke(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(var n=0,a=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<a.length;n++){var o=a[n],r=o[0],i=o[1],c=o[2];t.fillStyle=r,t.beginPath(),t.arc(i,c,40,0,Math.PI*2,!0),t.closePath(),t.fill()}t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function z(e){return e.toDataURL()}function _e(){var e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=E(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}var a="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:a}}function qe(){return navigator.oscpu}function $e(){var e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))H()&&Re()||t.push(e.languages);else if(typeof e.languages=="string"){var a=e.languages;a&&t.push(a.split(","))}return t}function et(){return window.screen.colorDepth}function tt(){return W(x(navigator.deviceMemory),void 0)}function nt(){var e=screen,t=function(a){return W(E(a),null)},n=[t(e.width),t(e.height)];return n.sort().reverse(),n}var rt=2500,at=10,X,N;function ot(){if(N===void 0){var e=function(){var t=B();O(t)?N=setTimeout(e,rt):(X=t,N=void 0)};e()}}function it(){var e=this;return ot(),function(){return V(e,void 0,void 0,function(){var t;return F(this,function(n){switch(n.label){case 0:return t=B(),O(t)?X?[2,_([],X,!0)]:Ie()?[4,Ge()]:[3,2]:[3,2];case 1:n.sent(),t=B(),n.label=2;case 2:return O(t)||(X=t),[2,t]}})})}}function ct(){var e=this,t=it();return function(){return V(e,void 0,void 0,function(){var n,a;return F(this,function(o){switch(o.label){case 0:return[4,t()];case 1:return n=o.sent(),a=function(r){return r===null?null:re(r,at)},[2,[a(n[0]),a(n[1]),a(n[2]),a(n[3])]]}})})}}function B(){var e=screen;return[W(x(e.availTop),null),W(x(e.width)-x(e.availWidth)-W(x(e.availLeft),0),null),W(x(e.height)-x(e.availHeight)-W(x(e.availTop),0),null),W(x(e.availLeft),null)]}function O(e){for(var t=0;t<4;++t)if(e[t])return!1;return!0}function ut(){return W(E(navigator.hardwareConcurrency),void 0)}function st(){var e,t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){var n=new t().resolvedOptions().timeZone;if(n)return n}var a=-lt();return"UTC".concat(a>=0?"+":"").concat(Math.abs(a))}function lt(){var e=new Date().getFullYear();return Math.max(x(new Date(e,0,1).getTimezoneOffset()),x(new Date(e,6,1).getTimezoneOffset()))}function ft(){try{return!!window.sessionStorage}catch{return!0}}function dt(){try{return!!window.localStorage}catch{return!0}}function mt(){if(!(oe()||We()))try{return!!window.indexedDB}catch{return!0}}function vt(){return!!window.openDatabase}function ht(){return navigator.cpuClass}function pt(){var e=navigator.platform;return e==="MacIntel"&&j()&&!J()?Ae()?"iPad":"iPhone":e}function gt(){return navigator.vendor||""}function bt(){for(var e=[],t=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];t<n.length;t++){var a=n[t],o=window[a];o&&typeof o=="object"&&e.push(a)}return e.sort()}function yt(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function wt(){var e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],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:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}function St(e){var t=e===void 0?{}:e,n=t.debug;return V(this,void 0,void 0,function(){var a,o,r,i,c,l;return F(this,function(s){switch(s.label){case 0:return Lt()?(a=wt(),o=Object.keys(a),r=(l=[]).concat.apply(l,o.map(function(u){return a[u]})),[4,Ct(r)]):[2,void 0];case 1:return i=s.sent(),n&&xt(a,i),c=o.filter(function(u){var f=a[u],d=k(f.map(function(v){return i[v]}));return d>f.length*.6}),c.sort(),[2,c]}})})}function Lt(){return j()||ie()}function Ct(e){var t;return V(this,void 0,void 0,function(){var n,a,o,r,l,i,c,l;return F(this,function(s){switch(s.label){case 0:for(n=document,a=n.createElement("div"),o=new Array(e.length),r={},le(a),l=0;l<e.length;++l)i=De(e[l]),i.tagName==="DIALOG"&&i.show(),c=n.createElement("div"),le(c),c.appendChild(i),a.appendChild(c),o[l]=i;s.label=1;case 1:return n.body?[3,3]:[4,G(50)];case 2:return s.sent(),[3,1];case 3:n.body.appendChild(a);try{for(l=0;l<e.length;++l)o[l].offsetParent||(r[e[l]]=!0)}finally{(t=a.parentNode)===null||t===void 0||t.removeChild(a)}return[2,r]}})})}function le(e){e.style.setProperty("display","block","important")}function xt(e,t){for(var n="DOM blockers debug:\n```",a=0,o=Object.keys(e);a<o.length;a++){var r=o[a];n+=`
|
|
3
|
+
`.concat(r,":");for(var i=0,c=e[r];i<c.length;i++){var l=c[i];n+=`
|
|
4
|
+
`.concat(t[l]?"🚫":"➡️"," ").concat(l)}}console.log("".concat(n,"\n```"))}function kt(){for(var e=0,t=["rec2020","p3","srgb"];e<t.length;e++){var n=t[e];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}}function Vt(){if(fe("inverted"))return!0;if(fe("none"))return!1}function fe(e){return matchMedia("(inverted-colors: ".concat(e,")")).matches}function Ft(){if(de("active"))return!0;if(de("none"))return!1}function de(e){return matchMedia("(forced-colors: ".concat(e,")")).matches}var Wt=100;function Zt(){if(matchMedia("(min-monochrome: 0)").matches){for(var e=0;e<=Wt;++e)if(matchMedia("(max-monochrome: ".concat(e,")")).matches)return e;throw new Error("Too high value")}}function Rt(){if(I("no-preference"))return 0;if(I("high")||I("more"))return 1;if(I("low")||I("less"))return-1;if(I("forced"))return 10}function I(e){return matchMedia("(prefers-contrast: ".concat(e,")")).matches}function Mt(){if(me("reduce"))return!0;if(me("no-preference"))return!1}function me(e){return matchMedia("(prefers-reduced-motion: ".concat(e,")")).matches}function At(){if(ve("high"))return!0;if(ve("standard"))return!1}function ve(e){return matchMedia("(dynamic-range: ".concat(e,")")).matches}var m=Math,S=function(){return 0};function It(){var e=m.acos||S,t=m.acosh||S,n=m.asin||S,a=m.asinh||S,o=m.atanh||S,r=m.atan||S,i=m.sin||S,c=m.sinh||S,l=m.cos||S,s=m.cosh||S,u=m.tan||S,f=m.tanh||S,d=m.exp||S,v=m.expm1||S,h=m.log1p||S,y=function(p){return m.pow(m.PI,p)},b=function(p){return m.log(p+m.sqrt(p*p-1))},w=function(p){return m.log(p+m.sqrt(p*p+1))},R=function(p){return m.log((1+p)/(1-p))/2},Q=function(p){return m.exp(p)-1/m.exp(p)/2},D=function(p){return(m.exp(p)+1/m.exp(p))/2},K=function(p){return m.exp(p)-1},un=function(p){return(m.exp(2*p)-1)/(m.exp(2*p)+1)},sn=function(p){return m.log(1+p)};return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:b(1e154),asin:n(.12312423423423424),asinh:a(1),asinhPf:w(1),atanh:o(.5),atanhPf:R(.5),atan:r(.5),sin:i(-1e300),sinh:c(1),sinhPf:Q(1),cos:l(10.000000000123),cosh:s(1),coshPf:D(1),tan:u(-1e300),tanh:f(1),tanhPf:un(1),exp:d(1),expm1:v(1),expm1Pf:K(1),log1p:h(10),log1pPf:sn(10),powPI:y(-100)}}var Gt="mmMwWLliI0fiflO&1",U={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function Yt(){return jt(function(e,t){for(var n={},a={},o=0,r=Object.keys(U);o<r.length;o++){var i=r[o],c=U[i],l=c[0],s=l===void 0?{}:l,u=c[1],f=u===void 0?Gt:u,d=e.createElement("span");d.textContent=f,d.style.whiteSpace="nowrap";for(var v=0,h=Object.keys(s);v<h.length;v++){var y=h[v],b=s[y];b!==void 0&&(d.style[y]=b)}n[i]=d,t.appendChild(e.createElement("br")),t.appendChild(d)}for(var w=0,R=Object.keys(U);w<R.length;w++){var i=R[w];a[i]=n[i].getBoundingClientRect().width}return a})}function jt(e,t){return t===void 0&&(t=4e3),ue(function(n,a){var o=a.document,r=o.body,i=r.style;i.width="".concat(t,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",H()?r.style.zoom="".concat(1/a.devicePixelRatio):j()&&(r.style.zoom="reset");var c=o.createElement("div");return c.textContent=_([],Array(t/20<<0),!0).map(function(){return"word"}).join(" "),r.appendChild(c),e(o,r)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}function Pt(){var e,t=document.createElement("canvas"),n=(e=t.getContext("webgl"))!==null&&e!==void 0?e:t.getContext("experimental-webgl");if(n&&"getExtension"in n){var a=n.getExtension("WEBGL_debug_renderer_info");if(a)return{vendor:(n.getParameter(a.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(a.UNMASKED_RENDERER_WEBGL)||"").toString()}}}function Xt(){return navigator.pdfViewerEnabled}function Dt(){var e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}var Tt={fonts:Je,domBlockers:St,fontPreferences:Yt,audio:Ye,screenFrame:ct,osCpu:qe,languages:$e,colorDepth:et,deviceMemory:tt,screenResolution:nt,hardwareConcurrency:ut,timezone:st,sessionStorage:ft,localStorage:dt,indexedDB:mt,openDatabase:vt,cpuClass:ht,platform:pt,plugins:ze,canvas:Ne,touchSupport:_e,vendor:gt,vendorFlavors:bt,cookiesEnabled:yt,colorGamut:kt,invertedColors:Vt,forcedColors:Ft,monochrome:Zt,contrast:Rt,reducedMotion:Mt,hdr:At,math:It,videoCard:Pt,pdfViewerEnabled:Xt,architecture:Dt};function Et(e){return Fe(Tt,e,[])}var Ht="$ if upgrade to Pro: https://fpjs.dev/pro";function Jt(e){var t=zt(e),n=Nt(t);return{score:t,comment:Ht.replace(/\$/g,"".concat(n))}}function zt(e){if(ie())return .4;if(j())return J()?.5:.3;var t=e.platform.value||"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Nt(e){return re(.99+.01*e,1e-4)}function Bt(e){for(var t="",n=0,a=Object.keys(e).sort();n<a.length;n++){var o=a[n],r=e[o],i=r.error?"error":JSON.stringify(r.value);t+="".concat(t?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(i)}return t}function he(e){return JSON.stringify(e,function(t,n){return n instanceof Error?Se(n):n},2)}function pe(e){return we(Bt(e))}function Ot(e){var t,n=Jt(e);return{get visitorId(){return t===void 0&&(t=pe(this.components)),t},set visitorId(a){t=a},confidence:n,components:e,version:q}}function Ut(e){return e===void 0&&(e=50),ye(e,e*2)}function Qt(e,t){var n=Date.now();return{get:function(a){return V(this,void 0,void 0,function(){var o,r,i;return F(this,function(c){switch(c.label){case 0:return o=Date.now(),[4,e()];case 1:return r=c.sent(),i=Ot(r),(t||a!=null&&a.debug)&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(i.version,`
|
|
5
|
+
userAgent: `).concat(navigator.userAgent,`
|
|
6
|
+
timeBetweenLoadAndGet: `).concat(o-n,`
|
|
7
|
+
visitorId: `).concat(i.visitorId,`
|
|
8
|
+
components: `).concat(he(r),"\n```")),[2,i]}})})}}}function Kt(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(q,"/npm-monitoring"),!0),e.send()}catch(t){console.error(t)}}function _t(e){var t=e===void 0?{}:e,n=t.delayFallback,a=t.debug,o=t.monitoring,r=o===void 0?!0:o;return V(this,void 0,void 0,function(){var i;return F(this,function(c){switch(c.label){case 0:return r&&Kt(),[4,Ut(n)];case 1:return c.sent(),i=Et({debug:a}),[2,Qt(i,a)]}})})}var qt={load:_t,hashComponents:pe,componentsToDebugString:he};async function ge(){try{const e=typeof Cypress=="object",t=typeof process=="object"&&process.env.NODE_ENV==="test";return e||t?"a-mock-visitor-id":(await(await qt.load()).get()).visitorId}catch(e){return console.error(e),{}}}async function $t(){return new Promise(e=>{window.requestIdleCallback?requestIdleCallback(async()=>{const t=await ge();e(t)}):setTimeout(async()=>{const t=await ge();e(t)},500)})}const en="https://tst.kaptcha.com",tn="https://ssl.kaptcha.com",nn=e=>e==="production",rn=({env:e,kountAccountId:t,kountSessionId:n})=>{const a=nn(e)?tn:en,o=new URL(`${a}/collect/sdk`);o.searchParams.append("m",t),n&&o.searchParams.append("m",n);const r=document.createElement("script");return r.setAttribute("class","kaxsdc"),r.setAttribute("data-event","load"),r.setAttribute("type","text/javascript"),r.setAttribute("src",o.href),document.body.append(r),r};async function an({env:e,kountAccountId:t,kountSessionId:n}){return new Promise((a,o)=>{const r=rn({env:e,kountAccountId:t,kountSessionId:n});r.onload=()=>{const i=new ka.ClientSDK;i.setupCallback({"collect-begin":c=>{const{MercSessId:l}=c;a(l)}}),i.autoLoadEvents()},r.onerror=()=>{o(new Error("Error attempting to mount Kount script"))}})}const on=()=>{const e=document.createElement("script");return e.src="https://cdn.rebilly.com/risk-data-collector/@latest/google-adsense.js",new Promise(t=>{e.onload=()=>{t(document.getElementById("fj2xFkdsoQIQna")===null)},e.onerror=()=>t(!0),document.head.appendChild(e)}).catch(()=>!0)};async function be({env:e=null,screen:t,navigator:n,kountAccountId:a=null,kountSessionId:o=null,getFingerprint:r,getFraudSessionId:i}){const{colorDepth:c,height:l,width:s}=t||{},{javaEnabled:u,language:f}=n||{};let d,v,h;try{[h,d,v]=await Promise.all([on(),r==null?void 0:r(),a?i({env:e,kountAccountId:a,kountSessionId:o}):void 0])}catch(b){console.error(b)}return{riskMetadata:{fingerprint:d||null,extraData:{kountFraudSessionId:v||null},browserData:{colorDepth:c||null,isJavaEnabled:u?u.call(n):null,language:f||null,screenHeight:l||null,screenWidth:s||null,timeZoneOffset:new Date().getTimezoneOffset(),isAdBlockEnabled:h}}}}async function cn({env:e=null,kountAccountId:t=null,kountSessionId:n=null}={}){return be({env:e,screen,navigator,kountAccountId:t,kountSessionId:n,getFingerprint:$t,getFraudSessionId:an})}return P.collectData=cn,P.collectDataHelper=be,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),P}({});
|
|
2
9
|
//# sourceMappingURL=data-collector.min.js.map
|