1/* AFL UTM Tracker v2.31.0 | 20260119001 | Copyright 2020-2026 Appfromlab Pte Ltd */ 2/* JavaScript Cookie v2.2.1 | Copyright 2006, 2015 Klaus Hartl & Fagner Brack | MIT license */ 3!function(t){var e,n,r;"function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),e||(n=window.CookiesAFL,(r=window.CookiesAFL=t()).noConflict=function(){return window.CookiesAFL=n,r})}(function(){function c(){for(var t=0,e={};t<arguments.length;t++){var n,r=arguments[t];for(n in r)e[n]=r[n]}return e}function _(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(u){function a(){}function n(t,e,n){if("undefined"!=typeof document){"number"==typeof(n=c({path:"/"},a.defaults,n)).expires&&(n.expires=new Date(+new Date+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var r=JSON.stringify(e);/^[\{\[]/.test(r)&&(e=r)}catch(t){}e=u.write?u.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var i,o="";for(i in n)n[i]&&(o+="; "+i,!0!==n[i]&&(o+="="+n[i].split(";")[0]));return document.cookie=t+"="+e+o}}function e(t,e){if("undefined"!=typeof document){for(var n={},r=document.cookie?document.cookie.split("; "):[],i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");e||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var c=_(o[0]),a=(u.read||u)(a,c)||_(a);if(e)try{a=JSON.parse(a)}catch(t){}if(n[c]=a,t===c)break}catch(t){}}return t?n[t]:n}}return a.set=n,a.get=function(t){return e(t,!1)},a.getJSON=function(t){return e(t,!0)},a.remove=function(t,e){n(t,"",c(e,{expires:-1}))},a.defaults={},a.withConverter=t,a}(function(){})}),function(){function v(t,e,n){return"object"==typeof t&&e in t?t[e]:n}function w(t,e){t=function(t,e){var n;try{"function"==typeof CustomEvent?n=new CustomEvent(t,{detail:e}):((n=document.createEvent("Event")).initEvent(t,!1,!0),n.detail=e)}catch(t){}return n}(t,e);document.dispatchEvent(t)}function b(t,e){!function(t,e){if(t in $.config_validator)return $.config_validator[t](e);return 1}(t=String(t),e)||($.config[t]=e)}function k(t){var e=null;return e=$.config.hasOwnProperty(t)?M($.config[t]):e}function y(t){var e=!1;return e=$.config.hasOwnProperty(t)?!0===(t=M($.config[t]))||1===t||"1"===t:e}function t(t){return Number.isInteger(t)}function s(t){var e=M(t);if("object"!=typeof e||null===e)return!1;Object.keys(e).forEach(function(t){t in $.config&&b(t,e[t])}),"cookie_expiry"in e&&"days"in e.cookie_expiry&&(q(t=parseInt(e.cookie_expiry.days))&&b("cookie_expiry",t),b("cookie_expiry_reset",t)),"last_touch_window"in e&&b("last_touch_window",parseInt(e.last_touch_window)),"domain_info"in e&&("domain"in e.domain_info&&b("cookie_domain",e.domain_info.domain),"path"in e.domain_info&&b("cookie_domain_path",e.domain_info.path)),x("configured",!0),w("afl_wc_utm_event_configured",{})}function f(){b("cookie_expiry",k("cookie_expiry_reset"))}function l(t,e){$.callbacks[t]=e}function p(t){return t in $.callbacks?$.callbacks[t]:function(){}}function x(t,e){t=String(t),$.flags[t]=!0===e||1===e||"1"===e}function j(t){var e=!1;return e=void 0!==$.flags[t]?!0===$.flags[t]||1===$.flags[t]||"1"===$.flags[t]:e}function A(){if(j("init"))return!0;b("timestamp",Math.floor((new Date).getTime()/1e3)),l("has_consent",tt),F(),mt(),et(),x("init",!0),w("afl_wc_utm_event_init",{})}function i(){if(e(n()))return!1;(a()?m:d)(),x("run",!0),w("afl_wc_utm_event_run",{})}function m(){j("init")||A();var t=parseInt(k("cookie_force_reset_ts")),r=(!q(t)||0<(n=Z("sess_ts",0))&&n<=t&&(K(),x("cookie_force_reset",!0)),P()),e=(void 0!==r.updated_ts?yt(e=parseInt(r.updated_ts))&&(r.updated_ts=e):(r={updated_ts:k("timestamp")},x("cookie_has_update",!0)),k("cookie_expiry")),n="cookie_expiry",t=0,i=!1,e=(void 0!==r.cookie_expiry?t=r.cookie_expiry:C(n)||(t=U(n)),yt(t=parseInt(t))||(t=e),e<t&&(t=e,i=!0),r.cookie_expiry=parseInt(t),b("cookie_expiry",r.cookie_expiry),F(),["sess","utm_1st","utm"].forEach(function(t,e){var n;C(t+"_visit")||q(n=parseInt(U(t+"_visit")))&&(r[t+"_ts"]=n)}
3),"object"==typeof(n=k("clid"))&&n.forEach(function(t,e){var n;C(t+"_visit")||q(n=parseInt(U(t+"_visit")))&&(r[t+"_ts"]=n)}),r.consent_type=k("consent_type"),r.reset=j("cookie_force_reset")?1:0,"renew"in r&&r.renew&&(r.renew=0,i=!0),I(r),k("deprecated_cookies")),o=(e&&e.forEach(function(t){R(t)}),i&&Q(r.cookie_expiry),k("timestamp")),a=document.location.href,t=document.referrer;y("simulate")&&(a=k("test_href"),t=k("test_referer"));var c,i=xt(a,t),u=P(),_="sess_landing",i=(C(_)&&(O(_,a),u.sess_ts=o,At(t)&&O("sess_referer",t),x("cookie_has_update",!0)),c=function(t,e){var n,r,i,o;return"params"in t&&"url"in t&&"string"==typeof e&&(n=k("utm_prefix"),""!==t.params[n+"source"]||""===t.params[n+"campaign"]&&!y("attr_first_non_utm")||(r=xt(t.url,e),o=i="","direct"===r||"self_referral"===r?(i="direct",o="none"):"organic"!==r&&"referral"!==r||(e=E(e),i=e||"unknown",o=r),""!==i&&(t[n+"source"]=i,t[n+"medium"]=o,t.params[n+"source"]=i,t.params[n+"medium"]=o,(e=new URL(t.url)).searchParams.set(n+"source",i),e.searchParams.set(n+"medium",o),t.url=B(e.href)))),t}(c=S(a,o),t),(_=k("utm_prefix")+"source")in c.params&&""!==c.params[_]&&(t="utm_url",C(_="utm_1st_url")&&(O(_,c.url),u.utm_1st_ts=c.ts,O(t,c.url),u.utm_ts=c.ts,x("cookie_has_update",!0)),function(t,e,n){var r=!1,i=parseInt(k("lt_"+t+"_sec")),o=e.ts;kt(i)||(i=-1);q(o)||(o=0);{var a;"self_referral"!==t&&0<=i&&0<o&&(t=parseInt(v(n,"utm_1st_ts",0)),n=parseInt(v(n,"utm_ts",0)),a=U("utm_url"),q(n)||(n=0),t=(t=q(t)?t:0)===n,e=e.url===a,a=o-n,o=k("last_touch_window"),e?o<a&&(r=!0):(t&&0<=i||!t&&i<a)&&(r=!0))}return r}(i,c,u)&&(O(t,c.url),u.utm_ts=c.ts,x("cookie_has_update",!0))),N(_=k("click_identifiers"))&&0<_.length&&_.forEach(function(t){var e,n;t in c.params&&""!==c.params[t]&&(e=v(u,t+"_ts",0),n=U(t+"_url"),function(t,e,n,r){var i=!1,o=k("last_touch_window"),t=t===n;(!t||o<e-r)&&(i=!0);return i}(a,o,n,e)&&(O(t+"_url",a),u[t+"_ts"]=o,x("cookie_has_update",!0)))}),I(u),function(t){var e=!1;{var n,r;"force"!==k("cookie_renewal")||j("cookie_has_update")||(n=new Date(1e3*$.config.timestamp),r=new Date(1e3*t.updated_ts),(86400<=Math.abs($.config.timestamp-t.updated_ts)||0<Math.abs(n.getDate()-r.getDate()))&&(e=!0))}return e}(u)&&x("cookie_has_update",!0),B(U("sess_landing"))),t=B(U("sess_referer")),_=B(U("utm_1st_url")),s=B(U("utm_url")),f=P(),l=v(f,"sess_ts",0),p={},m={},d=(V(),T("status","0"),T("landing_page",{url:i,ts:l}),T("referer",{url:t}),T("utm_first_touch",p=S(_,_?v(f,"utm_1st_ts",0):0)),s?T("utm_last_touch",m=S(s,v(f,"utm_ts",0))):(T("utm_last_touch",m=M(p)),"string"==typeof m.url&&""!=m.url&&(O("utm_url",m.url),X("utm_ts",l),x("cookie_has_update",!0))),{});N(i=k("click_identifiers"))&&0<i.length&&i.forEach(function(t,e){var n=U(t+"_url");d[t]=H(n,v(f,t+"_ts",0),L(n,t))}),T("click_identifiers",d);for(var g=k("clid"),h=0;h<g.length;h++)g[h]in d&&T(g[h],d[g[h]]);T("status","1"),G(),x("attribution",!0),w("afl_wc_utm_event_attribution_set",{detail:{attribution:J}}),at(),st({event:"afl_wc_utm.optin",afl_wc_utm:D()}),j("cookie_has_update")&&W(),gt("optin"),x("optin",!0),x("optout",!1),x("optin_before",!0),w("afl_wc_utm_event_optin",{})}function d(){j("init")||A(),V(),K(),f(),ct(),st({event:"afl_wc_utm.optout",afl_wc_utm:D()}),k("active_attribution")&&k("nonce")&&j("optin")&&W(),gt("optout"),x("optin",!1),x("optout",!0),w("afl_wc_utm_event_optout",{})}function g(){return"1"===k("js_autorun")}function e(t){var e=k("bots");return"string"!=typeof t&&(t=""),0<e.length&&0<t.length&&-1!==t.search(new RegExp(e,"i"))}function E(t){var e="";return e=""!==t&&null!==(t=t.match(/^https?\:\/\/([^\/:?#]+)(?:[\/:?#]|$)/i))&&1<t.length?t&&t[1]:e}function n(){var t="";return t="navigator"in window&&"userAgent"in window.navigator?window.navigator.userAgent:t}function L(t,e){var n,r,i,o="",a={};try{o="URLSearchParams"in window?("string"==typeof t&&""!=t?(n=new URL(t),a=new URLSearchParams(n.search)):_(t)&&(a=t),null===(r=a.get(e))?"":r):(e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),null===(i=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t))?"":i[1])}catch(t){o=0}return o}function h(t,e){var n="";
3try{var r=new URL(t);switch(e){case"hash":case"host":case"hostname":case"href":case"origin":case"pathname":case"protocol":case"search":n=r[e];break;case"clean":n=r.protocol+"//"+r.hostname+r.pathname}}catch(t){n=""}return n}function S(n,t){var r={url:n=B(n),ts:t,params:{}},t=k("utm"),i=k("utm_prefix"),e=k("extra_params"),o=k("click_identifiers");if(N(t)&&0<t.length&&t.forEach(function(t){r[i+t]="",r.params[i+t]=""}),N(e)&&0<e.length&&e.forEach(function(t){r.params[t]=""}),N(o)&&0<o.length&&o.forEach(function(t){r.params[t]=""}),"string"==typeof n&&""!==n){var a,c={};try{"URLSearchParams"in window&&(a=new URL(n),c=new URLSearchParams(a.search))}catch(t){}t.forEach(function(t){var t=i+t,e=u(L(_(c)?c:n,t));r[t]=e,r.params[t]=e}),N(e)&&0<e.length&&e.forEach(function(t){r.params[t]=u(L(_(c)?c:n,t))}),N(o)&&0<o.length&&o.forEach(function(t){r.params[t]=u(L(_(c)?c:n,t))})}return r}function H(t,e,n){return{url:t=B(t),ts:e,clid:n=u(n)}}function r(){return k("cookie_prefix")}function C(t){t=CookiesAFL.get(r()+t);return void 0===t||""===t||null===t}function O(t,e){CookiesAFL.set(r()+t,e,z())}function U(t){t=CookiesAFL.get(r()+t);return void 0!==t?t:""}function R(t){CookiesAFL.remove(r()+t,z())}function I(t){"object"==typeof t&&O("main",JSON.stringify(t))}function P(){var t=U("main");return"string"==typeof t&&""!==t?JSON.parse(t):""}function X(t,e){var n=P();n[t]=e,I(n)}function Z(t,e){return v(P(),t,e)}function F(){b("cookie_attributes",{expires:k("cookie_expiry"),secure:!0,domain:k("cookie_domain"),path:k("cookie_domain_path")})}function z(){return k("cookie_attributes")}function T(t,e){"string"==typeof t&&0<t.length&&(J[t]=e)}function D(){return M(J)}function G(){if("object"!=typeof afl_wc_utm_public||null===afl_wc_utm_public)return!1;afl_wc_utm_public.attribution=D()}function K(){if("string"==typeof document.cookie&&document.cookie.length){var t=k("cookie_prefix");if("string"!=typeof t||"string"==typeof t&&0===t.length)return;for(var e=document.cookie.split(";"),n=0;n<e.length;n++){var r=e[n].replace(/^\s+/,"");0===r.indexOf(t)&&R(r.split("=")[0].substring(t.length))}}}function Q(t){if(void 0!==t&&(b("cookie_expiry",t),F()),"string"==typeof document.cookie&&document.cookie.length){var e=k("cookie_prefix");if("string"!=typeof e||"string"==typeof e&&0===e.length)return;for(var n,r=document.cookie.split(";"),i=0;i<r.length;i++){var o,a=r[i].replace(/^\s+/,"");0!==a.indexOf(e)||void 0!==(o=U(a=a.split("=")[0].substring(e.length)))&&""!==o&&null!==o&&O(a,o)}C("main")||((n=P()).cookie_expiry=t,I(n)),x("cookie_has_update",!0)}}function V(){J={},T("status","0"),T("landing_page",{url:"",ts:0}),T("referer",{url:""});for(var t=S("",0),e=(T("utm_first_touch",t),T("utm_last_touch",t),{}),t=k("click_identifiers"),n=(N(t)&&0<t.length&&t.forEach(function(t){e[t]=H("",0,"")}),T("click_identifiers",e),k("clid")),r=0;r<n.length;r++)n[r]in e&&T(n[r],e[n[r]]);G(),x("attribution",!1),w("afl_wc_utm_event_attribution_reset",{detail:{attribution:J}})}function W(){var t,e;"0"!==k("cookie_renewal")&&(t="action="+encodeURIComponent(k("action"))+"&nonce="+encodeURIComponent(k("nonce")),(e=new XMLHttpRequest).open("POST",k("ajax_url"),!0),e.setRequestHeader("Content-type","application/x-www-form-urlencoded"),e.onload=function(){w("afl_wc_utm_event_send_ajax_onload",{detail:{response:e.response}})},e.send(t)),x("cookie_has_update",!1)}function Y(){return"1"===k("wp_consent_api_enabled")&&"wp-consent-api"===k("consent_addon")}function tt(){var t;return!Y()||!("waitfor_consent_hook"in consent_api&&consent_api.waitfor_consent_hook&&void 0===window.wp_consent_type)&&(t=k("cookie_consent_category"),!("function"!=typeof wp_has_consent||!wp_has_consent(t)))}function et(){var t,e;Y()&&(t="wp_listen_for_consent_change",e=nt,document.addEventListener?document.addEventListener(t,e):document.attachEvent&&document.attachEvent(t,e))}function nt(t){var e=t.detail,n=k("cookie_consent_category");if(n)for(var r in e)e.hasOwnProperty(r)&&r===n&&i()}function rt(t){var e,n;return"string"==typeof t&&-1!==t.search("afl_utm_js:")&&(e=[],t=t.split("|"),n="",t.forEach(function(t){0===t.indexOf("default:")?n=t:e.push(t)}),""!==n&&e.push(n),e)}function it(t,e){var n=t.split(":",2);if(2<=n.length)switch(n[0]){case"afl_utm_js":e=function(e){var n="",r=D();if(0===e.search("utm_"))var t=e.replace("_1st",""),t=0<e.search("_url")?"url":t,n=0<e.search("_1st")?t in r.utm_first_touch?r.utm_first_touch[t]:"":t in r.utm_last_touch?r.utm_last_touch[t]:"";else if(0===e.search("sess_"))switch(e){case"sess_landing":n=r.landing_page.url;break;case"sess_referer":n=r.referer.url}else{t=k("click_identifiers");N(t)&&0<t.length&&t.forEach(function(t){t in r.click_identifiers&&"clid"in r.click_identifiers[t]&&(0===e.search(t+"_url")?n=r.click_identifiers[t].url:0===e.search(t+"_value")&&(n=r.click_identifiers[t].clid))})}return n}(n[1]);break;case"param":e=L(e,n[1]);break;case"url":e=h(e,n[1]);break;case"default":""===e&&(e=n[1])}return e}function c(t){var e;return o(t)?(e=t.includes("{")&&t.includes("}"),u(t.replace(e?/\{(afl_utm_js:[^}]+(?:\|[^}]+)*)\}/g:/(afl_utm_js:[^$]+)/,function(t,e){return t=t,n="",!1!==(e=rt(e=e))?(e.forEach(function(t){n=it(t,n)}),n):t;var n}))):t}function ot(t){return!!(o(t)&&0<t.indexOf("default:"))}function at(){if(y("js_merge_tag")){ut();var t=document.querySelectorAll("div[data-afl_utm_src]");if(ht(t)&&0<t.length)for(var e=0;e<t.length;e++){var n={url_suffix:t[e].getAttribute("data-afl_utm_src_suffix"),override_param:t[e].getAttribute("data-afl_utm_src_override_param"),mode:t[e].getAttribute("data-afl_utm_src_mode")},n=wt(t[e].getAttribute("data-afl_utm_src"),n);bt(t[e],n)}x("merge_tag_optin",!0),x("merge_tag_optout",!1),x("merge_tag_optin_before",!0),w("afl_wc_utm_event_merge_tag_optin")}}function ct(){if(y("js_merge_tag")&&(y("merge_tag_optout")||!j("merge_tag_optin_before"))){_t();var t=document.querySelectorAll("div[data-afl_utm_src]");if(ht(t)&&0<t.length)for(var e,n,r,i=0;i<t.length;i++)try{"0"!==t[i].getAttribute("data-afl_utm_src_optout")&&(e=B(t[i].getAttribute("data-afl_utm_src")),null!==(n=t[i].getAttribute("data-afl_utm_src_optout_suffix"))&&(r={url_suffix:n,override_param:t[i].getAttribute("data-afl_utm_src_override_param"),mode:t[i].getAttribute("data-afl_utm_src_mode")},e=wt(e,r)),bt(t[i],e))}catch(t){}x("merge_tag_optin",!1),x("merge_tag_optout",!0),w("afl_wc_utm_event_merge_tag_optout")}}function ut(){var t=pt();0===t.length&&mt(),t.forEach(function(t){for(var e=0;e<t.length;e++){if("getAttribute"in t[e])if("optin"===t[e].getAttribute("data-afl_utm_js_status"))continue;var n,r=ft(t[e]);""!==r&&("getAttribute"in t[e]&&(t[e].setAttribute("data-afl_utm_js",r),t[e].setAttribute("data-afl_utm_js_status","optin")),"value"in t[e]&&((n=c(r))!==r&&(t[e].value=n,t[e].dispatchEvent(new Event("input",{bubbles:!0})))))}})}function _t(){var t=pt(),i=(0===t.length&&mt(),y("merge_tag_optout_use_default")),o=k("merge_tag_optout_value");t.forEach(function(t){for(var e=0;e<t.length;e++){if("getAttribute"in t[e])if("optout"===t[e].getAttribute("data-afl_utm_js_status"))continue;var n,r=ft(t[e]);""!==r&&("getAttribute"in t[e]&&(t[e].setAttribute("data-afl_utm_js",r),t[e].setAttribute("data-afl_utm_js_status","optout")),"value"in t[e]&&(n="",i&&ot(r)&&(""!==(r=c(r))&&(n=r)),""===n&&"string"==typeof o&&""!==o&&(n=o),t[e].value=n,t[e].dispatchEvent(new Event("input",{bubbles:!0}))))}})}function st(t){t=M(t);"1"===k("gtm_push")&&(window.dataLayer=window.dataLayer||[],dataLayer.push(t))}function ft(t){var e="";return"value"in t&&o(t.value)?e=t.value:"placeholder"in t&&o(t.placeholder)?e=t.placeholder:"getAttribute"in t&&(
3o(t=t.getAttribute("data-afl_utm_js"))&&(e=t)),e}function lt(t){ht(t)&&0<t.length&&"fields"in $.merge_tag&&N($.merge_tag.fields)&&$.merge_tag.fields.push(t)}function pt(){return $.merge_tag.fields}function mt(){var t;y("js_merge_tag")&&"string"==typeof(t=k("merge_tag_selectors"))&&""!==t&&(t=document.querySelectorAll(t)).length&<(t)}function o(t){return"string"==typeof t&&-1!==t.search("afl_utm_js:")}function a(){var t=p("has_consent");return"function"==typeof t&&t()}function dt(){return M($.previous_consent)}function gt(t){x("consent_changed",dt()!==t),$.previous_consent=M(t)}function M(t){var e;return e=t,"[object Object]"===Object.prototype.toString.call(e)&&null!==e&&"function"==typeof Object.assign?Object.assign({},t):t}function N(t){return"[object Array]"===Object.prototype.toString.call(t)}function ht(t){return"[object NodeList]"===Object.prototype.toString.call(t)}function vt(t){return"[object HTMLCollection]"===Object.prototype.toString.call(t)}function wt(t,e){var n=B(t),r=function(t,e){if("object"!=typeof t||null===t)return{};if("object"!=typeof e||null===e)return t;var n=M(t);return Object.getOwnPropertyNames(n).forEach(function(t){e.hasOwnProperty(t)&&null!==e[t]&&(n[t]=e[t])}),n}({url_suffix:k("merge_tag_url_suffix"),override_param:y("merge_tag_override_param"),mode:k("merge_tag_url_mode")},e);try{var i=new URL(t),o=c(r.url_suffix),a=new URLSearchParams(o);"2"===r.mode?(i.searchParams.set("afl_utm_reload","1"),n=i.toString(),-1===t.indexOf("?")&&(n+="?"),n+="&"+a.toString()):(a.forEach(function(t,e){var n;"string"==typeof t&&""!==t&&(n=i.searchParams.get(e),!0!==r.override_param&&""!==n&&null!==n||i.searchParams.set(e,t))}),n=i.toString())}catch(t){n=""}return n=B(n)}function bt(t,e){var n=t.getAttribute("data-afl_utm_src_type");if("script"===n){var r=t,i=e;if((i=B(i))&&r&&"getAttribute"in r&&null!==r.getAttribute("data-afl_utm_src")){var o=r.getElementsByTagName("script");if(vt(o)&&0<o.length&&o[0].getAttribute("src")!==i){for(;"firstChild"in r&&r.firstChild;)r.removeChild(r.firstChild);o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",i),r.appendChild(o)}}}else"iframe"===n&&(i=t,(o=B(o=e))&&i&&"getAttribute"in i&&null!==i.getAttribute("data-afl_utm_src")&&(vt(i=i.getElementsByTagName("iframe"))&&0<i.length&&i[0].getAttribute("src")!==o&&i[0].setAttribute("src",o)))}function u(t){return"string"!=typeof t||/javascript:/i.test(t)?"":t}function B(t){var e,n="";try{"string"!=typeof t||""===t||"http:"!==(e=new URL(t)).protocol&&"https:"!==e.protocol||(n=e.toString())}catch(t){}return n}function kt(t){return!("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t)}function q(t){return!!(kt(t)&&0<=t)}function yt(t){return!!(kt(t)&&0<t)}function _(t){return"URLSearchParams"in window&&t instanceof URLSearchParams||"[object URLSearchParams]"===Object.prototype.toString.call(t)}function xt(t,e){var n,r,i="unknown";return n=t,r=k("utm_prefix"),""!==L(n,r+"source")&&""!==L(n,r+"campaign")?i="utmc":""!==L(t,k("utm_prefix")+"source")?i="utm":jt(e)?i="organic":At(e)?i="referral":""===e?i="direct":Et(e)&&(i="self_referral"),i}function jt(t){var e,n=E(t),r=k("search_engines");for(e in r)if(n.match(r[e]))return!0;return!1}function At(t){return""!==t&&!Et(t)}function Et(t){var e=null;return""!==t&&(e=(t=t.replace(/(^\w+:|^)\/\//,"")).substring(0,location.hostname.length)),location.hostname===e}var Lt,J,$;function St(){window.AFLUTMTracker.autorun()}function Ct(){return"interactive"===document.readyState||"complete"===document.readyState}void 0===window.AFLUTMTracker&&(window.AFLUTMTracker=($={flags:{autorun:!(J={}),configured:!(Lt={name:"AFLUTMTracker",version:20260119001,autorun:function(){if(j("autorun"))return!0;if(s("object"==typeof afl_wc_utm_public?afl_wc_utm_public:{}),!g()||e(n()))return!1;A(),i(),x("autorun",!0),w("afl_wc_utm_event_autorun",{})},init:A,run:i,maybe_run:function(){!function(){var t=a()?"optin":"optout";return dt()!==t}()||i()},optin:m,optout:d,has_consent:a,helper:{is_autorun:g,set_config:b,get_config:k,get_config_bool:y,map_config:s,reset_cookie_expiry_config:f,set_callback:l,get_callback:p,get_flag:j,set_flag:x,is_cookie_empty:C,set_cookie
3:O,get_cookie:U,delete_cookie:R,get_cookie_main:P,set_cookie_main:I,get_cookie_main_property:Z,set_cookie_main_property:X,set_attribution:T,get_attribution:D,reset_attribution:V,update_attribution_legacy:G,delete_attribution_cookies:K,renew_attribution_cookies:Q,is_bot:e,is_self_referrer:Et,is_traffic_organic:jt,get_traffic_type:xt,get_hostname:E,get_user_agent:n,get_url_parameter:L,parse_url:h,send_ajax:W,get_version:function(){return M(Lt.version)},simulate:function(t,e){return b("simulate",1),b("test_href",t),b("test_referer",e),i(),!0}},wp_consent_api:{is_enabled:Y,has_consent:tt,register_event:et},attribution:{get:D,get_by_key:function(t){return void 0!==J[t]?M(J[t]):{}},get_click_identifier:function(t){return void 0!==J.click_identifiers&&void 0!==J.click_identifiers[t]?M(J.click_identifiers[t]):{}}},merge_tag:{run:function(){y("js_merge_tag")&&(a()?at:ct)()},optin:at,optout:ct,replace:c,register_form_fields:lt,get_form_fields:pt,optin_form_fields:ut,optout_form_fields:_t,is_tag:o,tag_has_default:ot,decode_pipe:rt,replace_url:wt},gtm:{push:st}}),init:!1,run:!1,optin:!1,optout:!1,cookie_has_update:!1,attribution:!1,cookie_force_reset:!1,consent_changed:!1,optin_before:!1,merge_tag_optin:!1,merge_tag_optin_before:!1,merge_tag_optout:!1},config:{ajax_url:"",action:"",nonce:"",cookie_prefix:"afl_wc_utm_",cookie_expiry:90,cookie_renewal:"force",cookie_consent_category:"statistics",cookie_domain:"",cookie_domain_path:"",last_touch_window:1800,wp_consent_api_enabled:"0",attr_first_non_utm:"0",bots:"(googlebot|bingbot|yandexbot|slurp|spider|robot|bot.html|bot.htm|facebookbot|facebookexternalhit|twitterbot|storebot|microsoftpreview|ahrefsbot|semrushbot|siteauditbot|splitsignalbot)",js_autorun:"1",consent_addon:"",consent_type:"optout",active_attribution:"1",js_merge_tag:"0",gtm_push:"0",cookie_force_reset_ts:0,click_identifiers:["gclid","fbclid","msclkid"],extra_params:[],lt_utmc_sec:0,lt_utm_sec:0,lt_organic_sec:-1,lt_referral_sec:-1,lt_direct_sec:-1,cookie_expiry_reset:90,cookie_attributes:"",cookies:["main","sess_landing","sess_referer","utm_1st_url","utm_url","gclid_url","fbclid_url","msclkid_url"],deprecated_cookies:["cookie_expiry","sess_visit","utm_1st_visit","utm_visit","gclid_visit","fbclid_visit","msclkid_visit"],search_engines:[/^(www\.)?google\.\w+/i,/^(www\.)?bing\.\w+/i,/(search.yahoo\.\w+)$/i,/^(www\.)?yahoo\.\w+/i,/^(www\.)?baidu\.\w+/i,/^(www\.)?yandex\.\w+/i,/^(www\.)?duckduckgo\.\w+/i,/(search.brave\.\w+)$/i],utm:["source","medium","campaign","term","content","id","source_platform","creative_format","marketing_tactic"],utm_prefix:"utm_",merge_tag_selectors:'input[value*="afl_utm_js:"], input[placeholder*="afl_utm_js:"], input[data-afl_utm_js], textarea[value*="afl_utm_js:"], textarea[placeholder*="afl_utm_js:"], textarea[data-afl_utm_js]',merge_tag_url_suffix:"utm_source={afl_utm_js:utm_source}&utm_medium={afl_utm_js:utm_medium}&utm_campaign={afl_utm_js:utm_campaign}&utm_term={afl_utm_js:utm_term}&utm_content={afl_utm_js:utm_content}",merge_tag_optout:"1",merge_tag_optout_use_default:"0",merge_tag_optout_value:"",merge_tag_override_param:"0",merge_tag_url_mode:"1",timestamp:0,simulate:"0",test_href:"",test_referer:"",clid:["gclid","fbclid","msclkid"]},config_validator:{timestamp:t,cookie_expiry:t,last_touch_window:t},callbacks:{has_consent:function(){return!0}},merge_tag:{fields:[]},previous_consent:""},Lt),Ct()?St():document.addEventListener?document.addEventListener("DOMContentLoaded",St):document.attachEvent("onreadystatechange",function(){Ct()&&St()}))}(); 4
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.