1"use strict";var __extends=this&&this.__extends||function(){var n=function(t,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])},n(t,i)};return function(t,i){function r(){this.constructor=t}if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);t.prototype=i===null?Object.create(i):(r.prototype=i.prototype,new r)}}(),NSPCS; 2/*! 26.0.1.0 */ 3/*! VersionVI: yyyyyyyyyyyy */ 4(function(n){function s(n){return n&&(n instanceof t||n.vbToBoolean)}function o(n){return s(n)?n:n?n[r]:undefined}function h(n,t){var i=o(n);return undefined!==i?i.viGetRValue(t):undefined}function c(t,i,r){return undefined!==t?{m_oValeur:t,m_eAffectation:i,m_iOptions:{m_bForceClone:r}}:undefined}function l(n,t,i){return{m_oValeur:n,m_eAffectation:t,m_iOptions:i}}function a(n){return{m_oValeur:n.m_oValeur,m_eAffectation:n.m_eAffectation,m_iOptions:n.m_iOptions}}var i="function"==typeof Symbol,r=i?Symbol():"__SYMBOLTHISPOURRETOURENWL__",t,u,f,e;n.ms_oSymbolDepuisWLEnV2=i?Symbol():"__SYMBOLDEPUISWLENV2__";t=function(){function t(){}return t.prototype.toString=function(){return String(this.valueOf())},t.prototype.vnToNumber=function(){return parseFloat(this.valueOf())},t.prototype.vbToBoolean=function(){return n.NSUtil.bGetBooleen(this.valueOf())},t.prototype.toJSON=function(){return this.valueOf()},t.prototype._oPatchValueOf=function(n){return n instanceof Object&&Object.defineProperty(n,r,{value:this}),n},t}();n.CBase=t;u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre=function(t,i,r){var u;return u=!1===i?0:!0===i?1:i,this.viGetMembre2(t,n.NSUtil.sGetFormatLogique(t),u,r)},i.prototype.viGetMembre2=function(t,i,r){var s=this,u=function(n,t){var r=t[i];if(undefined!==r)try{return s.viGetPropriete(n,r)}catch(u){}return undefined},o=u(0,f)||u(1,e);if(undefined!==o)return o;switch(r){case 1:throw new n.CErreur(616,t);}throw new n.CErreur(605,t);},i.prototype.viGetProprieteGenerique=function(t,i){if(undefined!==t[0])try{return this.viGetPropriete(0,t[0])}catch(r){}if(undefined!==t[1])try{return this.viGetPropriete(1,t[1])}catch(r){}if(undefined!==i)try{return this.viGetMembre(i,!1,4)}catch(r){}throw new n.CErreur(603);},i}(t);n.CIBase=u;f={ANNEE:0,YEAR:0,MOIS:1,MONTH:1,JOUR:2,DAY:2,HEURE:3,HOUR:3,MINUTE:4,SECONDE:5,SECOND:5,MILLISECONDE:6,MILLISECOND:6,PARTIEDATE:7,DATE:7,PARTIEHEURE:8,TIME:8,NOM:9,NAME:9,CLASSE:21,CLASS:21,OCCURRENCE:23,COUNT:23,VIDE:24,EMPTY:24,DEFAUT:25,DEFAULT:25,NBRECUS:26,NBRECEIVED:26,PARADRESSE:27,BYADDRESS:27,ENJOURS:28,INDAYS:28,ENHEURES:29,INHOURS:29,ENMINUTES:30,INMINUTES:30,ENSECONDES:31,INSECONDS:31,ENMILLISECONDES:32,INMILLISECONDS:32,VALEUR:35,VALUE:35,AVANT:36,BEFORE:36,APRES:37,AFTER:37,EXISTE:43,EXIST:43,PARREFERENCE:44,BYREFERENCE:44};e={NOM:0,NAME:0,VALEUR:1,VALUE:1,COULEUR:2,COLOR:2,COULEURFOND:3,BACKGROUNDCOLOR:3,OCCURRENCE:4,COUNT:4,ALIAS:5,IMAGE:6,VISIBLE:7,X:8,Y:9,CURSEURSOURIS:10,MOUSECURSOR:10,POLICEGRAS:11,FONTBOLD:11,POLICEITALIQUE:12,FONTITALIC:12,POLICENOM:13,FONTNAME:13,POLICESOULIGNEE:14,FONTUNDERLINED:14,POLICETAILLE:15,FONTSIZE:15,HAUTEUR:16,HEIGHT:16,LARGEUR:17,WIDTH:17,OPACITE:18,OPACITY:18,ENROULE:19,COLLAPSED:19,VALEURINFERIEURE:20,LOWERVALUE:20,VALEURSUPERIEURE:21,UPPERVALUE:21,MODECARTE:22,MAPMODE:22,ZOOM:23,CLASSEHTML:24,HTMLCLASS:24,INDICATION:25,HINT:25,ETAT:26,STATE:26,ENSAISIE:27,INPUTENABLED:27,GRISE:28,GRAYED:28,BORNEMIN:29,MINVALUE:29,BORNEMAX:30,MAXVALUE:30,PLAN:31,PLANE:31,TAUXPARALLAXEY:32,PARALLAXRATEY:32,TAUXPARALLAXEHAUTEUR:33,PARALLAXRATEHEIGHT:33,IMAGEFOND:34,BACKGROUNDIMAGE:34,BULLE:35,TOOLTIP:35,COULEURJAUGE:36,PROGRESSBARCOLOR:36,TYPE:37,BOUTONCALENDRIER:38,CALENDARBUTTON:38,NOTE:39,TITRENOTE:40,NOTETITLE:40,CONTENUINITIAL:41,INITIALCONTENT:41,ETATINITIAL:42,INITIALSTATE:42,VALEURINITIALE:43,INITIALVALUE:43,VISIBLEINITIAL:44,INITIALVISIBLE:44,XINITIAL:45,YINITIAL:46,NOMBRECOLONNE:47,NUMBERCOLUMN:47,TEXTEALTERNATIF:48,ALTERNATIVETEXT:48,VIDE:49,EMPTY:49,AXEXMIN:50,XAXISMIN:50,AXEXMAX:51,XAXISMAX:51,AXEYMIN:52,YAXISMIN:52,AXEYMAX:53,YAXISMAX:53,TEXTESANSFORMAT:54,TEXTWITHOUTFORMAT:54,VALEURAFFICHEE:55,DISPLAYEDVALUE:55,BULLETITRE:56,TOOLTIPTITLE:56,LIBELLE:57,CAPTION:57,LIBELLEHTML:58,CAPTIONHTML:58,TITRE:59,TITLE:59,DUREEANIMATION:60,ANIMATIONDURATION:60,URL:61,VIGNETTE:62,THUMBNAIL:62,VALEURRENVOYEE:63,RETURNEDVALUE:63,JETONSAISIEENCOURS:64,TOKENCURRENTINPUT:64,JETON:65,TOKEN:65};n.iGetAsBase=o;n.iGetAsRValue=h;n.iGetValeurInitiale=c;n.iGetValeurAffectation=l;n.iGetValeurAffectationDepuisInitiale=a})(NSPCS||(NSPCS={})),function(n){var t=function(n){function t(t,i){var r=n.call(this,"")||this;return r.name="WDError",r.message=i||"Unknown error/Erreur inconnue.",r.number=t,r}return __extends(t,n),t.prototype.oGetInfo=function(n){switch(n){case 0:return this.number;case 1:default:return this.message;case 19:return this.number+"\n"+this.message}},t.prototype.xPropage=function(n){undefined!==n&&(this.message+="\n"+n);throw this;},t}(Error),i;n.CErreurBase=t;i=function(n){function t(t){for(var f,r,u=[],i=1;i<arguments.length;i++)u[i-1]=arguments[i];return f=this,typeof tabWDErrors!="undefined"&&(r=tabWDErrors[t]||tabWDErrors[0],0<u.length&&(r=r.replace(/%(\d+)/g,function(n,t){var i=u[t-1];return"undefined"!=typeof i?String(i):n}))),n.call(this,t,r)||this}return __extends(t,n),t}(t);n.CErreur=i}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n){return-1!=navigator.userAgent.toLowerCase().indexOf(n)}function d(n){var t=/Version\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);return!!(t&&t[1]&&parseInt(t[1],10)<n)}function g(n){return n[1]}function nt(n){return n[2]}function tt(n,t){return c(n,t,g)}function it(n,i,r){return r&&(n=t.sRemplaceEspaces(n)),c(n,i,nt)}function c(n,t,i){for(var r=[],e=n.length,o=function(u){t.every(function(t){return t[0].every(function(f){return n.substr(u,f.length)==f?(r.push(i(t)),u+=f.length,!1):!0})})&&(r.push(n.charAt(u)),u++);f=u},f,u=0;u<e;)o(u),u=f;return r}function f(t,i){var r=t.m_eAffectation;if(!i[r]&&(!n.NSOperations.bDansDeserialisation||2!=r||!i[0]||i[1]))throw new n.CErreur(602,u[r]);}function rt(n){f(n,[!0,!1,!1,!0,!0])}function ut(n){f(n,[!0,!1,!0,!0,!0])}function ft(n){f(n,[!0,!0,!1,!0,!0])}function et(t){throw new n.CErreur(602,u[t.m_eAffectation]);}function ot(n,t){function i(n){for(var t in n)r[t]=n[t]}var r=new i(t);return i.prototype=n,r}function l(n){var i=new n.constructor;return t.bForEachIn(n,function(n,t){return i[n]="object"==typeof t&&null!==t?l(t):t,!0}),i}function a(n){var i={};return t.bForEachIn(n,function(n,t){return i[n]="object"==typeof t&&null!==t?a(t):t,!0}),i}
4function st(n){s(n)&&Object.keys(n).forEach(function(n){delete this[n]},n)}function e(n){switch(typeof n){case"object":null!==n&&t.bForEachIn(n,function(n,t){return e(t),!0});break;case"string":(new Image).src=n}}function ht(n,t,i){return 0<n.length?v(n,i):t}function v(n,t){return!t&&"JSON"in window?JSON.parse(n):eval("("+n+")")}function ct(n,i){var r=JSON.stringify(n);return i?r.replace(/./g,function(n){var i=n.charCodeAt(0);return i<128?n:"\\u"+t.sCompleteEntier(i,4,16)}):r}function lt(i){return i?i.action:t.ms_oDataPageAWPSansUI?t.ms_oDataPageAWPSansUI.m_sURL:""}function at(n,i,u,f){var e,o,s,h;return n===void 0&&(n=r),i===void 0&&(i=!1),u===void 0&&(u=!1),f===void 0&&(f=!1),e=lt(n),e.endsWith("#")&&(e=e.substring(0,e.length-1)),(e.length==0||e.startsWith("?"))&&(e=-1!=location.href.indexOf(e)?y(""):y(e)),f&&e.indexOf("/")==-1&&e.length>0&&e.toLowerCase().indexOf(".php")==-1&&(e="../"+e),i&&e.indexOf("?")!=-1&&(e=e.substring(0,e.indexOf("?"))),u&&(e.indexOf("AWPID=")==-1&&"undefined"!=typeof _AWPID_A_?(o=e.indexOf("?")!=-1?_AWPID_A_:_AWPID_P_,(t.bFF||t.bWK)&&o.length==0&&(s=[],o=b.sGetCookie("AWP_CSESSION",s),o.length>0&&(o=(e.indexOf("?")!=-1?"&":"?")+"AWPID"+s[0]+"="+o)),e+=o):"undefined"!=typeof _PHPID_&&(h=_PHPID_.split("="),h.length>0&&e.indexOf(h[0]+"=")==-1&&(e+=(e.indexOf("?")!=-1?"&":"?")+_PHPID_))),e}function y(n){var t,i;return n=location.href.length<n.length||location.href.substring(location.href.length-n.length)!=n?location.href+n:location.href,t=location.hash.length,t>0&&(i=n.indexOf(location.hash),n=n.substring(0,i)+n.substring(i+t)),n}function vt(n,t,i){i===void 0&&(i=!1);var r;return r=n?n:("undefined"!=typeof _WDR_?_WDR_:_WD_)+"res/"+t,i||e(r),r}function w(n,t,i,r,u,f,e){r===void 0&&(r="/");u===void 0&&(u="");f===void 0&&(f=!1);e===void 0&&(e=!1);var s=[n+o+encodeURIComponent(t),"expires="+i];s.push("path="+r);0<u.length&&s.push("domain="+u);f&&s.push("httponly");e&&s.push("secure");document.cookie=s.join("; ")}function k(n,t,i){return i===void 0&&(i=!1),n.setTime(n.getTime()+t*864e5),i&&n.setUTCHours(0,0,0,0),n}function yt(n){return n&&("$"in window&&n instanceof $||n.jquery)}function s(n){return undefined!==n&&null!==n&&(n instanceof Object||"object"==typeof n)}function pt(n){return s(n)&&"length"in n}var r,h,u,p,o,b;t.ms_oDataPageAWPSansUI=function(){var t=document.currentScript,n;return t&&(n=t.m_oDataPageAWPSansUI,undefined!==n)?n:undefined}();t.ms_bPageAWPSansUI=undefined!=t.ms_oDataPageAWPSansUI;r=t.ms_bPageAWPSansUI?undefined:document.forms[0];t.ms_sAliasPage=t.ms_oDataPageAWPSansUI?t.ms_oDataPageAWPSansUI.m_sAliasPage:r?r.name:"";String.prototype.endsWith||(String.prototype.endsWith=function(n,t){return(t===undefined||t>this.length)&&(t=this.length),this.substring(t-n.length,t)===n});String.prototype.startsWith||(String.prototype.startsWith=function(n,t){return this.substr(!t||t<0?0:+t,n.length)===n});t.bOpr=i("opera");t.bIE=!t.bOpr&&-1!=navigator.appName.indexOf("Microsoft");t.nIE=t.bIE?function(){var n=/MSIE (\d+)[\.\d]*/.exec(navigator.userAgent);return n&&n[1]?parseInt(n[1],10):0}():0;t.bIE11Plus=-1!=navigator.userAgent.indexOf("Trident/");t.bIEAvec11=t.bIE||t.bIE11Plus;t.bEdge=i("edge/");t.bFF=i("firefox/");t.bCrm=i("chrome/");t.bSfr=!t.bCrm&&i("safari");t.bWK=t.bCrm||t.bSfr;h=t.bIEAvec11&&(!!window.navigator.msMaxTouchPoints||"ontouchstart"in document.documentElement);t.bTouchMobile=i("ipad")||i("iphone")||i("android");t.bTouch=h||t.bTouchMobile;t.bHTML5=null!=window.document.doctype&&window.document.doctype.publicId==(t.bIE&&t.nIE<10?null:"");t.ms_bPageAWP=document.location.pathname.toLowerCase().endsWith(".awp");t.ms_bRTL=(document.documentElement||document).dir==="rtl";t.bVersionNavInf=d;t.ms_oTimeoutImmediat={};t.tabParseFormat=tt;t.tabParseDeformat=it;u=["=","<-","<=","=","="];t.xVerifieAffectationUniquement=rt;t.xVerifieAffectationCopie=ut;t.xVerifieAffectationReference=ft;t.xVerifieAffectationAucune=et;t.oCloneObjet=ot;t.oCloneSimple=l;t.oCloneDansObjet=a;t.SupprimeToutMembres=st;t.PrechargeImage=e;t.oEvalJSON=ht;t.xoEvalJSON=v;t.xsStringifyJSON=ct;t.sGetPageAction=at;t.sCheminImageRes=vt;p=";";o="=";b={sGetCookie:function(n,i){n=t.sSupprimeEspacesDebutFin(n);var r="";return document.cookie.split(p).every(function(u){var f=u.split(o),e;return(f[0]=t.sSupprimeEspacesDebutFin(f[0]),e=f[0],i&&(e=e.substring(0,n.length)),f[1]&&e==n)?(i&&(i[0]=f[0].substring(n.length)),r=decodeURIComponent(f[1]),!1):!0}),r}
4,SetCookie:function(n,t,i,r,u,f){w(n,t,k(new Date,undefined!==i?i:30).toUTCString(),r,u,!!(f&1),!!(f&2))},ClearCookie:function(n){w(n,"","Fri, 02 Jan 1970 00:00:00 UTC")}};t.oDecaleDateJour=k;t.bIsJQuery=yt;t.bIsObject=s;t.bIsObjectArray=pt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n,t,i){i===void 0&&(i=n.length);for(var r=0;r<i;r++)if(!t(n[r],r))return!1;return!0}function e(n,t,i){i===void 0&&(i=n.length-1);for(var r=i;0<=r;r--)if(!t(n[r],r))return!1;return!0}function o(n,t){for(var i in n)if(n.hasOwnProperty(i)&&!t(i,n[i]))return!1;return!0}function r(n,t){return t?function(t){return t===n}:function(t){return t==n}}function s(n,t,i){return i===void 0&&(i=!1),-1!=u(n,t,i)}function u(n,t,u){return u===void 0&&(u=!1),i(n,r(t,u))}function i(n,t,i){var u,r;for(i===void 0&&(i=0),u=n.length,r=i;r<u;r++)if(t(n[r]))return r;return-1}function h(n,t,r){var u=i(n,t);return-1!=u?n[u]:r}function c(n,t){var r=i(n,t);return-1!=r?n[r]:null}function l(n,t,i){i===void 0&&(i=!1);a(n,r(t,i))}function a(n,t){var r=i(n,t);-1!=r&&n.splice(r,1)}t.bIsArray=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};t.bForEach=f;t.bForEachInverse=e;t.bForEachIn=o;t.bDansTableau=s;t.nDansTableau=u;t.nDansTableauFct=i;t.oDansTableauFct=h;t.oDansTableauFctOuNull=c;t.SupprimeDansTableau=l;var v=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetRValue=function(){return this},r.prototype.viGetAsLRValue=function(){return this},r.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteVM(i,r))switch(r){case 23:return t.oGetProprieteSimple(function(){return u.nGetNbElements()},null);case 24:return t.oGetProprieteVide(this,0,23)}throw new n.CErreur(603);},r.prototype.viGetSousElement=function(n,i){var r=t.xnGetIndiceC(i[n],this.nGetNbElements(),0,0);return t.iChaineSousElement(this.iGetSousElementIndice(r),n+1,i)},r.prototype.viGetIntervalle=function(){throw new n.CErreur(602,"[[ ]]");},r.prototype.viGetAsRValueType=function(){return null},r.prototype.viGetAsTableau=function(){return this},r.prototype.viGetAsTableauAssociatif=function(){return null},r.prototype.viGetAsValeurMultiple=function(){return undefined},r.prototype.viAppelFonction=function(){throw new n.CErreur(602,"()");},r.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(n){t.xVerifieAffectationAucune(n)},r.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauTri=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauSupprime=function(){return this},r.prototype.xRedimensionne=function(){throw new n.CErreur(601);},r.prototype.xCopieDepuis=function(){throw new n.CErreur(601);},r.prototype.bDynamique=function(){return!0},r.prototype.InsereLigne=function(n,t){this.Insere(n,t[0])},r.prototype.eGetModeAgrandissement=function(){return 1},r.prototype.nGetNbDimensions=function(){return 1},r.prototype.nGetUneDimension=function(){return this.nGetNbElements()},r.prototype.nGetDimension0Pas=function(){return 1},r.prototype.viGetAsTableauType=function(){return null},r}(n.CIBase);t.CCollection=v})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.toString=function(n){return this.viGetRValue(1).toString(n)},i.prototype.vnToNumber=function(n){return this.viGetRValue(1).vnToNumber(n)},i.prototype.vbToBoolean=function(){return this.viGetRValue(1).vbToBoolean()},i.prototype.valueOf=function(){return this.viGetRValue(1).valueOf()},i.prototype.toJSON=function(){return this.viGetRValue(1).toJSON()},i.prototype.viGetAsLRValue=function(){return this},i.prototype.viGetMembre2=function(n,i,r,u){var f=this.viGetRValue(0);return f!==this?f.viGetMembre2(n,i,r,u):t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.viGetPropriete=function(t,i){var r=this.viGetRValue(0);if(r!==this)return r.viGetPropriete(t,i);throw new n.CErreur(603);},i.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},i.prototype.viGetIntervalle=function(n,t,i){return this.viGetRValue(0).viGetIntervalle(n,t,i)},i.prototype.veGetTypeWL=function(){return this.viGetRValue(1).veGetTypeWL()},i.prototype.viGetAsRValueType=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsRValueType():null},i.prototype.viGetAsTableau=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableau():null},i.prototype.viGetAsTableauAssociatif=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableauAssociatif():null},i.prototype.viGetAsValeurMultiple=function(){return undefined},i.prototype.viAppelFonction=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(i=this.viGetRValue(0),i!==this)return i.viAppelFonction.apply(i,r);throw new n.CErreur(602,"()");},i.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i}(n.CIBase);t.CWrapperValue=i})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function i(n,t,i){t=t&&0<t.length?t.toUpperCase():"_BLANK_"+Date.now();i?open(n,t,i):open(n,t)}function r(n,t){var f=n.frames,u,e,i;try{if(u=f[t],u)return u}catch(o){}return e=t.toUpperCase(),i=null,Array.prototype.every.call(f,function(n){try{i=n.name.toUpperCase()==e?n:r(n,t)}catch(u){}return!i}),i}function t(n){for(var t=n.indexOf("?"),i=n.lastIndexOf("?");t<i;)n=n.substring(0,t-1)+"&"+n.substring(t+1),t=n.lastIndexOf("?");return n}function e(n,u,f,e){n=t(n);var o;switch(u){case"_blank":i(n,f,e);return;case"_top":o=top;break;case"_parent":o=parent;break;case"_self":o=self;break;default:if(o=r(top,u),!o)return;if(o.parent==self){open(n,u);return}}o.document.location.assign(n)}function o(n,u,f,e){n=t(n);var o;switch(u){case"_blank":i(n,f,e);return;case"_top":o=top;break;case"_parent":o=parent;break;case"_self":o=self;break;default:if(o=r(top,u),!o)return}o.document.location.replace(n)}function s(r,u,f,e,o,s){var l,a,c,h;s===void 0&&(s="");l=r.WD_BUTTON_CLICK_.value;a=r.target;u=t(u);r.WD_ACTION_.value=s;r.WD_BUTTON_CLICK_.value=u;c=navigator.appName=="Microsoft Internet Explorer"&&navigator.platform.substring(0,3)=="Mac"?200:1;switch(f){case"_blank":o&&(e=e&&0<e.length?e.toUpperCase():"_BLANK_"+Date.now(),i("",e,o),f=e,c=1e3);case"_self":case"_top":case"_parent":r.target=f;break;default:r.target=f.toUpperCase()}
4try{n.bSfr&&(h=window.onpageshow,h&&(window.onpageshow=null));r.submit()}catch(v){if(-2147467259!=v.number)throw v;}setTimeout(function(){r.target=a;r.WD_BUTTON_CLICK_.value=l;h&&(window.onpageshow=h)},c)}function f(n,t){var i,r;return t.substring(0,4)==="zrl_"&&(i=t.indexOf("_",4),-1!==i)?(r=t.substring(0,i+1)+"ATT_"+t.substring(i+1)+"_1",function(i){return n(i+t)||n(i+r)}):function(i){return n(i+t)}}function u(n,t,i,r){function o(){var i=t.getElementById(n+"_");return i&&0<t.getElementsByName(n+"_AS").length?i:null}i===void 0&&(i=!1);r===void 0&&(r=!1);var e=!r,u=f(function(n){return t.getElementById(n)},n);return i?u("ztr")||u("dwwuz")||u("dwwcz")||u("dzczcon-")||u("dzcz")||u("cz")||u("dww")||u("dz")||u("bz")||u("tz")||u("ctz")||u("con-")||t.getElementById(n+"_HTE")||u("lz")||e&&o()||e&&u("")||null:e&&u("")||e&&o()||u("tz")||t.getElementById(n+"_HTE")||u("bz")||u("dz")||u("dww")||u("ztr")}function h(n,t,i,r){i===void 0&&(i=!1);r===void 0&&(r=!1);var e=f(function(n){return t.getElementsByName(n)[0]},n);return i?u(n,t,i,r)||e(""):e("")||u(n,t,i,r)}n.sNormaliseURL=t;n.ChangeLocation=e;n.RemplaceLocation=o;n.SubmitLocation=s;n.GetElementParId=u;n.GetElementParIdName=h})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function k(n){return u(v(n))}function u(n){return String.prototype.normalize?n.normalize("NFD").replace(/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20D0-\u20ff]/g,"").toUpperCase():n.toUpperCase()}function d(n,t){return i(u(n),u(t))}function i(n,t){return n<t?-1:n>t?1:0}function r(t,i,r){return String(o(t,n.NSValues.iAny2RValue(t),i,undefined,r))}function o(i,r,u,e,o){var a=undefined===e?0:e.veGetTypeWL(),c,h,l;switch(r.veGetTypeWL()){case 1:return f(r);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:switch(a){case 1:return f(r);case 5:case 9:case 13:return s(r)}break;case 5:case 9:case 10:case 13:switch(a){case 1:return f(r);case 2:case 3:case 4:case 6:case 7:case 8:case 11:case 12:case 5:case 9:case 13:return s(r);default:return r.toString()}case 24:case 25:case 26:return r.sToStringAvecInvalide();case 27:return 16==a?r.toString():r.vnToNumber(0);case 28:return r.sPreparePourComparaison(e);case 36:case 37:case 61:case 107:case 111:case 141:case 143:if(c=r.viGetAsRValueType(),c){h=c.vtGetValeurDirect();try{if(h instanceof Object&&h.toString!==Object.prototype.toString)return String(h);if(null===h||undefined===h)return null;switch(typeof h){case"boolean":return f(r);case"string":case"number":return h;default:return JSON.stringify(h)}}catch(v){return h}}break;case 135:return r.xvnPreparePourComparaison(e);case 136:return r.xvsPreparePourComparaison(e,o);case 151:switch(a){case 151:if(c=r.viGetAsRValueType(),c)return t.xsStringifyJSON(c.vtGetValeurDirect(),!1)}throw new n.CErreur(601);}if(u)return k(r.toString());if(l=n.NSValues.oAny2Natif(i),undefined===l||null===l)return null;switch(typeof l){case"string":case"number":return l;default:return String(l)}}function f(n){return String(n)}function s(t){var i=n.NSOperations.sNumeriqueVersChaine(t,"+077.38f"),r;return i=i.replace(/[\-]/g,"A").replace(/[\+]/g,"B"),n.NSOperations.oNumerique(3,t)&&(r="9".charCodeAt(0)+"0".charCodeAt(0),i=i.replace(/\d/g,function(n){return String.fromCharCode(r-n.charCodeAt(0))})),i}function g(n,t,u){u===void 0&&(u=!1);var f=r(n,u,!1),e=r(t,u,!1),o=e.length;return f.length<=o?i(f,e):i(f.substring(0,o),e)}function nt(n,t){var r=t.length;return n.length<=r?i(n,t):i(n.substring(0,r),t)}function h(n,t){var r=n.length,u=t.length;return r<=u?i(n,t):i(n.substring(r-u),t)}function tt(n,t,i){var u=r(n,i,!1),f=r(t,i,!1);return h(u,f)}function it(n,t,i){return i===void 0&&(i=!1),0==g(n,t,i)}function rt(n,t,i){return i===void 0&&(i=!1),-1!=r(n,i,!1).indexOf(r(t,i,!1))}function ut(n,t,i){return i===void 0&&(i=!1),0==tt(n,t,i)}function ft(n,t,i){i===void 0&&(i=10);var r="number"==typeof n?n.toString(i):String(n);return l(r,t)}function et(n,t){return l(n.replace(c,"0"),t)}function l(n,t){for(var i=t-n.length;0<i;i--)n="0"+n;return n}function a(n,t,i){for(n=String(n);n.length<t;)n+=i;return n}function ot(n,t,i){return a(n,t,i).substring(0,t)}function st(n,t){return t===void 0&&(t=""),n.replace(e,t)}function v(n,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),t||i?i?n.replace(ct,""):t?n.replace(lt,""):n:n.replace(ht,"$1")}function at(n){return n.replace(y,"$1")+n.replace(e,"")+n.replace(p,"$1")}
4function vt(n,t,i){return t===void 0&&(t=!1),i===void 0&&(i=!1),i||(n=n.replace(/&/g,"&"),n=n.replace(/</g,"<"),n=n.replace(/>/g,">")),t&&(n=n.replace(/\r\n/g,"<br />"),n=n.replace(/\n/g,"<br />")),n}function yt(t){var i=n.iGetAsRValue(t,5);if(i)return 1==i.veGetTypeWL()?i.valueOf()?"1":"0":String(i);switch(typeof t){case"boolean":return w(t);case"number":return b(t,10);default:return String(t)}}function w(n){return n?"1":"0"}function b(t,i){if((t|0)!==t){var r=t.toPrecision(15);return-1!==r.indexOf("e")?r.replace(/\.{0,1}0+e/,"e"):r.replace(/\.{0,1}0+$/,"")}return t.toString(i)}var c,e,y,p;t.sGetFormatLogique=u;t.nCompareLogique=d;t.nCompareAny=i;t.s_oPreparePourComparaisonAvecType=o;t.nCompareChaineCommencePar=nt;t.nCompareChaineFiniPar=h;t.s_bCommencePar=it;t.s_bContient=rt;t.s_bTerminePar=ut;t.sCompleteEntier=ft;c=/[^0-9]/g;t.sCompleteEntierChaine=et;t.sCompleteChaine=a;t.sCompleteWL=ot;e=/\s/g;t.sRemplaceEspaces=st;var ht=/\s*([^\s]*(\s*[^\s]+)*)\s*/,ct=/^\s*/,lt=/\s*$/;t.sSupprimeEspacesDebutFin=v;y=/^(\s*)[^\s].*/;p=/.*[^\s](\s*)$/;t.sSupprimeEspacesInterieur=at;t.sEncodeInnerHTML=vt;t.sToString=yt;t.sBooleenEnChaine=w;t.sNombreEnChaine=b})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,i,u){var e=i?f:r,o="";return(24===u||26===u)&&(o+=t.sCompleteEntier(e[0].call(n),4)+t.sCompleteEntier(e[1].call(n)+1,2)+t.sCompleteEntier(e[2].call(n),2)),(25===u||26===u)&&(o+=t.sCompleteEntier(e[3].call(n),2)+t.sCompleteEntier(e[4].call(n),2)+t.sCompleteEntier(e[5].call(n),2)+t.sCompleteEntier(e[6].call(n),3)),o}function s(n,r,f,o,s){var l;if(!r.match(i))return(l=Date.parse(r),!isNaN(l))?(n.setTime(l),1):2;var a=f?e:u,c="19700101",h="000000000";switch(o){case 26:h=t.sCompleteChaine(r.substring(8),9,"0");case 24:if(c=r.substring(0,8),8!==c.length)return 2;break;case 25:if(h=t.sCompleteChaine(r.substring(0,9),9,"0"),r.length<s)return 2}return a[0].call(n,parseInt(c.substring(0,4),10),parseInt(c.substr(4,2),10)-1,parseInt(c.substr(6,2),10)),a[1].call(n,parseInt(h.substring(0,2),10),parseInt(h.substr(2,2),10),parseInt(h.substr(4,2),10),parseInt(h.substr(6,3),10)),0}function v(t,i){if(n.NSOperations.bDansDeserialisation){var r=void 0;switch(i){case 24:r=h;break;case 25:r=c;break;case 26:r=l;break;default:return t}if(t.match(r))return t.replace(a,"")}return t}function y(n){switch(n){case 0:return STD_JANVIER;case 1:return STD_FEVRIER;case 2:return STD_MARS;case 3:return STD_AVRIL;case 4:return STD_MAI;case 5:return STD_JUIN;case 6:return STD_JUILLET;case 7:return STD_AOUT;case 8:return STD_SEPTEMBRE;case 9:return STD_OCTOBRE;case 10:return STD_NOVEMBRE;case 11:return STD_DECEMBRE;default:return""}}function p(n){switch(n){case 0:return STD_DIMANCHE;case 1:return STD_LUNDI;case 2:return STD_MARDI;case 3:return STD_MERCREDI;case 4:return STD_JEUDI;case 5:return STD_VENDREDI;case 6:return STD_SAMEDI;default:return""}}var r=[Date.prototype.getFullYear,Date.prototype.getMonth,Date.prototype.getDate,Date.prototype.getHours,Date.prototype.getMinutes,Date.prototype.getSeconds,Date.prototype.getMilliseconds],u=[Date.prototype.setFullYear,Date.prototype.setHours],f=[Date.prototype.getUTCFullYear,Date.prototype.getUTCMonth,Date.prototype.getUTCDate,Date.prototype.getUTCHours,Date.prototype.getUTCMinutes,Date.prototype.getUTCSeconds,Date.prototype.getUTCMilliseconds],e=[Date.prototype.setUTCFullYear,Date.prototype.setUTCHours],i;t.sGetDateHeureWL=o;i=/^[0-9]*$/;t.eSetDateHeureFromWL=s;var h=/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/,c=/^[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,l=/^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}$/,a=/[-T:\.]/g;t.sCorrigeDateHeureDeserialisation=v;t.sGetMois=y;t.sGetJourSemaine=p})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function o(n,t){return n.createContextualFragment(t)}function d(n,t){var i=document.createRange();return i.setStartBefore(n),o(i,t)}function g(){return s(!0)}function nt(){return s(!1)}function s(t){return n.bIE11Plus&&"scroll"==n.oGetCurrentStyle(document.body).overflowY?t?document.body.scrollLeft:document.body.scrollTop:t?window.pageXOffset:window.pageYOffset}function h(n){return n&&n.nodeName?n.nodeName.toLowerCase():""}function t(n,t){return h(n)==t}function tt(n,t){if(t&&n){if(n==t)return!0;
4if(t.contains)return t.contains(n);if(t.compareDocumentPosition)return!!(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY);for(var i=document.body;n&&n!=i;){if(n==t)return!0;n=n.parentNode}}return!1}function it(n){return document.contains?document.contains(n):document.compareDocumentPosition?!!(document.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY):document.body.contains(n)}function rt(n){if(n&&n.parentNode){var t=n.parentNode;if(t)return t.removeChild(n)}return n}function ut(n){for(var i=n.childNodes,t=0,r;t<i.length;){r=i[t];try{n.removeChild(r)}catch(u){t++}}}function ft(i){return n.bIE?(i.canHaveChildren===!1&&(i=i.parentElement),i.innerText):function r(n){for(var i=n.firstChild,u="";i;)u+=i.nodeName=="#text"?i.textContent:t(i,"br")?"\r\n":r(i),i=i.nextSibling;return u}(i)}function et(t,i){var r=e(c(t)),u;t.hasAttribute("data-webdev-class-usr")&&e(t.getAttribute("data-webdev-class-usr")||"").forEach(function(t){var i=n.nDansTableau(r,t);-1!=i&&r.splice(i,1)});r.push(i);u=l(r).join(" ");t.setAttribute("data-webdev-class-usr",u);t.className=u}function ot(n){return n.hasAttribute("data-webdev-class-usr")?ct(n.getAttribute("data-webdev-class-usr")||""):""}function u(t,i){var r=c(t);return r?n.bDansTableau(r.split(/\s/),i):!1}function st(n,t,i){i?f(n,undefined,t):f(n,t,undefined)}function ht(n,t,i){u(n,t)&&f(n,t,i)}function f(t,i,r){var o=t.className,c,s,f,u,h,e,l;undefined!==o&&(c=undefined!==o.animVal,s=void 0,s=c?o.animVal:o,f=void 0,f=0<s.length?s.split(/\s/):[],u=void 0,undefined!==i&&(u=n.nDansTableau(f,i)),h=void 0,undefined!==r&&(h=n.nDansTableau(f,r)),e=!1,undefined===h?undefined!==u&&-1!==u&&(f.splice(u,1),e=!0):-1==h?(undefined!==u&&-1!==u?f[u]=r:f.push(r),e=!0):undefined!==u&&-1!==u&&i!=r&&(f.splice(u,1),e=!0),e&&(l=f.join(" "),c?t.className.baseVal=l:t.className=l))}function c(n){var t=n.className;return t&&undefined!==t.animVal?t.animVal:t}function e(n){return l(n.split(/\s/))}function l(t){return n.bForEachInverse(t,function(n,i){return 0==n.length&&t.splice(i,1),!0}),t}function ct(n){return e(n).join(" ")}function lt(i,r,u){r===void 0&&(r=n.bIE);u===void 0&&(u=!1);var f=document.getElementsByName(i);if(f&&1<=f.length){if(r&&t(f[0],"object")||u&&t(f[0],"embed"))return f[0];if(1<f.length&&f[1])return f[1]}return document.getElementById(i)}function at(t,i,u,f,e,o,s,h){var c;o===void 0&&(o=!1);s===void 0&&(s=!1);h===void 0&&(h=!1);switch(i){case 0:case 6:break;default:var b=a[i],k=v[i],l=t.ownerDocument,d=l.body,y=t.offsetParent||d,g=y==d&&h;u=-p(y,e||g);f=-w(y,e||g);c=n.oGetCurrentStyle(t);o||0==b||(u+=(vt(l)-(t.offsetWidth+r(c.marginLeft)+r(c.marginRight)))*b);s||0==k||(f+=(yt(l)-(t.offsetHeight+r(c.marginTop)+r(c.marginBottom)))*k)}u!==undefined&&(n.SetStyleLeft(t.style,u,0),t.style.left=u+"px",n.ms_bRTL&&(t.style.right=""));f!==undefined&&(t.style.top=f+"px")}function vt(n){return n.documentElement.clientWidth||n.body.clientWidth}function yt(n){return n.documentElement.clientHeight||n.body.clientHeight}function r(n){if(n){var t=parseInt(n,10);return t||0}return 0}function y(t,i){return t&&t==t.ownerDocument.body?n.bIE11Plus&&"scroll"==n.oGetCurrentStyle(t.ownerDocument.body).overflowY?i?-1:0:i?0:1:i?1:0}function p(n,t){return n?n.getBoundingClientRect().left+y(n,t)*g():0}function w(n,t){return n?n.getBoundingClientRect().top+y(n,t)*nt():0}function pt(n,t,i,r,u){if(r&&"undefined"!=typeof MutationObserver){var f=!1,o=function(n,t){f||n.every(function(n){return!i(n)})||(f=!0,t.disconnect())},e=new MutationObserver(o);return e.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t(),f||(o(e.takeRecords(),e),f||e.disconnect()),f}return t(),u}function wt(n){clWDUtil.DonneFocus(n,!1)}function b(i){var r=[],u;return n.bForEach(i.childNodes,function(n){return t(n,"#comment")?r.push(n.nodeValue):t(n,"tbody")&&(u=n),!0}),r.length==0&&u?b(u):k.reduce(function(n,t){return n.replace(t[0],t[1])},r.join(""))}function bt(n,t,r){var u=[];return n&&(u=i(n,"button",u),u=i(n,"input",u),u=i(n,"select",u),u=i(n,"textarea",u),t&&(u=i(n,"a",u)),r&&(u=i(n,"label",u))),u}function i(t,i,r){return n.bForEach(t.getElementsByTagName(i),function(n){return r.push(n),!0}),r}function kt(n,i){var r=n;return i.every(function(n){var i=r.firstChild;return i?(r=i,!i.nextSibling&&t(i,n)):!1})?r:null}function dt(t){return t?n.bIE?t.disabled:t.hasAttribute("disabled"):!1}var a,v,k;n.oCreateContextualFragment=o;n.oCreateContextualFragmentSelonElement=d;n.sGetNodeName=h;n.bNodeEstType=t;n.bEstFils=tt;n.bEstDansDocument=it;n.oSupprimeElement=rt;n.SupprimeFils=ut;n.sGetInnerText=ft;n.SetClasseHTML=et;n.sGetClasseHTML=ot;n.bAvecClasse=u;
4n.bRWD=u(document.body,"wbRwd");n.ActiveDesactiveClassName=st;n.RemplaceClassNameSiExiste=ht;n.oGetObjectEmbed=lt;a=[0,0,1,0,1,.5,0,.5,0,1,.5];v=[0,0,0,1,1,.5,0,0,.5,.5,1];n.DeplaceElement=at;n.nGetBoundingClientRectLeft=p;n.nGetBoundingClientRectTop=w;n.bDetecteMutation=pt;n.DonneFocus=wt;n.sGetHTMLDansCommentaire=b;k=[[/\[%COMMENT%\]/g,"<!-- -->"],[/\[%COMMENT\_DEBUT(\_SANS\_FIN)?%\]/g,"<!--"],[/\[%COMMENT\_FIN(\_SANS\_DEBUT)?%\]/g,"-->"],[/\[%\_COMMENT\_IF\_IE\_DEBUT\_%\]/g,"<!--[if "],[/\[%\_COMMENT\_IF\_IE\_FIN\_%\]/g,"]>"],[/\[%\_COMMENT\_ENDIF\_IE\_%\]/g,"<![endif]-->"]];n.tabGetElements=bt;n.oValideArborescenceFilsUnique=kt;n.bEstGrise=dt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function u(t,i){if(n.bIE)return t;switch(i){case 0:return{capture:t,passive:!1};case 1:return{capture:t,passive:!0};default:case 2:return t}}function r(n,t,i,r,f){r===void 0&&(r=!1);f===void 0&&(f=2);n.addEventListener&&n.addEventListener(t,i,u(r,f))}function s(n,t,i,r,f){r===void 0&&(r=!1);f===void 0&&(f=2);n.removeEventListener&&n.removeEventListener(t,i,u(r,f))}function h(n){return f(n,!0)}function f(t,i,r){return r===void 0&&(r=!1),r&&(n.bIE&&undefined!==t.cancelBubble&&(t.cancelBubble=!0),t.stopPropagation&&t.stopPropagation()),i?(t.preventDefault&&t.preventDefault(),!1):!0}function c(n){return n.target}function l(t){return n.bFF&&!n.bWK&&t.explicitOriginalTarget||t.target}function a(t){return(n.bFF&&!n.bWK?t.explicitOriginalTarget:t.currentTarget)||t.target}function v(n){return"undefined"!=typeof TouchEvent&&n instanceof TouchEvent}function e(t,i,r){var u,f,e,o,s,h;if(t)switch(i){case 0:return u=void 0,n.bIE?(f=document.documentElement,e=(r?f.clientWidth:f.clientHeight)?f:document.body,u=r?e.scrollLeft:e.scrollTop):u=r?window.pageXOffset:window.pageYOffset,u+(r?t.clientX:t.clientY);case 1:return r?t.screenX:t.screenY;case 2:return(o=n.bHTML5||n.bIE,(n.bIE||n.bEdge)&&t.target instanceof SVGGraphicsElement&&t.target!==t.currentTarget&&(o=!1),o&&(s=r?t.offsetX:t.offsetY,undefined!==s))?s:(h=a(t),r?t.clientX-n.nGetBoundingClientRectLeft(h,!1):t.clientY-n.nGetBoundingClientRectTop(h,!1))}return 0}function y(n,t){return e(n,t,!0)}function p(n,t){return e(n,t,!1)}function w(t,i){if(n.ms_oTimeoutImmediat===i){if(n.bWK&&"undefined"!=typeof MessageChannel){var r=new MessageChannel;return r.port1.onmessage=t,r.port2.postMessage(null),r}i=1}return setTimeout(t,i)}function b(t){typeof t=="number"?clearTimeout(t):t.port1.onmessage=n.VideUndefined}function k(i){0==t.length&&(r(window,"scroll",function(n){o(n,!0)},!1,1),r(window,"resize",function(n){o(n,!1)},!1,1));n.bDansTableau(t,i,!0)||t.push(i)}function o(n,i){t.forEach(function(t){t(n,i)})}var t,i;n.AttacheEvent=r;n.DetacheEvent=s;n.bStopPropagation=h;n.bStopPropagationCond=f;n.oGetTarget=c;n.oGetOriginalTarget=l;n.bEventEstTouch=v;n.nSourisPosX=y;n.nSourisPosY=p;n.nSetTimeout=w;n.ClearTimeout=b;t=[];n.AttacheOnScrollResize=k;i=function(){function t(){for(var r=this,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];this.m_tabNotifications=[];n.bForEach(i,function(n){return r.AddNotification(n),!0})}return t.prototype.AddNotification=function(n){this.m_tabNotifications.push(n)},t.prototype.LanceNotifications=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];n.bForEach(this.m_tabNotifications,function(n){return n.apply(window,i),!0})},t}();n.ms_oNotificationsAjoutHTML=new i;n.ms_oNotificationsFinAJAX=new i;n.ms_oNotificationsChangementTranche=new i})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function h(n){return n.nodeName=="#text"&&(n=n.parentElement),(n.ownerDocument||document).defaultView.getComputedStyle(n,undefined)}function r(n,t,i){i.length&&n.insertRule(t+" {"+i+"}",n.cssRules.length)}function c(t){var i=document.createElement("style");return i.type="text/css",undefined!==t&&(i.id=t),i=document.getElementsByTagName("head")[0].appendChild(i),n.bWK&&i.appendChild(document.createTextNode("")),u(i)}function g(n,t){return t===void 0&&(t=!1),l(a(n,t))}function l(n){if(n&&n.style){var t=n.style.cssText;if(t)return t.length>0&&t.substring(t.length-1)!=";"&&(t+=";"),t}return""}function a(n,t){return nt(document,n,t)}function nt(t,i,r){var u=null;return n.bForEach(t.getElementsByTagName("style"),function(n){return u=e(n,i,r),null===u})?n.bForEach(t.getElementsByTagName("link"),function(n){return n.rel.toLowerCase()=="stylesheet"?(u=e(n,i,r),null===u):!0})?null:u:u}function u(n){return n.sheet}function f(n){try{return n.cssRules}catch(t){return[]}}function v(t){function r(t){n.bForEach(t,function(n){switch(n.type){case 1:i.push(n);break;case 3:r(f(n.styleSheet))}return!0})}var i=[];return r(f(t)),i}function e(n,t,i){return i===void 0&&(i=!1),tt(u(n),t,i)}function tt(n,t,i){return it(v(n),t,i)}function it(n,t,i){var r=p(n,t,i);return-1!=r?n[r]:null}function y(n){return CSSRule.STYLE_RULE===n.type}function p(n,t,i){return n?(i?rt:ut)(n,w(t)):-1}function rt(t,i){return n.nDansTableauFct(t,function(n){return y(n)?b(n.selectorText,i):!1})}function ut(t,i){return n.nDansTableauFct(t,function(t){var r,u;return y(t)&&(r=t.selectorText,r&&(u=n.nDansTableauFct(r.split(","),function(n){return b(n,i)}),-1!=u))?!0:!1})}function w(t){return n.sRemplaceEspaces(t).toLowerCase()}function b(n,t){return w(n)==t}function k(n,t){n.deleteRule(t)}function o(n){return 0<n?n+"px":"0"}function ft(n,t){isNaN(n)?n=100:n<0&&(n=Math.max(Math.min(n,100),0));et(n,t)}function et(n,t){t.style&&(t.style.opacity=String(n/100))}function ot(t,i){function o(n){return"none"==n.display}function s(n){return"hidden"==n.visibility}function c(n){return"none"==n.display||"hidden"==n.visibility}var u,r,f,e;if(!t)return!0;
4if(u=t.offsetParent,r=null,null===u)return!1;if(n.bIE||undefined===u?r=i?c:o:i&&(r=s),r)for(f=document.body;t&&t!=f;){if(e=h(t),r(e))return!1;t=t.parentElement}return!0}function st(n,t,r){r===void 0&&(r=!1);n&&n.style&&(n.style.display=i(n,t,r))}function ht(n,t){var r;if("string"==typeof n)switch(n.toLowerCase()){case"inherit":case"visible":case"table":case"table-row":case"table-cell":case"1":case"true":default:r=!0;break;case"hidden":case"none":case"0":case"false":case"":r=!1}else r=!!n;switch(t){default:case 0:return r?"inherit":"hidden";case 1:return i(null,r,!1);case 2:return i(null,r,!0)}}function i(n,t,i){return i===void 0&&(i=!1),t?i?"":ct(n):"none"}function ct(t){switch(n.sGetNodeName(t)){case"table":return"table";case"tr":return"table-row";case"td":return"table-cell";default:return"block"}}function lt(t){for(var i=document.body;t&&t!=i;){if(n.bAvecClasse(t,"wbPlanConteneur"))return!0;t=t.parentElement}return!1}function at(t){for(var i=document.body;t&&t!=i;){if(n.bAvecClasse(t,"wbPlan")&&!n.bAvecClasse(t,"wbActif"))return!0;t=t.parentElement}return!1}function d(n){return n?"url('"+n.replace("\\","\\\\").replace('"','\\"').replace("'","\\'").replace("(","\\(").replace(")","\\)")+"')":"none"}function t(n){var t=parseInt(n||"",10);return 0<t?t:0}function vt(n){return t(n.borderLeftWidth)+t(n.borderRightWidth)}function yt(n){return t(n.borderTopWidth)+t(n.borderBottomWidth)}function pt(n){return n?"none"==n?"":n.match(/^\s*url\(/)?s(n,'"')||s(n,"'")||s(n,"(",")"):n:""}function s(n,t,i){return i===void 0&&(i=t),n.substring(n.indexOf(t)+1,n.lastIndexOf(i))}function wt(n){return bt(n,"",!0)}function bt(n,t,i){if(t===void 0&&(t=""),n=n||t,n){if(n.startsWith("data:")||i&&n.match(/^\s*[a-z\-]+\(/))return n;"/"==n.charAt(0)||"_WDR_"in window||n.match(/^[a-z]+\:\/\//)||(n=_WD_+n)}return i?d(n):n}n.oGetCurrentStyle=h;n.CreeStyle=r;n.oCreeFeuilleStyle=c;n.sGetCSSTexte=g;n.sGetCSSTexteElement=l;n.oStyleTrouve=a;n.oGetFeuilleStyle=u;n.tabGetStyleReglesFusion=v;n.oStyleTrouveDansBalise=e;n.StyleSupprime=k;n.SetStyleLeft=n.ms_bRTL?function(n,t,i){n.right=o(t-i)}:function(n,t,i){n.left=o(t-i)};n.sGetDimensionPxPourStyle=o;n.SetOpacite=ft;n.bEstDisplay=ot;n.SetDisplay=st;n.sGetVisibility=ht;n.sGetDisplayPourAffiche=i;n.bDansPlan=lt;n.bDansPlanMasque=at;n.sGetURICSS=d;n.nGetOffset=t;n.nGetOffsetBorderPourWidth=vt;n.nGetOffsetBorderPourHeight=yt;n.sExtraitImageDepuisProprieteCSS=pt;n.sConstruitProprieteCSSDepuisImage=wt;var kt=function(){function t(){this.m_oFeuilleStyle=null;this.m_tabFeuilleStyleRules=null;this.m_tabStyle={};this.m_tabStyleNew={}}return t.prototype.Creation=function(){if(!this.m_oFeuilleStyle){var n=c();this.m_tabFeuilleStyleRules=f(n);this.m_oFeuilleStyle=n}this.m_tabStyleNew={}},t.prototype.CreationAjout=function(){var t={};n.bForEachIn(this.m_tabStyle,function(n,i){return t[n]=i,!0});this.m_tabStyleNew=t},t.prototype.CreationFlush=function(){var t=this,i=this.m_tabStyle,u=this.m_tabStyleNew;n.bForEachIn(u,function(n,u){var f=i[n];return u==f?!0:(f!==undefined&&t.__StyleSupprime(n),i[n]=u,r(t.m_oFeuilleStyle,n,u),!0)})},t.prototype.CreationFin=function(){var t=this,u=this.m_tabStyle,i=this.m_tabStyleNew;this.m_tabStyle={};n.bForEachIn(u,function(n,r){var u=i[n];return r==u?(t.m_tabStyle[n]=u,delete i[n]):t.__StyleSupprime(n),!0});n.bForEachIn(i,function(n,i){return t.m_tabStyle[n]=i,r(t.m_oFeuilleStyle,n,i),!0});this.m_tabStyleNew={}},t.prototype.Ajoute=function(n,t){0<t.length&&(this.m_tabStyleNew[n]=t.join(";"))},t.prototype.Complete=function(t,i){if(t.length&&i.length)if(this.m_tabStyleNew.hasOwnProperty(t)){var r=this.m_tabStyleNew[t].split(";");i.forEach(function(t){var i=t.split(":")[0]+":";n.bForEachInverse(r,function(n,t){return n.startsWith(i)&&r.splice(t,1),!0})});this.m_tabStyleNew[t]=r.concat(i).join(";")}else this.Ajoute(t,i)},t.prototype.__StyleSupprime=function(n){var t=this.__nStyleTrouve(n);-1!=t&&k(this.m_oFeuilleStyle,t)},t.prototype.__nStyleTrouve=function(n){return p(this.m_tabFeuilleStyleRules,n,!1)},t}();n.CStyleCache=kt})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n){return"toNumber"in n}function e(t){var r=n.iGetAsBase(t),i;return r?r.vbToBoolean():"string"==typeof t?(i=parseInt(t,10),isNaN(i)?!1:0!==i):!!t}function i(t,i,r){var e,u;if(i===void 0&&(i=NaN),r===void 0&&(r=0),e=n.iGetAsBase(t),e)return e.vnToNumber(r);u=void 0;switch(typeof t){case"number":return t;case"boolean":return Number(t);case"object":if(1===r&&"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDDuree)return t.m_nValeur/10;if(f(t)){u=t.toNumber();break}default:u=parseFloat(String(t))}return isNaN(u)?i:u}function r(t,r,u){return r===void 0&&(r=0),u===void 0&&(u=0),n.NSOperations.nArrondiVersZero(i(t,r,u))}function o(t,i,f,e,o){o===void 0&&(o=!1);var s=r(t,e);if(u(s,i,f))return s-1;if(o)throw new n.CErreur(612,s,i);else throw new n.CErreur(200,s,i);}function u(n,t,i){if(n<1)return!1;switch(i){default:return n<=t;case 1:return n<=t+1;case 2:return!0}}t.bGetBooleen=e;t.dGetReel=i;t.nGetEntier=r;t.xnGetIndiceC=o;t.bIndiceWLValide=u})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i){return new r(t?function(){return n.NSValues.iAny2RValue(t())}:null,i?function(n){i(n.m_oValeur)}:null)}function e(n){return i(function(){return n},null)}function o(n,t,r){return i(function(){return 0==n.viGetPropriete(t,r).valueOf()},null)}function s(n){return i(function(){return n},function(){})}function h(t,i,u,f,e,o){function s(t){var i=u.viGetSousElement(0,[t]);return i instanceof n.NSChamps.CObjet&&!i.voGetHTMLElement()?null:i}return new r(function(){var i=t(),n;if(i)return i;try{if(n=s(1),n)return n.viGetPropriete(e,o)}catch(r){}return f.viCreation()},function(n){var t,r;for(i(n),t=1;;t++)try{if(r=s(t),r)r.viGetPropriete(e,o).vSetValeur2(n);else break}catch(u){break}})}var r=function(t){function i(n,i,r){var u=t.call(this)||this;return u.m_pfGetValeur=n,u.m_pfSetValeur=i,u.m_pfToJSON=r,u}return __extends(i,t),i.prototype.toJSON=function(){return undefined!==this.m_pfToJSON?this.m_pfToJSON():t.prototype.toJSON.call(this)},i.prototype.viGetRValue=function(){if(this.m_pfGetValeur)return this.m_pfGetValeur();throw new n.CErreur(603);},i.prototype.vSetValeur2=function(t){if(this.m_pfSetValeur)this.m_pfSetValeur(t);else throw new n.CErreur(603);},i}
4(t.CWrapperValue),u,f;t.CPropriete=r;t.oGetProprieteSimple=i;t.oGetProprieteConstante=e;t.oGetProprieteVide=o;t.oGetProprieteNeFaitRien=s;u=function(n){function t(t,i){var r=n.call(this)||this;return r.m_tParent=t,r.m_ePropriete=i,r}return __extends(t,n),t}(t.CWrapperValue);f=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(u);t.CProprieteMultiple=f;t.oGetProprieteManipuleSousElement=h})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n,t,i){return t<i.length?n.viGetSousElement(t,i):n}var i=function(t){function i(n){var i=t.call(this)||this;return i.m_tParent=n,i}return __extends(i,t),i.prototype.viGetAsLRValue=function(){return this},i.prototype.viGetMembre2=function(n,i,r,u){var f=this.viGetRValue(0);return f!==this?f.viGetMembre2(n,i,r,u):t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.viGetPropriete=function(t,i){var r=this.viGetRValue(0);if(r!==this)return r.viGetPropriete(t,i);throw new n.CErreur(603);},i.prototype.viGetSousElement=function(t,i){var r=this.viGetRValue(0);if(r!==this)return r.viGetSousElement(t,i);throw new n.CErreur(602,"[ ]");},i.prototype.viGetIntervalle=function(t,i,r){var u=this.viGetRValue(0);if(u!==this)return u.viGetIntervalle(t,i,r);throw new n.CErreur(602,"[[ ]]");},i.prototype.viGetAsRValueType=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsRValueType():null},i.prototype.viGetAsTableau=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableau():null},i.prototype.viGetAsTableauAssociatif=function(){var n=this.viGetRValue(0);return n!==this?n.viGetAsTableauAssociatif():null},i.prototype.viGetAsValeurMultiple=function(){return undefined},i.prototype.viAppelFonction=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(i=this.viGetRValue(0),i!==this)return i.viAppelFonction.apply(i,r);throw new n.CErreur(602,"()");},i.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i}(n.CIBase),r;t.CTSousElement=i;r=function(n){function t(t){return n.call(this,t)||this}return __extends(t,n),t.prototype.toString=function(n){return this.viGetRValue(1).toString(n)},t.prototype.vnToNumber=function(n){return this.viGetRValue(1).vnToNumber(n)},t.prototype.vbToBoolean=function(){return this.viGetRValue(1).vbToBoolean()},t.prototype.valueOf=function(){return this.viGetRValue(1).valueOf()},t.prototype.toJSON=function(){return this.viGetRValue(1).toJSON()},t.prototype.veGetTypeWL=function(){return this.viGetRValue(1).veGetTypeWL()},t}(i);t.CTSousElementWrapper=r;t.iChaineSousElement=u})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(){return!0}function e(){}function o(t){return t[n.ms_oSymbolDepuisWLEnV2]=!0,t}function s(n,t,u,f){return f===void 0&&(f=i),r(n,t,u)||f}function r(n,i,r){var f,e;return(f=clWDUtil.pfGetTraitementDirect(n,i,r),!f)?undefined:(e=function(){for(var u,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];u=t.ms_sAliasMoiMeme;try{return t.ms_sAliasMoiMeme=n,f.apply(this,r)}finally{t.ms_sAliasMoiMeme=u}},u(f,e,function(){var u=r||"",f=n!==t.ms_sAliasPage?n:"";return f+i+u}))}function u(t,i,r){var u=i;return u.nNbParametres="nNbParametres"in t?t.nNbParametres:t.length,u.sNom="sNom"in t?t.sNom:t.name||r(),n.ms_oSymbolDepuisWLEnV2 in t&&(u[n.ms_oSymbolDepuisWLEnV2]=!0),u}function h(i){var r={};return t.bForEachIn(i,function(t,i){var f=u(i,function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return n.NSValues.oAny2Natif(i.apply(window,r))},function(){return""});return r[t]=f,!0}),r}function c(t,i,r,u){var f=n.NSChamps.oGetObjet(i,r,u),e;return l(f)?(e=f,function(){for(var r=this,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];e.AppelCodeAffectation(function(){t.apply(r,i)})}):t}function l(n){return"AppelCodeAffectation"in n}function f(t){return t.reduce(function(t,i){var u=n.iGetAsRValue(i,0),r;return undefined!==u?(r=u.viGetAsValeurMultiple(),undefined!==r?Array.prototype.push.apply(t,f(r.tabGetValeurs())):t.push(i)):t.push(i),t},[])}t.ms_sAliasMoiMeme="";t.Vide=i;t.VideUndefined=e;t.pfDepuisWLEnV2=o;t.pfGetTraitement=s;t.pfGetTraitementDirect=r;t.oGetWrappersPourNatif=h;t.pfGetTraitementCodeAffectation=c;t.tabMiseAPlatValeursMultiples=f})(t=n.NSUtil||(n.NSUtil={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function de(){return ke++}function pi(t,i){i&&n.NSUtil.AttacheEvent(t,"progress",function(n){n.lengthComputable&&i(n.total,n.loaded)})}function kt(){et=null;ft=!1;wi=!1;n.NSUtil.bForEach(k,function(n){return n.vLibere(),!0});k.length=0}function to(){if(!bi){if(document.readyState&&document.readyState!=="interactive"&&document.readyState!=="complete")return!1;if(bi=!0,n.NSUtil.bFF){var t=/Fire[Ff]ox\/\s*(\d+)\.*(\d+)/.exec(navigator.userAgent);(!t||!t[1]||parseInt(t[1],10)<27)&&n.NSUtil.AttacheEvent(window,"beforeunload",kt,!0)}}return wi}function io(t,i,r,u,f,e,o){var s,h;to()&&(s=uo(t,i,r,u),s&&(h={m_eMethodeHTTP:2,m_sURL:oo(n.NSUtil.sGetPageAction(t)),m_sContenu:s,m_oInterne:{m_oFormulaire:t,m_eOptionsAJAXExecute:0}},ki(h,function(n,t){e&&e(n,t);ro(i,f);o&&o(n,t)})))}function ro(t,i){switch(typeof i){case"function":i();break;case"number":n.NSUtil.pfGetTraitement(t,i)()}}function uo(t,i,r,u){var f=[],h="",w=i,c,v,a,p;i&&0<i.indexOf(";")&&(c=i.split(";"),1<c.length&&c[0].length&&c[1].length&&(i=c[0],w=c[1]));switch(u){case 1:f.push(o);f.push(wt+"="+r);f.push(e+"="+i);h=s(t,i);l&&f.push(encodeURIComponent(l)+"="+encodeURIComponent(ut));break;case 2:f.push(b);f.push(wt+"="+r);f.push(e+"="+i);h=g(t.elements);break;case 3:f.push(pt);f.push(ai+"="+i);f.push(i+"="+r);break;case 4:f.push(b);f.push(ai+"="+i);v=t[i];v&&(v.value=String(r));h=g(t.elements);break;case 5:f.push(b);f.push(vi+"="+i);h=g(t.elements);break;case 6:f.push(o);f.push(vi+"="+i);h=s(t,w);break;case 8:f.push(o);f.push(y+"="+(r||""));f.push(e+"="+i);h=s(t,i);a=n.NSChamps.iGetInterfaceChamp(i,n.NSChamps.iGetAsCalendrier);f.push(d(a.oGetElementHTMLValeur()));f.push(d(a.oGetElementHTMLMois()));a.bGestionTableZR_SansPopup()&&f.push(s(t,a.m_oTableZRParent.m_sAliasTableZRParent));break;case 9:f.push(o);f.push(y+"="+(r||""));f.push(e+"="+i);h=d(n.NSChamps.oGetChampSansCreation(i).voGetChampFormulaire());break;case 10:if(undefined!==dt)f.push(o),f.push(y+"="+(r||"")),f.push(e+"="+i),f.push("WD_PARAM_="+dt),f.push(encodeURIComponent(l)+"="+encodeURIComponent(ut)),p=s(t,l+"_DATA"),p&&f.push(p);else return"";break;case 11:f.push(o);f.push(pe+"="+i);h=s(t,i);break;case 12:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(o);f.push(y+"="+r);f.push(e+"="+i);h=s(t,n.NSChamps.CSynchronisationServeur.ms_sNomChamp);break;case 13:f.push(o);f.push(y+"="+r);f.push(e+"="+i);h=s(t,i);break;case 14:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(b);f.push(we+"="+r);f.push(e+"="+i);h=g(t.elements);break;case 15:f.push(pt);f.push(be+"=");n.NSUtil.bForEachIn(r,function(t,i){return f.push("II_"+t+"="+encodeURIComponent(n.NSUtil.xsStringifyJSON(i,!1))),!0});break;case 16:n.NSChamps.ms_oSynchronisationServeur.OnSubmit();f.push(b);f.push(y+"="+r);f.push(e+"="+i);h=g(t.elements);break;default:l&&(h=encodeURIComponent(l)+"="+encodeURIComponent(ut));f.push(h?o:pt);f.push(wt+"="+r);f.push(e+"="+i)}return h&&f.push(h),l=undefined,ut=undefined,dt=undefined,window.FinSubmitAJAX instanceof Function&&FinSubmitAJAX(),f.join("&")}function d(t){var f=t.type,i,r,u;if(f){i=void 0;r=void 0;switch(f.toLowerCase()){case"textarea":r=!0;case"text":case"hidden":case"password":return i=t.value,t.bIndication===!0?i="":r&&(i=i.replace(ru,"\r\n")),encodeURIComponent(t.name)+"="+encodeURIComponent(i);case"checkbox":case"radio":if(t.checked)return encodeURIComponent(t.name)+"="+encodeURIComponent(t.value);break;case"select-one":if(t.selectedIndex!==-1)return encodeURIComponent(t.name)+"="+encodeURIComponent(t.options[t.selectedIndex].value);break;case"select-multiple":return u=[],n.NSUtil.bForEach(t.options,function(n){return n.selected&&u.push(encodeURIComponent(t.name)+"="+n.value),!0}),u.join("&");case"button":case"file":case"reset":case"submit":break;default:if(i=t.value,undefined!==i)return encodeURIComponent(t.name)+"="+encodeURIComponent(i)}}return""}function g(t){var i=[];return n.NSUtil.bForEach(t,function(n){var r=n.name,t;return n.type&&r!==ye&&!r.startsWith("PTH_")&&(t=d(n),t&&i.push(t)),!0}),i.join("&")}function s(n,t){var i=n[t],r;
4return i||(r=document.getElementsByName(t),r&&(i=r[0])),i?d(i):""}function gt(n){var t=!!k.length||!!bt||n;ft!==t&&(ft=t,eo())}function eo(){et&&(n.NSUtil.DeplaceElement(et,fo,undefined,undefined,!0),et.style.visibility=n.NSUtil.sGetVisibility(ft,0))}function oo(n){return n}function so(n){var t=new ge(n.m_oInterne);return t.vEnvoi(n),t}function ki(n,t){var i=new no(n.m_oInterne,t),r=i.m_nID;return i.vEnvoi(n),r}function ho(n){var t=so(n),i=t.oGetResultat();return t.vLibere(),i}function co(t,i){return!i&&t.m_oInterne&&0!=(t.m_oInterne.m_eOptionsAJAXExecute&1)&&(i=n.NSUtil.Vide),ki(t,i)}function lo(n,t,i){i===void 0&&(i=[]);var r=di(n);return r?ot(null,t,null,n,r,i):0}function di(n){if(n){if("undefined"!=typeof DOMParser)return(new DOMParser).parseFromString(n,"text/xml");if("undefined"!=typeof ActiveXObject){var t=new ActiveXObject("Microsoft.XMLDOM");if(t.loadXML(n),!t.parseError||0===t.parseError.errorCode)return t}}return null}function gi(t,i){var u,r;return i.substring(0,5)==="<?xml"&&i.match(ei)?!0:(u=i,t&&(t.vLibere(),t=null),kt(),n.NSUtil.bIE?(r=document.open("text/html","replace"),r.write(u),r.close()):(r=document,n.NSUtil.nSetTimeout(function(){r.write(u);r.close()},n.NSUtil.ms_oTimeoutImmediat)),!1)}function ot(n,t,i,r,u,f){return f===void 0&&(f=[]),gi(n,r)?vo(t,i,u,f):1}function ao(n,t,i,r){var u=null;switch(i){case 1:return document.body;case 20:case 27:u=nr(n,n.name+"_"+t,i,r)}return u||nr(n,t,i,r)}function nr(t,i,r,u){var f=null,e;if(0!==u){switch(r){case 9:case 11:case 35:f=a(i,r,!1,3===u);break;case 5:i.substring(i.length-2)==="[]"&&(f=n.NSUtil.GetElementParId(i.substring(0,i.length-2),document,!0));break;case 47:1===u&&(f=n.NSUtil.GetElementParId(i,document,!1,!0))}f||(f=n.NSUtil.GetElementParId(i,document,!0))}else switch(r){case 31:case 32:case 39:case 40:case 42:case 43:case 84:case 3:case 10:case 17:case 109:case 21:case 23:case 45:case 55:case 57:case 105:f=n.NSUtil.GetElementParId(i,document,!1);break;case 25:f=n.NSUtil.GetElementParId(i+"_",document,!1);break;case 16:case 4:case 49:case 79:case 8:case 22:f=document.getElementById(i);n.NSUtil.bNodeEstType(f,"i")&&(f=f.firstElementChild)}if(f||(f=t[i]),!f&&(e=document.getElementsByName(i),e))switch(r){case 6:break;default:f=e[0]}return f}function a(n,t,i,r){i===void 0&&(i=!1);r===void 0&&(r=!1);var f=t===77&&i,e=f?n+"_POS":"con-"+n,u=null;return r&&(u=document.getElementById("dww"+e)),u||(u=document.getElementById(e),u&&f&&(u=u.getElementsByTagName("table")[0])),u||(u=document.getElementById("ctz"+n)),u}function vo(t,i,r,u){var e=r.getElementsByTagName(eu)[0],o,s,f,h;return e?(o=1,s=t.ownerDocument.body,n.NSUtil.bDetecteMutation(s,function(){o=yo(t,i,e,u)},function(){var t=[];return function(i){var u=i.target,r;if(n.NSUtil.bNodeEstType(u,"input")&&"hidden"===u.type)return!1;for(r=u;r!==s;r=r.parentNode)if(!r)return!1;return n.NSUtil.bForEach(t,function(t){return!n.NSUtil.bEstFils(u,t)})}}(),n.NSUtil.bIE,!0)&&(f=e.childNodes,f&&(h=f.length,(2<=h||1===h&&f[0].nodeName!==oi)&&n.NSUtil.ms_oNotificationsFinAJAX.LanceNotifications())),o):0}function yo(n,t,r,u){for(var f=r.firstChild,s=!1,e=null,o=0,h=1;f;){switch(f.nodeName){case hu:po(n,f,t);break;case ou:ec(f);break;case su:h=oc(f)?2:0;break;case oi:t.ActionListe(f);s=!0;break;case cu:u.push(i(f));break;case lu:e=f;break;case vu:o=rt(f);break;case yu:cc(f);break;case pu:lc(f)}f=f.nextSibling}return e&&sc(n,e,s),o&&hc(o),h}function po(n,t,i){function o(t){var r=s[t],i;return undefined!==r?r:(i=ao(n,u,e,t),s[t]=i,i)}for(var h,u=vt(t,wu),e=f(t,bu),s=[],r=t.firstChild;r;r=r.nextSibling)switch(r.nodeName){case ku:h=tr[f(r,du)];h&&h(o,e,r,u);break;case gu:vh(o,e,r,u);break;case nf:yh(o,n,e,r,u);s=[];break;case lf:nc(o,e,r,u);break;case pf:tc(o,r,u);break;case wf:ic(r,u,i);break;case gf:rc(r,u);break;case oe:uc(r,u);break;case he:fc(r,u)}}function ir(t,r,f,e){var s=i(f),o=t(0),h,c;switch(r){case 8:case 22:case 26:case 33:case 82:case 27:o&&(o.src=s);break;case 7:o&&(o.selectedIndex=parseInt(s,10));break;case 6:h=parseInt(s,10);o&&(c=o.length,c?h<0?n.NSUtil.bForEach(o,function(n){return n.checked=!1,!0}):h<=c&&(o[h].checked=!0):o.checked=0<=h);break;case 5:o&&(o.checked=!!parseInt(s,10));break;case 3:case 10:o=p(o);o&&(o.innerHTML=n.NSUtil.sEncodeInnerHTML(s,!0));break;case 2:o&&(o.value=s,u(e,1,s));break;case 12:case 17:case 109:o||(o=t(1));o=p(o);o&&(o.innerHTML=s);break;case 21:o&&(o=o.getElementsByTagName("ol")[0]);case 23:case 45:o=p(o);o&&(o.innerHTML=s);break;case 31:case 32:case 39:case 40:case 42:case 43:case 84:break;case 44:case 72:case 85:case 100:case 122:u(e,1,s);break;case 34:u(e,1,parseInt(s,10)!==0);break;case 103:if(o&&o.attributes)switch(n.NSUtil.sGetNodeName(o)){case"a":o.setAttribute("href",s);break;case"div":s?o.setAttribute("data-href",s):o.attributes.getNamedItem("data-href")&&o.removeAttribute("data-href")}break;default:o&&(o.value=s)}}function p(t){if(n.NSUtil.bNodeEstType(t,"table"))while(t&&!n.NSUtil.bNodeEstType(t,"td"))t=t.firstElementChild;return t}function wo(n,t,i,r){rr(!1,n,t,i,r)}function bo(n,t,i,r){rr(!0,n,t,i,r)}function rr(t,r,u,f,e){var s=i(f),o=r(0),l,h,a,v,w,y;switch(u){case 1:document.title=s;return;case 4:l=null;h=n.NSUtil.GetElementParId("z_"+e+"_IMG",document,!1);h&&!n.NSUtil.bNodeEstType(h,"img")?(a=h.getElementsByTagName("span")[0],a&&(h=a),l=h):o&&n.NSUtil.bNodeEstType(o,"button")&&(l=o);l?l.innerHTML=n.NSUtil.sEncodeInnerHTML(s,!t,t):o&&(o.value=s);return;case 3:o=p(o);break;case 17:case 109:o=p(o);o&&(o.innerHTML=s);return;case 16:if(v=n.NSUtil.GetElementParId(e,document,!1,!0),v?o=v:o&&!n.NSUtil.bNodeEstType(o,"a")&&(o=null),o){while(o&&!n.NSUtil.bNodeEstType(o,"a"))o=o.firstElementChild;o&&(o.innerHTML=s)}return;case 9:case 35:o=document.getElementById("lz"+e);o||(o=n.NSUtil.GetElementParId(e,document,!1,!0));break;case 56:case 68:w=String(c(f,le,""));w;o||(o=document.getElementById("tt"+e),o||(o=n.NSUtil.GetElementParId(e,document,!1,!0)));break;case 49:o&&(y=o.getElementsByTagName("a")[0],y&&(o=y));break;case 55:case 57:case 105:break;default:o=document.getElementById("lz"+e)}o&&(o.innerHTML=n.NSUtil.sEncodeInnerHTML(s,!t,t))}
4function ko(n,t,r,u){nt(t,39,r,u,i)}function go(n,t,i,r){ur(n,t,i,r,"height",16)}function ns(n,t,i,r){ur(n,t,i,r,"width",17)}function ur(t,i,f,e,o,s){var h=t(0),v=t(1),l,c,a;if(h&&(l=rt(f),l>=0)){c=l+"px";switch(i){case 34:break;case 83:u(e,s,l);h=n.NSUtil.GetElementParId(e,document,!0);h.getElementsByTagName("td")[0][o]=l;r(h,i,e,o,c,!1);break;case 39:case 40:case 43:for(a=h.getElementsByTagName("td")[0],""!==a.style[o]?a.style[o]=c:a[o]=l,r(h,i,e,o,c,!1),h=h.parentElement;h&&h!==document.body;)switch(n.NSUtil.sGetNodeName(h)){case"table":h[o]=l;default:h=h.parentElement;break;case"div":r(h,i,e,o,c,!1);h=null}break;case 5:case 6:r(v,i,e,o,c,!1);break;case 44:r(v,i,e,o,c,!1);r(document.getElementById("con-"+e),i,e,o,c,!1);break;case 3:r(h!==v&&document.getElementById("bz"+e)||h,i,e,o,c,!1);break;case 33:r(document.getElementById(e)||h,i,e,o,c,!1);break;default:r(h,i,e,o,l+"px",!1)}}}function ni(n,t,i,u,f,e,o){var s=n(t);r(s,i,u,f,e,o)}function r(t,i,r,u,f,e){if(t){if(e)switch(i){case 5:case 6:(t instanceof HTMLCollection||"undefined"!=typeof RadioNodeList&&t instanceof RadioNodeList||"undefined"!=typeof NodeList&&t instanceof NodeList)&&n.NSUtil.bForEach(t,function(t){var i=t.parentElement;return n.NSUtil.bNodeEstType(i,"label")&&(t=i),t.style[u]=f,!0});t=n.NSUtil.GetElementParId(r.substring(r.length-2)==="[]"?r.substring(0,r.length-2):r,document,!1,!0);break;case 23:case 45:case 21:case 25:n.NSUtil.bForEach(t.getElementsByTagName("a"),function(n){return n.style[u]=f,!0})}var o=t.style;o&&(o[u]=f)}}function ts(t,f,e,o){var s=i(e),c=!1,l=t(0);switch(f){case 5:case 6:c=!0;break;case 23:case 45:case 21:case 25:c=!0;break;case 56:case 68:case 83:h(t,f,o,"color",s,!1);return;case 2:u(o,2,s);break;case 16:l=n.NSUtil.GetElementParId(o,document,!1,!1)}r(l,f,o,"color",s,c)}function h(t,i,u,f,e,o){var s;switch(i){case 2:case 4:case 7:case 10:case 14:case 16:case 25:case 3:s=t(0);break;case 56:case 68:is("#c-"+u,f,e);return;case 83:s=n.NSChamps.iGetInterfaceChamp(u,n.NSChamps.iGetAsJauge).oGetLibelleInterne();break;default:s=t(1)}r(s,i,u,f,e,o)}function is(t,i,r){n.NSUtil.bForEach(document.getElementsByTagName("style"),function(u){var f=n.NSUtil.oStyleTrouveDansBalise(u,t);return f&&(f.style[i]=r),!0})}function rs(t,f,e,o){var h=i(e),l=!1,s=t(0),a=t(1),c;switch(f){case 5:case 6:l=!0;break;case 31:case 32:case 39:case 40:case 42:case 43:case 84:s=n.NSUtil.GetElementParId(o,document,!1);break;case 34:s=n.NSUtil.GetElementParId(o,document,!0);break;case 16:c=n.NSUtil.GetElementParId(o,document,!0);c&&c.style&&(c.style.backgroundColor=h);break;case 21:l=!0;break;case 2:u(o,3,h);break;case 83:case 33:u(o,3,h);return;case 111:s=n.NSUtil.GetElementParId(o,document,!1,!0)}r(s,f,o,"backgroundColor",h,l)}function us(t,i,r,e){function a(t){return n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",4===o),!0}var o=f(r,ce),s=t(0),h=t(1),c,l;switch(i){case 2:case 33:u(e,26,o);break;case 4:case 16:case 22:case 55:case 57:case 105:if(c=void 0,s){if(l=s.parentNode,n.NSUtil.bNodeEstType(s,"a"))c=s;else if(n.NSUtil.bNodeEstType(l,"a"))c=l;else break;fs(r,c,o,!1)}}h&&(n.NSUtil.bForEach(h.getElementsByClassName("wbstyle"),a),n.NSUtil.bAvecClasse(h,"wbstyle")&&a(h));nt(i,26,r,e,function(){return o})}function fs(t,i,r,u){var f=t.firstChild;f&&n.NSUtil.bForEach(f.attributes,function(t){var f=t.name,s=f.toLowerCase(),e=t.value,o;if(0!==r)switch(s){case"onmouseout":case"onmouseover":case"onclick":i[f]=null;break;default:i.removeAttribute(f)}else switch(s){case"onmouseout":case"onmouseover":i[f]=new Function("","document."+e);break;case"onclick":if(u){o="";n.NSUtil.bFF&&-1!==(e+"").indexOf("event")&&(o="event");i[f]=new Function(o,e);break}default:i.setAttribute(f,e)}return!0})}function es(t,i,r,u){var h=w(r,ae)||w(r,ve),e=!1,s=!1,o=at(r),c=t(0),f=t(h?3:2);switch(i){case 56:case 68:f=document.getElementById("tt"+u);e=!0;break;case 49:f=c;case 55:case 57:case 105:e=!0;s=!0;f?o&&"hidden"===f.style.visibility&&(f.style.visibility=""):n.NSUtil.bForEach(["H","B"],function(t){return n.NSUtil.SetDisplay(document.getElementById(t+"-"+u),o),!0});break;case 127:e=!0;s=!0;f&&(n.NSUtil.bNodeEstType(f,"li")||(f=f.parentElement));break;default:e=h;s=h}e?n.NSUtil.SetDisplay(f,o,s):f&&f.style&&(f.style.visibility=o?"inherit":"hidden");f&&n.NSChamps.AppelMethodePtr(n.NSChamps.OnDisplay,[f,o])}function os(n,t,r,u){nt(t,40,r,u,i)}function ss(t,r,u){try{n.NSChamps.DeclareGroupes(n.NSUtil.xoEvalJSON(i(u),
4!1))}catch(f){}}function hs(t,r,u,f){var o=t(0),e,s;if(o){e=i(u);switch(r){case 79:o.style.backgroundImage=n.NSUtil.sGetURICSS(e);s=n.NSChamps.iGetInterfaceChamp(f,n.NSChamps.iGetAsCornage);s&&s.InitTailleImage(e);break;default:o.src=e}}}function cs(t,r,u,f){var e=t(0),h=e,o,s;switch(r){case 22:n.NSUtil.bNodeEstType(e,"img")&&(o=e.parentNode,n.NSUtil.bNodeEstType(o,"a")&&(e=o));break;default:e=n.NSUtil.GetElementParId(f,document,!1,!0);e||(e=h)}n.NSUtil.bNodeEstType(e,"td")&&(e=e.firstElementChild);e&&(s=i(u),n.NSUtil.bNodeEstType(e,"input")?yr(e,f,fu,function(){return"('"+s+"'"}):e.href=s)}function ls(t,r,f,e){function h(n){return n.title=s,!0}var s=i(f),o=t(0);switch(r){case 5:case 6:n.NSUtil.bForEach(document.getElementsByName(e),h);return;case 9:case 35:o=a(e,r);break;case 49:o&&n.NSUtil.bForEach(o.getElementsByTagName("a"),h);break;case 83:u(e,35,s);return;case 4:o&&o.firstElementChild&&(o.firstElementChild.title=s)}o&&(o.title=s)}function as(t,r,u,f){ni(t,2,r,f,n.NSUtil.ms_bRTL?"right":"left",i(u)+"px",!1)}function vs(n,t,r,u){ni(n,2,t,u,"top",i(r)+"px",!1)}function ys(n,t,r,u){ni(n,1,t,u,"cursor",i(r),!0)}function ps(n,t,i,r){h(n,t,r,"fontWeight",String(rt(i)),!0)}function ws(n,t,i,r){h(n,t,r,"fontStyle",at(i)?"italic":"normal",!0)}function bs(n,t,r,u){h(n,t,u,"fontFamily",i(r),!0)}function ks(n,t,i,r){h(n,t,r,"textDecoration",at(i)?"underline":"none",!0)}function ds(n,t,r,u){h(n,t,u,"fontSize",i(r),!0)}function gs(t,i,r,f){var e=rt(r),o;isNaN(e)?e=100:e<0?e=0:e>100&&(e=100);switch(i){case 33:case 83:u(f,18,e);return;case 79:o=t(0);break;default:o=t(1)}o&&n.NSUtil.SetOpacite(e,o)}function nh(n,t,r,u){h(n,t,u,"textAlign",i(r),!0)}function th(n,t,r,u){h(n,t,u,"verticalAlign",i(r),!0)}function ih(t,i,r){var f=at(r),u,o,s,e;switch(i){case 55:case 57:case 105:u=t(1);u&&(o=f?"":"Select",s=f?"Select":"",n.NSUtil.bForEach(["WDOngletOption","WDMenuOption"],function(t){return n.NSUtil.bForEach(["","Hover"],function(i){return n.NSUtil.RemplaceClassNameSiExiste(u,t+o+i,t+s+i),!0}),!0}),e=u.getElementsByTagName("a")[0],e&&n.NSUtil.ActiveDesactiveClassName(e,"wbActif",f))}}function rh(n,t,r,f){u(f,25,i(r))}function uh(t,r,u,f){var e=n.NSChamps.oGetChampSansCreation(f),o,s;e&&(o=e.viGetAsParametres(),o?o.DeduitParam(i(u)):(s=t(1),s&&(e.vPreAffecteHTML(!0),s.innerHTML=i(u),e.vPostAffecteHTML(!0))))}function fh(n,t,r,u){wr(u,t,38,i(r))}function eh(n,t,r,f){u(f,21,i(r))}function oh(t,r,u){var f=t(0);(!f||f instanceof HTMLCollection||"undefined"!=typeof RadioNodeList&&f instanceof RadioNodeList||"undefined"!=typeof NodeList&&f instanceof NodeList)&&(f=t(1));f&&n.NSUtil.SetClasseHTML(f,i(u))}function sh(n,t,r){switch(t){case 8:case 22:case 26:case 33:case 82:case 91:var u=n(0);u&&(u.alt=i(r))}}function hh(t,r,u,e){var o,h,s;yt(u,"PLAN")?(o=f(u,"PLAN"),h=i(u),s=vt(u,"FILS")):o=rt(u);nt(r,31,u,e,function(){return o},{sContenuHTML:h});s&&n.NSChamps.DeclareChampPlanDiffere(s.split(";"))}function ch(n,t,r,u){nt(t,34,r,u,i)}function lh(n,t,r,f){var e=i(r);switch(t){case 33:u(f,3,e);return}}function ah(n,t,r,u){wr(u,t,56,i(r))}function nt(t,i,r,u,f,e){var o;o=1===t?n.NSChamps.oGetPageCourante():n.NSChamps.oGetObjetInformationsPartielles(u,t);o&&o.viGetPropriete(1,i).vSetValeur(f(r),0,{m_oParametresSpecifiques:e})}function vh(t,r,u,f){var s=i(u),e=t(0),o;e||(e=n.NSUtil.GetElementParId(f,document));switch(r){case 49:e&&-1===s.indexOf("getElementsByTagName")&&(o=e.getElementsByTagName("a"),o.length&&(e=o[0]))}e&&function(){eval("arguments[0]"+s)}(e)}function yh(n,t,i,r,u){var f=oGetObjetChamp(u),e;f&&f.bActionListeDepuisAJAX?f.bActionListeDepuisAJAX(r,-1):(e=n(0),e&&ph(e,t,i,r,u))}function ph(t,r,u,e,o){var dt=f(e,tf),gt=f(e,rf),tr=f(e,uf),ft=v(e,ff,0),wi=v(e,ef,1),si=1<wi,ir=r[o+"_DATA"],ni,rr,pt,wt,et,bi,ur,s,b,nt,ot,fr,it,d,or,ci,ei,sr,kt,nr,l,pr,ai,vi,at,oi,yi,pi;ir&&(ir.value=c(e,of,""));for(var vt=parseInt(r[o+"_DEB"].value,10),g,p=a(o,u,!0),y=tt(p,u);vt<dt&&ti(u,o,vt,ft,p,y);)vt++;if(vt>=dt+gt)while(ti(u,o,vt,ft,p,y))vt++;if(0<ft)switch(u){case 9:case 11:for(ni=e.firstChild;ni;)g=f(ni,hi),ri(o,g,ft,y),ni=ni.nextSibling}if(1===v(e,li,0)){for(rr="tt"+o,pt=document.getElementById(rr),n.NSUtil.bEstFils(pt,y)||(pt=null),wt=y.childNodes,n.NSUtil.bForEachInverse(wt,function(n){return n.nodeName==="#text"&&y.removeChild(n),!0}),et=0;et<wt.length;)bi=wt[et],pt?(bi===pt&&(et+1<wt.length&&wt[et+1].offsetHeight<=1&&et++,pt=null),et++):y.removeChild(bi);ur="rgs-"+o+"-";n.NSUtil.bForEachInverse(document.getElementsByTagName("style"),function(n){return n.id.startsWith(ur)&&n.parentNode.removeChild(n),!0})}for(s="",n.NSUtil.bIE&&p&&(s=n.NSUtil.bNodeEstType(p,"td")?p.innerHTML:p.outerHTML,s=ht(s)),ot=-1,fr=yt(e,sf),it=e.firstChild;it;it=it.nextSibling){g=f(it,hi);var ki=ii(o,g,y),di=1!==it.childNodes.length,ui=di?n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[0]),!1,!1):"",k=n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[di?1:10]),!1,!1),fi=di?n.NSUtil.sSupprimeEspacesDebutFin(i(it.childNodes[2]),!1,!1):"",gi=w(it,hf),er=w(it,cf),h=ui+k+fi,bt=void 0;if(fr&&kh(o,g,i(it.childNodes[3])),!gi&&!ki){for(d=null,or=dt+gt,ot=Math.max(ot-1,g+1);ot<or&&!d;ot++)d=bh(o,!0,ot,ft,y),d||(d=ii(o,ot,y));if(d){h&&(n.NSUtil.bIE?(ci=d.outerHTML,ci=ht(ci),ei=s.indexOf(ci),sr=ei,bt=h.substring(0,4).toLowerCase(),(bt="<tr>")&&bt===s.substr(ei-4,4).toLowerCase()&&(ei-=4),s=s.substring(0,ei)+h+s.substring(sr),nt=b=undefined):ct(h)?(n.NSUtil.bNodeEstType(d,"td")&&(d=d.parentElement),er||h.substring(h.length-5).toLowerCase()==="<\/tr>"?ar(d,h):lt(d,h,!0,null)):h.substring(h.length-5).toLowerCase()==="<\/tr>"?(n.NSUtil.bNodeEstType(d,"td")&&(d=d.parentElement),lt(d,h,!1,null)):vr(d.parentNode.previousSibling,h));continue}}if(ki)if(n.NSUtil.bIE){gi&&(h="");kt=ki.outerHTML;kt=ht(kt);var ut=s.indexOf(kt),rt=kt.length,hr=ct(h),wr=cr(h),yr="<tr>"===s.substr(ut-4,4).toLowerCase();hr&&yr&&(ut-=4,rt+=4);bt=h.substring(0,9).toLowerCase();bt==="<\/tr><tr>"&&bt===s.substr(ut-9,9).toLowerCase()&&(ut-=9,rt+=9);si&&(nr=h.substring(h.length-5).toLowerCase(),nr==="<\/tr>"&&nr===s.substr(ut+rt,5).toLowerCase()?rt+=5:(kt.substr(rt-5,5).toLowerCase()==="<\/tr>
4"&&(rt-=5),hr&&s.substr(ut+rt,5).toLowerCase()==="<\/tr>"&&(h="<\/tr>"+h,rt+=5),wr&&yr&&(ut-=4,rt+=4)));s=s.substring(0,ut)+h+s.substring(ut+rt);nt=b=undefined}else l=document.getElementById(o+"_"+g),u===11&&ri(o,g,ft,y),gi?(n.NSUtil.bNodeEstType(l,"div")&&n.NSUtil.bNodeEstType(l.parentNode,"td")&&st(l.parentNode)&&(l=l.parentElement,n.NSUtil.bNodeEstType(l.parentNode,"tr")&&st(l.parentNode)&&(l=l.parentElement)),n.NSUtil.oSupprimeElement(l)):l&&(n.NSUtil.bNodeEstType(l,"div")&&n.NSUtil.bNodeEstType(l.parentNode,"td")&&(l=l.parentElement),ct(k)?(pr=l,n.NSUtil.bNodeEstType(l,"td")&&(l=l.parentElement),er?(ar(l,k),l=st(l)?l:pr,n.NSUtil.oSupprimeElement(l)):k.substring(k.length-5).toLowerCase()!=="<\/tr>"?lt(l,k,!0,l.firstElementChild):lr(l,k)):k.substring(k.length-5).toLowerCase()==="<\/tr>"?(ai=void 0,vi=void 0,n.NSUtil.bNodeEstType(l,"td")?(ai=l.parentElement,vi=l):(ai=l,vi=l.lastElementChild),lt(ai,k,!1,vi)):lr(l,k)),p===y&&(p=a(o,u,!0),y=tt(p,u));else h&&(at=void 0,n.NSUtil.bIE?y&&(y!==p||n.NSUtil.bNodeEstType(y,"table"))?(s||(s=p.outerHTML,s=ht(s),nt=b=undefined),s.substring(s.length-8).toLowerCase()==="<\/table>"?si?(undefined===nt&&(nt=s.toLowerCase().lastIndexOf("<\/tr>")),nt===-1?(undefined===b&&(b=s.toLowerCase().lastIndexOf("<\/tbody>")),-1===b&&(b=s.toLowerCase().lastIndexOf("<\/table>")),oi=!1,ui.toLowerCase().indexOf("<\/tr>")===0?(oi=!0,ui=ui.substring(5)):k.toLowerCase().indexOf("<\/tr>")===0&&(oi=!0,k=k.substring(5)),fi.toLowerCase().lastIndexOf("<\/tr>")!==fi.length-5&&k.toLowerCase().lastIndexOf("<\/tr>")!==k.length-5&&(oi=!0,fi+="<\/tr>"),oi&&(h=ui+k+fi),s=s.substring(0,b)+h+s.substring(b),nt=undefined,b+=h.length):(s=s.substring(0,nt)+h+s.substring(nt),nt+=h.length,b=undefined)):(undefined===b&&(b=s.toLowerCase().lastIndexOf("<\/tbody>")),-1===b&&(b=s.toLowerCase().lastIndexOf("<\/table>")),u===77&&(b=s.toLowerCase().substring(0,b).lastIndexOf("<\/tr>")),s=s.slice(0,b)+h+s.substring(b),nt=undefined,b+=h.length):(s+=h+p.tagName,nt=b=undefined)):(s=undefined,at=y,at.insertAdjacentHTML("beforeend",h),p=a(o,u,!0),y=tt(p,u)):(at=y,ct(h)?h.substring(h.length-5).toLowerCase()!=="<\/tr>"&&(h=h+"<\/tr>"):k.substring(k.length-5).toLowerCase()==="<\/tr>"?si?(at=y.lastElementChild,h=h.substring(0,k.length-5)):h="<tr>"+h:si&&cr(h)&&(at=y.lastElementChild),vr(at,h),p===y&&(p=a(o,u,!0),y=tt(p,u))))}for(s?(s=s.replace(/\<\/tr\>\<\/tr\>/ig,"<\/tr>"),s=s.replace(/\<tr\>\<tr\>/ig,"<tr>"),s=s.replace(/\<tr[^\>]*\>\s*\<\/tr\>/ig,""),s=s.replace(/\<tr[^\>]*\>\s*\<tr/ig,"<tr"),n.NSUtil.bNodeEstType(p,"td")?p.innerHTML=s:p.outerHTML=s,p=a(o,u,!0),y=tt(p,u)):n.NSUtil.bNodeEstType(y,"tbody")&&n.NSUtil.bForEachInverse(y.childNodes,function(n){return 0===n.childNodes.length&&y.removeChild(n),!0}),g=dt+gt,yi=wi;;)if(ti(u,o,g,ft,p,y))g++,yi=wi;else if(yi>1)g++,yi--;else break;n.NSUtil.bIE||gt!==0||y===p||y.childNodes.length!==0||n.NSUtil.SupprimeFils(p);r[o+"_DEB"].value=dt;pi=r["_"+o+"_OCC"];pi===undefined&&(pi=r[o+"_OCC"]);pi.value=gt;tr>=0&&(t.value=String(tr));switch(u){case 9:case 35:case 11:case 77:n.NSChamps.AppelMethodePtr(n.NSChamps.OnTableZRAfficheAJAX,[o])}n.NSUtil.ms_oNotificationsAjoutHTML.LanceNotifications(null,p)}function tt(t,i){var r=null;return t&&n.NSUtil.bNodeEstType(t,"table")&&n.NSUtil.bForEach(t.childNodes,function(t){return n.NSUtil.bNodeEstType(t,"tbody")?(r=t,i===77&&n.NSUtil.bForEach(t.childNodes,function(t){return n.NSUtil.bNodeEstType(t,"tr")?(r=t,!1):!0}),!1):!0}),r}function ti(t,i,r,u,f,e){var o=ii(i,r,e);if(!o)return!1;switch(t){case 9:case 11:ri(i,r,u,e)}return e?n.NSUtil.oSupprimeElement(o):f.removeChild(o),sr(i,r),!0}function ii(n,t,i){return fr(n+"_"+t,i)}function fr(n,t){var r=document.getElementById(n),i;if(r&&t)for(i=r.parentElement;i&&i!==t&&st(i);)r=i,i=r.parentElement;return r}function st(t){var i=!1;return n.NSUtil.bForEach(t.childNodes,function(n){if(!wh(n)){if(i)return!1;i=!0}return!0})}function wh(n){return n.nodeName!=="#text"?!1:0===n.nodeValue.replace(nu,"").length}function ri(n,t,i,r){for(var u=0;u<i;u++)er(n,!0,u,t,r),er(n,!1,u,t,r)}function er(t,i,r,u,f){n.NSUtil.oSupprimeElement(or(t,i,r,u,f))}function or(n,t,i,r,u){return fr(n+"-"+(t?"H":"B")+"-"+i+"-"+r,u)}function sr(n,t){var i=document.getElementById("rgs-"+n+"-"+t);i&&i.parentNode&&i.parentNode.removeChild(i)}function ht(n){return n.replace(tu,"").replace(uu," ")}function bh(n,t,i,r,u){for(var e,f=0;f<r;f++)if(e=or(n,t,f,i,u),e)return e;return null}function kh(t,i,r){var u,f,e;if(r.startsWith("<style "))if(sr(t,i),u=document.getElementsByTagName("head")[0],!n.NSUtil.bIE||10<=n.NSUtil.nIE)u.insertAdjacentHTML("beforeend",r);else try{f=n.NSUtil.oCreeFeuilleStyle("rgs-"+t+"-"+i);f.cssText=r.substring(r.indexOf(">")+1,r.lastIndexOf("<"))}catch(o){}else e=r.split("}"),n.NSUtil.bForEach(e,function(n){return dh(n),!0})}function dh(t){var r=t.indexOf("{"),u,i,f,e;r<=0||(u=t.substring(0,r),i=t.substring(r+1),i=hr(i,!0,!0),f=n.NSUtil.oGetFeuilleStyle(document.getElementsByTagName("style")[0]),e=u.split(","),n.NSUtil.bForEach(e,function(t){if(t=hr(t).replace(iu,""),t.length===0||t==="#")return!0;var r=gh(n.NSUtil.bIE?t:t.toLowerCase());return i&&n.NSUtil.CreeStyle(r||f,t,i),!0}))}function gh(t){var i;return n.NSUtil.bForEach(document.getElementsByTagName("style"),function(r){var u=n.NSUtil.oGetFeuilleStyle(r),f=n.NSUtil.tabGetStyleReglesFusion(u);return n.NSUtil.bForEach(f,function(r,f){var o=r.selectorText,e;return o?(e=o.split(","),n.NSUtil.bForEach(o.split(","),function(o,s){if(o=n.NSUtil.sRemplaceEspaces(o),o.toLowerCase()===t){e.splice(s,1);var h=r.style.cssText;return n.NSUtil.StyleSupprime(u,f),0<e.length&&n.NSUtil.CreeStyle(u,e.join(","),h),i=u,!1}return!0})):!0})}),i}function hr(n,t,i){var r,u,f;for(t===void 0&&(t=!1),i===void 0&&(i=!1),u=0;u<n.length;){if(r=n.charAt(u),t&&r===" "){u++;continue}if(i&&r==="\t"){u++;continue}if(t&&(r==="\r"||r==="\n")){u++;continue}break}for(f=n.length;f>u;){if(r=n.charAt(f-1),t&&r===" "){f--;continue}if(i&&r==="\t"){f++;continue}if(t&&(r==="\r"||r==="\n")){f++;continue}break}return n.substring(u,f)}function ct(n){var t=n.substring(0,4).toLowerCase();return"<tr>"===t||"<tr "===t}function cr(n){var t=n.substring(0,4).toLowerCase();return"<td>"===t||"<td "===t}function lt(t,i,r,u){i=r?i+"<\/tr>":"<tr>"+i;var f=n.NSUtil.oCreateContextualFragmentSelonElement(t,i).childNodes;f.length>1&&(r?t.parentNode.insertBefore(f[0],t):t.parentNode.insertBefore(f[1],t.nextSibling));u?t.replaceChild(f[0].firstChild,u):r?t.parentNode.insertBefore(f[0],t):t.previousSibling.a
4ppendChild(f[0])}function lr(t,i){t.parentNode.replaceChild(n.NSUtil.oCreateContextualFragmentSelonElement(t,i),t)}function ar(t,i){i&&t.parentNode.insertBefore(n.NSUtil.oCreateContextualFragmentSelonElement(t,i),t)}function vr(t,i){var r,u;if(i)for(r=document.createRange(),r.setStart(t,0),u=n.NSUtil.oCreateContextualFragment(r,i).childNodes;u.length>0;)t.appendChild(u[0])}function nc(t,r,u,f){var h=t(0),c,e,o,l,s,a;if(h)for(c=1,e=u.firstChild;e;e=e.nextSibling){o=f+"_"+c;switch(e.nodeName){default:case af:switch(r){case 5:l=document.getElementById(o);switch(v(e,vf,0)){case 1:l.checked=!0;break;case 2:l.checked=!1}ui(e,o,1);break;case 6:ui(e,o,1);break;case 132:ui(e,o,2);break;default:s=h.options;s[s.length]=new Option(i(e),String(s.length+1))}c++;break;case se:a=h.options;a[a.length]=new Option(i(e),"-1")}}}function ui(t,r,u){for(var e,o,f=document.querySelector("label[for='"+r+"']"),s=0;s<u&&f;s++)e=f.getElementsByTagName("span"),f=e&&e[0];f&&(o=w(t,yf),f.innerHTML=n.NSUtil.sEncodeInnerHTML(i(t),!o,o))}function tc(t,i,r){var s=t(0),f,e,h,c,l,o,u,a,v;
4s&&(f=s,yt(i,ci)&&(e=n.NSChamps.oGetChampSansCreation(r),e&&(h=vt(i,ci),c=e.viGetAsGraphe(),c?c.DeduitParamBarre(h):(l=e.viGetAsParametres(),l&&l.DeduitParam(h)))),o=new RegExp("("+r+"\\=)(\\d+)","i"),u=f.src,o.test(u)?f.src=u.replace(o,function(n,t,i){return t+(parseInt(i,10)+1)}):(a=new RegExp("("+r+"\\=)([^\\d]|$)","i"),a.test(u)&&(f.src=u.replace(a,function(n,t,i){return t+Date.now()+i}))),v=s.parentElement,n.NSUtil.bNodeEstType(v,"a")&&yr(v,r,o,function(n,t,i){return t+(parseInt(i,10)+1)}))}function yr(n,t,i,r){if(n.onclick){var u=fi[t]||n.getAttributeNode("onclick").value;i.test(u)&&(u=u.replace(i,r),n.onclick=new Function("",u),fi[t]=u)}}function ic(n,t,i){var h=v(n,li,0),r=c(n,kf,""),f=-1,e,o,s,u;r&&!isNaN(parseInt(r,10))&&(f=parseInt(r,10),r.indexOf(";")>-1&&(e=r.substring(r.indexOf(";")+1)));o=v(n,df,undefined);s=c(n,bf,undefined);i&&i.m_oTableAJAX.sGetAlias()===t&&i.SupprimeRequete(!1);u=oGetObjetChamp(t);u&&u.Refresh(h,f,e,s,o,n.firstChild)}function rc(n,t){var e,r,u,o;if("undefined"!=typeof $&&(e=$("."+t),r=e.add(e.find("input")).last(),it(n,ne,"filtre",r,f),it(n,te,"ouvertureauto",r,w),it(n,ie,"taillemin",r,f),it(n,re,"delai",r,f),it(n,ue,"sanscasse",r,f),u=n.firstChild,u)){for(r.autocomplete("wbRazAutocompleteProg"),o=[];u;u=u.nextSibling)switch(u.nodeName){case fe:o.push(i(u))}r.autocomplete("wbConcatAutocompleteProg",o)}}function uc(n,t){var r=document.getElementsByName(t)[0],u=document.getElementsByName(t+"_DATA")[0];r&&u&&(u.value=i(n),r.wbJetonChargeDepuisChampCache())}function it(n,t,i,r,u){yt(n,t)&&r.data("saisieassistee-"+i,u(n,t))}function fc(n,t){var r,u;document.getElementsByName(t+"_AS")[0].value=i(n.childNodes[0]);document.getElementsByName(t)[0].value=i(n.childNodes[1]);r=i(n.childNodes[2]);document.getElementsByName("NEX_"+t)[0].value=r;window["oItems_"+t]=r.split(",");u=document.getElementById(t+"_");u.innerHTML=i(n.childNodes[3])}function ec(n){var t=unescape(i(n));eval(t)}function oc(n){var t=decodeURI(i(n));return document.location.assign(t),"tel:"!==t.substring(0,4)&&"email:"!==t.substring(0,6)}function sc(t,r,u){function l(t,i){t&&i&&o.push(n.NSUtil.sGetInnerText(t))}for(var h=t.ownerDocument,c=h.body,f=n.NSUtil.GetElementParId(si,h),e=i(r),o=[],s=void 0;s=n.NSUtil.GetElementParId(au,document);)l(s,u),n.NSUtil.oSupprimeElement(s);if(u&&(l(f,!0),e&&o.push(e),e=o.join("\r\n")),e.length===0){n.NSUtil.oSupprimeElement(f);return}f||(f=document.createElement("div"),f.id=si,f.style.width="1024px",f.style.backgroundColor="#ffd264",f.style.color="#000000",f.style.fontFamily="Courier New,Courier,mono",f.style.fontSize="small",f.style.textAlign="left",f=c.insertBefore(f,c.firstElementChild));f.innerHTML=n.NSUtil.sEncodeInnerHTML(e,!0)}function hc(t){n.NSUtil.bForEach(pr,function(n){var i=n[0];if(i===(t&i))try{n[1]()}catch(r){}return!0})}function cc(t){var e=c(t,"parentnom",""),o=v(t,"parenttype",0),u=c(t,"nom",""),f=i(t),r;u&&f&&(r=n.NSValues.xiGetVariable(u,e,o),r&&n.NSOperations.Deserialise(r,f,1024))}function lc(t){var r=i(t);if(r)try{clWDUtil.oGetImageInformations(n.NSUtil.xoEvalJSON(r,!1))}catch(u){}}function u(t,i,r){var u=n.NSChamps.oGetChampSansCreation(t);u&&u.viGetPropriete(1,i).vSetValeur(r,0,{})}function wr(t,i,r,u){n.NSChamps.oGetObjetInformationsPartielles(t,i).viGetPropriete(1,r).vSetValeur(u,0,{})}function i(t){var i="";return t&&n.NSUtil.bForEach(t.childNodes,function(n){var t=n.nodeValue;return t&&(i+=t),!0}),i}function rt(n){return parseInt(i(n),10)}function at(n){return i(n)!=="0"}function vt(n,t){return n.attributes.getNamedItem(t).value}function c(n,t,i){var r=n.attributes.getNamedItem(t);return r?r.value:i}function f(n,t){return parseInt(vt(n,t),10)}function v(n,t,i){var r=c(n,t,"");return r?Number(r)||i:i}function w(n,t){return c(n,t,"0")==="1"}function yt(n,t){return!!n.attributes.getNamedItem(t)}var br=["","GET","POST","PUT","DELETE","HEAD","PATCH","COPY"],kr="WebDevError",dr="WebDevRedirPHP",gr="WebDevXMLDoc",nu=/[\s]/g,tu=/[\r\n\t]/g,iu=/[\r\n]/g,ru=/\n/g,uu=/\s(\s)+/g,fu=/\(\'([^\']*)\'/,eu="WAJAX",ei=/<WAJAX>/,ou="JS",su="REDIR",hu="CHAMP",oi="LISTE",cu="RESULTAT",lu="TRACE",si="WDAJAX_TRACE",au="WB_TRACE",vu="LIENSOCIAL",yu="VARSYNC",pu="GALERIESIDS",wu="ALIAS",bu="TYPE",ku="PROP",du="NUM",gu="JS",nf="LIGNES",tf="DEBUT",rf="NOMBRE",uf="SELECTION",ff="RUPTURES",ef="COLONNES",of="DATA",hi="INDICE",sf="STYLE",hf="INVISIBLE",cf="REPLIEE",lf="OPTIONS",af="OPTION",vf="COCHE",yf="HTML",pf="RECHARGE",ci="PARAM",wf="REFRESH",bf
4="DATA",kf="DEBUT",df="NOMBRE",li="RESETTABLE",gf="SAISIEA",ne="FILTRE",te="OUVERTUREAUTO",ie="TAILLEMIN",re="DELAI",ue="SANSCASSE",fe="OPTION",ee="SANSOPTION",oe="SAISIEAJETON",se="SATURATION",he="TREEVIEW",ce="ETAT",le="TABLE_AJAX",ae="PARENTRELATIF",ve="PARENTRELATIF",pt="WD_ACTION_=AJAXEXECUTE",o="WD_ACTION_=AJAXCHAMP",b="WD_ACTION_=AJAXPAGE",ye="WD_ACTION_",wt="EXECUTE",ai="SCROLLTABLE",vi="CLICTABLE",y="ACTIONCHAMP",pe="SAISIEASSISTEE",e="WD_CONTEXTE_",we="PLANDIFFERE",be="IMAGEINFORMATIONS",ke=0,k=[],bt=0,yi=function(){function t(n){this.m_oInterne=n;this.m_nID=de();this.m_bValide=!0;this.m_oXMLHttpRequest=new XMLHttpRequest}return t.prototype.vLibere=function(){gt(!1)},t.prototype._Envoi=function(t,i){var r;gt(!1);var f=t.m_sContenu,h=t.m_sURL,o=t.m_eMethodeHTTP;0===o&&(o=f?2:1);var c=!1,u=t.m_sUtilisateur,e=t.m_sMotDePasse,s;u?u&&!e?(s="Bearer "+u,e=undefined):btoa&&(s="Basic "+btoa(u+":"+e)):(u=undefined,e=undefined);switch(o){case 1:case 4:case 5:f&&(h+=(-1===h.indexOf("?")?"?":"&")+f);f=undefined;break;default:c=!0}this.m_bValide=!1;r=this.m_oXMLHttpRequest;try{r.open(br[o],h,i,u,e);n.NSUtil.bForEachIn(t.m_oEntetesHTTPSupplementaires||{},function(n,t){return n.toLowerCase()==="content-type"&&(c=!1),r.setRequestHeader(n,t),!0});pi(r.upload,t.m_pfAvancementEnvoi);pi(r,t.m_pfAvancementTelechargement);c&&r.setRequestHeader("Content-Type","application/x-www-form-urlencoded");s&&(r.setRequestHeader("Authorization",s),r.withCredentials=!0);t.m_bContenuReponseBrut&&(r.responseType="arraybuffer");r.send(f)}catch(l){throw new n.CErreur(500,l.message);}if(n.NSUtil.bIE&&4===r.readyState&&1e4<r.status)throw new n.CErreur(500,r.status);},t.prototype._bValideResultat=function(){var i=this.m_oXMLHttpRequest,r,f,u,t;if((this.m_bValide=!1,i.readyState!==4)||(r=i.status,0===r||400<=r))return!1;if(this.m_oInterne){if(this.__bHeaderHTTPExiste(dr))return f=i.responseText,document.location.replace(decodeURI(f)),!1;if(this.__bHeaderHTTPExiste(kr))return u=i.responseText,this.vLibere(),kt(),n.NSUtil.bIE?(t=document.open("text/html","replace"),t.write(u),t.close()):(t=document,n.NSUtil.nSetTimeout(function(){t.write(u);document.close()},n.NSUtil.ms_oTimeoutImmediat)),!1}return this.m_bValide=!0,!0},t.prototype.__bHeaderHTTPExiste=function(n){try{var t=this.m_oXMLHttpRequest.getResponseHeader(n);return!!t}catch(i){return!1}},t.prototype._sGetResultat=function(){var t,i,u,f,r,e;if(this.m_bValide){if(t=this.m_oXMLHttpRequest,"arraybuffer"===t.responseType)return"";if(i=t.responseText,this.m_oInterne){u=!1;i.substring(0,5)==="<?xml"&&i.match(ei)&&(f=[],ot(this,this.m_oInterne.m_oFormulaire,null,t.responseText,t.responseXML,f),u=!0,i=f[0]);try{if(r=t.getResponseHeader(gr),r&&(e=u?di(i):t.responseXML,e))return n.NSOperations.oXMLAjoutDoc(r,e),r}catch(o){}}return i}return""},t}(),ge=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vEnvoi=function(n){try{bt++;this._Envoi(n,!1)}finally{bt--;gt(!1)}},t.prototype.oGetResultat=function(){return this._bValideResultat(),{m_oXMLHttpRequest:this.m_oXMLHttpRequest,m_sResultat:this._sGetResultat()}},t.prototype.eReponseGenerique=function(n){if(this._bValideResultat()){var t=this.m_oXMLHttpRequest;return ot(this,n,null,t.responseText,t.responseXML)}return 0},t}(yi),no=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_pfCallback=i,k.push(r),r.m_oXMLHttpRequest.onreadystatechange=function(){r.__OnReadyState()},r}return __extends(i,t),i.prototype.vEnvoi=function(n){this._Envoi(n,!0)},i.prototype.vLibere=function(){n.NSUtil.SupprimeDansTableau(k,this,!0);var i=this.m_oXMLHttpRequest;i.onreadystatechange=n.NSUtil.VideUndefined;n.NSUtil.bFF&&i.readyState<4&&i.abort();t.prototype.vLibere.call(this)},i.prototype.__OnReadyState=function(){var n=this.m_oXMLHttpRequest;if(n.readyState===4){var r=!1,i=this.m_oInterne,t=i?i.m_iRequeteTable:undefined;this._bValideResultat()&&(t?r=0!==ot(this,i.m_oFormulaire,t,n.responseText,n.responseXML):this.m_pfCallback&&this.m_pfCallback({m_oXMLHttpRequest:n,m_sResultat:this._sGetResultat()},this.m_nID));t&&t.SupprimeRequete(!r);this.vLibere()}},i}(yi),wi=!0,bi=!1,l=undefined,ut=undefined,dt=undefined,tr,fi,pr;t.ExecuteEvenementAsynchrone=io;var ft=!1,et=null,fo=0;t.oRequeteSynchroneTexte=ho;t.nRequeteAsynchroneTexte=co;t.eReponseGeneriqueDepuisTexte=lo;t.bValideEtTraiteErreur=gi;tr=[,ir,,wo,ko,go,ns,,,,ts,rs,us,,,,,,es,,,ir,,,,,,os,,,,,,ss,hs,,,,cs,ls,,as,vs,ys,,,,ps,ws,bs,ks,ds,gs,nh,th,ih,,,rh,,,,,uh,,,fh,,,,,,,,,,,,,,,,,,,,,,,,eh,,,,,,bo,,,,,,,,,,,,,,,,,oh,,sh,,,hh,,,,ch,lh,,,,,,,,ah];t.oSauteTableCadrage=p;fi={};pr=[[1,function(){FB.XFBML.parse()}],[2,function(){twttr.widgets.load()}],[8,function(){IN.init()}]]})(t=n.NSAjax||(n.NSAjax={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(n){var t=i[n.veGetTypeWL()];return undefined!==t?t:5}n.eGetTypeOperande=t;var i=[,0,3,3,3,1,3,3,3,2,4,3,3,4,2,,5,,,5,,,,,6,7,8,9,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,11]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function yt(i,r,u){var f=pt[i],e=n.iGetAsRValue(r,1),o=n.iGetAsRValue(u,1);if(e||o){var s=lt(r,e),h=lt(u,o),c=t.eGetTypeOperande(s),l=t.eGetTypeOperande(h);return f.m_tabBase[c][l](s,h)}return f.m_pfNatif(r,u)}function lt(t,i){return i||n.NSTypes.iNatif2RValue(t)}function i(){throw new n.CErreur(601);}function wt(n,t){return n+t}function r(t,i){return n.NSTypes.ms_DescriptionChaine.viCreationCopie(String(t)+String(i),3)}function w(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)+i.vnToNumber(0),3)}function f(n,t){return n.oAdditionNumerique(t)}function h(n,t){return f(n,n.oConversionTypeNumerique(t))}function a(n,t){return h(t,n)}function b(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(i.valueOf()+r.vnToNumber(0)))}function it(n,t){return b(t,n)}function k(n,t){return n.oAdditionOffset(t.vnToNumber(0))}
4function rt(n,t){return k(t,n)}function bt(t,i){return new n.NSTypes.CDuree(t.valueOf()+i.valueOf())}function kt(n,t){return n.oAddition(t)}function dt(n,t){return n.oAddition(t)}function gt(n,t){return n-t}function at(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)-i.vnToNumber(0),3)}function u(n,t){return n.oSoustractionNumerique(t)}function v(n,t){return u(n,n.oConversionTypeNumerique(t))}function ut(n,t){return u(t.oConversionTypeNumerique(n),t)}function ft(n,t){return n.oSoustractionDate(t)}function et(n,t){return n.oSoustractionDuree(t)}function ni(t,i){return new n.NSTypes.CDuree(t.valueOf()-i.valueOf())}function ti(n,t){return n.oSoustraction(t)}function ii(n,t){return n*t}function d(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(t.vnToNumber(0)*i.vnToNumber(0),3)}function e(n,t){return n.oMultiplicationNumerique(t)}function c(n,t){return e(n,n.oConversionTypeNumerique(t))}function y(n,t){return c(t,n)}function p(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(i.valueOf()*r.vnToNumber(0)))}function g(n,t){return p(t,n)}function ot(t,i){var r=t/i;if(isNaN(r)&&0===i)throw new n.CErreur(216);return r}function st(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(ot(t.vnToNumber(0),i.vnToNumber(0)),3)}function o(n,t){return n.xoDivisionNumerique(t)}function l(n,t){return o(n,n.oConversionTypeNumerique(t))}function ht(n,t){return o(t.oConversionTypeNumerique(n),t)}function nt(i,r){return new n.NSTypes.CDuree(t.nArrondiVersZero(ot(i.valueOf(),r.vnToNumber(0))))}function vt(t,i){var r=t%i;if(isNaN(r)&&0===i)throw new n.CErreur(216);return r}function ri(t,i){return n.NSTypes.ms_DescriptionR8.viCreationCopie(vt(t.vnToNumber(0),i.vnToNumber(0)),3)}function s(n,t){return n.xoModuloNumerique(t)}function tt(n,t){return s(n,n.oConversionTypeNumerique(t))}function ct(n,t){return s(t.oConversionTypeNumerique(n),t)}t.oBinaire=yt;var pt=[{m_pfNatif:wt,m_tabBase:[[w,a,a,w,a,r,r,r,i,i,i,i],[h,f,f,h,f,r,r,r,i,it,i,i],[h,f,f,h,f,r,r,r,i,it,i,i],[w,a,a,w,a,r,r,r,i,it,i,i],[h,f,f,h,f,r,r,r,i,i,i,i],[r,r,r,r,r,r,r,r,r,r,i,i],[r,r,r,r,r,r,r,r,i,k,i,i],[r,r,r,r,r,r,r,r,i,k,i,i],[r,r,r,r,r,r,r,r,r,k,i,i],[i,b,b,b,i,r,rt,rt,rt,bt,i,i],[i,i,i,i,i,i,i,i,i,i,kt,i],[i,i,i,i,i,i,i,i,i,i,i,dt]]},{m_pfNatif:gt,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[at,ut,ut,at,ut,i,i,i,i,i,i,i],[v,u,u,v,u,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,ft,i,i,et,i,i],[i,i,i,i,i,i,i,ft,i,et,i,i],[i,i,i,i,i,i,i,i,ft,et,i,i],[i,i,i,i,i,i,i,i,i,ni,i,i],[i,i,i,i,i,i,i,i,i,i,ti,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:ii,m_tabBase:[[d,y,y,d,y,i,i,i,i,i,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[d,y,y,d,y,i,i,i,i,g,i,i],[c,e,e,c,e,i,i,i,i,g,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,p,p,p,p,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:ot,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[l,o,o,l,o,i,i,i,i,i,i,i],[l,o,o,l,o,i,i,i,i,i,i,i],[st,ht,ht,st,ht,i,i,i,i,i,i,i],[l,o,o,l,l,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,nt,nt,nt,nt,i,i,i,i,st,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]},{m_pfNatif:vt,m_tabBase:[[i,i,i,i,i,i,i,i,i,i,i,i],[i,s,s,tt,s,i,i,i,i,i,i,i],[i,s,s,tt,s,i,i,i,i,i,i,i],[i,ct,ct,ri,ct,i,i,i,i,i,i,i],[i,s,s,tt,tt,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i],[i,i,i,i,i,i,i,i,i,i,i,i]]}]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,u){var f=r[t],e=n.NSUtil.nGetEntier(i),o=n.NSUtil.nGetEntier(u);return f(e,o)}t.nBinaire=i;var r=[function(n,t){return n&t},function(n,t){return n|t},function(n,t){return n^t},function(n,t){return n<<t},function(n,t){return n>>t}]})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(t,i,r){function f(n,t){if(undefined!==n){var i=String(n);return(0===i.length||0===t(i,u))&&(u=""),i}return""}var u=String(i),e=f(t,n.NSUtil.nCompareChaineFiniPar),o=f(r,n.NSUtil.nCompareChaineCommencePar);return e+u+o}function f(u,f){var y,p,w,rt,g,o;if(isNaN(n.NSUtil.dGetReel(u)))return String(u);var ut=t.oNumerique(3,u),s=0,c=f.length-1,v=f.charAt(s)==="-";v&&s++;y=f.charAt(s)==="+";y&&s++;p=f.charAt(s)==="0";p&&s++;w=f.charAt(c).toLowerCase()==="s";w&&c--;var h,b=10,nt=f.charAt(c),tt=nt.toLowerCase(),l;switch(tt){case"d":h=i;break;case"e":h=e;l=6;break;case"f":h=r;l=6;break;case"o":h=i;b=8;break;case"x":h=i;b=16;break;default:return""}c--;var ft=nt!==tt,k=f.substring(s,c+1),d=parseInt(k,10),a=0,it=k.indexOf(".");
4for(-1!==it?a=parseInt(k.substring(it+1),10):undefined!==l?a=l:(rt=String(u),g=rt.indexOf("."),-1===g&&(a=d-g-1)),o=h(v,y,p,d,a,w,u,ut,b);o.length<d;)v?o+=" ":o=" "+o;return ft&&(o=o.toUpperCase()),o}function i(i,r,u,f,e,o,s,h,c){var l=t.oNumerique(1,s).toString(c),v,y,a;if(h&&"-"===l.charAt(0)&&(l=l.substring(1)),o){for(v=[],y=Math.ceil(l.length/3),a=0;a<y;a++)v.unshift(l.substring(l.length-3*(a+1),l.length-3*a));l=v.join(" ")}if((r||h)&&f--,!i&&u)while(l.length<f)if(o&&l.length%4==3){if(l.length===f-1)break;l=" "+l}else l="0"+l;return(r||h)&&(l=(h?"-":"+")+l),l}function e(i,u,f,e,o,s,h,c){var l=t.oNumerique(6,t.oNumerique(0,h)),a="e"+(0<=l?"+":"-")+n.NSUtil.sCompleteEntierChaine(String(Math.abs(l)),2),v=r(i,u,f,Math.max(0,e-a.length),o,s,t.oBinaire(3,h,Math.pow(10,l)),c);return v+a}function r(r,u,f,e,o,s,h,c){var p=i(r,u,f,e-(o+1),o,s,t.oNumerique(2,h),c,10),a,v,y,l;return 0<o&&(a=n.iGetAsRValue(h,1),v=void 0,v=a&&n.NSTypes.bIsNumerique(a)?a:n.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(h,3),y=t.oNumerique(0,v),l=String(t.oNumerique(1,t.oBinaire(1,y,t.oNumerique(2,y)),o)),l=l.substring(2,l.length),p+="."+n.NSUtil.sCompleteWL(l,o,"0")),p}function o(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return String(n).replace(/\%(?:(?:(\d+)\x08{0,1})|(\%))/g,function(n,t,r){if(t){var u=parseInt(t,10);if(u<=i.length)return String(i[u-1])}else if(r)return"%";return""})}function s(t){var i=n.NSTypes.oGetArrayBuffer(t);return i?i.byteLength:String(t).length}t.sConcatSeparateur=u;t.sNumeriqueVersChaine=f;t.ChaineConstruit=o;t.Taille=s})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(n,t,r){return f(i(n).wbJetonAjoute(u(t),undefined!==r?String(r):undefined))}function o(t,r,e){return f(i(t).wbJetonInsere(n.NSUtil.nGetEntier(r),u(e)))}function s(n){return i(n).wbJetonOccurrence()}function h(n,t){return i(n).wbJetonSupprime(l(t))}function c(n){i(n).wbJetonSupprimeTout()}function r(n){return n&&!!n.wbGetJetonValeurAfficheeChampSaisie?n:null}function i(t){var u=n.NSUtil.GetElementParIdName(t,document,!1,!1),i=r(u);if(i)return i;throw new n.CErreur(605,t);}function u(t){var r=n.NSTypes.iGetAsDino(t,70,39),i;return r?(i=r.vtGetValeurDirect(),i?n.NSUtil.oCloneSimple(i):{}):String(t)}function l(t){var r=String(t),i;try{if(i=n.NSUtil.nGetEntier(t),String(i)===r)return i}catch(u){}return r}function f(t){return!1===t?0:t+1}t.nSaisieAjouteJeton=e;t.nSaisieInsereJeton=o;t.nSaisieOccurrenceJeton=s;t.SaisieSupprimeJeton=h;t.SaisieSupprimeToutJeton=c;t.iGetWBJeton=r})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(t){for(var r,u=arguments.length-2,f=n.NSValues.oAny2Natif(t),i=1;i<=u;i++)if(f===i)return arguments[i];if(r=arguments[arguments.length-1],undefined!==r)return r;throw new n.CErreur(200,t,u);}function u(t,r,u,f,e,o){var h=n.NSValues.iAny2RValue(t),c=n.NSValues.iAny2RValue(r),s=i(t,h,r,c,u,e,o);return f?!s:s}function f(t,r){var u=n.NSValues.iAny2RValue(r);return t.some(function(t){var f=n.NSValues.iAny2RValue(t);return i(r,u,t,f,!0,!1,!1)})}function i(t,i,r,u,f,o,s){var l=e(i,u,s,f,o),h,c,a;return l?l(i,u):(h=n.NSUtil.s_oPreparePourComparaisonAvecType(t,i,o,u,f),c=n.NSUtil.s_oPreparePourComparaisonAvecType(r,u,o,i,f),s&&(a=h,h=c,c=a),f?h==c:h<c)}function e(n,t,i,r){var u=n.veGetTypeWL(),f=t.veGetTypeWL();return u===f&&12===u&&r?o:undefined}function o(t,i){var u=n.NSUtil.dGetReel(t),f=n.NSUtil.dGetReel(i),r=u-f;return-1e-6<r&&r<1e-6}t.oSelon=r;t.bComparaison=u;t.bDansTableau=f})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(t,f){var e,s;switch(f){default:case 0:e=r;break;case 1:case 2:e=u;break;case 3:if(0===i.length)for(s=123;s<=133;s++)i.push(new clWDUtil.WDDinoCouleur(_COL[s]).toNumber());e=i}return n.NSTypes.oCreeDinoCouleur(o(t,f,e))}function o(t,i,r){if(t<0)return undefined;if(t=t%(r.length*11),t<r.length&&i!=2)return r[t];var s=t%r.length,h=r[s],f=t/r.length|0;var e=new clWDUtil.WDDinoCouleur(h),o=e.tabGetTSLA(),u=o[2];return f<=2?u+=f*.045:u-=(f-2)*.045,i==2?(u*=1.5,u=Math.max(u,.8),u=Math.min(u,.99)):(u=Math.max(u,.1),u=Math.min(u,.92)),o[2]=u,e.SetTSLA(o),e}function s(t,i){var r=n.NSUtil.nGetEntier(t,0)-1,u;return-1===r&&(r=f++),u=n.NSUtil.nGetEntier(i,0),e(r,u)}function h(t,i){var r=clWDUtil.WDDinoCouleur.s_oGetDinoCouleur(t),u=n.NSValues.oAny2Natif(i);wbEditeurImageSelectCouleur({color:{r:r.GetProp(0),g:r.GetProp(1),b:r.GetProp(2),a:r.GetProp(3)/255},onChange:function(t,i,r,f){var e=clWDUtil.WDDinoCouleur.s_oRVB(t,i,r),o;e.SetProp(3,f*255);u[n.ms_oSymbolDepuisWLEnV2]?(o=n.NSTypes.oGetDescriptionDINO(61,1).m_oDescriptionDynamique.viCreation(n.iGetValeurInitiale(e,3)),u(o)):u(e)}})}var r=[6930431,13082111,16293335,16753586,15249255,15123301,13358942,7463816,3400880,2878424,4248831,],u=[2998158,14924906,13403187,9408399,16473515,15739277,6730751,3117270,4248831,11625687,11350988,],i=[],f=0;t.oDonneCouleur=s;t.SelectCouleur=h})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function l(t,i){return n.NSTypes.CDuree.xoChaineVersDuree(t,c(i))}function a(i,u){return t.nArrondiVersZero(r(i,u,n.NSTypes.ms_DescriptionDate)/864e5)}function v(t,i){return f(r(t,i,n.NSTypes.ms_DescriptionDateHeure),"+/-JJJJJJJHHMMSSLL")}function y(t,i){n.NSTypes.SetDateHeureDefaut(t,i)}function p(t){return i(t,n.NSTypes.ms_DescriptionDate).vnToNumber(0)}function w(){return n.NSUtil.sGetDateHeureWL(new Date,!1,24)}function f(t,i){return n.NSTypes.ms_DescriptionDuree.viCreationCopie(t,3).sDureeVersChaine(c(i))}function b(t,r){var f=i(t,n.NSTypes.ms_DescriptionDate),u=f.vtGetValeurDirect().m_oDate;switch(String(r)){case"A":case"Y":return n.NSUtil.sCompleteEntier(u.getFullYear(),4);case"M":return n.NSUtil.sCompleteEntier(u.getMonth()+1,2);case"J":case"D":return n.NSUtil.sCompleteEntier(u.getDate(),2);default:return f.toString()}}function k(n){return e(-1,n)}function d(n){return e(1,n)}function e(t,r){var u=n.NSTypes.ms_DescriptionDate,e,f,o;return undefined!==r&&(f=n.NSTypes.iGetDescriptionDepuisValue(r),26===f.veGetTypeWL()&&(u=f),o=i(r,u),e=n.iGetValeurInitiale(o,0)),u.viCreation(e).oAdditionOffset(t*864e5)}function g(t){return i(t,n.NSTypes.ms_DescriptionHeure).toString().substring(0,8)}function nt(n){var t=o(n);return t||7}function tt(t){return n.NSUtil.sGetJourSemaine(o(t))}function it(t){return n.NSUtil.sGetMois(u(t,n.NSTypes.ms_DescriptionDate).getMonth())}function rt(i,u){return t.nArrondiVersZero(r(i,u,n.NSTypes.ms_DescriptionHeure)/10)}function ut(t){return i(t,n.NSTypes.ms_DescriptionHeure).vnToNumber(0)}function ft(){return n.NSUtil.sGetDateHeureWL(new Date,!1,25)}function et(t){var o=i(t,n.NSTypes.ms_DescriptionDate),u=n.NSTypes.ms_DescriptionDate.viCreationCopie(o,0),e;u.viGetPropriete(0,2).vSetValeur(1,0,{});u.viGetPropriete(0,1).vSetValeur(1,0,{});var s=u.vnToNumber(0),f=o.vnToNumber(0)-s,r=(s+657071)%7;switch(r){default:case 0:r=7;
4case 5:case 6:return e=8-r,e<=f?Math.floor((f-e)/7)+1:0;case 1:case 2:case 3:case 4:return Math.floor((f+r-1)/7)+1}}function r(n,t,i){return h(t,i)-h(n,i)}function o(t){return u(t,n.NSTypes.ms_DescriptionDate).getDay()}function i(n,t){var i,r;try{return s(n,t)}catch(u){if(i=String(n),ot.exec(i)){r=void 0;switch(t.veGetTypeWL()){case 24:r=i.substring(0,8);break;case 25:r=i.substr(8,9)}if(undefined!==r)try{return s(i.substring(0,8),t)}catch(f){}}throw u;}}function s(t,i){return i.viAffectation(i.viCreation(),n.iGetValeurAffectation(t,0,{m_bAvecErreur:!0}))}function h(n,t){return u(n,t).getTime()}function u(n,t){return i(n,t).vtGetValeurDirect().m_oDate}function c(n){var t=String(n);switch(t){case"0":return"+JHHMMSSLLL";case"1":return"+JHHMMSSLL";default:return t}}t.oChaineVersDuree=l;t.nDateDifference=a;t.nDateHeureDifference=v;t.DateHeureParDefaut=y;t.nDateVersEntier=p;t.sDateSys=w;t.sDureeVersChaine=f;t.sEntierVersDate=b;t.oHier=k;t.oDemain=d;t.sEntierVersHeure=g;t.nEntierVersJour=nt;t.sEntierVersJourEnLettres=tt;t.nEntierVersMoisEnLettres=it;t.nHeureDifference=rt;t.nHeureVersEntier=ut;t.sHeureSys=ft;t.nNumeroDeSemaine=et;var ot=/^\d{8}(?:(?:(?:[0-1]\d)|(?:2[0-3]))(?:[0-5]\d)(?:[0-5]\d(?:\d\d(?:\d)?)?)?)?$/})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){function u(){return t<f.length?s():i()}function s(){return h(t++)}function v(){return h(t-1)}function h(n){return f[n]}for(var t,o,l,a,f=[],e=0;e<arguments.length;e++)f[e]=arguments[e];t=0;o=n.NSTypes.oGetRectangle(u());null===o&&(o=n.NSTypes.oGetRectangleXYXY(n.NSUtil.nGetEntier(v(),0),n.NSUtil.nGetEntier(u(),0),n.NSUtil.nGetEntier(u(),0),n.NSUtil.nGetEntier(u(),0)));var y=u(),p=s(),c=s();t<f.length&&i();l=r(y,0,0,function(t){var i=n.NSTypes.ms_oDescriptionDinoCadre.m_oDescriptionDynamique.viCreation();return i.viGetMembre("Arrondi",0,0).vSetValeur(n.NSUtil.dGetReel(t,0)/2,0,{}),undefined!==c&&i.viGetMembre("Couleur",0,0).vSetValeur(c,0,{}),i.vtGetValeurDirect()},i);a=r(p,61,8,function(t){var i=n.NSTypes.ms_oDescriptionDinoFond.m_oDescriptionDynamique.viCreation();return i.viGetMembre("Couleur",0,0).vSetValeur(t,0,{}),i.vtGetValeurDirect()});__dRectangleArrondi(o,l,a)}function f(t,i,u){var f=n.NSTypes.oGetRectangle(t),e,o;if(null===f)throw new n.CErreur(601);e=r(i,0,0);o=r(u,61,8);__dCadre(f,e,o)}function i(){throw new n.CErreur(601);}function r(t,r,u,f,e){if(f===void 0&&(f=i),e===void 0&&(e=function(){return undefined}),undefined!==t){var o=n.NSTypes.iGetAsDino(t,r,u);return undefined!==o?o.vtGetValeurDirect():f(t)}return e()}t.dRectangleArrondi=u;t.dCadre=f})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(t,i){return n.NSUtil.oGetProprieteSimple(t,i)}function s(t){return n.NSUtil.oGetProprieteSimple(function(){if(0<=t){if(t<=6)return clWDSQLManagerMain.GetVariableRequete(+t);if(t<=13)return WDDnDNatifChamp.prototype.s_oGetVariable(t-7);if(t<=16)return WDGesture.prototype.GetVariable(t-14)}return 0},null)}function h(t,i,r){var f=n.NSUtil.nGetEntier(r,0),e=n.NSChamps.oGetPage(t).oGetDocument(),u;if(i)if(u=n.NSUtil.GetElementParId(i,e,!1,!1),u)switch(f){case 0:return u.scrollLeft;case 1:return u.scrollTop}else return 0;else switch(f){case 0:return window.pageXOffset!==undefined?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft;case 1:return window.pageYOffset!==undefined?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}throw new n.CErreur(303,f);}function c(t){var i=l(t);i&&n.NSUtil.DonneFocus(i)}function l(t){var i=n.iGetAsRValue(t,0);if(i){if(n.NSChamps.bIsCObjet(i))return i.voGetHTMLElement();t=i.valueOf()}return n.NSUtil.bIsJQuery(t)?t.get(0):t instanceof HTMLElement?t:null}function a(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];alert(r(t,"\n"))}function v(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return confirm(r(t,"\n"))}function y(){f()}function p(){for(var n,i,u,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];n=f();n&&(i=n.ownerDocument,u=i.body,n.appendChild(i.createTextNode(r(e," "))),n.appendChild(i.createElement("br")),u.scrollTop=u.scrollHeight)}function w(){u(i)&&i.ownerDocument.defaultView.close();i=null}function r(t,i){return t.map(n.NSUtil.sToString).join(i)}function u(n){if(n)try{return!n.ownerDocument.defaultView.closed}catch(t){}return!1}function f(){var r,f,n,t;return u(i)||(r="_TW_",window.name===r&&(r+="_"),f=window.open("",r,"alwaysRaised=1,dependent=1,scrollbars=1,resizable=1,screenX=0,screenY=0,width=388,height=1"),f&&(n=f.document,t=n.body,0===t.childNodes.length&&(n.title=STD_TITRE_TRACE,t.style.backgroundColor="#ffd264",t.appendChild(n.createElement("pre")).appendChild(n.createTextNode(STD_INFO_TRACE))),i=t.appendChild(n.createElement("pre")),i.style.borderTop="thin solid #808080")),i}function b(t,i,r){function u(i,u){var s,f,o;if(i<e)throw new n.CErreur(601);for(s=Math.min(e,i),f=0;f<s;f++)o=t[f],o&&o.vSetValeur(u(f),r,{})}var f=n.NSUtil.tabMiseAPlatValeursMultiples(i),e=t.length,s=f.length;if(1===s){var h=f[0],c=n.NSValues.iAny2RValue(h),o=c.viGetAsTableau();
4o?u(o.nGetNbElements(),function(n){return o.iGetSousElementIndice(n)}):u(e,function(){return h})}else u(s,function(n){return f[n]})}function k(t){var i=n.NSTypes.iGetThis(t),r;if(i){if(null===i.vtGetValeurDirect())throw new n.CErreur(615);return r=n.iGetValeurInitiale(i,2),r.m_iOptions.m_bForceClone=!0,i.viGetDescriptionType().viCreation(r,undefined)}throw new n.CErreur(601);}function d(t,i,r,u){var f=4===arguments.length?r:undefined,o=4===arguments.length?u:r,s=n.NSValues.oAny2Natif(o);e(function(t){s(new n.NSTypes.CBuffer(t))},t,i,f)}function e(t,i,r,u){function o(t){if(t)throw new n.CErreur(1101);}function e(n,t,i){crypto.subtle.digest(n,t).then(i,c(i))}function s(t,i,r,u){o(n.NSUtil.bEdge);var f=c(u);window.crypto.subtle.importKey("raw",h(r),{name:"HMAC",hash:t},!1,["sign"]).then(function(n){window.crypto.subtle.sign("HMAC",n,i).then(u,f)},f)}function h(t){var i=n.NSTypes.oGetArrayBuffer(t),r,u;return undefined!=i?i:(r=String(t),u=Array.prototype.map.call(r,function(n){return n.charCodeAt(0)}),new Uint16Array(u))}function c(n){return function(){n(new ArrayBuffer(0))}}o(n.NSUtil.bIE||undefined===window.crypto||undefined===window.crypto.subtle);var f=h(r);switch(n.NSUtil.nGetEntier(i,-1)){case 16:o(n.NSUtil.bEdge);e("SHA-1",f,t);break;case 17:e("SHA-256",f,t);break;case 18:e("SHA-384",f,t);break;case 19:e("SHA-512",f,t);break;case 20:e("SHA-256",f,function(n){e("SHA-256",n,t)});break;case 272:o(n.NSUtil.bEdge);s("SHA-1",f,u,t);break;case 273:s("SHA-256",f,u,t);break;case 274:s("SHA-384",f,u,t);break;case 275:s("SHA-512",f,u,t);break;default:throw new n.CErreur(303,i);}}function g(t,i,r,u,f){var o=5===arguments.length?u:undefined,s=5===arguments.length?f:u,h=n.NSValues.oAny2Natif(s),c=n.NSTypes.xoGetArrayBuffer(r);e(function(n){h(nt(n,c))},t,i,o)}function nt(t,i){var r;if(t.byteLength!==i.byteLength)return!1;var u=new Uint32Array(t),f=new Uint32Array(i),e=u.length;for(r=0;r<e;r++)if(u[r]!=f[r])return!1;return!0}function tt(t,i,r){var c,u,f,l,y,a,e,o;if(i===void 0&&(i=1),c=n.NSTypes.xoGetArrayBuffer(t),u=n.NSUtil.nGetEntier(i,1),f=arguments.length<3?0===u?1024:16:n.NSUtil.nGetEntier(r,16),f&=-257,l=512!=(f&512),f&=-513,0===f&&(f=16),y=1024!=(f&1024),0!==u){if(a=" ",1!==u&&2!==u&&4!==u)throw new n.CErreur(303,u);}else a="",u=1;if(0!=c.byteLength%u)throw new n.CErreur(204);var s="",v=0,h=new DataView(c),p=h.byteLength;for(e=0;e<p;e+=u){0<e&&(y&&f<=v?(s+="\r\n",v=0):s+=a);o=void 0;switch(u){default:case 1:o=h.getUint8(e);break;case 2:o=h.getUint16(e,l);break;case 4:o=h.getUint32(e,l)}s+=n.NSUtil.sCompleteEntier(o,u*2,16).toUpperCase();v+=u}return s}function it(t,i,r){var s,f,e,h,o;i===void 0&&(i=1);r===void 0&&(r=0);var l=n.NSUtil.nGetEntier(r,0),c=512!=(l&512),u=n.NSUtil.nGetEntier(i,1);if(0!==u){if(1!==u&&2!==u&&4!==u)throw new n.CErreur(303,u);}else u=1;if(s=String(t),null!=s.match(/[^[0-9A-Za-f\s]/g))throw new n.CErreur(204);return f=[],e=u*2,s.replace(/\s+/g,"-").split("-").forEach(function(t){for(var r,u=t.length,i=0;i<u;i+=e){if(r=t.substring(i,i+e),r.length!==e)throw new n.CErreur(204);f.push(parseInt(r,16))}}),h=new ArrayBuffer(f.length*u),o=new DataView(h),f.forEach(function(n,t){switch(u){default:case 1:o.setUint8(t*u,n);break;case 2:o.setUint16(t*u,n,c);break;case 4:o.setUint32(t*u,n,c)}}),new n.NSTypes.CBuffer(h)}t.iGetClasseProprieteStatique=o;t.oGetVariableComposante=s;t.AscenseurPosition=h;t.DonneFocus=c;t.Info=a;t.Confirmer=v;t.TraceDebut=y;t.Trace=p;t.TraceFin=w;var i=null;t.SetValeurMultiple=b;t.Clone=k;t.HashChaine=d;t.HashVerifieChaine=g;t.BufferVersHexa=tt;t.HexaVersBuffer=it})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(n,t,r){var f=i(n);return u(f,f.viGetEnumerationDepuisNom(String(t)),r,t)}function o(t,r,f){var e=i(t);return u(e,e.viGetEnumerationDepuisValeur(n.NSValues.oAny2Natif(r)),f,r)}function s(n,t){return!!i(n).viGetEnumerationDepuisNom(String(t))}function h(t,r){return!!i(t).viGetEnumerationDepuisValeur(n.NSValues.oAny2Natif(r))}function c(t,i,u){u===void 0&&(u=0);var e=r(t);return f(e,e.viGetCombinaisonDepuisNom(String(i),n.NSUtil.nGetEntier(u,0),!1),i)}function l(t,i){var u=r(t);return f(u,u.viGetCombinaisonDepuisValeur(n.NSValues.oAny2Natif(i)),i)}function a(n,t){return!!r(n).viGetCombinaisonDepuisNom(String(t),1,!0)}function i(t){if(n.NSTypes.bIsDescriptionEnumeration(t))return t;throw new n.CErreur(601);}function r(t){if(n.NSTypes.bIsDescriptionCombinaison(t))return t;throw new n.CErreur(601);}function u(t,i,r,u){if(i)return i;if(undefined!==r)return t.viCreationCopie(r,0);throw new n.CErreur(901,u);}function f(n,t){return t?t:n.viCreation()}t.EnumerationDepuisNom=e;t.EnumerationDepuisValeur=o;t.EnumerationVerifieNom=s;t.EnumerationVerifieValeur=h;t.CombinaisonDepuisNom=c;t.CombinaisonDepuisValeur=l;t.CombinaisonVerifieNom=a})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(t,u,e,o){var s=h(n.NSValues.oAny2Natif(t)),v=c(n.NSValues.oAny2Natif(u)),y=l(n.NSValues.oAny2Natif(e)),p=a(n.NSValues.oAny2Natif(o));if(s&&v&&y&&!isNaN(p)){var b=0!=(p&1),k=new f(s,v,y,b),w=r;return r++,i[w]=k,w}return 0}function o(n){var t=i[n];return t?(t.Libere(),delete i[n],!0):!1}function s(t,i){return n.NSUtil.bStopPropagationCond(t,0!=(i&1),0!=(i&2))}function h(n){switch(typeof n){case"string":try{var t=eval(n);if(t&&typeof t=="function")return t}catch(i){}return null;case"function":return n;default:return null}}function c(n){var i,t;switch(typeof n){case"string":return(i=document.getElementById(n),i)?i:(t=document.getElementsByName(n),t&&t.length&&t[0])?t[0]:null;case"number":switch(n){case 0:return window;case 1:return window.document;case 2:return window.document.body;case 3:return document.forms[0]}default:return n}}function l(t){switch(typeof t){case"number":return u[t];case"string":return t;case"object":if(n.NSUtil.bIsArray(t)&&1<t.length)return t[1];default:return t}}function a(n){switch(typeof n){case"number":return n;default:return parseInt(n,10)}}
4var r=1,i={},u,f;t.nEvenement=e;t.bFinEvenement=o;t.bInterruptionEvenement=s;u=["click","dblclick","mousedown","mouseup","mousemove","mouseout","mouseover","keydown","keypress","keyup","focus","blur","change","select","load","unload","reset","submit","resize","scroll","orientationchange","touchstart","touchmove","touchend","touchcancel","gesturestart","gesturechange","gestureend","beforeunload"];f=function(){function t(t,i,r,u){this.m_pfCallback=t;this.m_oCibleDOM=i;this.sEvent=r;this.m_bCapture=u;n.NSUtil.AttacheEvent(this.m_oCibleDOM,this.sEvent,this.m_pfCallback,this.m_bCapture,2)}return t.prototype.Libere=function(){n.NSUtil.DetacheEvent(this.m_oCibleDOM,this.sEvent,this.m_pfCallback,this.m_bCapture,2)},t}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,t,i,r,f,e,o,h){var c=s(n,t,i,r,f,e,o,h);try{c.Suivant()}catch(l){u(c);throw l;}return c}function s(t,r,u,f,e,o,s,h){var b,w,k,d;if(e===void 0&&(e=0),undefined!==t.nodeType)return new c(t,r,u,f,e);if(n.NSChamps.bIsChampRebondFrameworkV1(t)&&(b=t.m_iChampFrameworkV1,"undefined"!=typeof WDTableZRNavigateur&&b instanceof WDTableZRNavigateur))return new l(b,r,u,f,e);if(w=n.NSValues.iAny2RValue(t,2),k=w.viGetAsTableauAssociatif(),k)return new a(k,r,u,f,e,o);if(d=w.viGetAsTableau(),d)return new v(d,r,u,f,e);switch(w.veGetTypeWL()){case 16:return s?new p(String(w),r,u,f,e,o,h):new y(String(w),r,u,f,e,o);case 62:case 34:case 142:default:return new i(t,r,u,f,e)}}function u(t){t&&(t.vLibere(),n.NSUtil.SupprimeDansTableau(r,t,!0))}function h(t){return n.NSUtil.oDansTableauFct(r,function(n){return n.oGetCibleSansType()===t},null)}function w(n,t){return 0!=(t&1)&&n&2&&(n-=2),n}function b(n,t,i){var o=0!=(i&2),f,e,r,u;for(0!=(i&4)&&(n=n.toLowerCase(),t=t.toLowerCase()),f=[],e=/\W/,r=n.indexOf(t);-1!==r;r=n.indexOf(t,r+1)){if(o){if(u=r-1,0<=u&&null===n.charAt(u).match(e))continue;if(u=r+t.length,u<n.length&&null===n.charAt(u).match(e))continue}f.push(r+1)}return f}var r;t.ms_oElementCourant={};r=[];t.iDeclareIterateur=o;t.LibereIterateur=u;t.iGetIterateur=h;var i=function(){function t(n,t,i,u,f){this.m_tCible=n;this.m_iValeur=t;this.m_iCle=i;this.m_iCompteur=u;this.m_nCompteur=-1;this.m_nCompteurSuppression=0;this.m_bFini=!1;this.m_bValeur=!!(f&1);this.m_bAscendant=!!(f&2);this.m_bSelectionne=!!(f&4);r.push(this);this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationDebut(this)}return t.prototype.Suivant=function(){this.m_nCompteur++;var t=this.m_nCompteur<this._vnGetNbElements(),n=this._vbSuivant(t);n&&this._vSetValeurCleCompteur();this.m_bFini=!n},t.prototype.bEstFini=function(){return this.m_bFini},t.prototype.vLibere=function(){this.m_iValeur&&!this.m_bValeur&&this.m_iValeur.IterationFin()},t.prototype.vSetValeurDepuisVariable=function(t,i,r){n.NSUtil.xVerifieAffectationAucune(n.iGetValeurAffectation(t,i,r))},t.prototype.oGetCibleSansType=function(){return this.m_tCible},t.prototype.viGetSousValue=function(){return null},t.prototype.vnGetCompteur=function(){return this.m_nCompteur},t.prototype.vNotifieSuppressionCourant=function(){this.m_nCompteur--;this.m_nCompteurSuppression++},t.prototype._vbSuivant=function(n){return n},t.prototype._vSetValeurCleCompteur=function(){this.m_iCompteur&&this.m_iCompteur.vSetValeur(this._nGetCompteurWL(),3,{})},t.prototype._nGetCompteurReel=function(){return this.m_bAscendant?this.m_nCompteur:this._vnGetNbElements()-this.m_nCompteur-1},t.prototype._vnGetNbElements=function(){return 0},t.prototype._nGetCompteurWL=function(){return this.m_nCompteur+this.m_nCompteurSuppression+1},t}(),c=function(t){function i(i,r,u,f,e){var o,s;return e===void 0&&(e=0),o=t.call(this,i,r,u,f,e)||this,o.m_tabSelection=[],s=[],n.NSUtil.bForEach(i.options,function(n,t){return n.selected&&(s.push(t),n.selected=!1),!0}),o.m_tabSelection=s,o}return __extends(i,t),i.prototype.vLibere=function(){var n=this.m_tCible,i=n.options;n.selectedIndex=-1;this.m_tabSelection.forEach(function(n){i[n].selected=!0});t.prototype.vLibere.call(this)},i.prototype._vbSuivant=function(n){return n&&(this.m_tCible.selectedIndex=this._nGetValeur()
4),n},i.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this._nGetValeur()+1,3,{m_bAffectationDepuisIterateur:!0});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_bSelectionne?this.m_tabSelection.length:this.m_tCible.options.length},i.prototype._nGetValeur=function(){var n=this._nGetCompteurReel();return this.m_bSelectionne?this.m_tabSelection[n]:n},i}(i),l=function(t){function i(i,r,u,f,e){e===void 0&&(e=0);var o=t.call(this,i,r,u,f,e)||this;return o.m_nLigne=0,o.m_nForceSelectionInitial=o.m_tCible.nGetForceSelection(),o}return __extends(i,t),i.prototype.vLibere=function(){this.m_tCible.ForceSelection(this.m_nForceSelectionInitial);t.prototype.vLibere.call(this)},i.prototype._vbSuivant=function(n){var t,i;return n&&(i=this._nGetCompteurReel(),t=this.m_bSelectionne?this.m_tCible.Select(i+1)-1:i),undefined!==t?(this.m_tCible.ForceSelection(t),this.m_nLigne=t,!0):(this.m_nLigne=0,!1)},i.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_nLigne+1,3,{m_bAffectationDepuisIterateur:!0});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_bSelectionne?this.m_tCible.SelectOccurrence():this.m_tCible.Occurrence()},i}(i),f=function(n){function t(){var t=n!==null&&n.apply(this,arguments)||this;return t.m_iElement=null,t}return __extends(t,n),t.prototype.vSetValeurDepuisVariable=function(n,t,i){this.m_iElement.vSetValeur(n,t,i)},t.prototype.viGetSousValue=function(){return this.m_iElement},t.prototype._vbSuivant=function(n){return this.m_iElement=n?this._viGetElement(this._nGetCompteurReel()):null,!!this.m_iElement},t.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_iElement,3,{m_bAffectationDepuisIterateur:!0});n.prototype._vSetValeurCleCompteur.call(this)},t}(i),a=function(n){function t(t,i,r,u,f,e){var o=n.call(this,t,i,r,u,f)||this;return o.m_oCleFiltre=null,o.m_oCleElement={m_oCle:undefined},null!==e&&undefined!==e&&(o.m_oCleFiltre=t.oGetCle(e)),o}return __extends(t,n),t.prototype._vbSuivant=function(n){return this.m_iElement=n?this.__iGetElement(this._nGetCompteurReel(),this.m_oCleElement):null,!!this.m_iElement},t.prototype._vSetValeurCleCompteur=function(){this.m_iCle&&this.m_iCle.vSetValeur(this.m_oCleElement.m_oCle,3,{m_bAffectationDepuisIterateur:!0});n.prototype._vSetValeurCleCompteur.call(this)},t.prototype._vnGetNbElements=function(){return this.m_oCleFiltre?this.m_tCible.nGetNbElementsCle(this.m_oCleFiltre):this.m_tCible.nGetNbElements()},t.prototype._viGetElement=function(n){return this.__iGetElement(n)},t.prototype.__iGetElement=function(n,t){if(this.m_oCleFiltre){var i=this.m_tCible.viGetSousElement(0,[this.m_oCleFiltre.m_iCle,n+1]);return i&&t&&(t.m_oCle=this.m_oCleFiltre.m_iCle),i}return this.m_tCible.iGetSousElementIndice(n,t)},t}(f),v=function(t){function i(i,r,u,f,e){var o=t.call(this,i,r,u,f,e)||this;return r instanceof n.NSValues.CVariablePourIterateur&&r.CorrigeType(i.iGetDescriptionElement()),o}return __extends(i,t),i.prototype._vSetValeurCleCompteur=function(){this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});t.prototype._vSetValeurCleCompteur.call(this)},i.prototype._vnGetNbElements=function(){return this.m_tCible.nGetNbElements()},i.prototype._viGetElement=function(n){return this.m_tCible.iGetSousElementIndice(n)},i}(f),e=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype._vSetValeurCleCompteur=function(){this.m_iValeur&&this.m_iValeur.vSetValeur(this.m_tCible[this._nGetCompteurReel()],3,{});this.m_iCle&&this.m_iCle.vSetValeur(this._nGetCompteurReel()+1,3,{});n.prototype._vSetValeurCleCompteur.call(this)},t.prototype._vnGetNbElements=function(){return this.m_tCible.length},t}(i),y=function(t){function i(i,r,u,f,e,o){e===void 0&&(e=0);o===void 0&&(o="\t");var s=t.call(this,0<i.length?i.split(String(o)):[],r,u,f,e)||this;return s.m_sSeparateur=String(o),s}return __extends(i,t),i.prototype._vSetValeurCleCompteur=function(){if(t.prototype._vSetValeurCleCompteur.call(this),this.m_iCle){var i=void 0,n=this._nGetCompteurReel();i=0===n?1:this.m_tCible.slice(0,n).join("").length+n*this.m_sSeparateur.length+1;this.m_iCle.vSetValeur(i,3,{})}},i}(e),p=function(t){function i(i,r,u,f,e,o,s){e===void 0&&(e=0);o===void 0&&(o="\t");s===void 0&&(s=0);var h=t.call(this,b(i,String(o),s),r,u,f,w(e,s))||this;return h}return __extends(i,t),i}(e)})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(t,i){return l(t,i,function(t){return n.NSUtil.xoEvalJSON(t,!1)})}function o(t,i,r){var o=String(t),s=String(i),f="Requete_"+e++,u=document.createElement("script");u.src=o+(o.indexOf("?")===-1?"?":"&")+s+"="+f;u.charset="UTF-8";window[f]=function(t){var i=n.NSValues.oAny2Natif(r);i(t);n.NSUtil.oSupprimeElement(u);window[f]=null};u=document.body.appendChild(u)}function i(t){var i=String(t);try{return n.NSUtil.xoEvalJSON(i,!1)}catch(r){throw new n.CErreur(607);}}function r(t){return n.NSUtil.xsStringifyJSON(t,!0)}function s(t){var r=String(t),i=n.NSTypes.oGetDescriptionDINO(0,16).m_oDescriptionStatique;try{return i.viCreation(n.iGetValeurInitiale(r,0))}catch(u){return i.viCreation()}}function h(t,i,u){if(1024!==u)throw new n.CErreur(303,u);if("object"!=typeof i||undefined===i.vSetValeur)throw new n.CErreur(608);i.vSetValeur(r(t),0,{})}function c(r,u,f){if(1024!==f)throw new n.CErreur(303,f);if("object"!=typeof r||undefined===r.vSetValeur)throw new n.CErreur(609);var e=i(u);try{t.bDansDeserialisation=!0;r.vSetValeur(e,4,{})}finally{t.bDansDeserialisation=!1}}function l(t,i,r){var e=String(t),u={m_eMethodeHTTP:1,m_sURL:e,m_sContenu:"",m_oInterne:null},f;return undefined===i?(f=n.NSAjax.oRequeteSynchroneTexte(u),r(f.m_sResultat)):(n.NSAjax.nRequeteAsynchroneTexte(u,function(t){var u=n.NSValues.oAny2Natif(i);u(r(t.m_sResultat))}),null)}function a(t,i){var e=v(t),r=null,f;if(i&&(f=n.NSValues.oAny2Natif(i),f instanceof Function&&(r=f)),r)n.NSAjax.nRequeteAsynchroneTexte(e,function(n){r(u(n))});else return u(n.NSAjax.oRequeteSynchroneTexte(e))}function v(t){var r=n.NSValues.iAny2RValue(t),i,u;if(r instanceof n.NSTypes.CHTTPRequete){if(i=r.valueOf(),i)return u={m_eMethodeHTTP:i.m_eMethodeHTTP,m_sURL:i.m_sURL,m_sContenu:i.m_sContenu,m_oEntetesHTTPSupplementaires:n.NSUtil.oCloneSimple(i.m_oEntete),m_sUtilisateur:i.m_sUtilisateur,m_sMotDePasse:i.m_sMotDePasse,m_bContenuReponseBrut:i.m_bContenuReponseBrut,m_pfAvancementEnvoi:i.m_oAvancementEnvoi.m_oProcedure?i.m_oAvancementEnvoi.m_oProcedure.valueOf():undefined,m_pfAvancementTelechargement:i.m_oAvancementTelechargement.m_oProcedure?i.m_oAvancementTelechargement.m_oProcedure.valueOf():undefined,m_oInterne:null},i.m_sContentType&&(u.m_oEntetesHTTPSupplementaires["Content-Type"]=i.m_sContentType),u}else if(16===r.veGetTypeWL())return{m_eMethodeHTTP:1,m_sURL:String(r),m_sContenu:"",m_oInterne:null};throw new n.CErreur(601);}function u(t){var i=n.NSTypes.oGetDescriptionDINO(10,31).m_oDescriptionDynamique.viCreation();return i.vSetValeurDirect(t.m_oXMLHttpRequest),i}t.JSONExecute=f;var e=0;t.JSONExecuteExterne=o;t.JSONVersVariant=i;t.VariantVersJSON=r;t.ChaineVersJSON=s;t.Serialise=h;t.bDansDeserialisation=!1;t.Deserialise=c;t.HTTPEnvoie=a})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,r){var u=n.NSUtil.bGetBooleen(i),f=n.NSUtil.bGetBooleen(r);switch(t){case 0:return u&&f;case 1:return u||f}}t.oLogique=i})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(){return n.NSUtil.bRWD?$.wb.nGetTrancheActiveIndiceWL(!0):1}function f(){return Math.max(document.documentElement.clientWidth,window.innerWidth||0)}function e(){return Math.max(document.documentElement.clientHeight,window.innerHeight||0)}function o(n,t,i){t===void 0&&(t=window.document.title);r(window.history.pushState,n,t,i)}function s(n,t,i){r(window.history.replaceState,n,t,i)}function r(t,r,u,f){if(t){undefined===i&&(i=document.title);var e=String(u),o=[{oDonnees:n.NSValues.oAny2Natif(r),sTitre:e},e];undefined!==f&&o.push(String(f));t.apply(window.history,o);document.title=e}}function h(){n.NSUtil.AttacheEvent(window,"popstate",function(t){var u=null,r;t.state?(u=t.state.oDonnees,r=t.state.sTitre,undefined!==r&&(document.title=r)):undefined!==i&&(document.title=i);n.NSUtil.pfGetTraitement(n.NSChamps.oGetPageCourante().sGetAlias(),81,undefined)(t,u)},!0)}t.NavigateurTranche=u;
4t.NavigateurLargeur=f;t.NavigateurHauteur=e;t.NavigateurHistoriqueAjoute=o;t.NavigateurHistoriqueModifie=s;var i;t.BindPopState=h})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(t,i,r){var e=c[t],f,u=n.iGetAsRValue(i,1);if(u){if(n.NSTypes.bIsNumerique(u))return e.m_pfNumerique(u,r);f=u.vnToNumber(0)}else f=Number(i);return e.m_pfNatif(f,r)}function i(n){return Math.abs(n)}function l(t,i){var u=n.NSUtil.nGetEntier(i,0),f=t<0?-1:1,r=Math.pow(10,u)*f;return Math.round(t*r)/r}function r(n){return(0<=n?Math.floor:Math.ceil)(n)}function a(n){return n<0}function u(n){return!(n&1)}function v(n){return!!(n&1)}function y(n){return Math.floor(Math.log(n)/Math.LN10)}function f(n){return Math.floor(n)}function p(n){var t=i(n);return t-f(t)}function w(t,i){var u=n.NSUtil.nGetEntier(i,0),r=Math.pow(10,u);return Math.floor(t*r)/r}function b(t,i){var u=n.NSUtil.nGetEntier(i,0),r=Math.pow(10,u);return Math.ceil(t*r)/r}function e(n){return n.oAbsolue()}function k(t,i){return t.oArrondi(n.NSUtil.nGetEntier(i,0))}function d(n){return n.oArrondiVersZero()}function g(n){return n.bEstNegatif()}function o(n){return n.bEstPair()}function nt(n){return!o(n)}function tt(n){return n.nLog10Arrondi()}function it(n){return n.oPartieEntiere()}function rt(n){var t=e(n);return t.oSoustractionNumerique(t.oPartieEntiere())}function ut(t,i){return t.oArrondiInferieur(n.NSUtil.nGetEntier(i,0))}function ft(t,i){return t.oArrondiSuperieur(n.NSUtil.nGetEntier(i,0))}function et(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(t,!0)}function ot(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return s(t,!1)}function s(n,i){return n.reduce(function(n,r){return t.bComparaison(n,r,!1,i,!1,!1)?r:n})}function st(t){var i=n.NSUtil.sRemplaceEspaces(n.NSUtil.sSupprimeEspacesDebutFin(String(t)),"_"),r=parseFloat(i);return isNaN(r)?0:i!==String(r)?n.NSTypes.ms_DescriptionNumeriqueAuto.viCreationCopie(i.replace(/,/g,"|"),0):r}t.oNumerique=h;var c=[{m_pfNatif:i,m_pfNumerique:e},{m_pfNatif:l,m_pfNumerique:k},{m_pfNatif:r,m_pfNumerique:d},{m_pfNatif:a,m_pfNumerique:g},{m_pfNatif:u,m_pfNumerique:o},{m_pfNatif:v,m_pfNumerique:nt},{m_pfNatif:y,m_pfNumerique:tt},{m_pfNatif:f,m_pfNumerique:it},{m_pfNatif:p,m_pfNumerique:rt},{m_pfNatif:w,m_pfNumerique:ut},{m_pfNatif:b,m_pfNumerique:ft}];t.nArrondiVersZero=r;t.bEstPair=u;t.oMin=et;t.oMax=ot;t.Val=st})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(t,u,f,e){var o,c;if("undefined"==typeof WebSocket)throw new n.CErreur(800);var s=String(t),l=String(u),a=n.NSValues.oAny2Natif(f),h;if(e&&(o=n.NSValues.oAny2Natif(e),"string"==typeof o?h=[o]:n.NSUtil.bIsArray(o)&&(h=o)),c=i[s],c)throw new n.CErreur(801,s);else i[s]=new r(l,a,h)}function f(t,r){var u=String(t),e=String(r),f=i[u];if(f)return f.bEcrit(u,e);throw new n.CErreur(802,u);}function e(n){var t=String(n),r=i[t];return!!r}function o(t){var r=String(t),u=i[r];if(u)u.Ferme(),delete i[r];else throw new n.CErreur(803,r);}var i={},r;t.SocketConnecte=u;t.SocketEcrit=f;t.SocketExiste=e;t.SocketFerme=o;r=function(){function t(n,t,i){try{this.m_oSocket=new WebSocket(n,i)}catch(r){t(3,r.message);return}this.m_oSocket.onopen=function(){return t(0,this.protocol)};this.m_oSocket.onmessage=function(n){return t(1,n.data)};this.m_oSocket.onclose=function(n){return t(2,String(n.code))};this.m_oSocket.onerror=function(){return t(3,"")}}return t.prototype.bEcrit=function(t,i){switch(this.m_oSocket.readyState){case this.m_oSocket.CONNECTING:throw new n.CErreur(804,t);case this.m_oSocket.OPEN:try{this.m_oSocket.send(i)}catch(r){return!1}return!0;case this.m_oSocket.CLOSING:case this.m_oSocket.CLOSED:default:throw new n.CErreur(805,t);}},t.prototype.Ferme=function(){try{this.m_oSocket.close()}catch(n){}},t}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n,t,u,e){u===void 0&&(u="\r\n");e===void 0&&(e="\t");r(t,function(t){var i;f(t,"Cha\u00eeneVersTableau","StringToArray");i=1!==t.nGetNbDimensions();t.xiGetTableauSupprime().SupprimeTout();var r=String(n),o=String(u),s=String(e);
4r.split(o).forEach(function(n,r){var u=i?n.split(s):[n];0===r&&i&&t.xRedimensionne([0,u.length]);t.nAjouteLigne(u)})},i,i)}function g(n,t,i){return i===void 0&&(i="\t"),o(n,t,"\r\n",i)}function nt(n){return n<"\t"||n>"\r"&&n<" "||n>" "&&n<"0"||n>"9"&&n<"A"||n>"Z"&&n<"a"||n>"z"&&n<"\u0083"||n>"\u0083"&&n<"\u008c"||n=="\u008d"||n>"\u008e"&&n<"\u0099"||n=="\u009b"||n=="\u009d"||n>"\u009f"&&n<"\u00aa"||n>"\u00aa"&&n<"\u00b2"||n>"\u00b3"&&n<"\u00b9"||n=="\u00bb"||n=="\u00bf"||n=="\u00d7"||n=="\u00f7"}function s(n){return!nt(n)&&n!==" "&&n!=="\t"&&n!=="\r"&&n!=="\n"}function h(n,t){for(var r=String(n),i=0,f=0,u,e,o;i<r.length;){while(i<r.length&&!s(r[i]))i++;if(i<r.length){for(u=i;u<r.length&&s(r[u]);)u++;f++;typeof t!="string"&&(e=r.substring(i,u),o=t,o.nAjouteLigne([e]),i=u);i=u}}return f}function tt(n,t){r(t,function(t){t.xRedimensionne([0]);h(n,t)},i,i)}function it(n){return h(n,"")}function rt(t){for(var u=[],i=1;i<arguments.length;i++)u[i-1]=arguments[i];return r(t,function(t){if(0===u.length)return t.nGetNbElements();t.xRedimensionne(n.NSTypes.tabGetDimensionsEffectives(u))},ri,function(n){return 16===n.veGetTypeWL()?n.toString().length:0})}function ut(n,t){return r(n,function(n){return u(n,"TableauAjoute","ArrayAdd"),n.nAjouteLigne([t])+1},i,i)}function ft(n){for(var u=[],t=1;t<arguments.length;t++)u[t-1]=arguments[t];return r(n,function(n){return f(n,"TableauAjouteLigne","ArrayAddLine"),n.nAjouteLigne(u)+1},i,i)}function et(n,t){return r(n,function(n){return u(n,"TableauAjouteTri\u00e9","ArrayAddSorted"),n.xiGetTableauTri().nAjouteTrie(t)+1},i,i)}function ot(n,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return a(n,function(n,i){return i.nCherche(t,r)})}function st(n,t,i,r){for(var e=[],f=4;f<arguments.length;f++)e[f-4]=arguments[f];return a(n,function(n,f){return u(n,"TableauChercheParProc\u00e9dure","ArraySeekByProcedure"),f.nChercheProcedure(t,i,r,e)})}function ht(t,u,f,e){var o,s,h,c;if(r(t,function(n){o=n},function(n){h=n},i),r(u,function(n){s=n},function(n){c=n},i),o&&s)s.xCopieDepuis(o,f,e);else if(h&&c)c.xCopieDepuis(h);else throw new n.CErreur(601);}function ct(n,t,f,e){r(n,function(n){u(n,"TableauD\u00e9place","ArrayMove");v(n,t,f,p(e))},i,i)}function c(n,t,u,f){r(n,function(n){b(n,"TableauD\u00e9placeLigne","ArrayMoveLine");v(n,t,u,p(f))},i,i)}function lt(n,t,i){c(n,t,i,-2147483648)}function at(t,u,f){var e=n.NSUtil.nGetEntier(u);return r(t,function(t){var i=t.nGetNbDimensions(),r;switch(e){case 1:return i;case 2:return r=undefined===f?0:n.NSUtil.nGetEntier(f,0)-1,0<=r&&r<i?t.nGetUneDimension(r):0;case 3:return t.eTypeElement();case 6:return t.bDynamique();case 7:return t.nGetNbElements();case 8:return 2===i?t.nGetUneDimension(0):0;case 9:return 2===i?t.nGetUneDimension(1):0;case 10:return!1;case 11:return 0;default:return 0}},function(n){switch(e){case 1:return 1;case 2:return n.nGetNbElements();case 3:return n.eTypeElement();case 6:return!1;case 7:return n.nGetNbElements();case 8:return 0;case 9:return 0;case 10:return n.bAvecDoublon();case 11:return n.eTypeCle();default:return 0}},i)}function vt(t,f,e){r(t,function(t){u(t,"TableauIns\u00e8re","ArrayInsert");var i=n.NSUtil.xnGetIndiceC(f,t.nGetUneDimension(0),t.eGetModeAgrandissement(),NaN);t.Insere(i,e)},function(n){n.viGetSousElement(0,[f]).vSetValeur(e,0,{})},i)}function yt(t,u){for(var o=[],e=2;e<arguments.length;e++)o[e-2]=arguments[e];r(t,function(t){f(t,"TableauIns\u00e8reLigne","ArrayInsertLine");var i=n.NSUtil.xnGetIndiceC(u,t.nGetUneDimension(0),t.eGetModeAgrandissement(),NaN);t.InsereLigne(i,o)},i,i)}function pt(n){r(n,function(n){for(var i=n.nGetUneDimension(0)-1,r=Math.ceil(i/2),t=0;t<r;t++)y(n,t,i-t,!0)},function(n){n.Inverse()},i)}function wt(n){r(n,function(n){for(var i,r=n.nGetNbElements(),t=r-1;0<t;t--)i=Math.floor(Math.random()*(t+1)),n.Echange(t,i)},i,i)}function bt(n){return r(n,function(n){return n.nGetUneDimension(0)},function(n){return n.nGetNbElements()},i)}function kt(n,t){return r(n,function(n){return u(n,"TableauSupprime","ArrayDelete"),w(n,t)},function(n){return n.nSupprime(t)},i)}function dt(t,u,f){u===void 0&&(u=1);var e=n.NSUtil.nGetEntier(u,1);r(t,function(n){n.xiGetTableauTri().SupprimeDoublon(e,f)},i,i)}function gt(n,t){r(n,function(n){b(n,"TableauSupprimeLigne","ArrayDeleteLine");w(n,t)},i,i)}function ni(n){r(n,function(n){n.xiGetTableauSupprime().SupprimeTout()},function(n){n.SupprimeTout()},i)}function ti(t,u,f){u===void 0&&(u=1);var e=n.NSUtil.nGetEntier(u,1);r(t,function(n){n.xiGetTableauTri().Trie(e,f)},function(n){n.Trie(e,f)},i)}function l(t,u,f){return u===void 0&&(u="\r\n"),f===void 0&&(f="\t"),r(t,function(t){var i=t.nGetNbDimensions(),r=[Str
4ing(u),String(f)];if(r.length<i)throw new n.CErreur(205);return function e(n,u){for(var f=t.nGetUneDimension(n),c=i-1===n,o=u*f,h=new Array(f),s=0;s<f;s++,o++)h[s]=c?String(t.iGetSousElementIndice(o)):e(n+1,o);return h.join(r[n])}(0,0)},i,i)}function ii(n,t){return t===void 0&&(t=";"),l(n,undefined,t)}function a(n,t){return r(n,function(n){var i=t(n,n.xiGetTableauCherche());return-1===i?-1:i+1},i,i)}function r(t,i,r,u){var f=n.NSValues.iAny2RValue(t),o=f.viGetAsTableau(),e;return o?i(o):(e=f.viGetAsTableauAssociatif(),e)?r(e):u(f)}function ri(){return 0}function i(){throw new n.CErreur(601);}function v(t,i,r,u){var f=t.nGetUneDimension(0),e=n.NSUtil.xnGetIndiceC(i,f,0,NaN),o=n.NSUtil.xnGetIndiceC(r,f,0,NaN);y(t,e,o,u)}function y(n,t,i,r){var f=n.nGetDimension0Pas(),u=t*f,e=i*f,o;if(r)for(o=u+f;u<o;u++,e++)n.Echange(u,e);else n.DeplaceLigne(u,e)}function p(t){t===void 0&&(t=0);switch(n.NSUtil.nGetEntier(t)){case-2147483648:return!0;case 0:return!1;default:throw new n.CErreur(303,String(t));}}function w(i,r){var f=i.nGetUneDimension(0),u=null,e;switch(r){case t.ms_oElementCourant:if(u=t.iGetIterateur(i),u)r=u.vnGetCompteur()+1;else throw new n.CErreur(606);break;case 2271560482:case-2023406814:r=f}return e=i.xiGetTableauSupprime().nSupprime(n.NSUtil.xnGetIndiceC(r,f,0,NaN)),u&&u.vNotifieSuppressionCourant(),e}function u(t,i,r){if(1!==t.nGetNbDimensions())throw new n.CErreur(211,i,r);}function f(t,i,r){switch(t.nGetNbDimensions()){case 1:case 2:return;default:throw new n.CErreur(212,i,r);}}function b(t){if(t.nGetNbDimensions()<2)throw new n.CErreur(213,"TableauSupprimeLigne","ArrayDeleteLine");}function e(n,i){var r,u;if(n.length===0)return 0;for(r=0,u=0;u<n.length;u++)r=t.oBinaire(0,n[u],r);return i?r:t.oBinaire(3,r,n.length)}function k(n,t,i){for(var u=n.nGetUneDimension(0),o=n.nGetDimension0Pas(),f=new Array(u),r=0;r<u;r++)f[r]=n.iGetSousElementIndice(r*o+t);return e(f,i)}function ui(n,t){return k(n,0,t)}function fi(n,t,i){for(var f,u=new Array(n.nGetNbElements()),r=0;r<n.nGetNbElements();r++)f=n.iGetSousElementIndice(r).viGetMembre(t,!1,undefined),u[r]=f;return e(u,i)}function d(n,t){var u=n[0];return r(u,function(i){f(i,t?"Somme":"Moyenne",t?"Sum":"Mean");switch(typeof n[1]){case"number":return k(i,n[1]-1,t);case"string":return fi(i,n[1],t);default:return ui(i,t)}},i,function(){return e(n,t)})}function ei(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return d(t,!1)}function oi(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return d(t,!0)}t.ChaineVersTableau=o;t.CSVVersTableau=g;t.MotVersTableau=tt;t.nMotOccurrence=it;t.Dimension=rt;t.nTableauAjoute=ut;t.nTableauAjouteLigne=ft;t.nTableauAjouteTrie=et;t.nTableauCherche=ot;t.nTableauChercheProcedure=st;t.TableauCopie=ht;t.TableauDeplace=ct;t.TableauDeplaceLigne=c;t.TableauEchangeLigne=lt;t.oTableauInfo=at;t.TableauInsere=vt;t.TableauInsereLigne=yt;t.TableauInverse=pt;t.TableauMelange=wt;t.nTableauOccurrence=bt;t.nTableauSupprime=kt;t.TableauSupprimeDoublon=dt;t.TableauSupprimeLigne=gt;t.TableauSupprimeTout=ni;t.TableauTrie=ti;t.sVersChaine=l;t.sVersCSV=ii;t.nMoyenne=ei;t.nSomme=oi})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i){switch(t){case 0:return!n.NSUtil.bGetBooleen(i);default:case 1:return+n.NSUtil.dGetReel(i);case 2:return-n.NSUtil.dGetReel(i);case 3:return~n.NSUtil.nGetEntier(i)}}t.oUnaire=i})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function s(n,t,i,f){var e,o;f===void 0&&(f=null);var s=!!t,h=(new DOMParser).parseFromString(t,1===i?"text/html":"text/xml"),c=u(n,h,s);return s&&(e=t.indexOf("<?"),-1!==e&&(o=t.indexOf(r,e),-1!==o&&(c.m_sEntete=t.substring(e,o+r.length)))),!0}function h(n,t){var i=c(n,!0),r="";return i&&(0==(t&2)&&(r+=i.m_sEntete||'<?xml version="1.0" encoding="ISO-8859-1"?>',r+="\n"),r+=e(t&1&&i.m_oPosition?i.m_oPosition:i.m_oDocument.documentElement),r+="\n"),r}function u(n,t,r){var u,e;return r===void 0&&(r=!0),u=f(n),-1!==u&&i.splice(u,1),e=new o(n,t,r),i.push(e),e}function f(t){return n.NSUtil.nDansTableauFct(i,function(n){return n.m_sNomDocument===t})}function c(n,t,r){var e,u;return(t===void 0&&(t=!1),r===void 0&&(r=!1),e=f(n),-1!==e&&(u=i[e],!t||u.m_oDocument&&(r||u.m_oPosition)))?u:null}function e(t){var i,r;return a(t)?t.nodeValue||"":v(t)?t.data:l(t)?(i="<"+t.nodeName,n.NSUtil.bForEach(t.attributes,function(n){return i+=" "+n.nodeName+'="'+n.nodeValue+'"',!0}),r=0<t.childNodes.length,r?(i+=">",n.NSUtil.bForEach(t.childNodes,function(n){return i+=e(n),!0}),i+="<\/"+t.nodeName):i+="/",i+=">"):""}function l(n){return n.nodeType===Node.ELEMENT_NODE}function a(n){return n.nodeType===Node.TEXT_NODE}function v(n){return n.nodeType===Node.CDATA_SECTION_NODE}var i=[],r="?>",o;t.XMLDocument=s;t.XMLConstruitChaine=h;t.oXMLAjoutDoc=u;o=function(){function n(n,t,i){this.m_sNomDocument=n;this.m_oDocument=t;this.m_nAttribut=-1;this.m_oRechercheDebut=null;this.m_bDehors=!1;this.m_oPosition=i?this.m_oDocument.documentElement:null}return n.prototype.InitRechDoc=function(){this.m_oRechercheDebut=null;this.m_bDehors=!1},n}()})(t=n.NSOperations||(n.NSOperations={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(n){return 0===n}function i(n){return 1===n}n.bEstProprieteVM=t;n.bEstProprieteJS=i})(t=n.NSProprietes||(n.NSProprietes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){return k[n]||""}function d(i){var r=n.iGetAsRValue(i,1);return r?r.veGetTypeWL():t.iGetDescriptionTypePourNatif(i).veGetTypeWL()}function g(i){var r=n.iGetAsRValue(i,1),u;
4return r?(u=r.viGetAsRValueType(),u)?u.viGetDescriptionType():v(r.veGetTypeWL(),!1):t.iGetDescriptionTypePourNatif(i)}function o(t){return n.NSUtil.bIsObject(t)}function nt(n){return o(n)?n.m_eWL:n}function v(i,r){var e=nt(i),u,f;switch(e){case 5:return t.ms_DescriptionUI8;case 8:return t.ms_DescriptionI4;case 9:case 14:return t.ms_DescriptionI8;case 12:return t.ms_DescriptionR8;case 10:case 13:return t.ms_DescriptionNumeriqueDefaut;case 16:case 19:return t.ms_DescriptionChaine;case 24:case 128:return t.ms_DescriptionDate;case 25:case 129:return t.ms_DescriptionHeure;case 26:return t.ms_DescriptionDateHeure;case 31:return t.ms_DescriptionVariant}if(!r)switch(e){case 1:return t.ms_DescriptionBooleen;case 2:return t.ms_DescriptionUI1;case 3:return t.ms_DescriptionUI2;case 4:return t.ms_DescriptionUI4;case 6:return t.ms_DescriptionI1;case 7:return t.ms_DescriptionI2;case 11:return t.ms_DescriptionR8;case 27:return t.ms_DescriptionDuree;case 28:return t.ms_DescriptionBuffer;case 34:if(o(i)){if(i.m_oTypeWLSiTableau)return i.m_oTypeWLSiTableau;break}else break;case 37:return t.ms_DescriptionObjetDynamique;case 61:return t.ms_DescriptionFonction;case 107:return t.ms_DescriptionObjetNatif;case 111:if(o(i)){if(i.m_oTypeWLSiDINO)return u=i.m_oTypeWLSiDINO,f=t.oGetDescriptionDINO(u.m_eComposante,u.m_eDino),u.m_bDynamique?f.m_oDescriptionDynamique:f.m_oDescriptionStatique;break}else return t.ms_DescriptionObjetNatif;case 151:return t.ms_DescriptionRectangle}throw new n.CErreur(601);}function tt(t,i,r,u){function l(t){switch(t){case 2:case 6:return 8;case 3:case 7:return 16;default:case 4:case 8:return 32;case 5:case 9:case 14:return 64}}function a(n){return n-Math.floor(n/256)*256}var o=n.NSUtil.nGetEntier(r,1)-1,s=n.NSUtil.nGetEntier(u,1),h=l(t.veGetTypeWL()),f,e,c;switch(i){default:case 1:f=o;e=f+1;break;case 2:f=o;e=h;break;case 3:f=0;e=o+1;break;case 4:f=o;e=f+s;break;case 5:f=o;e=s;break;case 7:c=l(s);f=o*c;e=f+c}return f=a(f),e=a(e),h<=f||e<=f?null:{m_nIndiceCDebutInclus:f,m_nIndiceCFinNonInclus:Math.min(e,h)}}function i(n,t){switch(t){case 31:case 107:case 111:case 135:case 136:case 143:case 142:return!0;default:return i===h[t]}}function it(n,t){return n===t}function b(n,t,i){switch(t){case 107:return null===i;default:return n==t}}function r(){return!0}var k=["","bool\u00e9en/boolean","entier sans signe sur 1 octet/1-byte unsigned int","entier sans signe sur 2 octet/2-byte unsigned int","entier sans signe sur 4 octet/4-byte unsigned int","entier sans signe sur 8 octet/8-byte unsigned int","entier sur 1 octet/1-byte int","entier sur 2 octet/2-byte int","entier sur 4 octet/4-byte int","entier sur 8 octet/8-byte int","mon\u00e9taire/currency","r\u00e9el sur 4 octets/4-byte real","r\u00e9el sur 8 octets/8-byte real","num\u00e9rique/numeric","entier syst\u00e8me/system int",,"cha\u00eene/string",,,"cha\u00eene/string",,,,,"date","heure/time","dateheure/datetime","dur\u00e9e/duration","buffer",,,"variant",,,"tableau/array",,"structure","objet/object",,,,,,,,,,,,,"variant",,,,,,,,,,,"proc\u00e9dure/procedure","tableau associatif/associative array",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"objet dynamique/object dynamic",,,,"type avanc\u00e9/advanced type",,,,,,,,,,,,,,,,,"date","heure/time",,,,,,"\u00e9num\u00e9ration/enumeration","combinaison/combination",,,,,"proc\u00e9dure/procedure","tableau/array","objet/object",,,,,,,,"rectangle"],h=[,i,i,i,i,i,i,i,i,i,i,i,i,i,i,,i,,,i,,,,,i,i,i,i,it,,,r,,,r,,r,r,,,,,,,,,,,,,r,,,,,,,,,,,b,r,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,r,,,,r,,,,,,,,,,,,,,,,,i,i,,,,,,r,r,,,,,b,r,r,,,,,,,,r],c=function(i){function r(n,t){var r=i.call(this)||this;return r.m_tValeur=n,r.m_iDescriptionType=t,r}return __extends(r,i),r.prototype.viGetRValue=function(){return this},r.prototype.viGetAsLRValue=function(){return null},r.prototype.viGetMembre2=function(n,r,u,f){var e=this.m_iDescriptionType.voGetMembrePrototypeNatif(n),o,s;return e?(o=this._voGetValeurPourMembrePrototypeNatif(),e instanceof Function?(s=t.ms_DescriptionFonction.viCreation(),s.vSetValeurDirect(t.oConstruitProcedure(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(o,t)})),s):new t.CMembreNatif(o,n,!1,0)):i.prototype.viGetMembre2.call(this,n,r,u,f)},r.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteVM(t,i))return this._viGetProprieteVM(i);throw new n.CErreur(603);},r.prototype.viGetSousElement=function(){throw new n.CErreur(602,"[ ]");},r.prototype.viGetIntervalle=function(){throw new n.CErreur(602,"[[ ]]");},r.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},r.prototype.viGetAsRValueType=function(){return this},r.prototype.viGetAsTableau=function(){return null},r.prototype.viGetAsTableauAssociatif=function(){return null},r.prototype.viGetAsValeurMultiple=function(){return undefined},r.prototype.viAppelFonction=function(){throw new n.CErreur(602,"()");},r.prototype.vtGetValeurDirect=function(){return this.m_tValeur},r.prototype.vSetValeurDirect=function(n){this.m_tValeur=n}
4,r.prototype.viGetDescriptionType=function(){return this.m_iDescriptionType},r.prototype._viGetProprieteVM=function(t){switch(t){case 24:return n.NSUtil.oGetProprieteVide(this,0,23);default:throw new n.CErreur(603);}},r.prototype._voGetValeurPourMembrePrototypeNatif=function(){return this.vtGetValeurDirect()},r}(n.CIBase),l,f,e,a,y,s,p,w;t.CTType=c;l=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.valueOf=function(){return this.m_tValeur},t}(c);t.CTTypeSimple=l;f=function(){function t(n,t){this.m_eTypeWL=n;this.m_oConstructeurNatif=t}return t.prototype.viGetDescriptionTypeReel=function(){return this},t.prototype.veGetTypeWL=function(){return this.m_eTypeWL},t.prototype.viCreationInstance=function(){return this.viCreation()},t.prototype.viCreationCopie=function(t,i,r){return this.viCreation(n.iGetValeurInitiale(t,i,r))},t.prototype._xVerificationValeur=function(t){var r=t.m_oValeur,i=this.veGetTypeWL(),f=d(r),e=h[i];if(undefined!==e&&!e(i,f,r))throw new n.CErreur(903,u(i),u(f));},t.prototype.vxVerifieCompatibilitePassageParAdresse=function(t,i){var r=t.veGetTypeWL(),f=this.veGetTypeWL();if(r!==f)throw new n.CErreur(900,i,u(r),u(f));},t.prototype.voGetMembrePrototypeNatif=function(n){return this.m_oConstructeurNatif?this.m_oConstructeurNatif[n]||this.m_oConstructeurNatif.prototype[n]:undefined},t.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL()}},t.prototype.voGetAttributSerialise=function(){return!0},t.prototype.vbGetAttributAssocie=function(){return!1},t.prototype.veGetAttributCopie=function(){return undefined},t.prototype.vbAttributInstanceParReference=function(){return!1},t}();t.CTDescriptionType=f;e=function(i){function r(n,t,r,u){var f=i.call(this,n,r)||this;return f.m_pfCast=t,f.m_bCopieEstReference=u,f}return __extends(r,i),r.prototype.viCreation=function(i,r){var u;return i&&(this._xVerificationValeur(i),this.m_bCopieEstReference||n.NSUtil.xVerifieAffectationUniquement(i),u=this.m_pfCast(n.iGetValeurAffectationDepuisInitiale(i))),this._voAllocation(u)},r.prototype.viAffectation=function(t,i){return this._xVerificationValeur(i),this.m_bCopieEstReference||n.NSUtil.xVerifieAffectationUniquement(i),t.vSetValeurDirect(this.m_pfCast(i)),t},r}(f);t.CTDescriptionTypeSimple=e;a=function(n){function t(t,i,r,u){var f=n.call(this,t,r,u,!1)||this;return f.m_pfAllocation=i,f}return __extends(t,n),t.prototype._voAllocation=function(n){return this.m_pfAllocation(n)},t}(e);t.CTDescriptionTypeTresSimple=a;t.iGetDescriptionDepuisValue=g;t.iGetDescription=v;y=function(){function n(n,t){this.m_iDescriptionType=n;this.m_oAttributs=t}return n.prototype.viGetDescriptionTypeReel=function(){return this.m_iDescriptionType},n.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},n.prototype.viCreationInstance=function(){return this.m_iDescriptionType.viCreationInstance()},n.prototype.viCreationCopie=function(n,t,i){return this.m_iDescriptionType.viCreationCopie(n,t,i||1===this.m_oAttributs.m_eAttributCopie)},n.prototype.viCreation=function(n,t){return this.m_iDescriptionType.viCreation(n,t)},n.prototype.viAffectation=function(n,t){return this.m_iDescriptionType.viAffectation(n,t)},n.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){return this.m_iDescriptionType.vxVerifieCompatibilitePassageParAdresse(n,t)},n.prototype.voGetMembrePrototypeNatif=function(n){return this.m_iDescriptionType.voGetMembrePrototypeNatif(n)},n.prototype.voJSONDebogueurType=function(n){return this.m_iDescriptionType.voJSONDebogueurType(n)},n.prototype.voGetAttributSerialise=function(){var n=this.m_oAttributs.m_oAttributSerialise;return undefined!==n?n:this.m_iDescriptionType.voGetAttributSerialise()},n.prototype.vbGetAttributAssocie=function(){var n=this.m_oAttributs.m_bAttributAssocie;return undefined!==n?n:this.m_iDescriptionType.vbGetAttributAssocie()},n.prototype.veGetAttributCopie=function(){var n=this.m_oAttributs.m_eAttributCopie;return undefined!==n?n:this.m_iDescriptionType.veGetAttributCopie()},n.prototype.vbAttributInstanceParReference=function(){var n=this.m_oAttributs.m_bAttributInstanceParReference;return undefined!==n?n:this.m_iDescriptionType.vbAttributInstanceParReference()},n}();t.CDescriptionTypeAvecAttribut=y;s=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_eIntervalle=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this},t}(n.NSUtil.CTSousElement);p=function(t){function i(i,r,u,f){var e=t.call(this,i,r)||this;return e.m_nIndiceC1=n.NSUtil.nGetEntier(u,1)-1,e.m_nIndiceWL2=n.NSUtil.nGetEntier(f,1),e}return __extends(i,t),i.prototype.valueOf=function(){var i=this.m_tParent.vsGetChaine(),t=this.m_nIndiceC1,r=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new n.CErreur(602,"[[ ]]");case 1:return i.substring(t,t+1);case 2:return i.substring(t);case 3:return i.substring(0,t+1);case 4:return i.substring(t,t+r);case 5:return i.substring(t,r)}},i.prototype.viGetIntervalle=function(n,t,r){return new i(this,n,t,r)},i.prototype.veGetTypeWL=function(){return 16},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=this.m_tParent.vsGetChaine(),u=String(t.m_oValeur),r=this.m_nIndiceC1,f=this.m_nIndiceWL2;switch(this.m_eIntervalle){default:throw new n.CErreur(602,"[[ ]]");case 1:i=i.substring(0,r)+u+i.substring(r+1);break;case 2:i=i.substring(0,r)+u;break;case 3:i=u+i.substring(r+1);break;case 4:i=i.substring(0,r)+u+i.substring(r+f);break;case 5:i=i.substring(0,r)+u+i.substring(f)}this.m_tParent.xvSetChaine(i)},i.prototype.vsGetChaine=function(){return this.valueOf()},i.prototype.xvSetChaine=function(n){this.vSetValeur(n,0,{})},i}(s);t.CIntervalleChaine=p;w=function(t){function i(n,i,r,u){var f=t.call(this,n,i)||this;return f.m_oIntervalleNombre=tt(n,i,r,u),f}return __extends(i,t),i.prototype.vnToNumber=function(){return this.valueOf()},i.prototype.valueOf=function(){var n=this.m_oIntervalleNombre;return n?this.m_tParent.vnGetBits(n):0},i.prototype.veGetTypeWL=function(){return this.m_tParent.veGetTypeWL()},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=this.m_oIntervalleNombre;i&&this.m_tParent.vSetBits(n.NSUtil.nGetEntier(t.m_oValeur,0),i)},i}(s);t.CIntervalleNombre=w})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){t.ms_DescriptionBooleen=new t.CTDescriptionTypeTresSimple(1,function(n){return n===void 0&&(n=!1),new i(n)},function(t){return n.NSUtil.bGetBooleen(t.m_oValeur)},Boolean);var i=function(i){function r(n){return i.call(this,n,t.ms_DescriptionBooleen)||this}return __extends(r,i),r.prototype.toString=function(){return n.NSUtil.sBooleenEnChaine(this.valueOf())},r.prototype.vnToNumber=function(){return Number(this.valueOf())},r.prototype.vbToBoolean=function(){return this.valueOf()},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(n){return!!n&&(n instanceof i||28===n.veGetTypeWL())}function e(t){var i,r=(i=n.iGetAsRValue(t,1))===null||i===void 0?void 0:i.viGetAsRValueType();return f(r)?r.vtGetValeurDirect():undefined}function r(n){var t=e(n);return t?t:n instanceof ArrayBuffer?n:ArrayBuffer.isView(n)?n.buffer:undefined}function u(t){var i=r(t);if(i)return i;throw new n.CErreur(601);}t.ms_DescriptionBuffer=new t.CTDescriptionTypeTresSimple(28,function(n){return new i(n)},function(n){return u(n.m_oValeur)},undefined);var i=function(i){function r(n){return n===void 0&&(n=new ArrayBuffer(0)),i.call(this,n,t.ms_DescriptionBuffer)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype.viGetIntervalle=function(){throw new n.CErreur(602,"[[ ]]");},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 10:return n.NSUtil.oGetProprieteSimple(function(){return r.vtGetValeurDirect().byteLength},null);case 24:return n.NSUtil.oGetProprieteVide(this,0,10);default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.sPreparePourComparaison=function(t){if(undefined===t||28!==t.veGetTypeWL())throw new n.CErreur(601);return new Uint8Array(this.vtGetValeurDirect()).reduce(function(n,t){return n+(t.toString(16)+" ")},"")},r}(t.CTTypeSimple);
4t.CBuffer=i;t.oGetArrayBuffer=r;t.xoGetArrayBuffer=u})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){t.ms_DescriptionChaine=new t.CTDescriptionTypeTresSimple(16,function(n){return n===void 0&&(n=""),new i(n)},function(t){return n.NSUtil.sToString(t.m_oValeur)},String);var i=function(i){function r(n){return i.call(this,n,t.ms_DescriptionChaine)||this}return __extends(r,i),r.prototype.viGetIntervalle=function(n,i,r){return new t.CIntervalleChaine(this,n,i,r)},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 10:return n.NSUtil.oGetProprieteSimple(function(){return r.vtGetValeurDirect().length},null);case 24:return n.NSUtil.oGetProprieteVide(this,0,10);default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.vsGetChaine=function(){return this.valueOf()},r.prototype.xvSetChaine=function(n){this.m_tValeur=n},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n,t,i){function u(n){return f.some(function(t){return n===t})}if(n===t)return!0;var f=n.vtabGetElementsAPlat(),r=t.vtabGetElementsAPlat();return i?r.every(u):r.some(u)}function w(n){return"m_tabNoms"in n}function b(n){return"m_oValeur"in n}function l(n){return n&&(n instanceof r||n.__CEnumeration)}function a(n){return n&&(n instanceof f||n.bVerifie)}function k(n){return n&&(n instanceof h||n.viGetEnumerationDepuisNom)}function d(n){return n&&(n instanceof u||n.viGetCombinaisonDepuisNom)}var e=function(){function t(n){this.m_sNom=n}return t.prototype.vbCompareNom=function(t){return 0===n.NSUtil.nCompareLogique(t,this.m_sNom)},t}(),v=0,y=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_oValeur=i,r.m_nNumero=v++,r}return __extends(i,t),i.prototype.vbEstAlias=function(){return!1},i.prototype.vtabGetElementsSansAlias=function(){return[this]},i.prototype.vbCompareValeur=function(t){var i=this.m_oValeur;if(undefined!==i)switch(typeof t){case"string":return-1!==t.indexOf(String(i));case"number":return 0!=(t&n.NSUtil.dGetReel(i,0));default:return n.NSOperations.bComparaison(t,i,!0,!1,!1,!1)}else return!1},i}(e),p=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_tabNoms=i,r}return __extends(i,t),i.prototype.vbEstAlias=function(){return!0},i.prototype.vtabGetElementsSansAlias=function(t){return this.m_tabNoms.reduce(function(i,r){var u=n.NSUtil.nDansTableauFct(t,function(n){return n.vbCompareNom(r)});return-1!==u?i.concat(t[u].vtabGetElementsSansAlias(t)):i},[])},i.prototype.vbCompareValeur=function(){return!1},i}(e),o=function(t){function i(n,i,r){var u=t.call(this,n,undefined)||this;return u.m_sNom=r,u.m_tabElements=i.reduce(function(n,t){return w(t)?(n.push(new p(t.m_sNom,t.m_tabNoms)),n):b(t)?(n.push(new y(t.m_sNom,t.m_oValeur)),n):n.concat(t.vtabGetElementsAPlat())},[]),u}return __extends(i,t),i.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNom}},i.prototype.vtabGetElementsAPlat=function(){return this.m_tabElements},i.prototype.xiCreeSelonNom=function(t){var i=this._viCreeSelonNom(t,1);if(i)return i;throw new n.CErreur(605,t);},i.prototype._iGetElementDepuisNom=function(t){return n.NSUtil.oDansTableauFctOuNull(this.vtabGetElementsAPlat(),function(n){return n.vbCompareNom(t)})},i.prototype._iGetElementDepuisValeur=function(t){return n.NSUtil.oDansTableauFctOuNull(this.vtabGetElementsAPlat(),function(n){return n.vbCompareValeur(t)})},i}(t.CTDescriptionType),s=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.toString=function(){return String(this.oGetValueOf(""))},i.prototype.vnToNumber=function(){return n.NSUtil.dGetReel(this.oGetValueOf(0),0)},i.prototype.valueOf=function(){return this.oGetValueOf(0)},i.prototype.toJSON=function(){throw new n.CErreur(601);},i.prototype.voJSONDebogueurValeur=function(){return this.__sGetNoms(" + ")},i.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},i.prototype._viGetProprieteVM=function(i){var r=this;switch(i){case 9:return n.NSUtil.oGetProprieteSimple(function(){return r.__sGetNoms("+")},null);case 35:return n.NSUtil.oGetProprieteSimple(function(){return r.oGetValueOf("")},null);default:return t.prototype._viGetProprieteVM.call(this,i)}},i.prototype.oGetValueOf=function(n){var i=this,t=!0;return this.vtabGetElementsSansAlias().reduce(function(n,r){var u=r.m_oValeur;return undefined!==u?t?(t=!1,u):n+u:(i.m_iDescriptionType.xvAutoriseSansValeur(r.m_sNom),n)},n)},i.prototype.__sGetNoms=function(n){return this._vtabGetElementPourProprieteNom().map(function(n){return n.m_sNom}).join(n)},i}(t.CTType),h=function(t){function u(n,i){return t.call(this,135,n,i)||this}return __extends(u,t),u.prototype.viCreation=function(t){var i;return t&&(n.NSUtil.xVerifieAffectationUniquement(t),i=this.xoVerifieCompatibilite(t.m_oValeur,function(n){return n.vtabGetElementsAvecAlias()[0]})),this._voAllocation(i)},u.prototype.viAffectation=function(t,i){return n.NSUtil.xVerifieAffectationUniquement(i),this.xoVerifieCompatibilite(i.m_oValeur,function(n){return t.vSetValeurDirect(n.vtabGetElementsAvecAlias()[0]),t})},u.prototype._voAllocation=function(n){return n===void 0&&(n=this.m_tabElements[0]),new r(n,this)},u.prototype._viCreeSelonNom=function(n){return this.viGetEnumerationDepuisNom(n)},u.prototype.xvAutoriseSansValeur=function(t){throw new n.CErreur(902,t);},u.prototype.viGetEnumerationDepuisNom=function(n){var t=this._iGetElementDepuisNom(n);return t?this._voAllocation(t):null},u.prototype.viGetEnumerationDepuisValeur=function(n){var t=this._iGetElementDepuisValeur(n);return t?this._voAllocation(t):null},u.prototype.xoVerifieCompatibilite=function(t,r){var u=n.iGetAsRValue(t,1);if(u&&l(u)&&i(this,u.m_iDescriptionType,!0))return r(u);throw new n.CErreur(601);},u}(o),r,u,f,c;t.CDescriptionEnumeration=h;r=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.vtabGetElementsAvecAlias=function(){return[this.m_tValeur]},r.prototype.vtabGetElementsSansAlias=function(){return this.m_tValeur.vtabGetElementsSansAlias(this.m_iDescriptionType.m_tabElements)},r.prototype._vtabGetElementPourProprieteNom=function(){return this.vtabGetElementsAvecAlias()},r.prototype.xvnPreparePourComparaison=function(t){if(l(t)){var r=this.m_iDescriptionType,u=t.m_iDescriptionType;if(i(r,u,!0)||i(u,r,!0))return this.vtabGetElementsSansAlias()[0].m_nNumero}throw new n.CErreur(601);}
4,r.prototype.__CEnumeration=function(){},r}(s);u=function(t){function r(n,i){return t.call(this,136,n,i)||this}return __extends(r,t),r.prototype.viCreation=function(t){var r=this,i;return t&&(n.NSUtil.xVerifieAffectationUniquement(t),i=this.xoVerifieCompatibilite(t.m_oValeur,function(n){return r.tabGetElementsPourAffectation(n)},function(){return[]})),this._voAllocation(i)},r.prototype.viAffectation=function(n,t){var i=this;return this.xoVerifieCompatibilite(t.m_oValeur,function(t){return n.vSetValeurDirect(i.tabGetElementsPourAffectation(t)),n},function(){return n.vSetValeurDirect([]),n})},r.prototype._voAllocation=function(n){return n===void 0&&(n=[]),new f(n,this)},r.prototype._viCreeSelonNom=function(n,t){return this.viGetCombinaisonDepuisNom(n,t,!1)},r.prototype.xvAutoriseSansValeur=function(){},r.prototype.tabGetElementsPourAffectation=function(t){var i=this.m_tabElements,r=t.m_iDescriptionType.m_tabElements;return function u(){return t.vtabGetElementsAvecAlias().reduce(function(t,f){return n.NSUtil.bDansTableau(i,f)?t.push(f):f.vbEstAlias()&&t.concat(u(f.vtabGetElementsSansAlias(r))),t},[])}(t.vtabGetElementsAvecAlias())},r.prototype.viGetCombinaisonDepuisNom=function(t,i,r){var e=this,u=[],f=t.split("+");return f.forEach(function(t){var r=e._iGetElementDepuisNom(t);if(r)u.push(r);else switch(i){default:case 0:throw new n.CErreur(901,t);case 1:}}),u.length&&(!r||u.length===f.length)?this._voAllocation(u):null},r.prototype.viGetCombinaisonDepuisValeur=function(n){var t=this._iGetElementDepuisValeur(n);return t?this._voAllocation([t]):null},r.prototype.xoVerifieCompatibilite=function(t,r,u){var f=n.iGetAsRValue(t,1);if(f){if(a(f)&&i(this,f.m_iDescriptionType,!1))return r(f)}else if(0===t&&u)return u();throw new n.CErreur(601);},r}(o);t.CDescriptionCombinaison=u;f=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.viGetSousElement=function(t,i){var r=this,u=i[0];return this.m_iDescriptionType.xoVerifieCompatibilite(u,function(t){return n.NSUtil.iChaineSousElement(new c(r,t.__oGetCopie()),1,i)},null)},r.prototype.vtabGetElementsAvecAlias=function(){return this.m_tValeur},r.prototype.vtabGetElementsSansAlias=function(){var t=this.m_iDescriptionType.m_tabElements;return this.m_tValeur.reduce(function(i,r){return r.vtabGetElementsSansAlias(t).reduce(function(t,i){return n.NSUtil.bDansTableau(t,i,!0)||t.push(i),t},i)},[])},r.prototype._vtabGetElementPourProprieteNom=function(){return this.vtabGetElementsSansAlias()},r.prototype.oAddition=function(n){var t=this;return this.m_iDescriptionType.xoVerifieCompatibilite(n,function(n){var i=t.__oGetCopie();return i.Active(n,!0),i},null)},r.prototype.xvsPreparePourComparaison=function(t,r){var u,f,e,o;if(r&&t&&(u=!1,f=t.viGetAsRValueType(),f&&0===f.vtGetValeurDirect()?u=!0:a(t)&&(e=this.m_iDescriptionType,o=t.m_iDescriptionType,u=i(e,o,!1)||i(o,e,!1)),u))return this.vtabGetElementsSansAlias().sort(function(t,i){return n.NSUtil.nCompareAny(t.m_nNumero,i.m_nNumero)}).map(function(n){return n.m_nNumero}).join("|");throw new n.CErreur(601);},r.prototype.__oGetCopie=function(){return new r(this.vtabGetElementsAvecAlias(),this.m_iDescriptionType)},r.prototype.bVerifie=function(t){var i=this.vtabGetElementsSansAlias(),r=t.vtabGetElementsSansAlias();return r.length?t.vtabGetElementsSansAlias().every(function(t){return n.NSUtil.bDansTableau(i,t,!0)}):!1},r.prototype.Active=function(t,i){var r=this.vtabGetElementsSansAlias(),u=!1;t.vtabGetElementsSansAlias().forEach(function(t){var f=n.NSUtil.nDansTableau(r,t,!0);-1!==f?i||(r.splice(f,1),u=!0):i&&(r.push(t),u=!0)});u&&(this.m_tValeur=r)},r}(s);c=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_oIndice=i,r}return __extends(i,t),i.prototype.vnToNumber=function(){return this.valueOf()},i.prototype.valueOf=function(){var n=this.m_tParent.bVerifie(this.m_oIndice);return n?1:0},i.prototype.viGetRValue=function(){return this},i.prototype.veGetTypeWL=function(){return 1},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationUniquement(t);var i=n.NSUtil.bGetBooleen(t.m_oValeur);this.m_tParent.Active(this.m_oIndice,i)},i}(n.NSUtil.CTSousElement);t.bIsDescriptionEnumeration=k;t.bIsDescriptionCombinaison=d})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function s(t,i){return t.reduce(function(t,r){var u=!(n.ms_oSymbolDepuisWLEnV2 in r);return r.apply(window,i(u))},undefined)}function h(n){n.m_oAvant=null;n.m_tabFonctions=null;n.m_oApres=null}function c(n,t){var i=n.m_tabFonctions;return t.m_oAvant=u(n.m_oAvant),t.m_tabFonctions=i?i.slice():null,t.m_oApres=u(n.m_oApres),t}function u(n){return n?c(n,i()):null}function f(n,t){var r,u;return t&&(n||(n=i()),r=t.m_tabFonctions,r&&r.length&&(u=n.m_tabFonctions||[],n.m_tabFonctions=u,r.forEach(function(n){w(u,n)||u.push(n)})),n.m_oAvant=f(n.m_oAvant,t.m_oAvant),n.m_oApres=f(n.m_oApres,t.m_oAvant)),n}function e(n,t){if(n&&t){var i=n.m_tabFonctions,r=t.m_tabFonctions;i&&i.length&&r&&r.forEach(function(n){var t=l(i,n);-1!=t&&i.splice(t,1)});e(n.m_oAvant,t.m_oAvant);e(n.m_oApres,t.m_oApres)}}function w(n,t){return-1!=l(n,t)}function l(t,i){var r=i.name||i.sNom;
4return n.NSUtil.nDansTableauFct(t,function(n){if(i===n)return!0;var t=n.name||n.sNom;return r&&t?r===t:!1})}function i(n){return{m_oAvant:null,m_tabFonctions:n?[n]:null,m_oApres:null}}function a(i,u){return new n.NSUtil.CPropriete(function(){return new r(v(i.oGetProcedure(),u))},function(n){var f=i.oGetProcedure(),o=v(f,u),e=t.ms_DescriptionFonction.viAffectation(new r(o),n).vtGetValeurDirect();u?f.m_oApres=e:f.m_oAvant=e})}function v(n,t){var r=t?n.m_oApres:n.m_oAvant;return r||(r=i(),t?n.m_oApres=r:n.m_oAvant=r),r}function b(n){return n instanceof r||"__tabGetFonctionsAPlat"in n}function o(t){var i=n.iGetAsRValue(t,0);return i&&b(i)?i:null}function y(n){if(1==n.m_eAffectation){var t=n.m_oValeur,r=o(t);if(r)return r.oGetProcedure();if(null===t)return i(null)}return null}var p=function(t){function f(){var r=t.call(this,61,function(t){var e=t.m_oValeur,s,f;return e?(s=o(e),s)?u(s.vtGetValeurDirect()):(f=n.NSValues.oAny2Natif(e),f instanceof Function)?i(f):(r._xVerificationValeur(t),null):null},Function,!1)||this;return r}return __extends(f,t),f.prototype.viCreation=function(n){if(n){var i=y(n);if(i)return new r(i)}return t.prototype.viCreation.call(this,n)},f.prototype.viAffectation=function(i,r){var l=y(r),u,f,e,s;if(l)return i.vSetValeurDirect(l),i;if(u=i.vtGetValeurDirect(),f=r.m_oValeur,u){if(f instanceof Function)return u.m_oAvant=null,u.m_tabFonctions=[f],u.m_oApres=null,i;if(!f)return h(u),i;if(e=o(f),r.m_iOptions.m_bCombine)return i;if(e)return s=e.vtGetValeurDirect(),s?c(s,u):h(u),i}return t.prototype.viAffectation.call(this,i,r)},f.prototype._voAllocation=function(n){return n===void 0&&(n=null),new r(n)},f}(t.CTDescriptionTypeSimple),r;t.ms_DescriptionFonction=new p;r=function(r){function u(n){return r.call(this,n,t.ms_DescriptionFonction)||this}return __extends(u,r),u.prototype.valueOf=function(){var n=this.__tabGetFonctionsAPlat();switch(n.length){case 0:return null;case 1:return n[0];default:return function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return s(n,function(){return i})}}},u.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 36:return a(this,!1);case 37:return a(this,!0)}return r.prototype.viGetPropriete.call(this,t,i)},u.prototype.viAppelFonction=function(){for(var r,i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];return n.NSValues.iAny2RValue(s(this.__tabGetFonctionsAPlat(),function(t){return t?(r||(r=n.NSValues.tabAny2Natif(i)),r):i}))},u.prototype._voGetValeurPourMembrePrototypeNatif=function(){return this.valueOf()},u.prototype.oAddition=function(n){return this.vSetValeurDirect(f(this.vtGetValeurDirect(),n.vtGetValeurDirect())),this},u.prototype.oSoustraction=function(n){return e(this.vtGetValeurDirect(),n.vtGetValeurDirect()),this},u.prototype.oGetProcedure=function(){var n=this.m_tValeur;return n||(n=i(),this.m_tValeur=n),n},u.prototype.__tabGetFonctionsAPlat=function(){var n=[];return function t(i){if(i){t(i.m_oAvant);var r=i.m_tabFonctions;r&&(n=n.concat(r));t(i.m_oApres)}}(this.m_tValeur),n},u}(t.CTType);t.oConstruitProcedure=i})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){for(var t=1;0<n--;)t=(t<<1)+1;return t}var i=function(t){function i(i,r,u){var f=t.call(this,u,function(t){var r=t.m_oValeur,i=n.NSUtil.dGetReel(r,NaN);return isNaN(i)&&(i=Number(r)||0),f.AppliqueType(i)},Number,!1)||this;return f.m_bSigne=i,f.m_ePas=r,f}return __extends(i,t),i.prototype._voAllocation=function(n){return n===void 0&&(n=0),new r(n,this)},i.prototype.AppliqueType=function(t){var i=this.m_ePas,r;return 0!=i&&(t=n.NSOperations.nArrondiVersZero(t),t%=i,this.m_bSigne?(r=i/2,t<-r?t+=i:r<=t&&(t-=i)):t<0&&(t+=i)),t},i}(t.CTDescriptionTypeSimple),r;t.ms_DescriptionR8=new i(!0,0,12);t.ms_DescriptionI1=new i(!0,256,6);t.ms_DescriptionI2=new i(!0,65536,7);t.ms_DescriptionI4=new i(!0,4294967296,8);t.ms_DescriptionUI1=new i(!1,256,2);t.ms_DescriptionUI2=new i(!1,65536,3);t.ms_DescriptionUI4=new i(!1,4294967296,4);r=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.toString=function(t){return t===void 0&&(t=10),n.NSUtil.sNombreEnChaine(this.valueOf(),t)},r.prototype.vnToNumber=function(){return this.valueOf()},r.prototype.viGetSousElement=function(t,i){return n.NSUtil.iChaineSousElement(this.viGetIntervalle(1,i[t],undefined),t+1,i)},r.prototype.viGetIntervalle=function(i,r,u){if(0==this.m_iDescriptionType.m_ePas)throw new n.CErreur(602,"[ ]");return new t.CIntervalleNombre(this,i,r,u)},r.prototype.vnGetBits=function(n){var i=this.m_tValeur,t=n.m_nIndiceCDebutInclus,r=n.m_nIndiceCFinNonInclus,f=u(r-t-1);return i>>>t&f},r.prototype.vSetBits=function(n,t){var f=this.m_tValeur,i=t.m_nIndiceCDebutInclus,e=t.m_nIndiceCFinNonInclus,r=u(e-i-1);this.vSetValeurDirect(f&~(r<<i)|(n&r)<<i)},r}(t.CTTypeSimple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n,t,i,r,u){return s(n,t,i,r,u).viCreationCopie(n,0)}function s(n,i,r,u,f){return i===void 0&&(i=t.ms_DescriptionObjetNatif),r===void 0&&(r=t.ms_DescriptionObjetNatif),u===void 0&&(u=t.ms_DescriptionTableauNatif),f===void 0&&(f=t.ms_DescriptionObjetNatif),h(n,t.ms_DescriptionBooleen,t.ms_DescriptionNumeriqueAuto,t.ms_DescriptionChaine,t.ms_DescriptionBuffer,t.ms_DescriptionFonction,function(n){return n===(n|0)?-2147483648<=n&&n<=2147483647?t.ms_DescriptionI4:t.ms_DescriptionI8:t.ms_DescriptionR8},f,r,u,i)}function h(t,i,r,u,f,e,o,s,h,c,l){switch(typeof t){case"boolean":return i;case"function":return e;case"number":return o(t);default:case"object":return null===t?s:"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDNumeriqueBase?r:t instanceof ArrayBuffer?f:n.NSUtil.bIsArray(t)?c:h;case"string":return u;case"undefined":return l}}function c(n,r){var u,f;return r==1&&(u=t.ms_DescriptionVariant,f=t.ms_DescriptionTableauVariant),i(n,u,u,f)}function y(r){var u=n.iGetAsRValue(r,1);return u?t.iGetDescription(u.veGetTypeWL(),!1).viCreationCopie(u,0):i(r)}function p(n,t){if(undefined===n)switch(t){case 1:n={}}return n}function v(t){return n.NSUtil.bIsObject(t)?Object.keys(t):[]}function w(n){return n instanceof l||"m_oTableauChercheNatif"in n}function b(n){return!!n&&(n instanceof r||"m_bProprieteEnLectureSeuleNatif"in n)}var u,f,r,o;t.iNatif2RValue=i;t.iGetDescriptionTypePourNatif=s;t.oGetPourNatif=h;t.iAny2RValueTypeCopie=y;u=function(n){function t(t,i,r,u,f,e){var o=n.call(this,t,r,u,f)||this;return o.m_eObjetNatifAllocation=i,o.m_pfCopie=e,o}return __extends(t,n),t.prototype.viAffectation=function(n,t){this._xVerificationValeur(t);switch(t.m_eAffectation){default:case 0:case 1:case 3:n.vSetValeurDirect(this.m_pfCast(t));break;case 2:case 4:this.m_pfCopie(n,t.m_oValeur)}return n},t}(t.CTDescriptionTypeSimple);f=function(t){function i(i){return t.call(this,34,i,function(t){var i=n.NSValues.oAny2Natif(t.m_oValeur);return n.NSUtil.bIsArray(i)?i:[]},Array,!0,function(t,i){var r=n.NSValues.oAny2Natif(i);n.NSUtil.bIsArray(r)&&r.forEach(function(n,i){try{t.viGetSousElement(0,[i+1]).vSetValeur(n,4,{})}catch(r){}})})||this}return __extends(i,t),i.prototype.voJSONDebogueurType=function(n){return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:!0,m_oTypeSousElement:{m_eTypeWL:31}}},i.prototype._voAllocation=function(n){return n===void 0&&(n=[]),new l(n,this)},i}(u);t.CDescriptionTableauNatif=f;t.ms_DescriptionTableauNatif=new f(0);var l=function(i){function r(n,r){var u=i.call(this,n,r)||this;return u.m_oTableauChercheNatif=new t.CTableauCherche(u,function(n){return n}),u}return __extends(r,i),r.prototype.viGetSousElement=function(t,i){function f(t,i){var r=Number(t);return n.NSUtil.bIsArray(i)&&!isNaN(r)?n.NSUtil.xnGetIndiceC(r,i.length,2,NaN):String(t)}for(var s=i.length,o=s-1,r=this.m_tValeur,u=t;u<o;u++)r=r[f(i[u],r)];return new e(r,f(i[o],r),this.m_iDescriptionType.m_eObjetNatifAllocation)},r.prototype.viGetAsTableau=function(){return this},r.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.length},function(t){r.m_tValeur.length=n.NSUtil.nGetEntier(t)});default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.xiGetTableauCherche=function(){return this.m_oTableauChercheNatif},r.prototype.xiGetTableauTri=function(){throw new n.CErreur(214);},r.prototype.xiGetTableauSupprime=function(){return new t.CTableauSupprime(this)},r.prototype.xRedimensionne=function(t){if(1!=t.length)throw new n.CErreur(210);this.m_tValeur.length=t[0]}
4,r.prototype.nAjouteLigne=function(t){var i=this.m_tValeur,r=i.length;return i.push(n.NSValues.oAny2Natif(t[0])),r},r.prototype.xCopieDepuis=function(n){t.TableauCopie(n,this)},r.prototype.DeplaceLigne=function(n,i){t.TableauDeplaceLigne(this,n,i)},r.prototype.Echange=function(n,i){t.TableauEchange(this,n,i)},r.prototype.eTypeElement=function(){return 50},r.prototype.bDynamique=function(){return!0},r.prototype.Insere=function(t,i){this.m_tValeur.splice(t,0,n.NSValues.oAny2Natif(i))},r.prototype.InsereLigne=function(n,t){return this.Insere(n,t[0])},r.prototype.eGetModeAgrandissement=function(){return 2},r.prototype.nGetNbDimensions=function(){return 1},r.prototype.nGetUneDimension=function(){return this.m_tValeur.length},r.prototype.nGetNbElements=function(){return this.m_tValeur.length},r.prototype.nGetDimension0Pas=function(){return 1},r.prototype.iGetSousElementIndice=function(n){return new e(this.m_tValeur,n,this.m_iDescriptionType.m_eObjetNatifAllocation)},r.prototype.iGetDescriptionElement=function(){return undefined},r.prototype.viGetAsTableauType=function(){return this},r.prototype.tabGetDimensions=function(){return[this.nGetNbElements()]},r.prototype.tabGetValeurs=function(){return this.m_tValeur},r.prototype.bEstNull=function(){return!1},r}(t.CTTypeSimple),e=function(t){function i(n,i,r){var u=t.call(this,n)||this;return u.m_oIndice=i,u.m_eObjetNatifAllocation=r,u}return __extends(i,t),i.prototype.valueOf=function(){return this.m_tParent[this.m_oIndice]},i.prototype.viGetRValue=function(){return c(this.valueOf(),this.m_eObjetNatifAllocation)},i.prototype.viGetMembre2=function(n,t,i,r){return this.viGetRValue(0).viGetMembre2(n,t,i,r)},i.prototype.viGetPropriete=function(n,t){return this.viGetRValue(0).viGetPropriete(n,t)},i.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},i.prototype.veGetTypeWL=function(){return 50},i.prototype.vSetValeur2=function(t){this.m_tParent[this.m_oIndice]=n.NSValues.oAny2Natif(t.m_oValeur)},i}(n.NSUtil.CTSousElement),a=function(t){function i(i,r){return t.call(this,i,r,function(t){var i=n.NSValues.oAny2Natif(t.m_oValeur);if(null===i)return null;if(undefined===i)return undefined;if(n.NSUtil.bIsObject(i))return i;if(r===1)switch(typeof i){case"boolean":case"string":case"number":return i}throw new n.CErreur(601);},Object,!0,function(t,i){var r=n.NSValues.oAny2Natif(i);n.NSUtil.bIsObject(r)&&(t.vSetValeurDirect({}),n.NSUtil.bForEachIn(r,function(n,i){try{t.viGetMembre(n,!1,undefined).vSetValeur(i,4,{})}catch(r){}return!0}))})||this}return __extends(i,t),i.prototype._voAllocation=function(n){return new r(n,!1,this)},i}(u);t.CDescriptionObjetNatif=a;t.ms_DescriptionObjetNatif=new a(107,0);r=function(r){function u(n,t,i){var u=r.call(this,p(n,i.m_eObjetNatifAllocation),i)||this;return u.m_bProprieteEnLectureSeuleNatif=t,u}return __extends(u,r),u.prototype.viGetMembre2=function(n){switch(this.m_iDescriptionType.m_eObjetNatifAllocation){}return new o(this.valueOf(),n,this.m_bProprieteEnLectureSeuleNatif,this.m_iDescriptionType.m_eObjetNatifAllocation)},u.prototype.viGetPropriete=function(t,i){var u=this;if(1===this.m_iDescriptionType.m_eObjetNatifAllocation&&n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 23:return n.NSUtil.oGetProprieteSimple(function(){var t=u.vtGetValeurDirect(),i=0;return undefined!==t&&null!==t&&n.NSUtil.bForEachIn(t,function(){return i++,!0}),i},null)}return r.prototype.viGetPropriete.call(this,t,i)},u.prototype.viGetSousElement=function(t,i){var r=this;return n.NSUtil.iChaineSousElement(function(t){var u=r.vtGetValeurDirect(),i,f;return n.NSUtil.bIsObjectArray(u)&&(i=Number(t),!isNaN(i)&&n.NSUtil.bIndiceWLValide(i,u.length,2))?(f=i-1,new e(u,f,r.m_iDescriptionType.m_eObjetNatifAllocation)):r.viGetMembre(String(t),!1,undefined)}(i[t]),t+1,i)},u.prototype.viGetAsTableauAssociatif=function(){return this},u.prototype.xCopieDepuis=function(n){t.TableauAssociatifCopie(n,this)},u.prototype.eTypeElement=function(){return 50},u.prototype.bAvecDoublon=function(){return!1},u.prototype.eTypeCle=function(){return 16},u.prototype.Inverse=function(){throw new n.CErreur(214);},u.prototype.nSupprime=function(t){var i=this.m_tValeur,r;return n.NSUtil.bIsObject(i)&&(r=String(t),i.hasOwnProperty(r))?(delete i[r],1):0},u.prototype.SupprimeTout=function(){n.NSUtil.SupprimeToutMembres(this.m_tValeur)},u.prototype.Trie=function(){throw new n.CErreur(214);},u.prototype.nGetNbElements=function(){return v(this.m_tValeur).length},u.prototype.iGetSousElementIndice=function(n,t){var r=v(this.m_tValeur),i=r[n];return undefined!==i?(t&&(t.m_oCle=i),this.viGetMembre(i,!1,undefined)):null},u.prototype.nGetNbElementsCle=function(n){var t=this.m_tValeur;return t&&undefined!==t[n.m_iCle.toString()]?1:0},u.prototype.oGetCle=function(n){return{m_iCle:i(n),m_sCleFormat:String(n)}},u}(t.CTTypeSimple);t.CObjetNatif=r;o=function(t){function i(n,i,r,u){var f=t.call(this)||this;return f.m_oObjet=n,f.m_sMembre=i,f.m_bProprieteEnLectureSeule=r,f.m_eOb
4jetNatifAllocation=u,f}return __extends(i,t),i.prototype.viGetRValue=function(n){var t=this.__xoGetAsObjet(),i=this.m_sMembre,r=t[i];if(!t.hasOwnProperty(i)&&undefined===r)switch(this.m_eObjetNatifAllocation){case 1:r=5!=n?t[i]={}:null;break;case 2:r=t[i]=""}return c(r,this.m_eObjetNatifAllocation)},i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteVM(i,r))switch(r){case 35:return new n.NSUtil.CPropriete(function(){return u.viGetRValue(1)},function(n){u.vSetValeur2(n)});case 43:return n.NSUtil.oGetProprieteSimple(function(){var n=u.__xoGetAsObjet();return undefined!==n[u.m_sMembre]},null);case 9:if(1==this.m_eObjetNatifAllocation)return n.NSUtil.oGetProprieteConstante(this.m_sMembre)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.vSetValeur2=function(t){this.m_bProprieteEnLectureSeule&&n.NSUtil.xVerifieAffectationAucune(t);var i=this.__xoGetAsObjet();i[this.m_sMembre]=n.NSValues.oAny2Natif(t.m_oValeur)},i.prototype.viAppelFonction=function(){for(var t,i,o,r,u,e=[],f=0;f<arguments.length;f++)e[f]=arguments[f];if(t=this.__xoGetAsObjet(),i=this.m_sMembre,!(i in t))throw new n.CErreur(605,i);o=!(n.ms_oSymbolDepuisWLEnV2 in t[i]);r=o?n.NSValues.tabAny2Natif(e):e;switch(arguments.length){case 0:u=t[i]();break;case 1:u=t[i](r[0]);break;case 2:u=t[i](r[0],r[1]);break;case 3:u=t[i](r[0],r[1],r[2]);break;default:u=t[i].apply(t,r)}return n.NSValues.iAny2RValue(u)},i.prototype.__xoGetAsObjet=function(){var t=this.m_oObjet;if(undefined!==t&&null!==Object){if(n.NSUtil.bIsObject(t))return t;throw new n.CErreur(619);}else throw new n.CErreur(615);},i}(n.NSUtil.CWrapperValue);t.CMembreNatif=o;t.bIsTableauNatif=w;t.bIsObjetNatif=b})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t){return new f(13,128,38,38,n,t,!0)}function l(n){return n instanceof c||"oGetCopieNumeriqueData"in n}var f=function(i){function r(r,u,f,o,s,h,c){var a=i.call(this,r,function(i){var c,r,u=i.m_oValeur,o=n.iGetAsRValue(u,1),s;o&&l(o)&&(r=o);var h=void 0,v=a.m_nPrecisionInitiale,f=a.m_nEchelleInitiale;if(undefined!==u&&r&&(h=r.oGetCopieNumeriqueData(),0!=v?f<r.nGetEchelle()?h.bDivPuissance10(r.nGetEchelle()-f):r.nGetEchelle()<f&&h.bMulPuissance10(f-r.nGetEchelle()):(v=r.nGetPrecision(),f=r.nGetEchelle())),c={m_oNumeriqueData:new e(a.m_nNbBitsTotal,a.m_bSigne,h),m_nPrecision:v,m_nEchelle:f},undefined!==u&&!r){if(s=void 0,t.bIsDuree(o))s=String(o.vnToNumber(0));else switch(typeof u){case"boolean":s=u?"1":"0";break;default:s=String(u)}a.__SetValeurChaine(s,c)}return c},undefined,!1)||this;return a.m_nNbBitsTotal=u,a.m_nPrecisionMaximale=f,a.m_nEchelleMaximale=o,a.m_nPrecisionInitiale=s,a.m_nEchelleInitiale=h,a.m_bSigne=c,a}return __extends(r,i),r.prototype._voAllocation=function(n){return n===void 0&&(n={m_oNumeriqueData:new e(this.m_nNbBitsTotal,this.m_bSigne),m_nPrecision:this.m_nPrecisionInitiale,m_nEchelle:this.m_nEchelleInitiale}),new c(n,this)},r.prototype.__SetValeurChaine=function(t,i){var f=0,l="0".charCodeAt(0),y=!1,o=0,r=0,s=i.m_oNumeriqueData,e,c,a,h,u,v,p;t=t.replace(/\s/g,"");switch(t.charAt(f)){case"-":y=!0;case"+":f++}for(;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;s.bMulPuissance10(1);s.nAddEntier(u);o++;f++}switch(t.charAt(f)){case".":case",":for(f++;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;r<this.m_nEchelleMaximale&&(s.bMulPuissance10(1),s.nAddEntier(u),o++,r++);f++}}e=this.m_nPrecisionMaximale;c=e;0<i.m_nPrecision?(e=Math.min(e,i.m_nPrecision),c=i.m_nEchelle):0<i.m_nEchelle&&(c=i.m_nEchelle);e<o&&(o=e);e<r&&(s.bDivPuissance10(r-e),r=e);switch(t.charAt(f)){case"D":case"E":case"d":case"e":f++;a=!1;switch(t.charAt(f)){case"-":a=!0;case"+":f++}for(h=0;;){if(u=t.charCodeAt(f)-l,isNaN(u)||u<0||9<u)break;h*=10;h+=u;f++}a?(r+=h,e<r&&(r=e),o<r&&(o=r)):r<h?(o+=h-r,e<o&&(o=e),s.bMulPuissance10(h-r),r=0):r-=h}v=0;c<r&&(v=r-c,r=c);o<r&&(o=r);i.m_nPrecision=o;i.m_nEchelle=r;p=s.bDivPuissance10(v);y&&s.oOpposee()},r}(t.CTDescriptionTypeSimple);t.ms_DescriptionNumeriqueDefaut=new f(13,128,38,38,38,6,!0);t.ms_DescriptionNumeriqueAuto=new f(13,128,38,38,0,0,!0);t.ms_DescriptionI8=new f(9,64,19,0,19,0,!0);t.ms_DescriptionUI8=new f(5,64,19,0,19,0,!1);t.oGetDescriptionNumerique=a;var i=16,r=i/8,o=65535,v=32767,s=32768,y=128,u=4,h="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",p=[0,2,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38],e=function(){function t(t,r,u){this.m_bSigne=r;this.m_tabData=new Array(Math.ceil(t/i));u?this.CopieDepuis(u):this.SetZero()}return t.prototype.oGetCopie=function(){return new t(this.nGetNbBitsTotal(),this.m_bSigne,this)},t.prototype.CopieDepuis=function(t,i){var f,e,u;for(f=undefined===i?t.m_tabData.length:Math.floor(i/r),t.bEstNegatif(i)?this.__SetMoins1():this.SetZero(),e=Math.min(this.m_tabData.length,f),u=0;u<e;u++)this.m_tabData[u]=t.m_tabData[u]},t.prototype.nGetNbBitsTotal=function(){return this.m_tabData.length*i},t.prototype.nAddEntier=function(n){for(var i=n,t=0;t<this.m_tabData.length;t++)i=this.__nAffecteAvecRetenue(this.m_tabData[t]+i,t);return i},t.prototype.nAddData=function(t){for(var r=0,i=0;i<this.m_tabData.length;i++)r=this.__nAffecteAvecRetenue(this.m_tabData[i]+t.m_tabData[i]+r,i);return r},t.prototype.nSubEntier=function(n){return this.nAddEntier(-n)},t.prototype.__bMulEntier=function(n){var r=this.bEstNegatif(),i,t,u;for(r&&this.oOpposee(),i=0,t=0;t<this.m_tabData.length;t++)i=this.__nAffecteAvecRetenue(this.m_tabData[t]*n+i,t);return u=0==i&&!1==this.bEstNegatif(),r&&this.oOpposee(),u},t.prototype.oMulData=function(i){for(var f,r,o,u=new t(Math.max(this.nGetNbBitsTotal(),i.nGetNbBitsTotal())*2,this.m_bSigne||i.m_bSigne),e=i.m_tabData.length-1;0<=e;e--){for(f=0,r=void 0,u.m_tabData.unshift(0),o=u.m_tabData.pop(),r=0;r<this.m_tabData.length;r++)f=u.__nAffecteAvecRetenue(this.m_tabData[r]*i.m_tabData[e]+f+u.m_tabData[r],r);for(;r<u.m_tabData.length&&f!=0;r++)f=u.__nAffecteAvecRetenue(f+u.m_tabData[r],r)}return u},t.prototype.bMulPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,u),t=this.__bMulEntier(Math.pow(10,i))&&t,n-=i;return t},t.prototype.nMulPuissance10Max=function(){for(var n=0,t;0==this.m_tabData[this.m_tabData.length-1];)this.bMulPuissance10(u),n+=u;for(t=this.oGetCopie();;)if(t.bMulPuissance10(1))n++,this.CopieDepuis(t);else break;return n},t.prototype.nDivEntier=function(n){return this.nDivEntierAvecReste(n,this.bEstNegatif()?n-1:0)},t.prototype.nDivEntierAvecReste=function(t,r){for(var f,u=this.m_tabData.length-1;0<=u;u--)f=(r<<i)+this.m_tabData[u],r=f%t,this.m_tabData[u]=n.NSOperations.nArrondiVersZero(f/t);return r},t.prototype.oDivData=function(i){var f,e,r;var u=new t(i.nGetNbBitsTotal(),this.m_bSigne||i.m_bSigne),o=this.nGetNbBitsTotal(),s=i.oGetCopie().oOpposee();for(f=0;f<o;f++){for(u.__nUnDecalageGauche(this.__nUnDecalageGauche(0)),e=!0,r=u.m_tabData.length-1;0<=r;r--)if(u.m_tabData[r]>i.m_tabData[r])break;else if(u.m_tabData[r]<i.m_tabData[r]){e=!1;break}e&&(this.m_tabData[0]+=1,u.nAddData(s))}return u},t.prototype.bDivPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,u),t=0==this.nDivEntier(Math.pow(10,i))&&t,n-=i;return t},t.prototype.oOpposee=function(){for(var n=this.m_tabData.length-1;0<=n;n--)this.m_tabData[n]^=o;return this.nAddEntier(1),this},t.prototype.oAbsolue=function(){return this.bEstNegatif()&&this.oOpposee(),this},t.prototype.SetZero=function(){this.__SetValeurUniforme(0)},t.prototype.__SetMoins1=function(){this.__SetValeurUniforme(o)},t.prototype.bConvert=function(n,t){return n==t?!0:t<n?(this.bDivPuissance10(n-t),!0):this.bMulPuissance10(t-n)},t.prototype.oGetMoitie=function(t){var i=this.oGetCopie(),r=Math.floor(i.m_tabData.length/2);return i.m_tabData.splice(t?0:r,r),i},t.prototype.nAjusteEchelle=function(t,i){for(var f=Math.floor(this.m_tabData.length/2),r=this.m_tabData.length-1;r>=f;r--)while(this.m_tabData[r]&&0<t)r>f?(this.bDivPuissance10(u),t-=u):(this.bDivPuissance10(1),t--);return 0!=(this.m_tabData[f-1]&s)&&0<t&&(this.bDivPuissance10(1),t--),i<t&&(this.bDivPuissance10(t-i),t=i),t},t.prototype.nGetBits=function(n){for(var t,e,o=0,r=0,u=1,h=n.m_nIndiceCDebutInclus,c=n.m_nIndiceCFinNonInclus,s=this.m_tabData,l=s.length,f=0;f<l;f++)for(t=s[f],e=0;e<i;e++)h<=r&&r<c&&(t&1&&(o+=u),u=u<<1),t=t>>>1,r++;return o},t.prototype.SetBits=function(n,t){for(var u,f,e,o=0,h=t.m_nIndiceCDebutInclus,c=t.m_nIndiceCFinNonInclus,s=this.m_tabData,l=s.length,r=0;r<l;r++){for(u=s[r],f=1,e=0;e<i;e++)h<=o&&o<c&&(u=u&~f|(n&1)<<e,n=n>>>1),f=f<<1,o++;s[r]=u}},t.prototype.bEstZero=function(){return this.__bEstValeurUniforme(0)},t.prototype.bEstMoins1=function(){return this.__bEstValeurUniforme(o)}
4,t.prototype.bEstNegatif=function(n){if(!this.m_bSigne)return!1;var t=s;return undefined===n?n=this.m_tabData.length-1:(0==n%r&&(t=y),n=Math.floor(n/r)),!!(this.m_tabData[n]&t)},t.prototype.bEstPair=function(){return n.NSOperations.bEstPair(this.m_tabData[0])},t.prototype.bGetSigne=function(){return this.m_bSigne},t.prototype.nGetNeededNbOctets=function(){var i=this.m_tabData.length*r,n,t;if(this.bEstNegatif()){for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/r)],65280!=(t&65280))break;if(n--,255!=(t&255))break}(0==n||0==(this.m_tabData[Math.floor(n/r)]&128<<16*(n%2)))&&n++}else{for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/r)],0!=(t&65280))break;if(n--,0!=(t&255))break}0!=(this.m_tabData[Math.floor(n/r)]&128<<16*(n%2))&&n++}return n++,n},t.prototype.__SetValeurUniforme=function(n){for(var t=this.m_tabData.length-1;0<=t;t--)this.m_tabData[t]=n},t.prototype.__bEstValeurUniforme=function(n){for(var t=this.m_tabData.length-1;0<=t;t--)if(this.m_tabData[t]!=n)return!1;return!0},t.prototype.__nUnDecalageGauche=function(n){for(var i,t=0;t<this.m_tabData.length;t++)i=0!=(this.m_tabData[t]&s)?1:0,this.m_tabData[t]=((this.m_tabData[t]&v)<<1)+n,n=i;return n},t.prototype.__nAffecteAvecRetenue=function(n,t){return this.m_tabData[t]=n&o,n>>>i},t}(),c=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.toString=function(n){var s,o,c,u;n===void 0&&(n=10);var t=[],i=this.m_tValeur.m_oNumeriqueData.oGetCopie(),r=this.m_tValeur.m_nEchelle,f=!0,e=0;for(10!=n&&(i.bDivPuissance10(r),r=0),this.bEstNegatif()&&10==n&&i.oOpposee();e<=r||!i.bEstZero();){if(e==r)f||r==0||t.push("."),f=!1;else if(s=10!=n&&i.bEstMoins1(),o=i.nDivEntier(n),0==o&&f||(t.push(h.charAt(o)),f=!1),s){if(1<t.length)for(c=t[t.length-2],u=0;u<n;u++)if(c==h.charAt(u)){n<=u*2&&t.pop();break}i.SetZero()}e++}return 10==n&&(e==r+1&&t.push("0"),this.bEstNegatif()&&t.push("-")),t.reverse(),t.join("")},r.prototype.vnToNumber=function(){return parseFloat(String(this))},r.prototype.valueOf=function(){return this.vnToNumber(0)},r.prototype.viGetSousElement=function(t,i){return n.NSUtil.iChaineSousElement(this.viGetIntervalle(1,i[t],undefined),t+1,i)},r.prototype.viGetIntervalle=function(i,r,u){switch(this.veGetTypeWL()){case 5:case 9:case 14:return new t.CIntervalleNombre(this,i,r,u);default:throw new n.CErreur(602,"[ ]");}},r.prototype.vnGetBits=function(n){return this.m_tValeur.m_oNumeriqueData.nGetBits(n)},r.prototype.vSetBits=function(n,t){return this.m_tValeur.m_oNumeriqueData.SetBits(n,t)},r.prototype.bEstNegatif=function(){return this.m_tValeur.m_oNumeriqueData.bEstNegatif()},r.prototype.oAbsolue=function(){return this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,this.m_tValeur.m_nEchelle,this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue())},r.prototype.oArrondi=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i,r;return n<this.m_tValeur.m_nEchelle?(t.oAbsolue(),n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),r=t.nDivEntier(10),5<=r&&t.nAddEntier(1),this.bEstNegatif()&&t.oOpposee(),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiInferieur=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i;return n<this.m_tValeur.m_nEchelle?(n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),t.nDivEntier(10),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiSuperieur=function(n){var t=this.m_tValeur.m_oNumeriqueData.oGetCopie(),i;return n<this.m_tValeur.m_nEchelle?(n+1<this.m_tValeur.m_nEchelle&&t.bDivPuissance10(this.m_tValeur.m_nEchelle-n-1),t.nDivEntier(10),t.nAddEntier(1),i=n):i=this.m_tValeur.m_nEchelle,this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oArrondiVersZero=function(){var n=this.m_tValeur.m_oNumeriqueData.oGetCopie(),t=n.bDivPuissance10(this.m_tValeur.m_nEchelle);return!t&&this.bEstNegatif()&&n.nAddEntier(1),this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,n)},r.prototype.bEstPair=function(){return this.oPartieEntiere().m_tValeur.m_oNumeriqueData.bEstPair()},r.prototype.nLog10Arrondi=function(){var t,n=this.m_tValeur.m_oNumeriqueData.oGetCopie();if(n.bDivPuissance10(this.m_tValeur.m_nEchelle),n.bEstZero()){t=0;do t--,n=this.m_tValeur.m_oNumeriqueData.oGetCopie(),n.bDivPuissance10(this.m_tValeur.m_nEchelle- -t);while(n.bEstZero())}else for(t=-1;!n.bEstZero();)n.bDivPuissance10(1),t++;return t},r.prototype.oPartieEntiere=function(){var n=this.m_tValeur.m_oNumeriqueData.oGetCopie();return n.bDivPuissance10(this.m_tValeur.m_nEchelle),this.__oCreeResultat().__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,n)},r.prototype.oConversionTypeNumerique=function(n){var i=this.m_iDescriptionType;return 13==this.veGetTypeWL()&&(i=t.ms_DescriptionNumeriqueAuto),i.viCreationCopie(n,0)},r.prototype.oAdditionNumerique=function(n){var e=this.m_tValeur,o=n.m_tValeur,r,u,s,i,f,t,h,c;return e.m_nEchelle>o.m_nEchelle?(r=e,u=o,s=n):(r=o,u=e,s=this),i=r.m_nEchelle,t=u.m_oNumeriqueData.oGetCopie(),t.bConvert(u.m_nEchelle,i)?f=r.m_oNumeriqueData:(i=s.__nGetEchelleMaximale(r),t=u.m_oNumeriqueData.oGetCopie(),t.bConvert(u.m_nEchelle,i),f=r.m_oNumeriqueData.oGetCopie(),f.bConvert(r.m_nEchelle,i)),h=t.bEstNegatif(),c=t.nAddData(f),f.bEstNegatif()==h&&t.bEstNegatif()!=h&&0<i&&(i--,0!=t.nDivEntierAvecReste(10,c?9:0)),this.__oCreeResultat(n).__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,i,t)},r.prototype.oSoustractionNumerique=function(n){var t=this.m_iDescriptionType.viCreationCopie(n,0);return t.m_tValeur.m_oNumeriqueData.oOpposee(),this.oAdditionNumerique(t)},r.prototype.oMultiplicationNumerique=function(n){var t=this.__oCreeResultat(n);if(!this.m_tValeur.m_oNumeriqueData.bEstZero()&&!n.m_tValeur.m_oNumeriqueData.bEstZero()){var r=this.bEstNegatif()!=n.bEstNegatif(),u=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),f=n.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),i=u.oMulData(f),e=i.nAjusteEchelle(this.m_tValeur.m_nEchelle+n.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);t.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,e,i.oGetMoitie(!1));r&&t.m_tValeur.m_oNumeriqueData.oOpposee()}return t},r.prototype.xoDivisionNumerique=function(t){var i=this.__oCreeResultat(t,!0);if(t.m_tValeur.m_oNumeriqueData.bEstZero())throw new n.CErreur(216);else if(!this.m_tValeur.m_oNumeriqueData.bEstZero()){var f=this.bEstNegatif()!=t.bEstNegatif(),u=this.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),o=t.m_tValeur.m_oNumeriqueData.oGetCopie().oAbsolue(),r=new e(this.m_iDescriptionType.m_nNbBitsTotal*2,u.bGetSigne(),u),s=r.nMulPuissance10Max(),h=r.oDivData(o),c=r.nAjusteEchelle(s+this.m_tValeur.m_nEchelle-t.m_tValeur.m_nEchelle,this.m_iDescriptionType.m_nPrecisionMaximale);i.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,c,r.oGetMoitie(!1));f&&(i.m_tValeur.m_oNumeriqueData.oOpposee(),h.bEstZero()||i.m_tValeur.m_oNumeriqueData.nSubEntier(1))}return i},r.prototype.xoModuloNumerique=function(t){var i=this.__oCreeResultat(t),f,r,u,o;if(t.m_tValeur.m_oNumeriqueData.bEstZero())throw new n.CErreur(216);else this.m_tValeur.m_oNumeriqueData.bEstZero()||(f=this.bEstNegatif(),r=new e(this.m_iDescriptionType.m_nNbBitsTotal*2,this.m_tValeur.m_oNumeriqueData.bGetSigne(),this.m_tValeur.m_oNumeriqueData).oAbsolue(),r.bDivPuissance10(this.m_tValeur.m_nEchelle),u=new e(this.m_iDescriptionType.m_nNbBitsTotal,t.m_tValeur.m_oNumeriqueData.bGetSigne(),t.m_tValeur.m_oNumeriqueData).oAbsolue(),u.bDivPuissance10(t.m_tValeur.m_nEchelle),o=r.oDivData(u),i.__oSetData(this.m_iDescriptionType.m_nPrecisionMaximale,0,o),f&&i.m_tValeur.m_oNumeriqueData.oOpposee());return i},r.prototype.oGetCopieNumeriqueData=function(){return this.m_tValeur.m_oNumeriqueData.oGetCopie()},r.prototype.nGetPrecision=function(){return this.m_tValeur.m_nPrecision},r.prototype.nGetEchelle=function(){return this.m_tValeur.m_nEchelle},r.prototype.__oCreeResultat=function(i,r){return r||13==this.veGetTypeWL()||i&&13==i.veGetTypeWL()?t.ms_DescriptionNumeriqueAuto.viCreation():9==this.veGetTypeWL()||i&&9==i.veGetTypeWL()?t.ms_DescriptionI8.viCreation():t.ms_DescriptionUI8.viCreation()},r.prototype.__oSetData=function(t,i,r){var u,f;return this.__SetPrecision(t),u=this.__nSetEchelle(i),this.m_iDescriptionType.m_nPrecisionMaximale==this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(r):0<this.m_tValeur.m_nPrecision?this.m_tValeur.m_oNumeriqueData.CopieDepuis(r,Math.ceil(this.m_tValeur.m_nPrecision/(8*Math.LOG10E/Math.LOG2E))):this.m_tValeur.m_oNumeriqueData.SetZero(),f=this.m_tValeur.m_oNumeriqueData.bDivPuissance10(u),this},r.prototype.__SetPrecision=function(t){this.m_tValeur.m_nPrecision=t},r.prototype.__nSetEchelle=function(n){return this.__nSetEchelleAvecMax(n,this.m_iDescriptionType.m_nEchelleMaximale)},r.prototype.__nSetEchelleAvecMax=function(t,i){var r=0;return i<t&&(r=t-i,t=i),this.m_tValeur.m_nPrecision<t&&this.__SetPrecision(t),this.m_tValeur.m_nEchelle=t,r},r.prototype.__nGetEchelleMaximale=function(t){var r=this.m_tValeur,i;return i=r.m_nEchelle+this.m_iDescriptionType.m_nPrecisionMaximale-this.__nGetPrecisionMinPourNOctet(r.m_oNumeriqueData.nGetNeededNbOctets()),i<r.m_nEchelle&&(i=r.m_nEchelle),t.m_nEchelle<=i&&(i=t.m_nEchelle-1),Math.min(i,this.m_iDescriptionType.m_nEchelleMaximale)},r.prototype.__nGetPrecisionMinPourNOctet=function(t){return p[t]+1},r}(t.CTType);t.bIsNumerique=l})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(n){var t;return function(){return undefined===t&&(t=new r(n.map(function(n){var t=n.m_tDefinition;return t instanceof Function?new s(n.m_sNomUtilisateur,n.m_sNomStandard,t()):new s(n.m_sNomUtilisateur,n.m_sNomStandard,t)}))),t}}function c(t){switch(t){case 0:case 1:return 0;case 2:return 1}}
4function nt(n,t,i){return{m_oInstanceDeClasse:t||i.m_oInstanceDeClasse.m_tabClassesDeBase[n],m_iDescriptionClasse:ot(n,i)}}function ot(n,t){return t.m_iDescriptionClasse.m_pfResolutionDefinitionsClassesDeBase().oGetParNomStandard(n).m_oDescriptionStatique}function l(t,i){return i.reduce(function(t,i){var r=t.m_oInstanceDeClasse.m_tabClassesDeBase[i];if(r)return nt(i,r,t);throw new n.CErreur(605,i);},t)}function e(t,i,r,u,f){var e,o,s;if(e=a(t,i.m_sNomUtilisateur,i.m_sNomStandard,r,u),e&&(o=l(t,e.m_tabClassesDeBase),s=f(o,e.m_sNomStandard),s))return{m_iEffectif:o,m_oMembre:s,m_tabClassesDeBase:e.m_tabClassesDeBase,m_sNomStandardEffectif:e.m_sNomStandard};throw new n.CErreur(605,i.m_sNomUtilisateur);}function tt(t,i,r,u){var f=null;return n.NSUtil.bForEachIn(t.m_oInstanceDeClasse.m_tabClassesDeBase,function(n,i){return f=u(n,nt(n,i,t)),!f}),f}function a(t,i,r,u,f){function e(n,t,i,r){return r.bExiste(n,t)?{m_eTypeMembre:i,m_sNomUtilisateur:n,m_sNomStandard:t,m_tabClassesDeBase:[]}:null}function s(t,f){var e=a(f,i,r,u,!0);return e&&e.m_tabClassesDeBase.unshift(t),e}var o=t.m_iDescriptionClasse;return 1===u&&e(i,r,1,o.m_pfResolutionDefinitionsClassesDeBase())||3===u&&e(i,r,3,o.m_tabDefinitionsMethodes)||(4===u||0===u)&&e(i,r,4,o.m_tabDefinitionsProprietes)||(2===u||0===u)&&e(i,r,2,o.m_pfResolutionDefinitionsMembres())||(f?tt(t,r,u,s):null)}function st(n,t,i,r){var f=n.m_oInstanceDeClasse.m_tabMembres,u=null;return n.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().bForEach(function(n){if(n.m_tDefinition.vbGetAttributAssocie())try{return u=f[n.m_sNomStandard].viGetMembre2(t,i,2,r),!1}catch(e){}return!0}),u}function it(n,t,i,r){function u(n,u){return it(u,t,i,r)}return st(n,t,i,r)||tt(n,i,r,u)}function v(n,t,i){n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(n){return t(n.m_sNomStandard,n.m_tDefinition.m_oDescriptionStatique),!0});n.m_pfResolutionDefinitionsMembres().bForEach(function(n){return i(n),!0})}function rt(i){var r={};return n.NSUtil.bForEachIn(i,function(n,i){return r[n]=t.iNatif2RValue(i),!0}),{m_tabClassesDeBase:{},m_tabMembres:r,m_bNative:!0}}function y(n,t){var i=t.vtGetValeurDirect();return null===i&&(i=new f(n),t.vSetValeurDirect(i)),i}function u(i,r,e){var c=e.m_tabClassesDeBase,h=r.m_tabClassesDeBase,o=e.m_tabMembres,s=r.m_tabMembres;v(i,function(i,r){var s=c[i],o=h[i];s?h[i]=r.viCreation(n.iGetValeurInitiale(s,2),t.ms_pfSansAppelConstructeur).vtGetValeurDirect():e.m_bNative&&o&&u(r,o,e)},function(i){var r=i.m_sNomStandard,u=i.m_tDefinition,e,y=!1,p=t.ms_pfSansAppelConstructeur,h,c,a,l,v,f;if(n.NSOperations.bDansDeserialisation){if(h=void 0,c=u.voGetAttributSerialise(),!1===c)return;if(h="string"==typeof c?c:i.m_sNomUtilisateur,e=o[h],a=s.hasOwnProperty(r),a){l=s[r];o.hasOwnProperty(h)&&(s[r]=u.viAffectation(l,n.iGetValeurAffectation(e,0,{m_bAvecErreur:!1})));return}}else{if(v=u.veGetAttributCopie(),0===v)return;1===v&&(y=!0,p=undefined);e=o.hasOwnProperty(r)?o[r]:o[i.m_sNomUtilisateur]}f=n.iGetValeurInitiale(e,0);f&&(f.m_iOptions.m_bForceCopiePronfondeurTableau=!0,f.m_iOptions.m_bForceClone=y);s[r]=u.viCreation(f,p)})}function ut(n,t,r){while(!n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(i){return n=i.m_tDefinition.m_oDescriptionDynamique,t=t.m_tabClassesDeBase[i.m_sNomStandard],!1}));var u=0,f=r.nGetNbElements(),e=new i(t,n,[],!1);n.m_pfResolutionDefinitionsMembres().bForEach(function(n){return u<f?(e.viGetMembre2(n.m_sNomUtilisateur,n.m_sNomStandard,0,2).vSetValeur(r.iGetSousElementIndice(u),0,{}),u++,!0):!1})}function o(n){return n&&(n instanceof i||n.xiGetInstancePourDonnees)}function g(t){var i,r;return o(t)?t:(i=n.iGetAsBase(t),i&&(r=i.viGetRValue(0),o(r)))?r:null}function vt(t,i){function e(n,t){function i(){n.apply(this,t)}return i.prototype=n.prototype,new i}var f=String(t),r=f.split(".").reduce(function(n,t){try{return n[t]}catch(i){return undefined}},window),u;if(r instanceof k)return r.m_oDescriptionStatique.viCreation(undefined,i);if(r instanceof Function)return u=i().map(function(t){return n.NSValues.oAny2Natif(t)}),Function.prototype.bind?(u.unshift(null),new(Function.prototype.bind.apply(r,u))):e(r,u);throw new n.CErreur(605,f);}var s=function(){function n(n,t,i){this.m_sNomUtilisateur=n;this.m_sNomStandard=t;this.m_tDefinition=i}return n}(),r,p,w,ft,b,k;t.CElementClasseDefinition=s;r=function(){function t(t){var i={},r={};n.NSUtil.bForEach(t,function(n){return i[n.m_sNomUtilisateur]=n,r[n.m_sNomStandard]=n,!0});this.m_tabNomUtilisateur=i;this.m_tabNomStandard=r}return t.prototype.oGetParNomUtilisateur=function(n){return this.m_tabNomUtilisateur[n].m_tDefinition},t.prototype.oGetParNomStandard=function(n){return this.m_tabNomStandard[n].m_tDefinition},t.prototype.oGetParNom=function(t,i){return this.oGetParNomStandard(i)},t.prototype.bExiste=function(t,i){return this.m_tabNomStandard.hasOwnProperty(i)},t.prototype.sGetNomUtilisateur=function(n){return this.m_tabNomStandard[n].m_sNomUtilisateur},t.prototype.bForEach=function(t){return n.NSUtil.bForEachIn(this.m_tabNomUtilisateur,function(n,i){return t(i)})},t}();t.pfResolutionDefinitions=h;t.ms_pfSansAppelConstructeur=function(){return[]};p=function(e){function o(t,i,u,f,o,s,h,c){var l=e.call(this,t,undefined)||this;return l.m_pfResolutionDefinitionsMembres=u,l.m_pfConstructeur=f,l.m_sNomClasseUtilisateur=h,l.m_sNomClasseLogique=c,undefined!==h&&undefined===c&&(l.m_sNomClasseLogique=n.NSUtil.sGetFormatLogique(h)),l.m_pfResolutionDefinitionsClasse
4sDeBase=i||function(){return new r([])},l.m_tabDefinitionsMethodes=new r(o||[]),l.m_tabDefinitionsProprietes=new r(s||[]),l}return __extends(o,e),o.prototype.viCreation=function(i,r){function s(n,i,u){var f=n._voAllocation(i);return 1!==u&&r!==t.ms_pfSansAppelConstructeur&&null!==f.vtGetValeurDirect()&&f.vAppelDuConstructeur.apply(f,r?r():[]),f}function h(n,t,i,r){var u=new f(n),e=s(n,u,i);return r(n,u,t),e}var e=this,o;return i?(this._xVerificationValeur(i),o=this._xveVerifieCreation(i),this._xoParcoursObjet(i,this,function(){return s(e,undefined,c(o))},function(){return s(e,null,c(o))},function(t){return n.NSUtil.xVerifieAffectationCopie(i),h(e,rt(t),c(o),u)},function(n){return h(e,n,0,ut)},function(t){var i,r,f;switch(o){case 0:if(i=t.viGetDescriptionType(),f=t.vtGetValeurDirect(),null!==f)r=f;else throw new n.CErreur(615);break;case 1:i=e;r=t.xiGetInstancePourDonnees().m_oInstanceDeClasse;break;case 2:return t}return h(i,r,0,u)})):s(this,undefined,0)},o.prototype.viAffectation=function(t,i){var r=this,f;return this._xVerificationValeur(i),f=this._xveVerifieAffectation(i),this._xoParcoursObjet(i,this,function(){return t.vSetValeurDirect(r._voGetValeurPourAllocationSiUndefined()),t},function(){return t.vSetValeurDirect(r._voGetValeurPourAllocationSiNull()),t},function(f){return n.NSUtil.xVerifieAffectationCopie(i),u(r,y(r,t),rt(f)),t},function(n){return ut(r,y(r,t),n),t},function(n){return 1===f?n:(u(r,y(r,t),n.xiGetInstancePourDonnees().m_oInstanceDeClasse),t)})},o.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_sNom:this.m_sNomClasseUtilisateur}},o.prototype._voAllocation=function(n){var t;return t=undefined===n?this._voGetValeurPourAllocationSiUndefined():null===n?this._voGetValeurPourAllocationSiNull():n,new i(t,this,[],!1)},o.prototype._xoParcoursObjet=function(r,u,e,o,s,h,c){function w(n){return undefined===n?e():null===n?o():s(n)}function y(n,t){var s,r,f,e;if(n&&(s=n.vtGetValeurDirect(),s)){if(r=void 0,t)if(f=n.viGetDescriptionType(),e=u.tabTrouveClasseCommune(f),undefined!==e)r=e.length?new i(s,f,e,!1):n;else return u.xviGetValeurPourAffectationIncompatible(f);else r=n;return c(r)}return o()}var l=r.m_oValeur,a,p,v;if(undefined===l)return e();if(null===l)return o();if(l instanceof f)return y(new i(l,l.m_iDescriptionClasse,[],!1,undefined),!0);if(a=n.iGetAsRValue(l,1),a){if(p=a.viGetAsTableau(),p)return h(p);if(v=a.viGetAsRValueType(),v)switch(a.veGetTypeWL()){case 34:return h(a.viGetAsTableau());case 36:return y(g(v),!1);case 37:return y(g(v),!0);default:if(!t.bIsObjetNatif(a))break;case 107:return w(v.vtGetValeurDirect())}}else{if(n.NSUtil.bIsArray(l))return h(t.iNatif2RValue(l).viGetAsTableau());if(n.NSUtil.bIsObject(l))return w(l)}throw new n.CErreur(600);},o.prototype.tabTrouveClasseCommune=function(n){var i=this,t;return n.m_pfResolutionDefinitionsMembres===this.m_pfResolutionDefinitionsMembres?[]:(n.m_pfResolutionDefinitionsClassesDeBase().bForEach(function(n){return t=i.tabTrouveClasseCommune(n.m_tDefinition.m_oDescriptionStatique),undefined!==t?(t.unshift(n.m_sNomStandard),!1):!0}),t)},o}(t.CTDescriptionType);w=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vbStatique=function(){return!0},t.prototype._xveVerifieCreation=function(n){if(!0===n.m_iOptions.m_bForceClone)return 0;switch(n.m_eAffectation){case 0:case 2:case 4:return 1;case 1:case 3:return 2}},t.prototype._xveVerifieAffectation=function(n){switch(n.m_eAffectation){case 0:case 2:case 4:return 0;case 1:case 3:return 1}},t.prototype._voGetValeurPourAllocationSiUndefined=function(){return new f(this)},t}(p);t.CDescriptionClasseStatiqueBase=w;ft=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype._voGetValeurPourAllocationSiNull=function(){return null},i.prototype.xviGetValeurPourAffectationIncompatible=function(t){throw new n.CErreur(618,t.m_sNomClasseUtilisateur,this.m_sNomClasseUtilisateur);},i.prototype._xvVerifieOperateur=function(){},i}(w);b=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.vbStatique=function(){return!1},t.prototype._voGetValeurPourAllocationSiUndefined=function(){return null},t.prototype._voGetValeurPourAllocationSiNull=function(){return null},t.prototype.xviGetValeurPourAffectationIncompatible=function(n){return new ht(this,n)},t.prototype._xveVerifieCreation=function(n){if(!0===n.m_iOptions.m_bForceClone)return 0;switch(n.m_eAffectation){case 2:case 4:return 1;case 0:case 1:case 3:return 2}},t.prototype._xveVerifieAffectation=function(n){switch(n.m_eAffectation){case 2:case 4:return 0;case 0:case 1:case 3:return 1}},t}(p);t.CDescriptionClasseDynamique=b;k=function(){function n(n,t,i,r,u,f,e){var o=h(n),s=h(t);this.m_oDescriptionStatique=new ft(37,o,s,i,r,u,f,e);this.m_oDescriptionDynamique=new b(37,o,s,i,r,u,f,e)}return n}();
4t.CDescriptionClasse=k;var f=function(){function r(n){this.m_iDescriptionClasse=n;this.m_bNative=!1;var i={},u={};v(n,function(n,t){i[n]=new r(t)},function(n){u[n.m_sNomStandard]=n.m_tDefinition.viCreation(undefined,t.ms_pfSansAppelConstructeur)});this.m_tabClassesDeBase=i;this.m_tabMembres=u}return r.prototype.AppelDuConstructeur=function(t,r,u){var s=t.m_pfConstructeur,f,e;s?s.apply(new i(this,t,[],!1,r),u):(f=this.m_tabClassesDeBase,e=this.m_tabMembres,v(t,function(t,i){var u=f[t];u.AppelDuConstructeur(i,r,[])},function(t){var i=e[t.m_sNomStandard];o(i)&&i.vAppelDuConstructeur()}))},r}(),i=function(i){function r(n,t,r,u,f){var e=i.call(this,n,t)||this;return e.m_tabClassesDeBase=r,e.m_bMethodesSansDerivees=u,e.m_sNomClasseForce=f,e}return __extends(r,i),r.prototype.valueOf=function(){function n(n,t,i){n.hasOwnProperty(t)||Object.defineProperty(n,t,i)}var t=this.__oGetCopie(function(t,i,r,u){n(i,r,{enumerable:!0,get:function(){return t.viGetMembre2(r,u,0,2).valueOf()},set:function(n){t.viGetMembre2(r,u,0,2).vSetValeur(n,0,{})}})},function(t,i,r){n(i,r.m_sNomUtilisateur,{get:function(){return function(){for(var i,u=[],n=0;n<arguments.length;n++)u[n]=arguments[n];i=t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,3);i.viAppelFonction.apply(i,u)}}})},function(t,i,r){n(i,r.m_sNomUtilisateur,{get:function(){return t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,4).valueOf()},set:function(n){t.viGetMembre2(r.m_sNomUtilisateur,r.m_sNomStandard,0,4).vSetValeur(n,0,{})}})});return this._oPatchValueOf(t)},r.prototype.toJSON=function(){var n=this.m_iDescriptionType.m_pfResolutionDefinitionsMembres();return this.__oGetCopie(function(t,i,r,u,f){var o=r,s=n.oGetParNom(r,u),e;if(s){e=s.voGetAttributSerialise();switch(typeof e){case"boolean":if(!e)return;break;case"string":o=e}}i[o]=f.toJSON()},null,null)},r.prototype.viGetMembre2=function(n,t,r,u){var e,s,f,l;if(u===void 0&&(u=0),e=this.xiGetInstancePourDonnees(),1===u&&(s=e.m_iDescriptionClasse.m_sNomClasseLogique,s&&t===s))return new et(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase,!0,this.m_sNomClasseForce);if(f=a(e,n,t,u,!0),f){var h=this.oChaine(f.m_tabClassesDeBase,this.m_bMethodesSansDerivees),c=f.m_sNomUtilisateur,o=f.m_sNomStandard;switch(f.m_eTypeMembre){case 1:return new et(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat([o]),!0,this.m_sNomClasseForce);case 2:return new ct(h,c,o);case 3:return new lt(h,c,o);case 4:return new at(h,c,o)}}return r===2&&(l=it(e,n,t,u),l)?l:i.prototype.viGetMembre2.call(this,n,t,r,u)},r.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},r.prototype._viGetProprieteVM=function(t){switch(t){case 21:var r=this.m_sNomClasseForce||this.m_iDescriptionType.m_sNomClasseUtilisateur;if(undefined!==r)return n.NSUtil.oGetProprieteConstante(r)}return i.prototype._viGetProprieteVM.call(this,t)},r.prototype.vAppelDuConstructeur=function(){for(var i,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];this.vtGetValeurDirect()&&(i=this.xiGetInstancePourDonnees(),i.m_oInstanceDeClasse.AppelDuConstructeur(i.m_iDescriptionClasse,this.m_sNomClasseForce||i.m_iDescriptionClasse.m_sNomClasseUtilisateur,r))},r.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(t){if(n.NSOperations.bDansDeserialisation){this.xiGetInstancePourDonnees().m_iDescriptionClasse.viAffectation(this,t);return}n.NSUtil.xVerifieAffectationAucune(t)},r.prototype.oChaine=function(n,t){return new r(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.concat(n),t,this.m_sNomClasseForce)},r.prototype.iGetThisCompatible=function(n){var t=this.viGetDescriptionType(),i=n.tabTrouveClasseCommune(t);return undefined!==i?i.length?new r(this.vtGetValeurDirect(),t,i,!1):this:n.xviGetValeurPourAffectationIncompatible(t)},r.prototype.iResolutionGetMembre=function(t){return e(this.xiGetInstancePourDonnees(),t,2,!0,function(i,r){return i.m_oInstanceDeClasse.m_tabMembres[r]}).m_oMembre},r.prototype.ResolutionSetMembre=function(t,i){var r=e(this.xiGetInstancePourDonnees(),t,2,!0,function(i,r){return i.m_oInstanceDeClasse.m_tabMembres[r]}),u=r.m_iEffectif,o=u.m_oInstanceDeClasse.m_tabMembres,f=r.m_sNomStandardEffectif,s=u.m_iDescriptionClasse.m_pfResolutionDefinitionsMembres().oGetParNomStandard(f);o[f]=s.viAffectation(r.m_oMembre,i)},r.prototype.iResolutionGetMethode=function(i){var r=this.__xiResolutionMethode(i);return function(i){return n.ms_oSymbolDepuisWLEnV2 in r.m_oMembre&&(i[n.ms_oSymbolDepuisWLEnV2]=!0),t.ms_DescriptionFonction.viCreationCopie(i,3)}(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.m_oMembre.apply(r.m_iThis,t)})},r.prototype.iResolutionGetPropriete=function(t){var i=this.__xiResolutionPropriete(t);if(i.m_oMembre.m_pfGet)return n.NSValues.iAny2RValue(i.m_oMembre.m_pfGet.apply(i.m_iThis,[]));throw new n.CErreur(605,t.m_sNomUtilisateur);},r.prototype.ResolutionSetPropriete=function(t,i){var r=this.__xiResolutionPropriete(t);if(r.m_oMembre.m_pfSet)r.m_oMembre.m_pfSet.apply(r.m_iThis,[i.m_oValeur]);else throw new n.CErreur(605,t.m_sNomUtilisateur);},r.prototype.xiGetInstancePourDonnees=function(){return l(this.__xiGetInstanceDeClasse(),this.m_tabClassesDeBase)},r.prototype.__xiGetInstanceDeClasse=function(){var t=this.vtGetValeurDirect();
4if(t)return{m_oInstanceDeClasse:t,m_iDescriptionClasse:this.m_iDescriptionType};throw new n.CErreur(615);},r.prototype.__xiResolutionMethode=function(t){return this.__xiResolutionMethodeOuPropriete(t,function(i,r){return e(i,t,3,r,function(i,r){return i.m_iDescriptionClasse.m_tabDefinitionsMethodes.oGetParNomStandard(r)})})},r.prototype.__xiResolutionPropriete=function(t){return this.__xiResolutionMethodeOuPropriete(t,function(i,r){return e(i,t,4,r,function(i,r){return i.m_iDescriptionClasse.m_tabDefinitionsProprietes.oGetParNomStandard(r)})})},r.prototype.__xiResolutionMethodeOuPropriete=function(t,i){var u,e,o;if(!this.m_bMethodesSansDerivees){var s=this.m_tabClassesDeBase,h=s.length,f=this.__xiGetInstanceDeClasse();for(u=0;u<h;u++){try{return e=i(f,!1),{m_iThis:new r(this.vtGetValeurDirect(),this.m_iDescriptionType,this.m_tabClassesDeBase.slice(0,u),!1),m_oMembre:e.m_oMembre}}catch(c){}f=l(f,[s[u]])}}return o=i(this.xiGetInstancePourDonnees(),!0),{m_iThis:this.oChaine(o.m_tabClassesDeBase,!1),m_oMembre:o.m_oMembre}},r.prototype.__oGetCopie=function(t,i,r){function u(f,e,o){var s=f.viGetDescriptionType();return n.NSUtil.bForEachIn(e.m_tabClassesDeBase,function(n,t){return u(f.oChaine([n],!1),t,o),!0}),n.NSUtil.bForEachIn(e.m_tabMembres,function(n,i){return t(f,o,f.viGetDescriptionType().m_pfResolutionDefinitionsMembres().sGetNomUtilisateur(n),n,i),!0}),i&&s.m_tabDefinitionsMethodes.bForEach(function(n){return i(f,o,n),!0}),r&&s.m_tabDefinitionsProprietes.bForEach(function(n){return r(f,o,n),!0}),o}var f=this.vtGetValeurDirect();return null===f?null:u(this,f,{})},r}(t.CTType),et=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i),ht=function(t){function i(n,i){var r=t.call(this)||this;return r.m_iDescriptionType=n,r.m_iDescriptionClasseSource=i,r}return __extends(i,t),i.prototype.valueOf=function(){return null},i.prototype.viGetRValue=function(){return this},i.prototype.viGetAsLRValue=function(){return this},i.prototype.viGetMembre2=function(){throw this.__oGetErreur();},i.prototype.viGetPropriete=function(){throw this.__oGetErreur();},i.prototype.viGetProprieteGenerique=function(){throw this.__oGetErreur();},i.prototype.viGetSousElement=function(){throw this.__oGetErreur();},i.prototype.viGetIntervalle=function(){throw this.__oGetErreur();},i.prototype.veGetTypeWL=function(){return this.m_iDescriptionType.veGetTypeWL()},i.prototype.viGetAsRValueType=function(){return this},i.prototype.viGetAsTableau=function(){return null},i.prototype.viGetAsTableauAssociatif=function(){return null},i.prototype.viGetAsValeurMultiple=function(){return undefined},i.prototype.viAppelFonction=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];throw this.__oGetErreur();},i.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},i.prototype.vtGetValeurDirect=function(){return null},i.prototype.vSetValeurDirect=function(){throw this.__oGetErreur();},i.prototype.viGetDescriptionType=function(){return this.m_iDescriptionType},i.prototype.vAppelDuConstructeur=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];throw this.__oGetErreur();},i.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i.prototype.vSetValeur2=function(){throw this.__oGetErreur();},i.prototype.oChaine=function(){throw this.__oGetErreur();},i.prototype.iGetThisCompatible=function(){throw this.__oGetErreur();},i.prototype.iResolutionGetMembre=function(){throw this.__oGetErreur();},i.prototype.ResolutionSetMembre=function(){throw this.__oGetErreur();},i.prototype.iResolutionGetMethode=function(){throw this.__oGetErreur();},i.prototype.iResolutionGetPropriete=function(){throw this.__oGetErreur();},i.prototype.ResolutionSetPropriete=function(){throw this.__oGetErreur();},i.prototype.xiGetInstancePourDonnees=function(){throw this.__oGetErreur();},i.prototype.__oGetErreur=function(){return new n.CErreur(618,this.m_iDescriptionClasseSource.m_sNomClasseUtilisateur,this.m_iDescriptionType.m_sNomClasseUtilisateur)},i}(n.CIBase),d=function(n){function t(t,i,r){var u=n.call(this)||this;return u.m_iThis=t,u.m_sNomUtilisateur=i,u.m_sNomStandard=r,u}return __extends(t,n),t}(n.NSUtil.CWrapperValue),ct=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(){return this.__iGetMembre()},t.prototype.vSetValeur2=function(n){this.m_iThis.ResolutionSetMembre(this,n)},t.prototype.vAppelDuConstructeur=function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t=this.__iGetMembre();o(t)&&t.vAppelDuConstructeur.apply(t,i)},t.prototype.__iGetMembre=function(){return this.m_iThis.iResolutionGetMembre(this)},t}(d),lt=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetRValue=function(){return this.m_iThis.iResolutionGetMethode(this)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationAucune(t)},i}(d),at=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_iThis.iResolutionGetPropriete(this)},t.prototype.vSetValeur2=function(n){this.m_iThis.ResolutionSetPropriete(this,n)},t}(d);t.iGetThis=g;t.xoAllocationDynamique=vt})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(i,r,u){if(i){n.NSUtil.xVerifieAffectationReference(i);var e=i.m_oValeur,f=t.iGetThis(e);
4if(f)return!0===u?f.viGetDescriptionType().viCreation(i,r):f}return t.ms_DescriptionObjetNatif.viCreation(i,r)}var u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype._voGetValeurPourAllocationSiNull=function(){throw new n.CErreur(600);},i.prototype.xviGetValeurPourAffectationIncompatible=function(){throw new n.CErreur(600);},i.prototype._xveVerifieCreation=function(i){return n.NSUtil.xVerifieAffectationCopie(i),t.prototype._xveVerifieCreation.call(this,i)},i.prototype._xveVerifieAffectation=function(i){return n.NSUtil.xVerifieAffectationCopie(i),t.prototype._xveVerifieAffectation.call(this,i)},i}(t.CDescriptionClasseStatiqueBase),f=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.xviGetValeurPourAffectationIncompatible=function(){throw new n.CErreur(600);},i}(t.CDescriptionClasseDynamique),e=function(){function n(n,i,r){var e=t.pfResolutionDefinitions(n);this.m_oDescriptionStatique=new u(36,null,e,null,null,null,i,r);this.m_oDescriptionDynamique=new f(36,null,e,null,null,null,i,r)}return n}(),r;t.CDescriptionStructure=e;r=function(t){function r(){return t.call(this,37,undefined)||this}return __extends(r,t),r.prototype.viCreation=function(n,t){return i(n,t,n===null||n===void 0?void 0:n.m_iOptions.m_bForceClone)},r.prototype.viAffectation=function(n,t){this._xVerificationValeur(t);switch(t.m_eAffectation){default:case 0:case 1:case 3:return i(t,undefined,!1);case 2:case 4:return n.viGetDescriptionType().viAffectation(n,t)}},r.prototype._voAllocation=function(){throw new n.CErreur(615);},r}(t.CTDescriptionType);t.ms_DescriptionObjetDynamique=new r})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){n.ms_DescriptionVariant=new n.CDescriptionObjetNatif(31,1);n.ms_DescriptionTableauVariant=new n.CDescriptionTableauNatif(1)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(){}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t){var r=new Date;i=undefined!==n&&undefined!==t&&s(String(n)+String(t),r,26)?r:null}function r(n){return undefined==n&&(n=new Date,i&&n.setTime(i.getTime())),{m_oDate:n,m_sValeurInvalide:null}}function o(n){switch(n){case 24:case 26:return!0;default:return!1}}function f(n){switch(n){case 25:case 26:return!0;default:return!1}}function s(t,i,r){t=n.NSUtil.sCorrigeDateHeureDeserialisation(t,r);switch(n.NSUtil.eSetDateHeureFromWL(i,t,!1,r,1)){case 0:var u=t;if(f(r)&&(u=h(u,r)),u==n.NSUtil.sGetDateHeureWL(i,!1,r))return!0;break;case 1:return!0}return!1}function h(t,i){var r=o(i)?17:9;return n.NSUtil.sCompleteChaine(t.substring(0,r),r,"0")}function l(n){return!!n&&(n instanceof e||undefined!==n.__xDateValide)}var i=null,u,e,c;t.SetDateHeureDefaut=a;u=function(t){function i(n){var i=t.call(this,n,function(n){var t,u=n.m_oValeur;return t=undefined!==u?i.__oCreeDate(u,n.m_iOptions.m_bAvecErreur):r(),24==i.veGetTypeWL()&&t.m_oDate.setHours(0,0,0,0),t},undefined,!1)||this;return i}return __extends(i,t),i.prototype.viCreation=function(t){var f,i,e,u;if(t){i=t.m_oValeur;e=t.m_eAffectation;this._xVerificationValeur(t);switch(e){case 3:case 1:if(u=n.iGetAsRValue(i,1),u){if(l(u)){f=u.vtGetValeurDirect();break}}else if(i instanceof Date){f=r(i);break}case 0:case 2:case 4:f=this.m_pfCast(n.iGetValeurAffectation(i,e,{m_bAvecErreur:!1}))}}return this._voAllocation(f)},i.prototype._voAllocation=function(n){n===void 0&&(n=r());return new e(n,this)},i.prototype.__oCreeDate=function(t,i){var u=r(),f=!0;switch(typeof t){case"string":f=this.__bChaine2DateHeure(t,u);break;case"number":f=this.__bNombre2DateHeure(t,u);break;case"object":f=this.__bObjet2DateHeure(t,u)}if(!f)if(i&&""!==t)throw new n.CErreur(204);else u.m_sValeurInvalide=l(t)?t.vtGetValeurDirect().m_sValeurInvalide:String(t);return u},i.prototype.__bChaine2DateHeure=function(n,t){return s(n,t.m_oDate,this.veGetTypeWL())},i.prototype.sFormateDateHeure=function(n){return this.__bHeure()?h(n,this.veGetTypeWL()):n.substring(0,8)},i.prototype.__bNombre2DateHeure=function(t,i){var r=i.m_oDate,u;switch(this.veGetTypeWL()){case 24:return u=r.getHours()*36e5+r.getMinutes()*6e4+r.getSeconds()*1e3+r.getMilliseconds(),r.setTime((t-62092)*864e5+u),!0;case 25:return 864e4<=t?!1:(r.setHours(Math.floor(t/36e4),Math.floor(t%36e4/6e3),Math.floor(t%6e3/100),t%100*10),!0);default:case 26:return!1}},i.prototype.__bObjet2DateHeure=function(t,i){var r,e=i.m_oDate,f=n.iGetAsRValue(t,1),u,o;
4if(f){switch(f.veGetTypeWL()){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:return this.__bNombre2DateHeure(f.vnToNumber(0),i);case 16:case 19:return this.__bChaine2DateHeure(String(t),i);case 24:case 25:case 26:case 128:case 129:if(u=f.viGetAsRValueType(),u)return o=new Date,o.setTime(u.vtGetValeurDirect().m_oDate.getTime()),i.m_oDate=o,i.m_sValeurInvalide=u.vtGetValeurDirect().m_sValeurInvalide,null===i.m_sValeurInvalide}return!1}if(t instanceof Date)r=t;else return"undefined"!=typeof clWLangage&&t instanceof clWLangage.WDDateHeure?this.__bChaine2DateHeure(t.toStringAvecInvalide(),i):!1;switch(this.veGetTypeWL()){case 24:e.setFullYear(r.getFullYear(),r.getMonth(),r.getDate());break;case 25:e.setHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds());break;case 26:e.setTime(r.getTime())}return!0},i.prototype.__bHeure=function(){return f(this.veGetTypeWL())},i}(t.CTDescriptionTypeSimple);t.ms_DescriptionDate=new u(24);t.ms_DescriptionHeure=new u(25);t.ms_DescriptionDateHeure=new u(26);e=function(i){function r(t,r){var u=i.call(this,t,r)||this;return u}return __extends(r,i),r.prototype.toString=function(){return""===this.m_tValeur.m_sValeurInvalide?this.__sGetValeurInvalide():(this.__xDateValide(),this.__sToString())},r.prototype.vnToNumber=function(){var t,i;this.__xDateValide();t=this.m_tValeur.m_oDate;switch(this.veGetTypeWL()){case 24:return i=t.getTimezoneOffset(),i+=i<0?-1:1,Math.floor((t.getTime()-i*6e4)/864e5)+62092;case 25:return n.NSOperations.nArrondiVersZero((t.getHours()*36e5+t.getMinutes()*6e4+t.getSeconds()*1e3+t.getMilliseconds())/10);default:case 26:return 0}},r.prototype.valueOf=function(){return this.toString()},r.prototype.viGetIntervalle=function(n,i,r){return new t.CIntervalleChaine(this,n,i,r)},r.prototype._viGetProprieteVM=function(n){switch(n){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:return new c(this,n);default:return i.prototype._viGetProprieteVM.call(this,n)}},r.prototype.vsGetChaine=function(){return this.toString()},r.prototype.xvSetChaine=function(){throw new n.CErreur(602,"[[ ]]");},r.prototype.__sToString=function(){return n.NSUtil.sGetDateHeureWL(this.m_tValeur.m_oDate,!1,this.veGetTypeWL())},r.prototype.sToStringAvecInvalide=function(){return this.bDateValide()?this.__sToString():this.__sGetValeurInvalide()},r.prototype.__sGetValeurInvalide=function(){return this.m_iDescriptionType.sFormateDateHeure(this.m_tValeur.m_sValeurInvalide)},r.prototype.__bDate=function(){return o(this.veGetTypeWL())},r.prototype.__bHeure=function(){return f(this.veGetTypeWL())},r.prototype.bDateValide=function(){return null===this.m_tValeur.m_sValeurInvalide},r.prototype.__xDateValide=function(){if(!this.bDateValide())throw new n.CErreur(204);},r.prototype.oAdditionOffset=function(t){var i,r;this.__xDateValide();switch(this.veGetTypeWL()){case 24:t=n.NSOperations.nArrondiVersZero(t/864e5)*864e5;break;case 25:t-=n.NSOperations.nArrondiVersZero(t/864e5)*864e5}return i=new Date,i.setTime(this.m_tValeur.m_oDate.getTime()+t),r=this.m_iDescriptionType.viCreation(),r.vSetValeurDirect({m_oDate:i,m_sValeurInvalide:null}),r},r.prototype.oSoustractionDate=function(n){this.__xDateValide();n.__xDateValide();var i=this.m_tValeur.m_oDate,r=n.m_tValeur.m_oDate;return new t.CDuree(i.getTime()-r.getTime()-(i.getTimezoneOffset()-r.getTimezoneOffset())*6e4)},r.prototype.oSoustractionDuree=function(n){return this.oAdditionOffset(-n.vnToNumber(0))},r.prototype.oGetDatePourPropriete=function(t){function i(t){if(!t)throw new n.CErreur(603);}this.__xDateValide();switch(t){case 0:case 1:case 2:case 7:i(this.__bDate());break;case 3:case 4:case 5:case 6:case 8:i(this.__bHeure())}return this.m_tValeur.m_oDate},r}(t.CTType);c=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetRValue=function(){var n=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete),i;switch(this.m_ePropriete){default:case 0:i=n.getFullYear();break;case 1:i=n.getMonth()+1;break;case 2:i=n.getDate();break;case 3:i=n.getHours();break;case 4:i=n.getMinutes();break;case 5:i=n.getSeconds();break;case 6:i=n.getMilliseconds();break;case 7:return t.ms_DescriptionDate.viCreationCopie(n,1);case 8:return t.ms_DescriptionHeure.viCreationCopie(n,1)}return t.ms_DescriptionI4.viCreationCopie(i,0)},r.prototype.vSetValeur2=function(i){var u=i.m_oValeur,r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete),f=i.m_iOptions.m_bCombine,e,o;switch(this.m_ePropriete){case 0:e=r.getDate();r.setFullYear(this.__nGetValeurDansBornes(u,0,9999,f));break;case 1:e=r.getDate();r.setMonth(this.__nGetValeurDansBornes(u,1,12,f)-1);break;case 2:o=r.getMonth();r.setDate(this.__nGetValeurDansBornes(u,1,31,f));f||o==r.getMonth()||r.setDate(0);break;case 3:r.setHours(this.__nGetValeurDansBornes(u,0,23,f));break;case 4:r.setMinutes(this.__nGetValeurDansBornes(u,0,59,f));break;case 5:r.setSeconds(this.__nGetValeurDansBornes(u,0,59,f));break;case 6:r.setMilliseconds(this.__nGetValeurDansBornes(u,0,999,f));break;case 7:var s=r.getHours(),h=r.getMinutes(),c=r.getSeconds(),l=r.getMilliseconds();t.ms_DescriptionDate.viAffectation(this.m_tParent,n.iGetValeurAffectation(u,0,{m_bAvecErreur:!0}));r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);r.setMilliseconds(l);r.setSeconds(c);r.setMinutes(h);r.setHours(s);break;case 8:var a=r.getFullYear(),v=r.getMonth(),y=r.getDate();t.ms_DescriptionHeure.viAffectation(this.m_tParent,n.iGetValeurAffectation(u,0,{m_bAvecErreur:!0}));r=this.m_tParent.oGetDatePourPropriete(this.m_ePropriete);r.setFullYear(a,v,y)}undefined!==e&&r.getDate()!=e&&r.setDate(0)},r.prototype.__nGetValeurDansBornes=function(n,t,i,r){var u=parseInt(String(n),10);if(!r){if(u<t)return t;if(i<u)return i}return u},r}(n.NSUtil.CProprieteMultiple)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function v(t,i){var e=t.length-1,r=[],u,f;return function s(t,i){var u=i.length;r[t]=Math.max(r[t]||0,u);
4t<e&&i.forEach(function(i){if(!n.NSUtil.bIsArray(i))throw new n.CErreur(601);s(t+1,i)})}(0,i),u=new Array(o(r)),f=0,function h(n,t){if(n<e)t.forEach(function(t){h(n+1,t)});else{var i=[f,t.length];i=i.concat(t);Array.prototype.splice.apply(u,i);f+=r[n]}}(0,i),{tabGetDimensions:function(){return r},tabGetValeurs:function(){return u},bEstNull:function(){return!1}}}function p(t){return 0<t.length?t.map(function(t){var i=n.NSUtil.nGetEntier(t,0);if(i<0)throw new n.CErreur(209);return i}):[0]}function w(t,i){if(t.length!=i.nGetNbDimensions())throw new n.CErreur(601);}function o(n){return n.reduce(function(n,t){return n*t})}function i(n){return n.reduce(function(n,t,i){return 0==i?1:n*t},1)}function s(t,i){var r,e,o;var s=t.length,u=0,f=1;for(r=s-1;0<=r;r--)e=i[r],o=t[r],u+=e*f,f*=o;return u}function b(t,i,u,f){var s=t&15,e=t&-16,o;if(undefined===i)return r(u,1),ft(s,e,f);o=n.NSValues.oAny2Natif(i);switch(s){case 3:return r(u,2),et(e,String(o),u,f);case 4:return r(u,1),ot(e,String(o),f);case 5:return r(u,1),st(e,o,f);default:return r(u,2),k(e,[[n.NSUtil.xnGetIndiceC(o,u[1],0,NaN),2!=s]],f)}}function ft(n,t,i){var r=f(n,t,i);return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function h(n){return function(t,i,r,u){return n(t[r],t[u])}}function et(t,i,r,u){var f=undefined!==r[1]?r[1]:1,e=i.split(";").map(function(t){var i=!0;switch(t.charAt(0)){case"-":i=!1;case"+":t=t.substring(1)}return[n.NSUtil.xnGetIndiceC(parseInt(t,10),f,0,NaN),i]});return k(t,e,u)}function ot(n,t,i){var u=t.split(";").map(function(n){var t=!0;switch(n.charAt(0)){case"-":t=!1;case"+":n=n.substring(1)}return[n.split("."),t]}),r=d(n,u,function(n,t){return t.reduce(function(n,t){return n.viGetMembre(t,!1,undefined)},n)},i,i);return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function st(n,t,i){var r=function(n,r){return t(i(n),i(r))};return{m_pfComplet:l,m_pfComparaisonLigne:h(r),m_pfComparaison:r}}function k(t,i,r){function u(n,t,i){for(var u=new Array(i),r=0,f=t*i;r<i;r++,f++)u[r]=n[f];return u}var f=d(t,i,function(n,t){return r(n[t])},r,function(n){return n});return{m_pfComplet:function(n,t){for(var s,c,r,e=t[0],h=undefined!==t[1]?t[1]:1,o=new Array(e),i=0;i<e;i++)o[i]=u(n,i,h);for(o.sort(f),s=0,i=0;i<e;i++)for(c=o[i],r=0;r<h;r++,s++)n[s]=c[r]},m_pfComparaisonLigne:function(n,t,i,r){var e=undefined!==t[1]?t[1]:1;return f(u(n,i,e),u(n,r,e))},m_pfComparaison:function(){return 0}}}function d(n,t,i,r,u){var e=f(0,n,r);return function(n,r){var f=0,o=u(n),s=u(r);return t.every(function(n){var r=n[0],t=e(i(o,r),i(s,r));return 0!=t?(f=n[1]?t:-t,!1):!0}),f}}function f(t,i,r,u){function f(t){var f=u(r(t));return i&65536&&(f=n.NSUtil.sSupprimeEspacesDebutFin(String(f))),i&1048576&&(f=String(f).toUpperCase()),i&16777216&&(f=n.NSUtil.sSupprimeEspacesInterieur(String(f))),f}function e(t,i){return n.NSUtil.nCompareAny(f(t),f(i))}return u===void 0&&(u=function(n){return n.valueOf()}),2!==t?e:function(n,t){return e(t,n)}}function c(n){var t=undefined;return function(i){function r(){return undefined===t&&(t=n.iCreationSousElement()),t}return undefined!==i?i:r()}}function l(n,t,i){n.sort(i)}function r(t,i){if(i<t.length)throw new n.CErreur(2==i?212:211,"Trie()/TableauTrie","Sort()/ArraySort");}function g(t,i,r,u){for(var e=i,o=0,l=e-1,h=0,a,f,s,c;o<=l;){if(u&&0<u(t[o],t[l]))throw new n.CErreur(207);if(f=Math.floor(e/2),0!=f)if(s=f&1?f:f-1,c=o+s,a=r(t,c),0==a){h+=s;break}else 0<a?(l=c-1,e=s):(h+=s+1,o=c+1,e=f);else{0<e&&r(t,o)<0&&h++;break}}return h}function nt(t,r,f,e){var a=t.viGetAsTableauType(),v,o,s,h,l,c;if(!a)throw new n.CErreur(601);if(v=a.tabGetDimensions(),o=v[0],new u(r).SupprimeTout(),s=n.NSUtil.xnGetIndiceC(f,o,0,1),h=n.NSUtil.nGetEntier(e,o-s),h<0||o-s<h)throw new n.CErreur(200,s+n.NSUtil.nGetEntier(e,NaN),o);l=v.slice();l[0]=h;r.xRedimensionne(l);var p=a.tabGetValeurs(),y=i(l),w=s*y,b=h*y;for(c=0;c<b;c++)try{r.iGetSousElementIndice(c).vSetValeur(p[w+c],4,{})}catch(k){}}function tt(n,t,i){var u=n.tabGetValeurs(),f=n.nGetDimension0Pas(),r=[i,0];r=r.concat(u.splice(t,f));Array.prototype.splice.apply(u,r)}function it(n,t,i){var r=n.tabGetValeurs(),u=r[i];r[i]=r[t];r[t]=u}function rt(n){return n&&(n instanceof e||n.__Redimensionnement)}var ut=function(i){function r(n,t,r,u){var f=i.call(this,34,undefined)||this;return f.m_iDescriptionElement=n,f.tabDimensions=t,f.m_eModeAgrandissement=u,f.m_bReferenceDirecteSurCopie=!!(r&1),f.m_bDynamique=!!(r&2),f.m_tabDimensions=p(t),f}return __extends(r,i),r.prototype.viCreation=function(n){var t=this._voAllocation();return n?this.__xCreationOuAffectation(t,n):t},r.prototype.viAffectation=function(n,t){return this.__xCreationOuAffectation(n,t)},r.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){i.prototype.vxVerifieCompatibilitePassageParAdresse.call(this,n,t);var r=n.viGetAsTableau();w(this.m_tabDimensions,r)},r.prototype.voJSONDebogueurType=function(n){n===void 0&&(n=this.m_tabDimensions);var i=this.m_iDescriptionElement,r=i?i:t.ms_DescriptionBooleen;return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:this.m_bDynamique,m_oTypeSousElement:r.voJSONDebogueurType()}},r.prototype._voAllocation=function(){var n=o(this.m_tabDimensions),t;return t=this.m_bDynamique&&0==n?null:new Array(n),new e(t,this)},r.prototype.iCreationSousElement=function(){var t=this.m_iDescriptionElement;if(t)return t.viCreation();throw new n.CErreur(215);},r.prototype.iAffectationSousElement=function(t,i){var r=this.m_iDescriptionElement;if(r)return r.viAffectation(t,i);throw new n.CErreur(215);},r.prototype.xVerifieCompatibilitePourCopie=function(t){if(rt(t)){var u=t.m_iDescriptionType,i=this.m_iDescriptionElement,r=u.m_iDescriptionElement;if(i)if(r){if(r.veGetTypeWL()!==i.veGetTypeWL()&&this.m_bReferenceDirecteSurCopie)throw new n.CErreur(601);}else throw new n.CErreur(215);}},r.prototype.__xCreationOuAffectation=function(i,r){var e=r.m_oValeur,h,u,f,c,s;if(e){if(!rt(i))throw new n.CErreur(0);var o=void 0,a=i.tabGetDimensions(),l=!1;if(n.NSUtil.bIsArray(e))o=v(a,e),l=n.NSOperations.bDansDeserialisation;else if(h=n.NSValues.iAny2RValue(e),u=h.viGetAsTableau(),u){if(f=u.viGetAsTableauType(),f){if(f===i)return i;w(i.tabGetDimensions(),u);switch(r.m_eAffectation){case 0:if(!this.m_bReferenceDirecteSurCopie||t.bIsTableauNatif(u)||r.m_iOptions.m_bForceCopiePronfondeurTableau)break;case 1:case 3:return f}o=f}else throw new n.CErreur(601);this.m_iDescriptionElement||(this.m_iDescriptionElement=u.iGetDescriptionElement())}else if(c=h.viGetAsRValueType(),s=c?c.vtGetValeurDirect():null,n.NSUtil.bIsObjectArray(s))o={tabGetDimensions:function(){return[s.length]},tabGetValeurs:function(){return s},bEstNull:function(){return!1}};else throw new n.CErreur(601);i.Remplace(o,l)}return i},r}(t.CTDescriptionType),e,y,u,a;t.CDescriptionTableau=ut;e=function(r){function f(n,t){var i=r.call(this,n,t)||this;return i.m_oTri=undefined,i.m_tabDimensions=t.m_tabDimensions.slice(),i.m_oTableauCherche=new a(i,c(t)),i}return __extends(f,r),f.prototype.valueOf=function(){var u=this,t=this.m_tValeur;if(t){var i=this.m_tabDimensions,f=0,r=function(e){for(var s=i[e],h=new Array(s),c=e+1,l=c<i.length?function(){return r(c)}:function(){var i=t[f++],r=undefined!==i?i:u.m_iDescriptionType.iCreationSousElement();return n.NSValues.oAny2Natif(r)},o=0;o<s;o++)h[o]=l();return h};return r(0)}return this.m_iDescriptionType.m_bReferenceDirecteSurCopie?null:[]},f.prototype.viGetSousElement=function(t,i){var r=this.m_tabDimensions.length,u=this.__xnGetIndicePlat(t,i,this.m_iDescriptionType.m_eModeAgrandissement);return n.NSUtil.iChaineSousElement(this.iGetSousElementIndice(u),t+r,i)},f.prototype.viGetAsTableau=function(){return this},f.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},f.prototype._viGetProprieteVM=function(t){var i=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return i.nGetNbElements()},null);default:return r.prototype._viGetProprieteVM.call(this,t)}},f.prototype.xiGetTableauCherche=function(){return this.m_oTableauCherche},f.prototype.xiGetTableauTri=function(){return this},f.prototype.xiGetTableauSupprime=function(){return new u(this)},f.prototype.xRedimensionne=function(t){if(t.length!=this.m_tabDimensions.length)throw new n.CErreur(210);this.__Redimensionnement(t)}
4,f.prototype.nAjouteLigne=function(n){var t=this.m_tabDimensions[0];return this.__AjouteInsereLigne(t,n),t},f.prototype.xCopieDepuis=function(n,t,i){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(n);nt(n,this,t,i)},f.prototype.DeplaceLigne=function(n,t){tt(this,n,t)},f.prototype.Echange=function(n,t){it(this,n,t)},f.prototype.eTypeElement=function(){var n=this.iGetDescriptionElement();return n?n.veGetTypeWL():0},f.prototype.bDynamique=function(){return this.m_iDescriptionType.m_bDynamique},f.prototype.Insere=function(t,r){var h=this.tabGetDimensions(),u=null,c,o,f,s,e,l;if(n.NSUtil.bIsArray(r)?u=v(h,r):(c=n.NSValues.iAny2RValue(r),o=c.viGetAsTableau(),o&&(u=o.viGetAsTableauType())),u&&(f=u.tabGetDimensions(),f.length==h.length)){var a=f[0],y=u.tabGetValeurs(),p=i(f);for(s=t,e=0;e<a;s++,e++)l=e*p,this.__AjouteInsereLigne(s,y,l);return}this.__AjouteInsereLigne(t,[r])},f.prototype.InsereLigne=function(n,t){this.__AjouteInsereLigne(n,t)},f.prototype.eGetModeAgrandissement=function(){return 1},f.prototype.nGetNbDimensions=function(){return this.m_tabDimensions.length},f.prototype.nGetUneDimension=function(n){return this.m_tabDimensions[n]},f.prototype.nGetNbElements=function(){return(this.m_tValeur||[]).length},f.prototype.nGetDimension0Pas=function(){return i(this.m_tabDimensions)},f.prototype.iGetSousElementIndice=function(n){return new y(this,n)},f.prototype.iGetDescriptionElement=function(){return this.m_iDescriptionType.m_iDescriptionElement},f.prototype.viGetAsTableauType=function(){return this},f.prototype.tabGetDimensions=function(){return this.m_tabDimensions},f.prototype.tabGetValeurs=function(){return null===this.m_tValeur&&(this.m_tValeur=[]),this.m_tValeur},f.prototype.bEstNull=function(){return null===this.m_tValeur},f.prototype.nAjouteTrie=function(t){var u=this.m_tabDimensions;if(!this.m_oTri||!this.m_oTri.m_pfComparaison)throw new n.CErreur(207);var i=this.m_oTri.m_pfComparaison,f=n.NSValues.iAny2RValue(t),r=g(this.tabGetValeurs(),u[0],function(n,t){return i(n[t],f)},i);return this.Insere(r,t),r},f.prototype.SupprimeDoublon=function(t,i){for(var l,a=this,s=this.tabGetValeurs(),e=this.tabGetDimensions(),o=e[0],h=b(t,i,e,c(this.m_iDescriptionType)),f=new Array(o),r=0;r<o;r++)f[r]=r;for(f.sort(function(n,t){return h.m_pfComparaisonLigne(s,e,n,t)}),r=0;r<o;)for(l=f[r],f[r]=-1,r++;r<o&&0==h.m_pfComparaisonLigne(s,e,l,f[r]);r++);f.sort(function(n,t){return n-t});n.NSUtil.bForEachInverse(f,function(n){return-1!=n?(new u(a).nSupprime(n),!0):!1})},f.prototype.Trie=function(n,t){var i=b(n,t,this.m_tabDimensions,c(this.m_iDescriptionType));i.m_pfComplet(this.tabGetValeurs(),this.m_tabDimensions,i.m_pfComparaison);this.m_oTri=i},f.prototype.Remplace=function(n,i){var f=this.tabGetDimensions(),r=n.tabGetDimensions();if(n.bEstNull()){r.forEach(function(n,t){f[t]=n});this.m_tValeur=null;return}var u=this.m_iDescriptionType,e=u.m_iDescriptionElement,o=i||u.m_bDynamique,s=u.m_tabDimensions,h=r.map(function(n,t){if(o){var i=s[t];return 0<i?Math.max(n,i):n}return Math.max(n,f[t])});this.__Copie(h,r,n.tabGetValeurs(),function(n){if(undefined!==n){var i=e||t.iGetDescriptionDepuisValue(n);return i.viCreationCopie(n,0)}return undefined})},f.prototype.iGetValeurSousElement=function(t){var r=this.tabGetValeurs(),i;if(0<=t&&t<r.length)return i=r[t],undefined===i&&(r[t]=i=this.m_iDescriptionType.iCreationSousElement()),i;throw new n.CErreur(605,t+1);},f.prototype.SetValeurSousElement=function(n,t){var i=this.iGetValeurSousElement(n),r=this.tabGetValeurs();r[n]=this.m_iDescriptionType.iAffectationSousElement(i,t)},f.prototype.__xnGetIndicePlat=function(t,i,r){var u=this.m_tabDimensions,o=u.length,l=0!=r,h=i.length-t,f,e,c;if(h<o)throw new n.CErreur(208,o,h);return f=u.map(function(u,f){return n.NSUtil.xnGetIndiceC(i[t+f],u,r,0)}),l&&(e=!1,c=u.map(function(n,t){var i=f[t];return n<=i?(e=!0,i+1):n}),e&&this.__Redimensionnement(c)),s(u,f)},f.prototype.__Redimensionnement=function(t){this.__Copie(t,this.m_tabDimensions,this.tabGetValeurs(),function(n){return n})},f.prototype.__Copie=function(n,t,i,r){var f=n.length,e=new Array(o(n)),u=new Array(f),h;(function c(o){var v=Math.min(n[o],t[o]),l,a,h;if(f-1===o)for(u[o]=0,l=s(n,u),a=s(t,u),h=0;h<v;h++,l++,a++)e[l]=r(i[a]);else for(h=0;h<v;h++)u[o]=h,c(o+1)})(0);this.m_tValeur=e;h=this.m_tabDimensions;
4n.forEach(function(n,t){h[t]=n})},f.prototype.__AjouteInsereLigne=function(t,r,u){var e,v,f,s,h;u===void 0&&(u=0);var c=this.m_tabDimensions,l=this.tabGetValeurs(),o=i(c),a=t*o,y=r.length;for(c[0]++,e=[a,0],e=e.concat(new Array(o)),Array.prototype.splice.apply(l,e),v=Math.min(l.length,o),f=0;f<v;f++)s=void 0,h=f+u,s=h<y?r[h]:this.m_iDescriptionType.iCreationSousElement(),this.SetValeurSousElement(a+f,n.iGetValeurAffectation(s,0,{}))},f}(t.CTType);y=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_nIndicePlat=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_tParent.iGetValeurSousElement(this.m_nIndicePlat)},t.prototype.vSetValeur2=function(n){return this.m_tParent.SetValeurSousElement(this.m_nIndicePlat,n)},t}(n.NSUtil.CTSousElementWrapper);t.tabGetDimensionsEffectives=p;t.pfGetTriComparaisonAvecOptions=f;t.TableauCopie=nt;t.TableauDeplaceLigne=tt;t.TableauEchange=it;u=function(){function n(n){this.m_iTableau=n}return n.prototype.nSupprime=function(n){var r=this.m_iTableau.tabGetDimensions(),t=i(r);return this.m_iTableau.tabGetValeurs().splice(n*t,t),r[0]--,t},n.prototype.SupprimeTout=function(){this.m_iTableau.tabGetDimensions()[0]=0;this.m_iTableau.tabGetValeurs().length=0},n}();t.CTableauSupprime=u;a=function(){function i(n,t){this.m_iTableau=n;this.m_pfGetSousElementValide=t;this.m_nPositionCourante=undefined}return i.prototype.nCherche=function(i,r){var v=n.NSUtil.nGetEntier(i,2),p=v&15,w=v&-16,s=f(0,w,this.m_pfGetSousElementValide),u,e,h,y,c,o,l,a;return 2<=this.m_iTableau.nGetNbDimensions()?(h=String(r[0]).split(";").map(function(t,i){return[n.NSUtil.nGetEntier(t,1)-1,r[1+i]]}),e=r[h.length+1],y=this.m_iTableau.nGetDimension0Pas(),u=function(n,t){var i=t*y;return h.reduce(function(t,r){return 0==t&&(t=s(n[i+r[0]],r[1])),t},0)}):(c=r[0],o=this.m_iTableau.iGetDescriptionElement(),o&&(36==o.veGetTypeWL()||37==o.veGetTypeWL())?(l=t.iGetThis(c),l?u=function(t,i){return n.NSValues.iAny2RValue(t[i]).viGetAsRValueType().vtGetValeurDirect()===l.vtGetValeurDirect()?0:-1}:(a=String(r[0]).split(";").map(function(n,t){return[n,r[1+t]]}),e=r[a.length+1],u=function(t,i){var r=n.NSValues.iAny2RValue(t[i]);return a.reduce(function(n,t){return 0==n&&(n=s(r.viGetMembre(t[0],!1,undefined),t[1])),n},0)})):(e=r[1],u=function(n,t){return s(n[t],c)})),this.__xnRecherche(p,e,u)},i.prototype.nChercheProcedure=function(i,r,u,f){var s=n.NSUtil.nGetEntier(r,2),c=s&15,e,o,h;if(e=t.ms_DescriptionFonction.viCreationCopie(i,0),!e.valueOf())throw new n.CErreur(601);return o=[undefined].concat(f),h=function(n,t){return o[0]=n[t],e.viAppelFonction.apply(e,o).vnToNumber(0)},this.__xnRecherche(c,u,h)},i.prototype.__xnRecherche=function(t,i,r){var l=this.m_iTableau.tabGetDimensions(),h=this.m_iTableau.tabGetValeurs(),o=l[0],c=-1,f,e,s,u;if(1==t)this.m_nPositionCourante=undefined,u=g(h,o,r,undefined),0<=u&&u<o&&0==r(h,u)&&(c=u);else{f=!1;e=!1;switch(t){case 2:f=!0;e=!1;break;case 3:f=!0;e=!0;break;case 4:f=!1;e=!0;break;case 5:f=!1;e=!1;break;default:throw new n.CErreur(217,t);}if(s=this.__xnGetDepartC(i,f,e),undefined!==s&&0<=s&&s<o)if(this.m_nPositionCourante=undefined,u=s,f){for(;u<o;u++)if(0==r(h,u))break;u<o&&(c=u,this.m_nPositionCourante=u+1)}else{for(;0<=u;u--)if(0==r(h,u))break;0<=u&&(c=u,this.m_nPositionCourante=u-1)}}return c},i.prototype.__xnGetDepartC=function(t,i,r){var u=this.m_iTableau.tabGetDimensions()[0],f=n.NSUtil.nGetEntier(t,0);return 0==f?r?this.m_nPositionCourante:i?0:u-1:n.NSUtil.xnGetIndiceC(t,u,0,0)},i}();t.CTableauCherche=a})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(t,i){var f=r[t],u;if(f&&(u=f[i],u))return u;throw new n.CErreur(0);}function y(n,t,i){r[n]||(r[n]={});r[n][t]=i}function p(n,t){return{m_oDescriptionStatique:new u(n,!1,t),m_oDescriptionDynamique:new u(n,!0,t)}}function w(n,t,i,r,u){return{m_oDescriptionStatique:new f(!1,n,t,i,r,u),m_oDescriptionDynamique:new f(!0,n,t,i,r,u)}}function b(t,i,r){var u=n.iGetAsRValue(t,4),f;return u&&(f=h(i,r),f.m_oDescriptionDynamique.vbEstInstanceDino(u))?u:undefined}function k(n){return new i(function(){return t.iNatif2RValue(n())},null)}function d(n){return new i(function(){return t.iNatif2RValue(n)},null)}function g(n,t,r){return new i(function(){return r.viCreationCopie(n(),0)},function(n){t(r.viCreation(n).valueOf())})}var r={},e,o,u,f,s,i,c,l,a,v;t.oGetDescriptionDINO=h;t.AjouteDescriptionDINO=y;t.oCreeDescriptionDINO=p;t.oCreeDescriptionDINORebondFrameworkV1=w;t.iGetAsDino=b;e=function(t){function i(n,i,r){var u=t.call(this,111,undefined)||this;return u.m_bDynamique=n,u.m_pfAlloueValeurSiUndefinedInterdit=i,u.m_pfCopieValeur=r,u}return __extends(i,t),i.prototype.viCreation=function(n){var t,i;return n&&(i=n.m_oValeur,this._xVerificationValeur(n),this._xVerifieAffectation(n),t=this._voGetDinoValeur(undefined,i).m_oValeur),this._voAllocation(t)},i.prototype.viAffectation=function(t,i){var f,r,u;if(this._xVerificationValeur(i),this._xVerifieAffectation(i),f=this._voGetDinoValeur(t.vtGetValeurDirect(),i.m_oValeur),f.m_bTrouve){r=void 0;switch(i.m_eAffectation){default:case 0:r=this.m_bDynamique;break;case 1:r=!0;break;case 2:case 4:r=!1;break;case 3:r=!0}return u=f.m_oValeur,r||(undefined!==u?u=this.m_pfCopieValeur(u,t):undefined!==this.m_pfAlloueValeurSiUndefinedInterdit&&(u=this.m_pfAlloueValeurSiUndefinedInterdit())),t.vSetValeurDirect(u),t}throw new n.CErreur(601);},i.prototype.voJSONDebogueurType=function(){var t=this,i=10,u=13;return n.NSUtil.bForEachIn(r,function(r,f){var e=Number(r);return isNaN(e)||n.NSUtil.bForEachIn(f,function(n,r){var f=Number(n);return!isNaN(f)&&(r.m_oDescriptionStatique===t||r.m_oDescriptionDynamique===t)?(i=e,u=f,!1):!0})}),{m_eTypeWL:this.veGetTypeWL(),m_eComposante:i,m_eDino:u}},i.prototype._xVerifieAffectation=function(t){this.m_bDynamique?n.NSUtil.xVerifieAffectationReference(t):n.NSUtil.xVerifieAffectationCopie(t)},i.prototype._voGetDinoValeur=function(t,i){var r=n.iGetAsRValue(i,4);return r&&this.vbEstInstanceDino(r)?{m_oValeur:r.vtGetValeurDirect(),m_bTrouve:!0}:{m_oValeur:undefined,m_bTrouve:!1}},i}(t.CTDescriptionType);o=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.viGetRValue=function(t){switch(t){case 4:return this;default:return n.prototype.viGetRValue.call(this,t)}},t.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType()},t}(t.CTTypeSimple);t.CDino=o;u=function(n){function t(t,i,r){var u=n.call(this,i,undefined,r)||this;return u.m_iDinoConstruction=t,u}return __extends(t,n),t.prototype._voAllocation=function(n){return new this.m_iDinoConstruction(n,this)},t.prototype.vbEstInstanceDino=function(n){return n instanceof this.m_iDinoConstruction},t}(e);t.CTDescriptionDinoSimple=u;f=function(t){function i(n,i,r,u,f,e){var o=t.call(this,n,i,r)||this;return o.m_pfCastValeur=u,o.m_tabProprietesRebondFrameworkV1=f,o.m_iDinoConstructionFrameworkV1=e,o}return __extends(i,t),i.prototype._voAllocation=function(n){return new s(n,this)},i.prototype._voGetDinoValeur=function(i,r){var u=t.prototype._voGetDinoValeur.call(this,i,r),f;return u.m_bTrouve?u:!u.m_bTrouve&&(f=n.NSValues.oAny2Natif(r),f instanceof this.m_iDinoConstructionFrameworkV1)?{m_oValeur:r,m_bTrouve:!0}:!u.m_bTrouve&&this.m_pfCastValeur?{m_oValeur:this.m_pfCastValeur(r),m_bTrouve:!0}:{m_oValeur:undefined,m_bTrouve:!0}},i.prototype.vbEstInstanceDino=function(n){return n instanceof s},i}(e);t.CTDescriptionDinoRebondFrameworkV1=f;s=function(r){function u(n,t){return r.call(this,n||t.m_pfAlloueValeurSiUndefinedInterdit(),t)||this}return __extends(u,r),u.prototype.viGetMembre2=function(u,f,e,o){var h=this.m_tValeur,s;return(this.m_iDescriptionType.m_tabProprietesRebondFrameworkV1.every(function(r){return f===r[0]||f===r[1]?(s=new i(function(){return t.iGetDescription(r[3],!1).viCreationCopie(h.GetProp(r[2]),0)},function(t){h.SetProp(r[2],n.NSValues.oAny2Natif(t.m_oValeur))}),!1):!0}),s)?s:r.prototype.viGetMembre2.call(this,u,f,e,o)},u}(o);i=function(t){function i(n,i){var r=t.call(this)||this;return r.m_pfGetValeur=n,r.m_pfSetValeur=i,r}return __extends(i,t),i.prototype.viGetRValue=function(){return this.m_pfGetValeur()},i.prototype.vSetValeur2=function(t){if(null!==this.m_pfSetValeur)this.m_pfSetValeur(t);else throw new n.CErreur(603);},i}(n.NSUtil.CWrapperValue);t.CDinoPropriete=i;c=function(t){function i(n,i,r,u,f){var e=t.call(this)||this;return e.m_oContenu=n,e.m_iDinoConstruction=i,e.m_oDescriptionType=r,e.m_pfCreation=u,e.m_pfCopie=f,e}return __extends(i,t),i.prototype.viGetRValue=function(){return new this.m_iDinoConstruction(this.m_oContenu,this.m_oDescriptionType)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationCopie(t);var i=n.NSValues.iAny2RValue(t.m_oValeur);if(i instanceof this.m_iDinoConstruction)this.m_pfCopie(i.vtGetValeurDirect()||this.m_pfCreation(),this.m_oContenu);else throw new n.CErreur(601);},i}(n.NSUtil.CWrapperValue);t.CDinoProprieteDino=c;t.oGetDinoProprieteLectureSimple=k;t.oGetDinoProprieteConstante=d;t.oGetDinoProprieteSimple=g;l=function(t){function i(n){var i=t.call(this,34,function(n){return n.m_oValeur}
4,undefined,!1)||this;return i.m_oDescriptionValeurFrameworkV1=n,i}return __extends(i,t),i.prototype.viAffectation=function(t,i){n.NSUtil.xVerifieAffectationAucune(i)},i.prototype.voJSONDebogueurType=function(n){return{m_eTypeWL:this.veGetTypeWL(),m_tabDimensions:n,m_bDynamique:!0,m_oTypeSousElement:this.m_oDescriptionValeurFrameworkV1.voJSONDebogueurType()}},i.prototype._voAllocation=function(n){return new a(n,this)},i}(t.CTDescriptionTypeSimple);t.CDescriptionTableauProprieteDinoFrameworkV1=l;a=function(i){function r(n,t){return i.call(this,n,t)||this}return __extends(r,i),r.prototype.viGetSousElement=function(t,i){var r=n.NSUtil.xnGetIndiceC(i[t],this.m_tValeur.length,0,0);return n.NSUtil.iChaineSousElement(this.iGetSousElementIndice(r),t+1,i)},r.prototype.viGetAsTableau=function(){return this},r.prototype.voJSONDebogueurType=function(){return this.viGetDescriptionType().voJSONDebogueurType(this.tabGetDimensions())},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.length},function(t){r.m_tValeur.length=n.NSUtil.nGetEntier(t)});default:return i.prototype._viGetProprieteVM.call(this,t)}},r.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},r.prototype.xiGetTableauTri=function(){throw new n.CErreur(214);},r.prototype.xiGetTableauSupprime=function(){return new t.CTableauSupprime(this)},r.prototype.xRedimensionne=function(t){if(1!=t.length)throw new n.CErreur(210);this.m_tValeur.length=t[0]},r.prototype.nAjouteLigne=function(t){var i=this.m_tValeur,r=i.length;return i.push(n.NSValues.oAny2Natif(t[0])),r},r.prototype.xCopieDepuis=function(n){t.TableauCopie(n,this)},r.prototype.DeplaceLigne=function(n,i){t.TableauDeplaceLigne(this,n,i)},r.prototype.Echange=function(n,i){t.TableauEchange(this,n,i)},r.prototype.eTypeElement=function(){return 50},r.prototype.bDynamique=function(){return!0},r.prototype.Insere=function(){throw new n.CErreur(601);},r.prototype.InsereLigne=function(n,t){return this.Insere(n,t[0])},r.prototype.eGetModeAgrandissement=function(){return 2},r.prototype.nGetNbDimensions=function(){return 1},r.prototype.nGetUneDimension=function(){return this.m_tValeur.length},r.prototype.nGetNbElements=function(){return this.m_tValeur.length},r.prototype.nGetDimension0Pas=function(){return 1},r.prototype.iGetSousElementIndice=function(n){return new v(this.m_tValeur,n,this.m_iDescriptionType)},r.prototype.iGetDescriptionElement=function(){return undefined},r.prototype.viGetAsTableauType=function(){return this},r.prototype.tabGetDimensions=function(){return[this.nGetNbElements()]},r.prototype.tabGetValeurs=function(){return this.m_tValeur},r.prototype.bEstNull=function(){return!1},r}(t.CTTypeSimple);v=function(t){function i(n,i,r){var u=t.call(this,n)||this;return u.m_oIndice=i,u.m_oDescriptionTableau=r,u}return __extends(i,t),i.prototype.valueOf=function(){return this.m_tParent[this.m_oIndice]},i.prototype.viGetRValue=function(){return this.m_oDescriptionTableau.m_oDescriptionValeurFrameworkV1.viCreation(n.iGetValeurInitiale(this.valueOf(),3))},i.prototype.viGetMembre2=function(n,t,i,r){return this.viGetRValue(0).viGetMembre2(n,t,i,r)},i.prototype.viGetPropriete=function(n,t){return this.viGetRValue(0).viGetPropriete(n,t)},i.prototype.viGetSousElement=function(n,t){return this.viGetRValue(0).viGetSousElement(n,t)},i.prototype.veGetTypeWL=function(){return 50},i.prototype.vSetValeur2=function(t){this.m_tParent[this.m_oIndice]=n.NSValues.oAny2Natif(t.m_oValeur)},i}(n.NSUtil.CTSousElement)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function v(){return new WDGeoPosition}function y(t){return new WDGeoPosition(n.NSUtil.oCloneDansObjet(t.m_oPosition))}function p(){return new WDDinoAdresse}function w(n){var t=new WDDinoAdresse;return t.m_czRue=n.m_czRue,t.m_czVille=n.m_czVille,t.m_czCodePostal=n.m_czCodePostal,t.m_czRegion=n.m_czRegion,t.m_czPays=n.m_czPays,t.m_pclGeoPosition=n.m_pclGeoPosition?new WDGeoPosition(n.m_pclGeoPosition.m_oPosition):undefined,t}function b(){return{m_oAvancementEnvoi:i(),m_oAvancementTelechargement:i(),m_sContentType:"",m_sContenu:"",m_oEntete:{},m_eMethodeHTTP:0,m_sMotDePasse:"",m_sUtilisateur:"",m_sURL:"",m_bContenuReponseBrut:!1}}function k(t){return{m_oAvancementEnvoi:u(t.m_oAvancementEnvoi),m_oAvancementTelechargement:u(t.m_oAvancementTelechargement),m_sContentType:t.m_sContentType,m_sContenu:t.m_sContenu,m_oEntete:n.NSUtil.oCloneSimple(t.m_oEntete),m_eMethodeHTTP:t.m_eMethodeHTTP,m_sMotDePasse:t.m_sMotDePasse,m_sUtilisateur:t.m_sUtilisateur,m_sURL:t.m_sURL,m_bContenuReponseBrut:t.m_bContenuReponseBrut}}function o(n){return new t.CDinoProprieteDino(n,f,a.m_oDescriptionStatique,i,function(n,i){i.m_oProcedure=n.m_oProcedure?t.ms_DescriptionFonction.viCreationCopie(n.m_oProcedure,0):null})}function d(n){return n}function i(){return{m_oProcedure:null}}function u(n){return{m_oProcedure:n.m_oProcedure?t.ms_DescriptionFonction.viCreationCopie(n.m_oProcedure,0):null}}var e=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetMembre2=function(u,f,e,s){var h=this.__oGetValeur();switch(f){case"AVANCEMENTENVOI":case"UPLOADPROGRESS":return o(h.m_oAvancementEnvoi);case"AVANCEMENTTELECHARGEMENT":case"DOWNLOADPROGRESS":return o(h.m_oAvancementTelechargement);case"CONTENTTYPE":return t.oGetDinoProprieteSimple(function(){return h.m_sContentType},function(n){h.m_sContentType=n},t.ms_DescriptionChaine);case"CONTENU":case"CONTENT":return t.oGetDinoProprieteSimple(function(){return h.m_sContenu},function(n){h.m_sContenu=n},t.ms_DescriptionChaine);case"CONTENUBRUTREPONSE":return t.oGetDinoProprieteSimple(function(){return h.m_bContenuReponseBrut},function(n){h.m_bContenuReponseBrut=n},t.ms_DescriptionBooleen);case"ENTETE":case"HEADER":return new r(h.m_oEntete,!1);case"METHODE":case"METHOD":return t.oGetDinoProprieteSimple(function(){return 0===h.m_eMethodeHTTP?""!==h.m_sContenu?2:1:h.m_eMethodeHTTP},function(t){if(0<=t&&t<=7)h.m_eMethodeHTTP=t;else throw new n.CErreur(303,t);},t.ms_DescriptionI4);case"MOTDEPASSE":case"PASSWORD":return t.oGetDinoProprieteSimple(function(){return h.m_sMotDePasse},function(n){h.m_sMotDePasse=n},t.ms_DescriptionChaine);case"UTILISATEUR":case"USER":return t.oGetDinoProprieteSimple(function(){return h.m_sUtilisateur},function(n){h.m_sUtilisateur=n},t.ms_DescriptionChaine);case"URL":return t.oGetDinoProprieteSimple(function(){return h.m_sURL},function(n){h.m_sURL=n},t.ms_DescriptionChaine)}return i.prototype.viGetMembre2.call(this,u,f,e,s)},u.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=b()),this.m_tValeur},u}(t.CDino),s,r,h,f;t.CHTTPRequete=e;s=new t.CDescriptionObjetNatif(111,2);r=function(t){function i(n,i){return t.call(this,n,i,s)||this}return __extends(i,t),i.prototype.viGetAsLRValue=function(){return this},i.prototype.viGetMembre2=function(n,i,r,u){return this.m_bProprieteEnLectureSeuleNatif&&(n=n.toLowerCase()),t.prototype.viGetMembre2.call(this,n,i,r,u)},i.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationAucune(t)},i}(t.CObjetNatif);h=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetMembre2=function(n,u,f,e){var o=this.m_tValeur;if(o)switch(u){case"CODEETAT":case"STATUSCODE":return t.oGetDinoProprieteConstante(o.status);case"CONTENTTYPE":return t.oGetDinoProprieteConstante(o.getResponseHeader("content-type")||"");case"CONTENU":case"CONTENT":return o.response instanceof ArrayBuffer?t.oGetDinoProprieteConstante(o.response):t.oGetDinoProprieteConstante(o.responseText||"");case"DESCRIPTIONCODEETAT":case"DESCRIPTIONSTATUSCODE":return t.oGetDinoProprieteConstante(o.statusText);case"ENTETE":case"HEADER":return new r(this.__oGetEntete(o),!0);case"ENTETEBRUT":case"ROUGHHEADER":return t.oGetDinoProprieteConstante(o.getAllResponseHeaders()||"")}return i.prototype.viGetMembre2.call(this,n,u,f,e)},u.prototype.__oGetEntete=function(t){return(t.getAllResponseHeaders()||"").split("\r\n").reduce(function(t,i){var r=i.indexOf(":"),u,f;return 0<r&&(u=n.NSUtil.sSupprimeEspacesDebutFin(i.substring(0,r)).toLowerCase(),f=n.NSUtil.sSupprimeEspacesDebutFin(i.substring(r+1)),t[u]=f),t},{})},u}(t.CDino);f=function(r){function u(){return r!==null&&r.apply(this,arguments)||this}return __extends(u,r),u.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"PROCEDURE":return new t.CDinoPropriete(function(){throw new n.CErreur(603);},function(n){o.m_oProcedure=t.ms_DescriptionFonction.viCreation(n)})}return r.prototype.viGetMembre2.call(this,i,u,f,e)},u.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=i()),this.m_tValeur},u}(t.CDino);t.ms_DescriptionGeoPosition="undefined"!=typeof WDGeoPosition?t.oCreeDescriptionDINORebondFrameworkV1(v,y,null,[["LATITUDE","LATITUDE",0,12],["LONGITUDE","LONGITUDE",1,12],["ALTITUDE","ALTITUDE",2,12],["ALTITUDEVALIDE","ALTITUDEVALID",3,1],["DIRECTION","DIRECTION",4,12],["DIRECTIONVALIDE","DIRECTIONVALID",5,1],["PRECISION","PRECISION",6,12],["PRECISIONVALIDE","PRECISIONVALID",7,1],["VITESSE","SPEED",8,12],["VITESSEVALIDE","SPEEDVALID",9,1],["DATEMESURE","MEASUREMENTDATE",10,26],["POSITIONVALIDE","POSITIONVALID",11,1]],WDGeoPosition):null;null!==t.ms_DescriptionGeoPosition&&t.AjouteDescriptionDINO(10,13,t.ms_DescriptionGeoPosition);"undefined"!=typeof WDDinoAdresse&&t.AjouteDescriptionDINO(10,19,t.oCreeDescriptionDINORebondFrameworkV1(p,w,null,[["RUE","STREET",0,16],["VILLE","CITY",1,16],["CODEPOSTAL","ZIPCODE",2,16],["REGION","ADMINAREA",3,16],["PAYS","COUNTRY",4,16],["POSITION","POSITION",5,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}]],WDDinoAdresse));var c=t.oCreeDescriptionDINO(e,k),l=t.oCreeDescriptionDINO(h,d),a=t.oCreeDescriptionDINO(f,u);t.AjouteDescriptionDINO(10,30,c);t.AjouteDescriptionDINO(10,31,l);t.AjouteDescriptionDINO(10,32,a);t.AjouteDescriptionDINO(10,33,l);t.AjouteDescriptionDINO(10,34,c)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(){return new WDRendezVous}function s(n){return new WDRendezVous(n.m_oChamp,n.m_oRendezVous)}function h(){return new WDRepetition}function c(n){return new WDRepetition(n)}function l(){return new WDDinoMarqueur}function a(n){return new WDDinoMarqueur(n.m_oPosition)}function v(){return new WDDinoCartePolygone}function y(n){return new WDDinoCartePolygone(n)}function p(){return new WDDinoCartePolyligne}function w(n){return new WDDinoCartePolyligne(n)}function b(){return new WDDinoCarteCercle}function k(n){return new WDDinoCarteCercle(n)}function d(){return new WDDinoCarteImage}function g(n){return new WDDinoCarteImage(n)}function nt(){return new WDDinoMarqueurImage}function tt(n){return new WDDinoMarqueurImage(n)}function it(){return{}}function rt(t){return n.NSUtil.oCloneSimple(t)}function i(n){return"object"==typeof n&&undefined!==n.m_sValeur}function u(n,i){return new t.CDinoPropriete(function(){return t.oCreeDinoCouleur(n())},function(n){i(String(n.m_oValeur))})}function f(n){return n.m_sValeur||""}function ft(n){return n.m_sValeur||""}function et(n){return n.m_sLibelle||ft(n)}function e(n){return n.m_sLibelleHTML||e(n)}function ot(n){return n.m_sBulle||""}"undefined"!=typeof WDRendezVous&&t.AjouteDescriptionDINO(70,0,t.oCreeDescriptionDINORebondFrameworkV1(o,s,null,[["TITRE","TITLE",0,16],["COULEURFOND","BRUSHCOLOR",1,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["DATEDEBUT","STARTDATE",2,26],["DATEFIN","ENDDATE",3,26],["CONTENU","CONTENT",4,16],["CATEGORIE","CATEGORY",8,16],["ID","ID",14,16],["BULLE","TOOLTIP",15,16],["RESSOURCE","RESOURCE",16,16],["JOURNEEENTIERE","WHOLEDAY",17,1]],WDRendezVous));"undefined"!=typeof WDRepetition&&t.AjouteDescriptionDINO(70,1,t.oCreeDescriptionDINORebondFrameworkV1(h,c,null,[],WDRepetition));"undefined"!=typeof WDDinoMarqueur&&t.AjouteDescriptionDINO(70,11,t.oCreeDescriptionDINORebondFrameworkV1(l,a,null,[["NOM","NAME",0,16],["POSITION","POSITION",1,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["DESCRIPTION","DESCRIPTION",2,16],["IMAGE","IMAGE",3,31],["ACTIONCLIC","ACTIONCLICK",4,16],["ALIGNEMENT","ALIGNMENT",5,8],["OPACITE","OPACITY",6,8],["DEPLACABLE","MOVABLE",7,1],["ALTITUDE","ZORDER",8,8],["CLUSTER","CLUSTER",9,1],["AVECPOPUP","WITHPOPUP",10,1],["ACTIONCLICPOPUP","ACTIONCLICKPOPUP",11,16],["ACTIONDEPLACEMENT","ACTIONDEPLACEMENT",12,16],["NOTE","NOTE",13,31],],WDDinoMarqueur));"undefined"!=typeof WDDinoCartePolygone&&t.AjouteDescriptionDINO(70,45,t.oCreeDescriptionDINORebondFrameworkV1(v,y,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["ACTIONCLIC","ACTIONCLICK",2,16],["COULEURTRAIT","LINECOLOR",3,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","LINE",5,8],["EPAISSEUR","THICKNESS",6,8],["ALTITUDE","ZORDER",7,8],["GEODESIQUE","GEODESIC",8,1],["POINT","POINT",9,{m_eWL:34,m_oTypeWLSiTableau:new t.CDescriptionTableauProprieteDinoFrameworkV1(t.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}],],WDDinoCartePolygone));"undefined"!=typeof WDDinoCartePolyligne&&t.AjouteDescriptionDINO(70,46,t.oCreeDescriptionDINORebondFrameworkV1(p,w,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["COULEURTRAIT","LINECOLOR",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","LINE",3,8],["ALTITUDE","ZORDER",4,8],["ACTIONCLIC","ACTIONCLICK",5,16],["EPAISSEUR","THICKNESS",6,8],["GEODESIQUE","GEODESIC",7,1],["POINT","POINT",8,{m_eWL:34,m_oTypeWLSiTableau:new t.CDescriptionTableauProprieteDinoFrameworkV1(t.oGetDescriptionDINO(10,13).m_oDescriptionDynamique)}],],WDDinoCartePolyligne));"undefined"!=typeof WDDinoCarteCercle&&t.AjouteDescriptionDINO(70,47,t.oCreeDescriptionDINORebondFrameworkV1(b,k,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["CENTRE","CENTER",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["RAYON","RADIUS",3,12],["COULEURTRAIT","LINECOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",5,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["TRAIT","LINE",6,8],["ALTITUDE","ZORDER",7,8],["EPAISSEUR","THICKNESS",8,8],["ACTIONCLIC","ACTIONCLICK",9,16],["GEODESIQUE","GEODESIC",10,1],],WDDinoCarteCercle));"undefined"!=typeof WDDinoCarteImage&&t.AjouteDescriptionDINO(70,48,t.oCreeDescriptionDINORebondFrameworkV1(d,g,null,[["NOM","NAME",0,16],["DESCRIPTION","DESCRIPTION",1,16],["POSITION","POSITION",2,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:10,m_eDino:13}}],["ALIGNEMENT","ALIGNMENT",3,8],["LARGEUR","WIDTH",4,12],["HAUTEUR","HEIGHT",5,12],["ANGLE","ANGLE",6,8],["IMAGE","IMAGE",7,16],["ACTIONCLIC","ACTIONCLICK",8,16],["OPACITE","OPACITY",9,8],["ALTITUDE","ZORDER",10,8],],WDDinoCarteImage));"undefined"!=typeof WDDinoMarqueurImage&&t.AjouteDescriptionDINO(70,49,t.oCreeDescriptionDINORebondFrameworkV1(nt,tt,null,[["FORME","SHAPE",0,8],["TAILLE","SIZE",1,8],["TEXTE","TEXT",2,16],["COULEUR","COLOR",3,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],["COULEURFOND","BACKGROUNDCOLOR",4,{m_eWL:111,m_oTypeWLSiDINO:{m_eComposante:61,m_eDino:1}}],],WDDinoMarqueurImage));var r=function(n){function t(t){return n.call(this,ut,t,rt)||this}return __extends(t,n),t.prototype.viCreation=function(n){var r,t;return n&&(t=n.m_oValeur,this._xVerificationValeur(n),i(t)||this._xVerifieAffectation(n),r=this._voGetDinoValeur(undefined,t).m_oValeur),this._voAllocation(r)},t.prototype._voGetDinoValeur=function(t,r){return i(r)?{m_oValeur:r,m_bTrouve:!0}:n.prototype._voGetDinoValeur.call(this,t,r)},t}(t.CTDescriptionDinoSimple),ut=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.toString=function(){return f(this.__oGetValeur()
4)},r.prototype.vnToNumber=function(){return parseFloat(this.toString())},r.prototype.vbToBoolean=function(){return!!this.valueOf()},r.prototype.viGetMembre2=function(n,r,o,s){var h=this.__oGetValeur();switch(r){case"VALEUR":case"VALUE":return t.oGetDinoProprieteSimple(function(){return f(h)},function(n){h.m_sValeur=n},t.ms_DescriptionChaine);case"LIBELLE":case"CAPTION":return t.oGetDinoProprieteSimple(function(){return et(h)},function(n){h.m_sLibelle=n},t.ms_DescriptionChaine);case"LIBELLEHTML":case"CAPTIONHTML":return t.oGetDinoProprieteSimple(function(){return e(h)},function(n){h.m_sLibelleHTML=n},t.ms_DescriptionChaine);case"COULEUR":case"COLOR":return u(function(){return h.m_sCouleur},function(n){h.m_sCouleur=n});case"COULEURFOND":case"BRUSHCOLOR":return u(function(){return h.m_sCouleurFond},function(n){h.m_sCouleurFond=n});case"BULLE":case"TOOLTIP":return t.oGetDinoProprieteSimple(function(){return ot(h)},function(n){h.m_sBulle=n},t.ms_DescriptionChaine)}return i.prototype.viGetMembre2.call(this,n,r,o,s)},r.prototype.vSetValeur=function(t,i,r){this.vSetValeur2(n.iGetValeurAffectation(t,i,r))},r.prototype.vSetValeur2=function(i){if(i.m_iOptions.m_bAffectationDepuisIterateur){var r=t.iGetAsDino(i.m_oValeur,70,39);if(r){this.vSetValeurDirect(r.vtGetValeurDirect());return}}n.NSUtil.xVerifieAffectationAucune(i)},r.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=it()),this.m_tValeur},r}(t.CDino);t.AjouteDescriptionDINO(70,39,{m_oDescriptionStatique:new r(!1),m_oDescriptionDynamique:new r(!0)})})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(n){function t(){return new clWDUtil.WDDinoCouleur}function i(n){return new clWDUtil.WDDinoCouleur(n)}function tt(n){return new clWDUtil.WDDinoCouleur(n)}function y(n){var t=o.m_oDescriptionDynamique;return undefined===n?t.viCreation():t.viCreationCopie(n,3)}function r(t,i){return new n.CDinoPropriete(function(){return y(t())},function(n){i(new clWDUtil.WDDinoCouleur(n.m_oValeur))})}function u(){return{m_eType:1,m_dEpaisseur:0,m_oCouleur:t()}}function p(n){var t=u();return w(n,t),t}function w(n,t){t.m_eType=n.m_eType;t.m_dEpaisseur=n.m_dEpaisseur;t.m_oCouleur=i(n.m_oCouleur)}function it(t){return new n.CDinoProprieteDino(t,s,h.m_oDescriptionStatique,u,w)}function f(){return{m_dLargeur:0,m_dHauteur:0}}function b(n){var t=f();return k(n,t),t}function k(n,t){t.m_dLargeur=n.m_dLargeur;t.m_dHauteur=n.m_dHauteur}function rt(t){return new n.CDinoProprieteDino(t,c,l.m_oDescriptionStatique,f,k)}function e(){return{m_oCouleurDebut:t(),m_oCouleurFin:t(),m_oCouleur3:t(),m_oCouleur4:t(),m_nAngle:0,m_nDistanceCouleur3:0,m_nDistanceCouleur4:0}}function d(n){var t=e();return g(n,t),t}function g(n,t){t.m_oCouleurDebut=i(n.m_oCouleurDebut);t.m_oCouleurFin=i(n.m_oCouleurFin);t.m_oCouleur3=i(n.m_oCouleur3);t.m_oCouleur4=i(n.m_oCouleur4);t.m_nAngle=n.m_nAngle;t.m_nDistanceCouleur3=n.m_nDistanceCouleur3;t.m_nDistanceCouleur4=n.m_nDistanceCouleur4}function ut(t){return new n.CDinoProprieteDino(t,a,v.m_oDescriptionStatique,e,g)}function ft(){return{m_eType:0,m_oCouleur:t(),m_eHachure:6,m_oDegrade:e()}}function et(n){return{m_eType:n.m_eType,m_oCouleur:i(n.m_oCouleur),m_eHachure:n.m_eHachure,m_oDegrade:d(n.m_oDegrade)}}var o,s,h,c,l,a,v,nt;"undefined"!=typeof clWDUtil.WDDinoCouleur&&(o=n.oCreeDescriptionDINORebondFrameworkV1(t,i,tt,[["ROUGE","RED",0,8],["VERT","GREEN",1,8],["BLEU","BLUE",2,8],["OPACITE","OPACITY",3,8],["TEINTE","HUE",4,8],["SATURATION","SATURATION",5,8],["LUMINOSITE","LUMINANCE",6,8],["COULEUR","COLOR",7,16]],clWDUtil.WDDinoCouleur),n.AjouteDescriptionDINO(61,1,o));n.oCreeDinoCouleur=y;n.oCreeValeurTrait=u;n.oCopieValeurTrait=p;n.oGetProprieteDinoTrait=it;s=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"TYPE":return n.oGetDinoProprieteSimple(function(){return o.m_eType},function(n){o.m_eType=n},n.ms_DescriptionI4);case"EPAISSEUR":case"THICKNESS":return n.oGetDinoProprieteSimple(function(){return o.m_dEpaisseur},function(n){o.m_dEpaisseur=n},n.ms_DescriptionR8);case"COULEUR":case"COLOR":return r(function(){return o.m_oCouleur},function(n){o.m_oCouleur=n})}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=u()),this.m_tValeur},i}(n.CDino);h=n.oCreeDescriptionDINO(s,p);n.AjouteDescriptionDINO(61,5,h);n.oCreeValeurCoin=f;n.oCopieValeurCoin=b;n.oGetProprieteDinoCoin=rt;c=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,r,u,f){var e=this.__oGetValeur();switch(r){case"LARGEUR":case"WIDTH":return n.oGetDinoProprieteSimple(function(){return e.m_dLargeur},function(n){e.m_dLargeur=n},n.ms_DescriptionR8);case"HAUTEUR":case"HEIGHT":return n.oGetDinoProprieteSimple(function(){return e.m_dHauteur},function(n){e.m_dHauteur=n},n.ms_DescriptionR8)}return t.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=f()),this.m_tValeur},i}(n.CDino);l=n.oCreeDescriptionDINO(c,b);n.AjouteDescriptionDINO(61,6,l);a=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"COULEURDEBUT":case"COLORSTART":return r(function(){return o.m_oCouleurDebut},function(n){o.m_oCouleurDebut=n});case"COULEURFIN":case"COLOREND":return r(function(){return o.m_oCouleurDebut},function(n){o.m_oCouleurFin=n});case"ANGLE":return n.oGetDinoProprieteSimple(function(){return o.m_nAngle},function(n){o.m_nAngle=n},n.ms_DescriptionI4);case"COULEUR3":case"COLOR3":return r(function(){return o.m_oCouleur3},function(n){o.m_oCouleur3=n});case"DISTANCECOULEUR3":case"DISTANCECOLOR3":return n.oGetDinoProprieteSimple(function(){return o.m_nDistanceCouleur3},function(n){o.m_nDistanceCouleur3=n},n.ms_DescriptionI4);case"COULEUR4":case"COLOR4":return r(function(){return o.m_oCouleur4},function(n){o.m_oCouleur4=n});case"DISTANCECOULEUR4":case"DISTANCECOLOR4":return n.oGetDinoProprieteSimple(function(){return o.m_nDistanceCouleur4},function(n){o.m_nDistanceCouleur4=n},n.ms_DescriptionI4)}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=e()),this.m_tValeur},i}(n.CDino);v=n.oCreeDescriptionDINO(a,d);n.AjouteDescriptionDINO(61,7,v);nt=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetMembre2=function(i,u,f,e){var o=this.__oGetValeur();switch(u){case"COULEUR":case"COLOR":return r(function(){return o.m_oCouleur},function(n){o.m_oCouleur=n});case"TYPE":return n.oGetDinoProprieteSimple(function(){return o.m_eType},function(n){o.m_eType=n},n.ms_DescriptionI4);case"HACHURE":case"HATCH":return n.oGetDinoProprieteSimple(function(){return o.m_eHachure},function(n){o.m_eHachure=n},n.ms_DescriptionI4);case"DEGRADE":case"GRADIENT":return ut(o.m_oDegrade)}return t.prototype.viGetMembre2.call(this,i,u,f,e)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=ft()),this.m_tValeur},i}(n.CDino);n.ms_oDescriptionDinoFond=n.oCreeDescriptionDINO(nt,et);n.AjouteDescriptionDINO(61,8,n.ms_oDescriptionDinoFond)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function h(n){return n}function c(n){return n}function u(n){return n||l}function i(n){return n||a}function s(n){return new r(n,e.m_oDescriptionDynamique)}function v(n){return new f(n,o.m_oDescriptionDynamique)}var r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype.viGetMembre2=function(n,r,f,e){var o=this;switch(r){case"CODE":return t.oGetDinoProprieteSimple(function(){return u(o.m_tValeur).m_eContinent},function(n){o.m_tValeur=StdPaysContinent.oGetContinentParNomOuCode(n)},t.ms_DescriptionChaine);case"NOM":case"NAME":return t.oGetDinoProprieteLectureSimple(function(){return u(o.m_tValeur).m_sRessourceLibelle})}return i.prototype.viGetMembre2.call(this,n,r,f,e)},r}(t.CDino),l={m_eContinent:"",m_sRessourceLibelle:""},f=function(r){function u(){return r!==null&&r.apply(this,arguments)||this}return __extends(u,r),u.prototype.valueOf=function(){throw new n.CErreur(601);},u.prototype.viGetMembre2=function(n,u,f,e){var o=this;switch(u){case"CODEISO2":case"ISOCODE2":return t.oGetDinoProprieteSimple(function(){return i(o.m_tValeur).m_sCodeAlpha2},function(n){o.m_tValeur=StdPaysContinent.oGetPaysParNomOuCodeISO(n)},t.ms_DescriptionChaine);case"CODEISO3":case"ISOCODE3":return t.oGetDinoProprieteLectureSimple(function(){return i(o.m_tValeur).m_sCodeAlpha3});case"CODEISONUM":case"ISOCODENUM":return t.oGetDinoProprieteLectureSimple(function(){return i(o.m_tValeur).m_sCodeNum});case"CONTINENT":return new t.CDinoPropriete(function(){return s(i(o.m_tValeur).m_oInfoContinent)},null);case"NATION":return t.oGetDinoProprieteLectureSimple(function(){return i(o.m_tValeur).m_nNation});case"NOM":case"NAME":return t.oGetDinoProprieteLectureSimple(function(){return i(o.m_tValeur).m_sRessourceLibelle});case"PREFIXENUMERODETELEPHONE":case"PHONENUMBERPREFIX":return t.oGetDinoProprieteLectureSimple(function(){return i(o.m_tValeur).m_sPrefixeNumTel})}return r.prototype.viGetMembre2.call(this,n,u,f,e)},u}(t.CDino),a={m_sRessourceLibelle:"",m_sCodeAlpha2:"",m_sCodeAlpha3:"",m_sCodeNum:"",m_nNation:0,m_oInfoContinent:undefined,m_sPrefixeNumTel:""},e=t.oCreeDescriptionDINO(r,h),o=t.oCreeDescriptionDINO(f,c);t.AjouteDescriptionDINO(8,4,e);t.AjouteDescriptionDINO(8,5,o);t.oCreeDinoContinent=s;t.oCreeDinoPays=v})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function b(){return{m_nBords:15,m_tabCoins:[t.oCreeValeurCoin(),t.oCreeValeurCoin(),t.oCreeValeurCoin(),t.oCreeValeurCoin()],m_tabTraits:[t.oCreeValeurTrait(),t.oCreeValeurTrait(),t.oCreeValeurTrait(),t.oCreeValeurTrait()]}}function k(n){return{m_nBords:n.m_nBords,m_tabCoins:n.m_tabCoins.map(t.oCopieValeurCoin),m_tabTraits:n.m_tabTraits.map(t.oCopieValeurTrait)}}function h(n,i,r,u,f){return t.oGetDinoProprieteSimple(function(){return n.map(i).reduce(function(n,t){return n===t?t:u})}
4,function(t){n.forEach(function(n){r(n,t)})},f)}function e(n,i){return t.oGetProprieteDinoTrait(n.m_tabTraits[i])}function o(n,i){return t.oGetProprieteDinoCoin(n.m_tabCoins[i])}function a(){return!1}function v(){return!0}function u(){return null}function s(){return 0}function y(n){return n}function i(){throw new n.CErreur(619);}function c(n,t,i){return new r(n,null,t,i)}var l=-1,d=-1,g=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return __extends(i,n),i.prototype.viGetMembre2=function(i,r,u,f){var s=this.__oGetValeur();switch(r){case"COULEUR":case"COLOR":return new t.CDinoPropriete(function(){return t.oCreeDinoCouleur(s.m_tabTraits.map(function(n){return n.m_oCouleur}).reduce(function(n,t){return String(n)===String(t)?t:new clWDUtil.WDDinoCouleur}))},function(n){s.m_tabTraits.forEach(function(t){t.m_oCouleur=new clWDUtil.WDDinoCouleur(n.m_oValeur)})});case"EPAISSEUR":case"THICKNESS":return h(s.m_tabTraits,function(n){return n.m_dEpaisseur},function(n,t){n.m_dEpaisseur=t},d,t.ms_DescriptionR8);case"TRAIT":case"LINE":return h(s.m_tabTraits,function(n){return n.m_eType},function(n,t){n.m_eType=t},-1,t.ms_DescriptionI4);case"BORDS":case"EDGES":return t.oGetDinoProprieteSimple(function(){return s.m_nBords},function(n){s.m_nBords=n&15},t.ms_DescriptionI4);case"ARRONDI":case"ROUND":return h(s.m_tabCoins,function(n){var t=n.m_dLargeur;return t===n.m_dHauteur?t:l},function(n,t){n.m_dLargeur=t;n.m_dHauteur=t},l,t.ms_DescriptionR8);case"TRAITHAUT":case"LINETOP":return e(s,1);case"TRAITGAUCHE":case"LINELEFT":return e(s,0);case"TRAITBAS":case"LINEBOTTOM":return e(s,3);case"TRAITDROITE":case"LINERIGHT":return e(s,2);case"COINHAUTGAUCHE":case"TOPLEFTCORNER":return o(s,0);case"COINHAUTDROITE":case"TOPRIGHTCORNER":return o(s,1);case"COINBASGAUCHE":case"BOTTOMLEFTCORNER":return o(s,2);case"COINBASDROITE":case"BOTTOMRIGHTCORNER":return o(s,3)}return n.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.__oGetValeur=function(){return this.m_tValeur||(this.m_tValeur=b()),this.m_tValeur},i}(t.CDino),r;t.ms_oDescriptionDinoCadre=t.oCreeDescriptionDINO(g,k);t.AjouteDescriptionDINO(0,0,t.ms_oDescriptionDinoCadre);r=function(r){function e(n,t,i,u){var f=r.call(this,n)||this;return f.m_oValeur=t,f.m_bTemporaire=i,f.m_sNom=u,f}return __extends(e,r),e.prototype.valueOf=function(){return this.m_oValeur},e.prototype.toJSON=function(){return this.m_oValeur},e.prototype.viGetRValue=function(){return this.__oGetJSON()},e.prototype.veGetTypeWL=function(){return 111},e.prototype.vSetValeur2=function(n){this.__oGetJSON().Affectation(n)},e.prototype.sGetNom=function(){return this.m_sNom},e.prototype.SetNom=function(t){var i=String(t),f=this.m_sNom,u,r;if(f!==i){if(u=this.m_tParent,r=!this.m_bTemporaire&&null!==u?u.oGetValeurObjet():null,r){if(r.hasOwnProperty(i))throw new n.CErreur(1100,i);delete r[f];r[i]=this}this.m_sNom=i}this.__SetValide()},e.prototype.oGetValeur=function(){switch(typeof this.m_oValeur){case"number":case"string":case"boolean":return this.m_oValeur;default:return null}},e.prototype.SetValeur=function(t){var i=n.NSValues.oAny2Natif(t);this.SetValeurNative(i)},e.prototype.eGetType=function(){return t.oGetPourNatif(this.m_oValeur,1,13,16,28,61,function(){return 12},0,143,142,0)},e.prototype.bGetExiste=function(){return!this.m_bTemporaire},e.prototype.SetExiste=function(t){this.__SetTemporaire(!n.NSUtil.bGetBooleen(t))},e.prototype.nGetOccurrence=function(){var t=this.m_oValeur;return n.NSUtil.bIsArray(t)?t.length:0},e.prototype.sGetFormatJSON=function(){return n.NSUtil.xsStringifyJSON(this,!0)},e.prototype.xSetFormatJSON=function(t){var i;try{i=n.NSUtil.oEvalJSON(String(t),null,!1)}catch(r){throw new n.CErreur(607);}this.SetValeurNative(i)},e.prototype.oCloneRacine=function(n){return e.__s_oClone(this,function(n){return n.m_oValeur},n?n.m_tParent:null,n?n.m_bTemporaire:!1,n?n.m_sNom:this.m_sNom)},e.prototype.SetValeurNative=function(n){this.__SetValeur(n,y);this.__SetValide()},e.prototype.__oGetJSON=function(){return new w(this,null===this.m_tParent?f.m_oDescriptionDynamique:f.m_oDescriptionStatique)},e.prototype.__SetValeur=function(t,i){function r(t,i,r){var u=r(i),f;switch(typeof u){case"number":case"string":case"boolean":return u;case"object":return null===u?null:n.NSUtil.bIsArray(u)?u.map(function(n){return e.__s_oClone(n,r,t,!1,"")}):(f={},n.NSUtil.bForEachIn(u,function(n,i){return f[n]=e.__s_oClone(i,r,t,!1,n),!0}),f);default:return null}}this.m_oValeur=r(this,t,i)},e.prototype.__SetValide=function(){this.__SetTemporaire(!1)},e.prototype.__SetTemporaire=function(t){if(t!==this.m_bTemporaire){var i=this.m_tParent;null!==i&&(this.m_bTemporaire=t,t?(this.m_oValeur=null,i.__SupprimeFils(this)):(i.__AjouteFils(this),i.__SetValide()))}},e.__s_oClone=function(n,t,i,r,u){var f=c(i,r,u);return f.__SetValeur(n,t),f},e.prototype.oGetValeurObjet=function(){return this.oSurValeur(u,u,y,u)},e.prototype.__SupprimeFils=function(n){this.oSurValeur(i,i,function(t){delete t[n.m_sNom]},function(t){var i=t.indexOf(n);-1!==i&&t.splice(i,1)})},e.prototype.__AjouteFils=function(n){function r(t){t[n.m_sNom]=n}var t=this;this.oSurValeur(i,function(){t.m_oValeur={};r(t.m_oValeur)},r,function(t){t.push(n)})},e.prototype.oSurValeur=function(t,i,r,u){var f=this.m_oValeur;switch(typeof f){case"number":case"string":case"boolean":default:return t(f);case"object":return n.NSUtil.bIsArray(f)?u(f):null===f?i():r(f)}},e.prototype.bValeurAutomatiqueEstValeurLecture=function(){return null!==this.m_tParent&&this.oSurValeur(v,v,a,a)},e.prototype.bValeurAutomatiqueEstValeurEcriture=function(){return null!==this.m_tParent},e.prototype.oTransformeEnTableauVide=function(){var t=[];return this.m_oValeur=t,this.__SetValide(),t},e}(n.NSUtil.CTSousElement);var p=function(t){function i(n){return t.call(this,w,n,function(n,t){return n.oCloneRacine(t.vtGetValeurDirect())})||this}return __extends(i,t),i.prototype._voGetDinoValeur=function(i,u){var o=t.prototype._voGetDinoValeur.call(this,i,u),f,e;if(undefined!==o.m_oValeur)return o;if(f=undefined!=i?i:new r(null,null,!1,""),e=n.NSValues.oAny2Natif(u),"string"==typeof e)try{f.xSetFormatJSON(e)}catch(s){f.SetValeur(e)}else f.SetValeur(e);return{m_oValeur:f,m_bTrouve:!0}},i}(t.CTDescriptionDinoSimple),w=function(e){function o(){return e!==null&&e.apply(this,arguments)||this}return __extends(o,e),o.prototype.toString=function(){var t=this.oGetJSONContenu();return t.bValeurAutomatiqueEstValeurLecture()?String(t.oGetValeur()
4):n.NSUtil.xsStringifyJSON(t,!0)},o.prototype.viGetRValue=function(n){switch(n){default:return this;case 1:case 5:return this.__oGetProprieteValeurAutomatique()}},o.prototype.viGetMembre2=function(t,i,r,u){if(4===u){var f=this.__iGetPropriete(i);if(f)return f;throw new n.CErreur(605,t);}return this.__iGetMembre(t)},o.prototype.viGetSousElement=function(t,i){var f=i[t],r=n.NSValues.oAny2Natif(f),u;return u="string"==typeof r?this.__iGetMembre(r):this.__iSousElementTableau(r),n.NSUtil.iChaineSousElement(u,t+1,i)},o.prototype.viGetAsTableau=function(){var n=this;return this.oGetJSONContenu().oSurValeur(u,function(){return n.oGetJSONContenu().oTransformeEnTableauVide(),n},u,function(){return n})},o.prototype.viGetAsTableauAssociatif=function(){var n=this;return this.oGetJSONContenu().oSurValeur(u,u,function(){return n},u)},o.prototype.xiGetTableauCherche=function(){throw new n.CErreur(601);},o.prototype.xiGetTableauTri=function(){throw new n.CErreur(601);},o.prototype.xiGetTableauSupprime=function(){return this},o.prototype.xRedimensionne=function(){throw new n.CErreur(601);},o.prototype.nAjouteLigne=function(){throw new n.CErreur(601);},o.prototype.xCopieDepuis=function(){throw new n.CErreur(601);},o.prototype.DeplaceLigne=function(){throw new n.CErreur(601);},o.prototype.Echange=function(){throw new n.CErreur(601);},o.prototype.eTypeElement=function(){return 111},o.prototype.bDynamique=function(){return!0},o.prototype.Insere=function(){throw new n.CErreur(601);},o.prototype.InsereLigne=function(){throw new n.CErreur(601);},o.prototype.eGetModeAgrandissement=function(){return 1},o.prototype.nGetNbDimensions=function(){return 1},o.prototype.nGetUneDimension=function(){return this.nGetNbElements()},o.prototype.nGetNbElements=function(){return this.nGetNbElementsFiltre(!1)},o.prototype.nGetDimension0Pas=function(){return 1},o.prototype.iGetSousElementIndice=function(n,t){return this.iGetSousElementIndiceFiltre(n,t,!1)},o.prototype.iGetDescriptionElement=function(){return f.m_oDescriptionStatique},o.prototype.viGetAsTableauType=function(){return null},o.prototype.nSupprime=function(n){return this.oGetJSONContenu().oSurValeur(i,s,function(t){var i=String(n);return t.hasOwnProperty(i)?(delete t[i],1):0},function(t){return t.splice(n,1).length})},o.prototype.SupprimeTout=function(){this.oGetJSONContenu().oSurValeur(i,s,function(t){n.NSUtil.SupprimeToutMembres(t)},function(n){n.length=0})},o.prototype.bAvecDoublon=function(){return!1},o.prototype.eTypeCle=function(){return 16},o.prototype.Inverse=function(){throw new n.CErreur(601);},o.prototype.Trie=function(){throw new n.CErreur(601);},o.prototype.nGetNbElementsCle=function(){throw new n.CErreur(601);},o.prototype.oGetCle=function(){throw new n.CErreur(601);},o.prototype.__oGetProprieteValeur=function(){return this.__oGetProprieteDinoJSON(r.prototype.oGetValeur,r.prototype.SetValeur)},o.prototype.__oGetProprieteFormatJSON=function(){return this.__oGetProprieteDinoJSON(r.prototype.sGetFormatJSON,r.prototype.xSetFormatJSON)},o.prototype.__oGetProprieteValeurAutomatique=function(){var t=this;return new n.NSUtil.CPropriete(function(){var i=t.oGetJSONContenu();return n.NSValues.iAny2RValue(i.bValeurAutomatiqueEstValeurLecture()?i.oGetValeur():i.sGetFormatJSON())},function(n){return t.Affectation(n)},function(){var n=t.oGetJSONContenu();return n.toJSON()})},o.prototype.__oGetProprieteDinoJSON=function(t,i){var r=this;return n.NSUtil.oGetProprieteSimple(function(){return t.apply(r.oGetJSONContenu())},i?function(n){return i.call(r.oGetJSONContenu(),n)}:null)},o.prototype.Affectation=function(n){var i,u=this.oGetJSONContenu(),r;if(u.bValeurAutomatiqueEstValeurEcriture()&&(r=n.m_oValeur,!t.iGetAsDino(r,0,16))){u.SetValeur(r);return}this.viGetDescriptionType().viAffectation(this,n);(i=this.vtGetValeurDirect())===null||i===void 0?void 0:i.SetExiste(!0)},o.prototype.oGetJSONContenu=function(){return undefined===this.m_tValeur&&(this.m_tValeur=c(null,!1,"")),this.m_tValeur},o.prototype.__iGetPropriete=function(n){switch(n){case"NOM":case"NAME":return this.__oGetProprieteDinoJSON(r.prototype.sGetNom,r.prototype.SetNom);case"VALEUR":case"VALUE":return this.__oGetProprieteValeur();case"TYPE":return this.__oGetProprieteDinoJSON(r.prototype.eGetType,null);case"EXISTE":case"EXIST":return this.__oGetProprieteDinoJSON(r.prototype.bGetExiste,r.prototype.SetExiste);case"OCCURRENCE":case"COUNT":return this.__oGetProprieteDinoJSON(r.prototype.nGetOccurrence,null);case"FORMATJSON":case"JSONFORMAT":return this.__oGetProprieteFormatJSON();case"VALEURAUTOMATIQUE":case"AUTOMATICVALUE":return this.__oGetProprieteValeurAutomatique(
4);case"MEMBRE":case"MEMBER":return new nt(this);default:return null}},o.prototype.__iGetMembre=function(u){var f=this,e=function(t){function e(){return new r(s,null,!0,u)}var s=f.oGetJSONContenu(),h=s.oSurValeur(i,e,function(i){if(i.hasOwnProperty(u))return i[u];if(t){var r;if(n.NSUtil.bForEachIn(i,function(t,i){return 0==n.NSUtil.nCompareLogique(u,t)?(r=i,!1):!0}),undefined!==r)return r}return e()},i);return new o(h,f.iGetDescriptionElement())};return new t.CDinoPropriete(function(){return e(!0)},function(n){e(!1).Affectation(n)})},o.prototype.__iSousElementTableau=function(t){function u(i,r){for(var u=n.NSUtil.xnGetIndiceC(t,r.length,1,0);r.length<=u;)r.push(c(i,!1,""));return r[u]}var r=this.oGetJSONContenu();return r.oSurValeur(i,function(){return u(r,r.oTransformeEnTableauVide())},i,function(n){return u(r,n)})},o.prototype.nGetNbElementsFiltre=function(n){return this.oGetJSONContenu().oSurValeur(i,i,function(n){return Object.keys(n).length},n?s:function(n){return n.length})},o.prototype.iGetSousElementIndiceFiltre=function(n,t,u){function f(){return new r(e,null,!0,"")}var o=this,e=this.oGetJSONContenu();return e.oSurValeur(i,u?f:i,function(i){var r=Object.keys(i)[n];return t&&(t.m_oCle=r),undefined!==r?i[r]:f()},u?i:function(){return o.__iSousElementTableau(n+1)})},o}(t.CDino),nt=function(t){function r(n){var i=t.call(this)||this;return i.m_oJSON=n,i}return __extends(r,t),r.prototype.valueOf=function(){return this.__oGetJSONContenu().toJSON()},r.prototype.veGetTypeWL=function(){return 109},r.prototype.nAjouteLigne=function(){throw new n.CErreur(601);},r.prototype.DeplaceLigne=function(){throw new n.CErreur(601);},r.prototype.Echange=function(){throw new n.CErreur(601);},r.prototype.eTypeElement=function(){return 111},r.prototype.Insere=function(){throw new n.CErreur(601);},r.prototype.nGetNbElements=function(){return this.m_oJSON.nGetNbElementsFiltre(!0)},r.prototype.iGetSousElementIndice=function(n){return this.m_oJSON.iGetSousElementIndiceFiltre(n,undefined,!0)},r.prototype.iGetDescriptionElement=function(){return f.m_oDescriptionDynamique},r.prototype.nSupprime=function(n){return this.__oGetJSONContenu().oSurValeur(i,s,function(t){var i=Object.keys(t)[n];return undefined!==i?(delete t[i],1):0},i)},r.prototype.SupprimeTout=function(){return this.m_oJSON.SupprimeTout()},r.prototype.__oGetJSONContenu=function(){return this.m_oJSON.oGetJSONContenu()},r}(n.NSUtil.CCollection),f={m_oDescriptionStatique:new p(!1),m_oDescriptionDynamique:new p(!0)};t.AjouteDescriptionDINO(0,16,f)})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function l(n){return 0<=n.vnToNumber(0)?"+":"-"}function a(n){return 0<=n.vnToNumber(0)?"":"-"}function v(n){return r(n,2,7)}function y(n){return String(f(n,2))}function p(n){return r(n,3,2)}function w(n){return r(n,4,2)}function b(n){return r(n,5,2)}function k(n){return r(n,6,3)}function d(t){return n.NSUtil.sCompleteEntier(Math.floor(f(t,6)/10),2)}function f(t,i){return Math.abs(n.NSUtil.dGetReel(t.viGetPropriete(0,i),0))}function r(t,i,r){return n.NSUtil.sCompleteEntier(f(t,i),r)}function e(t,i){if(0<t.length){switch(t.charAt(t.length-1)){case"+":break;case"-":i.vSetValeurDirect(-i.vnToNumber(0));break;default:throw new n.CErreur(204);}return t.substring(0,t.length-1)}return t}function g(n,t){return i(n,t,7,864e5)}function nt(n,t){for(var r=864e5,i;0<n.length;){if(i=parseInt(n.charAt(n.length-1),10),isNaN(i))break;else t.vSetValeurDirect(t.vnToNumber(0)+i*r),r*=10;n=n.substring(0,n.length-1)}return n}function tt(n,t){return i(n,t,2,36e5)}function it(n,t){return i(n,t,2,6e4)}function rt(n,t){return i(n,t,2,1e3)}function ut(n,t){return i(n,t,3,1)}function ft(n,t){return i(n,t,2,10)}function i(t,i,r,u){return t=n.NSUtil.sCompleteEntierChaine(t,r),i.vSetValeurDirect(i.vnToNumber(0)+parseInt(t.substring(t.length-r),10)*u),t.substring(0,t.length-r)}function et(t){var i=NaN,r=n.iGetAsRValue(t,1);r&&(t=16==r.veGetTypeWL()?r.toString():r.vnToNumber(0));switch(typeof t){case"string":i=ot(t);break;case"number":i=st(t);break;case"object":i=ht(t)}if(isNaN(i))throw new n.CErreur(204);return i}function ot(t){var i=!1,r;switch(t.charAt(0)){case"+":t=t.substring(1);break;case"-":t=t.substring(1);i=!0}return n.NSUtil.sCompleteEntier(parseInt(t,10),t.length)!=t?NaN:(t=n.NSUtil.sCompleteEntierChaine(t,10),r=[parseInt(t.substring(0,t.length-9),10),parseInt(t.substr(t.length-9,2),10),parseInt(t.substr(t.length-7,2),10),parseInt(t.substr(t.length-5,2),10),parseInt(t.substring(t.length-3),10)],h(r,i,!0))}function st(n){return s(n,1)}function s(t,i){return n.NSOperations.nArrondiVersZero(t*i)}function ht(n){return"undefined"!=typeof clWLangage&&n instanceof clWLangage.WDDuree?n.m_nValeur:Number(n)}function h(t,i,r){if(r&&(t[1]<0||24<=t[1]||t[2]<0||60<=t[2]||t[3]<0||60<=t[3]||t[4]<0||1e3<=t[4]))throw new n.CErreur(204);var u=t[0]*864e5+t[1]*36e5+t[2]*6e4+t[3]*1e3+t[4];return i?-u:u}function ct(n){return!!n&&(n instanceof u||undefined!==n.sDureeVersChaine)}var o=[[["+/-"],l,e],[["+"],a,e],[["JJJJJJJ"],v,g],[["J","D"],y,nt],[["HH"],p,tt],[["MM"],w,it],[["SS"],b,rt],[["LLL"],k,ut],[["LL"],d,ft]],u,c;t.ms_DescriptionDuree=new t.CTDescriptionTypeTresSimple(27,function(n){return n===void 0&&(n=0),new u(n)},function(n){var t=0,i=n.m_oValeur;return undefined!==i&&(t=et(i)),t},undefined);u=function(i){function r(n){return i.call(this,n,t.ms_DescriptionDuree)||this}return __extends(r,i),r.prototype.toString=function(){return this.sDureeVersChaine("+JHHMMSSLLL")},r.prototype.vnToNumber=function(n){var t=this.valueOf();return 1===n&&(t/=10),t},r.prototype._viGetProprieteVM=function(n){switch(n){case 2:case 3:case 4:case 5:case
46:case 28:case 29:case 30:case 31:case 32:return new c(this,n);default:return i.prototype._viGetProprieteVM.call(this,n)}},r.prototype.sDureeVersChaine=function(t){var i=this;return n.NSUtil.tabParseFormat(t,o).reduce(function(n,t){function r(n){return"function"==typeof n}return n+(r(t)?t(i):t)},"")},r.xoChaineVersDuree=function(t,i){var u=String(t),e=n.NSUtil.tabParseDeformat(i,o,!0),f=new r(0);return e.reverse().forEach(function(t){switch(typeof t){case"string":if(t.length<=u.length)u=u.substring(0,u.length-t.length);else throw new n.CErreur(601);break;case"function":try{u=t(u,f)}catch(i){if(clWDUtil.bCatch(i))throw new n.CErreur(601);else throw i;}}}),f},r}(t.CTTypeSimple);t.CDuree=u;c=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetRValue=function(){var i=this.m_tParent.valueOf();switch(this.m_ePropriete){case 2:return this.__iGetPropComposante(i,0);case 3:return this.__iGetPropComposante(i,1);case 4:return this.__iGetPropComposante(i,2);case 5:return this.__iGetPropComposante(i,3);case 6:return this.__iGetPropComposante(i,4);case 28:return this.__iGetPropEnComposante(i,864e5);case 29:return this.__iGetPropEnComposante(i,36e5);case 30:return this.__iGetPropEnComposante(i,6e4);case 31:return this.__iGetPropEnComposante(i,1e3);case 32:return t.ms_DescriptionI8.viCreationCopie(i,0);default:throw new n.CErreur(603);}},r.prototype.vSetValeur2=function(t){switch(this.m_ePropriete){case 2:this.__SetValeurComposante(t,0);break;case 3:this.__SetValeurComposante(t,1);break;case 4:this.__SetValeurComposante(t,2);break;case 5:this.__SetValeurComposante(t,3);break;case 6:this.__SetValeurComposante(t,4);break;case 28:this.__SetValeurMilliseconde(t,864e5);break;case 29:this.__SetValeurMilliseconde(t,36e5);break;case 30:this.__SetValeurMilliseconde(t,6e4);break;case 31:this.__SetValeurMilliseconde(t,1e3);break;case 32:this.__SetValeurMilliseconde(t,1);break;default:throw new n.CErreur(603);}},r.prototype.__iGetPropComposante=function(n,i){return t.iNatif2RValue(this.__tabGetComposantes(n)[i])},r.prototype.__iGetPropEnComposante=function(i,r){return n.NSOperations.oBinaire(3,t.ms_DescriptionNumeriqueAuto.viCreationCopie(i,3),t.ms_DescriptionNumeriqueAuto.viCreationCopie(r,3))},r.prototype.__tabGetComposantes=function(t){var i=[0,0,0,0,0];return i[4]=t%1e3,t=n.NSOperations.nArrondiVersZero(t/1e3),i[3]=t%60,t=n.NSOperations.nArrondiVersZero(t/60),i[2]=t%60,t=n.NSOperations.nArrondiVersZero(t/60),i[1]=t%24,t=n.NSOperations.nArrondiVersZero(t/24),i[0]=t,i},r.prototype.__SetValeurComposante=function(t,i){var r=this.__tabGetComposantes(this.m_tParent.valueOf());r[i]=n.NSUtil.nGetEntier(t.m_oValeur);this.m_tParent.vSetValeurDirect(h(r,!1,!1))},r.prototype.__SetValeurMilliseconde=function(t,i){this.m_tParent.vSetValeurDirect(s(n.NSUtil.dGetReel(t.m_oValeur,0),i))},r}(n.NSUtil.CProprieteMultiple);t.bIsDuree=ct})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(n,t,i,r){return n===void 0&&(n=0),t===void 0&&(t=0),i===void 0&&(i=0),r===void 0&&(r=0),{m_dX:n,m_dY:t,m_dLargeur:i,m_dHauteur:r}}function f(n,t,i,r){return{m_dX:n,m_dY:t,m_dLargeur:i-n,m_dHauteur:r-t}}function e(n){return!!n&&(n instanceof r||151===n.veGetTypeWL())}function u(t){var i,r=(i=n.iGetAsRValue(t,1))===null||i===void 0?void 0:i.viGetAsRValueType();return e(r)?r.vtGetValeurDirect():null}t.oGetRectangleXYXY=f;t.ms_DescriptionRectangle=new t.CTDescriptionTypeTresSimple(151,function(n){return n===void 0&&(n=i()),new r(n)},function(t){var r=u(t.m_oValeur);if(r)return i(r.m_dX,r.m_dY,r.m_dLargeur,r.m_dHauteur);throw new n.CErreur(601);},undefined);var r=function(i){function r(n){return i.call(this,n,t.ms_DescriptionRectangle)||this}return __extends(r,i),r.prototype.valueOf=function(){throw new n.CErreur(601);},r.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 39:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dX},function(t){r.m_tValeur.m_dX=n.NSUtil.nGetEntier(t)});case 40:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dY},function(t){r.m_tValeur.m_dY=n.NSUtil.nGetEntier(t)});case 41:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dLargeur},function(t){r.m_tValeur.m_dLargeur=n.NSUtil.nGetEntier(t)});case 42:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tValeur.m_dHauteur},function(t){r.m_tValeur.m_dHauteur=n.NSUtil.nGetEntier(t)});default:return i.prototype._viGetProprieteVM.call(this,t)}},r}(t.CTTypeSimple);t.oGetRectangle=u})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function f(i,r){var h,u,f,e,o,c,s;for(r.SupprimeTout(),h=i.nGetNbElements(),u=0;u<h;u++)if(f={m_oCle:undefined},e=i.iGetSousElementIndice(u,f),e){if(n.NSOperations.bDansDeserialisation&&r.bAvecDoublon()&&(o=e.viGetRValue(1),t.bIsTableauNatif(o))){for(c=o.nGetNbElements(),s=0;s<c;s++)r.viGetSousElement(0,[f.m_oCle]).vSetValeur(o.iGetSousElementIndice(s),0,{});continue}r.viGetSousElement(0,[f.m_oCle]).vSetValeur(e,0,{})}}function h(t){return t.every(function(t){return n.NSUtil.bIsArray(t)&&2===t.length})}function e(n){return n instanceof i||"__oGetValeurIndiceComplet"in n}var o=function(r){function u(i,u,f,e){var o=r.call(this,62,undefined)||this;return o.m_nOptions=i,o.m_iDescriptionTypeValeur=f,o.m_iDescriptionTypeCle=t.iGetDescription(n.NSUtil.dGetReel(e),!0),o.m_iValeurDefaut=undefined!==u?o.m_iDescriptionTypeValeur.viCreationCopie(u,3):undefined,o}return __extends(u,r),u.prototype.viCreation=function(n){return n?this.__iAffectation(new i(this),n):this._voAllocation()},u.prototype.viAffectation=function(n,t){return this.__iAffectation(n,t)},u.prototype.vxVerifieCompatibilitePassageParAdresse=function(n,t){r.prototype.vxVerifieCompatibilitePassageParAdresse.call(this,n,t)},u.prototype._voAllocation=function(){return new i(this)},u.prototype.bSansEspace=function(){return!!(this.m_nOptions&1)},u.prototype.bSansCasse=function(){return!!(this.m_nOptions&16)},u.prototype.bAvecDoublon=function(){return!!(this.m_nOptions&1073741824)},u.prototype.iGetDescriptionTypeValeur=function(){return this.m_iDescriptionTypeValeur},u.prototype.iGetDescriptionTypeCle=function(){return this.m_iDescriptionTypeCle},u.prototype.__iAffectation=function(t,i){var r=this.__xiGetTableauAssociatif(i.m_oValeur),u=i.m_eAffectation;if(e(r))switch(u){default:case 0:case 2:case 4:return t.xCopieDepuis(r),t;case 1:case 3:return r}else switch(u){default:case 0:case 2:case 4:case 3:return t.xCopieDepuis(r),t;case 1:throw new n.CErreur(601);}},u.prototype.xVerifieCompatibilitePourCopie=function(t){if(e(t)){var i=t.m_iDescriptionType;if(this.m_iDescriptionTypeValeur.veGetTypeWL()!=i.m_iDescriptionTypeValeur.veGetTypeWL()&&this.m_iDescriptionTypeCle.veGetTypeWL()!=i.m_iDescriptionTypeCle.veGetTypeWL()&&this.m_nOptions!=i.m_nOptions)throw new n.CErreur(601);}},u.prototype.__xiGetTableauAssociatif=function(t){var e=n.NSValues.iAny2RValue(t),r=e.viGetAsTableauAssociatif(),i,u,f;if(r)return this.xVerifieCompatibilitePourCopie(r),r;if(i=e.viGetAsTableau(),i&&1===i.nGetNbDimensions()&&(u=i.viGetAsTableauType(),u&&(f=u.tabGetValeurs(),h(f))))return{nGetNbElements:function(){return i.nGetUneDimension(0)},iGetSousElementIndice:function(n,t){var i=f[n];return t&&(t.m_oCle=i[0]),new s(i[1])}};throw new n.CErreur(601);},u.prototype.iGetValeurParDefaut=function(){var t=this.m_iValeurDefaut;
4return undefined!==t?t.viGetDescriptionType().viCreationCopie(t,0):this.m_iDescriptionTypeValeur.viCreationInstance()},u}(t.CTDescriptionType);t.CDescriptionTableauAssociatif=o;var i=function(i){function e(n){var t=i.call(this,{},n)||this;return t.m_tabElements=[],t}return __extends(e,i),e.prototype.valueOf=function(){var t={},i=this.m_iDescriptionType.bAvecDoublon();return n.NSUtil.bForEachIn(this.m_tValeur,function(r,u){return u.forEach(function(r){var f=r.m_iValeur.valueOf(),u=String(r.m_iCle);i?(t.hasOwnProperty(u)||(t[u]=[]),t[u].push(f)):t[u]=f}),!0}),t},e.prototype.viGetSousElement=function(t,i){var e=i.length,u=t,o=this.oGetCle(i[u]),f;return u++,this.m_iDescriptionType.bAvecDoublon()&&u<e&&(f=n.NSUtil.nGetEntier(i[u])-1,u++),n.NSUtil.iChaineSousElement(new r(this,o,f),u,i)},e.prototype.viGetAsTableauAssociatif=function(){return this},e.prototype._viGetProprieteVM=function(t){var r=this;switch(t){case 23:return n.NSUtil.oGetProprieteSimple(function(){return r.m_tabElements.length},null);default:return i.prototype._viGetProprieteVM.call(this,t)}},e.prototype.xCopieDepuis=function(n){this.m_iDescriptionType.xVerifieCompatibilitePourCopie(n);f(n,this)},e.prototype.eTypeElement=function(){return this.m_iDescriptionType.iGetDescriptionTypeValeur().veGetTypeWL()},e.prototype.bAvecDoublon=function(){return this.m_iDescriptionType.bAvecDoublon()},e.prototype.eTypeCle=function(){return this.m_iDescriptionType.iGetDescriptionTypeCle().veGetTypeWL()},e.prototype.Inverse=function(){this.m_tabElements.reverse()},e.prototype.nSupprime=function(t){var s,e,f,o,i,h;return n.NSOperations.ms_oElementCourant===t?(s=n.NSOperations.iGetIterateur(this),s&&(e=s.viGetSousValue(),e&&(f=null,e instanceof u?f=e.m_oElement:e instanceof r&&(f=e.oGetElementDirect()),f&&(o=this.oGetCle(f.m_iCle),i=this.__tabGetDoublons(o),i))))?(n.NSUtil.SupprimeDansTableau(this.m_tabElements,f,!0),n.NSUtil.SupprimeDansTableau(i,f,!0),0==i.length&&delete this.m_tValeur[o.m_sCleFormat],s.vNotifieSuppressionCourant(),1):0:(o=this.oGetCle(t),i=this.__tabGetDoublons(o),undefined!==i)?(delete this.m_tValeur[o.m_sCleFormat],h=this.m_tabElements,i.forEach(function(t){n.NSUtil.SupprimeDansTableau(h,t,!0)}),i.length):0},e.prototype.SupprimeTout=function(){n.NSUtil.SupprimeToutMembres(this.m_tValeur);this.m_tabElements.length=0},e.prototype.Trie=function(i,r){var f=!!(i&32768),e=f?function(n){return n.m_iCle.valueOf()}:function(n){return n.m_iValeur.valueOf()},u=i&-32769,o=u&15,s=u&-16,h=t.pfGetTriComparaisonAvecOptions(o,s,function(n){return n},e);this.m_tabElements.sort(h)},e.prototype.nGetNbElements=function(){return this.m_tabElements.length},e.prototype.iGetSousElementIndice=function(n,t){var i=this.m_tabElements[n];return i&&t&&(t.m_oCle=i.m_iCle),new u(this,i)},e.prototype.nGetNbElementsCle=function(n){var t=this.__tabGetDoublons(n);return undefined!==t?t.length:0},e.prototype.oGetCle=function(t){var r=this.m_iDescriptionType,u=r.iGetDescriptionTypeCle().viCreationCopie(t,0),i=u.toString();return r.bSansEspace()&&(i=n.NSUtil.sRemplaceEspaces(i)),r.bSansCasse()&&(i=i.toLowerCase()),{m_iCle:u,m_sCleFormat:i}},e.prototype.oGetElement=function(t,i){var r,u;if(this.m_iDescriptionType.bAvecDoublon()){if(undefined===i)throw new n.CErreur(203);r=!0}else r=!1,i=0;return u=this.__oGetValeurIndiceComplet(t,i,r),u?u.m_iValeur:this.m_iDescriptionType.iGetValeurParDefaut()},e.prototype.oGetElementDirect=function(n,t){return this.__oGetValeurIndiceComplet(n,t||0,!1)},e.prototype.SetElementValeur=function(n,t){n.m_iValeur=this.m_iDescriptionType.iGetDescriptionTypeValeur().viAffectation(n.m_iValeur,t)},e.prototype.SetValeurCle=function(t,i,r){var o=this.m_iDescriptionType,s=o.bAvecDoublon(),u=this.__tabGetDoublons(t),e,f;if(s&&undefined!==i&&(undefined===u||undefined===u[i]))throw new n.CErreur(201);undefined===u&&(u=this.__tabCreeDoublons(t));s?e=i:0<u.length&&(e=0);undefined!==e?(f=u[0],f.m_iCle=t.m_iCle,this.SetElementValeur(f,r)):(f={m_iCle:t.m_iCle,m_iValeur:o.iGetDescriptionTypeValeur().viCreation(r)},u.push(f),this.m_tabElements.push(f))},e.prototype.__oGetValeurIndiceComplet=function(t,i,r){var u=this.__tabGetDoublons(t);if(undefined===u)if(r)throw new n.CErreur(201);else return null;else if(i<0||u.length<=i)if(r)throw new n.CErreur(202,u.length,i+1);else return null;else return u[i]},e.prototype.__tabGetDoublons=function(n){return this.m_tValeur[n.m_sCleFormat]},e.prototype.__tabCreeDoublons=function(n){var t=[];return this.m_tValeur[n.m_sCleFormat]=t,t},e}(t.CTType),r=function(t){function i(n,i,r){var u=t.call(this,n)||this;return u.m_oCle=i,u.m_nDoublon=r,u}return __extends(i,t),i.prototype.viGetRValue=function(){return this.m_tParent.oGetElement(this.m_oCle,this.m_nDoublon)},i.prototype.viGetPropriete=function(i,r){var f=this,u;if(n.NSProprietes.bEstProprieteVM(i,r)&&this.__bAvecPropriete()){u=function(){return f.m_tParent.
4nGetNbElementsCle(f.m_oCle)};switch(r){case 23:return n.NSUtil.oGetProprieteSimple(u,null);case 24:return n.NSUtil.oGetProprieteVide(this,0,23);case 43:return n.NSUtil.oGetProprieteSimple(function(){return 0<u()},null)}}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.vSetValeur2=function(n){this.m_tParent.SetValeurCle(this.m_oCle,this.m_nDoublon,n)},i.prototype.oGetElementDirect=function(){return this.m_tParent.oGetElementDirect(this.m_oCle,this.m_nDoublon)},i.prototype.__bAvecPropriete=function(){return undefined===this.m_nDoublon},i}(n.NSUtil.CTSousElementWrapper),u=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_oElement=i,r}return __extends(t,n),t.prototype.viGetRValue=function(){return this.m_oElement.m_iValeur},t.prototype.vSetValeur2=function(n){this.m_tParent.SetElementValeur(this.m_oElement,n)},t}(n.NSUtil.CTSousElementWrapper),s=function(t){function i(n){var i=t.call(this,null)||this;return i.m_oElement=n,i}return __extends(i,t),i.prototype.viGetRValue=function(){return n.NSValues.iAny2RValue(this.m_oElement)},i.prototype.vSetValeur2=function(t){n.NSUtil.xVerifieAffectationAucune(t)},i}(n.NSUtil.CTSousElementWrapper);t.TableauAssociatifCopie=f})(t=n.NSTypes||(n.NSTypes={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i){i===void 0&&(i=1);var r=n.iGetAsRValue(t,i);return undefined!==r?r:n.NSTypes.iNatif2RValue(t)}function u(t){var i=n.iGetAsRValue(t,1);return undefined!==i?i:t}function r(t){var i=n.iGetAsRValue(t,1);return undefined!==i?i.valueOf():n.NSUtil.bIsArray(t)&&t.some(function(t){return undefined!==n.iGetAsBase(t)})?t.map(r):t}function f(n){return n.map(function(n){return r(n)})}function e(t,r){var f=i(t,3),u,e;if(undefined!==f.voJSONDebogueurValeur)u=f.voJSONDebogueurValeur(r);else{e=i(t);try{u=n.NSUtil.xoEvalJSON(n.NSUtil.xsStringifyJSON(e,!1),!1)}catch(o){u=e.toJSON()}r?13===f.veGetTypeWL()?u=e.toString(16):"number"==typeof u?u=u.toString(16):"string"==typeof u&&(u=Array.prototype.map.call(u,function(t){return n.NSUtil.sCompleteEntier(t.charCodeAt(0),4,16)}).join(" ")):"string"==typeof u&&(u='"'+u+'"')}return{m_oType:undefined!==f.voJSONDebogueurType?f.voJSONDebogueurType():{m_eTypeWL:f.veGetTypeWL()},m_oValeur:u}}function o(r,u){function f(t,i){return i.viCreation(n.iGetValeurInitiale(t,3))}var o=i(r),e=o.viGetAsValeurMultiple();return undefined!==e?new t.CValeursMultiples(e.tabGetValeurs().reduce(function(n,t,i){return i<u.length&&n.push(f(t,u[i])),n},[])):f(r,u[0])}t.iAny2RValue=i;t.oAny2RValue=u;t.oAny2Natif=r;t.tabAny2Natif=f;t.oAny2JSONDebogueur=e;t.oGetValeurRetour=o})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(n){var i=t.call(this)||this;return i.m_tabValeurs=n,i}return __extends(i,t),i.prototype.toString=function(){throw new n.CErreur(601);},i.prototype.vnToNumber=function(){throw new n.CErreur(601);},i.prototype.vbToBoolean=function(){throw new n.CErreur(601);},i.prototype.valueOf=function(){throw new n.CErreur(601);},i.prototype.toJSON=function(){throw new n.CErreur(601);},i.prototype.viGetRValue=function(){return this},i.prototype.viGetAsLRValue=function(){return null},i.prototype.viGetPropriete=function(){throw new n.CErreur(603);},i.prototype.viGetSousElement=function(){throw new n.CErreur(602,"[ ]");},i.prototype.viGetIntervalle=function(){throw new n.CErreur(602,"[[ ]]");},i.prototype.veGetTypeWL=function(){return 139},i.prototype.viGetAsRValueType=function(){return null},i.prototype.viGetAsTableau=function(){return null},i.prototype.viGetAsTableauAssociatif=function(){return null},i.prototype.viGetAsValeurMultiple=function(){return this},i.prototype.viAppelFonction=function(){throw new n.CErreur(602,"()");},i.prototype.tabGetValeurs=function(){return this.m_tabValeurs},i}(n.CIBase);t.CValeursMultiples=i})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function a(n,t,i){return n.viCreation(t,i)}function u(t,i){var r=0,u=n.iGetAsBase(t),f;return u?i&&(f=u.viGetAsLRValue(),f&&(r|=2)):r|=4,r}function i(t,i,r,u){return new f(t||n.NSTypes.iGetDescriptionDepuisValue(i?i.m_oValeur:undefined),i,r,u)}function s(t,r,u,f,e){var s=0,o=0,h,l;if(undefined!==u){if(h=n.iGetAsBase(u),undefined===h)u instanceof WDTypeAvance||t instanceof n.NSTypes.CTDescriptionDinoRebondFrameworkV1?o|=2:(o|=4,"object"==typeof u&&(o|=2,s=1));else if(!r){if(l=h.viGetAsLRValue(),l)return t&&t.vxVerifieCompatibilitePassageParAdresse(l,f),o|=2,new v(l,o,t);t?c(t)&&(s=1):y(h)&&(s=1)}}
4else if(e)u=e(),o|=1;else throw new n.CErreur(604,f);return i(t,n.iGetValeurInitiale(u,s),undefined,o)}function h(n){switch(n){case 37:return!0;default:return!1}}function c(n){return n.vbAttributInstanceParReference()&&h(n.veGetTypeWL())}function y(n){return h(n.viGetRValue(0).veGetTypeWL())}function p(t,r){return r===void 0&&(r=!1),i(null,n.iGetValeurInitiale(t,0),undefined,u(t,r))}function w(t,r,f,e){return i(t,n.iGetValeurInitiale(r,f),e,u(r,!1))}function b(n,t){return new f(n,undefined,undefined,t?8:0)}function l(t){var i=Array.prototype.map.call(t,function(n){return n});return n.NSUtil.tabMiseAPlatValeursMultiples(i)}var r=function(t){function i(n,i){var r=t.call(this)||this;return r.m_iValeur=n,r.m_nEtat=i,r.m_oIterateurPile=null,r}return __extends(i,t),i.prototype.viGetRValue=function(n){return this.m_iValeur.viGetRValue(n)},i.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteVM(t,i))switch(i){case 25:return n.NSUtil.oGetProprieteConstante(this._bGetDefaut());case 27:case 44:return n.NSUtil.oGetProprieteConstante(this._bGetParAdresse())}return this.m_iValeur.viGetPropriete(t,i)},i.prototype.IterationDebut=function(n){this.m_oIterateurPile={m_iIterateur:n,m_oPrecedent:this.m_oIterateurPile}},i.prototype.IterationFin=function(){this.m_oIterateurPile=this.m_oIterateurPile.m_oPrecedent},i.prototype.vbGetReporteServeur=function(){return this.__bGetOption(8)},i.prototype._bGetDefaut=function(){return this.__bGetOption(1)},i.prototype._bGetParAdresse=function(){return this.__bGetOption(2)},i.prototype._bGetNatif=function(){return this.__bGetOption(4)},i.prototype.__bGetOption=function(n){return!!(this.m_nEtat&n)},i.prototype._SetIterateurValeur=function(n,t){var i=this.m_oIterateurPile;i&&i.m_iIterateur.vSetValeurDepuisVariable(this.m_iValeur,n,t)},i}(n.NSUtil.CWrapperValue),f=function(t){function i(n,i,r,u){var f=t.call(this,a(n,i,r),u)||this;return f.m_iDescriptionType=n,f}return __extends(i,t),i.prototype.vSetValeur2=function(t){var r=t.m_eAffectation,u=t.m_iOptions,i=n.NSUtil.oCloneSimple(u);i.m_bNatif=this._bGetNatif();i.m_bAvecErreur=!0;this.m_iValeur=this.m_iDescriptionType.viAffectation(this.m_iValeur,n.iGetValeurAffectation(t.m_oValeur,r,i));this._SetIterateurValeur(r,u)},i.prototype.Reinitialisation=function(t,i,r){this.m_iValeur=this.m_iDescriptionType.viCreation(n.iGetValeurInitiale(t,i),r);this._SetIterateurValeur(0,{})},i}(r),v=function(t){function i(n,i,r){var u=t.call(this,n,i)||this;return u.m_iDescriptionType=r,u}return __extends(i,t),i.prototype.viGetMembre2=function(i,r,u,f){var e,o;return null!==this.m_iDescriptionType&&c(this.m_iDescriptionType)&&(e=n.NSTypes.iGetThis(this),null!==e&&(o=this.m_iDescriptionType.viGetDescriptionTypeReel(),o.vbStatique()))?e.iGetThisCompatible(o).viGetMembre2(i,r,u,f):t.prototype.viGetMembre2.call(this,i,r,u,f)},i.prototype.vSetValeur2=function(n){this.m_iValeur.vSetValeur2(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)},i}(r),e=function(t){function i(i,r){var u=t.call(this,function(){return r?i?i.viCreation(n.iGetValeurInitiale(r,0)):n.NSTypes.iAny2RValueTypeCopie(r):(i||n.NSTypes.ms_DescriptionI4).viCreation()}(),0)||this;return u.m_iDescriptionType=i,u}return __extends(i,t),i.prototype.vSetValeur2=function(n){this.m_iValeur=this.__oGetValeurPourSet(n);this._SetIterateurValeur(n.m_eAffectation,n.m_iOptions)},i.prototype.__oGetValeurPourSet=function(t){var r,u,f,i,e;if(t.m_iOptions.m_bAffectationDepuisIterateur){if(r=t.m_oValeur,u=t.m_eAffectation,3==u&&(f=n.iGetAsRValue(r,1),f&&(i=f.viGetAsRValueType(),i)))if(this.m_iDescriptionType){if(i.viGetDescriptionType()==this.m_iDescriptionType)return i}else return i;return e=this.m_iDescriptionType||n.NSTypes.iGetDescriptionDepuisValue(r),e.viCreation(t)}return this.m_iValeur.viGetDescriptionType().viAffectation(this.m_iValeur,t)},i.prototype.CorrigeType=function(t){this.m_iDescriptionType=t||n.NSTypes.ms_DescriptionI4;this.m_iValeur=this.m_iDescriptionType.viCreation()},i}(r),o;t.CVariablePourIterateur=e;o=function(){function r(n,t){this.m_nNbParametresNommes=n;this.m_nNbParametresAutres=t;this.m_tabVariables=[];this.m_tabParametresNonNommes=[];this.m_bVariadique=!1;this.m_nNbParametresObligatoire=0;this.m_tabValeursRestantes=[];this.m_nNbParametresLutDepuisValeursMultiples=0}return r.prototype.SetVariadique=function(){this.m_bVariadique=!0},r.prototype.xVerifieParametres=function(t){if(t+=this.m_nNbParametresLutDepuisValeursMultiples,t<this.m_nNbParametresObligatoire||this.m_nNbParametresNommes<t&&!this.m_bVariadique)if(this.m_nNbParametresObligatoire==this.m_nNbParametresNommes)throw new n.CErreur(613,this.m_nNbParametresObligatoire,t);else throw new n.CErreur(613,this.m_nNbParametresObligatoire,this.m_nNbParametresNommes,t);},r.prototype.xDeclareParametre=function(t,i,r,u){var f,e;undefined===u&&this.m_nNbParametresObligatoire++;f=n.NSUtil.tabMiseAPlatValeursMultiples([r]);this.m_nNbParametresLutDepuisValeursMultiples+=f.length-1;this.m_tabValeursRestantes=this.m_tabValeursRestantes.concat(f);e=this.m_tabValeursRestantes.shift();this.m_tabVariables.push(s(t,i,e,this.m_tabVariables.length+1,u))},r.prototype.DeclareVariable=function(t,r,f,e,o){var s=this.m_tabVariables[t];s?s.Reinitialisation(f,e,o):this.m_tabVariables[t]=i(r,n.iGetValeurInitiale(f,e),o,u(f,!1))},r.prototype.iVariablePourIterateur=function(n,t){return new e(n,t)},r.prototype.oGetVariable=function(t){var i=this.m_tabVariables[t];if(i)return this.m_tabVariables[t];throw new n.CErreur(605,0);},r.prototype.iGetPropriete=function(t,i){var r=l(i).length-this.m_nNbParametresAutres;switch(t){case 23:return n.NSUtil.oGetProprieteConstante(Math.max(this.m_nNbParametresNommes,r));case 26:return n.NSUtil.oGetProprieteConstante(r);default:throw new n.CErreur(603);}},r.prototype.xoGetParametre=function(i,r,u,f){function c(t,i){return n.NSUtil.xnGetIndiceC(t,h,i,NaN,!0)}var w=this,e,o,y,p,v;var b=l(f),a=this.m_nNbParametresNommes,k=this.m_nNbParametresAutres,d=b.length-k,h=Math.max(a,d);switch(i){default:case 0:e=0;o=h;break;case 6:e=a;o=h;break;case 7:throw new n.CErreur(602,"[[ ]]");case 1:e=c(r,0);o=e+1;break;case 2:e=c(r,2);o=h;break;case 3:e=0;o=Math.min(h,c(r,2)+1);break;case 4:e=c(r,2);o=Math.min(h,e+n.NSUtil.nGetEntier(u,NaN));break;case 5:e=c(r,2);o=Math.min(h,c(u,2)+1)}if(isNaN(o)||h<o)throw new n.CErreur(612,o,h);if(y=function(n){if(n<a)return w.m_tabVariables[n];var t=n-a,i=w.m_tabParametresNonNommes,r=b[n+k];return i[t]||(i[t]=s(null,!1,r,n+1,undefined))},e+1==o)return y(e);for(p=[],v=e;v<o;v++)p.push(y(v));return new t.CValeursMultiples(p)},r}();t.CVariablesLocales=o;t.iNatif2Value=p;t.iAllocationVariable=w;t.iAllocationVariableServeur=b})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(t,i,r){var e=f(i,r),u;if(e&&(u=e[t],u))return u;throw new n.CErreur(605,t);}function s(i,r,u){var f=e(i,r);u.forEach(function(i){f[i[0]]=t.iAllocationVariable(i[1],i[2],0,n.NSTypes.ms_pfSansAppelConstructeur)})}function h(t,i,r,u){n.NSUtil.bForEachIn(u,function(n,u){var f=e(n,i);return f[t]=l(r,u),!0})}function c(){function t(t,i){n.NSUtil.bForEachIn(t,function(t,r){return n.NSUtil.bForEachIn(r,function(r,u){return u.vbGetReporteServeur()&&n.NSChamps.ms_oSynchronisationServeur.SetVariable(t,i,r,n.NSOperations.VariantVersJSON(u)),!0})})}t(i,0);t(r,1)}function u(n){switch(n){case 0:return i;case 1:return r}}function f(n,t){return u(t)[n]}function e(n,t){var i=f(n,t);return i?i:(i={},u(t)[n]=i,i)}function l(i,r){var u=t.iAllocationVariableServeur(i,r.m_bSynchronise||!1),f=r.m_sJSON;if(f)try{n.NSOperations.Deserialise(u,f,1024)}catch(e){}return u}var i={},r={};t.xiGetVariable=o;t.DeclareVariables=s;t.DeclareVariableServeur=h;t.ReporteVariableServeur=c})(t=n.NSValues||(n.NSValues={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function l(t){var r=n.NSTypes.iGetAsDino(t,70,39),i;if(r)return i=r.vtGetValeurDirect(),i?n.NSUtil.oCloneSimple(i):{};throw new n.CErreur(601);}function a(){return n.NSTypes.oGetDescriptionDINO(70,39).m_oDescriptionDynamique}function v(t){return t instanceof clWDUtil.WDDinoCouleur?n.NSTypes.oCreeDinoCouleur(t):t}function rt(n){return n instanceof r||"voGetHTMLElement"in n}function y(n,t,i){undefined!==i?n.setAttribute(t,i):n.removeAttribute(t)}function b(n,i,r){var u={m_sAlias:n,m_eIDObjet:i,m_sAliasTableZRParent:r};switch(i){case 2:return new t.CChampSaisie(u);case 4:return new t.CChampBouton(u);case 5:return new t.CChampInterrupteur(u);case 6:return new t.CChampSelecteur(u);case 8:return new t.CChampImage(u);case 9:case 11:case 35:return new t.CChampTable(u);case 10:return new t.CChampFormate(u);case 16:return new t.CChampLien(u);case 20:case 27:return new t.CChampIFrame(u);case 22:case 91:return new t.CChampImage(u);case 23:case 45:return new t.CChampSiteMapXxx(u);case 25:return new t.CChampArbre(u);case 26:return new t.CChampVignette(u);case 33:return new t.CChampGraphe(u);case 41:return new t.CAttributZoneRepetee(n,i);case 44:return new t.CChampOnglet(u);case 55:case 57:case 105:return new t.COptionMenu(n,i);case 56:case 68:return new t.CColonneTable(n,i);case 72:return new t.CChampRangeSlider(u);case 76:case 80:case 92:return new t.CChampRebondFrameworkV1SansType(u);case 79:return new t.CChampAutour(u,function(n){return n?n.firstElementChild:null});case 83:return new t.CChampJauge(u);case 85:return new t.CChampRating(u);case 90:return new t.CChampPopup(u);case 100:return new t.CChampPotentiometre(u);case 122:return new t.CBandeauDefilant(u);case 126:return new t.CChampDisposition(u);case 132:return new t.CChampInterrupteurABascule(u);default:return new t.CChampSimpleSansType(u)}}function ut(n){return i.oGetChampSansCreation(n)}function e(n,t,r){return i.oGetObjet(n,t,r)}function ft(n,t){return i.oGetObjetInformationsPartielles(n,t)}function et(){i.DeclareChampInit()}function ot(n){i.DeclareChampPlanDiffere(n)}function o(n,t,r){return r===void 0&&(r=null),i.AppelMethodePtr(n,t,r)}function st(n,t){n.vOnTableZRAfficheAJAX(t[0])}function ht(n,t){n.vOnLigneTableZRAffiche(t[0],t[1])}function ct(n,t){n.vOnDisplay(t[0],t[1])}function k(n,t){n.vOnScroll(t[0])}function d(t,i){n.NSUtil.bDansPlanMasque(t.voGetChampFormulaire())||t.vOnResize(i[0])}function lt(n,t){n.vOnChangementTranche(t[0],t[1])}function at(n){return n.viGetAsGraphe()}function vt(n){return n.viGetAsParametres()}function yt(n){return n.viGetAsCalendrier()}function pt(n){return n.viGetAsCornage()}function wt(n){return n.viGetAsJauge()}function bt(n,t){return i.iGetInterfaceChamp(n,t)}var h="_",nt="_HTE",tt=[,,20001,,,,,,,,50001,30,50002,50003,10002,50004,50005,50006,50007,50008,24,50009,50010,50011,,19,50012,50013,,,,,,,,,,,,50014,,,,,16,,,,,57,,,,,,,,40001,,,,,,,50015,,,,,,,,,,,,,,,,,,,10,,,,,,,,26,,,,,,,,,12],it=[-1,-1,-1,-1,-1,50,51,52,-1,53,-1,53,-1,-1,52,-1,-1,-1,-1,-1,-1,-1,-1,64,-1,59,-1,-1,-1,-1,-1,-1,-1,-1,-1,66,-1,-1,-1,-1,-1,54,-1,-1,49,-1,-1,69,-1,-1,-1,-1,-1,54,52,-1,54,-1,-1,-1,-1,-1,-1,-1,-1,-1,67,52,67,-1,-1,-1,-1,-1,-1,-1,-1,53,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,31,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,123,-1,-1,-1,127,-1,-1,-1,-1,-1,133,-1],r=function(i){function r(n,t){var r=i.call(this)||this;return r.m_sAlias=n,r.m_eIDObjet=t,r}return __extends(r,i),r.prototype.viGetIntervalle=function(n,t,i){return this.viGetRValue(1).viGetIntervalle(n,t,i)},r.prototype.viGetRValue=function(n){switch(n){case 0:return this;default:return this._iGetProprieteValeur().viGetRValue(n)}},r.prototype.viGetPropriete=function(r,u){var f=this,e;if(n.NSProprietes.bEstProprieteJS(r,u)){switch(u){case 5:return n.NSUtil.oGetProprieteConstante(this.vsGetAliasHTML());case 26:return t.oGetProprieteSecurise(this,12,0,null,function(n){f.vSetProprieteEtat(n)},n.NSUtil.nGetEntier,function(n){switch(n){case 0:case 1:case 4:case 5:return!0;default:return!1}});case 27:return t.oGetProprieteEnSaisieGrise(this,1,0,4);case 28:return t.oGetProprieteEnSaisieGrise(this,0,4,1);case 31:return t.oGetProprieteSecurise(this,118,1,null,function(n,t){t===void 0&&(t={});f._vSetProprietePlan(n,t)},n.NSUtil.nGetEntier,function(n){return 0<n&&n<100});case 32:return n.NSUtil.oGetProprieteSimple(function(){return f.viGetJQuery().wbTauxParallaxeYGet()},function(t){f.viGetJQuery().wbTauxParallaxeYSet(n.NSUtil.dGetReel(t,0))});case 33:return n.NSUtil.oGetProprieteSimple(function(){return f.viGetJQuery().wbTauxParallaxeHauteurGet()},function(t){f.viGetJQuery().wbTauxParallaxeHauteurSet(n.NSUtil.dGetReel(t,0))});case 34:return function(){var r=f.vsGetAliasHTML(),u=document.getElementsByClassName(r),i;return(u.length?(i=u[0],i.id&&(i=n.NSUtil.oValideArborescenceFilsUnique(i,["table","tbody","tr","td"]),i&&""===i.style.backgroundImage&&(i=null))):i=document.getElementById(r),i)?t.oGetProprieteImageFond(i):n.NSUtil.oGetProprieteNeFaitRien("")}();case 35:return n.NSUtil.oGetProprieteManipuleSousElement(function(){return f._vGetProprieteBulle()},function(n){f._vSetProprieteBulle(String(n.m_oValeur))},this,n.NSTypes.ms_DescriptionChaine,1,35);case 37:return n.NSUtil.oGetProprieteConstante(tt[this.m_eIDObjet]||this.m_eIDObjet);case 39:return t.oGetProprieteSecurise(this,4,"",null,null,String,null);case 40:return t.oGetProprieteSecurise(this,27,"",null,null,String,null);case 41:return t.oGetProprieteSecuriseLecture(this,30,"",null);case 42:return t.oGetProprieteSecuriseLecture(this,124,0,null);case 43:return t.oGetProprieteSecuriseLecture(this,16,"",null);case 44:return t.oGetProprieteSecuriseLecture(this,125,!0,null);case 45:return t.oGetProprieteXYInitial(this,!0);case 46:return t.oGetProprieteXYInitial(this,!1);case 47:return t.oGetProprieteSecuriseLecture(this,100,0,null);case 48:return t.oGetProprieteTexteAlternatif(this);case 49:return n.NSUtil.oGetProprieteVide(this,1,4);case 57:case 58:return this._xiGetProprieteLibelle(this._voGetHTMLElementPourLibelle(),u);case 59:return this.viGetPropriete(1,57);case 64:return t.oGetProprieteElement(function(n){return n.wbGetJetonSaisieEncours()},function(t,i){var r=String(i);if(-1!==r.indexOf("\r")||-1!==r.indexOf("\n"))throw new n.CErreur(1e3);if(!t.wbSetJetonSaisieEncours(r))throw new n.CErreur(1001,f.sGetAlias());},function(){return f.iGetWBJeton()});case 65:return n.NSUtil.oGetProprieteSimple(function(){return new c(t.xGetElementPourPropriete(f.iGetWBJeton()))},null)}if(e=this._iGetProprieteFrameworkV1(u,null),e)return e}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetSousElement=function(n,i){return this._iGetSousElementHTML(n,i,t.CSousChamp,!0)},r.prototype.vSetValeur2=function(n){this._iGetProprieteValeur().vSetValeur2(n)},r.prototype.viGetChamp=function(n,t,i){return e(n,t,i)},r.prototype.xviGetGroupe=function(n){return t.xoGetGroupe(n)},r.prototype.xviGetVariable=function(t,i,r){return n.NSValues.xiGetVariable(t,i,r)},r.prototype.viGetProcedure=function(t){return n.NSUtil.pfGetTraitement(this.sGetAlias(),t,undefined)},r.prototype.sGetAlias=function(){return this.m_sAlias},r.prototype.vsGetAliasHTML=function(){return this.sGetAlias()},r.prototype._RecuperePCode=function(t,i){return n.NSUtil.pfGetTraitement(this.sGetAlias(),t,undefined,i)},r.prototype._iGetProprieteValeur=function(){return this.viGetPropriete(1,1)},r.prototype.viGetJQuery=function(){return $(this.oGetHTMLElement())},r.prototype.oGetHTMLElement=function(){return this.oGetHTMLElementHote()||this.voGetHTMLElement()},r.prototype.voGetHTMLElement=function(){return n.NSUtil.GetElementParIdName(this.vsGetAliasHTML(),document)},r.prototype.oGetHTMLElementHote=function(){return document.getElementById(this.vsGetAliasHTML()+nt)},r.prototype.oGetHTMLElementLibelle=function(){return document.getElementById("lz"+this.vsGetAliasHTML())},r.prototype.voCorrigeHTMLElement=function(n){return n},r.prototype._oCorrigeHTMLElement=function(n){return this.voCorrigeHTMLElement(this.voGetHTMLElement(),n)},r.prototype._xiGetProprieteLibelle=function(i,r){var u=58===r;return t.oGetProprieteElement(function(n){return u?n.innerHTML:n.innerText},function(t,i){t.innerHTML=n.NSUtil.sEncodeInnerHTML(String(i),!u,u)},function(){return i})},r.prototype._voGetHTMLElementPourLibelle=function(){var r=this.vsGetAliasHTML(),u=document.getElementById("lz"+r),i=n.NSUtil.GetElementParId(r,document,!1,!0),f=this.voGetHTMLElement(),t=u||f;switch(this.m_eIDObjet){case 3:case 17:case 109:return n.NSAjax.oSauteTableCadrage(t);case 16:if(i?t=i:n.NSUtil.bNodeEstType(t,
4"a")||(t=null),t)while(t&&!n.NSUtil.bNodeEstType(t,"a"))t=t.firstElementChild;break;case 9:case 35:return u||i}return t},r.prototype._iGetProprieteFrameworkV1=function(i,r){var u=this._pfGetGetSet(!0,i),f=this._pfGetGetSet(!1,i);return u||f?t.oGetProprieteCatch(u?function(){return r&&r(),v(u())}:null,f?function(t){f(n.NSValues.oAny2Natif(t))}:null):null},r.prototype._vSetProprietePlan=function(n,t){this.viGetJQuery().wbPlanSet(n,t)},r.prototype.vSetProprieteEtat=function(n){this._SetProprieteEtat(n,this.voGetHTMLElement(),this.oGetHTMLElementHote(),this.oGetHTMLElementLibelle(),!1)},r.prototype._SetProprieteEtat=function(t,i,r,u,f){var e=t===4,o=e,s=t===1||e;i&&(undefined!==i.readOnly?i.readOnly=s:(o=o||s,f&&y(i,"READONLY",s?"":undefined)),undefined!==i.disabled?i.disabled=o:f&&y(i,"DISABLED",e?"":undefined));[r||i,u].forEach(function(t){t&&n.NSUtil.bAvecClasse(t,"wbstyle")&&n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",e)})},r.prototype._SetEtatSousElement=function(t,i,r,u){var f=r===4,e=r===1||f,o="data-"+i,s=e?i:o,c=e?o:i,h=t.getAttribute(s);null!==h&&(t.setAttribute(c,h),t.removeAttribute(s));u&&n.NSUtil.ActiveDesactiveClassName(t,"wbgrise",f)},r.prototype._vGetProprieteBulle=function(){var i=this.oGetHTMLElement(),t=$(i).wbGetBulle();return undefined!==t?n.NSTypes.iNatif2RValue(t,n.NSTypes.ms_DescriptionChaine):null},r.prototype._vSetProprieteBulle=function(n){this._SetProprieteBulle(n,this.oGetHTMLElement())},r.prototype._SetProprieteBulle=function(n,t){t&&(t.title=n)},r.prototype._iGetSousElementHTML=function(i,r,u,f){var e=n.NSUtil.nGetEntier(r[i]),o=it[this.m_eIDObjet],s=document.getElementById(this.vsGetAliasHTML()+"_"+e);return s?n.NSUtil.iChaineSousElement(new u(this,e,o,f),i+1,r):new t.CSousChamp(this,e,o,f)},r.prototype._pfGetGetSet=function(n,t,i,r){function e(r){return window[(n?"_GET_":"_SET_")+r+"_"+t+(i?"_I":"")]}var u,f;return i===void 0&&(i=!1),r===void 0&&(r=this.sGetAlias()),u=e(r),undefined===u&&(f=clWDUtil.sGetAliasDeEffectif(r),f!==r&&(u=e(f))),u},r.prototype.iGetWBJeton=function(){return n.NSOperations.iGetWBJeton(this.voGetHTMLElement())},r}(n.NSUtil.CWrapperValue),c,p,u,f,w,i,g,s;t.CObjet=r;c=function(n){function t(t){var i=n.call(this)||this;return i.m_iWBJeton=t,i}return __extends(t,n),t.prototype.valueOf=function(){for(var t=[],n=0;n<this.m_iWBJeton.wbJetonOccurrence();n++)t.push(this.m_iWBJeton.wbGetDinoJeton(n+1));return t},t.prototype.viGetMembre2=function(t,i,r,u){switch(i){case"JETON":case"TOKEN":return this;default:return n.prototype.viGetMembre2.call(this,t,i,r,u)}},t.prototype.veGetTypeWL=function(){return 111},t.prototype.voJSONDebogueurType=function(){return{m_eTypeWL:this.veGetTypeWL(),m_eComposante:70,m_eDino:40}},t.prototype.nAjouteLigne=function(n){var t=this.m_iWBJeton.wbJetonAjoute(l(n[0]));return!1===t?0:t},t.prototype.DeplaceLigne=function(n,t){var i=this.m_iWBJeton.wbGetDinoJeton(n+1);this.m_iWBJeton.wbJetonSupprime(n+1);this.m_iWBJeton.wbJetonInsere(t+1,i)},t.prototype.Echange=function(n,t){var i=this.m_iWBJeton.wbGetDinoJeton(n+1),r=this.m_iWBJeton.wbGetDinoJeton(t+1);this.m_iWBJeton.wbJetonSupprime(n+1);this.m_iWBJeton.wbJetonInsere(n+1,r);this.m_iWBJeton.wbJetonSupprime(t+1);this.m_iWBJeton.wbJetonInsere(t+1,i)},t.prototype.eTypeElement=function(){return 111},t.prototype.Insere=function(n,t){this.m_iWBJeton.wbJetonInsere(n+1,l(t))},t.prototype.nGetNbElements=function(){return this.m_iWBJeton.wbJetonOccurrence()},t.prototype.iGetSousElementIndice=function(n){var t=a().viCreationInstance();return t.vSetValeurDirect(this.m_iWBJeton.wbGetDinoJeton(n+1)),t},t.prototype.iGetDescriptionElement=function(){return a()},t.prototype.nSupprime=function(n){return this.m_iWBJeton.wbJetonSupprime(n+1),1},t.prototype.SupprimeTout=function(){this.m_iWBJeton.wbJetonSupprimeTout()},t}(n.NSUtil.CCollection);t.bIsCObjet=rt;p=function(){function n(n,t){this.m_sAliasTableZRParent=n;this.m_sAliasAttribut=t}return n.prototype.oGetTableZRParent=function(){var n=i.oGetObjetInformationsPartielles(this.m_sAliasTableZRParent,9);return n instanceof t.CChampTable?n:null},n.prototype.sGetTableZRValeur=function(){return this.__oGetChampFormulaire().value},n.prototype.nGetTableZRValeur=function(){return parseInt(this.sGetTableZRValeur(),10)},n.prototype.PourToutesLignesTableZR=function(n,t){for(var r=this.nGetTableZRDebut(),u=r+this.__nGetTableZROccurrence(),i=r;i<u;i++)n(this,i,t)},n.prototype.nGetTableZRDebut=function(){return parseInt(this.__oGetChampFormulaire("_DEB").value,10)},n.prototype.__nGetTableZROccurrence=function(){var n=this.__tabGetChampsFormulaires("_","_OCC");return 0===n.length&&(n=this.__tabGetChampsFormulaires("","_OCC")),0<n.length?parseInt(n[0].value,10):0},n.prototype.sSetTableZRValeurDirectTempDebut=function(n){if(undefined!==n){var t=this.sGetTableZRValeur();if(undefined!==t&&t!==String(n))return this.__SetTableZRValeur(null,t,!0),t}return undefined},n.prototype.SetTableZRValeurDirectTempFin=function(n){this.__SetTableZRValeur(null,n,!0)},n.prototype.sGetNomElementAttributIndice=function(n,t){return t===void 0&&(t=""),"zrl_"+n+"_"+this.m_sAliasAttribut+t},n.prototype.__SetTableZRValeur=function(n,t,i){!i;this.__oGetChampFormulaire().value=String(t)},n.prototype.__oGetChampFormulaire=function(n){return n===void 0&&(n=""),this.__tabGetChampsFormulaires("",n)[0]},n.prototype.__tabGetChampsFormulaires=function(n,t){return document.getElementsByName(n+this.m_sAliasTableZRParent+t)},n}();u=function(i){function r(n){var t=i.call(this,n.m_sAlias,n.m_eIDObjet)||this;return t.m_tabChampsFils=new f,t.m_oChampFormulaire=null,t.m_eValide=0,t.m_bChampDansHTML=!0,t.m_bDansPlanAffiche=!0,t.m_tabTimers={},t.m_oTableZRParent=n.m_sAliasTableZRParent?new p(n.m_sAliasTableZRParent,n.m_sAliasAttribut):null,t.m_pfConstructeursSupplementaires=n.m_pfConstructeursSupplementaires,t}return __extends(r,i),r.prototype.viGetPropriete=function(t,r){if(n.NSProprietes.bEstProprieteJS(t,r))switch(r){}return i.prototype.viGetPropriete.call(this,t,r)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.vSetProprieteEtat=function(n){var f=this,r,u;i.prototype.vSetProprieteEtat.call(this,n);r=this.m_oTableZRParent;r&&(u=r.oGetTableZRParent(),u&&r.PourToutesLignesTableZR(function(i,r){new t.CCelluleDeTable(u,f,r).vSetProprieteEtat(n)}))},r.prototype.vInit=function(){var t=this,n;this._vInitInitiale();this.m_pfConstructeursSupplementaires&&(n=this.m_oTableZRParent,n?n.PourToutesLignesTableZR(function(n,i){t.__AppelConstructeursSupplementairesZR(n,i)}):this.m_pfConstructeursSupplementaires(this.vsGetAliasHTML(),this.sGetAlias(),undefined));this.m_eValide=1;this._vLiaisonHTML()},r.prototype._vInitInitiale=function(){n.NSUtil.AttacheOnScrollResize(r.__s_OnScrollResize);r.prototype._vInitInitiale=n.NSUtil.Vide},r.prototype._vLiaisonHTML=function(n){var t=this._oGetElementByNameZR(n);t&&(this.m_oChampFormulaire=t)},r.prototype.vOnTableZRAfficheAJAX=function(n){var t=this.m_oTableZRParent;t&&t.m_sAliasTableZRParent===n&&this._vOnTableZRAfficheAJAXInterne()},r.prototype._vOnTableZRAfficheAJAXInterne=function(){},r.prototype.vOnLigneTableZRAffiche=function(n){var t=this.m_oTableZRParent;t&&this.__AppelConstructeursSupplementairesZR(t,n)},r.prototype.vOnDisplay=function(){},r.prototype.vOnScroll=function(){},r.prototype.vOnResize=function(){},r.prototype.vOnChangementTranche=function(){},r.prototype.vPreAffecteHTML=function(){},r.prototype.vPostAffecteHTML=function(){},r.prototype.vOnSubmit=function(n){return this._RecuperePCode(18)(n)},r.prototype.viGetAsGraphe=function(){return null},r.prototype.viGetAsParametres=function(){return null},r.prototype.viGetAsCalendrier=function(){return null},r.prototype.viGetAsCornage=function(){return null},r.prototype.viGetAsJauge=function(){return null},r.__s_OnScrollResize=function(n,t){t?o(k,[n]):o(d,[n])},r.prototype.__AppelConstructeursSupplementairesZR=function(n,t){if(this.m_pfConstructeursSupplementaires){var r=this.vsGetAliasHTML(),i=n.sGetNomElementAttributIndice(t);if(!document.getElementById(i)&&(i="zrl_"+t+"_"+r,!document.getElementById(i)))return;this.m_pfConstructeursSupplementaires(i,this.sGetAlias(),t)}},r.prototype._iGetProprieteValeur=function(){return this.viGetPropriete(1,1)},r.prototype._nSetTimeout=function(t,i){for(var f=this,u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];return n.NSUtil.nSetTimeout(function(){t.apply(f,u)},i)},r.prototype._SetInterval=function(n,t,i){this.m_tabTimers[t]=setInterval(n,i)},r.prototype._nSetTimeoutUnique=function(t,i,r){for(var f,e=this,o=[],u=3;u<arguments.length;u++)o[u-3]=arguments[u];return this._AnnuleTimeXXX(i,!1),f=n.NSUtil.nSetTimeout(function(){delete e.m_tabTimers[i];t.apply(e,o)},r),this.m_tabTimers[i]=f,f},r.prototype.bGetTimeXXXExiste=function(n){return undefined!==this.m_tabTimers[n]},r.prototype._AnnuleTimeXXX=function(t,i){var r=this.m_tabTimers[t];r!==undefined&&(i?clearInterval(r):n.NSUtil.ClearTimeout(r),delete this.m_tabTimers[t])},r.prototype.voGetChampFormulaire=function(){return this.m_oChampFormulaire},r.prototype.voGetValeurChampFormulaire=function(n){var t,i;if(n===void 0&&(n=""),t=this._pfGetGetSet(!0,1,!1),t)try{return v(t())}catch(r){}return i=this.voGetChampFormulaire(),i?i.value:n},r.prototype._vSetValeurChampFormulaire=function(t){var r=this._pfGetGetSet(!1,1),i;if(r)try{r(n.NSValues.oAny2Natif(t));return}catch(u){}i=this.voGetChampFormulaire();i&&(i.value=String(t))},r.prototype._sGetNomElement=function(n){return n===void 0&&(n=""),this.vsGetAliasHTML()+n},r.prototype._oGetElementById=function(n){return document.getElementById(this._sGetNomElement(n))},r.prototype.tabGetElementsByName=function(n){return document.getElementsByName(this._sGetNomElement(n))},r.prototype.oGetElementByName=function(n){return this.tabGetElementsByName(n)[0]},r.prototype.sGetSuffixeIDElement=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._sGetSuffixeIDElement(t)},r.prototype._sGetSuffixeIDElement=function(n){return h+n.join(h)},r.prototype.oGetIDElement=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this._oGetElementById(this._sGetSuffixeIDElement(t))},r.prototype._sGetNomElementZRCalc=function(n){var t=this.m_oTableZRParent;
4return t?t.sGetNomElementAttributIndice(t.nGetTableZRValeur(),n):this._sGetNomElement(n)},r.prototype._oGetElementByIdZR=function(n){return document.getElementById(this._sGetNomElementZRCalc(n))},r.prototype._oGetElementByNameZR=function(n){return this._oGetElementByNameZRCalc(n)},r.prototype._oGetElementByNameZRCalc=function(n){return document.getElementsByName(this._sGetNomElementZRCalc(n))[0]},r.prototype._nGetLargeurAscenseurVertical=function(n){var t=n.clientWidth;return 0===t&&0===n.clientHeight?0:n.offsetWidth-t},r.prototype._nGetHauteurAscenseurHorizontal=function(n){var t=n.clientHeight;return 0===t&&0===n.clientWidth?0:n.offsetHeight-t},r}(r);t.CChamp=u;f=function(){function t(){this.m_tabChamp={}}return t.prototype.DeclareChamp=function(n){this.m_tabChamp[n.sGetAlias()]=n},t.prototype.oGetChampSansCreation=function(n){return this._oValideChamp(this.oGetChampDirect(n))},t.prototype.oGetChampDirect=function(n){return this.m_tabChamp[n]},t.prototype.oGetObjetInformationsPartielles=function(n,t){var i=this.oGetChampDirect(n);return i?i:b(n,t,undefined)},t.prototype.bPourTousChamps=function(t){return n.NSUtil.bForEachIn(this.m_tabChamp,t)},t.prototype._oValideChamp=function(t){if(t)switch(t.m_eValide){default:case 0:return null;case 1:return t;case 2:throw new n.CErreur(610,t.sGetAlias());case 3:throw new n.CErreur(610,t.sGetAlias());}else return null},t.prototype.DeclareChampInit=function(){this.bPourTousChamps(function(n,t){if(1!==t.m_eValide)if(t.m_bChampDansHTML)if(t.m_bDansPlanAffiche)try{t.vInit()}catch(i){}else t.m_eValide=2;else t.m_eValide=3;return!0});clWDUtil&&clWDUtil.DeclareChampInit()},t.prototype.DeclareChampPlanDiffere=function(n){var t=this;n.forEach(function(n){var i=t.oGetChampDirect(n);i&&(i.m_bDansPlanAffiche=!0)});clWDUtil&&clWDUtil.DeclareChampPlanDiffere(n);this.DeclareChampInit()},t.prototype.AppelMethodePtr=function(n,t,i){this.bPourTousChamps(function(r,u){return u&&u!==i&&1===u.m_eValide&&n(u,t),!0})},t.prototype.iGetInterfaceChamp=function(n,t){var i=this.oGetChampSansCreation(n);return i?t(i):null},t}();w=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype.oGetObjet=function(n,t,i){var f=this.oGetChampDirect(n),r;return f?f:(r=b(n,t,i),r instanceof u&&(undefined!==t&&this.DeclareChamp(r),r.vInit()),r)},t}(f);i=new w;t.oGetChampSansCreation=ut;t.oGetObjet=e;t.oGetObjetInformationsPartielles=ft;t.oGetChamp=e;t.DeclareChampInit=et;t.DeclareChampPlanDiffere=ot;t.AppelMethodePtr=o;t.OnTableZRAfficheAJAX=st;t.OnLigneTableZRAffiche=ht;t.OnDisplay=ct;t.OnScroll=k;t.OnResize=d;t.OnChangementTranche=lt;t.iGetAsGraphe=at;t.iGetAsParametres=vt;t.iGetAsCalendrier=yt;t.iGetAsCornage=pt;t.iGetAsJauge=wt;t.iGetInterfaceChamp=bt;g=function(){function t(){this.m_oSaisie=null;this.m_pfOnBlurMasqueModele=null}return t.prototype._SetMasqueModele=function(t,i){var u,f,r;if(i)for(u=i.attributes,f=u.length,r=0;r<f;r++){var e=u.item(r),o=e.name,s=o.toLowerCase(),h=e.value;s.startsWith("on")&&(s==="onblur"?this.m_pfOnBlurMasqueModele=new Function("event",h):t[o]=new Function(n.NSUtil.bIE?"":"event",h))}},t.prototype._bValideMasqueModele=function(t){if(this.m_pfOnBlurMasqueModele){var i={target:null},r=!1;return t.target&&t.target!==this.m_oSaisie&&(i.target=this.m_oSaisie,r=!0),r&&(t=n.NSUtil.oCloneObjet(t,i)),this.m_pfOnBlurMasqueModele.apply(this.m_oSaisie,[t])}return!0},t.prototype._ClearMasqueModele=function(){this.m_pfOnBlurMasqueModele=null},t.prototype._sConversionMasqueModele=function(n,t,i){if(i){var r=window["_GET_"+t+"_1_I_C"];if(r)return r(n)}return n},t}();t.CMasqueModele=g;s=function(){function t(){var r,i,u;if(this.m_oChamp=undefined,this.m_oDepuisServeur={},this.m_oVersServeur=undefined,r=document.getElementsByName(t.ms_sNomChamp),r.length&&(i=r[0],n.NSUtil.bNodeEstType(i,"input"))){if(u=i.value,u.length)try{this.m_oDepuisServeur=n.NSUtil.xoEvalJSON(u,!1)}catch(f){}i.value="";this.m_oChamp=i}}return t.prototype.oGetProprieteObjet=function(n,t){return this.__oGetPropriete(n,t)},t.prototype.oGetProprieteAttribut=function(n,t,i){var r=this.__oGetPropriete(n,t);return r?r[i]:undefined},t.prototype.__oGetPropriete=function(n,t){var r=this.m_oDepuisServeur.m_oProprietesSecurisees,i;return r&&(i=r[n.sGetAlias()],i)?i[t]:undefined},t.prototype.SetProprieteObjet=function(n,t,i){this.__SetPropriete(n,t,i)},t.prototype.__SetPropriete=function(n,t,i){var f=n.sGetAlias(),r=this.m_oDepuisServeur.m_oProprietesSecurisees,u;undefined===r&&(r={},this.m_oDepuisServeur.m_oProprietesSecurisees=r);this.__SetProprieteData(f,t,i,r);u=this.__oPrepareVersServeur();r=u.m_oProprietesSecurisees;undefined===r&&(r={},u.m_oProprietesSecurisees=r);this.__SetProprieteData(f,t,i,r)},t.prototype.__SetProprieteData=function(n,t,i,r){var u=r[n];u||(u={},r[n]=u);u[t]=i},t.prototype.SetVariable=function(n,t,i,r){var e=this.__oPrepareVersServeur(),u,f;switch(t){default:case 0:u=e.m_oVariablesProjet;undefined===u&&(u={},e.m_oVariablesProjet=u);break;case 1:u=e.m_oVariablesPage;undefined===u&&(u={},e.m_oVariablesPage=u)}f=u[n];f||(f={},u[n]=f);f[i]=r},t.prototype.__oPrepareVersServeur=function(){return undefined===this.m_oVersServeur&&(this.m_oVersServeur={m_oProprietesSecurisees:{},m_oVariablesProjet:{},m_oVariablesPage:{}}),this.m_oVersServeur},t.prototype.OnSubmit=function(){n.NSValues.ReporteVariableServeur();this.m_oChamp&&this.m_oVersServeur&&(this.m_oChamp.value=n.NSUtil.xsStringifyJSON(this.m_oVersServeur,!1))},t.prototype.sGetReporteVariableServeur=function(){function u(t){return!!t&&!n.NSUtil.bForEachIn(t,function(){return!1})}var t,i,r;return(n.NSValues.ReporteVariableServeur(),t=this.m_oVersServeur,t&&(i=t.m_oVariablesProjet,r=t.m_oVariablesPage,u(i)||u(r)))?n.NSUtil.xsStringifyJSON({m_oVariablesProjet:i,m_oVariablesPage:r},!1):undefined},t.ms_sNomChamp="WD_JSON_PROPRIETE_",t}();t.CSynchronisationServeur=s;t.ms_oSynchronisationServeur=new s})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function o(n){return!!n&&(n instanceof i||"m_iChampFrameworkV1"in n)}var r=function(t){function i(n,i){var r=t.call(this,n)||this;return r.m_pfConversionValeur=i,r.m_bInPCodeAffectation=!1,r}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 1:if(this.voGetChampFormulaire())return n.NSUtil.oGetProprieteSimple(function(){u.AppelCodeAffectation(function(){var n=u._RecuperePCode(73,function(){})();undefined!==n&&u._vSetValeurChampFormulaire(n)});var n=u.voGetValeurChampFormulaire();return u.m_pfConversionValeur?u.m_pfConversionValeur(n):n},function(n){u._vSetValeurChampFormulaire(n);u.AppelCodeAffectation(function(){u._RecuperePCode(74)(null,n)})})}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.AppelCodeAffectation=function(n){if(!this.m_bInPCodeAffectation)try{this.m_bInPCodeAffectation=!0;n()}finally{this.m_bInPCodeAffectation=!1}},i}(t.CChamp),u,i,f,e;t.CChampSimple=r;u=function(n){function t(t){return n.call(this,t,function(n){return n})||this}return __extends(t,n),t}(r);t.CChampSimpleSansType=u;i=function(i){function r(n,t,r){var u=i.call(this,n,t)||this;return u.m_bBornes=r,u.m_iChampFrameworkV1=oGetObjetChamp(u.sGetAlias()),u}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 29:if(this.m_bBornes)return t.oGetProprieteFrameworkV1GetSetSecurise(this,64,this.m_pfConversionValeur,!1);break;case 30:if(this.m_bBornes)return t.oGetProprieteFrameworkV1GetSetSecurise(this,65,this.m_pfConversionValeur,!1)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.vSetProprieteEtat=function(n){i.prototype.vSetProprieteEtat.call(this,n);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1.SetProp(12,undefined,n,this.voGetChampFormulaire())},r.prototype.SetFocus=function(){var n;this.m_iChampFrameworkV1&&undefined!==this.m_iChampFrameworkV1.SetFocus&&this.m_iChampFrameworkV1.SetFocus();(n=this.oGetHTMLElement())===null||n===void 0?void 0:n.focus()},r}(r);t.CChampRebondFrameworkV1=i;f=function(n){function t(t){return n.call(this,t,function(n){return n},!1)||this}return __extends(t,n),t}(i);t.CChampRebondFrameworkV1SansType=f;t.bIsChampRebondFrameworkV1=o;e=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return __extends(i,n),i.prototype.viGetMonParent=function(){return t.oGetPageCourante()},i}(t.CObjet);t.CAttributZoneRepetee=e})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(i,r,u,f,e){return new n.NSUtil.CPropriete(function(){var e=t.ms_oSynchronisationServeur.oGetProprieteObjet(i,r);return undefined===e&&(e=u),f&&(e=f(e)),n.NSTypes.iNatif2RValue(e)},e)}
4function f(n,t,i,u){return r(n,t,i,u,null)}function a(n,i,u,f,e,o,s){return r(n,i,u,f,function(r){var u=o(r.m_oValeur);(!s||s(u))&&(t.ms_oSynchronisationServeur.SetProprieteObjet(n,i,u),e&&e(u,r.m_iOptions.m_oParametresSpecifiques))})}function i(t,i,r){return n.NSUtil.oGetProprieteSimple(t?function(){return t(u(r()))}:null,i?function(n){i(u(r()),n)}:null)}function e(t,r,u,f){return i(t,r,function(){var t=u.voGetHTMLElement();return n.NSUtil.bNodeEstType(t,f)?t:null})}function v(t){return n.NSUtil.oGetProprieteSimple(function(){var i=t._oCorrigeHTMLElement(0),u,r;return n.NSUtil.bNodeEstType(i,"a")&&(u=i.href,u)?i.href:(r=o(i),r)?r[2]:""},function(i){var f=String(i),r=t._oCorrigeHTMLElement(0),u;if(n.NSUtil.bNodeEstType(r,"a")){r.href=f;return}u=o(r);u&&(r.getAttributeNode("onclick").value=u[1]+f+u[3])})}function o(n){var t,i;return n&&(t=n.getAttributeNode("onclick"),t)?(i=t.value,y.exec(i)):null}function p(n){return e(function(n){return n.src},function(n,t){n.src=clWDUtil.sGetCheminImage(String(t),"",!1)},n,"img")}function s(n,t,r){return i(n,t,function(){return r.m_iChampFrameworkV1})}function h(t,i,r,u,f){return s(function(r){var e,f;return u&&(f=t.voGetChampFormulaire(),f&&(e=f.value)),r.GetProp(i,undefined,e,null)},function(n,t){var u=r(t);f&&f(u);n.SetProp(i,undefined,u,null,undefined)},t)}function w(t,i,r,u){var f=t.viGetPropriete(1,26);return new n.NSUtil.CPropriete(function(){return n.NSTypes.iNatif2RValue(r===f.valueOf())},function(t){var e=n.NSUtil.bGetBooleen(t.m_oValeur);u!==f.valueOf()&&f.vSetValeur(e?r:i,t.m_eAffectation,t.m_iOptions)})}function b(n,i,r,u){return h(n,i,r,u,function(r){t.ms_oSynchronisationServeur.SetProprieteObjet(n,i,r)})}function k(t,i){return n.NSUtil.oGetProprieteSimple(function(){return n.NSUtil.sExtraitImageDepuisProprieteCSS(n.NSUtil.oGetCurrentStyle(t).backgroundImage)},function(r){i&&(i.style.backgroundImage="none",i.style.backgroundColor="transparent");t.style.backgroundImage=n.NSUtil.sConstruitProprieteCSSDepuisImage(String(r))})}function d(n){return i(function(n){return n.alt},function(n,t){n.alt=String(t)},function(){var t=n._oCorrigeHTMLElement(2);return g(t)?t:null})}function g(n){return!!n&&"alt"in n}function nt(t,i){return f(t,i?126:127,0,function(r){var f=t.vsGetAliasHTML(),u=n.NSUtil.GetElementParIdName(f,document,!0,!1),e;return u&&("ctz"+f===u.id?u=u.parentElement:(e=document.getElementById("lz"+f),e&&!n.NSUtil.bEstFils(e,u)&&(u=l(u).parentElement))),u=l(u),it(r,u,i,!0)})}function tt(t,i){return n.NSUtil.oGetProprieteSimple(t?function(){return c(function(){return t()})}:null,i?function(n){c(function(){i(n)})}:null)}function c(t){try{return t()}catch(i){if(clWDUtil.bCatch(i))throw i;else throw new n.CErreur(603);}}function l(t){return n.NSUtil.bNodeEstType(t,"td")?t.parentElement.parentElement.parentElement:t}function it(n,t,i,r){var e,u,f;if(t)for(e=t.ownerDocument.body;;)if(u=t.offsetParent,u&&u!==e)f=i?u.offsetLeft:u.offsetTop,f&&(n+=r?f:-f),t=u;else break;return n}function u(t){if(t)return t;throw new n.CErreur(603);}t.oGetProprieteSecuriseBase=r;t.oGetProprieteSecuriseLecture=f;t.oGetProprieteSecurise=a;t.oGetProprieteElement=i;t.oGetProprieteHTMLElement=e;t.oGetProprieteURL=v;var y=/(_JCL\((?:\w+\()?')([^']+)('.*)/;t.oGetProprieteVignette=p;t.oGetProprieteFrameworkV1=s;t.oGetProprieteFrameworkV1GetSet=h;t.oGetProprieteEnSaisieGrise=w;t.oGetProprieteFrameworkV1GetSetSecurise=b;t.oGetProprieteImageFond=k;t.oGetProprieteTexteAlternatif=d;t.oGetProprieteXYInitial=nt;t.oGetProprieteCatch=tt;t.xGetElementPourPropriete=u})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(r){function u(n,t,i,u,f){var e=r.call(this,n.sGetAlias()+"_"+i,u)||this;return e.m_tParent=n,e.m_tPourAliasAccesseur=t,e.m_nIndiceWL=i,e.m_bErreurSousElement=f,e}return __extends(u,r),u.prototype.viGetPropriete=function(i,u){var o=this;if(n.NSProprietes.bEstProprieteJS(i,u)){var s=this.m_tPourAliasAccesseur.sGetAlias(),f=this._pfGetGetSet(!0,u,!0,s),e=this._pfGetGetSet(!1,u,!0,s);if(f||e)return t.oGetProprieteCatch(f?function(){return f(o.m_nIndiceWL)}:null,e?function(t){e(n.NSValues.oAny2Natif(t),o.m_nIndiceWL)}:null)}try{return r.prototype.viGetPropriete.call(this,i,u)}catch(h){if(this.m_bErreurSousElement&&1===i)throw new n.CErreur(602,"[ ]");else throw h;}},u.prototype.viGetMonParent=function(){return this.m_tParent},u.prototype.viGetChamp=function(n,u,f){switch(this.m_tParent.m_eIDObjet){case 9:case 11:case 35:case 77:return new i(this.m_tParent,t.oGetObjet(n,u,f),this.m_nIndiceWL);default:return r.prototype.viGetChamp.call(this,n,u,f)}},u.prototype.vsGetAliasHTML=function(){return this.m_tParent.vsGetAliasHTML()+"_"+this.m_nIndiceWL},u.prototype.viGetJQuery=function(){var n=this.oGetHTMLElement();return n?$(n):this.m_tParent.viGetJQuery()},u.prototype.voCorrigeHTMLElement=function(n,t){return this.m_tPourAliasAccesseur.voCorrigeHTMLElement(n,t)},u}(t.CObjet),u=function(n){function t(t,i,r,u){return n.call(this,t,t,i,r,u)||this}return __extends(t,n),t}(r),i;t.CSousChamp=u;i=function(i){function r(n,t,r){return i.call(this,n,t,r,54,!1)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 61:return t.oGetProprieteURL(this);case 62:return t.oGetProprieteVignette(this)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.vsGetAliasHTML=function(){return"zrl_"+this.m_nIndiceWL+"_"+this.m_tPourAliasAccesseur.vsGetAliasHTML()},r.prototype.viGetJQuery=function(){var n=this.oGetHTMLElement();return n?$(n):this.m_tParent.viGetJQuery()},r.prototype._voGetHTMLElementPourLibelle=function(){var n=this.m_tParent.iGetAsChampTableZRNavigateurFrameworkV1();return n&&n.AfficheImmediat(),i.prototype._voGetHTMLElementPourLibelle.call(this)},r}(r);t.CCelluleDeTable=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(i){return t.call(this,i,n.NSUtil.nGetEntier)||this}return __extends(r,t),r.prototype.viGetSousElement=function(t,r){var u=n.NSUtil.xnGetIndiceC(r[t],this.viGetJQuery().wbPlanOccurrenceGet(),0,0);return n.NSUtil.iChaineSousElement(new i(this,u+1,123,!1),t+1,r)},r}(t.CChampSimple),i;t.CBandeauDefilant=r;i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 7:return n.NSUtil.oGetProprieteSimple(function(){return u.viGetJQuery().wbPlanVisibleGet(u.m_nIndiceWL)},function(t){u.viGetJQuery().wbPlanVisibleSet(u.m_nIndiceWL,n.NSUtil.bGetBooleen(t))})}return t.prototype.viGetPropriete.call(this,i,r)},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){return document.getElementById(this.vsGetAliasHTML()+"_")||t.prototype.voGetHTMLElement.call(this)},i.prototype.vSetProprieteEtat=function(i){var r=this,u;t.prototype.vSetProprieteEtat.call(this,i);u=this.voGetHTMLElement();u&&(n.NSUtil.bForEach(u.getElementsByTagName("a"),function(n){return r._SetEtatSousElement(n,"href",i,!0),r._SetEtatSousElement(n,"onclick",i,!0),r._SetEtatSousElement(n,"ondblclick",i,!0),!0}),n.NSUtil.bForEach(u.getElementsByTagName("img"),function(n){return r._SetEtatSousElement(n,"onclick",i,!1),!0}))},i}(t.CChampSimpleSansType);t.CChampArbre=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 61:return t.oGetProprieteURL(this)}return i.prototype.viGetPropriete.call(this,r,u)},r}(t.CChampSimpleSansType),f,r,u,e;t.CChampLien=i;f=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 57:case 58:return this.__xiGetProprieteLibelle(r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.__xiGetProprieteLibelle=function(t){var i=this.oGetHTMLElement(),u=null,r=n.NSUtil.GetElementParId("z_"+this.vsGetAliasHTML()+"_IMG",document,!1),f;if(r&&!n.NSUtil.bNodeEstType(r,"img")?(f=r.getElementsByTagName("span")[0],f&&(r=f),u=r):i&&n.NSUtil.bNodeEstType(i,"button")&&(u=i),u)return this._xiGetProprieteLibelle(u,t);if(i instanceof HTMLInputElement)return n.NSUtil.oGetProprieteSimple(function(){return i.value},function(n){i.value=String(n)});throw new n.CErreur(603);},i}(i);t.CChampBouton=f;r=function(n){function t(t,i){var r=n.call(this,t)||this;return r.m_pfGetBaliseAction=i,r}return __extends(t,n),t.prototype.voCorrigeHTMLElement=function(t,i){switch(i){case 0:return this.m_pfGetBaliseAction(t)}return n.prototype.voCorrigeHTMLElement.call(this,t,i)},t.prototype.vSetProprieteEtat=function(t){n.prototype.vSetProprieteEtat.call(this,t);var i=this._oCorrigeHTMLElement(0);i&&this._SetEtatSousElement(i,"href",t,!0)},t}(i);t.CChampAutour=r;u=function(t){function i(i){return t.call(this,i,function(t){if(t){var i=t.parentElement;return n.NSUtil.bNodeEstType(i,"i")?i.parentElement:i}return null})||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){var n=t.prototype.voGetHTMLElement.call(this);return this.voCorrigeHTMLElement(n,1)},i.prototype.voCorrigeHTMLElement=function(i,r){switch(r){case 1:case 2:if(n.NSUtil.bNodeEstType(i,"i"))return i.firstElementChild}return t.prototype.voCorrigeHTMLElement.call(this,i,r)},i}(r);t.CChampImage=u;e=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 62:return t.oGetProprieteVignette(this)}return i.prototype.viGetPropriete.call(this,r,u)},r}(u);t.CChampVignette=e})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){return i===n.viGetRValue(0)}var i=n.NSTypes.ms_DescriptionChaine.viCreation(),r;t.bEstValeurRenvoyeeDefaut=u;r=function(t){function r(){var n=t!==null&&t.apply(this,arguments)||this;return n.m_iValeur=i,n}return __extends(r,t),r.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 63:return new n.NSUtil.CPropriete(function(){return u.m_iValeur},function(t){u.m_iValeur=n.NSTypes.iGetDescriptionDepuisValue(t.m_oValeur).viCreation(t)})}return t.prototype.viGetPropriete.call(this,i,r)},r}(t.CChamp);t.CChampPopup=r})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function i(t,i,r,u,f){return n.NSUtil.oGetProprieteSimple(t?function(){var n=r.oGetCellule(u);return n?t(n):f}:null,i?function(n){var t=r.oGetCellule(u);t&&i(t,n)}:null)}var u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 4:return n.NSUtil.oGetProprieteConstante(this.__nGetNbCellules());case 7:var u=this._iGetProprieteFrameworkV1(7,function(){clWDUtil.DispositionMAJ()});if(u)return u}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,r,!1)},i.prototype.__nGetNbCellules=function(){var t=document.getElementsByClassName(this.vsGetAliasHTML()+"-layout-ol"),i=0;return t.length&&Array.prototype.forEach.call(t[0].childNodes,function(t){n.NSUtil.bNodeEstType(t,"li")&&i++}),i},i}(t.CChampSimpleSansType),r;t.CChampDisposition=u;r=function(t){function r(){return t!==null&&t.apply(this,arguments)||this}return __extends(r,t),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 3:return i(function(t){return n.NSTypes.oCreeDinoCouleur(n.NSUtil.oGetCurrentStyle(t).backgroundColor)},function(n,t){n.style.backgroundColor=String(t)},this,!0,n.NSTypes.oCreeDinoCouleur());case 7:return i(function(t){return clWDUtil.DispositionMAJ(),n.NSUtil.bEstDisplay(t,!1)},function(t,i){n.NSUtil.SetDisplay(t,n.NSUtil.bGetBooleen(i),!0);clWDUtil.PrepareDispositionMAJ()},this,!1,!1);case 16:return i(function(n){return n.offsetHeight}
4,null,this,!0,0);case 17:return i(function(n){return n.offsetWidth},null,this,!0,0);case 18:return i(function(t){return n.NSUtil.nGetEntier(n.NSUtil.dGetReel(n.NSUtil.oGetCurrentStyle(t).opacity,1)*100)},function(t,i){n.NSUtil.SetOpacite(n.NSUtil.nGetEntier(i),t)},this,!0,100);case 24:return i(function(t){return n.NSUtil.sGetClasseHTML(t)},function(t,i){n.NSUtil.SetClasseHTML(t,String(i))},this,!0,"")}return t.prototype.viGetPropriete.call(this,r,u)},r.prototype.oGetCellule=function(t){var i=document.getElementById(this.vsGetAliasHTML());return t||!i||n.NSUtil.bNodeEstType(i,"li")?i:i.parentElement},r}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 50:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeXMin()},null,this);case 51:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeXMax()},null,this);case 52:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeYMin()},null,this);case 53:return t.oGetProprieteFrameworkV1(function(n){return n.dGetAxeYMax()},null,this);case 57:return t.oGetProprieteFrameworkV1(function(n){return n.sGetTitre()},function(n,t){n.SetTitre(String(t))},this);case 60:return t.oGetProprieteFrameworkV1(function(t){return n.NSUtil.nGetEntier(t.nGetDureeAnimation()/10)},function(t,i){t.SetDureeAnimation(n.NSUtil.dGetReel(i,NaN,1)*10)},this);case 58:throw new n.CErreur(603);}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.voCorrigeHTMLElement=function(n,t){switch(t){case 2:return document.getElementsByName(this.vsGetAliasHTML())[0]}return i.prototype.voCorrigeHTMLElement.call(this,n,t)},r}(t.CChampRebondFrameworkV1SansType);t.CChampGraphe=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function u(n){i={};n.forEach(function(n){i[n.m_sNom]=new r(n.m_tabMembres)})}function f(t){var r=i[t];if(r)return r;throw new n.CErreur(605,t);}function e(t,i,r){return new n.NSUtil.CPropriete(function(){for(var e=t.tabGetObjets(),o=e.length,u,f=0;f<o;f++)try{return e[f].viGetPropriete(i,r).viGetRValue(1)}catch(s){undefined===u&&(u=s)}throw u||new n.CErreur(603);},function(n){t.tabGetObjets().forEach(function(t){try{t.viGetPropriete(i,r).vSetValeur2(n)}catch(u){}})})}var i={},r;t.DeclareGroupes=u;t.xoGetGroupe=f;r=function(i){function r(n){var t=i.call(this,"",58)||this;return t.m_tabMembresDuGroupe=n,t}return __extends(r,i),r.prototype.viGetPropriete=function(t,i){if(n.NSProprietes.bEstProprieteJS(t,i))switch(i){case 4:return n.NSUtil.oGetProprieteConstante(this.tabGetObjets().length)}return e(this,t,i)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.tabGetObjets=function(){return this.m_tabMembresDuGroupe.map(function(n){return t.oGetObjet(n.m_sAlias,n.m_eIDObjet,n.m_sAliasTableZRParent)})},r}(t.CObjet)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(n){function i(){return n!==null&&n.apply(this,arguments)||this}return __extends(i,n),i.prototype.vsGetAliasHTML=function(){return t.oGetPageCourante().vsGetAliasHTML()+"_"+n.prototype.vsGetAliasHTML.call(this)},i}(t.CChampSimpleSansType),r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 61:return t.oGetProprieteHTMLElement(function(n){return n.src},function(n,t){n.src=String(t)},this,"iframe")}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.voGetHTMLElement=function(){return document.getElementsByName(this.vsGetAliasHTML())[0]||i.prototype.voGetHTMLElement.call(this)},r}(i);t.CChampIFrame=r})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(n){function t(t,i){return n.call(this,t,i)||this}return __extends(t,n),t.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,u,!0)},t.prototype.vSetProprieteEtat=function(t){var r,i;for(n.prototype.vSetProprieteEtat.call(this,t),r=this.tabGetElementsByName(),i=1;i<r.length;i++)this._SetProprieteEtat(t,r[i],null,null,!1)},t}(t.CChampSimple),e=function(t){function i(i){return t.call(this,i,n.NSUtil.bGetBooleen)||this}return __extends(i,t),i}(i),r;t.CChampInterrupteur=e;r=function(t){function i(i){return t.call(this,i,n.NSUtil.nGetEntier)||this}return __extends(i,t),i}(i);t.CChampSelecteur=r;var u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t.prototype._vSetProprieteBulle=function(n){var t=this.oGetHTMLElement();this._SetProprieteBulle(n,t);t&&this._SetProprieteBulle(n,t.parentElement)},t}(t.CSousChamp),f="data-wbValeurRenvoyee",o=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){var u=this;if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 1:return n.NSUtil.oGetProprieteSimple(function(){return Array.prototype.reduce.call(u.tabGetElementsByName(),function(n,t){return t.checked?t.getAttribute(f)||"":n},"")},function(t){var i=String(t);n.NSUtil.bForEach(u.tabGetElementsByName(),function(n){return n.getAttribute(f)===i?(n.checked=!0,!1):!0})})}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,u,!0)},i}(t.CChamp);t.CChampInterrupteurABascule=o})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(t){return i.call(this,t,n.NSUtil.dGetReel,!0)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 36:return t.oGetProprieteFrameworkV1GetSet(this,123,String,!1,null)}return i.prototype.viGetPropriete.call(this,r,u)},r}(t.CChampRebondFrameworkV1);t.CChampJauge=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 57:case 58:return this._xiGetProprieteLibelle(this.voGetHTMLElement(),u);case 61:return t.oGetProprieteHTMLElement(function(n){return n.href},function(n,t){n.href=String(t)},this,"a")}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r}(t.CObjet);t.COptionMenu=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(t){function r(i){return t.call(this,i,n.NSUtil.nGetEntier,!1)||this}return __extends(r,t),r.prototype.viGetSousElement=function(n,t){return this._iGetSousElementHTML(n,t,i,!1)},r}(t.CChampRebondFrameworkV1),i;t.CChampOnglet=r;i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,r){if(n.NSProprietes.bEstProprieteJS(i,r))switch(r){case 57:case 58:return this._xiGetProprieteLibelle(this.__oGetA()||this.oGetHTMLElement(),r)}return t.prototype.viGetPropriete.call(this,i,r)},i.prototype.vSetProprieteEtat=function(i){var h,r,e,o,s,u,f;if(t.prototype.vSetProprieteEtat.call(this,i),h=this.__oGetA(),this._SetProprieteEtat(i,h,null,null,!0),r=this.m_tParent.m_iChampFrameworkV1,r&&0!==i&&(e=n.NSUtil.nGetEntier(this.m_tParent.viGetPropriete(1,1)),this.m_nIndiceWL===e)){for(o=r.m_tabOnglets,s=!1,u=e;u<o.length;u++)if(o[u].bActif()){r.AfficheVolet(u);s=!0;break}if(!s)for(f=0;f<e-1;f++)if(o[f].bActif()){r.AfficheVolet(f);s=!0;break}}},i.prototype._vSetProprieteBulle=function(n){t.prototype._vSetProprieteBulle.call(this,n);var i=this.__oGetA();this._SetProprieteBulle(n,i)},i.prototype.__oGetA=function(){var t=this.voGetHTMLElement(),n;return t&&(n=t.getElementsByTagName("a")[0],n)?n:null},i}(t.CSousChamp)})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function e(){return i}function o(t){if(t===i.sGetAlias())return i;var u=r(t,top);if(u)return u;throw new n.CErreur(605,t);}function r(t,i){var u,f;try{return"NSPCS"in i&&(u=i.NSPCS.NSChamps.oGetPageCourante(),u&&t===u.sGetAlias())?u:(f=null,n.NSUtil.bForEach(i.frames,function(n){return f=r(t,n),null===f}),f)}catch(e){return null}}function u(){var r=n.NSUtil.ms_sAliasMoiMeme,u;if(r){if(u=t.oGetChampSansCreation(r),u)return u;if(r===n.NSUtil.ms_sAliasPage)return i}throw new n.CErreur(606);}function s(){return u().viGetMonParent(!0)}var f=function(i){function r(){var t=i.call(this,n.NSUtil.ms_sAliasPage,1)||this;return n.NSUtil.ms_oNotificationsChangementTranche.AddNotification(function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];t.__OnChangementTranche(i)}),t}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 34:return t.oGetProprieteImageFond(document.documentElement,document.body);case 57:return n.NSUtil.oGetProprieteSimple(function(){return document.title},function(n){document.title=String(n)})}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return this},r.prototype._vSetProprietePlan=function(n,t){$(".wbPlanDeMaPage").wbPlanSet(n,t)},r.prototype.oGetDocument=function(){return document},r.prototype.__OnChangementTranche=function(n){t.AppelMethodePtr(t.OnChangementTranche,[n[0],n[1]]);this._RecuperePCode(77).apply(window,n)},r}(t.CObjet),i=new f;t.oGetPageCourante=e;t.oGetPage=o;t.oGetMoiMeme=u;t.oGetMonParent=s})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(i){return t.call(this,i,n.NSUtil.nGetEntier,!0)||this}return __extends(i,t),i.prototype.voGetHTMLElement=function(){var n=document.getElementsByName(this.vsGetAliasHTML()+"_DATA");return n.length&&n[0]||t.prototype.voGetHTMLElement.call(this)},i.prototype.vSetProprieteEtat=function(n){t.prototype.vSetProprieteEtat.call(this,n);this.m_iChampFrameworkV1&&this.m_iChampFrameworkV1._vAppliqueParametres()},i.prototype._vLiaisonHTML=function(n,i){t.prototype._vLiaisonHTML.call(this,"_DATA",i)},i}(t.CChampRebondFrameworkV1),f=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 20:return t.oGetProprieteFrameworkV1GetSetSecurise(this,89,n.NSUtil.nGetEntier,!0);case 21:return t.oGetProprieteFrameworkV1GetSetSecurise(this,90,n.NSUtil.nGetEntier,!0)}return i.prototype.viGetPropriete.call(this,r,u)},r}(i),r,u;t.CChampRangeSlider=f;r=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i);t.CChampRating=r;u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(i);t.CChampPotentiometre=u})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){function r(t,i){return n.NSUtil.oGetProprieteSimple(function(){var u,f=t.iGetWBJeton(),r=t.oGetHTMLElement();return u=f?f.wbGetJetonValeurAfficheeChampSaisie():r?r instanceof HTMLInputElement?r.value:n.NSUtil.sGetInnerText(r):"",i?i.GetValeur(undefined,u,r):u},null)}var u=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.viGetPropriete=function(i,u){if(n.NSProprietes.bEstProprieteJS(i,u))switch(u){case 55:return r(this,undefined)}return t.prototype.viGetPropriete.call(this,i,u)},i}(t.CChampSimpleSansType),i;t.CChampFormate=u;i=function(i){function u(){return i!==null&&i.apply(this,arguments)||this}return __extends(u,i),u.prototype.viGetPropriete=function(u,f){var o=this,e;if(n.NSProprietes.bEstProprieteJS(u,f)){e=this.m_iChampFrameworkV1;switch(f){case 25:return t.oGetProprieteFrameworkV1GetSet(this,58,String,!1,null);case 38:return n.NSUtil.oGetProprieteSimple(function(){var t=o.__oGetBoutonCalendrier();return t?n.NSUtil.bEstDisplay(t,!1):!1},function(t){var i=o.__oGetBoutonCalendrier();i&&n.NSUtil.SetDisplay(i,n.NSUtil.bGetBooleen(t))});case 54:return e?t.oGetProprieteFrameworkV1GetSet(this,130,String,!1,null):this.viGetPropriete(1,1);case 55:return r(this,e)}}return i.prototype.viGetPropriete.call(this,u,f)},u.prototype._vSetValeurChampFormulaire=function(t){var f=this.iGetWBJeton(),r,u;if(f){f.wbSetJetonValeurMemoriseeChampSaisie(String(t));return}i.prototype._vSetValeurChampFormulaire.call(this,t);r=this.voGetChampFormulaire();r&&"password"===r.type&&(u=r.nextSibling,n.NSUtil.bNodeEstType(u,"div")&&(u.style.visibility=String(t)?"hidden":"visible"))},u.prototype.__oGetBoutonCalendrier=function(){var i=this.voGetHTMLElement(),t;return i&&(t=i.nextSibling,n.NSUtil.bNodeEstType(t,"div"))?t:null},u}
4(t.CChampRebondFrameworkV1SansType);t.CChampSaisie=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var i=function(t){function i(){return t!==null&&t.apply(this,arguments)||this}return __extends(i,t),i.prototype.vSetProprieteEtat=function(i){var u=this,r;t.prototype.vSetProprieteEtat.call(this,i);r=this.voGetHTMLElement();r&&n.NSUtil.bForEach(r.getElementsByTagName("a"),function(n){return u._SetEtatSousElement(n,"href",i,!0),!0})},i}(t.CChampSimpleSansType);t.CChampSiteMapXxx=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={})),function(n){var t;(function(t){var r=function(i){function r(){return i!==null&&i.apply(this,arguments)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){var e=this,f;if(n.NSProprietes.bEstProprieteJS(r,u)){f=function(){return e.voGetHTMLElement()};switch(u){case 56:return t.oGetProprieteElement(function(n){return n.title},function(n,t){n.title=String(t)},f);case 57:case 58:return this.__xiGetProprieteLibelle(u)}}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.viGetMonParent=function(){return t.oGetPageCourante()},r.prototype.voGetHTMLElement=function(){var e=this.vsGetAliasHTML(),o="tt"+e,t=document.getElementById(o),u,r,f;return t?(u=t.getElementsByClassName(o)[0],u)?u:(r=t.firstElementChild,n.NSUtil.bNodeEstType(r,"div")&&n.NSUtil.bAvecClasse(r,"wbcol"+e)&&(f=r.firstElementChild,n.NSUtil.bNodeEstType(f,"div")))?f:t:i.prototype.voGetHTMLElement.call(this)},r.prototype.__xiGetProprieteLibelle=function(n){return this._xiGetProprieteLibelle(this.voGetHTMLElement(),n)},r}(t.CObjet),u=function(n){function t(){return n!==null&&n.apply(this,arguments)||this}return __extends(t,n),t}(r),i;t.CColonneTable=u;i=function(i){function r(t){return i.call(this,t,n.NSUtil.nGetEntier,!1)||this}return __extends(r,i),r.prototype.viGetPropriete=function(r,u){var f=this,e=function(){var n=$("#con-"+f.vsGetAliasHTML()).closest(".wbGalerie");return n.length?n:null};if(n.NSProprietes.bEstProprieteJS(r,u))switch(u){case 60:return t.oGetProprieteElement(function(t){return n.NSUtil.nGetEntier(t.wbGetDureeAnimation()/10)},function(t,i){t.wbSetDureeAnimation(n.NSUtil.dGetReel(i,NaN,1)*10)},e)}return i.prototype.viGetPropriete.call(this,r,u)},r.prototype.iGetAsChampTableZRNavigateurFrameworkV1=function(){var n=this.m_iChampFrameworkV1;return n instanceof WDTableZRNavigateur?n:undefined},r}(t.CChampRebondFrameworkV1);t.CChampTable=i})(t=n.NSChamps||(n.NSChamps={}))}(NSPCS||(NSPCS={}))
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.