1/*! 2 * 3 * alphaMediaConsentBanner 4 * 5 * @author Alpha Media - Development Team 6 * @version 3.0.4 7 * @link https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 8 * @license GNU General Public License v2 or later 9 * 10 * Copyright (c) 2025 Alpha Media - Development Team 11 * 12 * This software is released under the GNU General Public License 13 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 14 * 15 * Compiled with the help of https://wpack.io 16 * A zero setup Webpack Bundler Script for WordPress 17 */ 18(window.wpackioalphaMediaConsentBannerconsentJsonp=window.wpackioalphaMediaConsentBannerconsentJsonp||[]).push([[2],{161:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),s=n(50),i=n.n(s),c=(n(135),n(51)),r=n.n(c),l=n(4),d=n.n(l),u=n(17),g=n.n(u),p=n(52),m=n.n(p),b=n(53),y=n.n(b),w=n(18),v=n.n(w),h=n(54),f=n.n(h);n(159);const _=e=>{let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol},k=()=>{const e=window.amcb.settings,t=window.consentStatus;let n={revision:1,autorun:t.display,current_lang:"en",cookie_name:"alpha_consent_v3",mode:t.mode,page_scripts:!0,autoclear_cookies:!0,remove_cookie_tables:!0,gui_options:{consent_modal:{layout:e.banner_style,position:e.banner_position,transition:"slide",swap_buttons:!1},settings_modal:{layout:e.modal_style,transition:"slide"}},onFirstAction:function(e,t){N(),j()},onAccept:function(e){N(),j()},onChange:function(e,t){N(),j()},languages:{en:{consent_modal:{title:"We value your privacy",description:'Our site uses cookies to improve your experience. We may share information collected from cookies with our analytics and advertising partners. You may opt out of certain cookies if you wish, however, this may limit some features of the site. You may also <button id="s-o-bn" type="button" data-cc="c-settings" class="cc-link">Customize your choices</button>.',primary_btn:{text:"Accept all",role:"accept_all"},secondary_btn:{text:"Reject all",role:"accept_necessary"}},settings_modal:{title:"Cookie Preferences",save_settings_btn:"Save settings",accept_all_btn:"Accept all",reject_all_btn:"Reject all",close_btn_label:"Close",cookie_table_headers:[{name:"Name"},{platform:"Platform"},{expiration:"Expiration"},{description:"Description"}],blocks:[{title:"Cookie usage",description:"Our site uses cookies to ensure the basic functionalities of the website and to enhance your online experience. Information collected from some cookies may be shared with our analytics and marketing partners. You may opt-in or opt-out of each category of cookie. Opting out of some categories may impact your experience on the website. For more details relative to cookies and other sensitive data, please read the full [privacy]."},D(),{title:"Necessary",description:"Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.",toggle:{value:"necessary",enabled:!0,readonly:!0}},{title:"Functional",description:"Functional cookies help perform certain functionalities like remembering user preferences, collecting feedback, and other third-party features.",toggle:{value:"functional",enabled:t.enableTable,readonly:!1}},{title:"Analytics",description:"Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.",toggle:{value:"analytics",enabled:t.enableTable,readonly:!1}},{title:"Advertisement/Targeting",description:"Advertisement and Targeting cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.",toggle:{value:"targeting",enabled:t.enableTable,readonly:!1}},{title:"Other",description:"Other cookies are those that are being analyzed and have not been classified into a category as yet.",toggle:{value:"uncategorized",enabled:t.enableTable,readonly:!1}},{title:"More information",description:"To review your rights, visit [notice]."}]}}}};q()&&(n.languages.en.consent_modal.description='A Global Privacy Control (GPC) signal was received from your browser. We have honored your request by opting you out of all non-e
18ssential cookies and personal data processing. You may also <button id="s-o-bn" type="button" data-cc="c-settings" class="cc-link">Customize your choices</button>.',n.languages.en.consent_modal.primary_btn={text:"Close",role:"accept_selected"},delete n.languages.en.consent_modal.secondary_btn);const o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};const n={privacy:"Privacy Policy",notice:"Notice Of Right To Opt-out"};for(const o in e)if(o in n){const a=e[o],s=_(a),i=s?a:"/".concat(a),c=s?"_blank":"_self",r=n[o];t[o]='<a href="'.concat(i,'" class="cc-link" target="').concat(c,'">').concat(r,"</a>")}return t}(e);for(const e in n.languages){const t=C(n.languages[e].settings_modal.blocks,o);n.languages[e].settings_modal.blocks=t}return e.hasOwnProperty("modal_position")&&(n.gui_options.settings_modal.position=e.modal_position),n},C=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=window.amcb.cookies,o=A(n),s=f()(e).map(e=>{var n;if(t)for(const n in t){const o="[".concat(n,"]");e.description=e.description.replace(o,t[n])}const s=a()(o,null===(n=e.toggle)||void 0===n?void 0:n.value,null);return v()(s)||(e.cookie_table=s),e});return s},P=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.forEach(n=>{const o=new RegExp(n.name);e.match(o)&&(t=n)}),t},A=e=>{const t=m()(e,"name"),n=y()(e,"is_regex");let o={necessary:[],functional:[],analytics:[],targeting:[],uncategorized:[]};const s=g.a.get();for(const e in s)if(!v()(s[e])){const s=e in t?t[e]:P(e,n);let c=a()(s,"category","uncategorized");c=d()(o).includes(c)?c:"uncategorized";const r=a()(s,"name",e);i()(o[c],["name",r])||o[c].push({name:r,platform:a()(s,"platform","Unknown"),expiration:a()(s,"expiration","Unknown"),description:a()(s,"description","-"),is_regex:a()(s,"is_regex",!1)})}return o},E=()=>{var e;["c-p-bn","c-s-bn"].forEach(e=>{const t=document.getElementById(e);t&&(t.dataset.gaCategory="Consent Banner",t.dataset.gaLabel="c-p-bn"===e?"Accept All":"Reject All",null==t||t.addEventListener("click",L))});["s-all-bn","s-rall-bn","s-sv-bn"].forEach(e=>{const t=document.getElementById(e);null==t||t.addEventListener("click",x),null==t||t.addEventListener("click",L)}),null===(e=document.getElementById("s-c-bn"))||void 0===e||e.addEventListener("click",z),S()},S=()=>{var e;null===(e=document.getElementById("s-o-bn"))||void 0===e||e.addEventListener("click",T)},L=e=>{let t="";switch(e.currentTarget.id){case"c-p-bn":case"s-all-bn":t="Accept All";break;case"c-s-bn":case"s-rall-bn":t="Reject All";break;case"s-sv-bn":t="Customize Choices"}window.gtag("event","cookie_consent",{action:t})},x=()=>I(!1),z=()=>{I(!1),O()},T=()=>{I(),j()},O=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=Math.floor(Date.now()/1e3);e&&(E(),window.cookiePulseStart=t);const n=window.cookiePulseStart;if(t-n>60)return;const o=a()(window,"cookiePulse",!1);o&&j(),window.cookiePulse=setInterval(()=>{window.consent.updateScripts();const e=window.consent.getConfig("languages");for(const t in e){const n=C(e[t].settings_modal.blocks);window.consent.getConfig("languages")[t].settings_modal.blocks=n,window.consent.updateLanguage(t,!0)}if(S(),Math.floor(Date.now()/1e3)-window.cookiePulseStart)return j()},1e4)},j=()=>{const e=a()(window,"cookiePulse",!1);e&&clearInterval(e),window.cookiePulse=!1},I=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=e?"add":"remove";document.body.classList[t]("noScroll")},B=()=>{const e=a()(window,"consent",!1);if(v()(e))return;let t,n,o;const s=e.getUserPreferences();switch(s.accept_type){case"all":t=!0,n=!0,o=!0;break;case"necessary":t=!1,n=!1,o=!1;break;case"custom":t=s.rejected_categories.includes("targeting"),n=s.rejected_categories.includes("analytics"),o=s.rejected_categories.includes("functional")}return{ad_storage:t?"granted":"denied",analytics_storage:n?"granted":"denied",functionality_storage:o?"granted":"denied",personalization_storage:"granted",security_storage:"granted"}},R=[],N=()=>{const e=B();window.consent.set("data",{value:{gtmConsent:e,redactAds:"denied"===e.ad_storage},mode:"update"}),R.forEach(t=>{t(e)})};window.gtmConsentListener=e=>{R.push(e)};const q=()=>navigator.globalPrivacyControl,D=()=>q()?{title:"Global Privacy Control Detected!",description:"A Global Privacy Control (GPC) signal was received from your browser. We have honored your request by opting you out of all non-e
18ssential cookies and personal data processing."}:void 0;document.body.addEventListener("amcbInitialized",e=>{!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=!1,n=!1;localVar.privacyBannerActive&&consentStatus&&consentStatus.display&&("opt-in"===consentStatus.mode?t=!0:null===e||e||(n=!0)),window.amcbgoogletag=window.opscobid||window.googletag||{},window.amcbgoogletag.cmd.push(()=>{t&&googletag.pubads().setRequestNonPersonalizedAds(1),n&&googletag.pubads().setPrivacySettings({restrictDataProcessing:!0})})}("granted"===e.detail.ad_storage)}),document.addEventListener("DOMContentLoaded",async()=>{window.amcb=amcb;let e=g.a.get("alpha_consent_check_v3");e=!!e&&JSON.parse(e);const t=(e=>q()?(e.mode="opt-in",e):e)(e||(()=>{const e=window.amcb.settings,t=e.country_code,n=e.site_state,o=t,a=e.ip_state||n,s="US"===o,i={display:!0,mode:q()||"US"!==o?"opt-in":"opt-out",enableTable:s,local:a};return g.a.set("alpha_consent_check_v3",JSON.stringify(i)),i})());(e=>{const t=window.amcb.settings,n=t.site_state,o=t.ip_state||n,a=document.querySelectorAll(".amcb-universal"),s=document.querySelectorAll(".amcb-state-specific");a.forEach(t=>e.display?t.classList.remove("amcb-hidden"):t.remove()),s.forEach(e=>{o&&e.dataset.states.includes(o)?e.classList.remove("amcb-hidden"):e.remove()})})(t),window.consentStatus=t;const n=initCookieConsent();window.consent=n;const o=k();n.run(o),(()=>{const e=window.consent;if(!e)return;const t=e.get("level");q()&&(window.gtag("event","gcp_detected"),e.accept(r()(t,"necessary")))})(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";document.body.classList.add("c_".concat(e,"mode"))}(amcb.settings.color_scheme),O(!0);const a=new CustomEvent("amcbInitialized",{detail:B()});document.body.dispatchEvent(a)})},55:function(e,t,n){n(19),e.exports=n(161)}},[[55,0,3]]]); 19//# sourceMappingURL=banner-80f0485a.js.map
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.