PageSourceSearch

https://www.franceinfo.fr/assets/vendors/maxwell-f8b573bf.js

js franceinfo.fr collected 2026-09-24 07:47:03 UTC 8,812 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfranceinfo_package=self.webpackChunkfranceinfo_package||[]).push([[8799],{2840:function(e,n,t){t.r(n),t.d(n,{default:function(){return v}});const s={baseUrl:"https://maxwell.france.tv/",enabledCampaign:!1,uuidKey:"mxw-uuid",uniqueUuidKey:"mxw-u-uuid",uuidTtl:18e5,uniqueUuidTtl:31556952e3,supportDefault:"web",method:"GET",mandatoryFields:["offer","product"],optionKeys:{age:"sua",applicationVersion:"sa",adCookiesConsent:"shac",adGdprConsent:"shag",adHashedId:"shah",adDuplicateHashedId:"shak",adMidCount:"shcm",adMidDuration:"shdm",adPauseCount:"shcw",adPreCount:"shcp",adPreDuration:"shdp",adProfile:"shap",adRequestStatus:"shas",adResponse:"shar",adSfid:"shaf",adTargeted:"shat",adUserSet:"shau",autoStart:"sms",availableAt:"skb",broadcastingType:"smb",browser:"sbn",browserVersion:"sbv",campaign:"sfc",categories:"sr",category:"sgc",channel:"nc",click:"sc",contentAd:"skp",contentDuration:"skd",contentFormat:"skf",contentId:"si",contentLogged:"skl",contentStatus:"sks",contentType:"skt",contentTitle:"skz",context:"nv",country:"sfp",daiStatus:"sma",department:"sgd",deviceId:"sud",deviceModel:"sm",deviceType:"nd",episode:"ske",errorCode:"slf",errorPartnerCode:"slp",event:"se",eventDuration:"sed",eventProgression:"sep",eventStatus:"ses",highlight:"sge",hitType:"nt",language:"sul",mediaContext:"smx",mediaSiId:"smi",medium:"sfm",offer:"no",originServer:"smo",os:"nx",osVersion:"so",page:"sp",pageType:"sy",path:"sd",playerVersion:"say",product:"np",pushChannelId:"sfl",referrer:"sfr",region:"sgr",screenHeight:"ssh",screenWidth:"ssw",season:"ska",sessionUuid:"svv",stat:"sx",support:"ns",timestamp:"st",tag:"sgt",taxonomyId:"sgi",town:"sgv",unavailableAt:"smr",uniqueUuid:"svi",userId:"sui",userPartnerId:"sup",videoSiId:"smv",visitStart:"svb",zone:"szt",zonePosition:"szp"}},i=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"android",r:/Android/},{s:"linux",r:/(Linux|X11(?!.*CrOS))/},{s:"ios",r:/(iPhone|iPad|iPod)/},{s:"macos",r:/Mac OS X/},{s:"macos",r:/(Mac OS|MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];function o(e,n,t){let s,i=null;switch(e&&/Windows/.test(e)&&(s=/Windows (.*)/.exec(e))&&(i=s[1],e="win"),e){case"macos":case"android":(s=/(?:Android|Mac OS|Mac OS X|MacPPC|MacIntel|Mac_PowerPC|Macintosh) ([._\d]+)/.exec(n))&&(i=s[1]);break;case"ios":(s=/OS (\d+)_(\d+)_?(\d+)?/.exec(t))&&(i=s[1]+"."+s[2]+"."+(0|Number(s[3])))}return i}function r(e){return(e||"0").toString().split(/( |,|;|:|\))/).shift()}function a(){let e=window.navigator.languages?window.navigator.languages[0]:null;e=e||window.navigator.language;let n=e;return n&&-1!==n.indexOf("-")&&(n=n.split("-")[0]),n&&-1!==n.indexOf("_")&&(n=n.split("_")[0]),n}function d(e){if(document.URL){const n=new URL(document.URL),t=new RegExp(`[^(A-Za-z0-9-_)]${e}=([A-Za-z0-9-_]+)`);let s;if(n.hash&&(s=n.hash.match(t)))return s[1];if(n.search&&(s=n.search.match(t)))return s[1]}return null}function u(e,n){let t="desktop";const s=/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(n),i=/ipad|tablet/i.test(e);return/smarttv/i.test(e)?t="tv":s&&!i?t="mobile":i&&(t="tablet"),t}function c(e,n){let t=function(e){const n=localStorage.getItem(e);if(!n)return null;const t=JSON.parse(n);return(new Date).getTime()>t.expiry?(localStorage.removeItem(e),null):t.value}(e);return t?{uuid:t,starts:!1}:(t=function(){const e=f();if(void 0===e)return!1;try{e.getRandomValues(new Uint32Array(1))}catch(e){return!1}return!0}()?function(){const e=f();return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,n=>(n^e.getRandomValues(new Uint8Array(1))[0]&15>>n/4).toString(16))}():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const n=16*Math.random()|0;return("x"==e?n:3&n|8).toString(16)}),function(e,n,t){const s={value:n,expiry:(new Date).getTime()+t};localStorage.setItem(e,JSON.stringify(s))}
1(e,t,n),{uuid:t,starts:!0})}let l,p,g;function f(){return l||(l=window.crypto||window.msCrypto)}function w(e,n="-"){return e.toString().normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/[^a-z0-9_ ]/g," ").replace(/\s+/g," ").trim().replace(/\s+/g,n)}let m=!1;function h(e,n){m||function(e){throw new Error(`Maxwell a besoin d'être initialisé pour la donnée ${e}`)}(e),void 0===(n=n||{}).name&&function(e){throw new Error(`Erreur de traitement de la donnée ${e} : le paramètre 'name' est manquant.`)}(e);const t=n.options||{},s=n.customOptions||{};t[e]=w(n.name),t.hitType=e,t.timestamp=Date.now();const i=Object.assign(Object.assign({},p),t);p.visitStart&&(p.visitStart=0),function(e,n){const t={get:"GET",post:"POST"}[g.method.toLowerCase()];if(void 0===t)throw new Error(`La méthode ${g.method} n'est pas disponible pour Maxwell.`);const s=function(e,n){let t="",s=!1;const i=Object.keys(g.optionKeys).map(e=>g.optionKeys[e]);e=function(e){return e=x(e,"page"),e=x(e,"click"),e=x(e,"event"),e=x(e,"pageType"),e=x(e,"category"),e=x(e,"department"),e=x(e,"highlight"),e=x(e,"region"),e=x(e,"town"),e=x(e,"contentStatus"),e=x(e,"contentType"),e=x(e,"contentTitle"),e=x(e,"broadcastingType"),e=b(e=x(e,"zone"),"categories"),e=b(e,"path"),b(e,"tag")}(e);for(const n in e){const i=g.optionKeys[n];void 0===i?console.warn(`L'option ${n} n'est pas reconnue et ne sera pas traitée.`):(s&&(t+="&"),t+=i+"="+encodeURIComponent(String(e[n]))),s=!0}for(const e in n)i.indexOf(e)<0&&(t+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(n[e])));return t}(e,n),i=new XMLHttpRequest;"GET"===t&&(i.open(t,g.baseUrl+"?"+s),i.send()),"POST"==t&&(i.open(t,g.baseUrl),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.send(s))}(i,s)}function x(e,n){const t=e[n];return void 0!==t&&(e=Object.assign(Object.assign({},e),{[n]:w(String(t))})),e}function b(e,n){const t=e[n];return Array.isArray(t)&&(e=Object.assign(Object.assign({},e),{[n]:t.map(e=>w(e)).join("|")})),e}const v={initialize:function(e){const n=(e=e||{}).options||{};!function(e,n){for(const t in n)if(void 0===e[n[t]])throw new Error(`Le champ ${n[t]} est requis pour initialiser Maxwell.`)}(e,s.mandatoryFields),g=Object.assign(Object.assign({},s),e.config||{});const t=navigator.appVersion,l=navigator.userAgent,f=function(e){for(const n in i){const t=i[n];if(t.r.test(e))return t.s}return null}(l),w=function(e){let n,t,s;if(-1!==(s=e.indexOf("Opera")))n="opera",t=e.substring(s+6),-1!==(s=e.indexOf("Version"))&&(t=e.substring(s+8));else if(-1!==(s=e.indexOf("OPR")))n="opera",t=e.substring(s+4);else if(-1!==(s=e.indexOf("Edge")))n="legacy edge",t=e.substring(s+5);else if(-1!==(s=e.indexOf("Edg")))n="edge",t=e.substring(s+4);else if(-1!==(s=e.indexOf("MSIE")))n="internet explorer",t=e.substring(s+5);else if(-1!==(s=e.indexOf("Chrome")))n="chrome",t=e.substring(s+7);else if(-1!==(s=e.indexOf("Safari")))n="safari",t=e.substring(s+7),-1!==(s=e.indexOf("Version"))&&(t=e.substring(s+8));else if(-1!==(s=e.indexOf("Firefox")))n="firefox",t=e.substring(s+8);else if(-1!==e.indexOf("Trident/"))n="internet explorer",t=e.substring(e.indexOf("rv:")+3);else if(-1!==(s=e.lastIndexOf("/"))){const i=e.substring(0,s).lastIndexOf(" ");n=e.substring(i+1,s),t=e.substring(s+1),n.toLowerCase()===n.toUpperCase()&&(n=navigator.appName)}return{name:(n||"").toLowerCase(),version:r(t)}}(l),h=function(e){let n=parseInt(""+r(e),10);return isNaN(n)&&(n=parseInt(navigator.appVersion,10)),n}(w.version),x=function(){let e=0,n=0;return screen.width&&(e=screen.width,n=screen.height||0),{width:e,height:n}}(),b=c(g.uuidKey,g.uuidTtl),v=c(g.uniqueUuidKey,g.uniqueUuidTtl);p={offer:e.offer,product:e.product,support:g.supportDefault,deviceType:u(l,t),os:f,osVersion:o(f,l,t),browser:w.name,browserVersion:h,screenWidth:x.width,screenHeight:x.height,sessionUuid:b.uuid,uniqueUuid:v.uuid,language:a(),visitStart:1&Number(b.starts)};const W=function(){const e=document.referrer;return e?e.replace(new RegExp("^(https?://)?([^/]+)(.*)$"),"$2"):null}();if(W&&(p.referrer=W),g.enabledCampaign){const e=d("mxor"),n=d("mxmd");e&&(p.campaign=e),n&&(p.medium=n)}p=Object.assign(Object.assign({},p),n),m=!0},pageView:function(e){h("page",e)},click:function(e){h("click",e)},stat:function(e){h("stat",e)},event:function(e){h("event",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.