/*! 23.0.5.0 */
/*! VersionVI: 30F230050t x */
function WDTableauAssociatif(n,t,i){arguments.length&&(this.m_bSansEspace=0!=(n&this.ms_nSansEspace),this.m_bSansCasse=0!=(n&this.ms_nSansCasse),this.m_bAvecDoublon=0!=(n&this.ms_nAvecDoublon),this.m_oValeurParDefaut=t,this.m_nTypeCle=i,this.m_oValeurs={},this.m_tabElements=[])}function WDIterateur(n,t){arguments.length&&(this.m_oCible=n,this.m_bAscendant=!!(t&2),this.m_bSelectionne=!!(t&4),this.m_nCompteur=-1,this.ms_tabIterateurs.push(this))}function WDIterateurTableau(n){if(arguments.length){while(this.__bEstTableauAPlusieursDimensions(n))n=this.__tabLineariseTableau(n);WDIterateur.prototype.constructor.apply(this,arguments)}}function WDIterateurTableauAssociatif(n,t,i){arguments.length&&(WDIterateurTableau.prototype.constructor.apply(this,arguments),this.m_bFiltre=null!==i&&undefined!==i,this.m_bFiltre&&(this.m_oCleFiltre=i))}function WDIterateurChaine(n,t,i){arguments.length&&(this.m_sSeparateur=null===i?"\t":i,WDIterateurTableau.prototype.constructor.apply(this,[n.length>0?n.split(this.m_sSeparateur):[],t]))}function WDIterateurChainePosition(n,t,i,r){var o,e,u,f;if(arguments.length){for(0!=(r&this.ms_nDepuisFin)&&t&2&&(t-=2),o=0!=(r&this.ms_nMotComplet),r&this.ms_nSansCasse&&(n=n.toLowerCase(),i=i.toLowerCase()),e=[],u=n.indexOf(i);-1!=u;u=n.indexOf(i,u+1)){if(o){if(f=u-1,0<=f&&null==n.charAt(f).match(this.ms_oDebutFinMot))continue;if(f=u+i.length,f<n.length&&null==n.charAt(f).match(this.ms_oDebutFinMot))continue}e.push(u+1)}WDIterateurTableau.prototype.constructor.apply(this,[e,t])}}function WDIterateurTableZRNavigateur(){arguments.length&&(WDIterateur.prototype.constructor.apply(this,arguments),this.m_nForceSelectionInitial=this.m_oCible.nGetForceSelection())}function WDIterateurListeCombo(n){if(arguments.length){WDIterateur.prototype.constructor.apply(this,arguments);var i=n.length,t=[];clWDUtil.bForEach(n.options,function(n,i){return n.selected&&(t.push(i),n.selected=!1),!0});this.m_tabSelection=t;this.m_nOccurrence=this.m_bSelectionne?t.length:i}}var clWDTableau={},clWLangage;clWDTableau.ms_tabEtats=[];clWDTableau.__oGetEtat=function(n){var t;return clWDUtil.bForEach(this.ms_tabEtats,function(i){return i.m_tabTableau===n?(t=i,!1):!0}),t};clWDTableau.__SetEtat=function(n,t,i){var r=this.__oGetEtat(n);undefined===r&&(r={m_tabTableau:n,m_pfFonctionComparaison:undefined,m_nIndiceRecherche:undefined},this.ms_tabEtats.push(r));undefined!==t&&(r.m_pfFonctionComparaison=t);undefined!==i&&(r.m_nIndiceRecherche=i)};clWDTableau.__bEstAssociatif=function(n){return n instanceof WDTableauAssociatif};clWDTableau.__bEstTableau=function(n,t){return n instanceof Array?!0:Array.isArray?Array.isArray(n):"object"==typeof n&&undefined!==n.length?!0:t&&"string"!=typeof n?undefined!==n.length:!1};clWDTableau.__oCalculIndiceEffectif=function(n,t){switch(t){case 1:default:return this.__xnGetIndiceC(n,t,!1);case WDIterateur.prototype.ms_oElementCourant:var i=WDIterateur.prototype.s_oGetIterateur(n);return i?i.nGetCompteurDirect():undefined;case 2271560482:case-2023406814:return n.length-1}};clWDTableau.__xnGetIndiceC=function(n,t,i){if(t<1||n.length+(i?1:0)<t)throw new WDErreur(200,t,n.length);return t-1};clWDTableau.__xnGetIndiceDepartC=function(n,t,i,r){var u,f;if(undefined===t||0==t)return r&&(u=this.__oGetEtat(n),u&&(f=u.m_nIndiceRecherche,undefined!==f))?f:i;if(t<1||n.length<t)throw new WDErreur(200,t,n.length);return t-1};clWDTableau.__AutoAgrandissementC=function(n,t,i,r,u){var f=i.m_tabDimensions,e=f[r];e<=u&&(f[r]=u+1,this.__InitialiseTableau(n,i,0))};clWDTableau.__oConstruitDescriptionDVC=function(n,t,i,r){return{m_tabDimensions:n,m_oValeurDefaut:t,m_pfFonctionCast:i,m_bTypeInterneDynamique:r}};clWDTableau.__oConstruitDescriptionDV=function(n,t){return this.__oConstruitDescriptionDVC(n,t,function(){return arguments[0]},!1)};clWDTableau.__oConstruitDescriptionV=function(n,t){for(var r=[],i=n;this.__bEstTableau(i);)r.push(i.length),i=i[0];return this.__oConstruitDescriptionDV(r,t)};clWDTableau.__oPrepareUneValeur=function(n,t,i,r){if(undefined===r)r=i;else if(t){var u=t.m_pfFonctionCast;u&&(r=u(r))}return this.__oCopieElement(r,undefined)};clWDTableau.tabCreeTableau=function(n,t,i,r,u){var e=this.__oConstruitDescriptionDVC(n,t,i,u),f=this.__tabCreeTableau(e,0);return undefined!==r&&this.__InitialiseAvecValeur(f,f,e,r,0),f};clWDTableau.__tabCreeTableau=function(n,t){var i=new Array(n.m_tabDimensions[t]);return i.m_oDescription=n,this.__InitialiseTableau(i,n,t),i};clWDTableau.__InitialiseTableau=function(n,t,i){var s=t.m_tabDimensions,f=t.m_oValeurDefaut,e=s[i],o=i+1,h=o<s.length,c=f instanceof Function,r,u;for(n.length<e&&(n.length=e),r=0;r<e;r++)u=n[r],undefined===u?n[r]=h?this.__tabCreeTableau(t,o):c?new f:f:h&&this.__bEstTableau(u)&&this.__InitialiseTableau(u,t,o)};clWDTableau.__InitialiseAvecValeur=function(n,t,i,r,u){var o=i.m_tabDimensions,f=i.m_pfFonctionCast,e=u+1,s=e<o.length;clWDUtil.bForEach(r,function(r,o){return clWDTableau.__AutoAgrandissementC(n,t,i,u,o),s?clWDTableau.__bEstTableau(r)&&clWDTableau.__InitialiseAvecValeur(n,t[o],i,r,e):t[o]=clWDTableau.__bEstTableau(r)?clWDTableau.__InitialiseTableauCast(r,f):f(r),!0})};clWDTableau.__InitialiseTableauCast=function(n,t){var i=[];clWDUtil.bForEach(n,function(n){return i.push(clWDTableau.__bEstTableau(n)?clWDTableau.__InitialiseTableauCast(n,t):t(n)),!0})};clWDTableau.nAjoute=function(n,t,i){if(this.__bEstTableau(n)){var r=n.m_oDescription;return n.push(this.__oPrepareUneValeur(n,r,t,i)),r&&r.m_tabDimensions[0]++,n.length}return 0};clWDTableau.nAjouteLigne=function(n,t){var i;if(this.__bEstTableau(n)){var r=n.m_oDescription,u=[],f=arguments.length;for(i=arguments.callee.length;i<f;i++)u.push(this.__oPrepareUneValeur(n,r,t,arguments[i]));return n.push(u),r&&r.m_tabDimensions[0]++,n.length}return 0};clWDTableau.nAjouteTrie=function(n,t,i){var u=0,f,r;if(this.__bEstTableau(n))if(f=this.__oGetEtat(n),f)if(r=f.m_pfFonctionComparaison,r)u=this.__nChercheDichotomiqueAjout(n,function(n){return r(n,i)},r)+1,this.Insere(n,u,t,i);else throw new WDErreur(207);else throw new WDErreur(207);return u};clWDTableau.__nChercheDichotomiqueAjout=function(n,t,i){for(var u=n.length,f=0,h=u-1,o=0,c,r,e,s;f<=h;){if(i&&0<i(n[f],n[h]))throw new WDErreur(207);if(r=Math.floor(u/2),0!=r)if(e=r&1?r:r-1,s=f+e,c=t(n[s]),0==c){o+=e;break}else 0<c?(h=s-1,u=e):(o+=e+1,f=s+1,u=r);else{0<u&&t(n[f])<0&&o++;break}}return o};clWDTableau.nCherche=function(n,t,i){var s=arguments,h=-1,f,e,c;if(this.__bEstTableau(n)){var l=t&15,a=t&-16,o=this.__pfGetFonctionComparaisonAvecOptions(0,a),r,u;2<=this.__oInfo_ND_T(n)?(f=[],clWDUtil.bForEach(String(i).split(";"),function(n,t){return f.push([parseInt(n,10)-1,s[3+t]]),!0}),r=function(n){var t=0;return clWDUtil.bForEach(f,function(i){return t=o(n[i[0]],i[1]),0==t}),t},u=f.length+3):0<n.length&&n[0]instanceof Object?i instanceof Object?r=function(n){return n===i?0:-1}:(e=[],clWDUtil.bForEach(String(i).split(";"),function(n,t){return e.push([n,s[3+t]]),!0}),r=function(n){var t=0;return clWDUtil.bForEach(e,function(i){return t=o(n[i[0]],i[1]),0==t}),t},u=e.length+3):(r=function(n){return o(n,i)},u=3);undefined!==u&&(c=arguments[u]);h=this.__nRecherche(n,l,c,r)}return h};clWDTableau.__nRecherche=function(n,t,i,r){var c=-1,o=n.length,f,e,s,h,u;switch(t){case 1:f=!0;break;case 2:f=!1;e=!0;s=!1;break;case 3:f=!1;e=!0;s=!0;break;case 4:f=!1;e=!1;s=!0;break;case 5:f=!1;e=!1;s=!1;break;default:throw new WDErreur(303,t);}if(f)h=this.__nChercheDichotomiqueAjout(n,r,undefined),0<=h&&h<o&&0==r(n[h])&&(c=h+1);else if(u=this.__xnGetIndiceDepartC(n,i,e?0:o-1,s),0<=u&&u<o)if(e){for(;u<o;u++)if(0==r(n[u]))break;u!=o?(c=u+1,clWDTableau.__SetEtat(n,undefined,u+1)):clWDTableau.__SetEtat(n,undefined,-1)}else{for(;0<=u;u--)if(0==r(n[u]))break;0<=u?(c=u+1,clWDTableau.__SetEtat(n,undefined,u-1)):clWDTableau.__SetEtat(n,undefined,-1)}return c};clWDTableau.nChercheProcedure=function(n,t,i,r){var e=-1,u,o,f,s,h;if(this.__bEstTableau(n)){for(u=[undefined],o=arguments.length,f=4;f<o;f++)u.push(arguments[f]);s=function(n){return u[0]=n,t.apply(this,u)};h=i&15;e=this.__nRecherche(n,h,r,s)}return e};clWDTableau.Copie=function(n,t,i,r){var u,f;if(this.__bEstAssociatif(n)&&this.__bEstAssociatif(t))this.SupprimeTout(t),this.__CopieAssociatif(n,t,0,n.GetProp(23));else if(this.__bEstTableau(n)&&this.__bEstTableau(t)){if(undefined===i&&(i=1),u=this.__xnGetIndiceC(n,i,!1),undefined==r&&(r=n.length-u),f=u+r,f<u||n.length<f)throw new WDErreur(200,r,n.length-u);this.SupprimeTout(t);this.__CopieTableau(n,t,undefined,u,f,!0)}};clWDTableau.Affectation=function(n,t){this.Copie(t,n)};clWDTableau.__CopieAssociatif=function(n,t,i,r){for(var f,u=i;u<r;u++)f=n.oGetValeurDirect(u,!0),t.SetValeur(this.__oCopieElement(f.m_oCle,undefined),this.__oCopieElement(f.m_oValeur,undefined))};clWDTableau.__CopieTableau=function(n,t,i,r,u,f){var e,o,s,h;for(undefined===i&&(e=n.m_oDescription,undefined!==e&&(i=this.__oConstruitDescriptionDVC(e.m_tabDimensions,e.m_oValeurDefaut,e.m_pfFonctionCast,e.m_bTypeInterneDynamique))),undefined!==i&&(t.m_oDescription=i),o=r;o<u;o++)t.push(this.__oCopieElement(n[o],i));f&&(s=t.m_oDescription,s&&(h=s.m_tabDimensions[0],s.m_tabDimensions[0]=Math.max(h,u)))};clWDTableau.__oCopieElement=function(n,t){var i;return this.__bEstTableau(n)?(i=[],this.__CopieTableau(n,i,t,0,n.length,!1)):n instanceof WDTypeAvance&&!(t&&t.m_bTypeInterneDynamique)?(i=new n.constructor,i.Clone(n)):i=n,i};clWDTableau.CreeSetIndice=function(n,t){this.__oCreeXxxindice(n,t,arguments,3,arguments[arguments.length-1])};clWDTableau.oCreeGetIndice=function(n,t){return this.__oCreeXxxindice(n,t,arguments,2,undefined)};clWDTableau.__oCreeXxxindice=function(n,t,i,r,u){var l=t.m_oDescription,s,v,h,a,f,e,c,o;for(undefined===t.m_oDescription&&(l=this.__oConstruitDescriptionV(t,n)),s=[],v=i.length-r+2,h=2;h<v;h++)s.push(i[h]);for(a=Math.min(l.m_tabDimensions.length,s.length),f=t,e=0;e<a;e++){if(c=s[e],c<1)throw new WDErreur(200,c,f.length);if(o=c-1,this.__AutoAgrandissementC(t,f,l,e,o),e<a-1)f=f[o];else return undefined!==u&&(f[o]=this.__oCopieElement(u,undefined)),f[o]}};clWDTableau.Deplace=function(n,t,i,r){var u,f,e;if(this.__bEstTableau(n))if(u=this.__xnGetIndiceC(n,t,!1),f=this.__xnGetIndiceC(n,i,!1),4==arguments.length){if(-2147483648!=r)throw new WDErreur(303,r);e=n[f];n[f]=n[u];n[u]=e}else n.splice(f,0,n.splice(u,1)[0])};clWDTableau.Dimension=function(n,t,i){var r=n.m_oDescription;undefined!==n.m_oDescription?(undefined!==t&&(r.m_tabDimensions=t),undefined!==i&&(r.m_oValeurDefaut=i)):r=this.__oConstruitDescriptionDV(t,i);this.__InitialiseTableau(n,r,0)};clWDTableau.EchangeLigne=function(n,t,i){clWDTableau.Deplace(n,t,i,-2147483648)};clWDTableau.oInfo=function(n,t,i){var r,u;switch(t){case 1:r=[1,this.__oInfo_ND_T,1];break;case 2:r=[this.__oInfo_D_A,this.__oInfo_D_T,1];break;case 7:r=[this.__oInfo_NT,this.__oInfo_NT,0];break;case 8:r=[0,this.__oInfo_NL_T,0];break;case 9:r=[0,this.__oInfo_NC_T,0];break;case 10:r=[this.__oInfo_AAD_A,!1,!1];break;case 11:r=[this.__oInfo_TC_A,0,0];break;default:throw new WDErreur(303,t);}return u=this.__bEstAssociatif(n)?r[0]:this.__bEstTableau(n)?r[1]:r[2],u instanceof Function?u.apply(this,[n,i]):u};clWDTableau.__oInfo_ND_T=function(n){return this.__bEstTableau(n)?1+arguments.callee.apply(this,[n[0]]):0};clWDTableau.__oInfo_D_A=function(n){return this.nOccurrence(n)};clWDTableau.__oInfo_D_T=function(n,t){for(var i=t||1;1<i;i--)if(n=n[0],!this.__bEstTableau(n))return 1;return n.length};clWDTableau.__oInfo_NT=function(n){return this.nOccurrenceRecursif(n,!0)};clWDTableau.__oInfo_NL_T=function(n){return 2<=this.__oInfo_ND_T(n)?this.__oInfo_D_T(n,1):0};clWDTableau.__oInfo_NC_T=function(n){return 2<=this.__oInfo_ND_T(n)?this.__oInfo_D_T(n,2):0};clWDTableau.__oInfo_AAD_A=function(n){return n.m_bAvecDoublon};clWDTableau.__oInfo_TC_A=function(n){return n.m_nTypeCle};clWDTableau.Insere=function(n,t,i,r){var e,u,o,f;if(undefined===r&&(r=i),this.__bEstAssociatif(n))n.SetValeur(t,r);else if(this.__bEstTableau(n))if(e=this.__xnGetIndiceC(n,t,!0),u=n.m_oDescription,this.__bEstTableau(r))for(o=r.length,f=0;f<o;f++)n.splice(e+f,0,this.__oPrepareUneValeur(n,u,i,r[f])),u&&u.m_tabDimensions[0]++;else n.splice(e,0,this.__oPrepareUneValeur(n,u,i,r)),u&&u.m_tabDimensions[0]++};clWDTableau.InsereLigne=function(n,t,i){var r;if(this.__bEstTableau(n)){var e=this.__xnGetIndiceC(n,t,!0),u=n.m_oDescription,f=[],o=arguments.length;for(r=arguments.callee.length;r<o;r++)f.push(this.__oPrepareUneValeur(n,u,i,arguments[r]));n.splice(e,0,f);u&&u.m_tabDimensions[0]++}};clWDTableau.Inverse=function(n){this.__bEstAssociatif(n)?n.Inverse():this.__bEstTableau(n)&&n.reverse()};clWDTableau.Melange=function(n,t){function r(n,t){clWDUtil.bForEach(n,function(n){return 1==t?i.push(n):r(n,t-1),!0})}function u(n,t){clWDUtil.bForEach(n,function(r,f){if(1==t){var e=clWDUtil.dHasard(i.length)-1;n[f]=i.splice(e,1)[0]}else u(r,t-1);return!0})}if(this.__bEstTableau(n)){var i=[];r(n,t);u(n,t)}};clWDTableau.nOccurrence=function(n){return this.__bEstAssociatif(n)?n.GetProp(23):this.__bEstTableau(n,!0)?n.length:1};clWDTableau.nOccurrenceRecursif=function(n,t,i){if(0===i)return 1;if(this.__bEstAssociatif(n))return this.nOccurrence(n);if(this.__bEstTableau(n,!0)){if(t&&undefined===n.length)return 1;for(var u=0,f=n.length,r=0;r<f;r++)u+=this.nOccurrenceRecursif(n[r],!0);return u}return 1};Array.prototype.nOccurrenceRecursif=function(){return clWDTableau.nOccurrenceRecursif(this)};clWDTableau.nSupprime=function(n,t){if(this.__bEstAssociatif(n))return n.nSupprime(t);if(this.__bEstTableau(n)){n.splice(this.__oCalculIndiceEffectif(n,t),1);var i=n.m_oDescription;return i&&i.m_tabDimensions[0]--,1}return 0};clWDTableau.SupprimeDoublon=function(n,t,i){var s,e;if(this.__bEstTableau(n)){for(var o=this.__pfGetFonctionComparaison(t,i),f=n.length,u=new Array(f),r=0;r<f;r++)u[r]=r;for(u.sort(function(t,i){return o(n[t],n[i])}),r=0;r<f;)for(s=n[u[r]],u[r]=-1,r++;r<f&&0==o(s,n[u[r]]);r++);u.sort(function(n,t){return n-t});e=n.m_oDescription;clWDUtil.bForEachInverse(u,function(t){return-1!=t?(n.splice(t,1),e&&e.m_tabDimensions[0]--,!0):!1})}};clWDTableau.SupprimeTout=function(n){if(this.__bEstAssociatif(n))n.SupprimeTout();else if(this.__bEstTableau(n)){n.length=0;var t=n.m_oDescription;t&&(t.m_tabDimensions[0]=0)}};clWDTableau.Trie=function(n,t,i){if(this.__bEstAssociatif(n))n.Trie(t,i);else if(this.__bEstTableau(n)){var r=this.__pfGetFonctionComparaison(t,i);n.sort(r);this.__SetEtat(n,r,undefined)}};clWDTableau.__pfGetFonctionComparaison=function(n,t){if(undefined===n)return undefined;var r=n&15,i=n&-16;if(undefined===t)return this.__pfGetFonctionComparaisonAvecOptions(r,i);switch(r){case 3:return this.__pfGetFonctionComparaisonColonnes(i,t);case 4:return this.__pfGetFonctionComparaisonMembre(i,t);case 5:return t;default:return this.__pfGetFonctionComparaisonColonne(i,[[t,2!=r]])}};clWDTableau.__pfGetFonctionComparaisonAvecOptions=function(n,t){function i(n){return t&65536&&(n=clWDUtil.sSupprimeEspacesDebutFin(n)),t&1048576&&(n=String(n).toUpperCase()),t&16777216&&(n=clWDUtil.sSupprimeEspacesInterieur(n)),n}var r=2!=n?clWDUtil.__s_nCompareDivers:clWDUtil.__s_nCompareDiversInverse;return function(n,t){return r(i(n),i(t))}};clWDTableau.__pfGetFonctionComparaisonColonnes=function(n,t){t=String(t);var i=[];return clWDUtil.bForEach(t.split(";"),function(n){var t=!0;switch(n.charAt(0)){case"-":t=!1;case"+":n=n.substr(1)}return i.push([parseInt(n,10),t]),!0}),this.__pfGetFonctionComparaisonColonne(n,i)};clWDTableau.__pfGetFonctionComparaisonColonne=function(n,t){return this.__pfGetFonctionComparaisonMultiple(n,t,function(n,t){return n[t-1]})};clWDTableau.__pfGetFonctionComparaisonMembre=function(n,t){var i=[];return clWDUtil.bForEach(t.split(";"),function(n){var t=!0;switch(n.charAt(0)){case"-":t=!1;case"+":n=n.substr(1)}return i.push([n.split("."),t]),!0}),this.__pfGetFonctionComparaisonMultiple(n,i,function(n,t){var i=n;return clWDUtil.bForEach(t,function(n){return i=i[n],!0}),i})};clWDTableau.__pfGetFonctionComparaisonMultiple=function(n,t,i){var r=this.__pfGetFonctionComparaisonAvecOptions(0,n);return function(n,u){var f=0;return clWDUtil.bForEach(t,function(t){var e=t[0];return f=r(i(n,e),i(u,e)),0==f?!0:(t[1]||(f=-f),!1)}),f}};clWDTableau.sVersChaine=function(n,t,i){return this.__bEstTableau(n)?(undefined==t&&(t="\r\n"),undefined==i&&(i="\t"),clWDTableau.__sVersChaine(n,[t,i])):""};clWDTableau.sVersCSV=function(n,t){return this.__bEstTableau(n)?(undefined==t&&(t=";"),this.sVersChaine(n,undefined,t)):""};clWDTableau.__sVersChaine=function(n,t){var i=new Array(n.length),r=t.slice(1);return clWDUtil.bForEach(n,function(n,u){if(clWDTableau.__bEstTableau(n))if(0<r.length)i[u]=clWDTableau.__sVersChaine(n,r);else throw new WDErreur(205);else if(n instanceof Object)if(0<r.length){var f=[];clWDUtil.bForEachIn(n,function(n,t){if(t instanceof Object)throw new WDErreur(206);else f.push(t);return!0});i[u]=f.join(t[1])}else throw new WDErreur(205);else i[u]=n;return!0}),i.join(t[0])};WDTableauAssociatif.prototype.ms_nSansEspace=1;WDTableauAssociatif.prototype.ms_nSansCasse=16;WDTableauAssociatif.prototype.ms_nAvecDoublon=1073741824;WDTableauAssociatif.prototype.__sGetCle=function(n){var i,t;switch(this.m_nTypeCle){case 2:return!1!=n;case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 14:return i=parseInt(n,10),isNaN(i)?0:i;case 11:case 12:return parseFloat(n);case 16:case 19:return t=""+n,this.m_bSansEspace&&(t=clWDUtil.sSupprimeEspaces(t)),this.m_bSansCasse&&(t=t.toLowerCase()),t;default:return n}};WDTableauAssociatif.prototype.__tabGetValeurs=function(n){return this.m_oValeurs[this.__sGetCle(n)]};WDTableauAssociatif.prototype.__tabCreeValeurs=function(n){var t=[];return this.m_oValeurs[this.__sGetCle(n)]=t,t};WDTableauAssociatif.prototype.__oCalculIndiceEffectif=function(n){var t,i;switch(n){case 1:if(this.m_nTypeCle>=15)t=0;else return n;break;case WDIterateur.prototype.ms_oElementCourant:if(i=WDIterateur.prototype.s_oGetIterateur(this),i)t=i.nGetCompteurDirect();else return undefined;break;case 2271560482:case-2023406814:t=this.m_tabElements.length-1;break;default:if(15<=this.m_nTypeCle)switch(clWDUtil.oGetTypeEntendu(n)){case"number":t=parseInt(n,10)-1;break;case 5:case 9:case 13:t=parseInt(n.toNumber(),10)-1;break;default:return n}else return n}return 0<=t&&t<this.m_tabElements.length?this.m_tabElements[t].m_oCle:undefined};WDTableauAssociatif.prototype.GetProp=function(n,t){switch(n){case 23:if(undefined!==t){var i=this.__tabGetValeurs(t);return undefined===i?0:i.length}return this.m_tabElements.length;case 24:return 0==this.GetProp(23,t);case 43:return 0<this.GetProp(23,t);default:return null}};WDTableauAssociatif.prototype.Inverse=function(){this.m_tabElements.reverse()};WDTableauAssociatif.prototype.Trie=function(n,t){var i;i=!!(n&32768);n=n&-32769;var u=n&15,f=n&-16,e=clWDTableau.__pfGetFonctionComparaisonAvecOptions(u,f),r=i?function(n){return n.m_oCle}:function(n){return n.m_oValeur};this.m_tabElements.sort(function(n,t){return e(r(n),r(t))})};WDTableauAssociatif.prototype.SetContenu=function(n){var t,r,u,f,i;if(this.SupprimeTout(),clWDTableau.__bEstAssociatif(n))for(u=n.m_tabElements,r=u.length,t=0;t<r;t++)f=u[t],this.SetValeur(f.m_oCle,f.m_oValeur);else if(clWDTableau.__bEstTableau(n))for(r=n.length,t=0;t<r;t++)i=n[t],clWDTableau.__bEstTableau(i)&&2==i.length&&this.SetValeur(i[0],i[1])};WDTableauAssociatif.prototype.SetValeur=function(n,t){var i=this.__tabGetValeurs(n),r;undefined===i&&(i=this.__tabCreeValeurs(n));this.m_bAvecDoublon||undefined===i[0]?(r={m_oCle:n,m_oValeur:t},i.push(r),this.m_tabElements.push(r)):(i[0].m_oCle=n,i[0].m_oValeur=t)};WDTableauAssociatif.prototype.SetValeurIndice=function(n,t,i){var r=this.oGetValeurIndiceComplet(n,t,!0);r.m_oCle=n;r.m_oValeur=i};WDTableauAssociatif.prototype.oGetValeur=function(n){if(this.m_bAvecDoublon)throw new WDErreur(203);else{var t=this.__tabGetValeurs(n);return undefined!==t?t[0].m_oValeur:this.m_oValeurParDefaut}};WDTableauAssociatif.prototype.oGetValeurIndice=function(n,t){var i=this.oGetValeurIndiceComplet(n,t,!0);return undefined!==i?i.m_oValeur:this.m_oValeurParDefaut};WDTableauAssociatif.prototype.oGetValeurIndiceComplet=function(n,t,i){var r=this.__tabGetValeurs(n);if(undefined===r)if(i)throw new WDErreur(201);else return undefined;else if(t<0||r.length<=t)if(i)throw new WDErreur(202,r.length,t+1);else return undefined;return r[t]};WDTableauAssociatif.prototype.oGetValeurDirect=function(n,t){return this.m_tabElements[t?n:this.m_tabElements.length-1-n]};WDTableauAssociatif.prototype.SupprimeTout=function(){this.m_oValeurs={};this.m_tabElements.length=0};WDTableauAssociatif.prototype.nSupprime=function(n){var r=this.__oCalculIndiceEffectif(n),u=0,t=this.__tabGetValeurs(r),i,f;if(undefined!==t)for(u=t.length,delete this.m_oValeurs[this.__sGetCle(r)],f=t.length,i=0;i<f;i++)clWDUtil.SupprimeDansTableau(this.m_tabElements,t[i]);return u};WDIterateur.prototype.ms_oElementCourant={};WDIterateur.prototype.ms_tabIterateurs=[];WDIterateur.prototype.__s_bCompareCible=function(n,t){return n.bSurCible(t)};WDIterateur.prototype.s_oGetIterateur=function(n){return clWDUtil.oDansTableauFct(WDIterateur.prototype.ms_tabIterateurs,WDIterateur.prototype.__s_bCompareCible,n,null)};WDIterateur.prototype.s_oDeclareIterateur=function(n,t,i,r,u){var f;return f=clWDTableau.__bEstAssociatif(n)?new WDIterateurTableauAssociatif(n,t,i):undefined!==n.nodeType?new WDIterateurListeCombo(n,t):clWDTableau.__bEstTableau(n)?new WDIterateurTableau(n,t,i):window.WDTableZRNavigateur&&n instanceof WDTableZRNavigateur?new WDIterateurTableZRNavigateur(n,t):typeof n=="string"?r?new WDIterateurChainePosition(n,t,i,u):new WDIterateurChaine(n,t,i):new WDIterateur(n),f.Suivant(),f};WDIterateur.prototype.s_LibereIterateur=function(n){n._vLibere();clWDUtil.SupprimeDansTableau(WDIterateur.prototype.ms_tabIterateurs,n,!0)};WDIterateur.prototype.bSurCible=function(n){return n===this.m_oCible};WDIterateur.prototype.Suivant=function(){this.m_nCompteur++;this.m_bFini=!this._vbSuivant()};WDIterateur.prototype.bEstFini=function(){return this.m_bFini};WDIterateur.prototype._vbSuivant=function(){return!1};WDIterateur.prototype._vLibere=clWDUtil.m_pfVide;WDIterateur.prototype.nGetCompteur=function(){return this.nGetCompteurDirect()+1};WDIterateur.prototype.nGetCompteurDirect=function(){return this.m_nCompteur};WDIterateurTableau.prototype=new WDIterateur;WDIterateurTableau.prototype.constructor=WDIterateurTableau;WDIterateurTableau.prototype.__bEstTableauAPlusieursDimensions=function(n){return clWDUtil.bDansTableauFct(n,clWDTableau.__bEstTableau,undefined)};WDIterateurTableau.prototype.__tabLineariseTableau=function(n){for(var i=[],r=n.length,t=0;t<r;t++)i=i.concat(n[t]);return i};WDIterateurTableau.prototype.__nGetCompteurReel=function(){return this.m_bAscendant?this.m_nCompteur:this.m_oCible.length-this.m_nCompteur-1};WDIterateurTableau.prototype._vbSuivant=function(){return this.m_nCompteur<this.m_oCible.length};WDIterateurTableau.prototype.oGetValeur=function(){return this.m_oCible[this.__nGetCompteurReel()]};WDIterateurTableau.prototype.oGetCle=function(){return this.__nGetCompteurReel()+1};WDIterateurTableau.prototype.SetValeur=function(n){this.m_oCible[this.__nGetCompteurReel()]=n};WDIterateurTableauAssociatif.prototype=new WDIterateurTableau;WDIterateurTableauAssociatif.prototype.constructor=WDIterateurTableauAssociatif;WDIterateurTableauAssociatif.prototype._vbSuivant=function(){return this.m_oValeurComplet=this.m_bFiltre?this.m_oCible.oGetValeurIndiceComplet(this.m_oCleFiltre,this.m_nCompteur,!1):this.m_oCible.oGetValeurDirect(this.m_nCompteur,this.m_bAscendant),this.m_oValeurComplet!==undefined};WDIterateurTableauAssociatif.prototype.oGetValeur=function(){return this.m_oValeurComplet.m_oValeur};WDIterateurTableauAssociatif.prototype.oGetCle=function(){return this.m_oValeurComplet.m_oCle};WDIterateurTableauAssociatif.prototype.SetValeur=function(n){this.m_oValeurComplet.m_oValeur=n};WDIterateurChaine.prototype=new WDIterateurTableau;WDIterateurChaine.prototype.constructor=WDIterateurChaine;WDIterateurChaine.prototype.oGetCle=function(){var n=this.__nGetCompteurReel();return 0==n?1:this.m_oCible.slice(0,n).join("").length+n*this.m_sSeparateur.length+1};WDIterateurChainePosition.prototype=new WDIterateurTableau;WDIterateurChainePosition.prototype.constructor=WDIterateurChaine;WDIterateurChainePosition.prototype.ms_nDepuisFin=1;WDIterateurChainePosition.prototype.ms_nMotComplet=2;WDIterateurChainePosition.prototype.ms_nSansCasse=4;WDIterateurChainePosition.prototype.ms_oDebutFinMot=new RegExp("\\W","");WDIterateurTableZRNavigateur.prototype=new WDIterateur;WDIterateurTableZRNavigateur.prototype.constructor=WDIterateurTableZRNavigateur;WDIterateurTableZRNavigateur.prototype._vbSuivant=function(){var n;return this.m_bSelectionne?this.m_nCompteur<this.m_oCible.SelectOccurrence()&&(n=this.m_oCible.Select(this.m_nCompteur+1)-1):this.m_nCompteur<this.m_oCible.Occurrence()&&(n=this.m_nCompteur),undefined!==n?(this.m_oCible.ForceSelection(n),!0):!1};WDIterateurTableZRNavigateur.prototype._vLibere=function(){this.m_oCible.ForceSelection(this.m_nForceSelectionInitial)};WDIterateurTableZRNavigateur.prototype.oGetValeur=function(){return this.m_oCible.GetValeur()};WDIterateurTableZRNavigateur.prototype.oGetCle=function(){return this.m_nCompteur+1};WDIterateurListeCombo.prototype=new WDIterateur;WDIterateurListeCombo.prototype.constructor=WDIterateurTableZRNavigateur;WDIterateurListeCombo.prototype._vbSuivant=function(){return this.m_nCompteur<this.m_nOccurrence?(this.m_oCible.selectedIndex=this._oGetValeur(),!0):!1};WDIterateurListeCombo.prototype._vLibere=function(){var n=this.m_oCible,t=n.options;n.selectedIndex=-1;clWDUtil.bForEach(this.m_tabSelection,function(n){return t[n].selected=!0,!0})};WDIterateurListeCombo.prototype._oGetValeur=function(){return this.m_bSelectionne?this.m_tabSelection[this.m_nCompteur]:this.m_nCompteur};WDIterateurListeCombo.prototype.oGetValeur=function(){return this._oGetValeur()+1};WDIterateurListeCombo.prototype.oGetCle=function(){return this.m_nCompteur+1};clWLangage={};clWLangage.sConcatSeparateur=function(n,t,i){return t=""+t,undefined!==n?(n=""+n,0==n.length?t="":t.length<=n.length&&t==n.substring(n.length-t.length)&&(t="")):n="",undefined!==i?(i=""+i,0==i.length?t="":t.length<=i.length&&t==i.substring(0,t.length)&&(t="")):i="",n+t+i};clWLangage.sSelonInline=function(n){for(var r=arguments.length-2,i,t=1;t<=r;t++)if(n==t)return arguments[t];if(i=arguments[arguments.length-1],undefined!==i)return i;throw new WDErreur(200,n,r);};clWLangage.sDateSys=function(){return clWDUtil.sGetDateHeureWL(new Date,!1,!0,!1)};clWLangage.sHeureSys=function(){return clWDUtil.sGetDateHeureWL(new Date,!1,!1,!0)};clWLangage.__xnDateHeureDifference=function(n,t,i,r){return this.__xnGetJSFromWL(t,i,r)-this.__xnGetJSFromWL(n,i,r)};clWLangage.__xoGetDHFromWL=function(n,t,i){return new this.WDDateHeure(t,i,n,undefined,!1)};clWLangage.__xoGetJSFromWL=function(n,t,i){return this.__xoGetDHFromWL(n,t,i).m_oValeur};clWLangage.__xnGetJSFromWL=function(n,t,i){return this.__xoGetJSFromWL(n,t,i).getTime()};clWLangage.nDateDifference=function(n,t){var i=this.__xnDateHeureDifference(n,t,!0,!1)/864e5,r=clWDUtil.oArrondi(i);return r};clWLangage.nDateHeureDifference=function(n,t){return clWLangage.__sDureeVersChaine(new this.WDDuree(this.__xnDateHeureDifference(n,t,!0,!0)),"+/-JJJJJJJHHMMSSLL")};clWLangage.nHeureDifference=function(n,t){return clWDUtil.nArrondiVersZero(this.__xnDateHeureDifference(n,t,!1,!0)/10)};clWLangage.ms_oFormatDate=new RegExp("^\\d{8}$","");clWLangage.ms_tabNbJoursDansMois=[31,28,31,30,31,30,31,31,30,31,30,31];clWLangage.bDateValide=function(n){var u=String(n),t,i,r,f;return null==this.ms_oFormatDate.exec(u)?!1:(t=parseInt(u.substr(0,4),10),t<1||9999<t)?!1:(i=parseInt(u.substr(4,2),10),i<1||12<i)?!1:(r=parseInt(u.substr(6,2),10),f=this.ms_tabNbJoursDansMois[i-1],2==i&&2==i&&0==t%4&&(0!=t%100||0==t%400)&&f++,r<1||f<r)?!1:1582==t&&10==i&&5<=r&&r<=14?!1:!0};clWLangage.ms_oDateHeureDefaut=null;clWLangage.DateHeureParDefaut=function(n,t){clWLangage.ms_oDateHeureDefaut=undefined!==n&&undefined!==t?{m_sDate:String(n),m_sHeure:String(t)}:null};clWLangage.m_tabDureeVersChaineFormat=function(){function e(n){return 0<=n.m_nValeur?"+":"-"}function f(n){return 0<=n.m_nValeur?"":"-"}function o(t){return n(t,2,7)}function s(n){return r(n,2)}function h(t){return n(t,3,2)}function c(t){return n(t,3,1)}function l(t){return n(t,4,2)}function a(t){return n(t,4,1)}function v(t){return n(t,5,2)}function y(t){return n(t,5,1)}function p(t){return n(t,6,3)}function w(t){return n(t,6,1)}function b(n){return clWDUtil.sCompleteEntier(Math.floor(r(n,6)/10),2)}function r(n,t){return Math.abs(n.GetProp(t))}function n(n,t,i){return clWDUtil.sCompleteEntier(r(n,t),i)}function u(n,t){if(0<n.length){switch(n.charAt(n.length-1)){case"+":break;case"-":t.m_nValeur=-t.m_nValeur;break;default:throw new WDErreur(204);}return n.substr(0,n.length-1)}return n}function k(n,i){return t(n,i,7,864e5)}function d(n,t){for(var r=864e5,i;0<n.length;){if(i=parseInt(n.charAt(n.length-1),10),isNaN(i))break;else t.m_nValeur+=i*r,r*=10;n=n.substr(0,n.length-1)}return n}function g(n,i){return t(n,i,2,36e5)}function nt(n,t){return i(n,t,2,36e5)}function tt(n,i){return t(n,i,2,6e4)}function it(n,t){return i(n,t,2,6e4)}function rt(n,i){return t(n,i,2,1e3)}function ut(n,t){return i(n,t,2,1e3)}function ft(n,i){return t(n,i,3,1)}function et(n,t){return i(n,t,3,1)}function ot(n,i){return t(n,i,2,10)}function t(n,t,i,r){return n=clWDUtil.sCompleteEntier(n,i),t.m_nValeur+=parseInt(n.substr(n.length-i),10)*r,n.substr(0,n.length-i)}function i(n,t,i,r){var f,u;for(n=clWDUtil.sCompleteEntier(n,i),f=0,u=1;u<=i;u++)if(String(parseInt(n.substr(n.length-u),10)).length==u)f=u;else break;if(0==f)throw new WDErreur(204);return t.m_nValeur+=parseInt(n.substr(n.length-f),10)*r,n.substr(0,n.length-f)}return[[["+1","+2","+3","+4","+5"],f,u],[["+/-"],e,u],[["+"],f,u],[["JJJJJJJ"],o,k],[["J","D"],s,d],[["HH"],h,g],[["H"],c,nt],[["MM"],l,tt],[["M"],a,it],[["SS"],v,rt],[["S"],y,ut],[["LLL","CCC"],p,ft],[["00C"],w,et],[["LL","CC"],b,ot]]}();clWLangage.__sCorrigeFormatDureePourConstantes=function(n){switch(n){case 0:return"+JHHMMSSLLL";case 1:return"+JHHMMSSLL";default:return n}};clWLangage.__sDureeVersChaine=function(n,t){var r=clWDUtil.__tabParseFormat(t,this.m_tabDureeVersChaineFormat,!1),i=[];return clWDUtil.bForEach(r,function(t){switch(typeof t){case"string":i.push(t);break;case"function":i.push(t(n))}return!0}),i.join("")};clWLangage.sDureeVersChaine=function(n,t){return t=this.__sCorrigeFormatDureePourConstantes(t),this.__sDureeVersChaine(new this.WDDuree(n),t)};clWLangage.sChaineVersDuree=function(n,t){var i,f,e,u,r;if(n instanceof this.WDDuree)return n;for(i=String(n),t=this.__sCorrigeFormatDureePourConstantes(t),f=clWDUtil.__tabParseFormat(t,this.m_tabDureeVersChaineFormat,!0,!0),i=clWDUtil.sSupprimeEspaces(i),e=new this.WDDuree(undefined),u=f.length-1;0<=u;u--){r=f[u];switch(typeof r){case"string":if(r.length<=i.length)i=i.substr(0,i.length-r.length);else return null;break;case"function":try{i=r(i,e)}catch(o){if(clWDUtil.bCatch(o))return null;throw o;}}}return e};clWLangage.nDateVersEntier=function(n){return this.__xoGetDHFromWL(n,!0,!1).toNumber()};clWLangage.nHeureVersEntier=function(n){return this.__xoGetDHFromWL(n,!1,!0).toNumber()};clWLangage.sEntierVersDate=function(n,t){var r=this.__xoGetDHFromWL(n,!0,!1),i=r.m_oValeur;switch(t){case"A":case"Y":return clWDUtil.sCompleteEntier(i.getFullYear(),4);case"M":return clWDUtil.sCompleteEntier(i.getMonth()+1,2);case"J":case"D":return clWDUtil.sCompleteEntier(i.getDate(),2);default:return r.toString()}};clWLangage.sEntierVersHeure=function(n){return this.__xoGetDHFromWL(n,!1,!0).toString().substr(0,8)};clWLangage.__xnEntierVersJour=function(n){return this.__xoGetJSFromWL(n,!0,!1).getDay()};clWLangage.nEntierVersJour=function(n){var t=this.__xnEntierVersJour(n);return t==0?7:t};clWLangage.sEntierVersJourEnLettres=function(n){return clWDUtil.sGetJourSemaine(this.__xnEntierVersJour(n))};clWLangage.nEntierVersMoisEnLettres=function(n){return clWDUtil.sGetMois(this.__xoGetJSFromWL(n,!0,!1).getMonth())};clWLangage.nNumeroDeSemaine=function(n){var f=this.__xoGetDHFromWL(n,!0,!1),i=new this.WDDateHeure(!0,!1,f,undefined,!1),u;i.SetProp(2,1);i.SetProp(1,1);var e=i.toNumber(),r=f.toNumber()-e,t=(e+657071)%7;switch(t){case 0:t=7;case 5:case 6:return u=8-t,r>=u?Math.floor((r-u)/7)+1:0;case 1:case 2:case 3:case 4:return Math.floor((r+t-1)/7)+1}};clWLangage.WDDateHeure=function(){"use strict";var n=function(n,t,i,r,u){if(arguments.length)if(this.m_bDate=n,this.m_bHeure=t,this.m_sValeurInvalide=null,undefined!==r)this.m_oValeur=r;else{if(this.m_oValeur=new Date,undefined===i){var f=clWLangage.ms_oDateHeureDefaut;null!==f&&(i="",n&&(i+=f.m_sDate),t&&(i+=f.m_sHeure))}undefined!==i&&this.__SetValeur(i,u);t||this.m_oValeur.setHours(0,0,0,0)}};return n.prototype.__toString=function(){return clWDUtil.sGetDateHeureWL(this.m_oValeur,!1,this.m_bDate,this.m_bHeure)},n.prototype.toString=function(){return""===this.m_sValeurInvalide?this.m_sValeurInvalide:(this._xDateValide(),this.__toString())},n.prototype.toStringAvecInvalide=function(){return this.bDateValide()?this.__toString():this.m_sValeurInvalide},n.prototype.toNumber=function(){this._xDateValide();var n=this.m_oValeur;return this.m_bDate&&this.m_bHeure?0:this.m_bDate?Math.floor((n.getTime()-n.getTimezoneOffset()*6e4)/864e5)+62092:this.m_bHeure?clWDUtil.nArrondiVersZero((n.getHours()*36e5+n.getMinutes()*6e4+n.getSeconds()*1e3+n.getMilliseconds())/10):void 0},n.prototype.toJSON=n.prototype.toString,n.prototype.bDateValide=function(){return null===this.m_sValeurInvalide},n.prototype._xDateValide=function(){if(!this.bDateValide())throw new WDErreur(204);},n.prototype.__oAdditionOffset=function(t){this.m_bDate&&this.m_bHeure||(this.m_bDate?t=clWDUtil.nArrondiVersZero(t/864e5)*864e5:this.m_bHeure&&(t-=clWDUtil.nArrondiVersZero(t/864e5)*864e5));var i=new n(this.m_bDate,this.m_bHeure);return i.m_oValeur.setTime(this.m_oValeur.getTime()+t),i},n.prototype.__xoAdditionOffset=function(n){return this._xDateValide(),this.__oAdditionOffset(n)},n.prototype.oAdditionDuree=function(n){return this.__xoAdditionOffset(n.m_nValeur)},n.prototype.oSoustractionDate=function(n){return this._xDateValide(),n._xDateValide(),new clWLangage.WDDuree(this.m_oValeur.getTime()-n.m_oValeur.getTime()-(this.m_oValeur.getTimezoneOffset()-n.m_oValeur.getTimezoneOffset())*6e4)},n.prototype.oSoustractionDuree=function(n){return this.__xoAdditionOffset(-n.m_nValeur)},n.prototype.GetProp=function(t){this._xDateValide();switch(t){case 0:return this.m_bDate?this.m_oValeur.getFullYear():0;case 1:return this.m_bDate?this.m_oValeur.getMonth()+1:0;case 2:return this.m_bDate?this.m_oValeur.getDate():0;case 3:return this.m_bHeure?this.m_oValeur.getHours():0;case 4:return this.m_bHeure?this.m_oValeur.getMinutes():0;case 5:return this.m_bHeure?this.m_oValeur.getSeconds():0;case 6:return this.m_bHeure?this.m_oValeur.getMilliseconds():0;case 7:return new n(!0,!1,undefined,this.m_oValeur,!1);case 8:return new n(!1,!0,undefined,this.m_oValeur,!1);default:return null}},n.prototype.__SetProp=function(t,i,r){this._xDateValide();var u,f;switch(t){case 0:u=this.m_oValeur.getDate();this.m_oValeur.setFullYear(this.__nGetValeurDansBornes(i,0,9999,r));break;case 1:u=this.m_oValeur.getDate();this.m_oValeur.setMonth(this.__nGetValeurDansBornes(i,1,12,r)-1);break;case 2:f=this.m_oValeur.getMonth();this.m_oValeur.setDate(this.__nGetValeurDansBornes(i,1,31,r));r&&f!=this.m_oValeur.getMonth()&&this.m_oValeur.setDate(0);break;case 3:this.m_oValeur.setHours(this.__nGetValeurDansBornes(i,0,23,r));break;case 4:this.m_oValeur.setMinutes(this.__nGetValeurDansBornes(i,0,59,r));break;case 5:this.m_oValeur.setSeconds(this.__nGetValeurDansBornes(i,0,59,r));break;case 6:this.m_oValeur.setMilliseconds(this.__nGetValeurDansBornes(i,0,999,r));break;case 7:new n(!0,!1,undefined,this.m_oValeur,!1).SetValeur(i);break;case 8:new n(!1,!0,undefined,this.m_oValeur,!1).SetValeur(i)}undefined!==u&&this.m_oValeur.getDate()!=u&&this.m_oValeur.setDate(0)},n.prototype.__nGetValeurDansBornes=function(n,t,i,r){if(n=parseInt(n,10),r){if(n<t)return t;if(i<n)return i}return n},n.prototype.SetProp=function(n,t){this.__SetProp(n,t,!0)},n.prototype.SetPropCombine=function(n,t){this.__SetProp(n,t,!1)},n.prototype.SetValeur=function(n){this.__SetValeur(n,!1)},n.prototype.__SetValeur=function(n,t){this.m_sValeurInvalide=null;var i=!0;switch(typeof n){case"string":i=this.__bSetValeurChaine(n);break;case"number":i=this.__bSetValeurNombre(n);break;case"object":switch(clWDUtil.oGetTypeEntendu(n)){case 5:case 9:case 13:i=this.__bSetValeurNombre(n.toNumber());break;default:i=this.__bSetValeurObjet(n)}}if(!i)if(t||""===n)this.m_sValeurInvalide=n+"";else throw new WDErreur(204);},n.prototype.__bSetValeurChaine=function(n){if(clWDUtil.bSetDateHeureFromWL(this.m_oValeur,n,!1,this.m_bDate,this.m_bHeure,1)){var t=n;if(this.m_bHeure&&(t=clWDUtil.sCompleteChaine(t,this.m_bDate?17:9,"0")),t==this.toString())return!0}return!1},n.prototype.__bSetValeurNombre=function(n){var t,i;if(this.m_bDate&&this.m_bHeure)return!1;if(t=this.m_oValeur,this.m_bDate)return i=t.getHours()*36e5+t.getMinutes()*6e4+t.getSeconds()*1e3+t.getMilliseconds(),t.setTime((n-62092)*864e5+i),!0;if(this.m_bHeure){if(864e4<=n)return!1;t.setHours(Math.floor(n/36e4),Math.floor(n%36e4/6e3),Math.floor(n%6e3/100),n%100*10)}return!0},n.prototype.__bSetValeurObjet=function(t){var i;if(t instanceof Date)i=t;else if(t instanceof n)i=t.m_oValeur,this.m_sValeurInvalide=t.m_sValeurInvalide;else return!1;return this.m_bDate&&this.m_bHeure?this.m_oValeur.setTime(i.getTime()):this.m_bDate?this.m_oValeur.setFullYear(i.getFullYear(),i.getMonth(),i.getDate()):this.m_bHeure&&this.m_oValeur.setHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),this.bDateValide()},n}();clWLangage.WDDuree=function(){"use strict";var n=function(n){this.m_nValeur=0;undefined!==n&&this.SetValeur(n)};return n.prototype.toString=function(){return clWLangage.__sDureeVersChaine(this,"+JHHMMSSLLL")},n.prototype.toJSON=n.prototype.toString,n.prototype.oAdditionDuree=function(t){return new n(this.m_nValeur+t.m_nValeur)},n.prototype.oAdditionEntier=function(t){return new n(this.m_nValeur+t)},n.prototype.oSoustractionDuree=function(t){return new n(this.m_nValeur-t.m_nValeur)},n.prototype.oMultiplicationNombre=function(t){return new n(this.m_nValeur*t)},n.prototype.fDivisionDuree=function(n){return this.m_nValeur/n.m_nValeur},n.prototype.oDivisionNombre=function(t){return new n(this.m_nValeur/t)},n.prototype.GetProp=function(n){switch(n){case 2:return this.__GetPropComposante(0);case 3:return this.__GetPropComposante(1);case 4:return this.__GetPropComposante(2);case 5:return this.__GetPropComposante(3);case 6:return this.__GetPropComposante(4);case 28:return this.__GetPropEnComposante(864e5);case 29:return this.__GetPropEnComposante(36e5);case 30:return this.__GetPropEnComposante(6e4);case 31:return this.__GetPropEnComposante(1e3);case 32:return new clWLangage.WDI8(this.m_nValeur);default:return null}},n.prototype.__GetPropComposante=function(n){return this.__tabGetDecompose()[n]},n.prototype.__GetPropEnComposante=function(n){return new clWLangage.WDNumerique(this.m_nValeur,38,0).xoDivisionNumerique(new clWLangage.WDNumerique(n,38,0))},n.prototype.SetProp=function(n,t){var r,i,u,f;switch(n){case 2:r=0;break;case 3:r=1;break;case 4:r=2;break;case 5:r=3;break;case 6:r=4;break;case 28:i=864e5;break;case 29:i=36e5;break;case 30:i=6e4;break;case 31:i=1e3;break;case 32:i=1}undefined!==r?(u=this.__tabGetDecompose(),u[r]=parseInt(t,10),this.__Recompose(u,!1,!1)):undefined!==i&&(f=parseFloat(t)*i,this.m_nValeur=clWDUtil.nArrondiVersZero(f))},n.prototype.SetPropCombine=n.prototype.SetProp,n.prototype.__tabGetDecompose=function(){var t=[0,0,0,0,0],n=this.m_nValeur;return t[4]=n%1e3,n=clWDUtil.nArrondiVersZero(n/1e3),t[3]=n%60,n=clWDUtil.nArrondiVersZero(n/60),t[2]=n%60,n=clWDUtil.nArrondiVersZero(n/60),t[1]=n%24,n=clWDUtil.nArrondiVersZero(n/24),t[0]=n,t},n.prototype.__Recompose=function(n,t,i){if(i&&(n[1]<0||24<=n[1]||n[2]<0||60<=n[2]||n[3]<0||60<=n[3]||n[4]<0||1e3<=n[4]))throw new WDErreur(204);this.m_nValeur=n[0]*864e5+n[1]*36e5+n[2]*6e4+n[3]*1e3+n[4];t&&(this.m_nValeur=-this.m_nValeur)},n.prototype.SetValeur=function(n){var t=!0;switch(typeof n){case"string":t=this.__bSetValeurChaine(n);break;case"number":t=this.__bSetValeurNombre(n);break;case"object":switch(clWDUtil.oGetTypeEntendu(n)){case 5:case 9:case 13:t=this.__bSetValeurNombre(n.toNumber());break;default:t=this.__bSetValeurObjet(n)}}if(!t)throw new WDErreur(204);},n.prototype.__bSetValeurChaine=function(n){var t,i;n+="";t=!1;switch(n.charAt(0)){case"+":n=n.substr(1);break;case"-":n=n.substr(1);t=!0}return parseInt(n,10)!=n?!1:(n=clWDUtil.sCompleteEntier(n,10),i=[parseInt(n.substr(0,n.length-9),10),parseInt(n.substr(n.length-9,2),10),parseInt(n.substr(n.length-7,2),10),parseInt(n.substr(n.length-5,2),10),parseInt(n.substr(n.length-3),10)],this.__Recompose(i,t,!0),!0)},n.prototype.__bSetValeurNombre=function(n){return this.SetProp(32,n),!0},n.prototype.__bSetValeurObjet=function(t){if(t instanceof n)this.m_nValeur=t.m_nValeur;else return!1;return!0},n}();clWLangage.WDNumeriqueBase=function(){"use strict";function n(n,i,r,u){var f,e,o;if(arguments.length&&(this.m_nPrecision=i,this.m_nEchelle=r,e=n instanceof clWLangage.WDNumeriqueBase,undefined!==n&&e&&(f=n.m_oData.oGetCopie(),0!=i?r<n.m_nEchelle?f.bDivPuissance10(n.m_nEchelle-r):n.m_nEchelle<r&&f.bMulPuissance10(r-n.m_nEchelle):(this.m_nPrecision=n.m_nPrecision,this.m_nEchelle=n.m_nEchelle)),this.m_oData=new t(this.vnGetNbBitsTotal(),u,f),undefined!==n&&!e)){switch(typeof n){case"boolean":o=n?"1":"0";break;default:o=n.toString()}this.__SetValeurChaine(o)}}var t=function(){function n(n,t,i){this.m_bSigne=t;this.m_tabData=new Array(Math.ceil(n/this.ms_nNbBitsParValeur));undefined!==i?this.CopieDepuis(i):this.SetZero()}return n.prototype.ms_nNbBitsParValeur=16,n.prototype.ms_nNbOctetsParElement=n.prototype.ms_nNbBitsParValeur/8,n.prototype.ms_nMaxPourBits=65535,n.prototype.ms_nMasquePourDecalageGauche=32767,n.prototype.ms_nHighBit=32768,n.prototype.ms_nHighBitIntermediaire=128,n.prototype.ms_nPuissance10Max=4,n.prototype.oGetCopie=function(){return new n(this.nGetNbBitsTotal(),this.m_bSigne,this)},n.prototype.CopieDepuis=function(n,t){var r,u,i;for(r=undefined===t?n.m_tabData.length:Math.floor(t/this.ms_nNbOctetsParElement),n.bEstNegatif(t)?this.SetMoins1():this.SetZero(),u=Math.min(this.m_tabData.length,r),i=0;i<u;i++)this.m_tabData[i]=n.m_tabData[i]},n.prototype.nGetNbBitsTotal=function(){return this.m_tabData.length*this.ms_nNbBitsParValeur},n.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},n.prototype.nAddData=function(n){for(var i=0,t=0;t<this.m_tabData.length;t++)i=this.__nAffecteAvecRetenue(this.m_tabData[t]+n.m_tabData[t]+i,t);return i},n.prototype.nSubEntier=function(n){return this.nAddEntier(-n)},n.prototype.nSubData=function(n){return this.nAddData(n.oGetCopie().oOpposee())},n.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},n.prototype.oMulData=function(t){for(var u,i,e,r=new n(Math.max(this.nGetNbBitsTotal(),t.nGetNbBitsTotal())*2,this.m_bSigne||t.m_bSigne,undefined),f=t.m_tabData.length-1;0<=f;f--){for(u=0,r.m_tabData.unshift(0),e=r.m_tabData.pop(),i=0;i<this.m_tabData.length;i++)u=r.__nAffecteAvecRetenue(this.m_tabData[i]*t.m_tabData[f]+u+r.m_tabData[i],i);for(;i<r.m_tabData.length&&u!=0;i++)u=r.__nAffecteAvecRetenue(u+r.m_tabData[i],i)}return r},n.prototype.bMulPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,this.ms_nPuissance10Max),t=this.bMulEntier(Math.pow(10,i))&&t,n-=i;return t},n.prototype.nMulPuissance10Max=function(){for(var n=0,t;0==this.m_tabData[this.m_tabData.length-1];)this.bMulPuissance10(this.ms_nPuissance10Max),n+=this.ms_nPuissance10Max;for(t=this.oGetCopie();;)if(t.bMulPuissance10(1))n++,this.CopieDepuis(t);else break;return n},n.prototype.nDivEntier=function(n){return this.nDivEntierAvecReste(n,this.bEstNegatif()?n-1:0)},n.prototype.nDivEntierAvecReste=function(n,t){for(var r,i=this.m_tabData.length-1;0<=i;i--)r=(t<<this.ms_nNbBitsParValeur)+this.m_tabData[i],t=r%n,this.m_tabData[i]=clWDUtil.nArrondiVersZero(r/n);return t},n.prototype.oDivData=function(t){var u,f,i;var r=new n(t.nGetNbBitsTotal(),this.m_bSigne||t.m_bSigne,undefined),e=this.nGetNbBitsTotal(),o=t.oGetCopie().oOpposee();for(u=0;u<e;u++){for(r.__nUnDecalageGauche(this.__nUnDecalageGauche(0)),f=!0,i=r.m_tabData.length-1;0<=i;i--)if(r.m_tabData[i]>t.m_tabData[i])break;else if(r.m_tabData[i]<t.m_tabData[i]){f=!1;break}f&&(this.m_tabData[0]+=1,r.nAddData(o))}return r},n.prototype.bDivPuissance10=function(n){for(var t=!0,i;0<n;)i=Math.min(n,this.ms_nPuissance10Max),t=0==this.nDivEntier(Math.pow(10,i))&&t,n-=i;return t},n.prototype.oOpposee=function(){for(var n=this.m_tabData.length-1;0<=n;n--)this.m_tabData[n]^=this.ms_nMaxPourBits;return this.nAddEntier(1),this},n.prototype.oAbsolue=function(){return this.bEstNegatif()&&this.oOpposee(),this},n.prototype.SetZero=function(){this.__SetValeurUniforme(0)},n.prototype.SetMoins1=function(){this.__SetValeurUniforme(this.ms_nMaxPourBits)},n.prototype.bConvert=function(n,t){return n==t?!0:t<n?(this.bDivPuissance10(n-t),!0):this.bMulPuissance10(t-n)},n.prototype.oGetMoitie=function(n){var t=this.oGetCopie(),i=Math.floor(t.m_tabData.length/2);return t.m_tabData.splice(n?0:i,i),t},n.prototype.oSet10Puissance=function(n){return this.SetZero(),this.m_tabData[0]+=1,this.bMulPuissance10(n),this},n.prototype.nAjusteEchelle=function(n,t){for(var r=Math.floor(this.m_tabData.length/2),i=this.m_tabData.length-1;i>=r;i--)while(this.m_tabData[i]&&0<n)i>r?(this.bDivPuissance10(this.ms_nPuissance10Max),n-=this.ms_nPuissance10Max):(this.bDivPuissance10(1),n--);return 0!=(this.m_tabData[r-1]&this.ms_nHighBit)&&0<n&&(this.bDivPuissance10(1),n--),t<n&&(this.bDivPuissance10(n-t),n=t),n},n.prototype.bEstZero=function(){return this.__bEstValeurUniforme(0)},n.prototype.bEstMoins1=function(){return this.__bEstValeurUniforme(this.ms_nMaxPourBits)},n.prototype.bEstNegatif=function(n){if(!this.m_bSigne)return!1;var t=this.ms_nHighBit;return undefined===n?n=this.m_tabData.length-1:(0==n%this.ms_nNbOctetsParElement&&(t=this.ms_nHighBitIntermediaire),n=Math.floor(n/this.ms_nNbOctetsParElement)),!!(this.m_tabData[n]&t)},n.prototype.bEstPair=function(){return clWDUtil.bEstPair(this.m_tabData[0])},n.prototype.nGetNeededNbOctets=function(){var i=this.m_tabData.length*this.ms_nNbOctetsParElement,n,t;if(this.bEstNegatif()){for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/this.ms_nNbOctetsParElement)],65280!=(t&65280))break;if(n--,255!=(t&255))break}(0==n||0==(this.m_tabData[Math.floor(n/this.ms_nNbOctetsParElement)]&128<<16*(n%2)))&&n++}else{for(n=i-1;0<=n;n--){if(t=this.m_tabData[Math.floor(n/this.ms_nNbOctetsParElement)],0!=(t&65280))break;if(n--,0!=(t&255))break}0!=(this.m_tabData[Math.floor(n/this.ms_nNbOctetsParElement)]&128<<16*(n%2))&&n++}return n++,n},n.prototype.__SetValeurUniforme=function(n){for(var t=this.m_tabData.length-1;0<=t;t--)this.m_tabData[t]=n},n.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},n.prototype.__nUnDecalageGauche=function(n){for(var i,t=0;t<this.m_tabData.length;t++)i=0!=(this.m_tabData[t]&this.ms_nHighBit)?1:0,this.m_tabData[t]=((this.m_tabData[t]&this.ms_nMasquePourDecalageGauche)<<1)+n,n=i;return n},n.prototype.__nAffecteAvecRetenue=function(n,t){return this.m_tabData[t]=n&this.ms_nMaxPourBits,n>>>this.ms_nNbBitsParValeur},n}();return n.prototype.ms_sBase="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",n.prototype.toString=function(n){var s,o,h,u;n=n||10;var t=[],i=this.m_oData.oGetCopie(),r=this.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(this.ms_sBase.charAt(o)),f=!1),s){if(1<t.length)for(h=t[t.length-2],u=0,u=0;u<n;u++)if(h==this.ms_sBase.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("")},n.prototype.toNumber=function(){return parseFloat(this.toString())},n.prototype.toJSON=n.prototype.toNumber,n.prototype.bEstEntier=function(){return 0==this.m_nEchelle?!0:this.m_oData.oGetCopie().bDivPuissance10(this.m_nEchelle)},n.prototype.bEstNegatif=function(){return this.m_oData.bEstNegatif()},n.prototype.oAdditionNumerique=function(n){var r,u,i,f,t,e,o;return this.m_nEchelle>n.m_nEchelle?(r=this,u=n):(r=n,u=this),i=r.m_nEchelle,t=u.m_oData.oGetCopie(),t.bConvert(u.m_nEchelle,i)?f=r.m_oData:(i=u.__nGetEchelleMaximale(r),t=u.m_oData.oGetCopie(),t.bConvert(u.m_nEchelle,i),f=r.m_oData.oGetCopie(),f.bConvert(r.m_nEchelle,i)),e=t.bEstNegatif(),o=t.nAddData(f),f.bEstNegatif()==e&&t.bEstNegatif()!=e&&0<i&&(i--,0!=t.nDivEntierAvecReste(10,o?9:0)),this.__oCreeResultat(n).__oSetData(this.vnGetPrecisionMaximale(),i,t)},n.prototype.oSoustractionNumerique=function(n){var t;return t=n instanceof clWLangage.WDI8?new clWLangage.WDI8(n):n instanceof clWLangage.WDUI8?new clWLangage.WDUI8(n):new clWLangage.WDNumerique(n,n.m_nPrecision,n.m_nEchelle),t.m_oData.oOpposee(),this.oAdditionNumerique(t)},n.prototype.oMultiplicationNumerique=function(n){var t=this.__oCreeResultat(n);if(!this.m_oData.bEstZero()&&!n.m_oData.bEstZero()){var r=this.bEstNegatif()!=n.bEstNegatif(),u=this.m_oData.oGetCopie().oAbsolue(),f=n.m_oData.oGetCopie().oAbsolue(),i=u.oMulData(f),e=i.nAjusteEchelle(this.m_nEchelle+n.m_nEchelle,this.vnGetPrecisionMaximale());t.__oSetData(this.vnGetPrecisionMaximale(),e,i.oGetMoitie(!1));r&&t.m_oData.oOpposee()}return t},n.prototype.xoDivisionNumerique=function(n){var i=this.__oCreeResultat(n,!0);if(n.m_oData.bEstZero())throw new WDErreur(216);else if(!this.m_oData.bEstZero()){var f=this.bEstNegatif()!=n.bEstNegatif(),u=this.m_oData.oGetCopie().oAbsolue(),e=n.m_oData.oGetCopie().oAbsolue(),r=new t(this.vnGetNbBitsTotal()*2,u.m_bSigne,u),o=r.nMulPuissance10Max(),s=r.oDivData(e),h=r.nAjusteEchelle(o+this.m_nEchelle-n.m_nEchelle,this.vnGetPrecisionMaximale());i.__oSetData(this.vnGetPrecisionMaximale(),h,r.oGetMoitie(!1));f&&(i.m_oData.oOpposee(),s.bEstZero()||i.m_oData.nSubEntier(1))}return i},n.prototype.xoModuloNumerique=function(n){var i=this.__oCreeResultat(n),f,r,u,e;if(n.m_oData.bEstZero())throw new WDErreur(216);else this.m_oData.bEstZero()||(f=this.bEstNegatif(),r=new t(this.vnGetNbBitsTotal()*2,this.m_oData.m_bSigne,this.m_oData).oAbsolue(),r.bDivPuissance10(this.m_nEchelle),u=new t(this.vnGetNbBitsTotal(),n.m_oData.m_bSigne,n.m_oData).oAbsolue(),u.bDivPuissance10(n.m_nEchelle),e=r.oDivData(u),i.__oSetData(this.vnGetPrecisionMaximale(),0,e),f&&i.m_oData.oOpposee());return i},n.prototype.oAbsolue=function(){return this.__oCreeResultat().__oSetData(this.vnGetPrecisionMaximale(),this.m_nEchelle,this.m_oData.oGetCopie().oAbsolue())},n.prototype.oArrondi=function(n){var t=this.m_oData.oGetCopie(),i,r;return n<this.m_nEchelle?(t.oAbsolue(),n+1<this.m_nEchelle&&t.bDivPuissance10(this.m_nEchelle-n-1),r=t.nDivEntier(10),5<=r&&t.nAddEntier(1),this.bEstNegatif()&&t.oOpposee(),i=n):i=this.m_nEchelle,this.__oCreeResultat().__oSetData(this.vnGetPrecisionMaximale(),i,t)},n.prototype.nArrondiVersZero=function(){var n=this.m_oData.oGetCopie(),t=n.bDivPuissance10(this.m_nEchelle);return!t&&this.bEstNegatif()&&n.nAddEntier(1),this.__oCreeResultat().__oSetData(this.vnGetPrecisionMaximale(),0,n)},n.prototype.bEstPair=function(){return this.oPartieEntiere().m_oData.bEstPair()},n.prototype.nLog10Arrondi=function(){var t,n=this.m_oData.oGetCopie();if(n.bDivPuissance10(this.m_nEchelle),n.bEstZero()){t=0;do t--,n=this.m_oData.oGetCopie(),n.bDivPuissance10(this.m_nEchelle- -t);while(n.bEstZero())}else for(t=-1;!n.bEstZero();)n.bDivPuissance10(1),t++;return t},n.prototype.oPartieEntiere=function(){var n=this.m_oData.oGetCopie();return n.bDivPuissance10(this.m_nEchelle),this.__oCreeResultat().__oSetData(this.vnGetPrecisionMaximale(),0,n)},n.prototype.__oCreeResultat=function(n,t){return t||this instanceof clWLangage.WDNumerique||n&&n instanceof clWLangage.WDNumerique?new clWLangage.WDNumerique(undefined,0,0):this instanceof clWLangage.WDI8||n&&n instanceof clWLangage.WDI8?new clWLangage.WDI8(undefined):new clWLangage.WDUI8(undefined)},n.prototype.__oSetData=function(n,t,i){var r,u;return this.__SetPrecision(n),r=this.__nSetEchelle(t),this.vnGetPrecisionMaximale()==this.m_nPrecision?this.m_oData.CopieDepuis(i):0<this.m_nPrecision?this.m_oData.CopieDepuis(i,Math.ceil(this.m_nPrecision/(8*Math.LOG10E/Math.LOG2E))):this.m_oData.SetZero(),u=this.m_oData.bDivPuissance10(r),this},n.prototype.__SetPrecision=function(n){this.m_nPrecision=n},n.prototype.__nSetEchelle=function(n){return this.__nSetEchelleAvecMax(n,this.vnGetEchelleMaximale())},n.prototype.__nSetEchelleAvecMax=function(n,t){var i=0;return t<n&&(i=n-t,n=t),this.m_nPrecision<n&&this.__SetPrecision(n),this.m_nEchelle=n,i},n.prototype.__nGetEchelleMaximale=function(n){var t=this.m_nEchelle+this.vnGetPrecisionMaximale()-this.__nGetPrecisionMinPourNOctet(this.m_oData.nGetNeededNbOctets());return t<this.m_nEchelle&&(t=this.m_nEchelle),n.m_nEchelle<=t&&(t=n.m_nEchelle-1),Math.min(t,this.vnGetEchelleMaximale())},n.prototype.ms_tabNToP_Signe=[0,2,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38],n.prototype.__nGetPrecisionMinPourNOctet=function(n){return this.ms_tabNToP_Signe[n]+1},n.prototype.__SetValeurChaine=function(n){var r=0,s="0".charCodeAt(0),c=!1,f=0,t=0,u,o,h,e,i,l;n=n.replace(/\s/g,"");switch(n.charAt(r)){case"-":c=!0;case"+":r++}for(;;){if(i=n.charCodeAt(r)-s,isNaN(i)||i<0||9<i)break;this.m_oData.bMulPuissance10(1);this.m_oData.nAddEntier(i);f++;r++}switch(n.charAt(r)){case".":case",":for(r++;;){if(i=n.charCodeAt(r)-s,isNaN(i)||i<0||9<i)break;t<this.vnGetEchelleMaximale()&&(this.m_oData.bMulPuissance10(1),this.m_oData.nAddEntier(i),f++,t++);r++}}u=this.vnGetPrecisionMaximale();o=u;0<this.m_nPrecision?(u=Math.min(u,this.m_nPrecision),o=this.m_nEchelle):0<this.m_nEchelle&&(o=this.m_nEchelle);u<f&&(f=u);u<t&&(this.m_oData.bDivPuissance10(t-u),t=u);switch(n.charAt(r)){case"D":case"E":case"d":case"e":r++;h=!1;switch(n.charAt(r)){case"-":h=!0;case"+":r++}for(e=0;;){if(i=n.charCodeAt(r)-s,isNaN(i)||i<0||9<i)break;e*=10;e+=i;r++}h?(t+=e,u<t&&(t=u),f<t&&(f=t)):t<e?(f+=e-t,u<f&&(f=u),this.m_oData.bMulPuissance10(e-t),t=0):t-=e}this.__SetPrecision(f);l=this.m_oData.bDivPuissance10(this.__nSetEchelleAvecMax(t,o));c&&this.m_oData.oOpposee()},n}();clWLangage.WDNumerique=function(){"use strict";function n(n,t,i){arguments.length&&clWLangage.WDNumeriqueBase.prototype.constructor.apply(this,[n,t,i,!0])}return n.prototype=new clWLangage.WDNumeriqueBase,n.prototype.constructor=n,n.prototype.vnGetNbBitsTotal=function(){return 128},n.prototype.vnGetPrecisionMaximale=function(){return 38},n.prototype.vnGetEchelleMaximale=function(){return 38},n}();clWLangage.WDI8Base=function(){"use strict";function n(n,t){arguments.length&&clWLangage.WDNumeriqueBase.prototype.constructor.apply(this,[n,19,0,t])}return n.prototype=new clWLangage.WDNumeriqueBase,n.prototype.constructor=n,n.prototype.vnGetNbBitsTotal=function(){return 64},n.prototype.vnGetPrecisionMaximale=function(){return 19},n.prototype.vnGetEchelleMaximale=function(){return 0},n}();clWLangage.WDI8=function(){"use strict";function n(n){clWLangage.WDI8Base.prototype.constructor.apply(this,[n,!0])}return n.prototype=new clWLangage.WDI8Base,n.prototype.constructor=n,n}();clWLangage.WDUI8=function(){"use strict";function n(n){clWLangage.WDI8Base.prototype.constructor.apply(this,[n,!1])}return n.prototype=new clWLangage.WDI8Base,n.prototype.constructor=n,n}()