function PopUpWindow(n,t,i,r,u,f,e,o,s){var h=n,c=i,l=t,a=r,v=u,y=f,p=e,w=o,b=s;newWindow=window.open(h,"_blank","toolbar="+y+",menubar="+p+",resizable="+a+",scrollbars="+v+",status="+w+",location="+b+",width="+c+",height="+l)}function Image_Click(n){document.location=n}function Logo_Click(n){document.location=n}function setFocusEmail(){document.getElementById("_ctl0_eTAMContent_txtEmailAddress").focus()}function setFocusLLNumber(){document.getElementById("_ctl0_eTAMContent_txtLLorGCNumber").focus()}function setFocusCheckoutCardNumber(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtCardNumber").focus()}function setFocusCheckoutCardMessage(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtMessage").focus()}function setFocusCheckoutEmail(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtEmailAddress").focus()}function setFocusCheckoutLLNumber(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtLLorGCNumber").focus()}function setFocusCheckoutFirstName(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtFirstName").focus()}function setFocusCheckoutCVV2(){document.getElementById("_ctl0_eTAMCheckoutPlaceHolder_txtCVV2").focus()}function setFocusStartDate(){document.getElementById("_ctl0_eTAMContent_txtStartDate").focus()}function setFocusServerName(){document.getElementById("_ctl0_eTAMContent_txtServerName").focus()}function setFocusFirstName(){document.getElementById("_ctl0_eTAMContent_txtFirstName").focus()}function setFocusWebMasterEmail(){document.getElementById("_ctl0_eTAMContent_txtWebMasterEmail").focus()}function setFocusKey1(){document.getElementById("_ctl0_eTAMContent_txtKey1").focus()}function setFocusCardNumber(){document.getElementById("_ctl0_eTAMContent_txtCardNumber").focus()}function setFocusContactName(){document.getElementById("_ctl0_eTAMContent_txtContactName").focus()}function setFocusByID(n){document.getElementByID(n)}function setFocusQuantity(){document.getElementById("_ctl0_eTAMContent_txtQty").focus()}function CheckAdvance(n,t){4==document.getElementById(n).value.length&&document.getElementById(t).focus()}function SetShipOption(n,t,i,r){document.getElementById(i).value=n;document.getElementById(r).value=t}function SetShipOptionIndex(n,t){document.getElementById(t).value=n}function SetShipOptionIndexAndPostback(n,t){document.getElementById(t).value=n}function SetGiftWrap(n){document.getElementById(n).value=1==document.getElementById("GiftWrap").checked?2:1}function LoadReturnPolicyInfo(){myFloater=window.open("","myWindow","scrollbars=no,status=no,width=600,height=375");myFloater.location.href="HTML/ShipReturnPolicy.htm"}function LoadSendEventEmail(n){myFloater=window.open("","myWindow","scrollbars=no,status=no,width=465,height=500,left=10,top=10");myFloater.location.href="EmailPage.aspx?eventid="+n}function LoadSendEmail(n,t){var i;i=0==t?"/emailpage.aspx?skuid="+n:"/emailpage.aspx?skuid="+n+"&vbskuid="+t;window.open(i,"myWindow","scrollbars=no,status=no,left=10,top=10")}function LoadSendGREmail(n){myFloater=window.open("","myWindow","scrollbars=no,status=no,width=435,height=450,left=10,top=10");myFloater.location.href="EmailPage.aspx?grnbr="+n}function LoadUserImage(n){myFloater=window.open("","myWindow","status=no,width=400,height=250,left=10,top=10,scrollbars=yes,resizable=yes");myFloater.location.href=n}function OpenPrintWindow(){window.open("PrintWindow.aspx","","height=600,width=700,left=80,top=80,scrollbars=yes,resizable=yes")}function tamNumericOnly(n){var t;if((t=n.keyCode?n.keyCode:n.Which?n.Which:n.charCode)>31&&(t<48||t>57))return!1}function tamClickButtonOnEnter(n,t){var i=0;return i=n.which==null?n.keyCode:n.which>0?n.which:0,i==13?(document.activeElement.blur(),t.click(),n.preventDefault&&n.preventDefault(),n.returnValue=!1,n.cancel=!0,!1):void 0}function tamStopDblClick(n,t){if(t.innerHTML="<i class='fa fa-spinner fa-spin'><\/i>",window.sessionStorage.getItem("TAMAddSKUClicked")==null||window.sessionStorage.getItem("TAMAddSKUClicked")!="1")typeof Storage!="undefined"&&window.sessionStorage.setItem("TAMAddSKUClicked","1");else return n.preventDefault&&n.preventDefault(),n.returnValue=!1,n.cancel=!0,!1}function tamAmountKey(n,t){var r=n.value,u=r.split("."),i=t.which?t.which:event.keyCode;return!(u.length===1&&i===46)&&i>31&&(i<48||i>57)?!1:!0}function tamMathRoundForCurrency(n){var i=document.getElementById(n),t=i.value,r;!isNaN(t)&&isFinite(t)&&t.length!==0&&(r=Math.round(t*100)/100,i.value=r.toFixed(2))}function tamStopDblTicketPrintClick(n){if(window.sessionStorage.getItem("TAMAddSKUClicked")==null||window.sessionStorage.getItem("TAMAddSKUClicked")!="1")typeof Storage!="undefined"&&window.sessionStorage.setItem("TAMAddSKUClicked","1");else return n.preventDefault&&n.preventDefault(),n.returnValue=!1,n.cancel=!0,!1}function tamButtonOnClickPlusMinus(n,t){n.preventDefault();var r=document.getElementById(t),e=r.getAttribute("data-field"),f=r.getAttribute("data-type"),o=document.getElementsByName(e),i=o[0],u=parseInt(i.value);isNaN(u)?i.value=0:f=="minus"?(u>i.getAttribute("min")&&i.value--,parseInt(i.value)==i.getAttribute("min")&&r.setAttribute("disabled",!0)):f=="plus"&&(u<i.getAttribute("max")&&i.value++,parseInt(i.value)==i.getAttribute("max")&&r.setAttribute("disabled",!0))}function tamTextboxOnClickPlusMinus(n,t){var i=document.getElementById(t);i.setAttribute("data-oldvalue",i.value);i.select()}function tamTextboxChangePlusMinus(n,t,i,r){var u=document.getElementById(t),e=parseInt(u.getAttribute("min")),h=parseInt(u.getAttribute("max")),f=parseInt(u.value),c=u.getAttribute("name"),o,s;f>=e?(o=document.getElementById(i),o.setAttribute("disabled",!1)):(u.value=e,f=parseInt(u.value));f<=h?(s=document.getElementById(r),s.setAttribute("disabled",!1)):u.value=u.getAttribute("data-oldvalue")}function tamTextboxKeydownPlusMinus(n){![46,8,9,27,13,190].includes(n.keyCode)||n.keyCode==65&&n.ctrlKey===!0||n.keyCode>=35&&n.keyCode<=39||(n.shiftKey||n.keyCode<48||n.keyCode>57)&&(n.keyCode<96||n.keyCode>105)&&n.preventDefault()}function tamSelectAll(n){var t=document.getElementById(n);t.select()}function sleep(n){const i=Date.now();let t=null;do t=Date.now();while(t-i<n)}function tamGetFirstName(n){var t=n.split(" ");return t[0]}function tamGetLastName(n){var t=n.split(" "),i;switch(t.length){case 1:return"";case 2:return t[1];case 3:return t[1].length==1?t[2]:t[1]+" "+t[2];default:i="";for(let n=1;n<t.length;n++)t[n].length>1&&(i+=t[n]);return i}return""}function tamStoreTextboxText(n){var t=document.getElementById(n);typeof Storage!="undefined"&&window.sessionStorage.setItem(t.id,t.value)}function tamLoadTextboxTextFromLocalStorage(){var t=document.getElementsByTagName("input"),i,n;for(index=0;index<t.length;++index)t[index].type=="text"&&window.sessionStorage.getItem(t[index].id)!==null&&(i=document.getElementById(t[index].id),i.value=window.sessionStorage.getItem(t[index].id),i.id=="ctl00_eTAMContent_txtPhoneNumber"&&(n=i.value.replace(/[^\d*]/gi,""),n.length>10&&n.substring(0,1)==1&&(n=n.substring(1)),n=n.replace(/(\d{3})(\d{3})(\d{4})(\d{0,7}).*/,"$1-$2-$3"),i.value=n))}function tamClearTextboxTextFromLocalStorage(){var n=document.getElementsByTagName("input"),t;for(index=0;index<n.length;++index)n[index].type=="text"&&window.sessionStorage.getItem(n[index].id)!==null&&(t=document.getElementById(n[index].id),window.sessionStorage.setItem(t.id,""))}function tamSetFocusToTextBox(n){document.getElementById(n).focus()}function jsParseForNumber1(n){_phoneValue1=jsParseChar(n.value,_charactersToRemove)}function jsParseForNumber2(n){_phoneValue2=jsParseChar(n.value,_charactersToRemove)}function jsPhoneKeyUp(n,t){var i;t=t?t:window.event;i=t.which?t.which:t.keyCode;jsParseForNumber1(n);i>=48&&jsValidatePhone(n)}function jsPhoneKeyDown(n){jsParseForNumber2(n)}function jsGetCursorPosition(){var n=_phoneValue1,r=_phoneValue2,t=!1;for(i=0;i<n.length;i++)n.substring(i,1)!=r.substring(i,1)&&(t||(_cursorPosition=i,t=!0))}function jsValidatePhone(n){var t=_phoneValue1,i,f,r,e,h,u,o,c,l,a,s;t=t.replace(/[^\d*]/gi,"");t.length<3?n.value=t:t.length==3?(i=t,n.value=i):t.length>3&&t.length<7?(f=t.length,r=t.substring(0,3),r=r+"-",e=t.substring(3,f),i=r+e,n.value=i):t.length>=7&&(f=t.length,r=t.substring(0,3),r=r+"-",e=t.substring(3,f),i=r+e,h=i.length,u=i.substring(0,7),u=u+"-",h>=12?(o=i.substring(7,11),c=u+o):(o=i.substring(7,h),c=u+o),n.value=c.substring(0,_maxPhoneLength));jsGetCursorPosition();_cursorPosition>=0&&(_cursorPosition==0?_cursorPosition=2:_cursorPosition<=2?_cursorPosition=_cursorPosition+1:_cursorPosition<=5?_cursorPosition=_cursorPosition+2:_cursorPosition==6?_cursorPosition=_cursorPosition+2:_cursorPosition==7?(_cursorPosition=_cursorPosition+4,l=n.value.indexOf(")"),a=n.value.indexOf("-"),l>-1&&a>-1&&a-l==4&&(_cursorPosition=_cursorPosition-1)):_cursorPosition<11?_cursorPosition=_cursorPosition+3:_cursorPosition==11?_cursorPosition=_cursorPosition+1:_cursorPosition>=12&&(_cursorPosition=_cursorPosition+1),s=n.createTextRange(),s.moveStart("character",_cursorPosition),s.moveEnd("character",_cursorPosition-n.value.length),s.select())}function jsParseChar(n,t){for(_charactersToRemove=t.length==null?new Array(t):t,i=0;i<_charactersToRemove.length;i++){for(var r="",f=0,u=n.indexOf(t[i]);u!=-1;)r+=n.substring(f,u),f=u+1,u=n.indexOf(t[i],f);r+=n.substring(n.lastIndexOf(t[i])+1,n.length);n=r}return r}function openFilter(){$(".tamFilterOverlay").fadeIn();$("#tamFilterNav").css("transform","translateX(0%)")}function closeFilter(){$(".tamFilterOverlay").fadeOut();$("#tamFilterNav").css("transform","translateX(100%)")}function openNav(){$(".tamOverlay").fadeIn();$("#tamSideBarNav").css("transform","translateX(0%)");$(".collapse.in").toggleClass("in")}function CheckTextLength(n,t){var i=document.getElementById(n),r=i.value;r.length>t&&(i.value=i.value.substr(0,t))}function CheckTextMaxLength(n){var t=document.getElementById(n),r=t.value,i=document.getElementById(n).maxLength;r.length>i&&(t.value=t.value.substr(0,i))}function Shift4WebAPIGetToken(n,t){var u=!1,r,f,i;isNullOrWhitespace(document.getElementById("ctl00_eTAMContent_hdfi4GoAccessBlock").value)?document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="The session token is missing, cannot retrieve card token":(r={accessBlock:document.getElementById("ctl00_eTAMContent_hdfi4GoAccessBlock").value,cardnumber:document.getElementById("ctl00_eTAMContent_txtCardNumber").value,expirationmonth:document.getElementById("ctl00_eTAMContent_cboMonth").value,expirationyear:document.getElementById("ctl00_eTAMContent_cboYear").value},document.getElementById("ctl00_eTAMContent_hdfi4GoResponse").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoResponseCode").value="",document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="",ValidateCreditCardForm()?(postData={fuseaction:"api.jsonPostCardEntry",i4go_accessblock:r.accessBlock,i4go_cardnumber:r.cardnumber,i4go_expirationmonth:r.expirationmonth,i4go_expirationyear:r.expirationyear},f=t+"/index.cfm",$.ajax({url:f,type:"POST",dataType:"json",timeout:28500,async:!1,crossDomain:!0,data:postData,success:function(n){i=n;u=!0},error:function(n,t){document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="(Status="+n+", ErrorThrown="+t+")"}}),document.getElementById("ctl00_eTAMContent_hdfi4GoResponse").value=i.i4go_response,document.getElementById("ctl00_eTAMContent_hdfi4GoResponseCode").value=i.i4go_responsecode):document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="There are problems below");document.getElementById("ctl00_eTAMContent_txtCardNumber").value="";u==!0?(document.getElementById("ctl00_eTAMContent_hdfi4GoCardType").value=i.i4go_cardtype,document.getElementById("ctl00_eTAMContent_hdfi4GoStreetAddress").value=i.i4go_streetaddress,document.getElementById("ctl00_eTAMContent_hdfi4GoPostalCode").value=i.i4go_postalcode,document.getElementById("ctl00_eTAMContent_hdfi4GoUToken").value=i.i4go_utoken,document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationMonth").value=i.i4go_expirationmonth,document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationYear").value=i.i4go_expirationyear,document.getElementById("ctl00_eTAMContent_hdfi4GoUniqueID").value=i.i4go_uniqueid,document.getElementById("ctl00_eTAMContent_hdfi4GoDisplayCardNbr").value=MaskCreditCard(r.cardnumber)):(document.getElementById("ctl00_eTAMContent_hdfi4GoCardType").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoStreetAddress").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoPostalCode").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoUToken").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationMonth").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationYear").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoUniqueID").value="")}function Shift4WebAPIGetTokenFullcheckout(n,t){var u=!1,r,f,i;isNullOrWhitespace(document.getElementById("ctl00_eTAMContent_hdfi4GoAccessBlock").value)?document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="The Access Block is Missing, Cannot Retrieve Token":(r={accessBlock:document.getElementById("ctl00_eTAMContent_hdfi4GoAccessBlock").value,cardnumber:document.getElementById("ctl00_eTAMContent_txtCardNumber").value,expirationmonth:document.getElementById("ctl00_eTAMContent_cboMonth").value,expirationyear:document.getElementById("ctl00_eTAMContent_cboYear").value,cvv:document.getElementById("ctl00_eTAMContent_txtCVV").value},document.getElementById("ctl00_eTAMContent_hdfi4GoResponse").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoResponseCode").value="",document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="",ValidateCreditCardFormFullcheckout()?(postData={fuseaction:"api.jsonPostCardEntry",i4go_accessblock:r.accessBlock,i4go_cardnumber:r.cardnumber,i4go_expirationmonth:r.expirationmonth,i4go_expirationyear:r.expirationyear,i4go_cvv2code:r.cvv},f=t+"/index.cfm",$.ajax({url:f,type:"POST",dataType:"json",timeout:28500,async:!1,crossDomain:!0,data:postData,success:function(n){i=n;u=!0},error:function(n,t,i){document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="(Status="+t+", ErrorThrown="+i+")"}}),document.getElementById("ctl00_eTAMContent_hdfi4GoResponse").value=i.i4go_response,document.getElementById("ctl00_eTAMContent_hdfi4GoResponseCode").value=i.i4go_responsecode):document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="There are problems below");document.getElementById("ctl00_eTAMContent_txtCardNumber").value="";u==!0?(document.getElementById("ctl00_eTAMContent_hdfi4GoCardType").value=i.i4go_cardtype,document.getElementById("ctl00_eTAMContent_hdfi4GoStreetAddress").value=i.i4go_streetaddress,document.getElementById("ctl00_eTAMContent_hdfi4GoPostalCode").value=i.i4go_postalcode,document.getElementById("ctl00_eTAMContent_hdfi4GoUToken").value=i.i4go_utoken,document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationMonth").value=i.i4go_expirationmonth,document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationYear").value=i.i4go_expirationyear,document.getElementById("ctl00_eTAMContent_hdfi4GoUniqueID").value=i.i4go_uniqueid,document.getElementById("ctl00_eTAMContent_hdfi4GoDisplayCardNbr").value=MaskCreditCard(r.cardnumber)):(document.getElementById("ctl00_eTAMContent_hdfi4GoCardType").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoStreetAddress").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoPostalCode").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoUToken").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationMonth").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoExpirationYear").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoUniqueID").value="",document.getElementById("ctl00_eTAMContent_hdfi4GoDisplayCardNbr").value="")}function MaskCreditCard(n){var t=n;return t.substring(0,6)+"XXXXXXXXXXXXXXXXXXXXXX".substring(6,t.length-4)+t.substring(t.length-4,t.length)}function ValidateCreditCardForm(){var n=!0,r,h,c,u,f,e,o,t,s,l,i;return document.getElementById("ctl00_eTAMContent_txtCardNumber")!=null?(r=document.getElementById("ctl00_eTAMContent_txtCardNumber").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="",r.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="Please provide"):IsValidCreditCard(r)||(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="Invalid Card Number")):alert('Control "ctl00_eTAMContent_txtCardNumber" is missing from the page!'),document.getElementById("ctl00_eTAMContent_cboMonth")!=null?(h=document.getElementById("ctl00_eTAMContent_cboMonth").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="",h==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="Please provide")):alert('Control "ctl00_eTAMContent_cboMonth" is missing from the page!'),document.getElementById("ctl00_eTAMContent_cboYear")!=null?(c=document.getElementById("ctl00_eTAMContent_cboYear").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="",c==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="Please provide")):alert('Control "ctl00_eTAMContent_cboYear" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtNameOnCard")!=null?(u=document.getElementById("ctl00_eTAMContent_txtNameOnCard").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="",u.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="Please provide"):u.length>50&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="50 Character Limit")):alert('Control "ctl00_eTAMContent_txtNameOnCard" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtAddressLine1")!=null?(f=document.getElementById("ctl00_eTAMContent_txtAddressLine1").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorAddressLine1").value="",f.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorAddressLine1").value="Please provide"):f.length>30&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorAddressLine1").value="30 Character Limit")):alert('Control "ctl00_eTAMContent_txtAddressLine1" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtCity")!=null?(e=document.getElementById("ctl00_eTAMContent_txtCity").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCity").value="",e.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCity").value="Please provide"):e.length>30&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCity").value="30 Character Limit")):alert('Control "ctl00_eTAMContent_txtCity" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtZip")!=null?(o=document.getElementById("ctl00_eTAMContent_txtZip").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorZip").value="",o.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorZip").value="Please provide"):o.length>10&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorZip").value="10 Character Limit")):alert('Control "ctl00_eTAMContent_txtZip" is missing from the page!'),t=0,document.getElementById("ctl00_eTAMContent_cboCountries")!=null?(s=document.getElementById("ctl00_eTAMContent_cboCountries").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCountries").value="",t=s,s==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCountries").value="Please provide")):alert('Control "cboCountries" is missing from the page!'),(t==1||t==14||t==44||t==241)&&(document.getElementById("ctl00_eTAMContent_cboStates")!=null?(l=document.getElementById("ctl00_eTAMContent_cboStates").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorState").value="",l==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorState").value="Please provide")):alert('Control "ctl00_eTAMContent_cboStates" is missing from the page!')),document.getElementById("ctl00_eTAMContent_txtPhoneNumber")!=null?(i=document.getElementById("ctl00_eTAMContent_txtPhoneNumber").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorPhone").value="",i.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorPhone").value="Please provide"):i.length>50?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorPhone").value="50 Character Limit"):(t==1||t==44)&&(/((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}/.test(i)||(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorPhone").value="Format: XXX-XXX-XXXX"))):alert('Control "ctl00_eTAMContent_txtPhoneNumber" is missing from the page!'),n}function ValidateCreditCardFormFullcheckout(){var n=!0,i,r,u,t;return document.getElementById("ctl00_eTAMContent_txtCardNumber")!=null?(i=document.getElementById("ctl00_eTAMContent_txtCardNumber").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="",i.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="Please provide"):IsValidCreditCard(i)||(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCardNumber").value="Invalid Card Number")):alert('Control "ctl00_eTAMContent_txtCardNumber" is missing from the page!'),document.getElementById("ctl00_eTAMContent_cboMonth")!=null?(r=document.getElementById("ctl00_eTAMContent_cboMonth").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="",r==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="Please provide")):alert('Control "ctl00_eTAMContent_cboMonth" is missing from the page!'),document.getElementById("ctl00_eTAMContent_cboYear")!=null?(u=document.getElementById("ctl00_eTAMContent_cboYear").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="",u==0&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorExpiration").value="Please provide")):alert('Control "ctl00_eTAMContent_cboYear" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtNameOnCard")!=null?(t=document.getElementById("ctl00_eTAMContent_txtNameOnCard").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="",t.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="Please provide"):t.length>50&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorNameOnCard").value="50 Character Limit")):alert('Control "ctl00_eTAMContent_txtNameOnCard" is missing from the page!'),document.getElementById("ctl00_eTAMContent_txtCVV")!=null?(t=document.getElementById("ctl00_eTAMContent_txtCVV").value,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCVV").value="",t.length==0?(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCVV").value="Please provide"):t.length>4&&(n=!1,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorCVV").value="4 Character Limit")):alert('Control "ctl00_eTAMContent_txtCVV" is missing from the page!'),n}function IsValidCreditCard(n){var t=!1,i=n.length;switch(n.substring(0,1)){case"1":i==15&n.substring(0,4)=="1800"&&(t=!0);break;case"2":if(n.substring(0,6)>=222100&&n.substring(0,6)<=272099)t=!0;else switch(n.substring(0,4)){case"2014":case"2149":i==15&&(t=!0);break;default:i==15&&n.substring(0,4)=="2131"&&(t=!0)}break;case"3":i==16?t=!0:i==14?(n.substring(0,3)>="300"&&n.substring(0,3)<="305"||n.substring(0,2)=="36"||n.substring(0,2)=="38")&&(t=!0):(n.substring(0,2)=="34"||n.substring(0,2)=="37")&&(t=!0);break;case"4":(i==13||i==16)&&(t=!0);break;case"5":i==16&n.substring(0,2)>="51"&n.substring(0,2)<="55"&&(t=!0);break;case"6":i==16&&n.substring(0,4)>="6011"&&(t=!0);break;case"8":n.substring(0,2)=="81"&&(t=!0)}return t&&(t=!1,t=IsMOD10(n)),t}function IsMOD10(n){var t,r,u,f,i,e;for(u=!0,f=0,r=(n+"").split("").reverse(),i=0,e=r.length;i<e;i++)t=r[i],t=parseInt(t,10),(u=!u)&&(t*=2),t>9&&(t-=9),f+=t;return f%10==0}function rebindPhoneNumberFormatter(){$(".TAMFormatPhoneNbr").off("blur");$(".TAMFormatPhoneNbr").blur(function(){var n=$(this).val().replace(/[^\d*]/gi,"");n.length>10&&n.substring(0,1)==1&&(n=n.substring(1));n=n.replace(/(\d{3})(\d{3})(\d{4})(\d{0,7}).*/,"$1-$2-$3");$(this).val(n)})}function tamUnsavedChanges(){if(window.sessionStorage.getItem("TAMUnsavedChanges")==null||window.sessionStorage.getItem("TAMUnsavedChanges")!="1")typeof Storage!="undefined"&&window.sessionStorage.setItem("TAMUnsavedChanges","1");else return!1}function tamResetUnsavedChanges(){(window.sessionStorage.getItem("TAMPostBack")==null||window.sessionStorage.getItem("TAMPostBack")!="1")&&typeof Storage!="undefined"&&window.sessionStorage.setItem("TAMUnsavedChanges","")}function tamSetPostBack(){window.sessionStorage.setItem("TAMPostBack","1")}function tamConfirmExit(){return window.sessionStorage.getItem("TAMPostBack")!="1"&&localStorage.setItem("activeTab","#pills-definedHTML"),window.sessionStorage.getItem("TAMUnsavedChanges")=="1"&&window.sessionStorage.getItem("TAMPostBack")!="1"?"":void 0}function isNullOrWhitespace(n){return typeof n=="undefined"||n==null?!0:n.replace(/\s/g,"").length<1}function ProcessConvergeGetToken(n,t){try{n.preventDefault();callbackCount=0;var u=performance.now(),r,i=0;f();ConvergeGetToken(t);function f(){if(console.log("continue: "+i+", "+callbackCount),i++,callbackCount<1&&i<=60){setTimeout(f,1e3);return}r=performance.now();var n=(r-u)/1e3;document.getElementById("ctl00_eTAMContent_hdfConvergeGetTokenTimeElapsed").value=n;__doPostBack("btnConvergeSave","")}}catch(f){console.error("ERROR:"+f)}}function ConvergeGetToken(n){var r,t,u,i,f,e,o,s,h,c,l,a,v,p;try{if(console.log("startGT"),document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=0,document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="",document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="",isNullOrWhitespace(document.getElementById("ctl00_eTAMContent_hdfConvergeAccessToken").value))document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="The session token is missing, cannot retrieve card token",document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="The session token is missing, please refresh this page",document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=4,callbackCount++;else if(r=!1,r=n=="fullcheckout"?ValidateCreditCardFormFullcheckout():ValidateCreditCardForm(),r){try{t="token";u=document.getElementById("ctl00_eTAMContent_hdfConvergeAccessToken").value;t="card number";i=document.getElementById("ctl00_eTAMContent_txtCardNumber").value;t="exp date";f=document.getElementById("ctl00_eTAMContent_cboMonth").value+document.getElementById("ctl00_eTAMContent_cboYear").value.substring(2);t="security code";document.getElementById("ctl00_eTAMContent_txtCVV")!=null&&(e=document.getElementById("ctl00_eTAMContent_txtCVV").value);t="get token";o="Y";t="add token";s="Y";t="first name";h=tamGetFirstName(document.getElementById("ctl00_eTAMContent_txtNameOnCard").value);t="last name";c=tamGetLastName(document.getElementById("ctl00_eTAMContent_txtNameOnCard").value);t="merchant txnid";l=document.getElementById("ctl00_eTAMContent_hdfConvergeMerchanttxnid").value;t="cardholderip";a=document.getElementById("ctl00_eTAMContent_hdfConvergeCardHolderIP").value}catch(y){return document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=6,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="Error retrieving data for "+t+": "+y.message,document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="Error retrieving data for "+t+": "+y.message,callbackCount++,!1}v="";v=a==""?{ssl_txn_auth_token:u,ssl_card_number:i,ssl_exp_date:f,ssl_get_token:o,ssl_add_token:s,ssl_first_name:h,ssl_last_name:c,ssl_cvv2cvc2:e,ssl_merchant_txn_id:l,ssl_verify:"Y"}:{ssl_txn_auth_token:u,ssl_card_number:i,ssl_exp_date:f,ssl_get_token:o,ssl_add_token:s,ssl_first_name:h,ssl_last_name:c,ssl_cvv2cvc2:e,ssl_merchant_txn_id:l,ssl_verify:"Y",ssl_cardholderip:a};p={onError:function(n){document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value=n;document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="Error processing card token";document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=3;callbackCount++},onDeclined:function(){document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="";document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=2;document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="Decline";callbackCount++},onApproval:function(n){document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="";document.getElementById("ctl00_eTAMContent_hdfConvergeCardType").value=n.ssl_card_short_description;document.getElementById("ctl00_eTAMContent_hdfConvergeCardToken").value=n.ssl_token;document.getElementById("ctl00_eTAMContent_hdfConvergeDisplayCardNbr").value=MaskCreditCard(i);document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=1;var t=!1;n.ssl_result=="0"&&(t=!0);document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="generated="+t+", response="+n.ssl_token_response+", addlResponse="+n.ssl_add_token_response;callbackCount++}};ConvergeEmbeddedPayment.pay(v,p);document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=-1;document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="No response from server, please try again";document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="No response from server, please try again"}else document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=5,document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="There are problems below",document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="There are problems below",callbackCount++;document.getElementById("ctl00_eTAMContent_txtCardNumber").value=""}catch(w){document.getElementById("ctl00_eTAMContent_hdfConvergeResponseCode").value=6;document.getElementById("ctl00_eTAMContent_hdfGetTokenErrorMessage").value="Get Token Error: "+w.message;document.getElementById("ctl00_eTAMContent_hdfConvergeResponse").value="Get Token Error: "+w.message;callbackCount++}}function cardNumberFocusIn(){$("#fullsteam-hosted-card-number-div").addClass("form-control-highlighted")}function cardNumberFocusOut(){$("#fullsteam-hosted-card-number-div").removeClass("form-control-highlighted")}function cardNumberTypeChanged(n){var t="";n=="visa"?t="VISA":n=="mastercard"?t="Master Card":n=="discover"?t="Discover":n=="amex"?t="American Express":n!="unknown"&&(t=n);$("#card-number-type").html(t)}function expirationMonthFocusIn(){$("#fullsteam-hosted-expiration-month-div").addClass("form-control-highlighted")}function expirationMonthFocusOut(){$("#fullsteam-hosted-expiration-month-div").removeClass("form-control-highlighted")}function expirationYearFocusIn(){$("#fullsteam-hosted-expiration-year-div").addClass("form-control-highlighted")}function expirationYearFocusOut(){$("#fullsteam-hosted-expiration-year-div").removeClass("form-control-highlighted")}function cvvFocusIn(){$("#fullsteam-hosted-cvv-div").addClass("form-control-highlighted")}function cvvFocusOut(){$("#fullsteam-hosted-cvv-div").removeClass("form-control-highlighted")}function cardNumberValid(){$("#fullsteam-hosted-card-number-error").html("")}function cardNumberInvalid(){$("#fullsteam-hosted-card-number-error").html("The Card Number field is invalid.")}function expirationMonthValid(){$("#fullsteam-hosted-expiration-month-error").html("")}function expirationMonthInvalid(){$("#fullsteam-hosted-expiration-month-error").html("The Exp Month field is required.")}function expirationYearValid(){$("#fullsteam-hosted-expiration-year-error").html("")}function expirationYearInvalid(){$("#fullsteam-hosted-expiration-year-error").html("The Exp Year field is required.")}function cvvValid(){$("#fullsteam-hosted-cvv-error").html("")}function cvvInvalid(){$("#fullsteam-hosted-cvv-error").html("The CVV field is invalid.")}function accountNumberFocusIn(){$("#fullsteam-hosted-account-number-div").addClass("form-control-highlighted")}function accountNumberFocusOut(){$("#fullsteam-hosted-account-number-div").removeClass("form-control-highlighted")}function accountNumberReEntryFocusIn(){$("#fullsteam-hosted-account-number-reentry-div").addClass("form-control-highlighted")}function accountNumberReEntryFocusOut(){$("#fullsteam-hosted-account-number-reentry-div").removeClass("form-control-highlighted")}function routingNumberFocusIn(){$("#fullsteam-hosted-routing-number-div").addClass("form-control-highlighted")}function routingNumberFocusFocusOut(){$("#fullsteam-hosted-routing-number-div").removeClass("form-control-highlighted")}function accountTypeFocusIn(){$("#fullsteam-hosted-account-type-div").addClass("form-control-highlighted")}function accountTypeFocusOut(){$("#fullsteam-hosted-account-type-div").removeClass("form-control-highlighted")}function accountNumberValid(){$("#fullsteam-hosted-account-number-error").html("")}function accountNumberInvalid(){$("#fullsteam-hosted-account-number-error").html("The Account Number field is invalid.")}function accountNumberReEntryValid(){$("#fullsteam-hosted-account-number-reentry-error").html("")}function accountNumberReEntryInvalid(){$("#fullsteam-hosted-account-number-reentry-error").html("The Account Number Verificaiton field is invalid.")}function routingNumberValid(){$("#fullsteam-hosted-routing-number-error").html("")}function routingNumberInvalid(){$("#fullsteam-hosted-routing-number-error").html("The Routing Number field is invalid.")}function accountTypeValid(){$("#fullsteam-hosted-account-type-error").html("")}function accountTypeInvalid(){$("#fullsteam-hosted-account-type-error").html("The Account Type field is required.")}function handleHostedPaymentsError(n){console.log("HostedPaymentsError");document.getElementById("hdfHostedPaymentsError").value=n;$("#aspnetForm").unbind("submit").submit()}function handleGatewayError(n){console.log("GatewayError");document.getElementById("hdfGatewayError").value=n;$("#aspnetForm").unbind("submit").submit()}function showPleaseWait(){$(document.body).append('<div class="modal" id="pleaseWaitDialog" data-backdrop="static" data-keyboard="false" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><h4 class="modal-title">Please wait...<\/h4><\/div><div class="modal-body"><div class="progress"><div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar"aria-valuenow="100" aria-valuemin="0" aria-valuemax="100" style="width:100%; height: 40px"><\/div><\/div > <\/div > <\/div > <\/div > <\/div >');$("#pleaseWaitDialog").modal("show")}function hidePleaseWait(){$("#pleaseWaitDialog").modal("hide")}function fullsteamSubmit(){var n=!0;try{if($(this).validate(),n=$(this).valid(),!n)return}catch(t){}performFullsteamHostedPaymentsAction()}var _charactersToRemove,_maxPhoneLength,_phoneValue1,_phoneValue2,_cursorPosition,callbackCount;!function(n,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){"use strict";function br(n,t,i){var r,e,u=(i=i||f).createElement("script");if(u.text=n,t)for(r in ee)(e=t[r]||t.getAttribute&&t.getAttribute(r))&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function it(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?ri[pr.call(n)]||"object":typeof n}function pi(n){var t=!!n&&"length"in n&&n.length,i=it(n);return!u(n)&&!tt(n)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in n)}function c(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function bi(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):"string"!=typeof t?i.grep(n,function(n){return-1<ii.call(t,n)!==r}):i.filter(t,n,r)}function uu(n,t){while((n=n[t])&&1!==n.nodeType);return n}function ut(n){return n}function fi(n){throw n;}function fu(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(void 0,[n].slice(r))}catch(n){i.apply(void 0,[n])}}function oi(){f.removeEventListener("DOMContentLoaded",oi);n.removeEventListener("load",oi);i.ready()}function ce(n,t){return t.toUpperCase()}function y(n){return n.replace(se,"ms-").replace(he,ce)}function pt(){this.expando=i.expando+pt.uid++}function ou(n,t,i){var u,r;if(void 0===i&&1===n.nodeType)if(u="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(i=n.getAttribute(u))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:le.test(r)?JSON.parse(r):r)}catch(n){}o.set(n,t,i)}else i=void 0;return i}function hu(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||"px"!==e&&+o)&&wt.exec(i.css(n,t));if(f&&f[3]!==e){for(o/=2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f/=h;f*=2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function et(n,t){for(var h,f,a,s,c,l,e,o=[],u=0,v=n.length;u<v;u++)(f=n[u]).style&&(h=f.style.display,t?("none"===h&&(o[u]=r.get(f,"display")||null,o[u]||(f.style.display="")),""===f.style.display&&kt(f)&&(o[u]=(e=c=s=void 0,c=(a=f).ownerDocument,l=a.nodeName,(e=di[l])||(s=c.body.appendChild(c.createElement(l)),e=i.css(s,"display"),s.parentNode.removeChild(s),"none"===e&&(e="block"),di[l]=e)))):"none"!==h&&(o[u]="none",r.set(f,"display",h)));for(u=0;u<v;u++)null!=o[u]&&(n[u].style.display=o[u]);return n}function s(n,t){var r;return r="undefined"!=typeof n.getElementsByTagName?n.getElementsByTagName(t||"*"):"undefined"!=typeof n.querySelectorAll?n.querySelectorAll(t||"*"):[],void 0===t||t&&c(n,t)?i.merge([n],r):r}function gi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function vu(n,t,r,u,f){for(var e,o,p,a,w,v,c=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if((e=n[l])||0===e)if("object"===it(e))i.merge(y,e.nodeType?[e]:e);else if(au.test(e)){for(o=o||c.appendChild(t.createElement("div")),p=(cu.exec(e)||["",""])[1].toLowerCase(),a=h[p]||h._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);(o=c.firstChild).textContent=""}else y.push(t.createTextNode(e));for(c.textContent="",l=0;e=y[l++];)if(u&&-1<i.inArray(e,u))f&&f.push(e);else if(w=ft(e),o=s(c.appendChild(e),"script"),w&&gi(o),r)for(v=0;e=o[v++];)lu.test(e.type||"")&&r.push(e);return c}function ot(){return!0}function st(){return!1}function we(n,t){return n===function(){try{return f.activeElement}catch(n){}}()==("focus"===t)}function nr(n,t,r,u,f,e){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(u=u||r,r=void 0),t)nr(n,s,r,u,t[s],e);return n}if(null==u&&null==f?(f=r,u=r=void 0):null==f&&("string"==typeof r?(f=u,u=void 0):(f=u,u=r,r=void 0)),!1===f)f=st;else if(!f)return n;return 1===e&&(o=f,(f=function(n){return i().off(n),o.apply(this,arguments)}).guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function hi(n,t,u){u?(r.set(n,t,!1),i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(1&n.isTrigger&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=b.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),f!==(e=r.get(this,t))||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})):void 0===r.get(n,t)&&i.event.add(n,t,ot)}function pu(n,t){return c(n,"table")&&c(11!==t.nodeType?t:t.firstChild,"tr")&&i(n).children("tbody")[0]||n}function no(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function to(n){return"true/"===(n.type||"").slice(0,5)?n.type=n.type.slice(5):n.removeAttribute("type"),n}function wu(n,t){var u,c,f,s,h,l,a,e;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),e=s.events))for(f in delete h.handle,h.events={},e)for(u=0,c=e[f].length;u<c;u++)i.event.add(t,f,e[f][u]);o.hasData(n)&&(l=o.access(n),a=i.extend({},l),o.set(t,a))}}function ht(n,t,f,o){t=yr.apply([],t);var a,w,l,v,h,b,c=0,y=n.length,d=y-1,p=t[0],k=u(p);if(k||1<y&&"string"==typeof p&&!e.checkClone&&de.test(p))return n.each(function(i){var r=n.eq(i);k&&(t[0]=p.call(this,i,r.html()));ht(r,t,f,o)});if(y&&(w=(a=vu(t,n[0].ownerDocument,!1,n,o)).firstChild,1===a.childNodes.length&&(a=w),w||o)){for(v=(l=i.map(s(a,"script"),no)).length;c<y;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(b=l[l.length-1].ownerDocument,i.map(l,to),c=0;c<v;c++)h=l[c],lu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(b,h)&&(h.src&&"module"!==(h.type||"").toLowerCase()?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")}):br(h.textContent.replace(ge,""),h,b))}return n}function bu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;null!=(u=e[f]);f++)r||1!==u.nodeType||i.cleanData(s(u)),u.parentNode&&(r&&ft(u)&&gi(s(u,"script")),u.parentNode.removeChild(u));return n}function ni(n,t,r){var o,s,h,f,u=n.style;return(r=r||ci(n))&&(""!==(f=r.getPropertyValue(t)||r[t])||ft(n)||(f=i.style(n,t)),!e.pixelBoxStyles()&&tr.test(f)&&io.test(t)&&(o=u.width,s=u.minWidth,h=u.maxWidth,u.minWidth=u.maxWidth=u.width=f,f=r.width,u.width=o,u.minWidth=s,u.maxWidth=h)),void 0!==f?f+"":f}function ku(n,t){return{get:function(){if(!n())return(this.get=t).apply(this,arguments);delete this.get}}}function ir(n){var t=i.cssProps[n]||nf[n];return t||(n in gu?n:nf[n]=function(n){for(var i=n[0].toUpperCase()+n.slice(1),t=du.length;t--;)if((n=du[t]+i)in gu)return n}(n)||n)}function uf(n,t,i){var r=wt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function rr(n,t,r,u,f,e){var o="width"===t?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)"margin"===r&&(s+=i.css(n,r+w[o],!0,f)),u?("content"===r&&(s-=i.css(n,"padding"+w[o],!0,f)),"margin"!==r&&(s-=i.css(n,"border"+w[o]+"Width",!0,f))):(s+=i.css(n,"padding"+w[o],!0,f),"padding"!==r?s+=i.css(n,"border"+w[o]+"Width",!0,f):h+=i.css(n,"border"+w[o]+"Width",!0,f));return!u&&0<=e&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function ff(n,t,r){var f=ci(n),o=(!e.boxSizingReliable()||r)&&"border-box"===i.css(n,"boxSizing",!1,f),s=o,u=ni(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(tr.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||"auto"===u||!parseFloat(u)&&"inline"===i.css(n,"display",!1,f))&&n.getClientRects().length&&(o="border-box"===i.css(n,"boxSizing",!1,f),(s=h in n)&&(u=n[h])),(u=parseFloat(u)||0)+rr(n,t,r||(o?"border":"content"),s,f,u)+"px"}function a(n,t,i,r,u){return new a.prototype.init(n,t,i,r,u)}function ur(){li&&(!1===f.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ur):n.setTimeout(ur,i.fx.interval),i.fx.tick())}function hf(){return n.setTimeout(function(){ct=void 0}),ct=Date.now()}function ai(n,t){var u,r=0,i={height:n};for(t=t?1:0;r<4;r+=2-t)i["margin"+(u=w[r])]=i["padding"+u]=n;return t&&(i.opacity=i.width=n),i}function cf(n,t,i){for(var u,f=(v.tweeners[t]||[]).concat(v.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function v(n,t,r){var o,s,h=0,a=v.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=ct||hf(),t=Math.max(0,f.startTime+f.duration-o),i=1-(t/f.duration||0),r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return e.notifyWith(n,[f,i,t]),i<1&&u?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:ct||hf(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(!function(n,t){var r,f,e,u,o;for(r in n)if(e=t[f=y(r)],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),(o=i.cssHooks[f])&&"expand"in o)for(r in u=o.expand(u),delete n[f],u)r in n||(n[r]=u[r],t[r]=e);else t[f]=e}(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts))return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,cf,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function g(n){return(n.match(l)||[]).join(" ")}function nt(n){return n.getAttribute&&n.getAttribute("class")||""}function fr(n){return Array.isArray(n)?n:"string"==typeof n&&n.match(l)||[]}function hr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||fo.test(n)?u(n,i):hr(n+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,u)});else if(r||"object"!==it(t))u(n,t);else for(f in t)hr(n+"["+f+"]",t[f],r,u)}function df(n){return function(t,i){"string"!=typeof t&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(l)||[];if(u(i))while(r=e[f++])"+"===r[0]?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function gf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===cr;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ar(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}var d=[],f=n.document,ue=Object.getPrototypeOf,b=d.slice,yr=d.concat,yi=d.push,ii=d.indexOf,ri={},pr=ri.toString,ui=ri.hasOwnProperty,wr=ui.toString,fe=wr.call(Object),e={},u=function(n){return"function"==typeof n&&"number"!=typeof n.nodeType},tt=function(n){return null!=n&&n===n.window},ee={type:!0,src:!0,nonce:!0,noModule:!0},kr="3.4.1",i=function(n,t){return new i.fn.init(n,t)},oe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,k,wi,nu,tu,iu,ru,l,eu,ei,yt,kt,ki,di,gt,si,au,ct,li,lt,ef,of,sf,lf,at,af,vf,yf,er,or,ne,vt,te,vr,vi,ie,re;i.fn=i.prototype={jquery:kr,constructor:i,length:0,toArray:function(){return b.call(this)},get:function(n){return null==n?b.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(b.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(0<=t&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:yi,sort:d.sort,splice:d.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[r]||{},r++),"object"==typeof n||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if(null!=(s=arguments[r]))for(f in s)t=s[f],"__proto__"!==f&&n!==t&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(kr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!(!n||"[object Object]"!==pr.call(n))&&(!(t=ue(n))||"function"==typeof(i=ui.call(t,"constructor")&&t.constructor)&&wr.call(i)===fe)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t){br(n,{nonce:t&&t.nonce})},each:function(n,t){var r,i=0;if(pi(n)){for(r=n.length;i<r;i++)if(!1===t.call(n[i],i,n[i]))break}else for(i in n)if(!1===t.call(n[i],i,n[i]))break;return n},trim:function(n){return null==n?"":(n+"").replace(oe,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(pi(Object(n))?i.merge(r,"string"==typeof n?[n]:n):yi.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ii.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u=[],r=0,f=n.length,e=!i;r<f;r++)!t(n[r],r)!==e&&u.push(n[r]);return u},map:function(n,t,i){var e,u,r=0,f=[];if(pi(n))for(e=n.length;r<e;r++)null!=(u=t(n[r],r,i))&&f.push(u);else for(r in n)null!=(u=t(n[r],r,i))&&f.push(u);return yr.apply([],f)},guid:1,support:e});"function"==typeof Symbol&&(i.fn[Symbol.iterator]=d[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ri["[object "+t+"]"]=t.toLowerCase()});k=function(n){function u(n,t,r,u){var s,p,l,v,w,d,g,y=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],"string"!=typeof n||!n||1!==a&&9!==a&&11!==a)return r;if(!u&&((t?t.ownerDocument||t:c)!==i&&b(t),t=t||i,h)){if(11!==a&&(w=ar.exec(n)))if(s=w[1]){if(9===a){if(!(l=t.getElementById(s)))return r;if(l.id===s)return r.push(l),r}else if(y&&(l=y.getElementById(s))&&et(t,l)&&l.id===s)return r.push(l),r}else{if(w[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=w[3])&&e.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(e.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(1!==a||"object"!==t.nodeName.toLowerCase())){if(g=n,y=t,1===a&&er.test(n)){for((v=t.getAttribute("id"))?v=v.replace(yi,pi):t.setAttribute("id",v=f),p=(d=ft(n)).length;p--;)d[p]="#"+v+" "+pt(d[p]);g=d.join(",");y=ti.test(n)&&ri(t.parentNode)||t}try{return k.apply(r,y.querySelectorAll(g)),r}catch(t){lt(n,!0)}finally{v===f&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){var n=[];return function i(r,u){return n.push(r+" ")>t.cacheLength&&delete i[n.shift()],i[r+" "]=u}}function l(n){return n[f]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function bi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function ki(n){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t&&t.disabled===n}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function di(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,e=u||r,o=i&&"parentNode"===e,s=gi++;return t.first?function(t,i,u){while(t=t[r])if(1===t.nodeType||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((1===t.nodeType||o)&&n(t,i,h))return!0}else while(t=t[r])if(1===t.nodeType||o)if(l=(a=t[f]||(t[f]={}))[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[e])&&c[0]===v&&c[1]===s)return y[2]=c[2];if((l[e]=y)[2]=n(t,i,h))return!0}return!1}}function ui(n){return 1<n.length?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;f<s;f++)(e=n[f])&&(i&&!i(e,r,u)||(o.push(e),h&&t.push(f)));return o}function fi(n,t,i,r,e,o){return r&&!r[f]&&(r=fi(r)),e&&!e[f]&&(e=fi(e,o)),l(function(f,o,s,h){var a,l,v,w=[],p=[],b=o.length,d=f||function(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}(t||"*",s.nodeType?[s]:s,[]),y=!n||!f&&t?d:bt(d,w,n,s,h),c=i?e||(f?n:b||r)?[]:o:y;if(i&&i(y,c,s,h),r)for(a=bt(c,p),r(a,[],s,h),l=a.length;l--;)(v=a[l])&&(c[p[l]]=!(y[p[l]]=v));if(f){if(e||n){if(e){for(a=[],l=c.length;l--;)(v=c[l])&&a.push(y[l]=v);e(null,c=[],a,h)}for(l=c.length;l--;)(v=c[l])&&-1<(a=e?nt(f,v):w[l])&&(f[a]=!(o[a]=v))}}else c=bt(c===o?c.splice(b,c.length):c),e?e(null,o,c,h):k.apply(o,c)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return-1<nt(o,n)},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])e=[wt(ui(e),u)];else{if((u=t.filter[n[i].type].apply(null,n[i].matches))[f]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(1<i&&ui(e),1<i&&pt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&pt(n))}e.push(u)}return ui(e)}var rt,e,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,f="sizzle"+1*new Date,c=n.document,v=0,gi=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},nr={}.hasOwnProperty,g=[],tr=g.pop,ir=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",rr=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),ur=new RegExp("^"+r+"*,"+r+"*"),fr=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!=r||i?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},yi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pi=function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},wi=function(){b()},vr=wt(function(n){return!0===n.disabled&&"fieldset"===n.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(rt){k={apply:g.length?function(n,t){ir.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}for(rt in e=u.support={},oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")},b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l!==i&&9===l.nodeType&&l.documentElement&&(s=(i=l).documentElement,h=!oi(i),c!==i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",wi,!1):u.attachEvent&&u.attachEvent("onunload",wi)),e.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),e.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),e.getElementsByClassName=ot.test(i.getElementsByClassName),e.getById=a(function(n){return s.appendChild(n).id=f,!i.getElementsByName||!i.getElementsByName(f).length}),e.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&h){var r,u,f,i=t.getElementById(n);if(i){if((r=i.getAttributeNode("id"))&&r.value===n)return[i];for(f=t.getElementsByName(n),u=0;i=f[u++];)if((r=i.getAttributeNode("id"))&&r.value===n)return[i]}return[]}}),t.find.TAG=e.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):e.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=e.getElementsByClassName&&function(n,t){if("undefined"!=typeof t.getElementsByClassName&&h)return t.getElementsByClassName(n)},d=[],o=[],(e.qsa=ot.test(i.querySelectorAll))&&(a(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+f+"-]").length||o.push("~=");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+f+"+*").length||o.push(".#.+[+~]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");2!==n.querySelectorAll(":enabled").length&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;2!==n.querySelectorAll(":disabled").length&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(e.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){e.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",ni)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1)||!e.sortDetached&&t.compareDocumentPosition(n)===r?n===i||n.ownerDocument===c&&et(c,n)?-1:t===i||t.ownerDocument===c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:4&r?-1:1)}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===i?-1:t===i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return bi(n,t);for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?bi(f[u],e[u]):f[u]===c?-1:e[u]===c?1:0}),i},u.matches=function(n,t){return u(n,null,null,t)},u.matchesSelector=function(n,t){if((n.ownerDocument||n)!==i&&b(n),e.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||e.disconnectedMatch||n.document&&11!==n.document.nodeType)return r}catch(n){lt(t,!0)}return 0<u(t,i,null,[n]).length},u.contains=function(n,t){return(n.ownerDocument||n)!==i&&b(n),et(n,t)},u.attr=function(n,r){(n.ownerDocument||n)!==i&&b(n);var f=t.attrHandle[r.toLowerCase()],u=f&&nr.call(t.attrHandle,r.toLowerCase())?f(n,r,!h):void 0;return void 0!==u?u:e.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null},u.escape=function(n){return(n+"").replace(yi,pi)},u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);},u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!e.detectDuplicates,w=!e.sortStable&&n.slice(0),n.sort(dt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n},st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i},(t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return null==f?"!="===t:!t||(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&-1<f.indexOf(i):"$="===t?i&&f.slice(-i.length)===i:"~="===t?-1<(" "+f.replace(rr," ")+" ").indexOf(i):"|="===t&&(f===i||f.slice(0,i.length+1)===i+"-"))}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),e="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var p,d,y,c,a,w,b=s!==o?"nextSibling":"previousSibling",k=t.parentNode,nt=e&&t.nodeName.toLowerCase(),g=!h&&!e,l=!1;if(k){if(s){while(b){for(c=t;c=c[b];)if(e?c.nodeName.toLowerCase()===nt:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?k.firstChild:k.lastChild],o&&g){for(l=(a=(p=(d=(y=(c=k)[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1])&&p[2],c=a&&k.childNodes[a];c=++a&&c&&c[b]||(l=a=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){d[n]=[v,a,l];break}}else if(g&&(l=a=(p=(d=(y=(c=t)[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]||[])[0]===v&&p[1]),!1===l)while(c=++a&&c&&c[b]||(l=a=0)||w.pop())if((e?c.nodeName.toLowerCase()===nt:1===c.nodeType)&&++l&&(g&&((d=(y=c[f]||(c[f]={}))[c.uniqueID]||(y[c.uniqueID]={}))[n]=[v,l]),c===t))break;return(l-=u)===r||l%r==0&&0<=l/r}}},PSEUDO:function(n,i){var e,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[f]?r(i):1<r.length?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var e,u=r(n,i),f=u.length;f--;)n[e=nt(n,u[f])]=!(t[e]=u[f])}):function(n){return r(n,0,e)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[f]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return 0<u(n,t).length}}),contains:l(function(n){return n=n.replace(y,p),function(t){return-1<(t.textContent||st(t)).indexOf(n)}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(i=i.toLowerCase())===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:ki(!1),disabled:ki(!0),checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,!0===n.selected},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:t<i?t:i;0<=--r;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}}).pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return di.prototype=t.filters=t.pseudos,t.setFilters=new di,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){for(o in e&&!(f=ur.exec(r))||(f&&(r=r.slice(f[0].length)||r),h.push(s=[])),e=!1,(f=fr.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length)),t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},kt=u.compile=function(n,r){var s,c,a,o,y,p,w=[],d=[],e=li[n+" "];if(!e){for(r||(r=ft(n)),s=r.length;s--;)(e=ei(r[s]))[f]?w.push(e):d.push(e);(e=li(n,(c=d,o=0<(a=w).length,y=0<c.length,p=function(n,r,f,e,s){var l,nt,d,g=0,p="0",tt=n&&[],w=[],it=ht,rt=n||y&&t.find.TAG("*",s),ut=v+=null==it?1:Math.random()||.1,ft=rt.length;for(s&&(ht=r===i||r||s);p!==ft&&null!=(l=rt[p]);p++){if(y&&l){for(nt=0,r||l.ownerDocument===i||(b(l),f=!h);d=c[nt++];)if(d(l,r||i,f)){e.push(l);break}s&&(v=ut)}o&&((l=!d&&l)&&g--,n&&tt.push(l))}if(g+=p,o&&p!==g){for(nt=0;d=a[nt++];)d(tt,w,r,f);if(n){if(0<g)while(p--)tt[p]||w[p]||(w[p]=tr.call(e));w=bt(w)}k.apply(e,w);s&&!n&&0<w.length&&1<g+a.length&&u.uniqueSort(e)}return s&&(v=ut,ht=it),tt},o?l(p):p))).selector=n}return e},si=u.select=function(n,i,r,u){var o,f,e,l,a,c="function"==typeof n&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],1===s.length){if(2<(f=s[0]=s[0].slice(0)).length&&"ID"===(e=f[0]).type&&9===i.nodeType&&h&&t.relative[f[1].type]){if(!(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0]))return r;c&&(i=i.parentNode);n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),!(n=u.length&&pt(f)))return k.apply(r,u),r;break}}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},e.sortStable=f.split("").sort(dt).join("")===f,e.detectDuplicates=!!ut,b(),e.sortDetached=a(function(n){return 1&n.compareDocumentPosition(i.createElement("fieldset"))}),a(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),e.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ii("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),a(function(n){return null==n.getAttribute("disabled")})||ii(gt,function(n,t,i){var r;if(!i)return!0===n[t]?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=k;i.expr=k.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=k.uniqueSort;i.text=k.getText;i.isXMLDoc=k.isXML;i.contains=k.contains;i.escapeSelector=k.escape;var rt=function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},dr=function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i},gr=i.expr.match.needsContext;wi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return 1<u?i.uniqueSort(r):r},filter:function(n){return this.pushStack(bi(this,n||[],!1))},not:function(n){return this.pushStack(bi(this,n||[],!0))},is:function(n){return!!bi(this,"string"==typeof n&&gr.test(n)?i(n):n||[],!1).length}});tu=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||nu,"string"==typeof n){if(!(e="<"===n[0]&&">"===n[n.length-1]&&3<=n.length?[null,n,null]:tu.exec(n))||!e[1]&&t)return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n);if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),wi.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return(o=f.getElementById(e[2]))&&(this[0]=o,this.length=1),this}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?void 0!==r.ready?r.ready(n):n(i):i.makeArray(n,this)}).prototype=i.fn;nu=i(f);iu=/^(?:parents|prev(?:Until|All))/;ru={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e="string"!=typeof n&&i(n);if(!gr.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?-1<e.index(r):1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(1<u.length?i.uniqueSort(u):u)},index:function(n){return n?"string"==typeof n?ii.call(i(n),this[0]):ii.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return rt(n,"parentNode")},parentsUntil:function(n,t,i){return rt(n,"parentNode",i)},next:function(n){return uu(n,"nextSibling")},prev:function(n){return uu(n,"previousSibling")},nextAll:function(n){return rt(n,"nextSibling")},prevAll:function(n){return rt(n,"previousSibling")},nextUntil:function(n,t,i){return rt(n,"nextSibling",i)},prevUntil:function(n,t,i){return rt(n,"previousSibling",i)},siblings:function(n){return dr((n.parentNode||{}).firstChild,n)},children:function(n){return dr(n.firstChild)},contents:function(n){return"undefined"!=typeof n.contentDocument?n.contentDocument:(c(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),1<this.length&&(ru[n]||i.uniqueSort(f),iu.test(n)&&f.reverse()),this.pushStack(f)}});l=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){var a,h;n="string"==typeof n?(a=n,h={},i.each(a.match(l)||[],function(n,t){h[t]=!0}),h):i.extend({},n);var o,r,v,f,t=[],s=[],e=-1,y=function(){for(f=f||n.once,v=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)!1===t[e].apply(r[0],r[1])&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},c={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&c.has(r)||t.push(r):r&&r.length&&"string"!==it(r)&&f(r)})}(arguments),r&&!o&&y()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;-1<(u=i.inArray(r,t,u));)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?-1<i.inArray(n,t):0<t.length},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=[n,(t=t||[]).slice?t.slice():t],s.push(t),o||y()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!v}};return c};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]])&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,l=function(){var n,i;if(!(t<o)){if((n=f.apply(h,c))===r.promise())throw new TypeError("Thenable self-resolution");i=n&&("object"==typeof n||"function"==typeof n)&&n.then;u(i)?e?i.call(n,s(o,r,ut,e),s(o,r,fi,e)):(o++,i.call(n,s(o,r,ut,e),s(o,r,fi,e),s(o,r,ut,r.notifyWith))):(f!==ut&&(h=void 0,c=[n]),(e||r.resolveWith)(h,c))}},a=e?l:function(){try{l()}catch(l){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(l,a.stackTrace);o<=t+1&&(f!==fi&&(h=void 0,c=[l]),r.rejectWith(h,c))}};t?a():(i.Deferred.getStackHook&&(a.stackTrace=i.Deferred.getStackHook()),n.setTimeout(a))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ut,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ut));f[2][3].add(s(0,n,u(r)?r:fi))}).promise()},promise:function(n){return null!=n?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=b.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=1<arguments.length?b.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(fu(n,r.done(s(t)).resolve,r.reject,!e),"pending"===r.state()||u(f[t]&&f[t].then)))return r.then();while(t--)fu(f[t],s(t),r.reject);return r.promise()}});eu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&eu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ei=i.Deferred();i.fn.ready=function(n){return ei.then(n)["catch"](function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(!0===n?--i.readyWait:i.isReady)||(i.isReady=!0)!==n&&0<--i.readyWait||ei.resolveWith(f,[i])}});i.ready.then=ei.then;"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?n.setTimeout(i.ready):(f.addEventListener("DOMContentLoaded",oi),n.addEventListener("load",oi));var p=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=null==r;if("object"===it(r))for(h in e=!0,r)p(n,t,h,r[h],!0,o,s);else if(void 0!==f&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},se=/^-ms-/,he=/-([a-z])/g;yt=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};pt.uid=1;pt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},yt(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if("string"==typeof t)u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return void 0===t?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(n,t):(this.set(n,t,i),void 0!==i?i:t)},remove:function(n,t){var u,r=n[this.expando];if(void 0!==r){if(void 0!==t)for(u=(t=Array.isArray(t)?t.map(y):(t=y(t))in r?[t]:t.match(l)||[]).length;u--;)delete r[t[u]];(void 0===t||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=void 0:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return void 0!==t&&!i.isEmptyObject(t)}};var r=new pt,o=new pt,le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(void 0===n){if(this.length&&(e=o.get(i),1===i.nodeType&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&0===(u=s[f].name).indexOf("data-")&&(u=y(u.slice(5)),ou(i,u,e[u]));r.set(i,"hasDataAttrs",!0)}return e}return"object"==typeof n?this.each(function(){o.set(this,n)}):p(this,function(t){var r;if(i&&void 0===t)return void 0!==(r=o.get(i,n))?r:void 0!==(r=ou(i,n))?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,1<arguments.length,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t);"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,function(){i.dequeue(n,t)},f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)(u=r.get(f[s],n+"queueHooks"))&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var su=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=new RegExp("^(?:([+-])=|)("+su+")([a-z%]*)$","i"),w=["Top","Right","Bottom","Left"],bt=f.documentElement,ft=function(n){return i.contains(n.ownerDocument,n)},ve={composed:!0};bt.getRootNode&&(ft=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(ve)===n.ownerDocument});kt=function(n,t){return"none"===(n=t||n).style.display||""===n.style.display&&ft(n)&&"none"===i.css(n,"display")};ki=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];for(u in f=i.apply(n,r||[]),t)n.style[u]=e[u];return f};di={};i.fn.extend({show:function(){return et(this,!0)},hide:function(){return et(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){kt(this)?i(this).show():i(this).hide()})}});var dt=/^(?:checkbox|radio)$/i,cu=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,lu=/^$|^module$|\/(?:java|ecma)script/i,h={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};h.optgroup=h.option;h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;au=/<|&#?\w+;/;gt=f.createDocumentFragment().appendChild(f.createElement("div"));(si=f.createElement("input")).setAttribute("type","radio");si.setAttribute("checked","checked");si.setAttribute("name","t");gt.appendChild(si);e.checkClone=gt.cloneNode(!0).cloneNode(!0).lastChild.checked;gt.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!gt.cloneNode(!0).lastChild.defaultValue;var ye=/^key/,pe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,yu=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var p,v,k,y,w,h,s,c,o,b,d,a=r.get(n);if(a)for(u.handler&&(u=(p=u).handler,e=p.selector),e&&i.find.matchesSelector(bt,e),u.guid||(u.guid=i.guid++),(y=a.events)||(y=a.events={}),(v=a.handle)||(v=a.handle=function(t){if("undefined"!=typeof i&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),w=(t=(t||"").match(l)||[""]).length;w--;)o=d=(k=yu.exec(t[w])||[])[1],b=(k[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:b.join(".")},p),(c=y[o])||((c=y[o]=[]).delegateCount=0,s.setup&&!1!==s.setup.call(n,f,b,v)||n.addEventListener&&n.addEventListener(o,v)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,c,v,p,s,h,a,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(p=(t=(t||"").match(l)||[""]).length;p--;)if(o=d=(c=yu.exec(t[p])||[])[1],b=(c[2]||"").split(".").sort(),o){for(h=i.event.special[o]||{},a=v[o=(f?h.delegateType:h.bindType)||o]||[],c=c[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=a.length;y--;)s=a[y],!e&&d!==s.origType||u&&u.guid!==s.guid||c&&!c.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(y,1),s.selector&&a.delegateCount--,h.remove&&h.remove.call(n,s));k&&!a.length&&(h.teardown&&!1!==h.teardown.call(n,b,w.handle)||i.removeEvent(n,o,w.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[p],u,f,!0);i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,h,c,e,f,l,t=i.event.fix(n),s=new Array(arguments.length),a=(r.get(this,"events")||{})[t.type]||[],o=i.event.special[t.type]||{};for(s[0]=t,u=1;u<arguments.length;u++)s[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||!1!==o.preDispatch.call(this,t)){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,h=0;(f=e.handlers[h++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!1!==f.namespace&&!t.rnamespace.test(f.namespace)||(t.handleObj=f,t.data=f.data,void 0!==(c=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,s))&&!1===(t.result=c)&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,h,u,e,o,c=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&!("click"===n.type&&1<=n.button))for(;r!==this;r=r.parentNode||this)if(1===r.nodeType&&("click"!==n.type||!0!==r.disabled)){for(e=[],o={},f=0;f<s;f++)void 0===o[u=(h=t[f]).selector+" "]&&(o[u]=h.needsContext?-1<i(u,this).index(r):i.find(u,this,null,[r]).length),o[u]&&e.push(h);e.length&&c.push({elem:r,handlers:e})}return r=this,s<t.length&&c.push({elem:r,handlers:t.slice(s)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return dt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click",ot),!1},trigger:function(n){var t=this||n;return dt.test(t.type)&&t.click&&c(t,"input")&&hi(t,"click"),!0},_default:function(n){var t=n.target;return dt.test(t.type)&&t.click&&c(t,"input")&&r.get(t,"click")||c(t,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&!1===n.returnValue?ot:st,this.target=n.target&&3===n.target.nodeType?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:st,isPropagationStopped:st,isImmediatePropagationStopped:st,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ot;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ot;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ot;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return null==n.which&&ye.test(n.type)?null!=n.charCode?n.charCode:n.keyCode:!n.which&&void 0!==t&&pe.test(n.type)?1&t?1:2&t?3:4&t?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return hi(this,n,we),!1},trigger:function(){return hi(this,n),!0},delegateType:t}});i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,r=n.relatedTarget,f=n.handleObj;return r&&(r===this||i.contains(this,r))||(n.type=f.origType,u=f.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return nr(this,n,t,i,r)},one:function(n,t,i,r){return nr(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=st),this.each(function(){i.event.remove(this,n,r,t)})}});var be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ke=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n.replace(be,"<$1><\/$2>")},clone:function(n,t,r){var u,c,o,f,l,a,v,h=n.cloneNode(!0),y=ft(n);if(!(e.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(f=s(h),u=0,c=(o=s(n)).length;u<c;u++)l=o[u],a=f[u],void 0,"input"===(v=a.nodeName.toLowerCase())&&dt.test(l.type)?a.checked=l.checked:"input"!==v&&"textarea"!==v||(a.defaultValue=l.defaultValue);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)wu(o[u],f[u]);else wu(n,h);return 0<(f=s(h,"script")).length&&gi(f,!y&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;void 0!==(t=n[e]);e++)if(yt(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=void 0}t[o.expando]&&(t[o.expando]=void 0)}}});i.fn.extend({detach:function(n){return bu(this,n,!0)},remove:function(n){return bu(this,n)},text:function(n){return p(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=n)})},null,n,arguments.length)},append:function(){return ht(this,arguments,function(n){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||pu(this,n).appendChild(n)})},prepend:function(){return ht(this,arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return ht(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null!=n&&n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return p(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!ke.test(n)&&!h[(cu.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)1===(t=this[r]||{}).nodeType&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(n){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return ht(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),yi.apply(f,u.get());return this.pushStack(f)}});var tr=new RegExp("^("+su+")(?!px)[a-z%]+$","i"),ci=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},io=new RegExp(w.join("|"),"i");!function(){function r(){if(t){o.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";bt.appendChild(o).appendChild(t);var i=n.getComputedStyle(t);s="1%"!==i.top;a=12===u(i.marginLeft);t.style.right="60%";l=36===u(i.right);h=36===u(i.width);t.style.position="absolute";c=12===u(t.offsetWidth/3);bt.removeChild(o);t=null}}function u(n){return Math.round(parseFloat(n))}var s,h,c,l,a,o=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===t.style.backgroundClip,i.extend(e,{boxSizingReliable:function(){return r(),h},pixelBoxStyles:function(){return r(),l},pixelPosition:function(){return r(),s},reliableMarginLeft:function(){return r(),a},scrollboxSize:function(){return r(),c}}))}();var du=["Webkit","Moz","ms"],gu=f.createElement("div").style,nf={};var ro=/^(none|table(?!-c[ea]).+)/,tf=/^--/,uo={position:"absolute",visibility:"hidden",display:"block"},rf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=ni(n,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var f,h,o,c=y(t),l=tf.test(t),s=n.style;if(l||(t=ir(c)),o=i.cssHooks[t]||i.cssHooks[c],void 0===r)return o&&"get"in o&&void 0!==(f=o.get(n,!1,u))?f:s[t];"string"==(h=typeof r)&&(f=wt.exec(r))&&f[1]&&(r=hu(n,t,f),h="number");null!=r&&r==r&&("number"!==h||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px")),e.clearCloneStyle||""!==r||0!==t.indexOf("background")||(s[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(n,r,u))||(l?s.setProperty(t,r):s[t]=r))}},css:function(n,t,r,u){var f,e,o,s=y(t);return tf.test(t)||(t=ir(s)),(o=i.cssHooks[t]||i.cssHooks[s])&&"get"in o&&(f=o.get(n,!0,r)),void 0===f&&(f=ni(n,t,u)),"normal"===f&&t in rf&&(f=rf[t]),""===r||r?(e=parseFloat(f),!0===r||isFinite(e)?e||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return!ro.test(i.css(n,"display"))||n.getClientRects().length&&n.getBoundingClientRect().width?ff(n,t,u):ki(n,uo,function(){return ff(n,t,u)})},set:function(n,r,u){var s,f=ci(n),h=!e.scrollboxSize()&&"absolute"===f.position,c=(h||u)&&"border-box"===i.css(n,"boxSizing",!1,f),o=u?rr(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-rr(n,t,"border",!1,f)-.5)),o&&(s=wt.exec(r))&&"px"!==(s[3]||"px")&&(n.style[t]=r,r=i.css(n,t)),uf(0,r,o)}}});i.cssHooks.marginLeft=ku(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(ni(n,"marginLeft"))||n.getBoundingClientRect().left-ki(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];r<4;r++)f[n+w[r]+t]=u[r]||u[r-2]||u[0];return f}};"margin"!==n&&(i.cssHooks[n+t].set=uf)});i.fn.extend({css:function(n,t){return p(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=ci(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,1<arguments.length)}});((i.Tween=a).prototype={constructor:a,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=a.propHooks[this.prop];return n&&n.get?n.get(this):a.propHooks._default.get(this)},run:function(n){var t,r=a.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):a.propHooks._default.set(this),this}}).init.prototype=a.prototype;(a.propHooks={_default:{get:function(n){var t;return 1!==n.elem.nodeType||null!=n.elem[n.prop]&&null==n.elem.style[n.prop]?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""))&&"auto"!==t?t:0},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):1!==n.elem.nodeType||!i.cssHooks[n.prop]&&null==n.elem.style[ir(n.prop)]?n.elem[n.prop]=n.now:i.style(n.elem,n.prop,n.now+n.unit)}}}).scrollTop=a.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=a.prototype.init;i.fx.step={};of=/^(?:toggle|show|hide)$/;sf=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return hu(i.elem,n,wt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(l);for(var i,r=0,f=n.length;r<f;r++)i=n[r],v.tweeners[i]=v.tweeners[i]||[],v.tweeners[i].unshift(t)},prefilters:[function(n,t,u){var f,y,w,c,b,h,o,l,k="width"in t||"height"in t,v=this,p={},s=n.style,a=n.nodeType&&kt(n),e=r.get(n,"fxshow");for(f in u.queue||(null==(c=i._queueHooks(n,"fx")).unqueued&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})})),t)if(y=t[f],of.test(y)){if(delete t[f],w=w||"toggle"===y,y===(a?"hide":"show")){if("show"!==y||!e||void 0===e[f])continue;a=!0}p[f]=e&&e[f]||i.style(n,f)}if((h=!i.isEmptyObject(t))||!i.isEmptyObject(p))for(f in k&&1===n.nodeType&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],null==(o=e&&e.display)&&(o=r.get(n,"display")),"none"===(l=i.css(n,"display"))&&(o?l=o:(et([n],!0),o=n.style.display||o,l=i.css(n,"display"),et([n]))),("inline"===l||"inline-block"===l&&null!=o)&&"none"===i.css(n,"float")&&(h||(v.done(function(){s.display=o}),null==o&&(l=s.display,o="none"===l?"":l)),s.display="inline-block")),u.overflow&&(s.overflow="hidden",v.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]})),h=!1,p)h||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&et([n],!0),v.done(function(){for(f in a||et([n]),r.remove(n,"fxshow"),p)i.style(n,f,p[f])})),h=cf(a?e[f]:0,f,v),f in e||(e[f]=h.start,a&&(h.end=h.start,h.start=0))}],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:"number"!=typeof f.duration&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),null!=f.queue&&!0!==f.queue||(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(kt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=v(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||!1===o.queue?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&!1!==n&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&sf.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));!s&&u||i.dequeue(this,n)})},finish:function(n){return!1!==n&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(ai(t,!0),n,i,u)}});i.each({slideDown:ai("show"),slideUp:ai("hide"),slideToggle:ai("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(ct=Date.now();n<t.length;n++)(r=t[n])()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();ct=void 0};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){li||(li=!0,ur())};i.fx.stop=function(){li=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx&&i.fx.speeds[t]||t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})};lt=f.createElement("input");ef=f.createElement("select").appendChild(f.createElement("option"));lt.type="checkbox";e.checkOn=""!==lt.value;e.optSelected=ef.selected;(lt=f.createElement("input")).value="t";lt.type="radio";e.radioValue="t"===lt.value;at=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return p(this,i.attr,n,t,1<arguments.length)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return"undefined"==typeof n.getAttribute?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(u=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?lf:void 0)),void 0!==r?null===r?void i.removeAttr(n,t):u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):u&&"get"in u&&null!==(f=u.get(n,t))?f:null==(f=i.find.attr(n,t))?void 0:f)},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&"radio"===t&&c(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(l);if(r&&1===n.nodeType)while(i=r[u++])n.removeAttribute(i)}});lf={set:function(n,t,r){return!1===t?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=at[t]||i.find.attr;at[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=at[u],at[u]=f,f=null!=r(n,t,i)?u:null,at[u]=e),f}});af=/^(?:input|select|textarea|button)$/i;vf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return p(this,i.prop,n,t,1<arguments.length)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(3!==e&&8!==e&&2!==e)return 1===e&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):af.test(n.nodeName)||vf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var o,t,r,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,nt(this)))});if((o=fr(n)).length)while(t=this[c++])if(f=nt(t),r=1===t.nodeType&&" "+g(f)+" "){for(s=0;e=o[s++];)r.indexOf(" "+e+" ")<0&&(r+=e+" ");f!==(h=g(r))&&t.setAttribute("class",h)}return this},removeClass:function(n){var o,r,t,f,e,s,h,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,nt(this)))});if(!arguments.length)return this.attr("class","");if((o=fr(n)).length)while(r=this[c++])if(f=nt(r),t=1===r.nodeType&&" "+g(f)+" "){for(s=0;e=o[s++];)while(-1<t.indexOf(" "+e+" "))t=t.replace(" "+e+" "," ");f!==(h=g(t))&&r.setAttribute("class",h)}return this},toggleClass:function(n,t){var f=typeof n,e="string"===f||Array.isArray(n);return"boolean"==typeof t&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,nt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=fr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else void 0!==n&&"boolean"!==f||((t=nt(this))&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===n?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(1===t.nodeType&&-1<(" "+g(nt(t))+" ").indexOf(i))return!0;return!1}});yf=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;1===this.nodeType&&(null==(u=e?n.call(this,r,i(this).val()):n)?u="":"number"==typeof u?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),(t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(f,"value"))?r:"string"==typeof(r=f.value)?r.replace(yf,""):null==r?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:g(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f="select-one"===n.type,s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(((t=o[r]).selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!c(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var r,u,f=n.options,e=i.makeArray(t),o=f.length;o--;)((u=f[o]).selected=-1<i.inArray(i.valHooks.option.get(u),e))&&(r=!0);return r||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=-1<i.inArray(i(n).val(),t)}};e.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});e.focusin="onfocusin"in n;er=/^(?:focusinfocus|focusoutblur)$/;or=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,p,w=[o||f],h=ui.call(t,"type")?t.type:t,b=ui.call(t,"namespace")?t.namespace.split("."):[];if(c=p=l=o=o||f,3!==o.nodeType&&8!==o.nodeType&&!er.test(h+i.event.triggered)&&(-1<h.indexOf(".")&&(h=(b=h.split(".")).shift(),b.sort()),v=h.indexOf(":")<0&&"on"+h,(t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t)).isTrigger=s?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),e=null==e?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||!1!==a.trigger.apply(o,e))){if(!s&&!a.noBubble&&!tt(o)){for(d=a.delegateType||h,er.test(d+h)||(c=c.parentNode);c;c=c.parentNode)w.push(c),l=c;l===(o.ownerDocument||f)&&w.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=w[k++])&&!t.isPropagationStopped();)p=c,t.type=1<k?d:a.bindType||h,(y=(r.get(c,"events")||{})[t.type]&&r.get(c,"handle"))&&y.apply(c,e),(y=v&&c[v])&&y.apply&&yt(c)&&(t.result=y.apply(c,e),!1===t.result&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||a._default&&!1!==a._default.apply(w.pop(),e)||!yt(o)||v&&u(o[h])&&!tt(o)&&((l=o[v])&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,or),o[h](),t.isPropagationStopped()&&p.removeEventListener(h,or),i.event.triggered=void 0,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var ti=n.location,pf=Date.now(),sr=/\?/;i.parseXML=function(t){var r;if(!t||"string"!=typeof t)return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){r=void 0}return r&&!r.getElementsByTagName("parsererror").length||i.error("Invalid XML: "+t),r};var fo=/\[\]$/,wf=/\r?\n/g,eo=/^(?:submit|button|image|reset|file)$/i,oo=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(null==i?"":i)};if(null==n)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)hr(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&oo.test(this.nodeName)&&!eo.test(n)&&(this.checked||!dt.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(wf,"\r\n")}}):{name:t.name,value:r.replace(wf,"\r\n")}}).get()}});var so=/%20/g,ho=/#.*$/,co=/([?&])_=[^&]*/,lo=/^(.*?):[ \t]*([^\r\n]*)$/gm,ao=/^(?:GET|HEAD)$/,vo=/^\/\//,bf={},cr={},kf="*/".concat("*"),lr=f.createElement("a");return lr.href=ti.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ti.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":kf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ar(ar(n,i.ajaxSettings),t):ar(i.ajaxSettings,n)},ajaxPrefilter:df(bf),ajaxTransport:df(cr),ajax:function(t,r){function b(t,r,f,c){var v,rt,b,p,g,l=r;s||(s=!0,d&&n.clearTimeout(d),a=void 0,k=c||"",e.readyState=0<t?4:0,v=200<=t&&t<300||304===t,f&&(p=function(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}(u,e,f)),p=function(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(!(f=o[e+" "+u]||o["* "+u]))for(h in o)if((s=h.split(" "))[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){!0===f?f=o[h]:!0!==o[h]&&(u=s[0],c.unshift(s[1]));break}if(!0!==f)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(n){return{state:"parsererror",error:f?n:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}(u,p,e,v),v?(u.ifModified&&((g=e.getResponseHeader("Last-Modified"))&&(i.lastModified[o]=g),(g=e.getResponseHeader("etag"))&&(i.etag[o]=g)),204===t||"HEAD"===u.type?l="nocontent":304===t?l="notmodified":(l=p.state,rt=p.data,v=!(b=p.error))):(b=l,!t&&l||(l="error",t<0&&(t=0))),e.status=t,e.statusText=(r||l)+"",v?tt.resolveWith(h,[rt,l,e]):tt.rejectWith(h,[e,l,b]),e.statusCode(w),w=void 0,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:b]),it.fireWith(h,[e,l]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof t&&(r=t,t=void 0);r=r||{};var a,o,k,v,d,c,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=lo.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return null==s&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return null==s&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return a&&a.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||ti.href)+"").replace(vo,ti.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(l)||[""],null==u.crossDomain){c=f.createElement("a");try{c.href=u.url;c.href=c.href;u.crossDomain=lr.protocol+"//"+lr.host!=c.protocol+"//"+c.host}catch(t){u.crossDomain=!0}}if(u.data&&u.processData&&"string"!=typeof u.data&&(u.data=i.param(u.data,u.traditional)),gf(bf,u,r,e),s)return e;for(g in(y=i.event&&u.global)&&0==i.active++&&i.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ao.test(u.type),o=u.url.replace(ho,""),u.hasContent?u.data&&u.processData&&0===(u.contentType||"").indexOf("application/x-www-form-urlencoded")&&(u.data=u.data.replace(so,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||"string"==typeof u.data)&&(o+=(sr.test(o)?"&":"?")+u.data,delete u.data),!1===u.cache&&(o=o.replace(co,"$1"),p=(sr.test(o)?"&":"?")+"_="+pf+++p),u.url=o+p),u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o])),(u.data&&u.hasContent&&!1!==u.contentType||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType),e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+kf+"; q=0.01":""):u.accepts["*"]),u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(!1===u.beforeSend.call(h,e,u)||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),a=gf(cr,u,r,e)){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&0<u.timeout&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;a.send(rt,b)}catch(t){if(s)throw t;b(-1,t)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=void 0),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i._evalUrl=function(n,t){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},ne={0:200,1223:204},vt=i.ajaxSettings.xhr(),e.cors=!!vt&&"withCredentials"in vt,e.ajax=vt=!!vt,i.ajaxTransport(function(t){var i,r;if(e.cors||vt&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];for(o in t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType),t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest"),u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,"abort"===n?e.abort():"error"===n?"number"!=typeof e.status?f(0,"error"):f(e.status,e.statusText):f(ne[e.status]||e.status,e.statusText,"text"!==(e.responseType||"text")||"string"!=typeof e.responseText?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");void 0!==e.onabort?e.onabort=r:e.onreadystatechange=function(){4===e.readyState&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(u){if(i)throw u;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){var r,t;if(n.crossDomain||n.scriptAttrs)return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}),vr=[],vi=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=vr.pop()||i.expando+"_"+pf++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=!1!==t.jsonp&&(vi.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&vi.test(t.data)&&"data");if(h||"jsonp"===t.dataTypes[0])return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(vi,"$1"+e):!1!==t.jsonp&&(t.url+=(sr.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){void 0===o?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,vr.push(e));s&&u(o)&&o(s[0]);s=o=void 0}),"script"}),e.createHTMLDocument=((te=f.implementation.createHTMLDocument("").body).innerHTML="<form><\/form><form><\/form>",2===te.childNodes.length),i.parseHTML=function(n,t,r){return"string"!=typeof n?[]:("boolean"==typeof t&&(r=t,t=!1),t||(e.createHTMLDocument?((s=(t=f.implementation.createHTMLDocument("")).createElement("base")).href=f.location.href,t.head.appendChild(s)):t=f),u=!r&&[],(o=wi.exec(n))?[t.createElement(o[1])]:(o=vu([n],t,u),u&&u.length&&i(u).remove(),i.merge([],o.childNodes)));var s,o,u},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return-1<o&&(f=g(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=void 0):t&&"object"==typeof t&&(s="POST"),0<e.length&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var v,o,s,h,f,c,l=i.css(n,"position"),a=i(n),e={};"static"===l&&(n.style.position="relative");f=a.offset();s=i.css(n,"top");c=i.css(n,"left");("absolute"===l||"fixed"===l)&&-1<(s+c).indexOf("auto")?(h=(v=a.position()).top,o=v.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);u(t)&&(t=t.call(n,r,i.extend({},f)));null!=t.top&&(e.top=t.top-f.top+h);null!=t.left&&(e.left=t.left-f.left+o);"using"in t?t.using.call(n,e):a.css(e)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,r,u,t=this[0],f={top:0,left:0};if("fixed"===i.css(t,"position"))r=t.getBoundingClientRect();else{for(r=this.offset(),u=t.ownerDocument,n=t.offsetParent||u.documentElement;n&&(n===u.body||n===u.documentElement)&&"static"===i.css(n,"position");)n=n.parentNode;n&&n!==t&&1===n.nodeType&&((f=i(n).offset()).top+=i.css(n,"borderTopWidth",!0),f.left+=i.css(n,"borderLeftWidth",!0))}return{top:r.top-f.top-i.css(t,"marginTop",!0),left:r.left-f.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&"static"===i.css(n,"position");)n=n.offsetParent;return n||bt})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return p(this,function(n,i,u){var f;if(tt(n)?f=n:9===n.nodeType&&(f=n.defaultView),void 0===u)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=ku(e.pixelPosition,function(n,r){if(r)return r=ni(n,t),tr.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||"boolean"!=typeof f),s=r||(!0===f||!0===e?"margin":"border");return p(this,function(t,r,f){var e;return tt(t)?0===u.indexOf("outer")?t["inner"+n]:t.document.documentElement["client"+n]:9===t.nodeType?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):void 0===f?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:void 0,o)}})}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return 0<arguments.length?this.on(t,null,n,i):this.trigger(t)}}),i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}}),i.proxy=function(n,t){var r,f,e;if("string"==typeof t&&(r=n[t],t=n,n=r),u(n))return f=b.call(arguments,2),(e=function(){return n.apply(t||this,f.concat(b.call(arguments)))}).guid=n.guid=n.guid||i.guid++,e},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=c,i.isFunction=u,i.isWindow=tt,i.camelCase=y,i.type=it,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return("number"===t||"string"===t)&&!isNaN(n-parseFloat(n))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),ie=n.jQuery,re=n.$,i.noConflict=function(t){return n.$===i&&(n.$=re),t&&n.jQuery===i&&(n.jQuery=ie),i},t||(n.jQuery=n.$=i),i});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(n.bootstrap={},n.jQuery)}(this,function(n,t){"use strict";function he(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function nt(n,t,i){return t&&he(n.prototype,t),i&&he(n,i),n}function a(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}function po(n){return n&&"[object Function]"==={}.toString.call(n)}function dt(n,t){if(1!==n.nodeType)return[];var i=getComputedStyle(n,null);return t?i[t]:i}function hf(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function hr(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=dt(n),i=t.overflow,r=t.overflowX,u=t.overflowY;return/(auto|scroll|overlay)/.test(i+u+r)?n:hr(hf(n))}function li(n){return 11===n?cf:10===n?lf:cf||lf}function ai(n){var r,t,i;if(!n)return document.documentElement;for(r=li(10)?document.body:null,t=n.offsetParent;t===r&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===dt(t,"position")?ai(t):t:n?n.ownerDocument.documentElement:document.documentElement}function af(n){return null!==n.parentNode?af(n.parentNode):n}function su(n,t){var u,h,i,f;if(!(n&&n.nodeType&&t&&t.nodeType))return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?"BODY"===(h=(u=i).nodeName)||"HTML"!==h&&ai(u.firstElementChild)!==u?ai(i):i:(f=af(n),f.host?su(f.host,t):su(n,af(t).host))}function vi(n){var t="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=n.nodeName,r;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,(n.ownerDocument.scrollingElement||r)[t]):n[t]}function wo(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function bo(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],li(10)?i["offset"+n]+r["margin"+("Height"===n?"Top":"Left")]+r["margin"+("Height"===n?"Bottom":"Right")]:0)}function ko(){var t=document.body,n=document.documentElement,i=li(10)&&getComputedStyle(n);return{height:bo("Height",t,n,i),width:bo("Width",t,n,i)}}function ht(n){return w({},n,{right:n.left+n.width,bottom:n.top+n.height})}function vf(n){var t={},r,u,o;try{li(10)?(t=n.getBoundingClientRect(),r=vi(n,"top"),u=vi(n,"left"),t.top+=r,t.left+=u,t.bottom+=r,t.right+=u):t=n.getBoundingClientRect()}catch(n){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},s="HTML"===n.nodeName?ko():{},h=s.width||n.clientWidth||i.right-i.left,c=s.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-h,e=n.offsetHeight-c;return(f||e)&&(o=dt(n),f-=wo(o,"x"),e-=wo(o,"y"),i.width-=f,i.height-=e),ht(i)}function yf(n,t){var l=2<arguments.length&&void 0!==arguments[2]&&arguments[2],a=li(10),v="HTML"===t.nodeName,u=vf(n),r=vf(t),s=hr(n),f=dt(t),h=parseFloat(f.borderTopWidth,10),c=parseFloat(f.borderLeftWidth,10),i,e,o;return l&&"HTML"===t.nodeName&&(r.top=Math.max(r.top,0),r.left=Math.max(r.left,0)),i=ht({top:u.top-r.top-h,left:u.left-r.left-c,width:u.width,height:u.height}),(i.marginTop=0,i.marginLeft=0,!a&&v)&&(e=parseFloat(f.marginTop,10),o=parseFloat(f.marginLeft,10),i.top-=h-e,i.bottom-=h-e,i.left-=c-o,i.right-=c-o,i.marginTop=e,i.marginLeft=o),(a&&!l?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(i=function(n,t){var f=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=vi(t,"top"),u=vi(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}(i,t)),i}function go(n){if(!n||!n.parentElement||li())return document.documentElement;for(var t=n.parentElement;t&&"none"===dt(t,"transform");)t=t.parentElement;return t||document.documentElement}function pf(n,t,i,r){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},s=o?go(n):su(n,t),e,f;if("viewport"===r)u=function(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=n.ownerDocument.documentElement,i=yf(n,t),u=Math.max(t.clientWidth,window.innerWidth||0),f=Math.max(t.clientHeight,window.innerHeight||0),e=r?0:vi(t),o=r?0:vi(t,"left");return ht({top:e-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:u,height:f})}(s,o);else if(e=void 0,"scrollParent"===r?"BODY"===(e=hr(hf(t))).nodeName&&(e=n.ownerDocument.documentElement):e="window"===r?n.ownerDocument.documentElement:r,f=yf(e,s,o),"HTML"!==e.nodeName||function n(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===dt(t,"position")||n(hf(t)))}(s))u=f;else{var h=ko(),c=h.height,l=h.width;u.top+=f.top-f.marginTop;u.bottom=c+f.top;u.left+=f.left-f.marginLeft;u.right=l+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function ns(n,t,i,r,u){var c=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var f=pf(i,r,c,u),e={top:{width:f.width,height:t.top-f.top},right:{width:f.right-t.right,height:f.height},bottom:{width:f.width,height:f.bottom-t.bottom},left:{width:t.left-f.left,height:f.height}},o=Object.keys(e).map(function(n){return w({key:n},e[n],{area:(t=e[n],t.width*t.height)});var t}).sort(function(n,t){return t.area-n.area}),s=o.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),l=0<s.length?s[0].key:o[0].key,h=n.split("-")[1];return l+(h?"-"+h:"")}function ts(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return yf(i,r?go(t):su(t,i),r)}function is(n){var t=getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function hu(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function rs(n,t,i){i=i.split("-")[0];var r=is(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[hu(f)],e}function cr(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function us(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=cr(n,function(n){return n[t]===i});return n.indexOf(r)}(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&po(i)&&(t.offsets.popper=ht(t.offsets.popper),t.offsets.reference=ht(t.offsets.reference),t=i(t,n))}),t}function fs(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function wf(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof document.body.style[r])return r;return null}function es(n){var t=n.ownerDocument;return t?t.defaultView:window}function el(n,t,i,r){i.updateBound=r;es(n).addEventListener("resize",i.updateBound,{passive:!0});var u=hr(n);return function n(t,i,r,u){var e="BODY"===t.nodeName,f=e?t.ownerDocument.defaultView:t;f.addEventListener(i,r,{passive:!0});e||n(hr(f.parentNode),i,r,u);u.push(f)}(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function ol(){var t,n;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,n=this.state,es(t).removeEventListener("resize",n.updateBound),n.scrollParents.forEach(function(t){t.removeEventListener("scroll",n.updateBound)}),n.updateBound=null,n.scrollParents=[],n.scrollElement=null,n.eventsEnabled=!1,n))}function bf(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function kf(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&bf(t[i])&&(r="px");n.style[i]=t[i]+r})}function os(n,t,i){var u=cr(n,function(n){return n.name===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r,e;return f||(r="`"+t+"`",e="`"+i+"`",console.warn(e+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function ss(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=cu.indexOf(n),i=cu.slice(t+1).concat(cu.slice(0,t));return r?i.reverse():i}function sl(n,t,i,r){var s=[0,0],h=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(cr(u,function(n){return-1!==n.search(/,|\s/)})),e,o;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),e=/\s*,\s*|\s+/,o=-1!==f?[u.slice(0,f).concat([u[f].split(e)[0]]),[u[f].split(e)[1]].concat(u.slice(f+1))]:[u],(o=o.map(function(n,r){var f=(1===r?!h:h)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return function(n,t,i,r){var o=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+o[1],u=o[2],e;if(!f)return n;if(0===u.indexOf("%")){e=void 0;switch(u){case"%p":e=i;break;case"%":case"%r":default:e=r}return ht(e)[t]/100*f}return"vh"===u||"vw"===u?("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f:f}(n,f,t,i)})})).forEach(function(n,t){n.forEach(function(i,r){bf(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}for(var yo,cf,lf,df,cu,lu,hs,ct,v,ui,kr,dr,ce,gr,le,ae,ve,yt,h,fi,nu,tu,iu,ye,ei,pe,we,rf,be,ke,de,uf,ff,oi,u,pt,ur,tt,ef,ge,ru,no,fr,er,to,io,it,ro,ot,uo,fo,eo,oo,so,rt,wt,o,bt,kt,si,ho,uu,co,hi,st,or,sr,fu,of,lo,eu,ci,f=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i="transitionend",t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");try{return 0<n(document).find(i).length?i:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration");return parseFloat(i)?(i=i.split(",")[0],1e3*parseFloat(i)):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return n.fn.emulateTransitionEnd=r,n.event.special[t.TRANSITION_END]={bindType:i,delegateType:i,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}},t}(t=t&&t.hasOwnProperty("default")?t.default:t),nl=(ui="alert",dr="."+(kr="bs.alert"),ce=(v=t).fn[ui],gr={CLOSE:"close"+dr,CLOSED:"closed"+dr,CLICK_DATA_API:"click"+dr+".data-api"},le="alert",ae="fade",ve="show",yt=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){v.removeData(this._element,kr);this._element=null},t._getRootElement=function(n){var i=f.getSelectorFromElement(n),t=!1;return i&&(t=v(i)[0]),t||(t=v(n).closest("."+le)[0]),t},t._triggerCloseEvent=function(n){var t=v.Event(gr.CLOSE);return v(n).trigger(t),t},t._removeElement=function(n){var i=this,t;(v(n).removeClass(ve),v(n).hasClass(ae))?(t=f.getTransitionDurationFromElement(n),v(n).one(f.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(t)):this._destroyElement(n)},t._destroyElement=function(n){v(n).detach().trigger(gr.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var r=v(this),i=r.data(kr);i||(i=new n(this),r.data(kr,i));"close"===t&&i[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),v(document).on(gr.CLICK_DATA_API,'[data-dismiss="alert"]',yt._handleDismiss(new yt)),v.fn[ui]=yt._jQueryInterface,v.fn[ui].Constructor=yt,v.fn[ui].noConflict=function(){return v.fn[ui]=ce,yt._jQueryInterface},yt),tl=(fi="button",tu="."+(nu="bs.button"),iu=".data-api",ye=(h=t).fn[fi],ei="active",pe="btn",rf='[data-toggle^="button"]',be='[data-toggle="buttons"]',ke="input",de=".active",uf=".btn",ff={CLICK_DATA_API:"click"+tu+iu,FOCUS_BLUR_DATA_API:(we="focus")+tu+iu+" blur"+tu+iu},oi=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var i=!0,u=!0,t=h(this._element).closest(be)[0],n,r;if(t&&(n=h(this._element).find(ke)[0],n)){if("radio"===n.type&&(n.checked&&h(this._element).hasClass(ei)?i=!1:(r=h(t).find(de)[0],r&&h(r).removeClass(ei))),i){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!h(this._element).hasClass(ei);h(n).trigger("change")}n.focus();u=!1}u&&this._element.setAttribute("aria-pressed",!h(this._element).hasClass(ei));i&&h(this._element).toggleClass(ei)},t.dispose=function(){h.removeData(this._element,nu);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var i=h(this).data(nu);i||(i=new n(this),h(this).data(nu,i));"toggle"===t&&i[t]()})},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),h(document).on(ff.CLICK_DATA_API,rf,function(n){n.preventDefault();var t=n.target;h(t).hasClass(pe)||(t=h(t).closest(uf));oi._jQueryInterface.call(h(t),"toggle")}).on(ff.FOCUS_BLUR_DATA_API,rf,function(n){var t=h(n.target).closest(uf)[0];h(t).toggleClass(we,/^focus(in)?$/.test(n.type))}),h.fn[fi]=oi._jQueryInterface,h.fn[fi].Constructor=oi,h.fn[fi].noConflict=function(){return h.fn[fi]=ye,oi._jQueryInterface},oi),il=(pt="carousel",tt="."+(ur="bs.carousel"),ef=".data-api",ge=(u=t).fn[pt],ru={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},no={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},fr="next",er="prev",to="left",io="right",it={SLIDE:"slide"+tt,SLID:"slid"+tt,KEYDOWN:"keydown"+tt,MOUSEENTER:"mouseenter"+tt,MOUSELEAVE:"mouseleave"+tt,TOUCHEND:"touchend"+tt,LOAD_DATA_API:"load"+tt+ef,CLICK_DATA_API:"click"+tt+ef},ro="carousel",ot="active",uo="slide",fo="carousel-item-right",eo="carousel-item-left",oo="carousel-item-next",so="carousel-item-prev",rt={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},wt=function(){function t(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(t);this._element=u(n)[0];this._indicatorsElement=u(this._element).find(rt.INDICATORS)[0];this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(fr)},n.nextWhenVisible=function(){!document.hidden&&u(this._element).is(":visible")&&"hidden"!==u(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(er)},n.pause=function(n){n||(this._isPaused=!0);u(this._element).find(rt.NEXT_PREV)[0]&&(f.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var r=this,t,i;if(this._activeElement=u(this._element).find(rt.ACTIVE_ITEM)[0],t=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)u(this._element).one(it.SLID,function(){return r.to(n)});else{if(t===n)return this.pause(),void this.cycle();i=t<n?fr:er;this._slide(i,this._items[n])}},n.dispose=function(){u(this._element).off(tt);u.removeData(this._element,ur);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=a({},ru,n),f.typeCheckConfig(pt,n,no),n},n._addEventListeners=function(){var n=this;this._config.keyboard&&u(this._element).on(it.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&(u(this._element).on(it.MOUSEENTER,function(t){return n.pause(t)}).on(it.MOUSELEAVE,function(t){return n.cycle(t)}),"ontouchstart"in document.documentElement&&u(this._element).on(it.TOUCHEND,function(){n.pause();n.touchTimeout&&clearTimeout(n.touchTimeout);n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval)}))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=u.makeArray(u(n).parent().find(rt.ITEM)),this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===fr,f=n===er,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===er?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,t){var r=this._getItemIndex(n),f=this._getItemIndex(u(this._element).find(rt.ACTIVE_ITEM)[0]),i=u.Event(it.SLIDE,{relatedTarget:n,direction:t,from:f,to:r});return u(this._element).trigger(i),i},n._setActiveIndicatorElement=function(n){if(this._indicatorsElement){u(this._indicatorsElement).find(rt.ACTIVE).removeClass(ot);var t=this._indicatorsElement.children[this._getItemIndex(n)];t&&u(t).addClass(ot)}},n._slide=function(n,t){var e,o,s,c=this,r=u(this._element).find(rt.ACTIVE_ITEM)[0],v=this._getItemIndex(r),i=t||r&&this._getItemByDirection(n,r),y=this._getItemIndex(i),l=Boolean(this._interval),h,a;(n===fr?(e=eo,o=oo,s=to):(e=fo,o=so,s=io),i&&u(i).hasClass(ot))?this._isSliding=!1:!this._triggerSlideEvent(i,s).isDefaultPrevented()&&r&&i&&(this._isSliding=!0,l&&this.pause(),this._setActiveIndicatorElement(i),h=u.Event(it.SLID,{relatedTarget:i,direction:s,from:v,to:y}),u(this._element).hasClass(uo)?(u(i).addClass(o),f.reflow(i),u(r).addClass(e),u(i).addClass(e),a=f.getTransitionDurationFromElement(r),u(r).one(f.TRANSITION_END,function(){u(i).removeClass(e+" "+o).addClass(ot);u(r).removeClass(ot+" "+o+" "+e);c._isSliding=!1;setTimeout(function(){return u(c._element).trigger(h)},0)}).emulateTransitionEnd(a)):(u(r).removeClass(ot),u(i).addClass(ot),this._isSliding=!1,u(this._element).trigger(h)),l&&this.cycle())},t._jQueryInterface=function(n){return this.each(function(){var i=u(this).data(ur),r=a({},ru,u(this).data()),f;if("object"==typeof n&&(r=a({},r,n)),f="string"==typeof n?n:r.slide,i||(i=new t(this,r),u(this).data(ur,i)),"number"==typeof n)i.to(n);else if("string"==typeof f){if("undefined"==typeof i[f])throw new TypeError('No method named "'+f+'"');i[f]()}else r.interval&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var o=f.getSelectorFromElement(this),i,e,r;o&&(i=u(o)[0],i&&u(i).hasClass(ro)&&(e=a({},u(i).data(),u(this).data()),r=this.getAttribute("data-slide-to"),r&&(e.interval=!1),t._jQueryInterface.call(u(i),e),r&&u(i).data(ur).to(r),n.preventDefault()))},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return ru}}]),t}(),u(document).on(it.CLICK_DATA_API,rt.DATA_SLIDE,wt._dataApiClickHandler),u(window).on(it.LOAD_DATA_API,function(){u(rt.DATA_RIDE).each(function(){var n=u(this);wt._jQueryInterface.call(n,n.data())})}),u.fn[pt]=wt._jQueryInterface,u.fn[pt].Constructor=wt,u.fn[pt].noConflict=function(){return u.fn[pt]=ge,wt._jQueryInterface},wt),rl=(bt="collapse",si="."+(kt="bs.collapse"),ho=(o=t).fn[bt],uu={toggle:!0,parent:""},co={toggle:"boolean",parent:"(string|element)"},hi={SHOW:"show"+si,SHOWN:"shown"+si,HIDE:"hide"+si,HIDDEN:"hidden"+si,CLICK_DATA_API:"click"+si+".data-api"},st="show",or="collapse",sr="collapsing",fu="collapsed",of="width",lo="height",eu={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ci=function(){function t(n,t){var u,i,e,r;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=o.makeArray(o('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]')),u=o(eu.DATA_TOGGLE),i=0;i<u.length;i++)e=u[i],r=f.getSelectorFromElement(e),null!==r&&0<o(r).filter(n).length&&(this._selector=r,this._triggerArray.push(e));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){o(this._element).hasClass(st)?this.hide():this.show()},n.show=function(){var n,u,r=this,e,i,s,h;this._isTransitioning||o(this._element).hasClass(st)||(this._parent&&0===(n=o.makeArray(o(this._parent).find(eu.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(n=null),n&&(u=o(n).not(this._selector).data(kt))&&u._isTransitioning)||(e=o.Event(hi.SHOW),(o(this._element).trigger(e),e.isDefaultPrevented())||(n&&(t._jQueryInterface.call(o(n).not(this._selector),"hide"),u||o(n).data(kt,null)),i=this._getDimension(),o(this._element).removeClass(or).addClass(sr),(this._element.style[i]=0)<this._triggerArray.length&&o(this._triggerArray).removeClass(fu).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(i[0].toUpperCase()+i.slice(1)),h=f.getTransitionDurationFromElement(this._element),o(this._element).one(f.TRANSITION_END,function(){o(r._element).removeClass(sr).addClass(or).addClass(st);r._element.style[i]="";r.setTransitioning(!1);o(r._element).trigger(hi.SHOWN)}).emulateTransitionEnd(h),this._element.style[i]=this._element[s]+"px"))},n.hide=function(){var e=this,i,n,t,r,u,s;if(!this._isTransitioning&&o(this._element).hasClass(st)&&(i=o.Event(hi.HIDE),o(this._element).trigger(i),!i.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",f.reflow(this._element),o(this._element).addClass(sr).removeClass(or).removeClass(st),0<this._triggerArray.length)for(t=0;t<this._triggerArray.length;t++)r=this._triggerArray[t],u=f.getSelectorFromElement(r),null!==u&&(o(u).hasClass(st)||o(r).addClass(fu).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";s=f.getTransitionDurationFromElement(this._element);o(this._element).one(f.TRANSITION_END,function(){e.setTransitioning(!1);o(e._element).removeClass(sr).addClass(or).trigger(hi.HIDDEN)}).emulateTransitionEnd(s)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){o.removeData(this._element,kt);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=a({},uu,n)).toggle=Boolean(n.toggle),f.typeCheckConfig(bt,n,co),n},n._getDimension=function(){return o(this._element).hasClass(of)?of:lo},n._getParent=function(){var r=this,n=null,i;return f.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=o(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o(n).find(i).each(function(n,i){r._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),n},n._addAriaAndCollapsedClass=function(n,t){if(n){var i=o(n).hasClass(st);0<t.length&&o(t).toggleClass(fu,!i).attr("aria-expanded",i)}},t._getTargetFromElement=function(n){var t=f.getSelectorFromElement(n);return t?o(t)[0]:null},t._jQueryInterface=function(n){return this.each(function(){var r=o(this),i=r.data(kt),u=a({},uu,r.data(),"object"==typeof n&&n?n:{});if(!i&&u.toggle&&/show|hide/.test(n)&&(u.toggle=!1),i||(i=new t(this,u),r.data(kt,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return uu}}]),t}(),o(document).on(hi.CLICK_DATA_API,eu.DATA_TOGGLE,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var t=o(this),i=f.getSelectorFromElement(this);o(i).each(function(){var n=o(this),i=n.data(kt)?"toggle":t.data();ci._jQueryInterface.call(n,i)})}),o.fn[bt]=ci._jQueryInterface,o.fn[bt].Constructor=ci,o.fn[bt].noConflict=function(){return o.fn[bt]=ho,ci._jQueryInterface},ci),ou="undefined"!=typeof window&&"undefined"!=typeof document,ao=["Edge","Trident","Firefox"],vo=0,sf=0;sf<ao.length;sf+=1)if(ou&&0<=navigator.userAgent.indexOf(ao[sf])){vo=1;break}yo=ou&&window.Promise?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},vo))}};cf=ou&&!(!window.MSInputMethodContext||!document.documentMode);lf=ou&&/MSIE 10/.test(navigator.userAgent);var ul=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},fl=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),yi=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},w=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};df=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];cu=df.slice(3);lu={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};hs={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(n){var r=n.placement,h=r.split("-")[0],u=r.split("-")[1];if(u){var f=n.offsets,i=f.reference,e=f.popper,o=-1!==["bottom","top"].indexOf(h),t=o?"left":"top",s=o?"width":"height",c={start:yi({},t,i[t]),end:yi({},t,i[t]+i[s]-e[s])};n.offsets.popper=w({},e,c[u])}return n}},offset:{order:200,enabled:!0,fn:function(n,t){var f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0],r=void 0;return r=bf(+f)?[+f,0]:sl(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(n,t){var f=t.boundariesElement||ai(n.instance.popper),u;n.instance.reference===f&&(f=ai(f));var e=wf("transform"),r=n.instance.popper.style,o=r.top,s=r.left,h=r[e];r.top="";r.left="";r[e]="";u=pf(n.instance.popper,n.instance.reference,t.padding,f,n.positionFixed);r.top=o;r.left=s;r[e]=h;t.boundaries=u;var c=t.priority,i=n.offsets.popper,l={primary:function(n){var r=i[n];return i[n]<u[n]&&!t.escapeWithReference&&(r=Math.max(i[n],u[n])),yi({},n,r)},secondary:function(n){var r="right"===n?"left":"top",f=i[r];return i[n]>u[n]&&!t.escapeWithReference&&(f=Math.min(i[r],u[n]-("right"===n?i.width:i.height))),yi({},r,f)}};return c.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=w({},i,l[t](n))}),n.offsets.popper=i,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,t){var h,r;if(!os(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var p=n.placement.split("-")[0],v=n.offsets,e=v.popper,u=v.reference,o=-1!==["left","right"].indexOf(p),c=o?"height":"width",l=o?"Top":"Left",i=l.toLowerCase(),w=o?"left":"top",s=o?"bottom":"right",f=is(r)[c];u[s]-f<e[i]&&(n.offsets.popper[i]-=e[i]-(u[s]-f));u[i]+f>e[s]&&(n.offsets.popper[i]+=u[i]+f-e[s]);n.offsets.popper=ht(n.offsets.popper);var b=u[i]+u[c]/2-f/2,y=dt(n.instance.popper),k=parseFloat(y["margin"+l],10),d=parseFloat(y["border"+l+"Width"],10),a=b-n.offsets.popper[i]-k-d;return a=Math.max(Math.min(e[c]-f,a),0),n.arrowElement=r,n.offsets.arrow=(yi(h={},i,Math.round(a)),yi(h,w,""),h),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(fs(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var f=pf(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement,n.positionFixed),i=n.placement.split("-")[0],e=hu(i),r=n.placement.split("-")[1]||"",u=[];switch(t.behavior){case lu.FLIP:u=[i,e];break;case lu.CLOCKWISE:u=ss(i);break;case lu.COUNTERCLOCKWISE:u=ss(i,!0);break;default:u=t.behavior}return u.forEach(function(o,s){if(i!==o||u.length===s+1)return n;i=n.placement.split("-")[0];e=hu(i);var v,c=n.offsets.popper,l=n.offsets.reference,h=Math.floor,y="left"===i&&h(c.right)>h(l.left)||"right"===i&&h(c.left)<h(l.right)||"top"===i&&h(c.bottom)>h(l.top)||"bottom"===i&&h(c.top)<h(l.bottom),p=h(c.left)<h(f.left),b=h(c.right)>h(f.right),k=h(c.top)<h(f.top),d=h(c.bottom)>h(f.bottom),g="left"===i&&p||"right"===i&&b||"top"===i&&k||"bottom"===i&&d,a=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(a&&"start"===r&&p||a&&"end"===r&&b||!a&&"start"===r&&k||!a&&"end"===r&&d);(y||g||nt)&&(n.flipped=!0,(y||g)&&(i=u[s+1]),nt&&(r="end"===(v=r)?"start":"start"===v?"end":v),n.placement=i+(r?"-"+r:""),n.offsets.popper=w({},n.offsets.popper,rs(n.instance.popper,n.offsets.reference,n.placement)),n=us(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,e=u.reference,f=-1!==["left","right"].indexOf(t),o=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=e[t]-(o?i[f?"width":"height"]:0),n.placement=hu(r),n.offsets.popper=ht(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!os(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=cr(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(n,t){var p=t.x,b=t.y,r=n.offsets.popper,o=cr(n.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,a,v,y;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var k=void 0!==o?o:t.gpuAcceleration,c=vf(ai(n.instance.popper)),i={position:r.position},e={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},u="bottom"===p?"top":"bottom",f="right"===b?"left":"right",l=wf("transform"),s=void 0,h=void 0;return(h="bottom"===u?-c.height+e.bottom:e.top,s="right"===f?-c.width+e.right:e.left,k&&l)?(i[l]="translate3d("+s+"px, "+h+"px, 0)",i[u]=0,i[f]=0,i.willChange="transform"):(a="bottom"===u?-1:1,v="right"===f?-1:1,i[u]=h*a,i[f]=s*v,i.willChange=u+", "+f),y={"x-placement":n.placement},n.attributes=w({},y,n.attributes),n.styles=w({},i,n.styles),n.arrowStyles=w({},n.offsets.arrow,n.arrowStyles),n},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){var i,t;return kf(n.instance.popper,n.styles),i=n.instance.popper,t=n.attributes,Object.keys(t).forEach(function(n){!1!==t[n]?i.setAttribute(n,t[n]):i.removeAttribute(n)}),n.arrowElement&&Object.keys(n.arrowStyles).length&&kf(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=ts(u,t,n,i.positionFixed),e=ns(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),kf(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}};ct=function(){function n(t,i){var r=this,u=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},f;ul(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=yo(this.update.bind(this));this.options=w({},n.Defaults,u);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(w({},n.Defaults.modifiers,u.modifiers)).forEach(function(t){r.options.modifiers[t]=w({},n.Defaults.modifiers[t]||{},u.modifiers?u.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return w({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&po(n.onLoad)&&n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();f=this.options.eventsEnabled;f&&this.enableEventListeners();this.state.eventsEnabled=f}return fl(n,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=ts(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=ns(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.positionFixed=this.options.positionFixed;n.offsets.popper=rs(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=us(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,fs(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[wf("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=el(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return ol.call(this)}}]),n}();ct.Utils=("undefined"!=typeof window?window:global).PopperUtils;ct.placements=df;ct.Defaults=hs;var e,gt,lr,ut,au,cs,ls,b,gf,lt,as,vs,ys,ne,ps,ar,ws,vu,bs,ks,ds,gs,nh,th,ih,rh,uh,fh,et,i,ni,vr,p,eh,yu,oh,l,sh,hh,te,ti,yr,ft,pi,r,at,pu,k,ch,ie,lh,ah,vh,yh,wi,wu,ph,bi,ki,wh,bh,di,bu,kh,dh,pr,g,ii,ku,d,gh,re,nc,tc,ic,rc,uc,fc,ec,oc,wr,c,vt,du,br,sc,ue,hc,gu,cc,ri,y,lc,fe,gi,s,nf,nr,ac,tr,vc,ir,yc,pc,ee,wc,bc,oe,se,kc,dc,gc,rr,hl=(gt="dropdown",ut="."+(lr="bs.dropdown"),au=".data-api",cs=(e=t).fn[gt],ls=new RegExp("38|40|27"),b={HIDE:"hide"+ut,HIDDEN:"hidden"+ut,SHOW:"show"+ut,SHOWN:"shown"+ut,CLICK:"click"+ut,CLICK_DATA_API:"click"+ut+au,KEYDOWN_DATA_API:"keydown"+ut+au,KEYUP_DATA_API:"keyup"+ut+au},gf="disabled",lt="show",as="dropup",vs="dropright",ys="dropleft",ne="dropdown-menu-right",ps="position-static",ar='[data-toggle="dropdown"]',ws=".dropdown form",vu=".dropdown-menu",bs=".navbar-nav",ks=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ds="top-start",gs="top-end",nh="bottom-start",th="bottom-end",ih="right-start",rh="left-start",uh={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},fh={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},et=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var t=n.prototype;return t.toggle=function(){var t,o,r,u,i;if(!this._element.disabled&&!e(this._element).hasClass(gf)&&(t=n._getParentFromElement(this._element),o=e(this._menu).hasClass(lt),(n._clearMenus(),!o)&&(r={relatedTarget:this._element},u=e.Event(b.SHOW,r),e(t).trigger(u),!u.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof ct)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");i=this._element;"parent"===this._config.reference?i=t:f.isElement(this._config.reference)&&(i=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(i=this._config.reference[0]));"scrollParent"!==this._config.boundary&&e(t).addClass(ps);this._popper=new ct(i,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(t).closest(bs).length&&e(document.body).children().on("mouseover",null,e.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);e(this._menu).toggleClass(lt);e(t).toggleClass(lt).trigger(e.Event(b.SHOWN,r))}},t.dispose=function(){e.removeData(this._element,lr);e(this._element).off(ut);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var n=this;e(this._element).on(b.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},t._getConfig=function(n){return n=a({},this.constructor.Default,e(this._element).data(),n),f.typeCheckConfig(gt,n,this.constructor.DefaultType),n},t._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);this._menu=e(t).find(vu)[0]}return this._menu},t._getPlacement=function(){var t=e(this._element).parent(),n=nh;return t.hasClass(as)?(n=ds,e(this._menu).hasClass(ne)&&(n=gs)):t.hasClass(vs)?n=ih:t.hasClass(ys)?n=rh:e(this._menu).hasClass(ne)&&(n=th),n},t._detectNavbar=function(){return 0<e(this._element).closest(".navbar").length},t._getPopperConfig=function(){var i=this,n={},t;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=a({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data(lr);if(i||(i=new n(this,"object"==typeof t?t:null),e(this).data(lr,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},n._clearMenus=function(t){var r,i,h,f;if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(r=e.makeArray(e(ar)),i=0;i<r.length;i++){var u=n._getParentFromElement(r[i]),o=e(r[i]).data(lr),s={relatedTarget:r[i]};o&&(h=o._menu,!e(u).hasClass(lt)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&e.contains(u,t.target)||(f=e.Event(b.HIDE,s),e(u).trigger(f),f.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),r[i].setAttribute("aria-expanded","false"),e(h).removeClass(lt),e(u).removeClass(lt).trigger(e.Event(b.HIDDEN,s)))))}},n._getParentFromElement=function(n){var t,i=f.getSelectorFromElement(n);return i&&(t=e(i)[0]),t||n.parentNode},n._dataApiKeydownHandler=function(t){var u,f,r,i,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||e(t.target).closest(vu).length):!ls.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||e(this).hasClass(gf))||(u=n._getParentFromElement(this),f=e(u).hasClass(lt),(f||27===t.which&&32===t.which)&&(!f||27!==t.which&&32!==t.which)?(r=e(u).find(ks).get(),0!==r.length&&(i=r.indexOf(t.target),38===t.which&&0<i&&i--,40===t.which&&i<r.length-1&&i++,i<0&&(i=0),r[i].focus())):(27===t.which&&(o=e(u).find(ar)[0],e(o).trigger("focus")),e(this).trigger("click")))},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return uh}},{key:"DefaultType",get:function(){return fh}}]),n}(),e(document).on(b.KEYDOWN_DATA_API,ar,et._dataApiKeydownHandler).on(b.KEYDOWN_DATA_API,vu,et._dataApiKeydownHandler).on(b.CLICK_DATA_API+" "+b.KEYUP_DATA_API,et._clearMenus).on(b.CLICK_DATA_API,ar,function(n){n.preventDefault();n.stopPropagation();et._jQueryInterface.call(e(this),"toggle")}).on(b.CLICK_DATA_API,ws,function(n){n.stopPropagation()}),e.fn[gt]=et._jQueryInterface,e.fn[gt].Constructor=et,e.fn[gt].noConflict=function(){return e.fn[gt]=cs,et._jQueryInterface},et),cl=(ni="modal",p="."+(vr="bs.modal"),eh=(i=t).fn[ni],yu={backdrop:!0,keyboard:!0,focus:!0,show:!0},oh={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},l={HIDE:"hide"+p,HIDDEN:"hidden"+p,SHOW:"show"+p,SHOWN:"shown"+p,FOCUSIN:"focusin"+p,RESIZE:"resize"+p,CLICK_DISMISS:"click.dismiss"+p,KEYDOWN_DISMISS:"keydown.dismiss"+p,MOUSEUP_DISMISS:"mouseup.dismiss"+p,MOUSEDOWN_DISMISS:"mousedown.dismiss"+p,CLICK_DATA_API:"click"+p+".data-api"},sh="modal-scrollbar-measure",hh="modal-backdrop",te="modal-open",ti="fade",yr="show",ft={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},pi=function(){function t(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=i(n).find(ft.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var t=this,r;this._isTransitioning||this._isShown||(i(this._element).hasClass(ti)&&(this._isTransitioning=!0),r=i.Event(l.SHOW,{relatedTarget:n}),i(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),i(document.body).addClass(te),this._setEscapeEvent(),this._setResizeEvent(),i(this._element).on(l.CLICK_DISMISS,ft.DATA_DISMISS,function(n){return t.hide(n)}),i(this._dialog).on(l.MOUSEDOWN_DISMISS,function(){i(t._element).one(l.MOUSEUP_DISMISS,function(n){i(n.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(n)})))},n.hide=function(n){var e=this,t,r,u;(n&&n.preventDefault(),!this._isTransitioning&&this._isShown)&&(t=i.Event(l.HIDE),(i(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,r=i(this._element).hasClass(ti),(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i(document).off(l.FOCUSIN),i(this._element).removeClass(yr),i(this._element).off(l.CLICK_DISMISS),i(this._dialog).off(l.MOUSEDOWN_DISMISS),r)?(u=f.getTransitionDurationFromElement(this._element),i(this._element).one(f.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(u)):this._hideModal()))},n.dispose=function(){i.removeData(this._element,vr);i(window,document,this._element,this._backdrop).off(p);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=a({},yu,n),f.typeCheckConfig(ni,n,oh),n},n._showElement=function(n){var t=this,u=i(this._element).hasClass(ti),e,r,o;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;u&&f.reflow(this._element);i(this._element).addClass(yr);this._config.focus&&this._enforceFocus();e=i.Event(l.SHOWN,{relatedTarget:n});r=function(){t._config.focus&&t._element.focus();t._isTransitioning=!1;i(t._element).trigger(e)};u?(o=f.getTransitionDurationFromElement(this._element),i(this._dialog).one(f.TRANSITION_END,r).emulateTransitionEnd(o)):r()},n._enforceFocus=function(){var n=this;i(document).off(l.FOCUSIN).on(l.FOCUSIN,function(t){document!==t.target&&n._element!==t.target&&0===i(n._element).has(t.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?i(this._element).on(l.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||i(this._element).off(l.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?i(window).on(l.RESIZE,function(t){return n.handleUpdate(t)}):i(window).off(l.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){i(document.body).removeClass(te);n._resetAdjustments();n._resetScrollbar();i(n._element).trigger(l.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(i(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var t=this,r=i(this._element).hasClass(ti)?ti:"",e,u,o;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=hh,r&&i(this._backdrop).addClass(r),i(this._backdrop).appendTo(document.body),i(this._element).on(l.CLICK_DISMISS,function(n){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),r&&f.reflow(this._backdrop),i(this._backdrop).addClass(yr),!n)return;if(!r)return void n();e=f.getTransitionDurationFromElement(this._backdrop);i(this._backdrop).one(f.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(i(this._backdrop).removeClass(yr),u=function(){t._removeBackdrop();n&&n()},i(this._element).hasClass(ti)?(o=f.getTransitionDurationFromElement(this._backdrop),i(this._backdrop).one(f.TRANSITION_END,u).emulateTransitionEnd(o)):u()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,t,r;this._isBodyOverflowing&&(i(ft.FIXED_CONTENT).each(function(t,r){var u=i(r)[0].style.paddingRight,f=i(r).css("padding-right");i(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),i(ft.STICKY_CONTENT).each(function(t,r){var u=i(r)[0].style.marginRight,f=i(r).css("margin-right");i(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),i(ft.NAVBAR_TOGGLER).each(function(t,r){var u=i(r)[0].style.marginRight,f=i(r).css("margin-right");i(r).data("margin-right",u).css("margin-right",parseFloat(f)+n._scrollbarWidth+"px")}),t=document.body.style.paddingRight,r=i(document.body).css("padding-right"),i(document.body).data("padding-right",t).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},n._resetScrollbar=function(){i(ft.FIXED_CONTENT).each(function(n,t){var r=i(t).data("padding-right");"undefined"!=typeof r&&i(t).css("padding-right",r).removeData("padding-right")});i(ft.STICKY_CONTENT+", "+ft.NAVBAR_TOGGLER).each(function(n,t){var r=i(t).data("margin-right");"undefined"!=typeof r&&i(t).css("margin-right",r).removeData("margin-right")});var n=i(document.body).data("padding-right");"undefined"!=typeof n&&i(document.body).css("padding-right",n).removeData("padding-right")},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=sh,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},t._jQueryInterface=function(n,r){return this.each(function(){var u=i(this).data(vr),f=a({},yu,i(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new t(this,f),i(this).data(vr,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](r)}else f.show&&u.show(r)})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return yu}}]),t}(),i(document).on(l.CLICK_DATA_API,ft.DATA_TOGGLE,function(n){var t,r=this,u=f.getSelectorFromElement(this),e,o;u&&(t=i(u)[0]);e=i(t).data(vr)?"toggle":a({},i(t).data(),i(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();o=i(t).one(l.SHOW,function(n){n.isDefaultPrevented()||o.one(l.HIDDEN,function(){i(r).is(":visible")&&r.focus()})});pi._jQueryInterface.call(i(t),e,this)}),i.fn[ni]=pi._jQueryInterface,i.fn[ni].Constructor=pi,i.fn[ni].noConflict=function(){return i.fn[ni]=eh,pi._jQueryInterface},pi),tf=(at="tooltip",k="."+(pu="bs.tooltip"),ch=(r=t).fn[at],ie="bs-tooltip",lh=new RegExp("(^|\\s)"+ie+"\\S+","g"),yh={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!(vh={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(ah={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},wu="out",ph={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:(wi="show")+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},bi="fade",ki="show",wh=".tooltip-inner",bh=".arrow",di="hover",bu="focus",kh="click",dh="manual",pr=function(){function t(n,t){if("undefined"==typeof ct)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var i=this.constructor.DATA_KEY,t=r(n.currentTarget).data(i);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r(n.currentTarget).data(i,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(r(this.getTipElement()).hasClass(ki))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);r.removeData(this.element,this.constructor.DATA_KEY);r(this.element).off(this.constructor.EVENT_KEY);r(this.element).closest(".modal").off("hide.bs.modal");this.tip&&r(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;(this._activeTrigger=null)!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},n.show=function(){var n=this,i,s,t,u,h,e,c,o,l;if("none"===r(this.element).css("display"))throw new Error("Please use show on visible elements");if(i=r.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(r(this.element).trigger(i),s=r.contains(this.element.ownerDocument.documentElement,this.element),i.isDefaultPrevented()||!s)return;t=this.getTipElement();u=f.getUID(this.constructor.NAME);t.setAttribute("id",u);this.element.setAttribute("aria-describedby",u);this.setContent();this.config.animation&&r(t).addClass(bi);h="function"==typeof this.config.placement?this.config.placement.call(this,t,this.element):this.config.placement;e=this._getAttachment(h);this.addAttachmentClass(e);c=!1===this.config.container?document.body:r(this.config.container);r(t).data(this.constructor.DATA_KEY,this);r.contains(this.element.ownerDocument.documentElement,this.tip)||r(t).appendTo(c);r(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new ct(this.element,t,{placement:e,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:bh},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){n._handlePopperPlacementChange(t)}});r(t).addClass(ki);"ontouchstart"in document.documentElement&&r(document.body).children().on("mouseover",null,r.noop);o=function(){n.config.animation&&n._fixTransition();var t=n._hoverState;n._hoverState=null;r(n.element).trigger(n.constructor.Event.SHOWN);t===wu&&n._leave(null,n)};r(this.tip).hasClass(bi)?(l=f.getTransitionDurationFromElement(this.tip),r(this.tip).one(f.TRANSITION_END,o).emulateTransitionEnd(l)):o()}},n.hide=function(n){var t=this,i=this.getTipElement(),u=r.Event(this.constructor.Event.HIDE),e=function(){t._hoverState!==wi&&i.parentNode&&i.parentNode.removeChild(i);t._cleanTipClass();t.element.removeAttribute("aria-describedby");r(t.element).trigger(t.constructor.Event.HIDDEN);null!==t._popper&&t._popper.destroy();n&&n()},o;(r(this.element).trigger(u),u.isDefaultPrevented())||((r(i).removeClass(ki),"ontouchstart"in document.documentElement&&r(document.body).children().off("mouseover",null,r.noop),this._activeTrigger[kh]=!1,this._activeTrigger[bu]=!1,this._activeTrigger[di]=!1,r(this.tip).hasClass(bi))?(o=f.getTransitionDurationFromElement(i),r(i).one(f.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){r(this.getTipElement()).addClass(ie+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||r(this.config.template)[0],this.tip},n.setContent=function(){var n=r(this.getTipElement());this.setElementContent(n.find(wh),this.getTitle());n.removeClass(bi+" "+ki)},n.setElementContent=function(n,t){var i=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?i?r(t).parent().is(n)||n.empty().append(t):n.text(r(t).text()):n[i?"html":"text"](t)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getAttachment=function(n){return vh[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)r(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==dh){var i=t===di?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=t===di?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;r(n.element).on(i,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}r(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})});this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,t){var i=this.constructor.DATA_KEY;(t=t||r(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusin"===n.type?bu:di]=!0);r(t.getTipElement()).hasClass(ki)||t._hoverState===wi?t._hoverState=wi:(clearTimeout(t._timeout),t._hoverState=wi,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===wi&&t.show()},t.config.delay.show):t.show())},n._leave=function(n,t){var i=this.constructor.DATA_KEY;(t=t||r(n.currentTarget).data(i))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),r(n.currentTarget).data(i,t));n&&(t._activeTrigger["focusout"===n.type?bu:di]=!1);t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=wu,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===wu&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){return"number"==typeof(n=a({},this.constructor.Default,r(this.element).data(),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),f.typeCheckConfig(at,n,this.constructor.DefaultType),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var t=r(this.getTipElement()),n=t.attr("class").match(lh);null!==n&&0<n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;null===n.getAttribute("x-placement")&&(r(n).removeClass(bi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},t._jQueryInterface=function(n){return this.each(function(){var i=r(this).data(pu),u="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,u),r(this).data(pu,i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return yh}},{key:"NAME",get:function(){return at}},{key:"DATA_KEY",get:function(){return pu}},{key:"Event",get:function(){return ph}},{key:"EVENT_KEY",get:function(){return k}},{key:"DefaultType",get:function(){return ah}}]),t}(),r.fn[at]=pr._jQueryInterface,r.fn[at].Constructor=pr,r.fn[at].noConflict=function(){return r.fn[at]=ch,pr._jQueryInterface},pr),ll=(ii="popover",d="."+(ku="bs.popover"),gh=(g=t).fn[ii],re="bs-popover",nc=new RegExp("(^|\\s)"+re+"\\S+","g"),tc=a({},tf.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),ic=a({},tf.DefaultType,{content:"(string|element|function)"}),rc="fade",fc=".popover-header",ec=".popover-body",oc={HIDE:"hide"+d,HIDDEN:"hidden"+d,SHOW:(uc="show")+d,SHOWN:"shown"+d,INSERTED:"inserted"+d,CLICK:"click"+d,FOCUSIN:"focusin"+d,FOCUSOUT:"focusout"+d,MOUSEENTER:"mouseenter"+d,MOUSELEAVE:"mouseleave"+d},wr=function(n){function i(){return n.apply(this,arguments)||this}var r,u,t;return u=n,(r=i).prototype=Object.create(u.prototype),(r.prototype.constructor=r).__proto__=u,t=i.prototype,t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(n){g(this.getTipElement()).addClass(re+"-"+n)},t.getTipElement=function(){return this.tip=this.tip||g(this.config.template)[0],this.tip},t.setContent=function(){var t=g(this.getTipElement()),n;this.setElementContent(t.find(fc),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(t.find(ec),n);t.removeClass(rc+" "+uc)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=g(this.getTipElement()),n=t.attr("class").match(nc);null!==n&&0<n.length&&t.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=g(this).data(ku),r="object"==typeof n?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new i(this,r),g(this).data(ku,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},nt(i,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return tc}},{key:"NAME",get:function(){return ii}},{key:"DATA_KEY",get:function(){return ku}},{key:"Event",get:function(){return oc}},{key:"EVENT_KEY",get:function(){return d}},{key:"DefaultType",get:function(){return ic}}]),i}(tf),g.fn[ii]=wr._jQueryInterface,g.fn[ii].Constructor=wr,g.fn[ii].noConflict=function(){return g.fn[ii]=gh,wr._jQueryInterface},wr),al=(vt="scrollspy",br="."+(du="bs.scrollspy"),sc=(c=t).fn[vt],ue={offset:10,method:"auto",target:""},hc={offset:"number",method:"string",target:"(string|element)"},gu={ACTIVATE:"activate"+br,SCROLL:"scroll"+br,LOAD_DATA_API:"load"+br+".data-api"},cc="dropdown-item",ri="active",y={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},lc="offset",fe="position",gi=function(){function t(n,t){var i=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" "+y.NAV_LINKS+","+this._config.target+" "+y.LIST_ITEMS+","+this._config.target+" "+y.DROPDOWN_ITEMS;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;c(this._scrollElement).on(gu.SCROLL,function(n){return i._process(n)});this.refresh();this._process()}var n=t.prototype;return n.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?lc:fe,t="auto"===this._config.method?i:this._config.method,r=t===fe?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();c.makeArray(c(this._selector)).map(function(n){var i,u=f.getSelectorFromElement(n),e;return(u&&(i=c(u)[0]),i)&&(e=i.getBoundingClientRect(),e.width||e.height)?[c(i)[t]().top+r,u]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){c.removeData(this._element,du);c(this._scrollElement).off(br);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if("string"!=typeof(n=a({},ue,"object"==typeof n&&n?n:{})).target){var t=c(n.target).attr("id");t||(t=f.getUID(vt),c(n.target).attr("id",t));n.target="#"+t}return f.typeCheckConfig(vt,n,hc),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},n._activate=function(n){var i,t;this._activeTarget=n;this._clear();i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'});t=c(i.join(","));t.hasClass(cc)?(t.closest(y.DROPDOWN).find(y.DROPDOWN_TOGGLE).addClass(ri),t.addClass(ri)):(t.addClass(ri),t.parents(y.NAV_LIST_GROUP).prev(y.NAV_LINKS+", "+y.LIST_ITEMS).addClass(ri),t.parents(y.NAV_LIST_GROUP).prev(y.NAV_ITEMS).children(y.NAV_LINKS).addClass(ri));c(this._scrollElement).trigger(gu.ACTIVATE,{relatedTarget:n})},n._clear=function(){c(this._selector).filter(y.ACTIVE).removeClass(ri)},t._jQueryInterface=function(n){return this.each(function(){var i=c(this).data(du);if(i||(i=new t(this,"object"==typeof n&&n),c(this).data(du,i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},nt(t,null,[{key:"VERSION",get:function(){return"4.1.1"}},{key:"Default",get:function(){return ue}}]),t}(),c(window).on(gu.LOAD_DATA_API,function(){for(var i,n=c.makeArray(c(y.DATA_SPY)),t=n.length;t--;)i=c(n[t]),gi._jQueryInterface.call(i,i.data())}),c.fn[vt]=gi._jQueryInterface,c.fn[vt].Constructor=gi,c.fn[vt].noConflict=function(){return c.fn[vt]=sc,gi._jQueryInterface},gi),vl=(nr="."+(nf="bs.tab"),ac=(s=t).fn.tab,tr={HIDE:"hide"+nr,HIDDEN:"hidden"+nr,SHOW:"show"+nr,SHOWN:"shown"+nr,CLICK_DATA_API:"click"+nr+".data-api"},vc="dropdown-menu",ir="active",yc="disabled",pc="fade",ee="show",wc=".dropdown",bc=".nav, .list-group",oe=".active",se="> li > .active",kc='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',dc=".dropdown-toggle",gc="> .dropdown-menu .active",rr=function(){function n(n){this._element=n}var t=n.prototype;return t.show=function(){var h=this,i,n,t,r,c,u,e,o;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&s(this._element).hasClass(ir)||s(this._element).hasClass(yc)||(t=s(this._element).closest(bc)[0],r=f.getSelectorFromElement(this._element),t&&(c="UL"===t.nodeName?se:oe,n=(n=s.makeArray(s(t).find(c)))[n.length-1]),u=s.Event(tr.HIDE,{relatedTarget:this._element}),e=s.Event(tr.SHOW,{relatedTarget:n}),(n&&s(n).trigger(u),s(this._element).trigger(e),e.isDefaultPrevented()||u.isDefaultPrevented())||(r&&(i=s(r)[0]),this._activate(this._element,t),o=function(){var t=s.Event(tr.HIDDEN,{relatedTarget:h._element}),i=s.Event(tr.SHOWN,{relatedTarget:n});s(n).trigger(t);s(h._element).trigger(i)},i?this._activate(i,i.parentNode,o):o()))},t.dispose=function(){s.removeData(this._element,nf);this._element=null},t._activate=function(n,t,i){var o=this,r=("UL"===t.nodeName?s(t).find(se):s(t).children(oe))[0],h=i&&r&&s(r).hasClass(pc),u=function(){return o._transitionComplete(n,r,i)},e;r&&h?(e=f.getTransitionDurationFromElement(r),s(r).one(f.TRANSITION_END,u).emulateTransitionEnd(e)):u()},t._transitionComplete=function(n,t,i){var r,u;t&&(s(t).removeClass(ee+" "+ir),r=s(t.parentNode).find(gc)[0],r&&s(r).removeClass(ir),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1));(s(n).addClass(ir),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),f.reflow(n),s(n).addClass(ee),n.parentNode&&s(n.parentNode).hasClass(vc))&&(u=s(n).closest(wc)[0],u&&s(u).find(dc).addClass(ir),n.setAttribute("aria-expanded",!0));i&&i()},n._jQueryInterface=function(t){return this.each(function(){var r=s(this),i=r.data(nf);if(i||(i=new n(this),r.data(nf,i)),"string"==typeof t){if("undefined"==typeof i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},nt(n,null,[{key:"VERSION",get:function(){return"4.1.1"}}]),n}(),s(document).on(tr.CLICK_DATA_API,kc,function(n){n.preventDefault();rr._jQueryInterface.call(s(this),"show")}),s.fn.tab=rr._jQueryInterface,s.fn.tab.Constructor=rr,s.fn.tab.noConflict=function(){return s.fn.tab=ac,rr._jQueryInterface},rr);!function(n){if("undefined"==typeof n)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}(t);n.Util=f;n.Alert=nl;n.Button=tl;n.Carousel=il;n.Collapse=rl;n.Dropdown=hl;n.Modal=cl;n.Popover=ll;n.Scrollspy=al;n.Tab=vl;n.Tooltip=tf;Object.defineProperty(n,"__esModule",{value:!0})});$(document).ready(function(){$(".btn-number").click(function(n){n.preventDefault();fieldName=$(this).attr("data-field");type=$(this).attr("data-type");var t=$("input[name='"+fieldName+"']"),i=parseInt(t.val());isNaN(i)?t.val(0):type=="minus"?(i>t.attr("min")&&t.val(i-1).change(),parseInt(t.val())==t.attr("min")&&$(this).attr("disabled",!0)):type=="plus"&&(i<t.attr("max")&&t.val(i+1).change(),parseInt(t.val())==t.attr("max")&&$(this).attr("disabled",!0))});$(".input-number").focusin(function(){$(this).data("oldValue",$(this).val())});$(".input-number").change(function(){minValue=parseInt($(this).attr("min"));maxValue=parseInt($(this).attr("max"));valueCurrent=parseInt($(this).val());name=$(this).attr("name");valueCurrent>=minValue?$(".btn-number[data-type='minus'][data-field='"+name+"']").removeAttr("disabled"):($(this).val(minValue),valueCurrent=minValue);valueCurrent<=maxValue?$(".btn-number[data-type='plus'][data-field='"+name+"']").removeAttr("disabled"):$(this).val($(this).data("oldValue"))});$(".input-number").keydown(function(n){$.inArray(n.keyCode,[46,8,9,27,13,190])!==-1||n.keyCode==65&&n.ctrlKey===!0||n.keyCode>=35&&n.keyCode<=39||(n.shiftKey||n.keyCode<48||n.keyCode>57)&&(n.keyCode<96||n.keyCode>105)&&n.preventDefault()});$("input[type='text']").focus(function(){$(this).select()})});_charactersToRemove=[" ","(",")","-","."];_maxPhoneLength=12;$(document).ready(function(){var n=$('<div class="tamFilterOverlay"><\/div>');n.click(function(){$("#tamFilterNav").css("transform","translateX(100%)");$(".tamFilterOverlay").fadeOut()});$("body").append(n)});$(document).ready(function(){var n=$('<div class="tamOverlay"><\/div>');n.click(function(){$("#tamSideBarNav").css("transform","translateX(-100%)");$(".tamOverlay").fadeOut()});$("body").append(n)});$(document).ready(function(){rebindPhoneNumberFormatter()});callbackCount=0