PageSourceSearch

https://www.ohmymag.com/modules/custom/websites_mod/dist/js/trackings-mediarithmics-sdk-js.js

js ohmymag.com collected 2026-10-02 05:43:02 UTC 4,880 bytes, 2 lines download raw bytes

1/*! For license information please see trackings-mediarithmics-sdk-js.js.LICENSE.txt */
2"use strict";(self.webpackChunkwebsites_base=self.webpackChunkwebsites_base||[]).push([[4196,6837],{4486(e,t,r){function n(e,t){let r;const n=()=>{window?.pmdConsent?.queue?.find(t=>t.type===e)?(clearTimeout(r),t instanceof Function&&t()):window?.pmdConsent?.queue?.find(e=>"noConsentGiven"===e.type)?clearTimeout(r):r=setTimeout(()=>{requestAnimationFrame(n)},100)};window.requestAnimationFrame(n)}function i(e){return new Promise((t,r)=>{const n=document.createElement("script");Object.entries(e).forEach(([e,t])=>{n.setAttribute(e,t)}),n.onload=t,n.onerror=r,document.head.appendChild(n)})}r.d(t,{default:()=>n}),window.pmdConsent=window.pmdConsent||function(e){(window.pmdConsent.queue=window.pmdConsent.queue||[]).push(e)},i({src:"https://tra.scds.pmdstatic.net/sourcepoint/6/sourcepoint.esm.min.js",type:"module"}),i({src:"https://tra.scds.pmdstatic.net/sourcepoint/6/sourcepoint.min.js",defer:!0,nomodule:""})},6735(e,t,r){r.d(t,{default:()=>o});var n=r(8987),i=r(4486);const o=async()=>{!function(e,t,r){let n=e.scimhtiraidem||{};function i(e){let t=n[r]||{};n[r]=t,t[e]||(t[e]=function(){n._queue[r].push({method:e,args:Array.prototype.slice.apply(arguments)})})}e.googletag=e.googletag||{},e.googletag.cmd=e.googletag.cmd||[],e.googletag.cmd.push(function(){let t=e.localStorage.getItem("mics_sgmts"),r=JSON.parse(t)||{};Object.keys(r).forEach(function(t){e.googletag.pubads().setTargeting("mics_"+t,r[t].map(String))})});let o="init call config push pushDefault addIdentifier addProperties addProperty onFinish onStart _reset".split(" ");n._queue=n._queue||{},n._names=n._names||[],n._names.push(r),n._queue[r]=n._queue[r]||[],n._startTime=(new Date).getTime(),n._snippetVersion="2.0";for(let e=0;e<o.length;e++)i(o[e]);e.scimhtiraidem=n,e[r]=n[r];let a=t.createElement("script");a.setAttribute("type","text/javascript"),a.setAttribute("src","https://static.mediarithmics.com/tag/2/tag.min.js"),a.setAttribute("async","true"),t.getElementsByTagName("script")[0].parentNode.appendChild(a)}(window,document,"prisma_g");const e=(n.A.get("firstId")||n.A.get("authId"))??!1;return window.ceriseLayer={host:window.environmentHelper.getWebsite().host,environment:window.environmentHelper.getPlatform(),pageType:window.environmentHelper.getPageName(),prisma_ppid:e},"flux"===window.environmentHelper.getPageName()&&window.cherryStore.category&&(window.ceriseLayer={resourceCategoryTitle:window.cherryStore.category.label,pageCategory:window.cherryStore.category.label,...window.ceriseLayer}),"article"===window.environmentHelper.getPageName()&&(window.ceriseLayer={resourceCategoryTitle:window.cherryStore.article.category.label,pageCategory:window.cherryStore.article.category.label,pageLevel1:window.cherryStore.article.firstTag,pageLevel2:window.cherryStore.article.urlSlug,resourceCategoryDepth:2,keywords:window.cherryStore.article.keywords,pageType:window.cherryStore.article.type,...window.ceriseLayer}),window.ceriseLayer={is_connected:!1,...window.ceriseLayer},(0,i.default)("allConsentGiven",()=>{window.prisma_g.init({mode:"VISIT",site_token:window.cherryStore.trackings.mediarithmics,domain_name:"prisma-tr.prismamedia.com"}),e&&window.prisma_g.addIdentifier("USER_ACCOUNT",{$user_account_id:window.ceriseLayer.prisma_ppid,$compartment_token:"prisma-ppid"}),window.prisma_g.call("syncFeeds"),window.prisma_g.push("user_event",window.ceriseLayer)}),Promise.resolve()}},8987(e,t,r){function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{A:()=>i});var i=function e(t,r){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=t.read(a,s),e===s)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
2URIComponent)}},{path:"/"})}}]);

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.