PageSourceSearch

https://www.meteoconsult.fr/build/manager.c976b9639242dcb79288.js

js meteoconsult.fr collected 2026-09-24 09:12:40 UTC 2,249 bytes, 1 lines download raw bytes

1window.manager=function(){"use strict";let n={},o=!1;const e="savedProfile",t="savedGeoloc";let i=null,l=null,u=null,r=null,s=!1;const c=function(n,e){o&&(void 0!==e?_log({module:"manager",desc:n,data:e}):_log({module:"manager",desc:n}))},a=function(){c("loadUserInfos"),!1===U(e)?null!=r?b(r,function(n){m(n),f()}):c("UrlUserInfos is null"):(d(),p(),f())},f=function(){loadComponent.dispatch("manager_user_loaded"),g()?(_()&&loadComponent.dispatch("user_have_no_abo"),loadComponent.dispatch("user_connected")):loadComponent.dispatch("user_not_connected")},d=function(){let n=k(e);n&&"object"==typeof n&&"id"in n&&0!==n.id&&(l=n),c("loadProfileByCookie",l)},p=function(){let n=k(t);n&&"object"==typeof n&&"id"in n&&(u=n),c("loadGeolocByCookie",u)},m=function(n){l=n.profile,null===l&&(l={id:0}),C(),u=n.geoloc_entity,h()},C=function(){null!==l&&y(e,l)},h=function(){null!==u&&y(t,u)},g=function(){return null!==l&&0!==l.id},_=function(){return null!==l&&0==l.abo},k=function(n){return"undefined"!=typeof Cookies?Cookies.get(n):null},y=function(n,o){"undefined"!=typeof Cookies&&Cookies.set({name:n,value:o,isSession:!0,forceDomain:i})},U=function(n){let o=k(n);return""!==o&&null!==o},b=function(n,o){let e=new XMLHttpRequest;e.onreadystatechange=function(n){if(this.readyState===XMLHttpRequest.DONE&&200===this.status)return o(JSON.parse(this.responseText))}
1,e.open("GET",n,!0),e.send(null)};return n.getGeoloc=function(){return u},n.isConnected=function(){return g()},n.haveNoAbo=function(){return _()},n.setCookieDomain=function(n){return function(n){c("setCookieDomain",n),i=n}(n),this},n.load=function(){return!1===s&&(s=!0,a()),this},n.loadWithoutCookie=function(){return!1===s&&(s=!0,null!=r&&b(r,function(n){m(n),f()})),this},n.loadBeforeCmp=function(){return!1===s&&(s=!0,c("loadBeforeCmp"),!1===U(e)?null!=r?b(r,n=>{l=n.profile,null===l&&(l={id:0}),u=n.geoloc_entity,loadComponent.listen("cookies",function(){C(),h()}),f()}):c("UrlUserInfos is null"):(d(),p(),f())),this},n.enableLog=function(){return o=!0,this},n.setUrlInfo=function(n){return function(n){c("setUrlInfo",n),r=n}(n),this},n.getProfile=function(){return l},n}(),loadComponent.dispatch("manager"),loadComponent.listen("DOMContentLoaded",function(){manager.loadBeforeCmp()});

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.