// SpryValidationPassword.js - version 0.3 - Spry Pre-Release 1.6.1
//
// Copyright (c) 2007. Adobe Systems Incorporated.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//   * Redistributions of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//   * Redistributions in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//   * Neither the name of Adobe Systems Incorporated nor the names of its
//     contributors may be used to endorse or promote products derived from this
//     software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return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V="3f";3.1W="3p";3.1U="3z";c.22=6.7.t.T(c.22,u);c.K=6.7.t.T(c.K,f);8(c.K)c.K=3.2b(c.K);h O=6.7.t.2Q;c.1z=O(c.1z,f);c.18=O(c.18,f);8(c.18)3.p.2o("3S");c.15=O(c.15,f);c.Y=O(c.Y,f);c.13=O(c.13,f);c.11=O(c.11,f);c.14=O(c.14,f);c.1c=O(c.1c,f);c.12=O(c.12,f);c.1e=O(c.1e,f);8((c.15!==f&&c.Y!==f&&c.15>c.Y)||(c.13!==f&&c.11!==f&&c.13>c.11)||(c.14!==f&&c.1c!==f&&c.14>c.1c)||(c.12!==f&&c.1e!==f&&c.12>c.1e)||(c.11!==f&&c.Y!==f&&c.11>c.Y)||(c.18!==f&&c.15+c.13+c.14+c.12>c.18)){3.2W(\'3x 3O 3N!\');k f}6.7.t.29(3,c);6.7.t.29(3.c,c)};6.7.m.2g=[];6.7.m.2i=f;6.7.m.E.2b=l(x){8(x&&M x=="3M")x=2j.3Q(x);k x};6.7.m.2m=l(P){6.7.m.2i=u;h q=6.7.m.2g;h 17=q.B;J(h i=0;i<17;i++)q[i].2e()};6.7.m.2u=l(P){8(M 1A.V!=\'1g\')1A.V(\'2k\',P,f);I 8(M 2j.V!=\'1g\')2j.V(\'2k\',P,f);I 8(M 1A.1I!=\'1g\')1A.1I(\'3K\',P)};6.7.m.2u(6.7.m.2m);6.7.m.E.19=l(){8(3.H)J(h i=0;i<3.H.B;i++)6.7.t.1R(3.H[i][0],3.H[i][1],3.H[i][2],f);1p{1x 3.n}1k(1G){};1p{1x 3.p}1k(1G){};1p{1x 3.H}1k(1G){};1p{1x 3.c}1k(1G){};h q=6.7.w.R;h 17=q.B;J(h i=0;i<17;i++)8(q[i]==3){q.3B(i,1);2R}};6.7.m.E.2e=l(){8(3.H&&3.H.B>0)k;h 1o=3.H;8(3.p){h N=3;3.p.3A("3J","3y");8(3.G&6.7.m.2c){h 2t=6.D.1a||6.D.1w||6.D.1f?"p":6.D.1j?"3C":"2s";1o.1d([3.p,2t,l(e){8(N.16())k u;k N.X(e||1n)}]);8(6.D.1a||6.D.1f)1o.1d([3.p,"3D",l(e){8(N.16())k u;k N.X(e)}]);I 8(6.D.1j)1o.1d([3.p,"3H",l(e){8(N.16())k u;k N.X(1n)}])}1o.1d([3.p,"2G",l(e){8(N.16())k u;k N.35(e||1n)}]);1o.1d([3.p,"3G",l(e){8(N.16())k u;k N.2K(e||1n)}]);J(h i=0;i<3.H.B;i++)6.7.t.V(3.H[i][0],3.H[i][1],3.H[i][2],f);3.F=6.7.t.2Y(3.p,"3F");8(3.F){8(!3.F.2I&&!3.F.2H){3.F.2H=l(e){e=e||1n;k 6.7.w.28(e,e.2F||e.2D)};3.F.2I=u}8(!3.F.2E){6.7.t.V(3.F,"1O",l(e){h e=e||1n;k 6.7.w.2a(e,e.2F||e.2D)},f);3.F.2E=u}6.7.w.R.1d(3)}}};6.7.m.E.1O=l(){3.S(3.n,\'\');3.S(3.K,\'\');3.1r(3.n,3.1b);3.1r(3.K,3.1b);8(6.D.1j){3.p.2r=u;3.p.2o("2r")}};6.7.m.E.32=l(e){h o=3.c;8(3.22&&3.p.C==\'\')k 3.1T;8(o.1z>0&&3.p.C.B<o.1z)k 3.1V;8(o.18!==f&&3.p.C.B>o.18)k 3.1W;k u};6.7.m.E.31=l(e){h o=3.c;h C=3.p.C;8(o.15!==f||o.Y!==f){h 20=C.1u(/[^a-z]/34,\'\').B;8((o.Y!==f&&20>o.Y)||(o.15!==f&&20<o.15))k f}8(o.13!==f||o.11!==f){h 23=C.1u(/[^A-Z]/g,\'\').B;8((o.11!==f&&23>o.11)||(o.13!==f&&23<o.13))k f}8(o.12!==f||o.1e!==f){h 25=C.1u(/[^0-9]/g,\'\').B;8((o.1e!==f&&25>o.1e)||(o.12!==f&&25<o.12))k f}8(o.14!==f||o.1c!==f){h 24=C.1u(/[a-3E-9]/34,\'\').B;8((o.1c!==f&&24>o.1c)||(o.14!==f&&24<o.14))k f}k u};6.7.m.E.X=l(e){h 1B=3.32(e);8(1B!==u){3.S(3.n,1B);3.S(3.K,1B);k f}h 2Z=3.31(e);8(2Z!==u){3.S(3.n,3.1y);3.S(3.K,3.1y);k f}8(M 3.c.36==\'l\'){h 30=3.c.36(3.p.C,3.c);8(30!==u){3.S(3.n,3.1U);k f}}3.S(3.n,3.1C);3.S(3.K,3.1C);k u};6.7.m.E.35=l(e){3.1r(3.n,3.1b);3.1r(3.K,3.1b);8(3.G&6.7.m.1S)3.X(e)};6.7.m.E.2K=l(){3.1D(3.n,3.1b);3.1D(3.K,3.1b)};6.7.m.E.S=l(x,y){h 26=[3.1C,3.1T,3.1W,3.1V,3.1y,3.1U];J(h i=0;i<26.B;i++)3.1r(x,26[i]);3.1D(x,y)};6.7.m.E.1D=l(x,y){8(!x||!y||(x.y&&x.y.1v(y)!=-1&&x.y.2X(1F 2f("\\\\b"+y+"\\\\b"))!=-1))k;x.y+=(x.y?" ":"")+y};6.7.m.E.1r=l(x,y){8(!x||!y||(x.y&&x.y.1v(y)!=-1&&x.y.2X(1F 2f("\\\\b"+y+"\\\\b"))==-1))k;x.y=x.y.1u(1F 2f("\\\\s*\\\\b"+y+"\\\\b","g"),"")};6.7.m.E.2O=l(){k 6.D.1j&&6.D.v>=5&&6.D.1E||6.D.1a&&6.D.v>=1.4||6.D.1f||6.D.1w&&6.D.v>=9};6.7.m.E.16=l(){k 3.p&&(3.p.3I||3.p.3R)||!3.p};6.7.m.E.2W=l(2U){3P(\'6.m 3L: \'+2U)};8(!6.7.w)6.7.w={};8(!6.7.w.R)6.7.w.R=[];8(!6.7.w.X){6.7.w.X=l(1M){h 1H=u;h 2h=u;h q=6.7.w.R;h 17=q.B;J(h i=0;i<17;i++)8(!q[i].16()&&q[i].F==1M){2h=q[i].X();1H=2h&&1H}k 1H}};8(!6.7.w.28){6.7.w.28=l(e,F){8(6.7.w.X(F)==f)k f;k u}};8(!6.7.w.2a){6.7.w.2a=l(e,1M){h q=6.7.w.R;h 17=q.B;J(h i=0;i<17;i++)8(!q[i].16()&&q[i].F==1M&&M(q[i].1O)==\'l\')q[i].1O();k u}};8(!6.7.w.19){6.7.w.19=l(F){h q=6.7.w.R;J(h i=0;i<6.7.w.R.B;i++)8(q[i].F==F&&M(q[i].19)==\'l\'){q[i].19();i--}}};8(!6.7.w.2T){6.7.w.2T=l(){h q=6.7.w.R;J(h i=0;i<6.7.w.R.B;i++)8(M(q[i].19)==\'l\'){q[i].19();i--}}};8(!6.7.t)6.7.t={};6.7.t.29=l(2V,1s,2S){8(!1s)k;J(h 1P 3b 1s){8(2S&&1s[1P]==1g)3a;2V[1P]=1s[1P]}};6.7.t.T=l(){h 27=2P;J(h i=0;i<6.7.t.T.2d.B;i++)8(M 6.7.t.T.2d[i]!=\'1g\'){27=6.7.t.T.2d[i];2R}k 27};6.7.t.2Q=l(2M,2L){h C=6.7.t.T(2M,2L);8(C!==f)C=3r(C,10);8(3m(C)||C<0)C=f;k C};6.7.t.2N=l(L,W,1l){h 1m=L.3n(W);h 1Y=[];h j=0;8(1m){J(h i=0;i<1m.B;i++)8(M 1m[i].1l!=\'1g\'&&1m[i].1l.1Q()==1l.1Q()){1Y[j]=1m[i];j++}}k 1Y};6.7.t.2Y=l(L,W){3w(L.1h&&L.1h.W.1J()!=W.1J()&&L.1h.W!=\'3l\')L=L.1h;8(L.1h&&L.1h.W.1J()==W.1J())k L.1h;I k 2P};6.7.t.V=l(n,1i,P,1q){1p{8(n.V)n.V(1i,P,1q);I 8(n.1I)n.1I("33"+1i,P,1q)}1k(e){}};6.7.t.1R=l(n,1i,P,1q){1p{8(n.1R)n.1R(1i,P,1q);I 8(n.37)n.37("33"+1i,P,1q)}1k(e){}};',62,241,'|||this|||Spry|Widget|if||||options|||false||var|||return|function|ValidationPassword|element|opt|input||||Utils|true||Form|ele|className|||length|value|is|prototype|form|validateOn|event_handlers|else|for|additionalError|node|typeof|self|getRealValue|handler|ua|onSubmitWidgetQueue|switchClassName|firstValid|match|addEventListener|nodeName|validate|maxAlphaChars|||maxUpperAlphaChars|minNumbers|minUpperAlphaChars|minSpecialChars|minAlphaChars|isDisabled|qlen|maxChars|destroy|mozilla|focusClass|maxSpecialChars|push|maxNumbers|safari|undefined|parentNode|eventType|ie|catch|type|elements|event|handlers|try|capture|removeClassName|optionsObj|version|replace|indexOf|opera|delete|invalidStrengthClass|minChars|window|vLength|validClass|addClassName|windows|new|err|isValid|attachEvent|toLowerCase|inputs|mac|vform|parseFloat|reset|optionName|toUpperCase|removeEventListener|ONBLUR|requiredClass|invalidCustomClass|invalidCharsMinClass|invalidCharsMaxClass|linux|to_return|toString|alphaChars|navigator|isRequired|upperAlphaChars|specials|numbers|classes|ret|onSubmit|setOptions|onReset|getElement|ONCHANGE|arguments|attachBehaviors|RegExp|loadQueue|isElementValid|onloadDidFire|document|load|re_gecko|processLoadQueue|re_safari|removeAttribute|re_msie|re_opera|forceFireFirstOnPropertyChange|change|changeEvent|addLoadListener|submit|BrowserSniff|PASSWORD|INPUT|ONSUBMIT|init|Platform|unix|currentTarget|attachedResetHandler|srcElement|blur|onsubmit|attachedSubmitHandler|re_gecko_version|onFocus|alternate|option|getValidChildrenWithNodeNameAtAnyLevel|isBrowserSupported|null|getOptionRealValue|break|ignoreUndefinedProps|destroyAll|msg|obj|showError|search|getFirstParentWithNodeName|vStrength|customValidation|validateStrength|validateLength|on|ig|onBlur|validation|detachEvent|up|platform|continue|in|MSIE|appName|passwordInvalidStrengthState|passwordMinCharsState|passwordRequiredState|passwordFocusState|passwordValidState|gecko|applewebkit|BODY|isNaN|getElementsByTagName|rv|passwordMaxCharsState|unknown|parseInt|join|concat|userAgent|Opera|while|Invalid|off|passwordCustomState|setAttribute|splice|propertychange|dragdrop|z0|FORM|focus|drop|disabled|AutoComplete|onload|ERR|string|Options|Strength|alert|getElementById|readOnly|maxLength'.split('|'),0,{}))
