function WebForm_PostBackOptions(n,t,i,r,u,f,e){this.eventTarget=n;this.eventArgument=t;this.validation=i;this.validationGroup=r;this.actionUrl=u;this.trackFocus=f;this.clientSubmit=e}function WebForm_DoPostBackWithOptions(n){var r=!0,i,t;n.validation&&typeof Page_ClientValidate=="function"&&(r=Page_ClientValidate(n.validationGroup));r&&(typeof n.actionUrl!="undefined"&&n.actionUrl!=null&&n.actionUrl.length>0&&(theForm.action=n.actionUrl),n.trackFocus&&(i=theForm.elements.__LASTFOCUS,typeof i!="undefined"&&i!=null&&(typeof document.activeElement=="undefined"?i.value=n.eventTarget:(t=document.activeElement,typeof t!="undefined"&&t!=null&&(typeof t.id!="undefined"&&t.id!=null&&t.id.length>0?i.value=t.id:typeof t.name!="undefined"&&(i.value=t.name))))));n.clientSubmit&&__doPostBack(n.eventTarget,n.eventArgument)}function WebForm_DoCallback(n,t,i,r,u,f){var w=__theFormPostData+"__CALLBACKID="+WebForm_EncodeCallback(n)+"&__CALLBACKPARAM="+WebForm_EncodeCallback(t),s,v,h,l,o,y,a,p,c,e,b;theForm.__EVENTVALIDATION&&(w+="&__EVENTVALIDATION="+WebForm_EncodeCallback(theForm.__EVENTVALIDATION.value));try{s=new XMLHttpRequest}catch(k){try{s=new ActiveXObject("Microsoft.XMLHTTP")}catch(k){}}v=!0;try{v=s&&s.setRequestHeader}catch(k){}if(h={},h.eventCallback=i,h.context=r,h.errorCallback=u,h.async=f,l=WebForm_FillFirstAvailableSlot(__pendingCallbacks,h),f||(__synchronousCallBackIndex!=-1&&(__pendingCallbacks[__synchronousCallBackIndex]=null),__synchronousCallBackIndex=l),v){s.onreadystatechange=WebForm_CallbackComplete;h.xmlRequest=s;o=theForm.action||document.location.pathname;y=o.indexOf("#");y!==-1&&(o=o.substr(0,y));__nonMSDOMBrowser||(a=o.indexOf("?"),a!==-1?(p=o.substr(0,a),p.indexOf("%")===-1&&(o=encodeURI(p)+o.substr(a))):o.indexOf("%")===-1&&(o=encodeURI(o)));s.open("POST",o,!0);s.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8");s.send(w);return}if(h.xmlRequest={},c="__CALLBACKFRAME"+l,e=document.frames[c],!e){e=document.createElement("IFRAME");e.width="1";e.height="1";e.frameBorder="0";e.id=c;e.name=c;e.style.position="absolute";e.style.top="-100px";e.style.left="-100px";try{callBackFrameUrl&&(e.src=callBackFrameUrl)}catch(k){}document.body.appendChild(e)}b=window.setInterval(function(){var a,s,h,i,r,u,f,o;if(e=document.frames[c],e&&e.document){for(window.clearInterval(b),e.document.write(""),e.document.close(),e.document.write('<html><body><form method="post"><input type="hidden" name="__CALLBACKLOADSCRIPT" value="t"><\/form><\/body><\/html>'),e.document.close(),e.document.forms[0].action=theForm.action,a=__theFormPostCollection.length,h=0;h<a;h++)s=__theFormPostCollection[h],s&&(i=e.document.createElement("INPUT"),i.type="hidden",i.name=s.name,i.value=s.value,e.document.forms[0].appendChild(i));r=e.document.createElement("INPUT");r.type="hidden";r.name="__CALLBACKID";r.value=n;e.document.forms[0].appendChild(r);u=e.document.createElement("INPUT");u.type="hidden";u.name="__CALLBACKPARAM";u.value=t;e.document.forms[0].appendChild(u);theForm.__EVENTVALIDATION&&(f=e.document.createElement("INPUT"),f.type="hidden",f.name="__EVENTVALIDATION",f.value=theForm.__EVENTVALIDATION.value,e.document.forms[0].appendChild(f));o=e.document.createElement("INPUT");o.type="hidden";o.name="__CALLBACKINDEX";o.value=l;e.document.forms[0].appendChild(o);e.document.forms[0].submit()}},10)}function WebForm_CallbackComplete(){for(var i,t,n=0;n<__pendingCallbacks.length;n++)callbackObject=__pendingCallbacks[n],callbackObject&&callbackObject.xmlRequest&&callbackObject.xmlRequest.readyState==4&&(__pendingCallbacks[n].async||(__synchronousCallBackIndex=-1),__pendingCallbacks[n]=null,i="__CALLBACKFRAME"+n,t=document.getElementById(i),t&&t.parentNode.removeChild(t),WebForm_ExecuteCallback(callbackObject))}function WebForm_ExecuteCallback(n){var t=n.xmlRequest.responseText,r,u,f,i;t.charAt(0)=="s"?typeof n.eventCallback!="undefined"&&n.eventCallback!=null&&n.eventCallback(t.substring(1),n.context):t.charAt(0)=="e"?typeof n.errorCallback!="undefined"&&n.errorCallback!=null&&n.errorCallback(t.substring(1),n.context):(r=t.indexOf("|"),r!=-1&&(u=parseInt(t.substring(0,r)),isNaN(u)||(f=t.substring(r+1,r+u+1),f!=""&&(i=theForm.__EVENTVALIDATION,i||(i=document.createElement("INPUT"),i.type="hidden",i.name="__EVENTVALIDATION",theForm.appendChild(i)),i.value=f),typeof n.eventCallback!="undefined"&&n.eventCallback!=null&&n.eventCallback(t.substring(r+u+1),n.context))))}function WebForm_FillFirstAvailableSlot(n,t){for(var i=0;i<n.length;i++)if(!n[i])break;return n[i]=t,i}function WebForm_InitCallback(){for(var t,i,e,r,o,f=theForm.elements,s=f.length,n,u=0;u<s;u++)if(n=f[u],t=n.tagName.toLowerCase(),t=="input")i=n.type,(__callbackTextTypes.test(i)||(i=="checkbox"||i=="radio")&&n.checked)&&n.id!="__EVENTVALIDATION"&&WebForm_InitCallbackAddField(n.name,n.value);else if(t=="select")for(e=n.options.length,r=0;r<e;r++)o=n.options[r],o.selected==!0&&WebForm_InitCallbackAddField(n.name,n.value);else t=="textarea"&&WebForm_InitCallbackAddField(n.name,n.value)}function WebForm_InitCallbackAddField(n,t){var i={};i.name=n;i.value=t;__theFormPostCollection[__theFormPostCollection.length]=i;__theFormPostData+=WebForm_EncodeCallback(n)+"="+WebForm_EncodeCallback(t)+"&"}function WebForm_EncodeCallback(n){return encodeURIComponent?encodeURIComponent(n):escape(n)}function WebForm_ReEnableControls(){var i,t,n;if(typeof __enabledControlArray=="undefined")return!1;for(i=0,t=0;t<__enabledControlArray.length;t++)n=__nonMSDOMBrowser?document.getElementById(__enabledControlArray[t]):document.all[__enabledControlArray[t]],typeof n!="undefined"&&n!=null&&n.disabled==!0&&(n.disabled=!1,__disabledControlArray[i++]=n);return setTimeout("WebForm_ReDisableControls()",0),!0}function WebForm_ReDisableControls(){for(var n=0;n<__disabledControlArray.length;n++)__disabledControlArray[n].disabled=!0}function WebForm_SimulateClick(n,t){var i;if(n){if(n.click)n.click();else if(i=document.createEvent("MouseEvents"),i.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),!n.dispatchEvent(i))return!0;return t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation(),!1}return!0}function WebForm_FireDefaultButton(n,t){var i,r;if(n.keyCode==13){if(i=n.srcElement||n.target,i&&i.tagName.toLowerCase()=="input"&&(i.type.toLowerCase()=="submit"||i.type.toLowerCase()=="button")||i.tagName.toLowerCase()=="a"&&i.href!=null&&i.href!=""||i.tagName.toLowerCase()=="textarea")return!0;if(r=__nonMSDOMBrowser?document.getElementById(t):document.all[t],r)return WebForm_SimulateClick(r,n)}return!0}function WebForm_GetScrollX(){return __nonMSDOMBrowser?window.pageXOffset:document.documentElement&&document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body?document.body.scrollLeft:0}function WebForm_GetScrollY(){return __nonMSDOMBrowser?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body?document.body.scrollTop:0}function WebForm_SaveScrollPositionSubmit(){return(__nonMSDOMBrowser?(theForm.elements.__SCROLLPOSITIONY.value=window.pageYOffset,theForm.elements.__SCROLLPOSITIONX.value=window.pageXOffset):(theForm.__SCROLLPOSITIONX.value=WebForm_GetScrollX(),theForm.__SCROLLPOSITIONY.value=WebForm_GetScrollY()),typeof this.oldSubmit!="undefined"&&this.oldSubmit!=null)?this.oldSubmit():!0}function WebForm_SaveScrollPositionOnSubmit(){return(theForm.__SCROLLPOSITIONX.value=WebForm_GetScrollX(),theForm.__SCROLLPOSITIONY.value=WebForm_GetScrollY(),typeof this.oldOnSubmit!="undefined"&&this.oldOnSubmit!=null)?this.oldOnSubmit():!0}function WebForm_RestoreScrollPosition(){return(__nonMSDOMBrowser?window.scrollTo(theForm.elements.__SCROLLPOSITIONX.value,theForm.elements.__SCROLLPOSITIONY.value):window.scrollTo(theForm.__SCROLLPOSITIONX.value,theForm.__SCROLLPOSITIONY.value),typeof theForm.oldOnLoad!="undefined"&&theForm.oldOnLoad!=null)?theForm.oldOnLoad():!0}function WebForm_TextBoxKeyHandler(n){if(n.keyCode==13){var t;if(t=__nonMSDOMBrowser?n.target:n.srcElement,typeof t!="undefined"&&t!=null&&typeof t.onchange!="undefined")return t.onchange(),n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation(),!1}return!0}function WebForm_TrimString(n){return n.replace(/^\s+|\s+$/g,"")}function WebForm_AppendToClassName(n,t){var r=" "+WebForm_TrimString(n.className)+" ",i;t=WebForm_TrimString(t);i=r.indexOf(" "+t+" ");i===-1&&(n.className=n.className===""?t:n.className+" "+t)}function WebForm_RemoveClassName(n,t){var i=" "+WebForm_TrimString(n.className)+" ",r;t=WebForm_TrimString(t);r=i.indexOf(" "+t+" ");r>=0&&(n.className=WebForm_TrimString(i.substring(0,r)+" "+i.substring(r+t.length+1,i.length)))}function WebForm_GetElementById(n){return document.getElementById?document.getElementById(n):document.all?document.all[n]:null}function WebForm_GetElementByTagName(n,t){var i=WebForm_GetElementsByTagName(n,t);return i&&i.length>0?i[0]:null}function WebForm_GetElementsByTagName(n,t){if(n&&t){if(n.getElementsByTagName)return n.getElementsByTagName(t);if(n.all&&n.all.tags)return n.all.tags(t)}return null}function WebForm_GetElementDir(n){return n?n.dir?n.dir:WebForm_GetElementDir(n.parentNode):"ltr"}function WebForm_GetElementPosition(n){var t={},i,r;if(t.x=0,t.y=0,t.width=0,t.height=0,n.offsetParent)for(t.x=n.offsetLeft,t.y=n.offsetTop,i=n.offsetParent;i;)t.x+=i.offsetLeft,t.y+=i.offsetTop,r=i.tagName.toLowerCase(),r!="table"&&r!="body"&&r!="html"&&r!="div"&&i.clientTop&&i.clientLeft&&(t.x+=i.clientLeft,t.y+=i.clientTop),i=i.offsetParent;else n.left&&n.top?(t.x=n.left,t.y=n.top):(n.x&&(t.x=n.x),n.y&&(t.y=n.y));return n.offsetWidth&&n.offsetHeight?(t.width=n.offsetWidth,t.height=n.offsetHeight):n.style&&n.style.pixelWidth&&n.style.pixelHeight&&(t.width=n.style.pixelWidth,t.height=n.style.pixelHeight),t}function WebForm_GetParentByTagName(n,t){for(var i=n.parentNode,r=t.toUpperCase();i&&i.tagName.toUpperCase()!=r;)i=i.parentNode?i.parentNode:i.parentElement;return i}function WebForm_SetElementHeight(n,t){n&&n.style&&(n.style.height=t+"px")}function WebForm_SetElementWidth(n,t){n&&n.style&&(n.style.width=t+"px")}function WebForm_SetElementX(n,t){n&&n.style&&(n.style.left=t+"px")}function WebForm_SetElementY(n,t){n&&n.style&&(n.style.top=t+"px")}function ValidatorUpdateDisplay(n){if(typeof n.display=="string"){if(n.display=="None")return;if(n.display=="Dynamic"){n.style.display=n.isvalid?"none":"inline";return}}navigator.userAgent.indexOf("Mac")>-1&&navigator.userAgent.indexOf("MSIE")>-1&&(n.style.display="inline");n.style.visibility=n.isvalid?"hidden":"visible"}function ValidatorUpdateIsValid(){Page_IsValid=AllValidatorsValid(Page_Validators)}function AllValidatorsValid(n){if(typeof n!="undefined"&&n!=null)for(var t=0;t<n.length;t++)if(!n[t].isvalid)return!1;return!0}function ValidatorHookupControlID(n,t){if(typeof n=="string"){var i=document.getElementById(n);typeof i!="undefined"&&i!=null?ValidatorHookupControl(i,t):(t.isvalid=!0,t.enabled=!1)}}function ValidatorHookupControl(n,t){var i,r;if(typeof n.tagName=="string"){if(n.tagName!="INPUT"&&n.tagName!="TEXTAREA"&&n.tagName!="SELECT"){for(i=0;i<n.childNodes.length;i++)ValidatorHookupControl(n.childNodes[i],t);return}typeof n.Validators=="undefined"&&(n.Validators=[],n.type=="radio"?r="onclick":(r="onchange",typeof t.focusOnError=="string"&&t.focusOnError=="t"&&ValidatorHookupEvent(n,"onblur","ValidatedControlOnBlur(event); ")),ValidatorHookupEvent(n,r,"ValidatorOnChange(event); "),Page_TextTypes.test(n.type)&&ValidatorHookupEvent(n,"onkeypress","event = event || window.event; if (!ValidatedTextBoxOnKeyPress(event)) { event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false; } "));n.Validators[n.Validators.length]=t}}function ValidatorHookupEvent(n,t,i){var r=n[t];typeof r=="function"?(r=r.toString(),r=r.substring(r.indexOf("{")+1,r.lastIndexOf("}"))):r="";n[t]=new Function("event",i+" "+r)}function ValidatorGetValue(n){var t;return(t=document.getElementById(n),typeof t.value=="string")?t.value:ValidatorGetValueRecursive(t)}function ValidatorGetValueRecursive(n){if(typeof n.value=="string"&&(n.type!="radio"||n.checked==!0))return n.value;for(var i,t=0;t<n.childNodes.length;t++)if(i=ValidatorGetValueRecursive(n.childNodes[t]),i!="")return i;return""}function Page_ClientValidate(n){if(Page_InvalidControlToBeFocused=null,typeof Page_Validators=="undefined")return!0;for(var t=0;t<Page_Validators.length;t++)ValidatorValidate(Page_Validators[t],n,null);return ValidatorUpdateIsValid(),ValidationSummaryOnSubmit(n),Page_BlockSubmit=!Page_IsValid,Page_IsValid}function ValidatorCommonOnSubmit(){Page_InvalidControlToBeFocused=null;var n=!Page_BlockSubmit;return typeof event!="undefined"&&window.event!=null&&(window.event.returnValue=n),Page_BlockSubmit=!1,n}function ValidatorEnable(n,t){n.enabled=t!=!1;ValidatorValidate(n);ValidatorUpdateIsValid()}function ValidatorOnChange(n){var t,i,r;if(n=n||window.event,Page_InvalidControlToBeFocused=null,t=typeof n.srcElement!="undefined"&&n.srcElement!=null?n.srcElement:n.target,typeof t.Validators!="undefined"?i=t.Validators:t.tagName.toLowerCase()=="label"&&(t=document.getElementById(t.htmlFor),i=t.Validators),i)for(r=0;r<i.length;r++)ValidatorValidate(i[r],null,n);ValidatorUpdateIsValid()}function ValidatedTextBoxOnKeyPress(n){if(n=n||window.event,n.keyCode==13){ValidatorOnChange(n);var t;return t=typeof n.srcElement!="undefined"&&n.srcElement!=null?n.srcElement.Validators:n.target.Validators,AllValidatorsValid(t)}return!0}function ValidatedControlOnBlur(n){n=n||window.event;var t;t=typeof n.srcElement!="undefined"&&n.srcElement!=null?n.srcElement:n.target;typeof t!="undefined"&&t!=null&&Page_InvalidControlToBeFocused==t&&(t.focus(),Page_InvalidControlToBeFocused=null)}function ValidatorValidate(n,t,i){n.isvalid=!0;(typeof n.enabled=="undefined"||n.enabled!=!1)&&IsValidationGroupMatch(n,t)&&typeof n.evaluationfunction=="function"&&(n.isvalid=n.evaluationfunction(n),n.isvalid||Page_InvalidControlToBeFocused!=null||typeof n.focusOnError!="string"||n.focusOnError!="t"||ValidatorSetFocus(n,i));ValidatorUpdateDisplay(n)}function ValidatorSetFocus(n,t){var i,r,u,f;typeof n.controlhookup=="string"&&(typeof t!="undefined"&&t!=null&&(r=typeof t.srcElement!="undefined"&&t.srcElement!=null?t.srcElement:t.target),typeof r!="undefined"&&r!=null&&typeof r.id=="string"&&r.id==n.controlhookup&&(i=r));(typeof i=="undefined"||i==null)&&(i=document.getElementById(n.controltovalidate));typeof i!="undefined"&&i!=null&&(i.tagName.toLowerCase()!="table"||typeof t=="undefined"||t==null)&&(i.tagName.toLowerCase()!="input"||i.type.toLowerCase()!="hidden")&&(typeof i.disabled=="undefined"||i.disabled==null||i.disabled==!1)&&(typeof i.visible=="undefined"||i.visible==null||i.visible!=!1)&&IsInVisibleContainer(i)&&((i.tagName.toLowerCase()=="table"&&(typeof __nonMSDOMBrowser=="undefined"||__nonMSDOMBrowser)||i.tagName.toLowerCase()=="span")&&(u=i.getElementsByTagName("input"),f=u[u.length-1],f!=null&&(i=f)),typeof i.focus!="undefined"&&i.focus!=null&&(i.focus(),Page_InvalidControlToBeFocused=i))}function IsInVisibleContainer(n){return typeof n.style!="undefined"&&(typeof n.style.display!="undefined"&&n.style.display=="none"||typeof n.style.visibility!="undefined"&&n.style.visibility=="hidden")?!1:typeof n.parentNode!="undefined"&&n.parentNode!=null&&n.parentNode!=n?IsInVisibleContainer(n.parentNode):!0}function IsValidationGroupMatch(n,t){if(typeof t=="undefined"||t==null)return!0;var i="";return typeof n.validationGroup=="string"&&(i=n.validationGroup),i==t}function ValidatorOnLoad(){if(typeof Page_Validators!="undefined"){for(var val,i=0;i<Page_Validators.length;i++)val=Page_Validators[i],typeof val.evaluationfunction=="string"&&eval("val.evaluationfunction = "+val.evaluationfunction+";"),typeof val.isvalid=="string"?val.isvalid=="False"?(val.isvalid=!1,Page_IsValid=!1):val.isvalid=!0:val.isvalid=!0,typeof val.enabled=="string"&&(val.enabled=val.enabled!="False"),typeof val.controltovalidate=="string"&&ValidatorHookupControlID(val.controltovalidate,val),typeof val.controlhookup=="string"&&ValidatorHookupControlID(val.controlhookup,val);Page_ValidationActive=!0}}function ValidatorConvert(n,t,i){function p(n){var t=i.cutoffyear%100,r=i.cutoffyear-t;return n>t?r-100+n:r+n}var u,l,r,e,a,v,y,h,w,c,o,s,b,f;if(t=="Integer")return(e=/^\s*[-\+]?\d+\s*$/,n.match(e)==null)?null:(u=parseInt(n,10),isNaN(u)?null:u);if(t=="Double")return(e=new RegExp("^\\s*([-\\+])?(\\d*)\\"+i.decimalchar+"?(\\d*)\\s*$"),r=n.match(e),r==null)?null:r[2].length==0&&r[3].length==0?null:(l=(r[1]!=null?r[1]:"")+(r[2].length>0?r[2]:"0")+(r[3].length>0?"."+r[3]:""),u=parseFloat(l),isNaN(u)?null:u);if(t=="Currency")return(a=i.digits>0,h=parseInt(i.groupsize,10),!isNaN(h)&&h>0?(v="{1,"+h+"}",y="{"+h+"}"):v=y="+",e=new RegExp("^\\s*([-\\+])?((\\d"+v+"(\\"+i.groupchar+"\\d"+y+")+)|\\d*)"+(a?"\\"+i.decimalchar+"?(\\d{0,"+i.digits+"})":"")+"\\s*$"),r=n.match(e),r==null)?null:r[2].length==0&&a&&r[5].length==0?null:(l=(r[1]!=null?r[1]:"")+r[2].replace(new RegExp("(\\"+i.groupchar+")","g"),"")+(a&&r[5].length>0?"."+r[5]:""),u=parseFloat(l),isNaN(u)?null:u);if(t=="Date"){if(w=new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\.?\\s*$"),r=n.match(w),r!=null&&(typeof r[2]!="undefined"&&r[2].length==4||i.dateorder=="ymd"))c=r[6],o=r[5],s=r[2].length==4?r[2]:p(parseInt(r[3],10));else{if(i.dateorder=="ymd"||(b=new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})(?:\\s|\\2)((\\d{4})|(\\d{2}))(?:\\sг\\.|\\.)?\\s*$"),r=n.match(b),r==null))return null;i.dateorder=="mdy"?(c=r[3],o=r[1]):(c=r[1],o=r[3]);s=typeof r[5]!="undefined"&&r[5].length==4?r[5]:p(parseInt(r[6],10))}return o-=1,f=new Date(s,o,c),s<100&&f.setFullYear(s),typeof f=="object"&&s==f.getFullYear()&&o==f.getMonth()&&c==f.getDate()?f.valueOf():null}return n.toString()}function ValidatorCompare(n,t,i,r){var e=r.type,u,f;if((u=ValidatorConvert(n,e,r))==null)return!1;if(i=="DataTypeCheck"||(f=ValidatorConvert(t,e,r))==null)return!0;switch(i){case"NotEqual":return u!=f;case"GreaterThan":return u>f;case"GreaterThanEqual":return u>=f;case"LessThan":return u<f;case"LessThanEqual":return u<=f;default:return u==f}}function CompareValidatorEvaluateIsValid(n){var r=ValidatorGetValue(n.controltovalidate),t,i;return ValidatorTrim(r).length==0?!0:(t="",typeof n.controltocompare!="string"||typeof document.getElementById(n.controltocompare)=="undefined"||null==document.getElementById(n.controltocompare)?typeof n.valuetocompare=="string"&&(t=n.valuetocompare):t=ValidatorGetValue(n.controltocompare),i="Equal",typeof n.operator=="string"&&(i=n.operator),ValidatorCompare(r,t,i,n))}function CustomValidatorEvaluateIsValid(val){var value="",args;return typeof val.controltovalidate=="string"&&(value=ValidatorGetValue(val.controltovalidate),ValidatorTrim(value).length==0&&(typeof val.validateemptytext!="string"||val.validateemptytext!="true"))?!0:(args={Value:value,IsValid:!0},typeof val.clientvalidationfunction=="string"&&eval(val.clientvalidationfunction+"(val, args) ;"),args.IsValid)}function RegularExpressionValidatorEvaluateIsValid(n){var t=ValidatorGetValue(n.controltovalidate),r,i;return ValidatorTrim(t).length==0?!0:(r=new RegExp(n.validationexpression),i=r.exec(t),i!=null&&t==i[0])}function ValidatorTrim(n){var t=n.match(/^\s*(\S+(\s+\S+)*)\s*$/);return t==null?"":t[1]}function RequiredFieldValidatorEvaluateIsValid(n){return ValidatorTrim(ValidatorGetValue(n.controltovalidate))!=ValidatorTrim(n.initialvalue)}function RangeValidatorEvaluateIsValid(n){var t=ValidatorGetValue(n.controltovalidate);return ValidatorTrim(t).length==0?!0:ValidatorCompare(t,n.minimumvalue,"GreaterThanEqual",n)&&ValidatorCompare(t,n.maximumvalue,"LessThanEqual",n)}function ValidationSummaryOnSubmit(n){var t,u,r,f,e,o,s,h,i,c;if(typeof Page_ValidationSummaries!="undefined")for(u=0;u<Page_ValidationSummaries.length;u++)if((t=Page_ValidationSummaries[u],t)&&(t.style.display="none",!Page_IsValid&&IsValidationGroupMatch(t,n))){if(t.showsummary!="False"){t.style.display="";typeof t.displaymode!="string"&&(t.displaymode="BulletList");switch(t.displaymode){case"List":f="<br>";e="";o="";s="<br>";h="";break;case"BulletList":default:f="";e="<ul>";o="<li>";s="<\/li>";h="<\/ul>";break;case"SingleParagraph":f=" ";e="";o="";s=" ";h="<br>"}for(r="",typeof t.headertext=="string"&&(r+=t.headertext+f),r+=e,i=0;i<Page_Validators.length;i++)Page_Validators[i].isvalid||typeof Page_Validators[i].errormessage!="string"||(r+=o+Page_Validators[i].errormessage+s);r+=h;t.innerHTML=r;window.scrollTo(0,0)}if(t.showmessagebox=="True"){for(r="",typeof t.headertext=="string"&&(r+=t.headertext+"\r\n"),c=Page_Validators.length-1,i=0;i<=c;i++)if(!Page_Validators[i].isvalid&&typeof Page_Validators[i].errormessage=="string")switch(t.displaymode){case"List":r+=Page_Validators[i].errormessage;i<c&&(r+="\r\n");break;case"BulletList":default:r+="- "+Page_Validators[i].errormessage;i<c&&(r+="\r\n");break;case"SingleParagraph":r+=Page_Validators[i].errormessage+" "}alert(r)}}}var __pendingCallbacks=[],__synchronousCallBackIndex=-1,__nonMSDOMBrowser=window.navigator.appName.toLowerCase().indexOf("explorer")==-1,__theFormPostData="",__theFormPostCollection=[],__callbackTextTypes=/^(text|password|hidden|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i,__disabledControlArray=[],Page_ValidationVer="125",Page_IsValid=!0,Page_BlockSubmit=!1,Page_InvalidControlToBeFocused=null,Page_TextTypes=/^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;window.jQuery&&function(n){function o(n,t){var r,i,u={},f=n.attributes,o=f.length,e=t.length;for(t=t.toLowerCase(),r=0;r<o;r++)i=f[r],i.specified&&i.name.substr(0,e).toLowerCase()===t&&(u[i.name.substr(e)]=i.value);return u}function s(n){return n=n.toLowerCase(),i[n]===undefined?n:i[n]}function h(t){var i=o(t,u+"-");n.each(i,function(n,i){t[s(n)]=i})}function c(t){var i=n.inArray(t,Page_Validators);i>=0&&Page_Validators.splice(i,1)}function l(n,t){i[n.toLowerCase()]=t}function f(t,i,r){return n(t).find("["+i+"='true']").each(function(t,i){h(i);i.dispose=function(){c(i);i.dispose=null};n.inArray(i,r)===-1&&r.push(i)}).length}function t(n){var t=f(n,u,Page_Validators);return t+f(n,e,Page_ValidationSummaries)}function r(){typeof ValidatorOnLoad=="function"&&ValidatorOnLoad();typeof ValidatorOnSubmit=="undefined"&&(window.ValidatorOnSubmit=function(){return Page_ValidationActive?ValidatorCommonOnSubmit():!0})}function a(){if(window.Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager){var n=Sys.WebForms.PageRequestManager.getInstance(),u,i;n.get_isInAsyncPostBack()&&(i=function(){t(document)&&r();n.remove_endRequest(i);i=null},n.add_endRequest(i));n.add_beginRequest(function(n,t){u=t.get_postBackElement()});n.add_pageLoaded(function(n,i){var f,e,o=0;if(typeof u!="undefined"){for(e=i.get_panelsUpdated(),f=0;f<e.length;f++)o+=t(e[f]);for(e=i.get_panelsCreated(),f=0;f<e.length;f++)o+=t(e[f]);o&&r()}})}}var u="data-val",e="data-valsummary",i={validationgroup:"validationGroup",focusonerror:"focusOnError"};n(function(){typeof Page_Validators=="undefined"&&(window.Page_Validators=[]);typeof Page_ValidationSummaries=="undefined"&&(window.Page_ValidationSummaries=[]);typeof Page_ValidationActive=="undefined"&&(window.Page_ValidationActive=!1);n.WebFormValidator={addNormalizedAttribute:l,parse:t};t(document)&&r();a()})}(jQuery);window.Modernizr=function(n,t,i){function d(n){tt.cssText=n}function o(n,t){return typeof n===t}function ot(n,t){return!!~(""+n).indexOf(t)}function g(n,t){var u,r;for(u in n)if(r=n[u],!ot(r,"-")&&tt[r]!==i)return t=="pfx"?r:!0;return!1}function st(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:o(u,"function")?u.bind(r||t):u;return!1}function s(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+ut.join(r+" ")+r).split(" ");return o(t,"string")||o(t,"undefined")?g(u,t):(u=(n+" "+ft.join(r+" ")+r).split(" "),st(u,t,i))}function ht(){r.inputtypes=function(n){for(var f=0,r,o,s,h=n.length;f<h;f++)u.setAttribute("type",o=n[f]),r=u.type!=="text",r&&(u.value=it,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(o)&&u.style.WebkitAppearance!==i?(e.appendChild(u),s=t.defaultView,r=s.getComputedStyle&&s.getComputedStyle(u,null).WebkitAppearance!=="textfield"&&u.offsetHeight!==0,e.removeChild(u)):/^(search|tel)$/.test(o)||(r=/^(url|email)$/.test(o)?u.checkValidity&&u.checkValidity()===!1:u.value!=it)),et[n[f]]=!!r;return et}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r={},a=!0,e=t.documentElement,h="modernizr",nt=t.createElement(h),tt=nt.style,u=t.createElement("input"),it=":)",vt={}.toString,v=" -webkit- -moz- -o- -ms- ".split(" "),rt="Webkit Moz O ms",ut=rt.split(" "),ft=rt.toLowerCase().split(" "),ct={svg:"http://www.w3.org/2000/svg"},f={},et={},y=[],p=y.slice,c,w=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),s=t.body,o=s||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:h+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',h,'">',n,"<\/style>"].join(""),f.id=h,(s?f:o).innerHTML+=l,o.appendChild(f),s||(o.style.background="",o.style.overflow="hidden",v=e.style.overflow,e.style.overflow="hidden",e.appendChild(o)),a=i(f,n),s?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),e.style.overflow=v),!!a},lt=function(t){var i=n.matchMedia||n.msMatchMedia,r;return i?i(t)&&i(t).matches||!1:(w("@media "+t+" { #"+h+" { position: absolute; } }",function(t){r=(n.getComputedStyle?getComputedStyle(t,null):t.currentStyle).position=="absolute"}),r)},b={}.hasOwnProperty,k,l;k=!o(b,"undefined")&&!o(b.call,"undefined")?function(n,t){return b.call(n,t)}:function(n,t){return t in n&&o(n.constructor.prototype[t],"undefined")};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=p.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(p.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(p.call(arguments)))},r});f.flexbox=function(){return s("flexWrap")};f.flexboxlegacy=function(){return s("boxDirection")};f.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:w(["@media (",v.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};f.geolocation=function(){return"geolocation"in navigator};f.cssanimations=function(){return s("animationName")};f.csstransforms=function(){return!!s("transform")};f.csstransitions=function(){return s("transition")};f.svg=function(){return!!t.createElementNS&&!!t.createElementNS(ct.svg,"svg").createSVGRect};for(l in f)k(f,l)&&(c=l.toLowerCase(),r[c]=f[l](),y.push((r[c]?"":"no-")+c));return r.input||ht(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)k(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof a!="undefined"&&a&&(e.className+=" "+(t?"":"no-")+n);r[n]=t}return r},d(""),nt=u=null,r._version="2.8.3",r._prefixes=v,r._domPrefixes=ft,r._cssomPrefixes=ut,r.mq=lt,r.testProp=function(n){return g([n])},r.testAllProps=s,r.testStyles=w,e.className=e.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(a?" js "+y.join(" "):""),r}(this,this.document),function(n,t){function c(n,t){var i=n.createElement("p"),r=n.getElementsByTagName("head")[0]||n.documentElement;return i.innerHTML="x<style>"+t+"<\/style>",r.insertBefore(i.lastChild,r.firstChild)}function u(){var n=i.elements;return typeof n=="string"?n.split(" "):n}function f(n){var t=p[n[y]];return t||(t={},h++,n[y]=h,p[h]=t),t}function l(n,i,u){if(i||(i=t),r)return i.createElement(n);u||(u=f(i));var e;return e=u.cache[n]?u.cache[n].cloneNode():it.test(n)?(u.cache[n]=u.createElem(n)).cloneNode():u.createElem(n),e.canHaveChildren&&!tt.test(n)&&!e.tagUrn?u.frag.appendChild(e):e}function w(n,i){if(n||(n=t),r)return n.createDocumentFragment();i=i||f(n);for(var o=i.frag.cloneNode(),e=0,s=u(),h=s.length;e<h;e++)o.createElement(s[e]);return o}function b(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(r){return i.shivMethods?l(r,n,t):t.createElem(r)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/\w+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(i,t.frag)}function a(n){n||(n=t);var u=f(n);return i.shivCSS&&!s&&!u.hasCSS&&(u.hasCSS=!!c(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||b(n,u),n}function k(n){for(var t,i=n.getElementsByTagName("*"),r=i.length,e=RegExp("^(?:"+u().join("|")+")$","i"),f=[];r--;)t=i[r],e.test(t.nodeName)&&f.push(t.applyElement(d(t)));return f}function d(n){for(var t,r=n.attributes,u=r.length,i=n.ownerDocument.createElement(e+":"+n.nodeName);u--;)t=r[u],t.specified&&i.setAttribute(t.nodeName,t.nodeValue);return i.style.cssText=n.style.cssText,i}function g(n){for(var t,i=n.split("{"),r=i.length,f=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),o="$1"+e+"\\:$2";r--;)t=i[r]=i[r].split("}"),t[t.length-1]=t[t.length-1].replace(f,o),i[r]=t.join("}");return i.join("{")}function nt(n){for(var t=n.length;t--;)n[t].removeNode()}function v(n){function r(){clearTimeout(i._removeSheetTimer);t&&t.removeNode(!0);t=null}var t,u,i=f(n),o=n.namespaces,s=n.parentWindow;return!ut||n.printShived?n:(typeof o[e]=="undefined"&&o.add(e),s.attachEvent("onbeforeprint",function(){r();for(var o,s,f,l=n.styleSheets,e=[],i=l.length,h=Array(i);i--;)h[i]=l[i];while(f=h.pop())if(!f.disabled&&rt.test(f.media)){try{o=f.imports;s=o.length}catch(a){s=0}for(i=0;i<s;i++)h.push(o[i]);try{e.push(f.cssText)}catch(a){}}e=g(e.reverse().join(""));u=k(n);t=c(n,e)}),s.attachEvent("onafterprint",function(){nt(u);clearTimeout(i._removeSheetTimer);i._removeSheetTimer=setTimeout(r,500)}),n.printShived=!0,n)}var o=n.html5||{},tt=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,it=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s,y="_html5shiv",h=0,p={},r,i;(function(){try{var n=t.createElement("a");n.innerHTML="<xyz><\/xyz>";s="hidden"in n;r=n.childNodes.length==1||function(){t.createElement("a");var n=t.createDocumentFragment();return typeof n.cloneNode=="undefined"||typeof n.createDocumentFragment=="undefined"||typeof n.createElement=="undefined"}()}catch(i){s=!0;r=!0}})();i={elements:o.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:o.shivCSS!==!1,supportsUnknownElements:r,shivMethods:o.shivMethods!==!1,type:"default",shivDocument:a,createElement:l,createDocumentFragment:w};n.html5=i;a(t);var rt=/^$|\b(?:all|print)\b/,e="html5shiv",ut=!r&&function(){var i=t.documentElement;return typeof t.namespaces!="undefined"&&typeof t.parentWindow!="undefined"&&typeof i.applyElement!="undefined"&&typeof i.removeNode!="undefined"&&typeof n.attachEvent!="undefined"}();i.type+=" print";i.shivPrint=v;v(t)}(this,document),function(n,t,i){function h(n){return"[object Function]"==y.call(n)}function c(n){return"string"==typeof n}function l(){}function w(n){return!n||"loaded"==n||"complete"==n||"uninitialized"==n}function f(){var n=a.shift();v=1;n?n.t?s(function(){("c"==n.t?u.injectCss:u.injectJs)(n.s,0,n.a,n.x,n.e,1)},0):(n(),f()):v=0}function ut(n,i,o,h,c,l,y){function k(t){if(!nt&&w(p.readyState)&&(tt.r=nt=1,!v&&f(),p.onload=p.onreadystatechange=null,t)){"img"!=n&&s(function(){g.removeChild(p)},50);for(var u in r[i])r[i].hasOwnProperty(u)&&r[i][u].onload()}}var y=y||u.errorTimeout,p=t.createElement(n),nt=0,b=0,tt={t:o,s:i,e:c,a:l,x:y};1===r[i]&&(b=1,r[i]=[]);"object"==n?p.data=i:(p.src=i,p.type=n);p.width=p.height="0";p.onerror=p.onload=p.onreadystatechange=function(){k.call(this,b)};a.splice(h,0,tt);"img"!=n&&(b||2===r[i]?(g.insertBefore(p,d?null:e),s(k,y)):r[i].push(p))}function ft(n,t,i,r,u){return v=0,t=t||"j",c(n)?ut("c"==t?et:nt,n,t,this.i++,i,r,u):(a.splice(this.i++,0,n),1==a.length&&f()),this}function b(){var n=u;return n.loader={load:ft,i:0},n}var o=t.documentElement,s=n.setTimeout,e=t.getElementsByTagName("script")[0],y={}.toString,a=[],v=0,k="MozAppearance"in o.style,d=k&&!!t.createRange().compareNode,g=d?o:e.parentNode,o=n.opera&&"[object Opera]"==y.call(n.opera),o=!!t.attachEvent&&!o,nt=k?"object":o?"script":"img",et=o?"script":nt,tt=Array.isArray||function(n){return"[object Array]"==y.call(n)},p=[],r={},it={timeout:function(n,t){return t.length&&(n.timeout=t[0]),n}},rt,u;u=function(n){function a(n){for(var n=n.split("!"),f=p.length,i=n.pop(),e=n.length,i={url:i,origUrl:i,prefixes:n},u,r,t=0;t<e;t++)r=n[t].split("="),(u=it[r.shift()])&&(i=u(i,r));for(t=0;t<f;t++)i=p[t](i);return i}function f(n,t,u,f,e){var o=a(n),s=o.autoCallback;o.url.split(".").pop().split("?").shift();o.bypass||(t&&(t=h(t)?t:t[n]||t[f]||t[n.split("/").pop().split("?")[0]]),o.instead?o.instead(n,t,u,f,e):(r[o.url]?o.noexec=!0:r[o.url]=1,u.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":i,o.noexec,o.attrs,o.timeout),(h(t)||h(s))&&u.load(function(){b();t&&t(o.origUrl,e,f);s&&s(o.origUrl,e,f);r[o.url]=2})))}function s(n,t){function a(n,o){if(n){if(c(n))o||(i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}),f(n,i,t,0,e);else if(Object(n)===n)for(r in v=function(){var t=0;for(var i in n)n.hasOwnProperty(i)&&t++;return t}(),n)n.hasOwnProperty(r)&&(!o&&!--v&&(h(i)?i=function(){var n=[].slice.call(arguments);s.apply(this,n);u()}:i[r]=function(n){return function(){var t=[].slice.call(arguments);n&&n.apply(this,t);u()}}(s[r])),f(n[r],i,t,r,e))}else o||u()}var e=!!n.test,o=n.load||n.both,i=n.callback||l,s=i,u=n.complete||l,v,r;a(e?n.yep:n.nope,!!o);o&&a(o)}var e,t,o=this.yepnope.loader;if(c(n))f(n,0,o,0);else if(tt(n))for(e=0;e<n.length;e++)t=n[e],c(t)?f(t,0,o,0):tt(t)?u(t):Object(t)===t&&s(t,o);else Object(n)===n&&s(n,o)};u.addPrefix=function(n,t){it[n]=t};u.addFilter=function(n){p.push(n)};u.errorTimeout=1e4;null==t.readyState&&t.addEventListener&&(t.readyState="loading",t.addEventListener("DOMContentLoaded",rt=function(){t.removeEventListener("DOMContentLoaded",rt,0);t.readyState="complete"},0));n.yepnope=b();n.yepnope.executeStack=f;n.yepnope.injectJs=function(n,i,r,o,h,c){var a=t.createElement("script"),v,y,o=o||u.errorTimeout;a.src=n;for(y in r)a.setAttribute(y,r[y]);i=c?f:i||l;a.onreadystatechange=a.onload=function(){!v&&w(a.readyState)&&(v=1,i(),a.onload=a.onreadystatechange=null)};s(function(){v||(v=1,i(1))},o);h?a.onload():e.parentNode.insertBefore(a,e)};n.yepnope.injectCss=function(n,i,r,u,o,h){var u=t.createElement("link"),c,i=h?f:i||l;u.href=n;u.rel="stylesheet";u.type="text/css";for(c in r)u.setAttribute(c,r[c]);o||(e.parentNode.insertBefore(u,e),s(i,0))}}(this,document);Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},function(){"use strict";function c(n){function t(){document.body?n():setTimeout(t,0)}t()}function f(n){this.a=document.createElement("div");this.a.setAttribute("aria-hidden","true");this.a.appendChild(document.createTextNode(n));this.b=document.createElement("span");this.c=document.createElement("span");this.f=document.createElement("span");this.e=document.createElement("span");this.d=-1;this.b.style.cssText="display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;";this.c.style.cssText="display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;";this.e.style.cssText="display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;";this.f.style.cssText="display:inline-block;width:200%;height:200%;";this.b.appendChild(this.f);this.c.appendChild(this.e);this.a.appendChild(this.b);this.a.appendChild(this.c)}function i(n,t,i){n.a.style.cssText="min-width:20px;min-height:20px;display:inline-block;position:absolute;width:auto;margin:0;padding:0;top:-999px;left:-999px;white-space:nowrap;font-size:100px;font-family:"+t+";"+i}function e(n){var t=n.a.offsetWidth,i=t+100;return n.e.style.width=i+"px",n.c.scrollLeft=i,n.b.scrollLeft=n.b.scrollWidth+100,n.d!==t?(n.d=t,!0):!1}function o(n,t){n.b.addEventListener("scroll",function(){e(n)&&null!==n.a.parentNode&&t(n.d)},!1);n.c.addEventListener("scroll",function(){e(n)&&null!==n.a.parentNode&&t(n.d)},!1);e(n)}function t(n){this.a=r;this.b=void 0;this.c=[];var t=this;try{n(function(n){t.resolve(n)},function(n){t.reject(n)})}catch(i){t.reject(i)}}function s(n){setTimeout(function(){if(n.a!==r)for(;n.c.length;){var t=n.c.shift(),u=t[0],f=t[1],i=t[2],t=t[3];try{0===n.a?"function"==typeof u?i(u.call(void 0,n.b)):i(n.b):1===n.a&&("function"==typeof f?i(f.call(void 0,n.b)):t(n.b))}catch(e){t(e)}}},0)}function h(n,t){var i=t||{};this.family=n;this.style=i.style||"normal";this.variant=i.variant||"normal";this.weight=i.weight||"normal";this.stretch=i.stretch||"stretch";this.featureSettings=i.featureSettings||"normal"}var r=2,n,u;t.prototype.resolve=function(n){var t=this,i,u;if(t.a===r){if(n===t)throw new TypeError("Promise settled with itself.");i=!1;try{if(u=n&&n.then,null!==n&&"object"==typeof n&&"function"==typeof u){u.call(n,function(n){i||t.resolve(n);i=!0},function(n){i||t.reject(n);i=!0});return}}catch(f){i||t.reject(f);return}t.a=0;t.b=n;s(t)}};t.prototype.reject=function(n){if(this.a===r){if(n===this)throw new TypeError("Promise settled with itself.");this.a=1;this.b=n;s(this)}};t.prototype.catch=function(n){return this.then(void 0,n)};t.prototype.then=function(n,i){var r=this;return new t(function(t,u){r.c.push([n,i,t,u]);s(r)})};window.Promise?(n=window.Promise,n.prototype.then=window.Promise.prototype.then,n.prototype.catch=window.Promise.prototype["catch"],n.all=window.Promise.all,n.race=window.Promise.race,n.resolve=window.Promise.resolve,n.reject=window.Promise.reject):(n=t,n.prototype.then=t.prototype.then,n.prototype.catch=t.prototype.catch,n.all=t.prototype.all,n.race=t.prototype.race,n.resolve=t.prototype.resolve,n.reject=t.prototype.reject);u=null;h.prototype.a=function(t,r){var g=t||"BESbswy",nt=r||3e3,a="font-style:"+this.style+";font-variant:"+this.variant+";font-weight:"+this.weight+";font-stretch:"+this.stretch+";font-feature-settings:"+this.featureSettings+";-moz-font-feature-settings:"+this.featureSettings+";-webkit-font-feature-settings:"+this.featureSettings+";",l=document.createElement("div"),v=new f(g),y=new f(g),p=new f(g),e=-1,s=-1,h=-1,b=-1,k=-1,d=-1,w=this;return new n(function(n,t){function f(){null!==l.parentNode&&l.parentNode.removeChild(l)}function r(){if((-1!==e&&-1!==s||-1!==e&&-1!==h||-1!==s&&-1!==h)&&(e===s||e===h||s===h)){if(null===u){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);u=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}u?e===b&&s===b&&h===b||e===k&&s===k&&h===k||e===d&&s===d&&h===d||(f(),n(w)):(f(),n(w))}}c(function(){function n(){if(Date.now()-u>=nt)f(),t(w);else{var i=document.hidden;(!0===i||void 0===i)&&(e=v.a.offsetWidth,s=y.a.offsetWidth,h=p.a.offsetWidth,r());setTimeout(n,50)}}var u=Date.now();i(v,"sans-serif",a);i(y,"serif",a);i(p,"monospace",a);l.appendChild(v.a);l.appendChild(y.a);l.appendChild(p.a);document.body.appendChild(l);b=v.a.offsetWidth;k=y.a.offsetWidth;d=p.a.offsetWidth;n();o(v,function(n){e=n;r()});i(v,w.family+",sans-serif",a);o(y,function(n){s=n;r()});i(y,w.family+",serif",a);o(p,function(n){h=n;r()});i(p,w.family+",monospace",a)})})};window.FontFaceObserver=h;window.FontFaceObserver.prototype.check=h.prototype.a}(),function(){var t=new FontFaceObserver("robotoregular",{}),n;t.check().then(function(){document.documentElement.className+=" roboto-loaded"});n=new FontFaceObserver("robotobold",{});n.check().then(function(){document.documentElement.className+=" roboto-bold-loaded"})}()