PageSourceSearch

https://account.protergia.gr/js/analytics-bundle.js?id=474e497b40d2567ec4c9d5b2eafd5b21

js protergia.gr collected 2026-09-24 11:26:18 UTC 7,291 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t={136:()=>{function e(e){var t=e.debug||!1,a=e.screen||"",n=e.category||"",o=e.route||"",i=e.sendOn||"dom";function r(){if(t)try{console.log.apply(console,["[GA][ui_page_view]"].concat(Array.from(arguments)))}catch(e){}}function d(){if(a)return r("screen_view (override):",a),a;var e=o||document.title||"unknown";return r("screen_view (derived):",e),e}function c(){if(n)return r("page_category (override):",n),n;var e=o?o.split(".")[0]||o:"home";return r("page_category (derived):",e,"from route:",o||"(none)"),e}function g(){var e={screen_view:d(),page_category:c()};r("payload prepared:",e),"function"==typeof gtag?(r("firing event:",e),gtag("event","ui_page_view",e),r("event sent.")):(r("gtag not available; pushing to dataLayer fallback.",e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"ui_page_view",ga_fallback_params:e}))}r("sendOn:",i,"| route:",o),"now"===i?g():"loading"===document.readyState?document.addEventListener("DOMContentLoaded",g,{once:!0}):g()}function t(e){var t=e.name,a=e.params||{},n=e.on||"dom",o=!1!==e.dedupe,i=e.debug||!1,r="gaevt_sent_"+t+"_"+JSON.stringify(a);function d(){if(i)try{console.log.apply(console,["[GA]["+t+"]"].concat(Array.from(arguments)))}catch(e){}}function c(){if(t){if(o){if(window.__ga_sent=window.__ga_sent||new Set,window.__ga_sent.has(r))return void d("deduped");window.__ga_sent.add(r)}"function"==typeof gtag?(d("params:",a),gtag("event",t,a),d("fired")):(d("gtag not available, fallback to dataLayer",a),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t,ga_fallback_params:a}))}}"now"===n?c():"loading"===document.readyState?document.addEventListener("DOMContentLoaded",c,{once:!0}):c()}function a(e){var t=e.debug||!1,a=e.selector||"[data-ga-click]",n=e.screen||"",o=e.category||"",i=e.route||"";if(window.__ga_click_bound)t&&console.log("[GA][ui_click_*] listener already bound");else{window.__ga_click_bound=!0;var r=null;document.addEventListener("click",(function(e){var n=function(e,t){return e&&e.closest?e.closest(t):null}(e.target,a);if(n)if(n.closest&&n.closest("[data-ga-ignore]"))t&&console.log("[GA][ui_click_button] ignored (inside data-ga-ignore)");else{var o={screen_view:d(n),page_category:c(n),click_text:l(n),click_url:u(n)},i="button|"+JSON.stringify(o);i!==r?(r=i,function(e){"function"==typeof gtag?(t&&console.log("[GA][ui_click_button] firing",e),gtag("event","ui_click_button",e)):(t&&console.log("[GA][ui_click_button] gtag not ready, pushing to dataLayer",e),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"ui_click_button",ga_fallback_params:e}))}(o)):t&&console.log("[GA][ui_click_button] deduped")}}),!0),t&&console.log("[GA][ui_click_*] listener bound on",a,"| route:",i,"| screen:",d(null),"| category:",c(null))}function d(e){if(e){var t=e.getAttribute("data-screen");if(t)return t}return n||(i||document.title||"unknown")}function c(e){if(e){var t=e.getAttribute("data-category");if(t)return t}return o||(i?i.split(".")[0]||i:"home")}function g(e){return e?((e=(e=e.replace(/\s+/g," ").trim()).replace(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/gi,"[redacted]").replace(/\+?\d[\d\s().-]{6,}/g,"[redacted]")).length>120&&(e=e.slice(0,117)+"..."),e):""}function l(e){if(!e)return"";var t=e.getAttribute("data-click-text");return g(t||(e.innerText||e.textContent||"").trim())}function u(e){if(!e)return location.href;var t=e.getAttribute("data-click-url");return t||("A"===e.tagName&&e.href?e.href:e.hasAttribute("data-href")?e.getAttribute("data-href"):location.href)}}function n(e){var t=e.debug||!1,a="[GA][club_navbar]";function n(){if(t)try{console.log.apply(console,[a].concat(Array.from(arguments)))}catch(e){}}window.__ga_club_nav_sent=window.__ga_club_nav_sent||new Set,window.__ga_club_nav_bound?n("listener already bound"):(document.addEventListener("click",(function(e){var t=e.target.closest("[data-ga-club]");if(t){var a=t.getAttribute("data-ga-club");a&&function(e){if(e){var t={selection:e},a=e+"_"+JSON.stringify(t);window.__ga_club_nav_sent.has(a)?n("deduped",t):(window.__ga_club_nav_sent.add(a),"function"==typeof gtag?(n("params:",t),gtag("event","club_navbar",t),n("fired")):(n("gtag not available, fallback to dataLayer",t),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"club_navbar",ga_fallback_params:t}
1)))}}(a)}}),!0),window.__ga_club_nav_bound=!0,n("listener bound"))}function o(e){var t=e.debug||!1,a="[GA][simple-event]";function n(){if(t)try{console.log.apply(console,[a].concat(Array.from(arguments)))}catch(e){}}window.__ga_simple_event_sent=window.__ga_simple_event_sent||new Set,window.__ga_simple_event_bound?n("listener already bound"):(document.addEventListener("click",(function(e){var t=e.target.closest("[data-ga-event]");if(t){var a=t.getAttribute("data-ga-event");if(a){var o=t.getAttribute("data-ga-type"),i=t.getAttribute("data-ga-status"),r=t.getAttribute("data-ga-offer"),d=t.getAttribute("data-ga-action-type"),c=t.getAttribute("data-ga-language"),g=t.getAttribute("data-ga-banner-name"),l=t.getAttribute("data-ga-energy-smart-period-selected"),u={};o&&(u.type=o),i&&(u.status=i),r&&(u.offer=r),d&&(u.action_type=d),c&&(u.language=c),g&&(u.banner_name=g),l&&(u.period_selected=l),function(e,t){t=t||{};var a=e+"_"+JSON.stringify(t);window.__ga_simple_event_sent.has(a)?n(e,"deduped"):(window.__ga_simple_event_sent.add(a),"function"==typeof gtag?(n(e,"firing",t),gtag("event",e,t),n(e,"fired")):(n(e,"gtag missing — fallback",t),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,ga_fallback_params:t})))}(a,u)}}}),!0),window.__ga_simple_event_bound=!0,n("listener bound"))}var i;window.GA_DEBUG&&(i=window.gtag,window.gtag=function(){try{console.log("[GA][gtag]",Array.from(arguments))}catch(e){}return i.apply(this,arguments)},console.log("%c[Analytics DEBUG] Enabled","color:#fff;background:#0ea5e9;padding:2px 6px;border-radius:4px;")),window.gaPageView=e,window.gaEvent=t,window.gaClickListener=a,window.gaClubNavbar=n,window.gaSimpleEvent=o,document.addEventListener("DOMContentLoaded",(function(){window.gaPageViewConfig&&e(window.gaPageViewConfig),window.gaEventConfig&&t(window.gaEventConfig),window.gaClickListenerConfig&&a(window.gaClickListenerConfig),window.gaClubNavbarConfig&&n(window.gaClubNavbarConfig),window.gaSimpleEventConfig&&o(window.gaSimpleEventConfig)}))},547:()=>{}},a={};function n(e){var o=a[e];if(void 0!==o)return o.exports;var i=a[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.m=t,e=[],n.O=(t,a,o,i)=>{if(!a){var r=1/0;for(l=0;l<e.length;l++){for(var[a,o,i]=e[l],d=!0,c=0;c<a.length;c++)(!1&i||r>=i)&&Object.keys(n.O).every((e=>n.O[e](a[c])))?a.splice(c--,1):(d=!1,i<r&&(r=i));if(d){e.splice(l--,1);var g=o();void 0!==g&&(t=g)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[a,o,i]},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={51:0,252:0};n.O.j=t=>0===e[t];var t=(t,a)=>{var o,i,[r,d,c]=a,g=0;if(r.some((t=>0!==e[t]))){for(o in d)n.o(d,o)&&(n.m[o]=d[o]);if(c)var l=c(n)}for(t&&t(a);g<r.length;g++)i=r[g],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(l)},a=self.webpackChunk=self.webpackChunk||[];a.forEach(t.bind(null,0)),a.push=t.bind(null,a.push.bind(a))})(),n.O(void 0,[252],(()=>n(136)));var o=n.O(void 0,[252],(()=>n(547)));o=n.O(o)})();

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.