Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var d,c;if(null==this)throw new TypeError("this is null or not defined");var e=Object(this),f=e.length>>>0;if("[object Function]"!=={}.toString.call(a))throw new TypeError(a+" is not a function");b&&(d=b);for(c=0;c<f;){var g;Object.prototype.hasOwnProperty.call(e,c)&&(g=e[c],a.call(d,g,c,e));c++}});
wsq={_ver:"1.0.0",process:function(){try{_wsq.forEach(function(a){wsq.execute(a)}),_wsq={push:function(a){for(var d=0;d<arguments.length;d++)wsq.execute(arguments[d])}}}catch(a){this.error(a.message)}},execute:function(a){try{var b=void 0;"function"==typeof a?(b=a,a=[]):b=eval(trim(a.splice(0,1)[0]));b.apply(this,a)}catch(d){this.error(d.message)}},error:function(a){console.error("wsq encountered an error : "+a)}};
wst={_ver:"1.0.0",_url:("https:"==document.location.protocol?"https://www":"http://www")+".wysistat.com/",_js:"statistique.js",_p:[],_account:void 0,_partner:void 0,run:function(){try{if(!this._account)throw{message:"no account set"};window["ws-disable-"+this._account]||(this._partner?this.script(this._url+this._partner+"/"+this._js,this._p):this.script(this._url+this._js,this._p))}catch(a){this.error(a.message)}},script:function(a,b){try{var d=document.getElementsByTagName("head")[0]||document.documentElement,
c=document.createElement("script"),e=!1;c.src=a;c.onload=c.onreadystatechange=function(){if(!e&&(!this.readyState||"loaded"===this.readyState||"complete"===this.readyState))e=!0,c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c);e&&1==wysi&&wysistat.apply(null,b)};d.insertBefore(c,d.firstChild)}catch(f){this.error(f.message)}},unset_p:function(){try{this._p.splice(0,this._p.length)}catch(a){this.error(a.message)}},account:function(a){try{this._account=trim(a)}catch(b){this.error(b.message)}},
partner:function(a){try{this._partner=trim(a)}catch(b){this.error(b.message)}},set_p:function(a,b,d){try{v=trim(b),this._p[a-1]=d?this._p[a-1]?this._p[a-1]+d+v+"":v+"":v}catch(c){this.error(c.message)}},error:function(a){console.error("wst encountered an error : "+a)}};function trim(a){return a?a.replace(/^\s+/g,"").replace(/\s+$/g,""):a}wsq.process();function _wysistat(){wst.run()}function _setNom(a,b){wst.account(a);wst.set_p(1,a);wst.partner(b)}function _setFrame(a){wst.set_p(2,a)}
function _setParaWysistat(a){wst.set_p(3,a)}function _setCompteurExtranet(a){wst.set_p(4,a,"|")}function _setParaPage(a){wst.set_p(5,a)}function _setPage(a){wst.set_p(5,a)}function _setParaRoi(a){wst.set_p(6,a)}function _setParaProfiling(a){wst.set_p(7,a)}function _setParaCompte(a){wst.set_p(8,a)}function _setConsentCookie(a){wst.set_p(9,a)}function _setEvent(a){wst.set_p(10,a)}function _reset(){wst.account(void 0);wst.unset_p();wst.partner(void 0)}function _wstopn(){_wysistat()}function _setAccount(a,b){_setNom(a,b)}function _setTag(a){_setParaRoi(a)}function _setID(a){_setCompteurExtranet(a)};
