PageSourceSearch

https://www.rielismedia.com/wp-content/plugins/metform-pro/build/f…/tracking.js?ver=60d855f7dfb05eff9059

js rielismedia.com collected 2026-10-07 23:25:37 UTC 5,321 bytes, 1 lines download raw bytes

1!function(){"use strict";var e={};function n(e,n,t,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void t(e)}c.done?n(s):Promise.resolve(s).then(r,o)}function t(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function c(e){n(a,o,i,c,s,"next",e)}function s(e){n(a,o,i,c,s,"throw",e)}c(void 0)})}}e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},e.d=function(n,t){for(var r in t)e.o(t,r)&&!e.o(n,r)&&Object.defineProperty(n,r,{enumerable:!0,get:t[r]})},e.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)};var r=window.regeneratorRuntime,o=e.n(r);!function(){if(document.querySelector(".mf-form-wrapper")){var e={},n=null,r=!1;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",h):h(),window.MetFormAnalytics={trackView:l,getSessionDuration:function(e){return i(e)}}}function i(e){var n="mf_session_"+e,t=sessionStorage.getItem(n);if(!t)return 0;try{var r=JSON.parse(t);return Math.floor((Date.now()-r.startTime)/1e3)}catch(e){return 0}}function a(){var e=navigator.userAgent.toLowerCase();return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/i.test(e)?"mobile":"desktop"}function c(){var e=navigator.userAgent.toLowerCase();return e.indexOf("opera")>-1||e.indexOf("opr")>-1?"opera":e.indexOf("edg")>-1?"edge":e.indexOf("firefox")>-1?"firefox":e.indexOf("trident")>-1||e.indexOf("msie")>-1?"ie":e.indexOf("chrome")>-1?"chrome":e.indexOf("safari")>-1?"safari":"other"}function s(){var e=document.referrer;if(!e)return"direct";var n=window.location.hostname,t=new URL(e).hostname;if(t===n)return"direct";for(var r=0,o=["google","bing","yahoo","duckduckgo","baidu","yandex"];r<o.length;r++){var i=o[r];if(t.includes(i))return"organic"}return"referral"}function u(){var e=document.referrer;if(!e)return"";try{var n=window.location.hostname;if(new URL(e).hostname===n)return""}catch(e){}return e}function f(e,n,t){var r=new Date;r.setTime(r.getTime()+24*t*60*60*1e3);var o="expires="+r.toUTCString(),i="https:"===window.location.protocol?";Secure":"";document.cookie=e+"="+n+";"+o+";path=/;SameSite=Lax"+i}function d(){return m.apply(this,arguments)}function m(){return(m=t(o().mark(function e(){var t,i;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=1;break}return e.abrupt("return",n);case 1:if("undefined"!=typeof metformAnalyticsTracking&&metformAnalyticsTracking.countryDetection){e.next=2;break}return n="",r=!0,e.abrupt("return",n);case 2:return e.prev=2,e.next=3,fetch("https://ipinfo.io/json");case 3:if(!(t=e.sent).ok){e.next=5;break}return e.next=4,t.json();case 4:i=e.sent,n=i.country||"";case 5:e.next=7;break;case 6:e.prev=6,e.catch(2),n="";case 7:return r=!0,e.abrupt("return",n);case 8:case"end":return e.stop()}},e,null,[[2,6]])}))).apply(this,arguments)}function l(_x){return p.apply(this,arguments)}function p(){return(p=t(o().mark(function e(n){var t,r,m,l,p,v,h;return o().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"!=typeof metformAnalyticsTracking&&metformAnalyticsTracking.nonce){e.next=1;break}return e.abrupt("return");case 1:return t=i(n),r=a(),m=c(),l=s(),p=u(),e.next=2,d();case 2:v=e.sent,h=JSON.stringify({country:v||"",referrer:p||""}),f("mf_analytics_"+n,encodeURIComponent(h),1),fetch("".concat(metformAnalyticsTracking.restUrl,"/track_view/").concat(n),{method:"POST",headers:{"X-WP-Nonce":metformAnalyticsTracking.nonce,"Content-Type":"application/json"},body:JSON.stringify({session_duration:t,device:r,browser:m,source:l,referrer:p,country:v||""})}).catch(function(){});case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function v(e){if("undefined"!=typeof metformAnalyticsTracking){var n="mf_session_"+e,t=sessionStorage.getItem(n);if(t){var r=JSON.parse(t),o=Math.floor((Date.now()-r.startTime)/1e3)-(r.sentDuration||0);if(!(o<=0)){r.sentDuration=(r.sentDuration||0)+o,sessionStorage.setItem(n,JSON.stringify(r));var i=JSON.stringify({session_duration:o,is_update:!0}),a="".concat(metformAnalyticsTracking.restUrl,"/track_view/").concat(e);
1if(navigator.sendBeacon){var c="".concat(a,"?_wpnonce=").concat(metformAnalyticsTracking.nonce),s=new Blob([i],{type:"application/json"});navigator.sendBeacon(c,s)}else fetch(a,{method:"POST",headers:{"X-WP-Nonce":metformAnalyticsTracking.nonce,"Content-Type":"application/json"},body:i,keepalive:!0}).catch(function(){})}}}}function h(){!function(){var n=document.querySelectorAll(".mf-form-wrapper");if(n.length){var t=new IntersectionObserver(function(n){n.forEach(function(n){if(n.isIntersecting){var t=function(e){var n=e.getAttribute("data-form-id");if(n)return n;var t=e.id;if(t){var r=t.match(/metform-wrap-(\d+)/);if(r)return r[1]}return null}(n.target);if(t&&!e[t]){var r={startTime:Date.now(),sentDuration:0};sessionStorage.setItem("mf_session_"+t,JSON.stringify(r)),e[t]=!0,l(t)}}})},{root:null,rootMargin:"0px",threshold:.5});n.forEach(function(e){return t.observe(e)})}}(),document.addEventListener("visibilitychange",function(){document.hidden&&Object.keys(e).forEach(function(e){v(e)})}),window.addEventListener("pagehide",function(){Object.keys(e).forEach(function(e){v(e)})})}}()}();

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.