@funnel10x/tracking 2.6.0 → 2.7.0
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/README.md +3 -2
- package/dist/direct-init.js +1 -1
- package/dist/gtm-fallback.html +1 -1
- package/dist/gtm-official.html +1 -1
- package/dist/gtm.html +3 -3
- package/dist/index.js +3 -3
- package/dist/tag.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ CDN, no canal 1.x, e o SDK não vem neste ficheiro. O que faz numa página:
|
|
|
23
23
|
até 1 s, contado com o carregamento dele, e cada evento leva o `fingerprint`
|
|
24
24
|
e o `fingerprint_ms` (o tempo que levou, ou o tecto, 1000);
|
|
25
25
|
- **a lista de atribuição nos forms, no CRM e no checkout, e só ela**: os ids
|
|
26
|
-
e os
|
|
26
|
+
e os 23 parâmetros do anúncio e do link (`src/params.js`) nos campos escondidos de cada
|
|
27
27
|
form de lead da página (os que já existem com o nome, e os que faltam,
|
|
28
28
|
acrescentados), no URL do iframe de um form, inquérito ou calendário do GHL,
|
|
29
29
|
e nos links do checkout. O email, o `token` e o resto do URL não seguem: iam
|
|
@@ -168,7 +168,7 @@ de vir no ficheiro. É uma das razões de a 2.0.0 ser major.
|
|
|
168
168
|
O `package.json` do repo pina a versão exacta (sem `^`), e o build embute-o:
|
|
169
169
|
|
|
170
170
|
```json
|
|
171
|
-
{ "dependencies": { "@funnel10x/tracking": "2.
|
|
171
|
+
{ "dependencies": { "@funnel10x/tracking": "2.7.0" } }
|
|
172
172
|
```
|
|
173
173
|
|
|
174
174
|
```js
|
|
@@ -502,6 +502,7 @@ O que os forms, o iframe e os links do checkout levam:
|
|
|
502
502
|
| os ids de anúncio | `a_campaign_id`, `a_adset_id`, `a_ad_id` (a convenção, abaixo), e os da HYROS `h_ad_id`, `fbc_id` | sim, do URL | só `a_ad_id`, como as UTMs |
|
|
503
503
|
| `lp` | a página de entrada que o URL declara | sim, do URL | não |
|
|
504
504
|
| `narrative` | o slug da narrativa declarado pela página (desde a 1.4.0) | sim, do URL | `narrative`, com o query key igual ao nome, se a location o tiver |
|
|
505
|
+
| `trk` | o código do tracking link de onde a visita veio, que o gerador da Marketing Ops põe nos links fora da Meta e da Google (desde a 2.7.0, Fase A25 do plano da atribuição); não é dado pessoal | sim, do URL | não |
|
|
505
506
|
|
|
506
507
|
- **Num form da página**, um campo que já existe com o nome recebe o valor se
|
|
507
508
|
for escondido ou estiver vazio; os que faltam acrescentam-se escondidos, só
|
package/dist/direct-init.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.7.0: o arranque num site com build próprio, uma vez por carregamento da página, no browser (num Next.js, um
|
|
3
3
|
componente 'use client' no layout de raiz, como o Tracking.tsx da base direct). Só se mudam a chave e o checkout ('snippet' quando os
|
|
4
4
|
links do checkout são <a>, 'page' quando a página o manda); o consent, os checkoutHosts e os linkedDomains são do site (o README do
|
|
5
5
|
pacote). O /_t só existe com os rewrites do dist/direct-rewrites.json no vercel.json do site.
|
package/dist/gtm-fallback.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.7.0: a tag de reserva do GTM (Custom HTML), num site com a tag do gtm.html (decisão 1 da A2c).
|
|
3
3
|
Dispara só no evento personalizado f10x_tracking_failed, com a mesma condição de consentimento da tag do snippet; nunca em All Pages
|
|
4
4
|
nem em Window Loaded. O before_send carimba tracking_fallback em cada evento, que é o que distingue uma visita pela reserva nos dados.
|
|
5
5
|
Só se mudam a chave e o api_host (o proxy gerido da account, se o tiver, e senão o PostHog directo), os mesmos da tag do gtm.html.
|
package/dist/gtm-official.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.7.0: a tag oficial do PostHog (Custom HTML) para os hosts que ainda não passaram ao snippet, num contentor com a tag do gtm.html.
|
|
3
3
|
Dispara em All Pages, com o acionador Snippet hosts (os hosts da tag do snippet) como excepção, e o Direct hosts (os sites direct, com o
|
|
4
4
|
snippet no build) como outra. Passar um host ao snippet é acrescentá-lo à RegEx do Snippet hosts, numa só publicação.
|
|
5
5
|
Só se mudam a chave e o api_host (o proxy gerido da account, se o tiver, e senão o PostHog directo), os mesmos da tag do gtm.html.
|
package/dist/gtm.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.7.0: a tag do GTM (Custom HTML, em All Pages, com a condição de consentimento do site, se ele tiver banner).
|
|
3
3
|
Num site com esta tag, a tag oficial do PostHog só existe como reserva (decisão 1 da A2c): outra tag Custom HTML, com a mesma chave, que dispara
|
|
4
4
|
só no evento personalizado f10x_tracking_failed, que esta empurra para o dataLayer, uma vez, quando o tag.js não carrega (o jsDelivr em baixo ou
|
|
5
5
|
bloqueado, um integrity que não bate) ou carrega e não arranca (o window.f10xTracking sem version). A reserva é o dist/gtm-fallback.html, ao lado.
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
;(window.dataLayer = window.dataLayer || []).push({ event: 'f10x_tracking_failed' })
|
|
42
42
|
}
|
|
43
43
|
var script = document.createElement('script')
|
|
44
|
-
script.src = 'https://cdn.jsdelivr.net/npm/@funnel10x/tracking@2.
|
|
45
|
-
script.integrity = 'sha384-
|
|
44
|
+
script.src = 'https://cdn.jsdelivr.net/npm/@funnel10x/tracking@2.7.0/dist/tag.js'
|
|
45
|
+
script.integrity = 'sha384-Rb+JXWX1y4EdMPNfoS6LWJ/VESPxYGmwlcUlTMxGYLk5GbFXZaMAFdEKF/xw9sTQ'
|
|
46
46
|
script.crossOrigin = 'anonymous'
|
|
47
47
|
script.onload = function () {
|
|
48
48
|
clearTimeout(timer)
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var G=["addExceptionStep","alias","calculateEventProperties","canRenderSurvey","canRenderSurveyAsync","cancelPendingSurvey","capture","captureException","captureLog","captureTraceFeedback","captureTraceMetric","clearIdentity","clear_opt_in_out_capturing","createPersonProfile","debug","displaySurvey","getActiveMatchingSurveys","getAllFeatureFlags","getEarlyAccessFeatures","getExtension","getFeatureFlag","getFeatureFlagPayload","getFeatureFlagResult","getGroups","getPageViewId","getSessionProperty","getSurveys","get_distinct_id","get_explicit_consent_status","get_property","get_session_id","get_session_replay_url","group","has_opted_in_capturing","has_opted_out_capturing","identify","init","isFeatureEnabled","is_capturing","loadToolbar","on","onActiveMatchingSurveysChanged","onFeatureFlags","onSessionId","onSurveysLoaded","opt_in_capturing","opt_out_capturing","register","register_for_session","register_once","reloadFeatureFlags","renderSurvey","reset","resetGroupPropertiesForFlags","resetGroups","resetPersonPropertiesForFlags","sessionRecordingStarted","setGroupPropertiesForFlags","setIdentity","setInternalOrTestUser","setPersonProperties","setPersonPropertiesForFlags","set_config","shutdown","startExceptionAutocapture","startSessionRecording","stopExceptionAutocapture","stopSessionRecording","unregister","unregister_for_session","unsetPersonProperties","updateEarlyAccessFeatureEnrollment","updateFlags"];var ft="5.3.0";function dn(e,t){for(let n=0,o=e.length;n<o;++n)if(e[n]===t)return!0;return!1}function fn(e,t){return!dn(e,t)}function Ce(e){return parseInt(e)}function E(e){return parseFloat(e)}function T(e,t){return typeof e=="number"&&isNaN(e)?t:e}function x(e){return e.reduce((t,n)=>t+(n?1:0),0)}function mt(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function mn(e){var t,n;let o=`Unexpected syntax '${e}'`,r=/^\s*([a-z-]*)(.*)$/i.exec(e),i=r[1]||void 0,a={},d=/([.:#][\w-]+|\[.+?\])/gi,f=(u,s)=>{a[u]=a[u]||[],a[u].push(s)};for(;;){let u=d.exec(r[2]);if(!u)break;let s=u[0];switch(s[0]){case".":f("class",s.slice(1));break;case"#":f("id",s.slice(1));break;case"[":{let c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(s);if(c)f(c[1],(n=(t=c[4])!==null&&t!==void 0?t:c[5])!==null&&n!==void 0?n:"");else throw new Error(o);break}default:throw new Error(o)}}return[i,a]}function pn(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o>127)return new TextEncoder().encode(e);t[n]=o}return t}function hn(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
-
`),...e}}function gn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function pt(){let e=window,t=navigator;return x(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function yn(){let e=window,t=navigator;return x(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!pt()}function X(){let e=window,t=navigator;return x(["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 F(){let e=window,t=navigator;return x(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Ee(){let e=window,{HTMLElement:t,Document:n}=e;return x(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function Q(){let e=window;return gn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function ee(){var e,t;let n=window;return x(["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 bn(){let e=window,t=navigator,{CSS:n}=e;return x(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function ht(){let{CSS:e}=window;return x([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function _n(){let e=window;return x([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function wn(){let e=window,{URLPattern:t}=e;return x(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function kn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return x([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function Sn(){let e=window;return x(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function te(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return x([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function vn(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return x(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function xn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Ln(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function he(){var e,t;let n=X(),o=ee(),r=window,i=navigator;return n?x([In(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?x(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function An(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return x(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function In(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var Pn="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function Cn(e){let t=En(e),n=Fn(t);return{score:t,comment:Pn.replace(/\$/g,`${n}`)}}function En(e){if(he())return .4;if(F())return Ee()&&!(te()&&Q())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Fn(e){return mt(.99+.01*e,1e-4)}function pe(e,t){return new Promise(n=>setTimeout(n,e,t))}function Mn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function Rn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):pe(Math.min(e,t))}function gt(e){return!!e&&typeof e.then=="function"}function Qe(e,t){try{let n=e();gt(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function et(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await Mn())}return o}function K(e){return e.then(void 0,()=>{}),e}function Tn(e){return typeof e!="function"}function Vn(e,t){let n=K(new Promise(o=>{let r=Date.now();Qe(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let d=i[1];if(Tn(d))return o(()=>({value:d,duration:a}));o(()=>new Promise(f=>{let u=Date.now();Qe(d,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function Wn(e,t,n,o){let r=Object.keys(e).filter(a=>fn(n,a)),i=K(et(r,a=>Vn(e[a],t),o));return async function(){let d=await i,f=await et(d,c=>K(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function yt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await pe(n);let d=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},y=b=>{s=!0,u(b)};d.onload=c,d.onerror=y;let{style:p}=d;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",t&&"srcdoc"in d?d.srcdoc=t:d.src="about:blank",a.body.appendChild(d);let h=()=>{var b,A;s||(((A=(b=d.contentWindow)===null||b===void 0?void 0:b.document)===null||A===void 0?void 0:A.readyState)==="complete"?c():setTimeout(h,10))};h()});!(!((r=(o=d.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await pe(n);return await e(d,d.contentWindow)}finally{(i=d.parentNode)===null||i===void 0||i.removeChild(d)}}function Nn(e){let[t,n]=mn(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?On(o.style,i):o.setAttribute(r,i)}return o}function On(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function Dn(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Gn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if($n())return-3;try{return e.canMakePayments()?1:0}catch(t){return Hn(t)}}var $n=Dn;function Hn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Zn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function jn(){return Xn()?-4:Yn()}function Yn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(zn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[d,f]=Bn(r),u=K(d.then(s=>Jn(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function zn(){return F()&&!Ee()&&!Sn()}function Xn(){return F()&&te()&&Q()||X()&&An()&&wn()}function Bn(e){let i=()=>{};return[new Promise((d,f)=>{let u=!1,s=0,c=0;e.oncomplete=h=>d(h.renderedBuffer);let y=()=>{setTimeout(()=>f(tt("timeout")),Math.min(500,c+5e3-Date.now()))},p=()=>{try{let h=e.startRendering();switch(gt(h)&&K(h),e.state){case"running":c=Date.now(),u&&y();break;case"suspended":document.hidden||s++,u&&s>=3?f(tt("suspended")):setTimeout(p,500);break}}catch(h){f(h)}};p(),i=()=>{u||(u=!0,c>0&&y())}}),i]}function Jn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function tt(e){let t=new Error(e);return t.name=e,t}function Un(){if(!(he()||F()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function qn(){return Kn(io())}function Kn(e){let t=!1,n,o,[r,i]=Qn();return eo(r,i)?(t=to(i),e?n=o="skipped":[n,o]=no(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function Qn(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function eo(e,t){return!!(t&&e.toDataURL)}function to(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function no(e,t){oo(e,t);let n=xe(e),o=xe(e);return n!==o?["unstable","unstable"]:(ro(e,t),[xe(e),n])}function oo(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"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function ro(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,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 xe(e){return e.toDataURL()}function io(){let e=F()&&te()&&Q(),t=ee()&&bn();return e||t}function so(){return window.screen.colorDepth}function co(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function ao(){if(j("no-preference"))return 0;if(j("high")||j("more"))return 1;if(j("low")||j("less"))return-1;if(j("forced"))return 10}function j(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function uo(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let 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 lo(){return navigator.cpuClass}function fo(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function mo(){return T(E(navigator.deviceMemory),void 0)}function po(){let 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"]}}async function ho({debug:e}={}){if(!go())return;let t=po(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await yo(o);e&&bo(t,r);let i=n.filter(a=>{let d=t[a];return x(d.map(u=>r[u]))>d.length*.6});return i.sort(),i}function go(){return F()||he()}async function yo(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};nt(o);for(let a=0;a<e.length;++a){let d=Nn(e[a]);d.tagName==="DIALOG"&&d.show();let f=n.createElement("div");nt(f),f.appendChild(d),o.appendChild(f),r[a]=d}for(;!n.body;)await pe(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function nt(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function bo(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
2
|
+
`),...e}}function gn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function pt(){let e=window,t=navigator;return x(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function yn(){let e=window,t=navigator;return x(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!pt()}function X(){let e=window,t=navigator;return x(["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 F(){let e=window,t=navigator;return x(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Ee(){let e=window,{HTMLElement:t,Document:n}=e;return x(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function Q(){let e=window;return gn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function ee(){var e,t;let n=window;return x(["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 bn(){let e=window,t=navigator,{CSS:n}=e;return x(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function ht(){let{CSS:e}=window;return x([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function _n(){let e=window;return x([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function wn(){let e=window,{URLPattern:t}=e;return x(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function kn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return x([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function Sn(){let e=window;return x(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function te(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return x([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function vn(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return x(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function xn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function Ln(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function he(){var e,t;let n=X(),o=ee(),r=window,i=navigator;return n?x([In(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?x(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function An(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return x(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function In(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var Pn="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function Cn(e){let t=En(e),n=Fn(t);return{score:t,comment:Pn.replace(/\$/g,`${n}`)}}function En(e){if(he())return .4;if(F())return Ee()&&!(te()&&Q())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Fn(e){return mt(.99+.01*e,1e-4)}function pe(e,t){return new Promise(n=>setTimeout(n,e,t))}function Mn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function Rn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):pe(Math.min(e,t))}function gt(e){return!!e&&typeof e.then=="function"}function Qe(e,t){try{let n=e();gt(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function et(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await Mn())}return o}function K(e){return e.then(void 0,()=>{}),e}function Tn(e){return typeof e!="function"}function Vn(e,t){let n=K(new Promise(o=>{let r=Date.now();Qe(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let d=i[1];if(Tn(d))return o(()=>({value:d,duration:a}));o(()=>new Promise(f=>{let u=Date.now();Qe(d,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function Nn(e,t,n,o){let r=Object.keys(e).filter(a=>fn(n,a)),i=K(et(r,a=>Vn(e[a],t),o));return async function(){let d=await i,f=await et(d,c=>K(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function yt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await pe(n);let d=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},y=b=>{s=!0,u(b)};d.onload=c,d.onerror=y;let{style:p}=d;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",t&&"srcdoc"in d?d.srcdoc=t:d.src="about:blank",a.body.appendChild(d);let h=()=>{var b,A;s||(((A=(b=d.contentWindow)===null||b===void 0?void 0:b.document)===null||A===void 0?void 0:A.readyState)==="complete"?c():setTimeout(h,10))};h()});!(!((r=(o=d.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await pe(n);return await e(d,d.contentWindow)}finally{(i=d.parentNode)===null||i===void 0||i.removeChild(d)}}function Wn(e){let[t,n]=mn(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?On(o.style,i):o.setAttribute(r,i)}return o}function On(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function Dn(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Gn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if($n())return-3;try{return e.canMakePayments()?1:0}catch(t){return Hn(t)}}var $n=Dn;function Hn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Zn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function jn(){return Xn()?-4:Yn()}function Yn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(zn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[d,f]=Bn(r),u=K(d.then(s=>Jn(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function zn(){return F()&&!Ee()&&!Sn()}function Xn(){return F()&&te()&&Q()||X()&&An()&&wn()}function Bn(e){let i=()=>{};return[new Promise((d,f)=>{let u=!1,s=0,c=0;e.oncomplete=h=>d(h.renderedBuffer);let y=()=>{setTimeout(()=>f(tt("timeout")),Math.min(500,c+5e3-Date.now()))},p=()=>{try{let h=e.startRendering();switch(gt(h)&&K(h),e.state){case"running":c=Date.now(),u&&y();break;case"suspended":document.hidden||s++,u&&s>=3?f(tt("suspended")):setTimeout(p,500);break}}catch(h){f(h)}};p(),i=()=>{u||(u=!0,c>0&&y())}}),i]}function Jn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function tt(e){let t=new Error(e);return t.name=e,t}function Un(){if(!(he()||F()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function qn(){return Kn(io())}function Kn(e){let t=!1,n,o,[r,i]=Qn();return eo(r,i)?(t=to(i),e?n=o="skipped":[n,o]=no(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function Qn(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function eo(e,t){return!!(t&&e.toDataURL)}function to(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function no(e,t){oo(e,t);let n=xe(e),o=xe(e);return n!==o?["unstable","unstable"]:(ro(e,t),[xe(e),n])}function oo(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"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function ro(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,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 xe(e){return e.toDataURL()}function io(){let e=F()&&te()&&Q(),t=ee()&&bn();return e||t}function so(){return window.screen.colorDepth}function co(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function ao(){if(j("no-preference"))return 0;if(j("high")||j("more"))return 1;if(j("low")||j("less"))return-1;if(j("forced"))return 10}function j(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function uo(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let 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 lo(){return navigator.cpuClass}function fo(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function mo(){return T(E(navigator.deviceMemory),void 0)}function po(){let 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"]}}async function ho({debug:e}={}){if(!go())return;let t=po(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await yo(o);e&&bo(t,r);let i=n.filter(a=>{let d=t[a];return x(d.map(u=>r[u]))>d.length*.6});return i.sort(),i}function go(){return F()||he()}async function yo(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};nt(o);for(let a=0;a<e.length;++a){let d=Wn(e[a]);d.tagName==="DIALOG"&&d.show();let f=n.createElement("div");nt(f),f.appendChild(d),o.appendChild(f),r[a]=d}for(;!n.body;)await pe(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function nt(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function bo(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
3
3
|
${o}:`;for(let r of e[o])n+=`
|
|
4
4
|
${t[r]?"\u{1F6AB}":"\u27A1\uFE0F"} ${r}`}console.log(`${n}
|
|
5
|
-
\`\`\``)}var _o="mmMwWLliI0fiflO&1",Le={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function wo(){return So((e,t,n)=>{let o={},r={};for(let a of Object.keys(Le)){let[d={},f=_o]=Le[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(d)){let c=d[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=X()&&kn();for(let a of Object.keys(Le)){let d=o[a].getBoundingClientRect().width;r[a]=i?ko(d*n.devicePixelRatio):d}return r})}function ko(e){let t=he()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function So(e,t=4e3){return yt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?i.style.zoom=`${1/o.devicePixelRatio}`:F()&&(i.style.zoom="reset");let d=r.createElement("div");return d.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(d),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var vo="mmMwWLliI0O&1",xo="48px",Y=["monospace","sans-serif","serif"],ot=["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 Lo(){return yt((e,{document:t})=>{let n=t.body;n.style.fontSize=xo;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=p=>{let h=t.createElement("span"),{style:b}=h;return b.position="absolute",b.top="0",b.left="0",b.fontFamily=p,h.textContent=vo,o.appendChild(h),h},d=(p,h)=>a(`'${p}',${h}`),f=()=>Y.map(a),u=()=>{let p={};for(let h of ot)p[h]=Y.map(b=>d(h,b));return p},s=p=>Y.some((h,b)=>p[b].offsetWidth!==r[h]||p[b].offsetHeight!==i[h]),c=f(),y=u();n.appendChild(o);for(let p=0;p<Y.length;p++)r[Y[p]]=c[p].offsetWidth,i[Y[p]]=c[p].offsetHeight;return ot.filter(p=>s(y[p]))})}function Ao(){if(rt("active"))return!0;if(rt("none"))return!1}function rt(e){return matchMedia(`(forced-colors: ${e})`).matches}function Io(){let e=Po();return e!==void 0&&ee()&&ht()?e>=8?8:4:e}function Po(){return T(Ce(navigator.hardwareConcurrency),void 0)}function Co(){if(it("high"))return!0;if(it("standard"))return!1}function it(e){return matchMedia(`(dynamic-range: ${e})`).matches}function Eo(){if(!(pt()||yn()))try{return!!window.indexedDB}catch{return!0}}function Fo(){if(st("inverted"))return!0;if(st("none"))return!1}function st(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Mo(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&_n()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function Ro(){try{return!!window.localStorage}catch{return!0}}var k=Math,L=()=>0;function To(){let e=k.acos||L,t=k.acosh||L,n=k.asin||L,o=k.asinh||L,r=k.atanh||L,i=k.atan||L,a=k.sin||L,d=k.sinh||L,f=k.cos||L,u=k.cosh||L,s=k.tan||L,c=k.tanh||L,y=k.exp||L,p=k.expm1||L,h=k.log1p||L,b=_=>k.pow(k.PI,_),A=_=>k.log(_+k.sqrt(_*_-1)),H=_=>k.log(_+k.sqrt(_*_+1)),ie=_=>k.log((1+_)/(1-_))/2,Z=_=>k.exp(_)-1/k.exp(_)/2,O=_=>(k.exp(_)+1/k.exp(_))/2,se=_=>k.exp(_)-1,M=_=>(k.exp(2*_)-1)/(k.exp(2*_)+1),J=_=>k.log(1+_);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:A(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:H(1),atanh:r(.5),atanhPf:ie(.5),atan:i(.5),sin:a(-1e300),sinh:d(1),sinhPf:Z(1),cos:f(10.000000000123),cosh:u(1),coshPf:O(1),tan:s(-1e300),tanh:c(1),tanhPf:M(1),exp:y(1),expm1:p(1),expm1Pf:se(1),log1p:h(10),log1pPf:J(10),powPI:b(-100)}}var Vo=100;function Wo(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Vo;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function No(){return!!window.openDatabase}function Oo(){return navigator.oscpu}function Do(){return navigator.pdfViewerEnabled}function Go(){let{platform:e}=navigator;return e==="MacIntel"&&F()&&!Ee()?vn()?"iPad":"iPhone":e}function $o(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function Ho(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Zo(){if(ct("reduce"))return!0;if(ct("no-preference"))return!1}function ct(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function jo(){if(at("reduce"))return!0;if(at("no-preference"))return!1}function at(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Yo=2500,zo=10,me,Ae;function Xo(){if(Ae!==void 0)return;let e=()=>{let t=Ie();Pe(t)?Ae=setTimeout(e,Yo):(me=t,Ae=void 0)};e()}function Bo(){return Xo(),async()=>{let e=Ie();if(Pe(e)){if(me)return[...me];xn()&&(await Ln(),e=Ie())}return Pe(e)||(me=e),e}}function Jo(){let e=F()&&te()&&Q(),t=ee()&&ht();if(e||t)return()=>Promise.resolve(void 0);let n=Bo();return async()=>{let o=await n(),r=i=>i===null?null:mt(i,zo);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function Ie(){let e=screen;return[T(E(e.availTop),null),T(E(e.width)-E(e.availWidth)-T(E(e.availLeft),0),null),T(E(e.height)-E(e.availHeight)-T(E(e.availTop),0),null),T(E(e.availLeft),null)]}function Pe(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Uo(){if(!(F()&&te()&&Q()))return qo()}function qo(){let e=screen,t=o=>T(Ce(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function Ko(){try{return!!window.sessionStorage}catch{return!0}}function Qo(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-er();return`UTC${n>=0?"+":""}${n}`}function er(){let e=new Date().getFullYear();return Math.max(E(new Date(e,0,1).getTimezoneOffset()),E(new Date(e,6,1).getTimezoneOffset()))}function tr(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=Ce(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function nr(e){return/not/i.test(e)}async function or(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!nr(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function rr(){return navigator.vendor||""}function ir(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var bt=-1,_t=-2,sr=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),cr=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),ar=["FRAGMENT_SHADER","VERTEX_SHADER"],ur=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],wt="WEBGL_debug_renderer_info",lr="WEBGL_polygon_mode";function dr({cache:e}){var t,n,o,r,i,a;let d=kt(e);if(!d)return bt;if(!vt(d))return _t;let f=St()?null:d.getExtension(wt);return{version:((t=d.getParameter(d.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=d.getParameter(d.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=d.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=d.getParameter(d.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=d.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=d.getParameter(d.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function fr({cache:e}){let t=kt(e);if(!t)return bt;if(!vt(t))return _t;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],d=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=ut(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${sr.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===wt&&St()||s===lr&&hr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let y of ut(c)){let p=c[y];d.push(`${y}=${p}${cr.has(p)?`=${t.getParameter(p)}`:""}`)}}for(let s of ar)for(let c of ur){let y=mr(t,s,c);f.push(`${s}.${c}=${y.join(",")}`)}return d.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:d,unsupportedExtensions:r}}function kt(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function mr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function ut(e){return Object.keys(e.__proto__).filter(pr)}function pr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function St(){return ee()}function hr(){return X()||F()}function vt(e){return typeof e.getParameter=="function"}var gr={userAgentData:or,fonts:Lo,domBlockers:ho,fontPreferences:wo,audio:jn,screenFrame:Jo,canvas:qn,osCpu:Oo,languages:Mo,colorDepth:so,deviceMemory:mo,screenResolution:Uo,hardwareConcurrency:Io,timezone:Qo,sessionStorage:Ko,localStorage:Ro,indexedDB:Eo,openDatabase:No,cpuClass:lo,platform:Go,plugins:$o,touchSupport:tr,vendor:rr,vendorFlavors:ir,cookiesEnabled:uo,colorGamut:co,invertedColors:Fo,forcedColors:Ao,monochrome:Wo,contrast:ao,reducedMotion:Zo,reducedTransparency:jo,hdr:Co,math:To,pdfViewerEnabled:Do,architecture:Zn,applePay:Gn,privateClickMeasurement:Ho,audioBaseLatency:Un,dateTimeLocale:fo,webGlBasics:dr,webGlExtensions:fr};function yr(e){return Wn(gr,e,[])}function N(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i+u,y+=p>>>16,p&=65535,y+=r+f,c+=y>>>16,y&=65535,c+=o+d,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function C(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i*u,y+=p>>>16,p&=65535,y+=r*u,c+=y>>>16,y&=65535,y+=i*f,c+=y>>>16,y&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*d,s+=c>>>16,c&=65535,s+=n*u+o*f+r*d+i*a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function z(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function P(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function S(e,t){e[0]^=t[0],e[1]^=t[1]}var br=[4283543511,3981806797],_r=[3301882366,444984403];function lt(e){let t=[0,e[0]>>>1];S(e,t),C(e,br),t[1]=e[0]>>>1,S(e,t),C(e,_r),t[1]=e[0]>>>1,S(e,t)}var de=[2277735313,289559509],fe=[1291169091,658871167],dt=[0,5],wr=[0,1390208809],kr=[0,944331445];function Sr(e,t){let n=pn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],d=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,C(f,de),z(f,31),C(f,fe),S(a,f),z(a,27),N(a,d),C(a,dt),N(a,wr),C(u,fe),z(u,33),C(u,de),S(d,u),z(d,31),N(d,a),C(d,dt),N(d,kr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],P(c,48),S(u,c);case 14:c[1]=n[s+13],P(c,40),S(u,c);case 13:c[1]=n[s+12],P(c,32),S(u,c);case 12:c[1]=n[s+11],P(c,24),S(u,c);case 11:c[1]=n[s+10],P(c,16),S(u,c);case 10:c[1]=n[s+9],P(c,8),S(u,c);case 9:c[1]=n[s+8],S(u,c),C(u,fe),z(u,33),C(u,de),S(d,u);case 8:c[1]=n[s+7],P(c,56),S(f,c);case 7:c[1]=n[s+6],P(c,48),S(f,c);case 6:c[1]=n[s+5],P(c,40),S(f,c);case 5:c[1]=n[s+4],P(c,32),S(f,c);case 4:c[1]=n[s+3],P(c,24),S(f,c);case 3:c[1]=n[s+2],P(c,16),S(f,c);case 2:c[1]=n[s+1],P(c,8),S(f,c);case 1:c[1]=n[s],S(f,c),C(f,de),z(f,31),C(f,fe),S(a,f)}return S(a,o),S(d,o),N(a,d),N(d,a),lt(a),lt(d),N(a,d),N(d,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(d[0]>>>0).toString(16)}`.slice(-8)+`00000000${(d[1]>>>0).toString(16)}`.slice(-8)}function vr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function xt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?hn(n):n,2)}function Lt(e){return Sr(vr(e))}function xr(e){let t,n=Cn(e);return{get visitorId(){return t===void 0&&(t=Lt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:ft}}function Lr(e=50){return Rn(e,e*2)}function Ar(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=xr(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
5
|
+
\`\`\``)}var _o="mmMwWLliI0fiflO&1",Le={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function wo(){return So((e,t,n)=>{let o={},r={};for(let a of Object.keys(Le)){let[d={},f=_o]=Le[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(d)){let c=d[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=X()&&kn();for(let a of Object.keys(Le)){let d=o[a].getBoundingClientRect().width;r[a]=i?ko(d*n.devicePixelRatio):d}return r})}function ko(e){let t=he()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function So(e,t=4e3){return yt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?i.style.zoom=`${1/o.devicePixelRatio}`:F()&&(i.style.zoom="reset");let d=r.createElement("div");return d.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(d),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var vo="mmMwWLliI0O&1",xo="48px",Y=["monospace","sans-serif","serif"],ot=["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 Lo(){return yt((e,{document:t})=>{let n=t.body;n.style.fontSize=xo;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=p=>{let h=t.createElement("span"),{style:b}=h;return b.position="absolute",b.top="0",b.left="0",b.fontFamily=p,h.textContent=vo,o.appendChild(h),h},d=(p,h)=>a(`'${p}',${h}`),f=()=>Y.map(a),u=()=>{let p={};for(let h of ot)p[h]=Y.map(b=>d(h,b));return p},s=p=>Y.some((h,b)=>p[b].offsetWidth!==r[h]||p[b].offsetHeight!==i[h]),c=f(),y=u();n.appendChild(o);for(let p=0;p<Y.length;p++)r[Y[p]]=c[p].offsetWidth,i[Y[p]]=c[p].offsetHeight;return ot.filter(p=>s(y[p]))})}function Ao(){if(rt("active"))return!0;if(rt("none"))return!1}function rt(e){return matchMedia(`(forced-colors: ${e})`).matches}function Io(){let e=Po();return e!==void 0&&ee()&&ht()?e>=8?8:4:e}function Po(){return T(Ce(navigator.hardwareConcurrency),void 0)}function Co(){if(it("high"))return!0;if(it("standard"))return!1}function it(e){return matchMedia(`(dynamic-range: ${e})`).matches}function Eo(){if(!(pt()||yn()))try{return!!window.indexedDB}catch{return!0}}function Fo(){if(st("inverted"))return!0;if(st("none"))return!1}function st(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Mo(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&_n()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function Ro(){try{return!!window.localStorage}catch{return!0}}var k=Math,L=()=>0;function To(){let e=k.acos||L,t=k.acosh||L,n=k.asin||L,o=k.asinh||L,r=k.atanh||L,i=k.atan||L,a=k.sin||L,d=k.sinh||L,f=k.cos||L,u=k.cosh||L,s=k.tan||L,c=k.tanh||L,y=k.exp||L,p=k.expm1||L,h=k.log1p||L,b=_=>k.pow(k.PI,_),A=_=>k.log(_+k.sqrt(_*_-1)),H=_=>k.log(_+k.sqrt(_*_+1)),ie=_=>k.log((1+_)/(1-_))/2,Z=_=>k.exp(_)-1/k.exp(_)/2,O=_=>(k.exp(_)+1/k.exp(_))/2,se=_=>k.exp(_)-1,M=_=>(k.exp(2*_)-1)/(k.exp(2*_)+1),J=_=>k.log(1+_);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:A(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:H(1),atanh:r(.5),atanhPf:ie(.5),atan:i(.5),sin:a(-1e300),sinh:d(1),sinhPf:Z(1),cos:f(10.000000000123),cosh:u(1),coshPf:O(1),tan:s(-1e300),tanh:c(1),tanhPf:M(1),exp:y(1),expm1:p(1),expm1Pf:se(1),log1p:h(10),log1pPf:J(10),powPI:b(-100)}}var Vo=100;function No(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Vo;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Wo(){return!!window.openDatabase}function Oo(){return navigator.oscpu}function Do(){return navigator.pdfViewerEnabled}function Go(){let{platform:e}=navigator;return e==="MacIntel"&&F()&&!Ee()?vn()?"iPad":"iPhone":e}function $o(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function Ho(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Zo(){if(ct("reduce"))return!0;if(ct("no-preference"))return!1}function ct(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function jo(){if(at("reduce"))return!0;if(at("no-preference"))return!1}function at(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Yo=2500,zo=10,me,Ae;function Xo(){if(Ae!==void 0)return;let e=()=>{let t=Ie();Pe(t)?Ae=setTimeout(e,Yo):(me=t,Ae=void 0)};e()}function Bo(){return Xo(),async()=>{let e=Ie();if(Pe(e)){if(me)return[...me];xn()&&(await Ln(),e=Ie())}return Pe(e)||(me=e),e}}function Jo(){let e=F()&&te()&&Q(),t=ee()&&ht();if(e||t)return()=>Promise.resolve(void 0);let n=Bo();return async()=>{let o=await n(),r=i=>i===null?null:mt(i,zo);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function Ie(){let e=screen;return[T(E(e.availTop),null),T(E(e.width)-E(e.availWidth)-T(E(e.availLeft),0),null),T(E(e.height)-E(e.availHeight)-T(E(e.availTop),0),null),T(E(e.availLeft),null)]}function Pe(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Uo(){if(!(F()&&te()&&Q()))return qo()}function qo(){let e=screen,t=o=>T(Ce(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function Ko(){try{return!!window.sessionStorage}catch{return!0}}function Qo(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-er();return`UTC${n>=0?"+":""}${n}`}function er(){let e=new Date().getFullYear();return Math.max(E(new Date(e,0,1).getTimezoneOffset()),E(new Date(e,6,1).getTimezoneOffset()))}function tr(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=Ce(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function nr(e){return/not/i.test(e)}async function or(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!nr(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function rr(){return navigator.vendor||""}function ir(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var bt=-1,_t=-2,sr=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),cr=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),ar=["FRAGMENT_SHADER","VERTEX_SHADER"],ur=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],wt="WEBGL_debug_renderer_info",lr="WEBGL_polygon_mode";function dr({cache:e}){var t,n,o,r,i,a;let d=kt(e);if(!d)return bt;if(!vt(d))return _t;let f=St()?null:d.getExtension(wt);return{version:((t=d.getParameter(d.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=d.getParameter(d.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=d.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=d.getParameter(d.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=d.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=d.getParameter(d.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function fr({cache:e}){let t=kt(e);if(!t)return bt;if(!vt(t))return _t;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],d=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=ut(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${sr.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===wt&&St()||s===lr&&hr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let y of ut(c)){let p=c[y];d.push(`${y}=${p}${cr.has(p)?`=${t.getParameter(p)}`:""}`)}}for(let s of ar)for(let c of ur){let y=mr(t,s,c);f.push(`${s}.${c}=${y.join(",")}`)}return d.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:d,unsupportedExtensions:r}}function kt(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function mr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function ut(e){return Object.keys(e.__proto__).filter(pr)}function pr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function St(){return ee()}function hr(){return X()||F()}function vt(e){return typeof e.getParameter=="function"}var gr={userAgentData:or,fonts:Lo,domBlockers:ho,fontPreferences:wo,audio:jn,screenFrame:Jo,canvas:qn,osCpu:Oo,languages:Mo,colorDepth:so,deviceMemory:mo,screenResolution:Uo,hardwareConcurrency:Io,timezone:Qo,sessionStorage:Ko,localStorage:Ro,indexedDB:Eo,openDatabase:Wo,cpuClass:lo,platform:Go,plugins:$o,touchSupport:tr,vendor:rr,vendorFlavors:ir,cookiesEnabled:uo,colorGamut:co,invertedColors:Fo,forcedColors:Ao,monochrome:No,contrast:ao,reducedMotion:Zo,reducedTransparency:jo,hdr:Co,math:To,pdfViewerEnabled:Do,architecture:Zn,applePay:Gn,privateClickMeasurement:Ho,audioBaseLatency:Un,dateTimeLocale:fo,webGlBasics:dr,webGlExtensions:fr};function yr(e){return Nn(gr,e,[])}function W(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i+u,y+=p>>>16,p&=65535,y+=r+f,c+=y>>>16,y&=65535,c+=o+d,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function C(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i*u,y+=p>>>16,p&=65535,y+=r*u,c+=y>>>16,y&=65535,y+=i*f,c+=y>>>16,y&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*d,s+=c>>>16,c&=65535,s+=n*u+o*f+r*d+i*a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function z(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function P(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function S(e,t){e[0]^=t[0],e[1]^=t[1]}var br=[4283543511,3981806797],_r=[3301882366,444984403];function lt(e){let t=[0,e[0]>>>1];S(e,t),C(e,br),t[1]=e[0]>>>1,S(e,t),C(e,_r),t[1]=e[0]>>>1,S(e,t)}var de=[2277735313,289559509],fe=[1291169091,658871167],dt=[0,5],wr=[0,1390208809],kr=[0,944331445];function Sr(e,t){let n=pn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],d=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,C(f,de),z(f,31),C(f,fe),S(a,f),z(a,27),W(a,d),C(a,dt),W(a,wr),C(u,fe),z(u,33),C(u,de),S(d,u),z(d,31),W(d,a),C(d,dt),W(d,kr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],P(c,48),S(u,c);case 14:c[1]=n[s+13],P(c,40),S(u,c);case 13:c[1]=n[s+12],P(c,32),S(u,c);case 12:c[1]=n[s+11],P(c,24),S(u,c);case 11:c[1]=n[s+10],P(c,16),S(u,c);case 10:c[1]=n[s+9],P(c,8),S(u,c);case 9:c[1]=n[s+8],S(u,c),C(u,fe),z(u,33),C(u,de),S(d,u);case 8:c[1]=n[s+7],P(c,56),S(f,c);case 7:c[1]=n[s+6],P(c,48),S(f,c);case 6:c[1]=n[s+5],P(c,40),S(f,c);case 5:c[1]=n[s+4],P(c,32),S(f,c);case 4:c[1]=n[s+3],P(c,24),S(f,c);case 3:c[1]=n[s+2],P(c,16),S(f,c);case 2:c[1]=n[s+1],P(c,8),S(f,c);case 1:c[1]=n[s],S(f,c),C(f,de),z(f,31),C(f,fe),S(a,f)}return S(a,o),S(d,o),W(a,d),W(d,a),lt(a),lt(d),W(a,d),W(d,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(d[0]>>>0).toString(16)}`.slice(-8)+`00000000${(d[1]>>>0).toString(16)}`.slice(-8)}function vr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function xt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?hn(n):n,2)}function Lt(e){return Sr(vr(e))}function xr(e){let t,n=Cn(e);return{get visitorId(){return t===void 0&&(t=Lt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:ft}}function Lr(e=50){return Rn(e,e*2)}function Ar(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=xr(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
6
6
|
|
|
7
7
|
\`\`\`
|
|
8
8
|
version: ${a.version}
|
|
@@ -10,4 +10,4 @@ userAgent: ${navigator.userAgent}
|
|
|
10
10
|
timeBetweenLoadAndGet: ${r-n}
|
|
11
11
|
visitorId: ${a.visitorId}
|
|
12
12
|
components: ${xt(i)}
|
|
13
|
-
\`\`\``),a}}}function Ir(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${ft}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function Pr(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&Ir(),await Lr(t);let r=yr({cache:{},debug:n});return Ar(r,n)}var At={load:Pr,hashComponents:Lt,componentsToDebugString:xt};var Cr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],Er=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Fe=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Me=["lp","narrative"],It=[...Cr,...Er,...Fe,...Me],Fr=new Set(It);function Re(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();Fr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Mr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,Rr=["email"],Tr=["phone","phonenumber","phone_number","tel","telefone"];function B(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Mr.test(t)&&t.length<=254?t:null}function ne(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}var Vr=/^[a-z][a-z0-9_]{0,31}$/;function ge(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Vr.test(t)?t:null}function Pt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&Rr.includes(i)&&(t.email=B(r)||void 0),!t.phone&&Tr.includes(i)&&(t.phone=ne(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ve=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Wr=/\/widget\/(form|survey|booking)\//,Tt=["buy.stripe.com","checkout.stripe.com"],Vt=e=>new Set([...Tt,...e||[]].map(t=>String(t).toLowerCase())),V=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Nr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",ye="data-f10x-field";function Ct(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Nr);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(ye))&&(a.value=i);else if(o){let d=document.createElement("input");d.type="hidden",d.name=r,d.value=i,d.setAttribute(ye,""),e.appendChild(d)}}}var Et=new WeakMap;function Or(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=Et.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,Et.set(t,n),t.setAttribute(ye,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Te(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))Ve.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return Tt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var Ft=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function We({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Vt(t),a=new WeakSet,d=!1,f=0,u=p=>{for(let h of document.querySelectorAll("a[href]")){if(!i.has(Ft(h.getAttribute("href"))))continue;let b=Te(h.getAttribute("href"),p,location.href);b&&h.setAttribute("href",b)}},s=p=>{for(let h of document.querySelectorAll("iframe[src]")){let b=h.getAttribute("src");if(!Wr.test(b))continue;let A=Te(b,p,location.href);A&&h.setAttribute("src",A)}},c=(p={})=>{p.iframes&&(d=!0);let h=e();for(let b of document.forms)Ct(b,h,n);Or(h),u(h),d&&s(h)},y=()=>{f||(f=setTimeout(V(()=>{f=0,c()},o),50))};return new MutationObserver(y).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",V(p=>Ct(p.target,e(),n),o),!0),document.addEventListener("click",V(p=>{let h=p.target instanceof Element?p.target.closest("a[href]"):null,b=h?Ft(h.getAttribute("href")):"";if(!h||!i.has(b))return;let A=Te(h.getAttribute("href"),e(),location.href);A&&h.setAttribute("href",A),r&&!a.has(h)&&r(b)&&a.add(h)},o),!0),V(c,o)(),{refresh:c}}var $="_f10x",Dr=120*1e3,Gr=200;function Wt({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Nt(e,t){let n;try{n=new URL(e).searchParams.get($)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),d=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||d!=="i"&&d!=="a"||f.length>Gr||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Dr?{distinctID:f,sessionID:u||null,identified:d==="i"}:null}var $r=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Ot(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");$r.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Dt({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Vt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},d=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=V(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&d(s.getAttribute("href")),y=c&&n();y&&(c.searchParams.set($,y),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",V(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has($)&&(c.searchParams.delete($),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",V(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,y=d((c||s).getAttribute(c?"formaction":"action")||""),p=y&&n();if(!p)return;let h=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(h==="get"){let b=s.querySelector(`input[name="${$}"]`);b||(b=document.createElement("input"),b.type="hidden",b.name=$,b.setAttribute(ye,""),s.appendChild(b)),b.value=p}else h==="post"&&(y.searchParams.set($,p),(c||s).setAttribute(c?"formaction":"action",y.href))},o),!0)}var Hr=/e-?mail/i,Zr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Gt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),$t=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Ht=e=>e.type==="email"||Hr.test($t(e)),Zt=e=>e.type==="tel"||e.type!=="email"&&Zr.test($t(e));function jr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function Yr(e){if(!(e instanceof HTMLInputElement)||Gt.has(e.type))return{};if(Ht(e)){let t=B(e.value);return t?{email:t}:{}}if(Zt(e)){let t=ne(e.value,jr(e));return t?{phone:t}:{}}return{}}function Mt(e){let t={};for(let n of e){let o=Yr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function zr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Gt.has(r.type)&&(Ht(r)||Zt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Xr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity()),Br="acquisition_type";function Rt(e){let t=e.closest("[data-acquisition-type]"),n=e.querySelector(`[name="${Br}"]`);return{attribute:t?t.getAttribute("data-acquisition-type"):null,field:n&&typeof n.value=="string"?n.value:null}}function jt(e,t){document.addEventListener("submit",V(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Mt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form",Rt(n.target))},t),!0),document.addEventListener("click",V(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=zr(o);if(!r||Xr(r))return;let i=Mt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form",Rt(r))},t),!0)}var Ge="2.6.0",Ne="f10x_consent",Ze="f10x_login",Jr=10,Ur=typeof G=="object"?G:[],qr="1",Kr=/^\d+\.\d+\.\d+$/,$e="f10x_contact_id",Qr="contact_id",ei=/^[A-Za-z0-9_-]{6,128}$/,Yt=1e3,zt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",ti="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",ni=["snippet","page"],oi=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Xt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},ri=["purchase","registration_completed","appointment_scheduled"];function ii(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Xt,e)?Xt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":ri.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let d=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof d=="number"&&Number.isFinite(d)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var He=e=>e&&e.message||String(e),si=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${He(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,ci=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function ai(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function ui(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(re("local",e)))||t(n(re("session",e)))}var li={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},je=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},re=(e,t)=>{var n,o;try{return(o=(n=je(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},be=(e,t,n)=>{var o;try{(o=je(e))==null||o.setItem(t,n)}catch{}};function Bt(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ve){let r=n.get(o);r&&ei.test(r)&&(t[o]=r)}}catch{}return t}function di(e,t){let n=`${e}:${t}`,o=3735928559,r=1103547991;for(let i=0;i<n.length;i++){let a=n.charCodeAt(i);o=Math.imul(o^a,2654435761),r=Math.imul(r^a,1597334677)}return o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),(r>>>0).toString(16).padStart(8,"0")+(o>>>0).toString(16).padStart(8,"0")}function fi(){try{let e=new Uint8Array(12);return window.crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}catch{return`${Math.random().toString(36).slice(2)}${Math.random().toString(36).slice(2)}`}}function mi(){try{let e=JSON.parse(re("local",Ze)||"null");return e&&typeof e.salt=="string"&&e.salt&&typeof e.id=="string"&&Array.isArray(e.emails)?e:null}catch{return null}}function pi(e){try{if(typeof e._isIdentified=="function")return!!e._isIdentified()}catch{}return e.get_property("$user_state")==="identified"}var Oe=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Jt(){for(let n of["local","session"]){let o=je(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===$e||r===Ze)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function hi(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Ut=e=>e==null||e==="posthog";function gi(e){let t=[],n=o=>{for(let r of Ur)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Ut(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function yi(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=qr;return t&&(Kr.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function Mi(e={}){if(window.__f10xTracking)return oe(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=De("preview"),oe(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let l=Oe({...Re(o),...Bt(o)}),m=!1,g=w=>{m||console.warn(`[@funnel10x/tracking] the dom extra failed (${He(w)}): the form in this frame may miss the fields from its URL.`),m=!0};try{We({values:()=>l,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:g})}catch(w){g(w)}return t=De("frame",()=>l),oe(t)}if(hi())return console.warn(zt),t=De("conflict"),oe(t);let i=Re(o),a=Bt(o)[Qr]||null,d=[],f="idle",u=null,s=!1,c=null,y=null,p=null,h=!1,b=null,A=!1,H=!1,ie=yi(e.apiHost,e.sdkVersion),Z=[],O=(l,m)=>{Z.includes(l)||(Z.push(l),console.warn(si(l,m)))},se=new Set,M=(l,m)=>{se.has(l)||(se.add(l),console.warn(`[@funnel10x/tracking] ${m}`))},J=ni.includes(e.checkout)?e.checkout:null;J||console.warn(oi(e.checkout));let _=(l,m,g)=>{try{return m()}catch(w){return O(l,w),g}},Ye=()=>{h||console.warn(ti),h=!0},W=gi(Ye),qt=window.posthog;window.posthog=W;let ze=()=>{let l={...i};return s&&(l.ph_anon_id=u.get_property("$device_id"),l.ph_distinct_id=u.get_distinct_id(),l.ph_session_id=u.get_session_id(),b&&(l.contact_id=b)),Oe(l)},Kt=l=>s?(u.capture("checkout",{checkout_host:l},{send_instantly:!0}),!0):!1,Xe=_("dom",()=>We({values:ze,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:l=>O("dom",l),onCheckout:J==="snippet"?Kt:void 0}),null),ce=l=>{Xe&&_("dom",()=>Xe.refresh(l))},_e=new Set,we=[],ae=(l,m,g=null)=>{if(!s){n&&U()==="denied"||we.push([l,m,g]);return}let w=(I,R)=>g?`${I}:${R}:${g}`:`${I}:${R}`,v=Object.fromEntries(Object.entries(l).filter(([I,R])=>R&&!_e.has(w(I,R))));if(Object.keys(v).length){for(let[I,R]of Object.entries(v))_e.add(`${I}:${R}`),g&&_e.add(w(I,R));u.capture("contact_captured",{...v,contact_source:m,...g?{acquisition_type:g}:{}})}},Be=new Set,ke=[],Je=l=>{if(!s){n&&U()==="denied"||ke.push(l);return}if(Be.has(l))return;if(Be.add(l),pi(u)){M("login:identified","login(): PostHog already has this browser as identified (an identify ran here before), so the login is not sent: the admin links this browser through that identify.");return}let m=u.get_distinct_id(),g=mi(),w=g?g.salt:fi(),v=di(w,l),I=g&&g.id===m?g.emails.filter(R=>typeof R=="string"):[];I.includes(v)||(u.capture("contact_captured",{email:l,contact_source:"login"}),be("local",Ze,JSON.stringify({salt:w,id:m,emails:[...I,v].slice(-Jr)})))},Qt=l=>{let m=l&&l.attribute!=null?String(l.attribute):null,g=l&&l.field!=null&&String(l.field).trim()!==""?String(l.field):null,w=m!=null?m:g;if(w===null)return null;let v=ge(w);return v?m!==null&&g!==null&&ge(g)!==v&&M(`acquisition_type:${m}:${g}`,`data-acquisition-type is ${JSON.stringify(m)} and the acquisition_type field is ${JSON.stringify(g)}: contact_captured goes with the attribute.`):M(`acquisition_type:${w}`,`${m!==null?"data-acquisition-type":"the acquisition_type field"} is ${JSON.stringify(w)}, which is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`),v},en=_("contact",()=>Pt(o),{});_("contact",()=>jt((l,m,g)=>ae(l,m,Qt(g)),l=>O("contact",l)));let Se=_("linker",()=>Ot(e.linkedDomains),[]),D=Se.length?_("linker",()=>Nt(o,ci()),null):null,Ue=!1,ue=null,le=null,tn=()=>s?Wt({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;Se.length&&_("linker",()=>Dt({hosts:Se,checkoutHosts:e.checkoutHosts,value:tn,onError:l=>O("linker",l)}));let nn=l=>{!D||Ue||(Ue=!0,_("linker",()=>{let m=l.bootstrap&&typeof l.bootstrap=="object"?l.bootstrap:{};if(m.distinctID||l.identity_distinct_id||ui(ai(e.key,l))){le=D.distinctID;return}ue={...m,distinctID:D.distinctID,isIdentifiedID:D.identified,...D.sessionID&&!m.sessionID?{sessionID:D.sessionID}:{}}}))},on=Oe({tracking_version:Ge,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),rn=l=>(!l||l.event==="$snapshot"||(l.properties={...l.properties,...on,...c?{fingerprint:c}:{},fingerprint_ms:y,...h?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...le?{linked_distinct_id:le}:{}}),l),U=()=>{let l=re("local",Ne);return l==="granted"||l==="denied"?l:null},q=!n||e.consent===!1||U()==="granted",ve=n?"direct":"tag",sn=()=>{if(p)return p;let l=Date.now(),m=(async()=>{let w=await(await At.load({monitoring:!1})).get();c=(w==null?void 0:w.visitorId)||null,y=Date.now()-l})().catch(g=>{y===null&&(y=Date.now()-l),O("fingerprint",g)});return p=Promise.race([m,new Promise(g=>setTimeout(g,Yt))]).then(()=>{y===null&&(y=Yt)}),p},cn=()=>{if(A)return;A=!0;let l=document.createElement("link");l.rel="preload",l.as="script",l.crossOrigin="anonymous",l.href=ie,document.head.appendChild(l)},qe=()=>{let l=e.posthog||{};return nn(l),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...li,custom_campaign_params:[...Fe,"utm_id","utm_placement",...Me],...l,...ue?{bootstrap:ue}:{},before_send:rn,loaded:un}},an=()=>{let l=window.posthog;if(l===W){if(W._i.unshift([e.key,qe()]),f="injected",H)return;H=!0;let m=document.createElement("script");m.async=!0,m.crossOrigin="anonymous",m.src=ie,document.head.appendChild(m);return}if(H&&l&&!l.__loaded&&typeof l.init=="function"){f="injected",l.init(e.key,qe()),u&&typeof u._execute_array=="function"&&u._execute_array(W);return}console.warn(zt),ve="conflict",f="idle"},Ke=()=>{f!=="idle"||ve==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!q){f="idle";return}if(cn(),await _("fingerprint",sn,null),!q){f="idle";return}an()}).catch(l=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${He(l)}): nothing is tracked by this snippet on this page.`),!H&&(f="idle",window.posthog===W&&(window.posthog=qt))}))};function un(l){u=l,f="loaded";let m=l.init;l.init=function(g,w,v){return Ut(v)&&Ye(),m.apply(this,arguments)},l.has_opted_out_capturing()&&l.opt_in_capturing({captureEventName:!1}),b=a||re("session",$e),a&&(be("session",$e,a),l.get_distinct_id()!==a&&l.identify(a)),s=!0,ce({iframes:!0}),_("contact",()=>{ae(en,"url");for(let[g,w,v]of we.splice(0))ae(g,w,v);for(let g of ke.splice(0))Je(g)});for(let g of d.splice(0))g(!0)}return q?Ke():(U()==="denied"&&Jt(),ce({iframes:!0})),t={version:Ge,get mode(){return ve},consent:()=>n&&e.consent?U():null,grant(){be("local",Ne,"granted"),q=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),ce({iframes:!0})):Ke()},deny(){var l;if(be("local",Ne,"denied"),q=!1,we=[],ke=[],D=null,ue=null,le=null,!u){W._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(l=u.stopSessionRecording)==null||l.call(u),u.set_config({disable_persistence:!0}),Jt(),s=!1,b=null,ce()},onReady(l){s?l(!0):d.push(l)},fields:ze,capture(l,m){try{for(let[g,w]of ii(l,m,J))M(`${l}:${g}`,w)}catch{}s&&u.capture(l,m,l==="checkout"?{send_instantly:!0}:void 0)},contact(l){_("contact",()=>{let m=l&&typeof l=="object"?l:{},g={};if(m.email!=null&&m.email!==""){let v=B(m.email);v?g.email=v:M(`contact:email:${m.email}`,`contact(): ${JSON.stringify(m.email)} is not an email, and it is not sent.`)}if(m.phone!=null&&m.phone!==""){let I=typeof m.phone=="string"&&/^\s*(\+|00)/.test(m.phone)?ne(m.phone):null;I?g.phone=I:M(`contact:phone:${m.phone}`,`contact(): ${JSON.stringify(m.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}let w=null;m.acquisitionType!=null&&m.acquisitionType!==""&&(w=ge(m.acquisitionType),w||M(`contact:acquisition_type:${m.acquisitionType}`,`contact(): acquisitionType ${JSON.stringify(m.acquisitionType)} is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`)),(g.email||g.phone)&&ae(g,"api",w)})},login(l){_("contact",()=>{var w;let m=l&&typeof l=="object"?l:{},g=m.email!=null&&m.email!==""?B(m.email):null;if(!g){M(`login:email:${m.email}`,`login(): ${JSON.stringify((w=m.email)!=null?w:null)} is not an email, and nothing is sent.`);return}Je(g)})},get posthog(){return u||(window.posthog===W?W:null)}},oe(t)}function oe(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function De(e,t=()=>({})){return{version:Ge,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},login(){},posthog:null}}export{It as ALLOWED_PARAMS,Ne as CONSENT_KEY,Ze as LOGIN_KEY,Ge as VERSION,Mi as init};
|
|
13
|
+
\`\`\``),a}}}function Ir(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${ft}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function Pr(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&Ir(),await Lr(t);let r=yr({cache:{},debug:n});return Ar(r,n)}var At={load:Pr,hashComponents:Lt,componentsToDebugString:xt};var Cr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],Er=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Fe=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Me=["lp","narrative"],Fr=["trk"],It=[...Cr,...Er,...Fe,...Me,...Fr],Mr=new Set(It);function Re(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();Mr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Rr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,Tr=["email"],Vr=["phone","phonenumber","phone_number","tel","telefone"];function B(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Rr.test(t)&&t.length<=254?t:null}function ne(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}var Nr=/^[a-z][a-z0-9_]{0,31}$/;function ge(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Nr.test(t)?t:null}function Pt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&Tr.includes(i)&&(t.email=B(r)||void 0),!t.phone&&Vr.includes(i)&&(t.phone=ne(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ve=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Wr=/\/widget\/(form|survey|booking)\//,Tt=["buy.stripe.com","checkout.stripe.com"],Vt=e=>new Set([...Tt,...e||[]].map(t=>String(t).toLowerCase())),V=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Or="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",ye="data-f10x-field";function Ct(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Or);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(ye))&&(a.value=i);else if(o){let d=document.createElement("input");d.type="hidden",d.name=r,d.value=i,d.setAttribute(ye,""),e.appendChild(d)}}}var Et=new WeakMap;function Dr(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=Et.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,Et.set(t,n),t.setAttribute(ye,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Te(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))Ve.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return Tt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var Ft=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Ne({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Vt(t),a=new WeakSet,d=!1,f=0,u=p=>{for(let h of document.querySelectorAll("a[href]")){if(!i.has(Ft(h.getAttribute("href"))))continue;let b=Te(h.getAttribute("href"),p,location.href);b&&h.setAttribute("href",b)}},s=p=>{for(let h of document.querySelectorAll("iframe[src]")){let b=h.getAttribute("src");if(!Wr.test(b))continue;let A=Te(b,p,location.href);A&&h.setAttribute("src",A)}},c=(p={})=>{p.iframes&&(d=!0);let h=e();for(let b of document.forms)Ct(b,h,n);Dr(h),u(h),d&&s(h)},y=()=>{f||(f=setTimeout(V(()=>{f=0,c()},o),50))};return new MutationObserver(y).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",V(p=>Ct(p.target,e(),n),o),!0),document.addEventListener("click",V(p=>{let h=p.target instanceof Element?p.target.closest("a[href]"):null,b=h?Ft(h.getAttribute("href")):"";if(!h||!i.has(b))return;let A=Te(h.getAttribute("href"),e(),location.href);A&&h.setAttribute("href",A),r&&!a.has(h)&&r(b)&&a.add(h)},o),!0),V(c,o)(),{refresh:c}}var $="_f10x",Gr=120*1e3,$r=200;function Nt({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Wt(e,t){let n;try{n=new URL(e).searchParams.get($)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),d=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||d!=="i"&&d!=="a"||f.length>$r||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Gr?{distinctID:f,sessionID:u||null,identified:d==="i"}:null}var Hr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Ot(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Hr.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Dt({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Vt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},d=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=V(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&d(s.getAttribute("href")),y=c&&n();y&&(c.searchParams.set($,y),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",V(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has($)&&(c.searchParams.delete($),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",V(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,y=d((c||s).getAttribute(c?"formaction":"action")||""),p=y&&n();if(!p)return;let h=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(h==="get"){let b=s.querySelector(`input[name="${$}"]`);b||(b=document.createElement("input"),b.type="hidden",b.name=$,b.setAttribute(ye,""),s.appendChild(b)),b.value=p}else h==="post"&&(y.searchParams.set($,p),(c||s).setAttribute(c?"formaction":"action",y.href))},o),!0)}var Zr=/e-?mail/i,jr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Gt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),$t=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Ht=e=>e.type==="email"||Zr.test($t(e)),Zt=e=>e.type==="tel"||e.type!=="email"&&jr.test($t(e));function Yr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function zr(e){if(!(e instanceof HTMLInputElement)||Gt.has(e.type))return{};if(Ht(e)){let t=B(e.value);return t?{email:t}:{}}if(Zt(e)){let t=ne(e.value,Yr(e));return t?{phone:t}:{}}return{}}function Mt(e){let t={};for(let n of e){let o=zr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Xr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Gt.has(r.type)&&(Ht(r)||Zt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Br=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity()),Jr="acquisition_type";function Rt(e){let t=e.closest("[data-acquisition-type]"),n=e.querySelector(`[name="${Jr}"]`);return{attribute:t?t.getAttribute("data-acquisition-type"):null,field:n&&typeof n.value=="string"?n.value:null}}function jt(e,t){document.addEventListener("submit",V(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Mt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form",Rt(n.target))},t),!0),document.addEventListener("click",V(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Xr(o);if(!r||Br(r))return;let i=Mt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form",Rt(r))},t),!0)}var Ge="2.7.0",We="f10x_consent",Ze="f10x_login",Ur=10,qr=typeof G=="object"?G:[],Kr="1",Qr=/^\d+\.\d+\.\d+$/,$e="f10x_contact_id",ei="contact_id",ti=/^[A-Za-z0-9_-]{6,128}$/,Yt=1e3,zt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",ni="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",oi=["snippet","page"],ri=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Xt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},ii=["purchase","registration_completed","appointment_scheduled"];function si(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Xt,e)?Xt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":ii.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let d=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof d=="number"&&Number.isFinite(d)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var He=e=>e&&e.message||String(e),ci=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${He(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,ai=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function ui(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function li(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(re("local",e)))||t(n(re("session",e)))}var di={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},je=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},re=(e,t)=>{var n,o;try{return(o=(n=je(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},be=(e,t,n)=>{var o;try{(o=je(e))==null||o.setItem(t,n)}catch{}};function Bt(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ve){let r=n.get(o);r&&ti.test(r)&&(t[o]=r)}}catch{}return t}function fi(e,t){let n=`${e}:${t}`,o=3735928559,r=1103547991;for(let i=0;i<n.length;i++){let a=n.charCodeAt(i);o=Math.imul(o^a,2654435761),r=Math.imul(r^a,1597334677)}return o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),(r>>>0).toString(16).padStart(8,"0")+(o>>>0).toString(16).padStart(8,"0")}function mi(){try{let e=new Uint8Array(12);return window.crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}catch{return`${Math.random().toString(36).slice(2)}${Math.random().toString(36).slice(2)}`}}function pi(){try{let e=JSON.parse(re("local",Ze)||"null");return e&&typeof e.salt=="string"&&e.salt&&typeof e.id=="string"&&Array.isArray(e.emails)?e:null}catch{return null}}function hi(e){try{if(typeof e._isIdentified=="function")return!!e._isIdentified()}catch{}return e.get_property("$user_state")==="identified"}var Oe=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Jt(){for(let n of["local","session"]){let o=je(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===$e||r===Ze)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function gi(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Ut=e=>e==null||e==="posthog";function yi(e){let t=[],n=o=>{for(let r of qr)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Ut(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function bi(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=Kr;return t&&(Qr.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function Ri(e={}){if(window.__f10xTracking)return oe(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=De("preview"),oe(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let l=Oe({...Re(o),...Bt(o)}),m=!1,g=w=>{m||console.warn(`[@funnel10x/tracking] the dom extra failed (${He(w)}): the form in this frame may miss the fields from its URL.`),m=!0};try{Ne({values:()=>l,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:g})}catch(w){g(w)}return t=De("frame",()=>l),oe(t)}if(gi())return console.warn(zt),t=De("conflict"),oe(t);let i=Re(o),a=Bt(o)[ei]||null,d=[],f="idle",u=null,s=!1,c=null,y=null,p=null,h=!1,b=null,A=!1,H=!1,ie=bi(e.apiHost,e.sdkVersion),Z=[],O=(l,m)=>{Z.includes(l)||(Z.push(l),console.warn(ci(l,m)))},se=new Set,M=(l,m)=>{se.has(l)||(se.add(l),console.warn(`[@funnel10x/tracking] ${m}`))},J=oi.includes(e.checkout)?e.checkout:null;J||console.warn(ri(e.checkout));let _=(l,m,g)=>{try{return m()}catch(w){return O(l,w),g}},Ye=()=>{h||console.warn(ni),h=!0},N=yi(Ye),qt=window.posthog;window.posthog=N;let ze=()=>{let l={...i};return s&&(l.ph_anon_id=u.get_property("$device_id"),l.ph_distinct_id=u.get_distinct_id(),l.ph_session_id=u.get_session_id(),b&&(l.contact_id=b)),Oe(l)},Kt=l=>s?(u.capture("checkout",{checkout_host:l},{send_instantly:!0}),!0):!1,Xe=_("dom",()=>Ne({values:ze,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:l=>O("dom",l),onCheckout:J==="snippet"?Kt:void 0}),null),ce=l=>{Xe&&_("dom",()=>Xe.refresh(l))},_e=new Set,we=[],ae=(l,m,g=null)=>{if(!s){n&&U()==="denied"||we.push([l,m,g]);return}let w=(I,R)=>g?`${I}:${R}:${g}`:`${I}:${R}`,v=Object.fromEntries(Object.entries(l).filter(([I,R])=>R&&!_e.has(w(I,R))));if(Object.keys(v).length){for(let[I,R]of Object.entries(v))_e.add(`${I}:${R}`),g&&_e.add(w(I,R));u.capture("contact_captured",{...v,contact_source:m,...g?{acquisition_type:g}:{}})}},Be=new Set,ke=[],Je=l=>{if(!s){n&&U()==="denied"||ke.push(l);return}if(Be.has(l))return;if(Be.add(l),hi(u)){M("login:identified","login(): PostHog already has this browser as identified (an identify ran here before), so the login is not sent: the admin links this browser through that identify.");return}let m=u.get_distinct_id(),g=pi(),w=g?g.salt:mi(),v=fi(w,l),I=g&&g.id===m?g.emails.filter(R=>typeof R=="string"):[];I.includes(v)||(u.capture("contact_captured",{email:l,contact_source:"login"}),be("local",Ze,JSON.stringify({salt:w,id:m,emails:[...I,v].slice(-Ur)})))},Qt=l=>{let m=l&&l.attribute!=null?String(l.attribute):null,g=l&&l.field!=null&&String(l.field).trim()!==""?String(l.field):null,w=m!=null?m:g;if(w===null)return null;let v=ge(w);return v?m!==null&&g!==null&&ge(g)!==v&&M(`acquisition_type:${m}:${g}`,`data-acquisition-type is ${JSON.stringify(m)} and the acquisition_type field is ${JSON.stringify(g)}: contact_captured goes with the attribute.`):M(`acquisition_type:${w}`,`${m!==null?"data-acquisition-type":"the acquisition_type field"} is ${JSON.stringify(w)}, which is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`),v},en=_("contact",()=>Pt(o),{});_("contact",()=>jt((l,m,g)=>ae(l,m,Qt(g)),l=>O("contact",l)));let Se=_("linker",()=>Ot(e.linkedDomains),[]),D=Se.length?_("linker",()=>Wt(o,ai()),null):null,Ue=!1,ue=null,le=null,tn=()=>s?Nt({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;Se.length&&_("linker",()=>Dt({hosts:Se,checkoutHosts:e.checkoutHosts,value:tn,onError:l=>O("linker",l)}));let nn=l=>{!D||Ue||(Ue=!0,_("linker",()=>{let m=l.bootstrap&&typeof l.bootstrap=="object"?l.bootstrap:{};if(m.distinctID||l.identity_distinct_id||li(ui(e.key,l))){le=D.distinctID;return}ue={...m,distinctID:D.distinctID,isIdentifiedID:D.identified,...D.sessionID&&!m.sessionID?{sessionID:D.sessionID}:{}}}))},on=Oe({tracking_version:Ge,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),rn=l=>(!l||l.event==="$snapshot"||(l.properties={...l.properties,...on,...c?{fingerprint:c}:{},fingerprint_ms:y,...h?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...le?{linked_distinct_id:le}:{}}),l),U=()=>{let l=re("local",We);return l==="granted"||l==="denied"?l:null},q=!n||e.consent===!1||U()==="granted",ve=n?"direct":"tag",sn=()=>{if(p)return p;let l=Date.now(),m=(async()=>{let w=await(await At.load({monitoring:!1})).get();c=(w==null?void 0:w.visitorId)||null,y=Date.now()-l})().catch(g=>{y===null&&(y=Date.now()-l),O("fingerprint",g)});return p=Promise.race([m,new Promise(g=>setTimeout(g,Yt))]).then(()=>{y===null&&(y=Yt)}),p},cn=()=>{if(A)return;A=!0;let l=document.createElement("link");l.rel="preload",l.as="script",l.crossOrigin="anonymous",l.href=ie,document.head.appendChild(l)},qe=()=>{let l=e.posthog||{};return nn(l),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...di,custom_campaign_params:[...Fe,"utm_id","utm_placement",...Me],...l,...ue?{bootstrap:ue}:{},before_send:rn,loaded:un}},an=()=>{let l=window.posthog;if(l===N){if(N._i.unshift([e.key,qe()]),f="injected",H)return;H=!0;let m=document.createElement("script");m.async=!0,m.crossOrigin="anonymous",m.src=ie,document.head.appendChild(m);return}if(H&&l&&!l.__loaded&&typeof l.init=="function"){f="injected",l.init(e.key,qe()),u&&typeof u._execute_array=="function"&&u._execute_array(N);return}console.warn(zt),ve="conflict",f="idle"},Ke=()=>{f!=="idle"||ve==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!q){f="idle";return}if(cn(),await _("fingerprint",sn,null),!q){f="idle";return}an()}).catch(l=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${He(l)}): nothing is tracked by this snippet on this page.`),!H&&(f="idle",window.posthog===N&&(window.posthog=qt))}))};function un(l){u=l,f="loaded";let m=l.init;l.init=function(g,w,v){return Ut(v)&&Ye(),m.apply(this,arguments)},l.has_opted_out_capturing()&&l.opt_in_capturing({captureEventName:!1}),b=a||re("session",$e),a&&(be("session",$e,a),l.get_distinct_id()!==a&&l.identify(a)),s=!0,ce({iframes:!0}),_("contact",()=>{ae(en,"url");for(let[g,w,v]of we.splice(0))ae(g,w,v);for(let g of ke.splice(0))Je(g)});for(let g of d.splice(0))g(!0)}return q?Ke():(U()==="denied"&&Jt(),ce({iframes:!0})),t={version:Ge,get mode(){return ve},consent:()=>n&&e.consent?U():null,grant(){be("local",We,"granted"),q=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),ce({iframes:!0})):Ke()},deny(){var l;if(be("local",We,"denied"),q=!1,we=[],ke=[],D=null,ue=null,le=null,!u){N._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(l=u.stopSessionRecording)==null||l.call(u),u.set_config({disable_persistence:!0}),Jt(),s=!1,b=null,ce()},onReady(l){s?l(!0):d.push(l)},fields:ze,capture(l,m){try{for(let[g,w]of si(l,m,J))M(`${l}:${g}`,w)}catch{}s&&u.capture(l,m,l==="checkout"?{send_instantly:!0}:void 0)},contact(l){_("contact",()=>{let m=l&&typeof l=="object"?l:{},g={};if(m.email!=null&&m.email!==""){let v=B(m.email);v?g.email=v:M(`contact:email:${m.email}`,`contact(): ${JSON.stringify(m.email)} is not an email, and it is not sent.`)}if(m.phone!=null&&m.phone!==""){let I=typeof m.phone=="string"&&/^\s*(\+|00)/.test(m.phone)?ne(m.phone):null;I?g.phone=I:M(`contact:phone:${m.phone}`,`contact(): ${JSON.stringify(m.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}let w=null;m.acquisitionType!=null&&m.acquisitionType!==""&&(w=ge(m.acquisitionType),w||M(`contact:acquisition_type:${m.acquisitionType}`,`contact(): acquisitionType ${JSON.stringify(m.acquisitionType)} is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`)),(g.email||g.phone)&&ae(g,"api",w)})},login(l){_("contact",()=>{var w;let m=l&&typeof l=="object"?l:{},g=m.email!=null&&m.email!==""?B(m.email):null;if(!g){M(`login:email:${m.email}`,`login(): ${JSON.stringify((w=m.email)!=null?w:null)} is not an email, and nothing is sent.`);return}Je(g)})},get posthog(){return u||(window.posthog===N?N:null)}},oe(t)}function oe(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function De(e,t=()=>({})){return{version:Ge,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},login(){},posthog:null}}export{It as ALLOWED_PARAMS,We as CONSENT_KEY,Ze as LOGIN_KEY,Ge as VERSION,Ri as init};
|
package/dist/tag.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(()=>{var
|
|
2
|
-
`),...e}}function bn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function ht(){let e=window,t=navigator;return x(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function wn(){let e=window,t=navigator;return x(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!ht()}function X(){let e=window,t=navigator;return x(["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 F(){let e=window,t=navigator;return x(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Fe(){let e=window,{HTMLElement:t,Document:n}=e;return x(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ee(){let e=window;return bn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function te(){var e,t;let n=window;return x(["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 _n(){let e=window,t=navigator,{CSS:n}=e;return x(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function gt(){let{CSS:e}=window;return x([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function kn(){let e=window;return x([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function Sn(){let e=window,{URLPattern:t}=e;return x(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function vn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return x([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function xn(){let e=window;return x(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function ne(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return x([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function Ln(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return x(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function An(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function In(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ge(){var e,t;let n=X(),o=te(),r=window,i=navigator;return n?x([Cn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?x(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function Pn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return x(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function Cn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var En="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function Fn(e){let t=Mn(e),n=Tn(t);return{score:t,comment:En.replace(/\$/g,`${n}`)}}function Mn(e){if(ge())return .4;if(F())return Fe()&&!(ne()&&ee())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Tn(e){return pt(.99+.01*e,1e-4)}function he(e,t){return new Promise(n=>setTimeout(n,e,t))}function Rn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function Vn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):he(Math.min(e,t))}function yt(e){return!!e&&typeof e.then=="function"}function et(e,t){try{let n=e();yt(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function tt(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await Rn())}return o}function Q(e){return e.then(void 0,()=>{}),e}function Wn(e){return typeof e!="function"}function Nn(e,t){let n=Q(new Promise(o=>{let r=Date.now();et(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let d=i[1];if(Wn(d))return o(()=>({value:d,duration:a}));o(()=>new Promise(f=>{let u=Date.now();et(d,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function On(e,t,n,o){let r=Object.keys(e).filter(a=>pn(n,a)),i=Q(tt(r,a=>Nn(e[a],t),o));return async function(){let d=await i,f=await tt(d,c=>Q(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function bt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await he(n);let d=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},y=b=>{s=!0,u(b)};d.onload=c,d.onerror=y;let{style:p}=d;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",t&&"srcdoc"in d?d.srcdoc=t:d.src="about:blank",a.body.appendChild(d);let h=()=>{var b,A;s||(((A=(b=d.contentWindow)===null||b===void 0?void 0:b.document)===null||A===void 0?void 0:A.readyState)==="complete"?c():setTimeout(h,10))};h()});!(!((r=(o=d.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await he(n);return await e(d,d.contentWindow)}finally{(i=d.parentNode)===null||i===void 0||i.removeChild(d)}}function Dn(e){let[t,n]=hn(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?Gn(o.style,i):o.setAttribute(r,i)}return o}function Gn(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function $n(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Hn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(Zn())return-3;try{return e.canMakePayments()?1:0}catch(t){return jn(t)}}var Zn=$n;function jn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Yn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function zn(){return Jn()?-4:Xn()}function Xn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Bn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[d,f]=Un(r),u=Q(d.then(s=>qn(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function Bn(){return F()&&!Fe()&&!xn()}function Jn(){return F()&&ne()&&ee()||X()&&Pn()&&Sn()}function Un(e){let i=()=>{};return[new Promise((d,f)=>{let u=!1,s=0,c=0;e.oncomplete=h=>d(h.renderedBuffer);let y=()=>{setTimeout(()=>f(nt("timeout")),Math.min(500,c+5e3-Date.now()))},p=()=>{try{let h=e.startRendering();switch(yt(h)&&Q(h),e.state){case"running":c=Date.now(),u&&y();break;case"suspended":document.hidden||s++,u&&s>=3?f(nt("suspended")):setTimeout(p,500);break}}catch(h){f(h)}};p(),i=()=>{u||(u=!0,c>0&&y())}}),i]}function qn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function nt(e){let t=new Error(e);return t.name=e,t}function Kn(){if(!(ge()||F()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function Qn(){return eo(co())}function eo(e){let t=!1,n,o,[r,i]=to();return no(r,i)?(t=oo(i),e?n=o="skipped":[n,o]=ro(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function to(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function no(e,t){return!!(t&&e.toDataURL)}function oo(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function ro(e,t){io(e,t);let n=Le(e),o=Le(e);return n!==o?["unstable","unstable"]:(so(e,t),[Le(e),n])}function io(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"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function so(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,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 Le(e){return e.toDataURL()}function co(){let e=F()&&ne()&&ee(),t=te()&&_n();return e||t}function ao(){return window.screen.colorDepth}function uo(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function lo(){if(j("no-preference"))return 0;if(j("high")||j("more"))return 1;if(j("low")||j("less"))return-1;if(j("forced"))return 10}function j(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function fo(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let 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 mo(){return navigator.cpuClass}function po(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function ho(){return R(E(navigator.deviceMemory),void 0)}function go(){let 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"]}}async function yo({debug:e}={}){if(!bo())return;let t=go(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await wo(o);e&&_o(t,r);let i=n.filter(a=>{let d=t[a];return x(d.map(u=>r[u]))>d.length*.6});return i.sort(),i}function bo(){return F()||ge()}async function wo(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};ot(o);for(let a=0;a<e.length;++a){let d=Dn(e[a]);d.tagName==="DIALOG"&&d.show();let f=n.createElement("div");ot(f),f.appendChild(d),o.appendChild(f),r[a]=d}for(;!n.body;)await he(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function ot(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function _o(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
1
|
+
(()=>{var W=["addExceptionStep","alias","calculateEventProperties","canRenderSurvey","canRenderSurveyAsync","cancelPendingSurvey","capture","captureException","captureLog","captureTraceFeedback","captureTraceMetric","clearIdentity","clear_opt_in_out_capturing","createPersonProfile","debug","displaySurvey","getActiveMatchingSurveys","getAllFeatureFlags","getEarlyAccessFeatures","getExtension","getFeatureFlag","getFeatureFlagPayload","getFeatureFlagResult","getGroups","getPageViewId","getSessionProperty","getSurveys","get_distinct_id","get_explicit_consent_status","get_property","get_session_id","get_session_replay_url","group","has_opted_in_capturing","has_opted_out_capturing","identify","init","isFeatureEnabled","is_capturing","loadToolbar","on","onActiveMatchingSurveysChanged","onFeatureFlags","onSessionId","onSurveysLoaded","opt_in_capturing","opt_out_capturing","register","register_for_session","register_once","reloadFeatureFlags","renderSurvey","reset","resetGroupPropertiesForFlags","resetGroups","resetPersonPropertiesForFlags","sessionRecordingStarted","setGroupPropertiesForFlags","setIdentity","setInternalOrTestUser","setPersonProperties","setPersonPropertiesForFlags","set_config","shutdown","startExceptionAutocapture","startSessionRecording","stopExceptionAutocapture","stopSessionRecording","unregister","unregister_for_session","unsetPersonProperties","updateEarlyAccessFeatureEnrollment","updateFlags"];var mt="5.3.0";function mn(e,t){for(let n=0,o=e.length;n<o;++n)if(e[n]===t)return!0;return!1}function pn(e,t){return!mn(e,t)}function Ee(e){return parseInt(e)}function E(e){return parseFloat(e)}function R(e,t){return typeof e=="number"&&isNaN(e)?t:e}function x(e){return e.reduce((t,n)=>t+(n?1:0),0)}function pt(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function hn(e){var t,n;let o=`Unexpected syntax '${e}'`,r=/^\s*([a-z-]*)(.*)$/i.exec(e),i=r[1]||void 0,a={},d=/([.:#][\w-]+|\[.+?\])/gi,f=(u,s)=>{a[u]=a[u]||[],a[u].push(s)};for(;;){let u=d.exec(r[2]);if(!u)break;let s=u[0];switch(s[0]){case".":f("class",s.slice(1));break;case"#":f("id",s.slice(1));break;case"[":{let c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(s);if(c)f(c[1],(n=(t=c[4])!==null&&t!==void 0?t:c[5])!==null&&n!==void 0?n:"");else throw new Error(o);break}default:throw new Error(o)}}return[i,a]}function gn(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o>127)return new TextEncoder().encode(e);t[n]=o}return t}function yn(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
+
`),...e}}function bn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function ht(){let e=window,t=navigator;return x(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function wn(){let e=window,t=navigator;return x(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!ht()}function X(){let e=window,t=navigator;return x(["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 F(){let e=window,t=navigator;return x(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Fe(){let e=window,{HTMLElement:t,Document:n}=e;return x(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ee(){let e=window;return bn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function te(){var e,t;let n=window;return x(["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 _n(){let e=window,t=navigator,{CSS:n}=e;return x(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function gt(){let{CSS:e}=window;return x([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function kn(){let e=window;return x([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function Sn(){let e=window,{URLPattern:t}=e;return x(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function vn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return x([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function xn(){let e=window;return x(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function ne(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return x([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function Ln(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return x(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function An(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function In(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ge(){var e,t;let n=X(),o=te(),r=window,i=navigator;return n?x([Cn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?x(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function Pn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return x(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function Cn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var En="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function Fn(e){let t=Mn(e),n=Tn(t);return{score:t,comment:En.replace(/\$/g,`${n}`)}}function Mn(e){if(ge())return .4;if(F())return Fe()&&!(ne()&&ee())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Tn(e){return pt(.99+.01*e,1e-4)}function he(e,t){return new Promise(n=>setTimeout(n,e,t))}function Rn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function Vn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):he(Math.min(e,t))}function yt(e){return!!e&&typeof e.then=="function"}function et(e,t){try{let n=e();yt(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function tt(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await Rn())}return o}function Q(e){return e.then(void 0,()=>{}),e}function Nn(e){return typeof e!="function"}function Wn(e,t){let n=Q(new Promise(o=>{let r=Date.now();et(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let d=i[1];if(Nn(d))return o(()=>({value:d,duration:a}));o(()=>new Promise(f=>{let u=Date.now();et(d,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function On(e,t,n,o){let r=Object.keys(e).filter(a=>pn(n,a)),i=Q(tt(r,a=>Wn(e[a],t),o));return async function(){let d=await i,f=await tt(d,c=>Q(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function bt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await he(n);let d=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},y=b=>{s=!0,u(b)};d.onload=c,d.onerror=y;let{style:p}=d;p.setProperty("display","block","important"),p.position="absolute",p.top="0",p.left="0",p.visibility="hidden",t&&"srcdoc"in d?d.srcdoc=t:d.src="about:blank",a.body.appendChild(d);let h=()=>{var b,A;s||(((A=(b=d.contentWindow)===null||b===void 0?void 0:b.document)===null||A===void 0?void 0:A.readyState)==="complete"?c():setTimeout(h,10))};h()});!(!((r=(o=d.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await he(n);return await e(d,d.contentWindow)}finally{(i=d.parentNode)===null||i===void 0||i.removeChild(d)}}function Dn(e){let[t,n]=hn(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?Gn(o.style,i):o.setAttribute(r,i)}return o}function Gn(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function $n(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Hn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(Zn())return-3;try{return e.canMakePayments()?1:0}catch(t){return jn(t)}}var Zn=$n;function jn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Yn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function zn(){return Jn()?-4:Xn()}function Xn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Bn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[d,f]=Un(r),u=Q(d.then(s=>qn(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function Bn(){return F()&&!Fe()&&!xn()}function Jn(){return F()&&ne()&&ee()||X()&&Pn()&&Sn()}function Un(e){let i=()=>{};return[new Promise((d,f)=>{let u=!1,s=0,c=0;e.oncomplete=h=>d(h.renderedBuffer);let y=()=>{setTimeout(()=>f(nt("timeout")),Math.min(500,c+5e3-Date.now()))},p=()=>{try{let h=e.startRendering();switch(yt(h)&&Q(h),e.state){case"running":c=Date.now(),u&&y();break;case"suspended":document.hidden||s++,u&&s>=3?f(nt("suspended")):setTimeout(p,500);break}}catch(h){f(h)}};p(),i=()=>{u||(u=!0,c>0&&y())}}),i]}function qn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function nt(e){let t=new Error(e);return t.name=e,t}function Kn(){if(!(ge()||F()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function Qn(){return eo(co())}function eo(e){let t=!1,n,o,[r,i]=to();return no(r,i)?(t=oo(i),e?n=o="skipped":[n,o]=ro(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function to(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function no(e,t){return!!(t&&e.toDataURL)}function oo(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function ro(e,t){io(e,t);let n=Le(e),o=Le(e);return n!==o?["unstable","unstable"]:(so(e,t),[Le(e),n])}function io(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"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function so(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,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 Le(e){return e.toDataURL()}function co(){let e=F()&&ne()&&ee(),t=te()&&_n();return e||t}function ao(){return window.screen.colorDepth}function uo(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function lo(){if(j("no-preference"))return 0;if(j("high")||j("more"))return 1;if(j("low")||j("less"))return-1;if(j("forced"))return 10}function j(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function fo(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let 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 mo(){return navigator.cpuClass}function po(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function ho(){return R(E(navigator.deviceMemory),void 0)}function go(){let 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"]}}async function yo({debug:e}={}){if(!bo())return;let t=go(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await wo(o);e&&_o(t,r);let i=n.filter(a=>{let d=t[a];return x(d.map(u=>r[u]))>d.length*.6});return i.sort(),i}function bo(){return F()||ge()}async function wo(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};ot(o);for(let a=0;a<e.length;++a){let d=Dn(e[a]);d.tagName==="DIALOG"&&d.show();let f=n.createElement("div");ot(f),f.appendChild(d),o.appendChild(f),r[a]=d}for(;!n.body;)await he(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function ot(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function _o(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
3
3
|
${o}:`;for(let r of e[o])n+=`
|
|
4
4
|
${t[r]?"\u{1F6AB}":"\u27A1\uFE0F"} ${r}`}console.log(`${n}
|
|
5
|
-
\`\`\``)}var ko="mmMwWLliI0fiflO&1",Ae={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function So(){return xo((e,t,n)=>{let o={},r={};for(let a of Object.keys(Ae)){let[d={},f=ko]=Ae[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(d)){let c=d[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=X()&&vn();for(let a of Object.keys(Ae)){let d=o[a].getBoundingClientRect().width;r[a]=i?vo(d*n.devicePixelRatio):d}return r})}function vo(e){let t=ge()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function xo(e,t=4e3){return bt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?i.style.zoom=`${1/o.devicePixelRatio}`:F()&&(i.style.zoom="reset");let d=r.createElement("div");return d.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(d),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var Lo="mmMwWLliI0O&1",Ao="48px",Y=["monospace","sans-serif","serif"],rt=["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 Io(){return bt((e,{document:t})=>{let n=t.body;n.style.fontSize=Ao;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=p=>{let h=t.createElement("span"),{style:b}=h;return b.position="absolute",b.top="0",b.left="0",b.fontFamily=p,h.textContent=Lo,o.appendChild(h),h},d=(p,h)=>a(`'${p}',${h}`),f=()=>Y.map(a),u=()=>{let p={};for(let h of rt)p[h]=Y.map(b=>d(h,b));return p},s=p=>Y.some((h,b)=>p[b].offsetWidth!==r[h]||p[b].offsetHeight!==i[h]),c=f(),y=u();n.appendChild(o);for(let p=0;p<Y.length;p++)r[Y[p]]=c[p].offsetWidth,i[Y[p]]=c[p].offsetHeight;return rt.filter(p=>s(y[p]))})}function Po(){if(it("active"))return!0;if(it("none"))return!1}function it(e){return matchMedia(`(forced-colors: ${e})`).matches}function Co(){let e=Eo();return e!==void 0&&te()&>()?e>=8?8:4:e}function Eo(){return R(Ee(navigator.hardwareConcurrency),void 0)}function Fo(){if(st("high"))return!0;if(st("standard"))return!1}function st(e){return matchMedia(`(dynamic-range: ${e})`).matches}function Mo(){if(!(ht()||wn()))try{return!!window.indexedDB}catch{return!0}}function To(){if(ct("inverted"))return!0;if(ct("none"))return!1}function ct(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Ro(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&kn()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function Vo(){try{return!!window.localStorage}catch{return!0}}var k=Math,L=()=>0;function Wo(){let e=k.acos||L,t=k.acosh||L,n=k.asin||L,o=k.asinh||L,r=k.atanh||L,i=k.atan||L,a=k.sin||L,d=k.sinh||L,f=k.cos||L,u=k.cosh||L,s=k.tan||L,c=k.tanh||L,y=k.exp||L,p=k.expm1||L,h=k.log1p||L,b=w=>k.pow(k.PI,w),A=w=>k.log(w+k.sqrt(w*w-1)),H=w=>k.log(w+k.sqrt(w*w+1)),se=w=>k.log((1+w)/(1-w))/2,Z=w=>k.exp(w)-1/k.exp(w)/2,D=w=>(k.exp(w)+1/k.exp(w))/2,ce=w=>k.exp(w)-1,M=w=>(k.exp(2*w)-1)/(k.exp(2*w)+1),U=w=>k.log(1+w);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:A(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:H(1),atanh:r(.5),atanhPf:se(.5),atan:i(.5),sin:a(-1e300),sinh:d(1),sinhPf:Z(1),cos:f(10.000000000123),cosh:u(1),coshPf:D(1),tan:s(-1e300),tanh:c(1),tanhPf:M(1),exp:y(1),expm1:p(1),expm1Pf:ce(1),log1p:h(10),log1pPf:U(10),powPI:b(-100)}}var No=100;function Oo(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=No;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Do(){return!!window.openDatabase}function Go(){return navigator.oscpu}function $o(){return navigator.pdfViewerEnabled}function Ho(){let{platform:e}=navigator;return e==="MacIntel"&&F()&&!Fe()?Ln()?"iPad":"iPhone":e}function Zo(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function jo(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Yo(){if(at("reduce"))return!0;if(at("no-preference"))return!1}function at(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function zo(){if(ut("reduce"))return!0;if(ut("no-preference"))return!1}function ut(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Xo=2500,Bo=10,pe,Ie;function Jo(){if(Ie!==void 0)return;let e=()=>{let t=Pe();Ce(t)?Ie=setTimeout(e,Xo):(pe=t,Ie=void 0)};e()}function Uo(){return Jo(),async()=>{let e=Pe();if(Ce(e)){if(pe)return[...pe];An()&&(await In(),e=Pe())}return Ce(e)||(pe=e),e}}function qo(){let e=F()&&ne()&&ee(),t=te()&>();if(e||t)return()=>Promise.resolve(void 0);let n=Uo();return async()=>{let o=await n(),r=i=>i===null?null:pt(i,Bo);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function Pe(){let e=screen;return[R(E(e.availTop),null),R(E(e.width)-E(e.availWidth)-R(E(e.availLeft),0),null),R(E(e.height)-E(e.availHeight)-R(E(e.availTop),0),null),R(E(e.availLeft),null)]}function Ce(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Ko(){if(!(F()&&ne()&&ee()))return Qo()}function Qo(){let e=screen,t=o=>R(Ee(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function er(){try{return!!window.sessionStorage}catch{return!0}}function tr(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-nr();return`UTC${n>=0?"+":""}${n}`}function nr(){let e=new Date().getFullYear();return Math.max(E(new Date(e,0,1).getTimezoneOffset()),E(new Date(e,6,1).getTimezoneOffset()))}function or(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=Ee(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function rr(e){return/not/i.test(e)}async function ir(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!rr(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function sr(){return navigator.vendor||""}function cr(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var wt=-1,_t=-2,ar=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),ur=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),lr=["FRAGMENT_SHADER","VERTEX_SHADER"],dr=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],kt="WEBGL_debug_renderer_info",fr="WEBGL_polygon_mode";function mr({cache:e}){var t,n,o,r,i,a;let d=St(e);if(!d)return wt;if(!xt(d))return _t;let f=vt()?null:d.getExtension(kt);return{version:((t=d.getParameter(d.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=d.getParameter(d.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=d.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=d.getParameter(d.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=d.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=d.getParameter(d.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function pr({cache:e}){let t=St(e);if(!t)return wt;if(!xt(t))return _t;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],d=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=lt(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${ar.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===kt&&vt()||s===fr&&yr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let y of lt(c)){let p=c[y];d.push(`${y}=${p}${ur.has(p)?`=${t.getParameter(p)}`:""}`)}}for(let s of lr)for(let c of dr){let y=hr(t,s,c);f.push(`${s}.${c}=${y.join(",")}`)}return d.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:d,unsupportedExtensions:r}}function St(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function hr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function lt(e){return Object.keys(e.__proto__).filter(gr)}function gr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function vt(){return te()}function yr(){return X()||F()}function xt(e){return typeof e.getParameter=="function"}var br={userAgentData:ir,fonts:Io,domBlockers:yo,fontPreferences:So,audio:zn,screenFrame:qo,canvas:Qn,osCpu:Go,languages:Ro,colorDepth:ao,deviceMemory:ho,screenResolution:Ko,hardwareConcurrency:Co,timezone:tr,sessionStorage:er,localStorage:Vo,indexedDB:Mo,openDatabase:Do,cpuClass:mo,platform:Ho,plugins:Zo,touchSupport:or,vendor:sr,vendorFlavors:cr,cookiesEnabled:fo,colorGamut:uo,invertedColors:To,forcedColors:Po,monochrome:Oo,contrast:lo,reducedMotion:Yo,reducedTransparency:zo,hdr:Fo,math:Wo,pdfViewerEnabled:$o,architecture:Yn,applePay:Hn,privateClickMeasurement:jo,audioBaseLatency:Kn,dateTimeLocale:po,webGlBasics:mr,webGlExtensions:pr};function wr(e){return On(br,e,[])}function O(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i+u,y+=p>>>16,p&=65535,y+=r+f,c+=y>>>16,y&=65535,c+=o+d,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function C(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i*u,y+=p>>>16,p&=65535,y+=r*u,c+=y>>>16,y&=65535,y+=i*f,c+=y>>>16,y&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*d,s+=c>>>16,c&=65535,s+=n*u+o*f+r*d+i*a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function z(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function P(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function S(e,t){e[0]^=t[0],e[1]^=t[1]}var _r=[4283543511,3981806797],kr=[3301882366,444984403];function dt(e){let t=[0,e[0]>>>1];S(e,t),C(e,_r),t[1]=e[0]>>>1,S(e,t),C(e,kr),t[1]=e[0]>>>1,S(e,t)}var fe=[2277735313,289559509],me=[1291169091,658871167],ft=[0,5],Sr=[0,1390208809],vr=[0,944331445];function xr(e,t){let n=gn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],d=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,C(f,fe),z(f,31),C(f,me),S(a,f),z(a,27),O(a,d),C(a,ft),O(a,Sr),C(u,me),z(u,33),C(u,fe),S(d,u),z(d,31),O(d,a),C(d,ft),O(d,vr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],P(c,48),S(u,c);case 14:c[1]=n[s+13],P(c,40),S(u,c);case 13:c[1]=n[s+12],P(c,32),S(u,c);case 12:c[1]=n[s+11],P(c,24),S(u,c);case 11:c[1]=n[s+10],P(c,16),S(u,c);case 10:c[1]=n[s+9],P(c,8),S(u,c);case 9:c[1]=n[s+8],S(u,c),C(u,me),z(u,33),C(u,fe),S(d,u);case 8:c[1]=n[s+7],P(c,56),S(f,c);case 7:c[1]=n[s+6],P(c,48),S(f,c);case 6:c[1]=n[s+5],P(c,40),S(f,c);case 5:c[1]=n[s+4],P(c,32),S(f,c);case 4:c[1]=n[s+3],P(c,24),S(f,c);case 3:c[1]=n[s+2],P(c,16),S(f,c);case 2:c[1]=n[s+1],P(c,8),S(f,c);case 1:c[1]=n[s],S(f,c),C(f,fe),z(f,31),C(f,me),S(a,f)}return S(a,o),S(d,o),O(a,d),O(d,a),dt(a),dt(d),O(a,d),O(d,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(d[0]>>>0).toString(16)}`.slice(-8)+`00000000${(d[1]>>>0).toString(16)}`.slice(-8)}function Lr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function Lt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?yn(n):n,2)}function At(e){return xr(Lr(e))}function Ar(e){let t,n=Fn(e);return{get visitorId(){return t===void 0&&(t=At(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:mt}}function Ir(e=50){return Vn(e,e*2)}function Pr(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=Ar(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
5
|
+
\`\`\``)}var ko="mmMwWLliI0fiflO&1",Ae={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function So(){return xo((e,t,n)=>{let o={},r={};for(let a of Object.keys(Ae)){let[d={},f=ko]=Ae[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(d)){let c=d[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=X()&&vn();for(let a of Object.keys(Ae)){let d=o[a].getBoundingClientRect().width;r[a]=i?vo(d*n.devicePixelRatio):d}return r})}function vo(e){let t=ge()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function xo(e,t=4e3){return bt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?i.style.zoom=`${1/o.devicePixelRatio}`:F()&&(i.style.zoom="reset");let d=r.createElement("div");return d.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(d),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var Lo="mmMwWLliI0O&1",Ao="48px",Y=["monospace","sans-serif","serif"],rt=["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 Io(){return bt((e,{document:t})=>{let n=t.body;n.style.fontSize=Ao;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=p=>{let h=t.createElement("span"),{style:b}=h;return b.position="absolute",b.top="0",b.left="0",b.fontFamily=p,h.textContent=Lo,o.appendChild(h),h},d=(p,h)=>a(`'${p}',${h}`),f=()=>Y.map(a),u=()=>{let p={};for(let h of rt)p[h]=Y.map(b=>d(h,b));return p},s=p=>Y.some((h,b)=>p[b].offsetWidth!==r[h]||p[b].offsetHeight!==i[h]),c=f(),y=u();n.appendChild(o);for(let p=0;p<Y.length;p++)r[Y[p]]=c[p].offsetWidth,i[Y[p]]=c[p].offsetHeight;return rt.filter(p=>s(y[p]))})}function Po(){if(it("active"))return!0;if(it("none"))return!1}function it(e){return matchMedia(`(forced-colors: ${e})`).matches}function Co(){let e=Eo();return e!==void 0&&te()&>()?e>=8?8:4:e}function Eo(){return R(Ee(navigator.hardwareConcurrency),void 0)}function Fo(){if(st("high"))return!0;if(st("standard"))return!1}function st(e){return matchMedia(`(dynamic-range: ${e})`).matches}function Mo(){if(!(ht()||wn()))try{return!!window.indexedDB}catch{return!0}}function To(){if(ct("inverted"))return!0;if(ct("none"))return!1}function ct(e){return matchMedia(`(inverted-colors: ${e})`).matches}function Ro(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&kn()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function Vo(){try{return!!window.localStorage}catch{return!0}}var k=Math,L=()=>0;function No(){let e=k.acos||L,t=k.acosh||L,n=k.asin||L,o=k.asinh||L,r=k.atanh||L,i=k.atan||L,a=k.sin||L,d=k.sinh||L,f=k.cos||L,u=k.cosh||L,s=k.tan||L,c=k.tanh||L,y=k.exp||L,p=k.expm1||L,h=k.log1p||L,b=w=>k.pow(k.PI,w),A=w=>k.log(w+k.sqrt(w*w-1)),H=w=>k.log(w+k.sqrt(w*w+1)),se=w=>k.log((1+w)/(1-w))/2,Z=w=>k.exp(w)-1/k.exp(w)/2,D=w=>(k.exp(w)+1/k.exp(w))/2,ce=w=>k.exp(w)-1,M=w=>(k.exp(2*w)-1)/(k.exp(2*w)+1),U=w=>k.log(1+w);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:A(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:H(1),atanh:r(.5),atanhPf:se(.5),atan:i(.5),sin:a(-1e300),sinh:d(1),sinhPf:Z(1),cos:f(10.000000000123),cosh:u(1),coshPf:D(1),tan:s(-1e300),tanh:c(1),tanhPf:M(1),exp:y(1),expm1:p(1),expm1Pf:ce(1),log1p:h(10),log1pPf:U(10),powPI:b(-100)}}var Wo=100;function Oo(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Wo;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Do(){return!!window.openDatabase}function Go(){return navigator.oscpu}function $o(){return navigator.pdfViewerEnabled}function Ho(){let{platform:e}=navigator;return e==="MacIntel"&&F()&&!Fe()?Ln()?"iPad":"iPhone":e}function Zo(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function jo(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Yo(){if(at("reduce"))return!0;if(at("no-preference"))return!1}function at(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function zo(){if(ut("reduce"))return!0;if(ut("no-preference"))return!1}function ut(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Xo=2500,Bo=10,pe,Ie;function Jo(){if(Ie!==void 0)return;let e=()=>{let t=Pe();Ce(t)?Ie=setTimeout(e,Xo):(pe=t,Ie=void 0)};e()}function Uo(){return Jo(),async()=>{let e=Pe();if(Ce(e)){if(pe)return[...pe];An()&&(await In(),e=Pe())}return Ce(e)||(pe=e),e}}function qo(){let e=F()&&ne()&&ee(),t=te()&>();if(e||t)return()=>Promise.resolve(void 0);let n=Uo();return async()=>{let o=await n(),r=i=>i===null?null:pt(i,Bo);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function Pe(){let e=screen;return[R(E(e.availTop),null),R(E(e.width)-E(e.availWidth)-R(E(e.availLeft),0),null),R(E(e.height)-E(e.availHeight)-R(E(e.availTop),0),null),R(E(e.availLeft),null)]}function Ce(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Ko(){if(!(F()&&ne()&&ee()))return Qo()}function Qo(){let e=screen,t=o=>R(Ee(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function er(){try{return!!window.sessionStorage}catch{return!0}}function tr(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-nr();return`UTC${n>=0?"+":""}${n}`}function nr(){let e=new Date().getFullYear();return Math.max(E(new Date(e,0,1).getTimezoneOffset()),E(new Date(e,6,1).getTimezoneOffset()))}function or(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=Ee(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function rr(e){return/not/i.test(e)}async function ir(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!rr(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function sr(){return navigator.vendor||""}function cr(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var wt=-1,_t=-2,ar=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),ur=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),lr=["FRAGMENT_SHADER","VERTEX_SHADER"],dr=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],kt="WEBGL_debug_renderer_info",fr="WEBGL_polygon_mode";function mr({cache:e}){var t,n,o,r,i,a;let d=St(e);if(!d)return wt;if(!xt(d))return _t;let f=vt()?null:d.getExtension(kt);return{version:((t=d.getParameter(d.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=d.getParameter(d.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=d.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=d.getParameter(d.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=d.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=d.getParameter(d.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function pr({cache:e}){let t=St(e);if(!t)return wt;if(!xt(t))return _t;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],d=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=lt(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${ar.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===kt&&vt()||s===fr&&yr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let y of lt(c)){let p=c[y];d.push(`${y}=${p}${ur.has(p)?`=${t.getParameter(p)}`:""}`)}}for(let s of lr)for(let c of dr){let y=hr(t,s,c);f.push(`${s}.${c}=${y.join(",")}`)}return d.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:d,unsupportedExtensions:r}}function St(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function hr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function lt(e){return Object.keys(e.__proto__).filter(gr)}function gr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function vt(){return te()}function yr(){return X()||F()}function xt(e){return typeof e.getParameter=="function"}var br={userAgentData:ir,fonts:Io,domBlockers:yo,fontPreferences:So,audio:zn,screenFrame:qo,canvas:Qn,osCpu:Go,languages:Ro,colorDepth:ao,deviceMemory:ho,screenResolution:Ko,hardwareConcurrency:Co,timezone:tr,sessionStorage:er,localStorage:Vo,indexedDB:Mo,openDatabase:Do,cpuClass:mo,platform:Ho,plugins:Zo,touchSupport:or,vendor:sr,vendorFlavors:cr,cookiesEnabled:fo,colorGamut:uo,invertedColors:To,forcedColors:Po,monochrome:Oo,contrast:lo,reducedMotion:Yo,reducedTransparency:zo,hdr:Fo,math:No,pdfViewerEnabled:$o,architecture:Yn,applePay:Hn,privateClickMeasurement:jo,audioBaseLatency:Kn,dateTimeLocale:po,webGlBasics:mr,webGlExtensions:pr};function wr(e){return On(br,e,[])}function O(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i+u,y+=p>>>16,p&=65535,y+=r+f,c+=y>>>16,y&=65535,c+=o+d,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function C(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,d=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,y=0,p=0;p+=i*u,y+=p>>>16,p&=65535,y+=r*u,c+=y>>>16,y&=65535,y+=i*f,c+=y>>>16,y&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*d,s+=c>>>16,c&=65535,s+=n*u+o*f+r*d+i*a,s&=65535,e[0]=s<<16|c,e[1]=y<<16|p}function z(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function P(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function S(e,t){e[0]^=t[0],e[1]^=t[1]}var _r=[4283543511,3981806797],kr=[3301882366,444984403];function dt(e){let t=[0,e[0]>>>1];S(e,t),C(e,_r),t[1]=e[0]>>>1,S(e,t),C(e,kr),t[1]=e[0]>>>1,S(e,t)}var fe=[2277735313,289559509],me=[1291169091,658871167],ft=[0,5],Sr=[0,1390208809],vr=[0,944331445];function xr(e,t){let n=gn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],d=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,C(f,fe),z(f,31),C(f,me),S(a,f),z(a,27),O(a,d),C(a,ft),O(a,Sr),C(u,me),z(u,33),C(u,fe),S(d,u),z(d,31),O(d,a),C(d,ft),O(d,vr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],P(c,48),S(u,c);case 14:c[1]=n[s+13],P(c,40),S(u,c);case 13:c[1]=n[s+12],P(c,32),S(u,c);case 12:c[1]=n[s+11],P(c,24),S(u,c);case 11:c[1]=n[s+10],P(c,16),S(u,c);case 10:c[1]=n[s+9],P(c,8),S(u,c);case 9:c[1]=n[s+8],S(u,c),C(u,me),z(u,33),C(u,fe),S(d,u);case 8:c[1]=n[s+7],P(c,56),S(f,c);case 7:c[1]=n[s+6],P(c,48),S(f,c);case 6:c[1]=n[s+5],P(c,40),S(f,c);case 5:c[1]=n[s+4],P(c,32),S(f,c);case 4:c[1]=n[s+3],P(c,24),S(f,c);case 3:c[1]=n[s+2],P(c,16),S(f,c);case 2:c[1]=n[s+1],P(c,8),S(f,c);case 1:c[1]=n[s],S(f,c),C(f,fe),z(f,31),C(f,me),S(a,f)}return S(a,o),S(d,o),O(a,d),O(d,a),dt(a),dt(d),O(a,d),O(d,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(d[0]>>>0).toString(16)}`.slice(-8)+`00000000${(d[1]>>>0).toString(16)}`.slice(-8)}function Lr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function Lt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?yn(n):n,2)}function At(e){return xr(Lr(e))}function Ar(e){let t,n=Fn(e);return{get visitorId(){return t===void 0&&(t=At(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:mt}}function Ir(e=50){return Vn(e,e*2)}function Pr(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=Ar(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
6
6
|
|
|
7
7
|
\`\`\`
|
|
8
8
|
version: ${a.version}
|
|
@@ -10,4 +10,4 @@ userAgent: ${navigator.userAgent}
|
|
|
10
10
|
timeBetweenLoadAndGet: ${r-n}
|
|
11
11
|
visitorId: ${a.visitorId}
|
|
12
12
|
components: ${Lt(i)}
|
|
13
|
-
\`\`\``),a}}}function Cr(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${mt}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function Er(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&Cr(),await Ir(t);let r=wr({cache:{},debug:n});return Pr(r,n)}var It={load:Er,hashComponents:At,componentsToDebugString:Lt};var Fr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],Mr=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Me=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Te=["lp","narrative"],Tr=[...Fr,...Mr,...Me,...Te],Rr=new Set(Tr);function Re(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();Rr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Vr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,Wr=["email"],Nr=["phone","phonenumber","phone_number","tel","telefone"];function B(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Vr.test(t)&&t.length<=254?t:null}function oe(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}var Or=/^[a-z][a-z0-9_]{0,31}$/;function ye(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Or.test(t)?t:null}function Pt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&Wr.includes(i)&&(t.email=B(r)||void 0),!t.phone&&Nr.includes(i)&&(t.phone=oe(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var We=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Dr=/\/widget\/(form|survey|booking)\//,Rt=["buy.stripe.com","checkout.stripe.com"],Vt=e=>new Set([...Rt,...e||[]].map(t=>String(t).toLowerCase())),V=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Gr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",be="data-f10x-field";function Ct(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Gr);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(be))&&(a.value=i);else if(o){let d=document.createElement("input");d.type="hidden",d.name=r,d.value=i,d.setAttribute(be,""),e.appendChild(d)}}}var Et=new WeakMap;function $r(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=Et.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,Et.set(t,n),t.setAttribute(be,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Ve(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))We.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return Rt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var Ft=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Ne({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Vt(t),a=new WeakSet,d=!1,f=0,u=p=>{for(let h of document.querySelectorAll("a[href]")){if(!i.has(Ft(h.getAttribute("href"))))continue;let b=Ve(h.getAttribute("href"),p,location.href);b&&h.setAttribute("href",b)}},s=p=>{for(let h of document.querySelectorAll("iframe[src]")){let b=h.getAttribute("src");if(!Dr.test(b))continue;let A=Ve(b,p,location.href);A&&h.setAttribute("src",A)}},c=(p={})=>{p.iframes&&(d=!0);let h=e();for(let b of document.forms)Ct(b,h,n);$r(h),u(h),d&&s(h)},y=()=>{f||(f=setTimeout(V(()=>{f=0,c()},o),50))};return new MutationObserver(y).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",V(p=>Ct(p.target,e(),n),o),!0),document.addEventListener("click",V(p=>{let h=p.target instanceof Element?p.target.closest("a[href]"):null,b=h?Ft(h.getAttribute("href")):"";if(!h||!i.has(b))return;let A=Ve(h.getAttribute("href"),e(),location.href);A&&h.setAttribute("href",A),r&&!a.has(h)&&r(b)&&a.add(h)},o),!0),V(c,o)(),{refresh:c}}var $="_f10x",Hr=120*1e3,Zr=200;function Wt({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Nt(e,t){let n;try{n=new URL(e).searchParams.get($)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),d=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||d!=="i"&&d!=="a"||f.length>Zr||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Hr?{distinctID:f,sessionID:u||null,identified:d==="i"}:null}var jr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Ot(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");jr.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Dt({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Vt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},d=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=V(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&d(s.getAttribute("href")),y=c&&n();y&&(c.searchParams.set($,y),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",V(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has($)&&(c.searchParams.delete($),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",V(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,y=d((c||s).getAttribute(c?"formaction":"action")||""),p=y&&n();if(!p)return;let h=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(h==="get"){let b=s.querySelector(`input[name="${$}"]`);b||(b=document.createElement("input"),b.type="hidden",b.name=$,b.setAttribute(be,""),s.appendChild(b)),b.value=p}else h==="post"&&(y.searchParams.set($,p),(c||s).setAttribute(c?"formaction":"action",y.href))},o),!0)}var Yr=/e-?mail/i,zr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Gt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),$t=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Ht=e=>e.type==="email"||Yr.test($t(e)),Zt=e=>e.type==="tel"||e.type!=="email"&&zr.test($t(e));function Xr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function Br(e){if(!(e instanceof HTMLInputElement)||Gt.has(e.type))return{};if(Ht(e)){let t=B(e.value);return t?{email:t}:{}}if(Zt(e)){let t=oe(e.value,Xr(e));return t?{phone:t}:{}}return{}}function Mt(e){let t={};for(let n of e){let o=Br(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Jr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Gt.has(r.type)&&(Ht(r)||Zt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Ur=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity()),qr="acquisition_type";function Tt(e){let t=e.closest("[data-acquisition-type]"),n=e.querySelector(`[name="${qr}"]`);return{attribute:t?t.getAttribute("data-acquisition-type"):null,field:n&&typeof n.value=="string"?n.value:null}}function jt(e,t){document.addEventListener("submit",V(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Mt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form",Tt(n.target))},t),!0),document.addEventListener("click",V(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Jr(o);if(!r||Ur(r))return;let i=Mt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form",Tt(r))},t),!0)}var $e="2.6.0",Oe="f10x_consent",je="f10x_login",Kr=10,Qr=typeof N=="object"?N:[],ei="1",ti=/^\d+\.\d+\.\d+$/,He="f10x_contact_id",ni="contact_id",oi=/^[A-Za-z0-9_-]{6,128}$/,Yt=1e3,zt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",ri="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",ii=["snippet","page"],si=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Xt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},ci=["purchase","registration_completed","appointment_scheduled"];function ai(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Xt,e)?Xt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":ci.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let d=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof d=="number"&&Number.isFinite(d)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var Ze=e=>e&&e.message||String(e),ui=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${Ze(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,li=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function di(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function fi(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(ie("local",e)))||t(n(ie("session",e)))}var mi={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},Ye=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},ie=(e,t)=>{var n,o;try{return(o=(n=Ye(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},we=(e,t,n)=>{var o;try{(o=Ye(e))==null||o.setItem(t,n)}catch{}};function Bt(e){let t={};try{let n=new URL(e).searchParams;for(let o of We){let r=n.get(o);r&&oi.test(r)&&(t[o]=r)}}catch{}return t}function pi(e,t){let n=`${e}:${t}`,o=3735928559,r=1103547991;for(let i=0;i<n.length;i++){let a=n.charCodeAt(i);o=Math.imul(o^a,2654435761),r=Math.imul(r^a,1597334677)}return o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),(r>>>0).toString(16).padStart(8,"0")+(o>>>0).toString(16).padStart(8,"0")}function hi(){try{let e=new Uint8Array(12);return window.crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}catch{return`${Math.random().toString(36).slice(2)}${Math.random().toString(36).slice(2)}`}}function gi(){try{let e=JSON.parse(ie("local",je)||"null");return e&&typeof e.salt=="string"&&e.salt&&typeof e.id=="string"&&Array.isArray(e.emails)?e:null}catch{return null}}function yi(e){try{if(typeof e._isIdentified=="function")return!!e._isIdentified()}catch{}return e.get_property("$user_state")==="identified"}var De=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Jt(){for(let n of["local","session"]){let o=Ye(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===He||r===je)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function bi(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Ut=e=>e==null||e==="posthog";function wi(e){let t=[],n=o=>{for(let r of Qr)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Ut(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function _i(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=ei;return t&&(ti.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function qt(e={}){if(window.__f10xTracking)return re(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Ge("preview"),re(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let l=De({...Re(o),...Bt(o)}),m=!1,g=_=>{m||console.warn(`[@funnel10x/tracking] the dom extra failed (${Ze(_)}): the form in this frame may miss the fields from its URL.`),m=!0};try{Ne({values:()=>l,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:g})}catch(_){g(_)}return t=Ge("frame",()=>l),re(t)}if(bi())return console.warn(zt),t=Ge("conflict"),re(t);let i=Re(o),a=Bt(o)[ni]||null,d=[],f="idle",u=null,s=!1,c=null,y=null,p=null,h=!1,b=null,A=!1,H=!1,se=_i(e.apiHost,e.sdkVersion),Z=[],D=(l,m)=>{Z.includes(l)||(Z.push(l),console.warn(ui(l,m)))},ce=new Set,M=(l,m)=>{ce.has(l)||(ce.add(l),console.warn(`[@funnel10x/tracking] ${m}`))},U=ii.includes(e.checkout)?e.checkout:null;U||console.warn(si(e.checkout));let w=(l,m,g)=>{try{return m()}catch(_){return D(l,_),g}},ze=()=>{h||console.warn(ri),h=!0},W=wi(ze),Qt=window.posthog;window.posthog=W;let Xe=()=>{let l={...i};return s&&(l.ph_anon_id=u.get_property("$device_id"),l.ph_distinct_id=u.get_distinct_id(),l.ph_session_id=u.get_session_id(),b&&(l.contact_id=b)),De(l)},en=l=>s?(u.capture("checkout",{checkout_host:l},{send_instantly:!0}),!0):!1,Be=w("dom",()=>Ne({values:Xe,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:l=>D("dom",l),onCheckout:U==="snippet"?en:void 0}),null),ae=l=>{Be&&w("dom",()=>Be.refresh(l))},_e=new Set,ke=[],ue=(l,m,g=null)=>{if(!s){n&&q()==="denied"||ke.push([l,m,g]);return}let _=(I,T)=>g?`${I}:${T}:${g}`:`${I}:${T}`,v=Object.fromEntries(Object.entries(l).filter(([I,T])=>T&&!_e.has(_(I,T))));if(Object.keys(v).length){for(let[I,T]of Object.entries(v))_e.add(`${I}:${T}`),g&&_e.add(_(I,T));u.capture("contact_captured",{...v,contact_source:m,...g?{acquisition_type:g}:{}})}},Je=new Set,Se=[],Ue=l=>{if(!s){n&&q()==="denied"||Se.push(l);return}if(Je.has(l))return;if(Je.add(l),yi(u)){M("login:identified","login(): PostHog already has this browser as identified (an identify ran here before), so the login is not sent: the admin links this browser through that identify.");return}let m=u.get_distinct_id(),g=gi(),_=g?g.salt:hi(),v=pi(_,l),I=g&&g.id===m?g.emails.filter(T=>typeof T=="string"):[];I.includes(v)||(u.capture("contact_captured",{email:l,contact_source:"login"}),we("local",je,JSON.stringify({salt:_,id:m,emails:[...I,v].slice(-Kr)})))},tn=l=>{let m=l&&l.attribute!=null?String(l.attribute):null,g=l&&l.field!=null&&String(l.field).trim()!==""?String(l.field):null,_=m!=null?m:g;if(_===null)return null;let v=ye(_);return v?m!==null&&g!==null&&ye(g)!==v&&M(`acquisition_type:${m}:${g}`,`data-acquisition-type is ${JSON.stringify(m)} and the acquisition_type field is ${JSON.stringify(g)}: contact_captured goes with the attribute.`):M(`acquisition_type:${_}`,`${m!==null?"data-acquisition-type":"the acquisition_type field"} is ${JSON.stringify(_)}, which is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`),v},nn=w("contact",()=>Pt(o),{});w("contact",()=>jt((l,m,g)=>ue(l,m,tn(g)),l=>D("contact",l)));let ve=w("linker",()=>Ot(e.linkedDomains),[]),G=ve.length?w("linker",()=>Nt(o,li()),null):null,qe=!1,le=null,de=null,on=()=>s?Wt({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;ve.length&&w("linker",()=>Dt({hosts:ve,checkoutHosts:e.checkoutHosts,value:on,onError:l=>D("linker",l)}));let rn=l=>{!G||qe||(qe=!0,w("linker",()=>{let m=l.bootstrap&&typeof l.bootstrap=="object"?l.bootstrap:{};if(m.distinctID||l.identity_distinct_id||fi(di(e.key,l))){de=G.distinctID;return}le={...m,distinctID:G.distinctID,isIdentifiedID:G.identified,...G.sessionID&&!m.sessionID?{sessionID:G.sessionID}:{}}}))},sn=De({tracking_version:$e,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),cn=l=>(!l||l.event==="$snapshot"||(l.properties={...l.properties,...sn,...c?{fingerprint:c}:{},fingerprint_ms:y,...h?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...de?{linked_distinct_id:de}:{}}),l),q=()=>{let l=ie("local",Oe);return l==="granted"||l==="denied"?l:null},K=!n||e.consent===!1||q()==="granted",xe=n?"direct":"tag",an=()=>{if(p)return p;let l=Date.now(),m=(async()=>{let _=await(await It.load({monitoring:!1})).get();c=(_==null?void 0:_.visitorId)||null,y=Date.now()-l})().catch(g=>{y===null&&(y=Date.now()-l),D("fingerprint",g)});return p=Promise.race([m,new Promise(g=>setTimeout(g,Yt))]).then(()=>{y===null&&(y=Yt)}),p},un=()=>{if(A)return;A=!0;let l=document.createElement("link");l.rel="preload",l.as="script",l.crossOrigin="anonymous",l.href=se,document.head.appendChild(l)},Ke=()=>{let l=e.posthog||{};return rn(l),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...mi,custom_campaign_params:[...Me,"utm_id","utm_placement",...Te],...l,...le?{bootstrap:le}:{},before_send:cn,loaded:dn}},ln=()=>{let l=window.posthog;if(l===W){if(W._i.unshift([e.key,Ke()]),f="injected",H)return;H=!0;let m=document.createElement("script");m.async=!0,m.crossOrigin="anonymous",m.src=se,document.head.appendChild(m);return}if(H&&l&&!l.__loaded&&typeof l.init=="function"){f="injected",l.init(e.key,Ke()),u&&typeof u._execute_array=="function"&&u._execute_array(W);return}console.warn(zt),xe="conflict",f="idle"},Qe=()=>{f!=="idle"||xe==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!K){f="idle";return}if(un(),await w("fingerprint",an,null),!K){f="idle";return}ln()}).catch(l=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${Ze(l)}): nothing is tracked by this snippet on this page.`),!H&&(f="idle",window.posthog===W&&(window.posthog=Qt))}))};function dn(l){u=l,f="loaded";let m=l.init;l.init=function(g,_,v){return Ut(v)&&ze(),m.apply(this,arguments)},l.has_opted_out_capturing()&&l.opt_in_capturing({captureEventName:!1}),b=a||ie("session",He),a&&(we("session",He,a),l.get_distinct_id()!==a&&l.identify(a)),s=!0,ae({iframes:!0}),w("contact",()=>{ue(nn,"url");for(let[g,_,v]of ke.splice(0))ue(g,_,v);for(let g of Se.splice(0))Ue(g)});for(let g of d.splice(0))g(!0)}return K?Qe():(q()==="denied"&&Jt(),ae({iframes:!0})),t={version:$e,get mode(){return xe},consent:()=>n&&e.consent?q():null,grant(){we("local",Oe,"granted"),K=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),ae({iframes:!0})):Qe()},deny(){var l;if(we("local",Oe,"denied"),K=!1,ke=[],Se=[],G=null,le=null,de=null,!u){W._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(l=u.stopSessionRecording)==null||l.call(u),u.set_config({disable_persistence:!0}),Jt(),s=!1,b=null,ae()},onReady(l){s?l(!0):d.push(l)},fields:Xe,capture(l,m){try{for(let[g,_]of ai(l,m,U))M(`${l}:${g}`,_)}catch{}s&&u.capture(l,m,l==="checkout"?{send_instantly:!0}:void 0)},contact(l){w("contact",()=>{let m=l&&typeof l=="object"?l:{},g={};if(m.email!=null&&m.email!==""){let v=B(m.email);v?g.email=v:M(`contact:email:${m.email}`,`contact(): ${JSON.stringify(m.email)} is not an email, and it is not sent.`)}if(m.phone!=null&&m.phone!==""){let I=typeof m.phone=="string"&&/^\s*(\+|00)/.test(m.phone)?oe(m.phone):null;I?g.phone=I:M(`contact:phone:${m.phone}`,`contact(): ${JSON.stringify(m.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}let _=null;m.acquisitionType!=null&&m.acquisitionType!==""&&(_=ye(m.acquisitionType),_||M(`contact:acquisition_type:${m.acquisitionType}`,`contact(): acquisitionType ${JSON.stringify(m.acquisitionType)} is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`)),(g.email||g.phone)&&ue(g,"api",_)})},login(l){w("contact",()=>{var _;let m=l&&typeof l=="object"?l:{},g=m.email!=null&&m.email!==""?B(m.email):null;if(!g){M(`login:email:${m.email}`,`login(): ${JSON.stringify((_=m.email)!=null?_:null)} is not an email, and nothing is sent.`);return}Ue(g)})},get posthog(){return u||(window.posthog===W?W:null)}},re(t)}function re(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Ge(e,t=()=>({})){return{version:$e,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},login(){},posthog:null}}var J=window.f10xTracking;window.__f10xTracking?(window.f10xTracking=window.__f10xTracking,Kt(window.__f10xTracking)):J&&typeof J=="object"&&!J.version&&(typeof J.key=="string"&&J.key?ki(J):console.warn("[@funnel10x/tracking] window.f10xTracking.key is missing: nothing is tracked."));function Kt(e){let t=Array.isArray(window.__f10xLogins)?window.__f10xLogins.splice(0):[];for(let n of t)e.login(n)}function ki(e){let t=window.posthog;try{Kt(qt(e))}catch(n){window.posthog&&window.posthog.__f10x&&(window.posthog=t),window.__f10xTracking=void 0,typeof e.contact!="function"&&(e.contact=()=>{}),e.login=()=>{},Array.isArray(window.__f10xLogins)&&(window.__f10xLogins.length=0),window.f10xTracking=e,console.warn(`[@funnel10x/tracking] the snippet failed to start (${n&&n.message||n}): nothing is tracked by it on this page, and window.f10xTracking has no version.`)}}})();
|
|
13
|
+
\`\`\``),a}}}function Cr(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${mt}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function Er(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&Cr(),await Ir(t);let r=wr({cache:{},debug:n});return Pr(r,n)}var It={load:Er,hashComponents:At,componentsToDebugString:Lt};var Fr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],Mr=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Me=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Te=["lp","narrative"],Tr=["trk"],Rr=[...Fr,...Mr,...Me,...Te,...Tr],Vr=new Set(Rr);function Re(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();Vr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Nr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,Wr=["email"],Or=["phone","phonenumber","phone_number","tel","telefone"];function B(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Nr.test(t)&&t.length<=254?t:null}function oe(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}var Dr=/^[a-z][a-z0-9_]{0,31}$/;function ye(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Dr.test(t)?t:null}function Pt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&Wr.includes(i)&&(t.email=B(r)||void 0),!t.phone&&Or.includes(i)&&(t.phone=oe(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ne=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Gr=/\/widget\/(form|survey|booking)\//,Rt=["buy.stripe.com","checkout.stripe.com"],Vt=e=>new Set([...Rt,...e||[]].map(t=>String(t).toLowerCase())),V=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},$r="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",be="data-f10x-field";function Ct(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector($r);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(be))&&(a.value=i);else if(o){let d=document.createElement("input");d.type="hidden",d.name=r,d.value=i,d.setAttribute(be,""),e.appendChild(d)}}}var Et=new WeakMap;function Hr(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=Et.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,Et.set(t,n),t.setAttribute(be,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Ve(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))Ne.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return Rt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var Ft=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function We({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Vt(t),a=new WeakSet,d=!1,f=0,u=p=>{for(let h of document.querySelectorAll("a[href]")){if(!i.has(Ft(h.getAttribute("href"))))continue;let b=Ve(h.getAttribute("href"),p,location.href);b&&h.setAttribute("href",b)}},s=p=>{for(let h of document.querySelectorAll("iframe[src]")){let b=h.getAttribute("src");if(!Gr.test(b))continue;let A=Ve(b,p,location.href);A&&h.setAttribute("src",A)}},c=(p={})=>{p.iframes&&(d=!0);let h=e();for(let b of document.forms)Ct(b,h,n);Hr(h),u(h),d&&s(h)},y=()=>{f||(f=setTimeout(V(()=>{f=0,c()},o),50))};return new MutationObserver(y).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",V(p=>Ct(p.target,e(),n),o),!0),document.addEventListener("click",V(p=>{let h=p.target instanceof Element?p.target.closest("a[href]"):null,b=h?Ft(h.getAttribute("href")):"";if(!h||!i.has(b))return;let A=Ve(h.getAttribute("href"),e(),location.href);A&&h.setAttribute("href",A),r&&!a.has(h)&&r(b)&&a.add(h)},o),!0),V(c,o)(),{refresh:c}}var $="_f10x",Zr=120*1e3,jr=200;function Nt({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Wt(e,t){let n;try{n=new URL(e).searchParams.get($)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),d=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||d!=="i"&&d!=="a"||f.length>jr||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Zr?{distinctID:f,sessionID:u||null,identified:d==="i"}:null}var Yr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Ot(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Yr.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Dt({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Vt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},d=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=V(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&d(s.getAttribute("href")),y=c&&n();y&&(c.searchParams.set($,y),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",V(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has($)&&(c.searchParams.delete($),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",V(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,y=d((c||s).getAttribute(c?"formaction":"action")||""),p=y&&n();if(!p)return;let h=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(h==="get"){let b=s.querySelector(`input[name="${$}"]`);b||(b=document.createElement("input"),b.type="hidden",b.name=$,b.setAttribute(be,""),s.appendChild(b)),b.value=p}else h==="post"&&(y.searchParams.set($,p),(c||s).setAttribute(c?"formaction":"action",y.href))},o),!0)}var zr=/e-?mail/i,Xr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Gt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),$t=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Ht=e=>e.type==="email"||zr.test($t(e)),Zt=e=>e.type==="tel"||e.type!=="email"&&Xr.test($t(e));function Br(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function Jr(e){if(!(e instanceof HTMLInputElement)||Gt.has(e.type))return{};if(Ht(e)){let t=B(e.value);return t?{email:t}:{}}if(Zt(e)){let t=oe(e.value,Br(e));return t?{phone:t}:{}}return{}}function Mt(e){let t={};for(let n of e){let o=Jr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Ur(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Gt.has(r.type)&&(Ht(r)||Zt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var qr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity()),Kr="acquisition_type";function Tt(e){let t=e.closest("[data-acquisition-type]"),n=e.querySelector(`[name="${Kr}"]`);return{attribute:t?t.getAttribute("data-acquisition-type"):null,field:n&&typeof n.value=="string"?n.value:null}}function jt(e,t){document.addEventListener("submit",V(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Mt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form",Tt(n.target))},t),!0),document.addEventListener("click",V(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Ur(o);if(!r||qr(r))return;let i=Mt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form",Tt(r))},t),!0)}var $e="2.7.0",Oe="f10x_consent",je="f10x_login",Qr=10,ei=typeof W=="object"?W:[],ti="1",ni=/^\d+\.\d+\.\d+$/,He="f10x_contact_id",oi="contact_id",ri=/^[A-Za-z0-9_-]{6,128}$/,Yt=1e3,zt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",ii="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",si=["snippet","page"],ci=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Xt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},ai=["purchase","registration_completed","appointment_scheduled"];function ui(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Xt,e)?Xt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":ai.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let d=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof d=="number"&&Number.isFinite(d)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var Ze=e=>e&&e.message||String(e),li=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${Ze(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,di=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function fi(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function mi(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(ie("local",e)))||t(n(ie("session",e)))}var pi={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},Ye=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},ie=(e,t)=>{var n,o;try{return(o=(n=Ye(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},we=(e,t,n)=>{var o;try{(o=Ye(e))==null||o.setItem(t,n)}catch{}};function Bt(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ne){let r=n.get(o);r&&ri.test(r)&&(t[o]=r)}}catch{}return t}function hi(e,t){let n=`${e}:${t}`,o=3735928559,r=1103547991;for(let i=0;i<n.length;i++){let a=n.charCodeAt(i);o=Math.imul(o^a,2654435761),r=Math.imul(r^a,1597334677)}return o=Math.imul(o^o>>>16,2246822507)^Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507)^Math.imul(o^o>>>13,3266489909),(r>>>0).toString(16).padStart(8,"0")+(o>>>0).toString(16).padStart(8,"0")}function gi(){try{let e=new Uint8Array(12);return window.crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}catch{return`${Math.random().toString(36).slice(2)}${Math.random().toString(36).slice(2)}`}}function yi(){try{let e=JSON.parse(ie("local",je)||"null");return e&&typeof e.salt=="string"&&e.salt&&typeof e.id=="string"&&Array.isArray(e.emails)?e:null}catch{return null}}function bi(e){try{if(typeof e._isIdentified=="function")return!!e._isIdentified()}catch{}return e.get_property("$user_state")==="identified"}var De=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Jt(){for(let n of["local","session"]){let o=Ye(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===He||r===je)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function wi(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Ut=e=>e==null||e==="posthog";function _i(e){let t=[],n=o=>{for(let r of ei)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Ut(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function ki(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=ti;return t&&(ni.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function qt(e={}){if(window.__f10xTracking)return re(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Ge("preview"),re(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let l=De({...Re(o),...Bt(o)}),m=!1,g=_=>{m||console.warn(`[@funnel10x/tracking] the dom extra failed (${Ze(_)}): the form in this frame may miss the fields from its URL.`),m=!0};try{We({values:()=>l,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:g})}catch(_){g(_)}return t=Ge("frame",()=>l),re(t)}if(wi())return console.warn(zt),t=Ge("conflict"),re(t);let i=Re(o),a=Bt(o)[oi]||null,d=[],f="idle",u=null,s=!1,c=null,y=null,p=null,h=!1,b=null,A=!1,H=!1,se=ki(e.apiHost,e.sdkVersion),Z=[],D=(l,m)=>{Z.includes(l)||(Z.push(l),console.warn(li(l,m)))},ce=new Set,M=(l,m)=>{ce.has(l)||(ce.add(l),console.warn(`[@funnel10x/tracking] ${m}`))},U=si.includes(e.checkout)?e.checkout:null;U||console.warn(ci(e.checkout));let w=(l,m,g)=>{try{return m()}catch(_){return D(l,_),g}},ze=()=>{h||console.warn(ii),h=!0},N=_i(ze),Qt=window.posthog;window.posthog=N;let Xe=()=>{let l={...i};return s&&(l.ph_anon_id=u.get_property("$device_id"),l.ph_distinct_id=u.get_distinct_id(),l.ph_session_id=u.get_session_id(),b&&(l.contact_id=b)),De(l)},en=l=>s?(u.capture("checkout",{checkout_host:l},{send_instantly:!0}),!0):!1,Be=w("dom",()=>We({values:Xe,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:l=>D("dom",l),onCheckout:U==="snippet"?en:void 0}),null),ae=l=>{Be&&w("dom",()=>Be.refresh(l))},_e=new Set,ke=[],ue=(l,m,g=null)=>{if(!s){n&&q()==="denied"||ke.push([l,m,g]);return}let _=(I,T)=>g?`${I}:${T}:${g}`:`${I}:${T}`,v=Object.fromEntries(Object.entries(l).filter(([I,T])=>T&&!_e.has(_(I,T))));if(Object.keys(v).length){for(let[I,T]of Object.entries(v))_e.add(`${I}:${T}`),g&&_e.add(_(I,T));u.capture("contact_captured",{...v,contact_source:m,...g?{acquisition_type:g}:{}})}},Je=new Set,Se=[],Ue=l=>{if(!s){n&&q()==="denied"||Se.push(l);return}if(Je.has(l))return;if(Je.add(l),bi(u)){M("login:identified","login(): PostHog already has this browser as identified (an identify ran here before), so the login is not sent: the admin links this browser through that identify.");return}let m=u.get_distinct_id(),g=yi(),_=g?g.salt:gi(),v=hi(_,l),I=g&&g.id===m?g.emails.filter(T=>typeof T=="string"):[];I.includes(v)||(u.capture("contact_captured",{email:l,contact_source:"login"}),we("local",je,JSON.stringify({salt:_,id:m,emails:[...I,v].slice(-Qr)})))},tn=l=>{let m=l&&l.attribute!=null?String(l.attribute):null,g=l&&l.field!=null&&String(l.field).trim()!==""?String(l.field):null,_=m!=null?m:g;if(_===null)return null;let v=ye(_);return v?m!==null&&g!==null&&ye(g)!==v&&M(`acquisition_type:${m}:${g}`,`data-acquisition-type is ${JSON.stringify(m)} and the acquisition_type field is ${JSON.stringify(g)}: contact_captured goes with the attribute.`):M(`acquisition_type:${_}`,`${m!==null?"data-acquisition-type":"the acquisition_type field"} is ${JSON.stringify(_)}, which is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`),v},nn=w("contact",()=>Pt(o),{});w("contact",()=>jt((l,m,g)=>ue(l,m,tn(g)),l=>D("contact",l)));let ve=w("linker",()=>Ot(e.linkedDomains),[]),G=ve.length?w("linker",()=>Wt(o,di()),null):null,qe=!1,le=null,de=null,on=()=>s?Nt({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;ve.length&&w("linker",()=>Dt({hosts:ve,checkoutHosts:e.checkoutHosts,value:on,onError:l=>D("linker",l)}));let rn=l=>{!G||qe||(qe=!0,w("linker",()=>{let m=l.bootstrap&&typeof l.bootstrap=="object"?l.bootstrap:{};if(m.distinctID||l.identity_distinct_id||mi(fi(e.key,l))){de=G.distinctID;return}le={...m,distinctID:G.distinctID,isIdentifiedID:G.identified,...G.sessionID&&!m.sessionID?{sessionID:G.sessionID}:{}}}))},sn=De({tracking_version:$e,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),cn=l=>(!l||l.event==="$snapshot"||(l.properties={...l.properties,...sn,...c?{fingerprint:c}:{},fingerprint_ms:y,...h?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...de?{linked_distinct_id:de}:{}}),l),q=()=>{let l=ie("local",Oe);return l==="granted"||l==="denied"?l:null},K=!n||e.consent===!1||q()==="granted",xe=n?"direct":"tag",an=()=>{if(p)return p;let l=Date.now(),m=(async()=>{let _=await(await It.load({monitoring:!1})).get();c=(_==null?void 0:_.visitorId)||null,y=Date.now()-l})().catch(g=>{y===null&&(y=Date.now()-l),D("fingerprint",g)});return p=Promise.race([m,new Promise(g=>setTimeout(g,Yt))]).then(()=>{y===null&&(y=Yt)}),p},un=()=>{if(A)return;A=!0;let l=document.createElement("link");l.rel="preload",l.as="script",l.crossOrigin="anonymous",l.href=se,document.head.appendChild(l)},Ke=()=>{let l=e.posthog||{};return rn(l),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...pi,custom_campaign_params:[...Me,"utm_id","utm_placement",...Te],...l,...le?{bootstrap:le}:{},before_send:cn,loaded:dn}},ln=()=>{let l=window.posthog;if(l===N){if(N._i.unshift([e.key,Ke()]),f="injected",H)return;H=!0;let m=document.createElement("script");m.async=!0,m.crossOrigin="anonymous",m.src=se,document.head.appendChild(m);return}if(H&&l&&!l.__loaded&&typeof l.init=="function"){f="injected",l.init(e.key,Ke()),u&&typeof u._execute_array=="function"&&u._execute_array(N);return}console.warn(zt),xe="conflict",f="idle"},Qe=()=>{f!=="idle"||xe==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!K){f="idle";return}if(un(),await w("fingerprint",an,null),!K){f="idle";return}ln()}).catch(l=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${Ze(l)}): nothing is tracked by this snippet on this page.`),!H&&(f="idle",window.posthog===N&&(window.posthog=Qt))}))};function dn(l){u=l,f="loaded";let m=l.init;l.init=function(g,_,v){return Ut(v)&&ze(),m.apply(this,arguments)},l.has_opted_out_capturing()&&l.opt_in_capturing({captureEventName:!1}),b=a||ie("session",He),a&&(we("session",He,a),l.get_distinct_id()!==a&&l.identify(a)),s=!0,ae({iframes:!0}),w("contact",()=>{ue(nn,"url");for(let[g,_,v]of ke.splice(0))ue(g,_,v);for(let g of Se.splice(0))Ue(g)});for(let g of d.splice(0))g(!0)}return K?Qe():(q()==="denied"&&Jt(),ae({iframes:!0})),t={version:$e,get mode(){return xe},consent:()=>n&&e.consent?q():null,grant(){we("local",Oe,"granted"),K=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),ae({iframes:!0})):Qe()},deny(){var l;if(we("local",Oe,"denied"),K=!1,ke=[],Se=[],G=null,le=null,de=null,!u){N._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(l=u.stopSessionRecording)==null||l.call(u),u.set_config({disable_persistence:!0}),Jt(),s=!1,b=null,ae()},onReady(l){s?l(!0):d.push(l)},fields:Xe,capture(l,m){try{for(let[g,_]of ui(l,m,U))M(`${l}:${g}`,_)}catch{}s&&u.capture(l,m,l==="checkout"?{send_instantly:!0}:void 0)},contact(l){w("contact",()=>{let m=l&&typeof l=="object"?l:{},g={};if(m.email!=null&&m.email!==""){let v=B(m.email);v?g.email=v:M(`contact:email:${m.email}`,`contact(): ${JSON.stringify(m.email)} is not an email, and it is not sent.`)}if(m.phone!=null&&m.phone!==""){let I=typeof m.phone=="string"&&/^\s*(\+|00)/.test(m.phone)?oe(m.phone):null;I?g.phone=I:M(`contact:phone:${m.phone}`,`contact(): ${JSON.stringify(m.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}let _=null;m.acquisitionType!=null&&m.acquisitionType!==""&&(_=ye(m.acquisitionType),_||M(`contact:acquisition_type:${m.acquisitionType}`,`contact(): acquisitionType ${JSON.stringify(m.acquisitionType)} is not an acquisition type key (client, people, supplier, partner, asset): contact_captured goes without it.`)),(g.email||g.phone)&&ue(g,"api",_)})},login(l){w("contact",()=>{var _;let m=l&&typeof l=="object"?l:{},g=m.email!=null&&m.email!==""?B(m.email):null;if(!g){M(`login:email:${m.email}`,`login(): ${JSON.stringify((_=m.email)!=null?_:null)} is not an email, and nothing is sent.`);return}Ue(g)})},get posthog(){return u||(window.posthog===N?N:null)}},re(t)}function re(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Ge(e,t=()=>({})){return{version:$e,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},login(){},posthog:null}}var J=window.f10xTracking;window.__f10xTracking?(window.f10xTracking=window.__f10xTracking,Kt(window.__f10xTracking)):J&&typeof J=="object"&&!J.version&&(typeof J.key=="string"&&J.key?Si(J):console.warn("[@funnel10x/tracking] window.f10xTracking.key is missing: nothing is tracked."));function Kt(e){let t=Array.isArray(window.__f10xLogins)?window.__f10xLogins.splice(0):[];for(let n of t)e.login(n)}function Si(e){let t=window.posthog;try{Kt(qt(e))}catch(n){window.posthog&&window.posthog.__f10x&&(window.posthog=t),window.__f10xTracking=void 0,typeof e.contact!="function"&&(e.contact=()=>{}),e.login=()=>{},Array.isArray(window.__f10xLogins)&&(window.__f10xLogins.length=0),window.f10xTracking=e,console.warn(`[@funnel10x/tracking] the snippet failed to start (${n&&n.message||n}): nothing is tracked by it on this page, and window.f10xTracking has no version.`)}}})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnel10x/tracking",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Funnel 10X tracking snippet: the official PostHog SDK from its CDN, with FingerprintJS, the attribution parameters in forms and checkout links, and the consent switch of a direct site.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|